pulumi-vsphere 4.14.0a1741997722__py3-none-any.whl → 4.14.0a1746734806__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-vsphere might be problematic. Click here for more details.
- pulumi_vsphere/__init__.py +1 -0
- pulumi_vsphere/_inputs.py +969 -968
- pulumi_vsphere/compute_cluster.py +919 -917
- pulumi_vsphere/compute_cluster_host_group.py +44 -42
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +72 -70
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +72 -70
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +86 -84
- pulumi_vsphere/compute_cluster_vm_group.py +44 -42
- pulumi_vsphere/compute_cluster_vm_host_rule.py +100 -98
- pulumi_vsphere/config/__init__.py +1 -0
- pulumi_vsphere/config/__init__.pyi +1 -0
- pulumi_vsphere/config/vars.py +1 -0
- pulumi_vsphere/content_library.py +44 -42
- pulumi_vsphere/content_library_item.py +86 -84
- pulumi_vsphere/custom_attribute.py +30 -28
- pulumi_vsphere/datacenter.py +65 -63
- pulumi_vsphere/datastore_cluster.py +352 -350
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +72 -70
- pulumi_vsphere/distributed_port_group.py +646 -644
- pulumi_vsphere/distributed_virtual_switch.py +1283 -1281
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +58 -56
- pulumi_vsphere/dpm_host_override.py +58 -56
- pulumi_vsphere/drs_vm_override.py +58 -56
- pulumi_vsphere/entity_permissions.py +30 -28
- pulumi_vsphere/file.py +96 -94
- pulumi_vsphere/folder.py +72 -70
- pulumi_vsphere/get_compute_cluster.py +13 -12
- pulumi_vsphere/get_compute_cluster_host_group.py +13 -12
- pulumi_vsphere/get_content_library.py +7 -6
- pulumi_vsphere/get_content_library_item.py +17 -16
- pulumi_vsphere/get_custom_attribute.py +8 -7
- pulumi_vsphere/get_datacenter.py +8 -7
- pulumi_vsphere/get_datastore.py +17 -16
- pulumi_vsphere/get_datastore_cluster.py +13 -12
- pulumi_vsphere/get_datastore_stats.py +17 -16
- pulumi_vsphere/get_distributed_virtual_switch.py +13 -12
- pulumi_vsphere/get_dynamic.py +17 -16
- pulumi_vsphere/get_folder.py +7 -6
- pulumi_vsphere/get_guest_os_customization.py +11 -10
- pulumi_vsphere/get_host.py +13 -12
- pulumi_vsphere/get_host_base_images.py +3 -2
- pulumi_vsphere/get_host_pci_device.py +23 -22
- pulumi_vsphere/get_host_thumbprint.py +17 -16
- pulumi_vsphere/get_host_vgpu_profile.py +12 -11
- pulumi_vsphere/get_license.py +12 -11
- pulumi_vsphere/get_network.py +18 -17
- pulumi_vsphere/get_ovf_vm_template.py +89 -88
- pulumi_vsphere/get_policy.py +7 -6
- pulumi_vsphere/get_resource_pool.py +12 -11
- pulumi_vsphere/get_role.py +20 -19
- pulumi_vsphere/get_tag.py +13 -12
- pulumi_vsphere/get_tag_category.py +10 -9
- pulumi_vsphere/get_vapp_container.py +12 -11
- pulumi_vsphere/get_virtual_machine.py +204 -203
- pulumi_vsphere/get_vmfs_disks.py +18 -17
- pulumi_vsphere/guest_os_customization.py +58 -56
- pulumi_vsphere/ha_vm_override.py +212 -210
- pulumi_vsphere/host.py +198 -196
- pulumi_vsphere/host_port_group.py +254 -252
- pulumi_vsphere/host_virtual_switch.py +296 -294
- pulumi_vsphere/license.py +58 -56
- pulumi_vsphere/nas_datastore.py +212 -210
- pulumi_vsphere/offline_software_depot.py +16 -14
- pulumi_vsphere/outputs.py +721 -720
- pulumi_vsphere/provider.py +119 -97
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +212 -210
- pulumi_vsphere/role.py +37 -35
- pulumi_vsphere/storage_drs_vm_override.py +72 -70
- pulumi_vsphere/supervisor.py +156 -154
- pulumi_vsphere/tag.py +44 -42
- pulumi_vsphere/tag_category.py +58 -56
- pulumi_vsphere/vapp_container.py +212 -210
- pulumi_vsphere/vapp_entity.py +142 -140
- pulumi_vsphere/virtual_disk.py +100 -98
- pulumi_vsphere/virtual_machine.py +1041 -1039
- pulumi_vsphere/virtual_machine_class.py +86 -84
- pulumi_vsphere/virtual_machine_snapshot.py +100 -98
- pulumi_vsphere/vm_storage_policy.py +30 -28
- pulumi_vsphere/vmfs_datastore.py +149 -147
- pulumi_vsphere/vnic.py +114 -112
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1746734806.dist-info}/METADATA +4 -4
- pulumi_vsphere-4.14.0a1746734806.dist-info/RECORD +87 -0
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1746734806.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.14.0a1741997722.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1746734806.dist-info}/top_level.txt +0 -0
pulumi_vsphere/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,31 @@ 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
|
|
|
631
|
+
@pulumi.type_token("vsphere:index/host:Host")
|
|
630
632
|
class Host(pulumi.CustomResource):
|
|
631
633
|
@overload
|
|
632
634
|
def __init__(__self__,
|
|
633
635
|
resource_name: str,
|
|
634
636
|
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,
|
|
637
|
+
cluster: Optional[pulumi.Input[builtins.str]] = None,
|
|
638
|
+
cluster_managed: Optional[pulumi.Input[builtins.bool]] = None,
|
|
639
|
+
connected: Optional[pulumi.Input[builtins.bool]] = None,
|
|
640
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
641
|
+
datacenter: Optional[pulumi.Input[builtins.str]] = None,
|
|
642
|
+
force: Optional[pulumi.Input[builtins.bool]] = None,
|
|
643
|
+
hostname: Optional[pulumi.Input[builtins.str]] = None,
|
|
644
|
+
license: Optional[pulumi.Input[builtins.str]] = None,
|
|
645
|
+
lockdown: Optional[pulumi.Input[builtins.str]] = None,
|
|
646
|
+
maintenance: Optional[pulumi.Input[builtins.bool]] = None,
|
|
647
|
+
password: Optional[pulumi.Input[builtins.str]] = None,
|
|
646
648
|
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,
|
|
649
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
650
|
+
thumbprint: Optional[pulumi.Input[builtins.str]] = None,
|
|
651
|
+
username: Optional[pulumi.Input[builtins.str]] = None,
|
|
650
652
|
__props__=None):
|
|
651
653
|
"""
|
|
652
654
|
Provides a VMware vSphere host resource. This represents an ESXi host that
|
|
@@ -776,15 +778,15 @@ class Host(pulumi.CustomResource):
|
|
|
776
778
|
|
|
777
779
|
:param str resource_name: The name of the resource.
|
|
778
780
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
779
|
-
:param pulumi.Input[str] cluster: The ID of the Compute Cluster this host should
|
|
781
|
+
:param pulumi.Input[builtins.str] cluster: The ID of the Compute Cluster this host should
|
|
780
782
|
be added to. This should not be set if `datacenter` is set. Conflicts with:
|
|
781
783
|
`cluster_managed`.
|
|
782
|
-
:param pulumi.Input[bool] cluster_managed: Can be set to `true` if compute cluster
|
|
784
|
+
:param pulumi.Input[builtins.bool] cluster_managed: Can be set to `true` if compute cluster
|
|
783
785
|
membership will be managed through the `compute_cluster` resource rather
|
|
784
786
|
than the`host` resource. Conflicts with: `cluster`.
|
|
785
|
-
:param pulumi.Input[bool] connected: If set to false then the host will be disconnected.
|
|
787
|
+
:param pulumi.Input[builtins.bool] connected: If set to false then the host will be disconnected.
|
|
786
788
|
Default is `false`.
|
|
787
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A map of custom attribute IDs and string
|
|
789
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: A map of custom attribute IDs and string
|
|
788
790
|
values to apply to the resource. Please refer to the
|
|
789
791
|
`vsphere_custom_attributes` resource for more information on applying
|
|
790
792
|
tags to resources.
|
|
@@ -793,32 +795,32 @@ class Host(pulumi.CustomResource):
|
|
|
793
795
|
connections and require vCenter Server.
|
|
794
796
|
|
|
795
797
|
[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
|
|
798
|
+
:param pulumi.Input[builtins.str] datacenter: The ID of the datacenter this host should
|
|
797
799
|
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,
|
|
800
|
+
:param pulumi.Input[builtins.bool] force: If set to `true` then it will force the host to be added,
|
|
799
801
|
even if the host is already connected to a different vCenter Server instance.
|
|
800
802
|
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.
|
|
803
|
+
:param pulumi.Input[builtins.str] hostname: FQDN or IP address of the host to be added.
|
|
804
|
+
:param pulumi.Input[builtins.str] license: The license key that will be applied to the host.
|
|
803
805
|
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
|
|
806
|
+
:param pulumi.Input[builtins.str] lockdown: Set the lockdown state of the host. Valid options are
|
|
805
807
|
`disabled`, `normal`, and `strict`. Default is `disabled`.
|
|
806
|
-
:param pulumi.Input[bool] maintenance: Set the management state of the host.
|
|
808
|
+
:param pulumi.Input[builtins.bool] maintenance: Set the management state of the host.
|
|
807
809
|
Default is `false`.
|
|
808
|
-
:param pulumi.Input[str] password: Password that will be used by vSphere to authenticate
|
|
810
|
+
:param pulumi.Input[builtins.str] password: Password that will be used by vSphere to authenticate
|
|
809
811
|
to the host.
|
|
810
812
|
: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
|
|
813
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource. Please
|
|
812
814
|
refer to the `Tag` resource for more information on applying
|
|
813
815
|
tags to resources.
|
|
814
816
|
|
|
815
817
|
> **NOTE:** Tagging support is not supported on direct ESXi host
|
|
816
818
|
connections and require vCenter Server.
|
|
817
|
-
:param pulumi.Input[str] thumbprint: Host's certificate SHA-1 thumbprint. If not set the
|
|
819
|
+
:param pulumi.Input[builtins.str] thumbprint: Host's certificate SHA-1 thumbprint. If not set the
|
|
818
820
|
CA that signed the host's certificate should be trusted. If the CA is not
|
|
819
821
|
trusted and no thumbprint is set then the operation will fail. See data source
|
|
820
822
|
[`get_host_thumbprint`][docs-host-thumbprint-data-source].
|
|
821
|
-
:param pulumi.Input[str] username: Username that will be used by vSphere to authenticate
|
|
823
|
+
:param pulumi.Input[builtins.str] username: Username that will be used by vSphere to authenticate
|
|
822
824
|
to the host.
|
|
823
825
|
"""
|
|
824
826
|
...
|
|
@@ -968,21 +970,21 @@ class Host(pulumi.CustomResource):
|
|
|
968
970
|
def _internal_init(__self__,
|
|
969
971
|
resource_name: str,
|
|
970
972
|
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,
|
|
973
|
+
cluster: Optional[pulumi.Input[builtins.str]] = None,
|
|
974
|
+
cluster_managed: Optional[pulumi.Input[builtins.bool]] = None,
|
|
975
|
+
connected: Optional[pulumi.Input[builtins.bool]] = None,
|
|
976
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
977
|
+
datacenter: Optional[pulumi.Input[builtins.str]] = None,
|
|
978
|
+
force: Optional[pulumi.Input[builtins.bool]] = None,
|
|
979
|
+
hostname: Optional[pulumi.Input[builtins.str]] = None,
|
|
980
|
+
license: Optional[pulumi.Input[builtins.str]] = None,
|
|
981
|
+
lockdown: Optional[pulumi.Input[builtins.str]] = None,
|
|
982
|
+
maintenance: Optional[pulumi.Input[builtins.bool]] = None,
|
|
983
|
+
password: Optional[pulumi.Input[builtins.str]] = None,
|
|
982
984
|
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,
|
|
985
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
986
|
+
thumbprint: Optional[pulumi.Input[builtins.str]] = None,
|
|
987
|
+
username: Optional[pulumi.Input[builtins.str]] = None,
|
|
986
988
|
__props__=None):
|
|
987
989
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
988
990
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -1025,21 +1027,21 @@ class Host(pulumi.CustomResource):
|
|
|
1025
1027
|
def get(resource_name: str,
|
|
1026
1028
|
id: pulumi.Input[str],
|
|
1027
1029
|
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,
|
|
1030
|
+
cluster: Optional[pulumi.Input[builtins.str]] = None,
|
|
1031
|
+
cluster_managed: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1032
|
+
connected: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1033
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
1034
|
+
datacenter: Optional[pulumi.Input[builtins.str]] = None,
|
|
1035
|
+
force: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1036
|
+
hostname: Optional[pulumi.Input[builtins.str]] = None,
|
|
1037
|
+
license: Optional[pulumi.Input[builtins.str]] = None,
|
|
1038
|
+
lockdown: Optional[pulumi.Input[builtins.str]] = None,
|
|
1039
|
+
maintenance: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1040
|
+
password: Optional[pulumi.Input[builtins.str]] = None,
|
|
1039
1041
|
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':
|
|
1042
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1043
|
+
thumbprint: Optional[pulumi.Input[builtins.str]] = None,
|
|
1044
|
+
username: Optional[pulumi.Input[builtins.str]] = None) -> 'Host':
|
|
1043
1045
|
"""
|
|
1044
1046
|
Get an existing Host resource's state with the given name, id, and optional extra
|
|
1045
1047
|
properties used to qualify the lookup.
|
|
@@ -1047,15 +1049,15 @@ class Host(pulumi.CustomResource):
|
|
|
1047
1049
|
:param str resource_name: The unique name of the resulting resource.
|
|
1048
1050
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1049
1051
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1050
|
-
:param pulumi.Input[str] cluster: The ID of the Compute Cluster this host should
|
|
1052
|
+
:param pulumi.Input[builtins.str] cluster: The ID of the Compute Cluster this host should
|
|
1051
1053
|
be added to. This should not be set if `datacenter` is set. Conflicts with:
|
|
1052
1054
|
`cluster_managed`.
|
|
1053
|
-
:param pulumi.Input[bool] cluster_managed: Can be set to `true` if compute cluster
|
|
1055
|
+
:param pulumi.Input[builtins.bool] cluster_managed: Can be set to `true` if compute cluster
|
|
1054
1056
|
membership will be managed through the `compute_cluster` resource rather
|
|
1055
1057
|
than the`host` resource. Conflicts with: `cluster`.
|
|
1056
|
-
:param pulumi.Input[bool] connected: If set to false then the host will be disconnected.
|
|
1058
|
+
:param pulumi.Input[builtins.bool] connected: If set to false then the host will be disconnected.
|
|
1057
1059
|
Default is `false`.
|
|
1058
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A map of custom attribute IDs and string
|
|
1060
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: A map of custom attribute IDs and string
|
|
1059
1061
|
values to apply to the resource. Please refer to the
|
|
1060
1062
|
`vsphere_custom_attributes` resource for more information on applying
|
|
1061
1063
|
tags to resources.
|
|
@@ -1064,32 +1066,32 @@ class Host(pulumi.CustomResource):
|
|
|
1064
1066
|
connections and require vCenter Server.
|
|
1065
1067
|
|
|
1066
1068
|
[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
|
|
1069
|
+
:param pulumi.Input[builtins.str] datacenter: The ID of the datacenter this host should
|
|
1068
1070
|
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,
|
|
1071
|
+
:param pulumi.Input[builtins.bool] force: If set to `true` then it will force the host to be added,
|
|
1070
1072
|
even if the host is already connected to a different vCenter Server instance.
|
|
1071
1073
|
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.
|
|
1074
|
+
:param pulumi.Input[builtins.str] hostname: FQDN or IP address of the host to be added.
|
|
1075
|
+
:param pulumi.Input[builtins.str] license: The license key that will be applied to the host.
|
|
1074
1076
|
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
|
|
1077
|
+
:param pulumi.Input[builtins.str] lockdown: Set the lockdown state of the host. Valid options are
|
|
1076
1078
|
`disabled`, `normal`, and `strict`. Default is `disabled`.
|
|
1077
|
-
:param pulumi.Input[bool] maintenance: Set the management state of the host.
|
|
1079
|
+
:param pulumi.Input[builtins.bool] maintenance: Set the management state of the host.
|
|
1078
1080
|
Default is `false`.
|
|
1079
|
-
:param pulumi.Input[str] password: Password that will be used by vSphere to authenticate
|
|
1081
|
+
:param pulumi.Input[builtins.str] password: Password that will be used by vSphere to authenticate
|
|
1080
1082
|
to the host.
|
|
1081
1083
|
: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
|
|
1084
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource. Please
|
|
1083
1085
|
refer to the `Tag` resource for more information on applying
|
|
1084
1086
|
tags to resources.
|
|
1085
1087
|
|
|
1086
1088
|
> **NOTE:** Tagging support is not supported on direct ESXi host
|
|
1087
1089
|
connections and require vCenter Server.
|
|
1088
|
-
:param pulumi.Input[str] thumbprint: Host's certificate SHA-1 thumbprint. If not set the
|
|
1090
|
+
:param pulumi.Input[builtins.str] thumbprint: Host's certificate SHA-1 thumbprint. If not set the
|
|
1089
1091
|
CA that signed the host's certificate should be trusted. If the CA is not
|
|
1090
1092
|
trusted and no thumbprint is set then the operation will fail. See data source
|
|
1091
1093
|
[`get_host_thumbprint`][docs-host-thumbprint-data-source].
|
|
1092
|
-
:param pulumi.Input[str] username: Username that will be used by vSphere to authenticate
|
|
1094
|
+
:param pulumi.Input[builtins.str] username: Username that will be used by vSphere to authenticate
|
|
1093
1095
|
to the host.
|
|
1094
1096
|
"""
|
|
1095
1097
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -1115,7 +1117,7 @@ class Host(pulumi.CustomResource):
|
|
|
1115
1117
|
|
|
1116
1118
|
@property
|
|
1117
1119
|
@pulumi.getter
|
|
1118
|
-
def cluster(self) -> pulumi.Output[Optional[str]]:
|
|
1120
|
+
def cluster(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1119
1121
|
"""
|
|
1120
1122
|
The ID of the Compute Cluster this host should
|
|
1121
1123
|
be added to. This should not be set if `datacenter` is set. Conflicts with:
|
|
@@ -1125,7 +1127,7 @@ class Host(pulumi.CustomResource):
|
|
|
1125
1127
|
|
|
1126
1128
|
@property
|
|
1127
1129
|
@pulumi.getter(name="clusterManaged")
|
|
1128
|
-
def cluster_managed(self) -> pulumi.Output[Optional[bool]]:
|
|
1130
|
+
def cluster_managed(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1129
1131
|
"""
|
|
1130
1132
|
Can be set to `true` if compute cluster
|
|
1131
1133
|
membership will be managed through the `compute_cluster` resource rather
|
|
@@ -1135,7 +1137,7 @@ class Host(pulumi.CustomResource):
|
|
|
1135
1137
|
|
|
1136
1138
|
@property
|
|
1137
1139
|
@pulumi.getter
|
|
1138
|
-
def connected(self) -> pulumi.Output[Optional[bool]]:
|
|
1140
|
+
def connected(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1139
1141
|
"""
|
|
1140
1142
|
If set to false then the host will be disconnected.
|
|
1141
1143
|
Default is `false`.
|
|
@@ -1144,7 +1146,7 @@ class Host(pulumi.CustomResource):
|
|
|
1144
1146
|
|
|
1145
1147
|
@property
|
|
1146
1148
|
@pulumi.getter(name="customAttributes")
|
|
1147
|
-
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
1149
|
+
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
|
1148
1150
|
"""
|
|
1149
1151
|
A map of custom attribute IDs and string
|
|
1150
1152
|
values to apply to the resource. Please refer to the
|
|
@@ -1160,7 +1162,7 @@ class Host(pulumi.CustomResource):
|
|
|
1160
1162
|
|
|
1161
1163
|
@property
|
|
1162
1164
|
@pulumi.getter
|
|
1163
|
-
def datacenter(self) -> pulumi.Output[Optional[str]]:
|
|
1165
|
+
def datacenter(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1164
1166
|
"""
|
|
1165
1167
|
The ID of the datacenter this host should
|
|
1166
1168
|
be added to. This should not be set if `cluster` is set.
|
|
@@ -1169,7 +1171,7 @@ class Host(pulumi.CustomResource):
|
|
|
1169
1171
|
|
|
1170
1172
|
@property
|
|
1171
1173
|
@pulumi.getter
|
|
1172
|
-
def force(self) -> pulumi.Output[Optional[bool]]:
|
|
1174
|
+
def force(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1173
1175
|
"""
|
|
1174
1176
|
If set to `true` then it will force the host to be added,
|
|
1175
1177
|
even if the host is already connected to a different vCenter Server instance.
|
|
@@ -1179,7 +1181,7 @@ class Host(pulumi.CustomResource):
|
|
|
1179
1181
|
|
|
1180
1182
|
@property
|
|
1181
1183
|
@pulumi.getter
|
|
1182
|
-
def hostname(self) -> pulumi.Output[str]:
|
|
1184
|
+
def hostname(self) -> pulumi.Output[builtins.str]:
|
|
1183
1185
|
"""
|
|
1184
1186
|
FQDN or IP address of the host to be added.
|
|
1185
1187
|
"""
|
|
@@ -1187,7 +1189,7 @@ class Host(pulumi.CustomResource):
|
|
|
1187
1189
|
|
|
1188
1190
|
@property
|
|
1189
1191
|
@pulumi.getter
|
|
1190
|
-
def license(self) -> pulumi.Output[Optional[str]]:
|
|
1192
|
+
def license(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1191
1193
|
"""
|
|
1192
1194
|
The license key that will be applied to the host.
|
|
1193
1195
|
The license key is expected to be present in vSphere.
|
|
@@ -1196,7 +1198,7 @@ class Host(pulumi.CustomResource):
|
|
|
1196
1198
|
|
|
1197
1199
|
@property
|
|
1198
1200
|
@pulumi.getter
|
|
1199
|
-
def lockdown(self) -> pulumi.Output[Optional[str]]:
|
|
1201
|
+
def lockdown(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1200
1202
|
"""
|
|
1201
1203
|
Set the lockdown state of the host. Valid options are
|
|
1202
1204
|
`disabled`, `normal`, and `strict`. Default is `disabled`.
|
|
@@ -1205,7 +1207,7 @@ class Host(pulumi.CustomResource):
|
|
|
1205
1207
|
|
|
1206
1208
|
@property
|
|
1207
1209
|
@pulumi.getter
|
|
1208
|
-
def maintenance(self) -> pulumi.Output[Optional[bool]]:
|
|
1210
|
+
def maintenance(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1209
1211
|
"""
|
|
1210
1212
|
Set the management state of the host.
|
|
1211
1213
|
Default is `false`.
|
|
@@ -1214,7 +1216,7 @@ class Host(pulumi.CustomResource):
|
|
|
1214
1216
|
|
|
1215
1217
|
@property
|
|
1216
1218
|
@pulumi.getter
|
|
1217
|
-
def password(self) -> pulumi.Output[str]:
|
|
1219
|
+
def password(self) -> pulumi.Output[builtins.str]:
|
|
1218
1220
|
"""
|
|
1219
1221
|
Password that will be used by vSphere to authenticate
|
|
1220
1222
|
to the host.
|
|
@@ -1231,7 +1233,7 @@ class Host(pulumi.CustomResource):
|
|
|
1231
1233
|
|
|
1232
1234
|
@property
|
|
1233
1235
|
@pulumi.getter
|
|
1234
|
-
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1236
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
1235
1237
|
"""
|
|
1236
1238
|
The IDs of any tags to attach to this resource. Please
|
|
1237
1239
|
refer to the `Tag` resource for more information on applying
|
|
@@ -1244,7 +1246,7 @@ class Host(pulumi.CustomResource):
|
|
|
1244
1246
|
|
|
1245
1247
|
@property
|
|
1246
1248
|
@pulumi.getter
|
|
1247
|
-
def thumbprint(self) -> pulumi.Output[Optional[str]]:
|
|
1249
|
+
def thumbprint(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1248
1250
|
"""
|
|
1249
1251
|
Host's certificate SHA-1 thumbprint. If not set the
|
|
1250
1252
|
CA that signed the host's certificate should be trusted. If the CA is not
|
|
@@ -1255,7 +1257,7 @@ class Host(pulumi.CustomResource):
|
|
|
1255
1257
|
|
|
1256
1258
|
@property
|
|
1257
1259
|
@pulumi.getter
|
|
1258
|
-
def username(self) -> pulumi.Output[str]:
|
|
1260
|
+
def username(self) -> pulumi.Output[builtins.str]:
|
|
1259
1261
|
"""
|
|
1260
1262
|
Username that will be used by vSphere to authenticate
|
|
1261
1263
|
to the host.
|