pulumi-vsphere 4.13.1a1738773193__py3-none-any.whl → 4.13.2a1744198820__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.

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