pulumi-vsphere 4.16.0a1753339697__py3-none-any.whl → 4.16.0a1753398270__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 (86) hide show
  1. pulumi_vsphere/__init__.py +1 -1
  2. pulumi_vsphere/_inputs.py +1171 -1172
  3. pulumi_vsphere/compute_cluster.py +1127 -1128
  4. pulumi_vsphere/compute_cluster_host_group.py +52 -53
  5. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +86 -87
  6. pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +86 -87
  7. pulumi_vsphere/compute_cluster_vm_dependency_rule.py +103 -104
  8. pulumi_vsphere/compute_cluster_vm_group.py +52 -53
  9. pulumi_vsphere/compute_cluster_vm_host_rule.py +120 -121
  10. pulumi_vsphere/config/__init__.py +1 -1
  11. pulumi_vsphere/config/__init__.pyi +1 -2
  12. pulumi_vsphere/config/vars.py +14 -15
  13. pulumi_vsphere/content_library.py +58 -59
  14. pulumi_vsphere/content_library_item.py +103 -104
  15. pulumi_vsphere/custom_attribute.py +35 -36
  16. pulumi_vsphere/datacenter.py +78 -79
  17. pulumi_vsphere/datastore_cluster.py +426 -427
  18. pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +86 -87
  19. pulumi_vsphere/distributed_port_group.py +787 -788
  20. pulumi_vsphere/distributed_virtual_switch.py +1566 -1567
  21. pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +69 -70
  22. pulumi_vsphere/dpm_host_override.py +69 -70
  23. pulumi_vsphere/drs_vm_override.py +69 -70
  24. pulumi_vsphere/entity_permissions.py +38 -39
  25. pulumi_vsphere/file.py +120 -121
  26. pulumi_vsphere/folder.py +86 -87
  27. pulumi_vsphere/get_compute_cluster.py +17 -18
  28. pulumi_vsphere/get_compute_cluster_host_group.py +17 -18
  29. pulumi_vsphere/get_content_library.py +9 -10
  30. pulumi_vsphere/get_content_library_item.py +21 -22
  31. pulumi_vsphere/get_custom_attribute.py +11 -12
  32. pulumi_vsphere/get_datacenter.py +11 -12
  33. pulumi_vsphere/get_datastore.py +21 -22
  34. pulumi_vsphere/get_datastore_cluster.py +17 -18
  35. pulumi_vsphere/get_datastore_stats.py +21 -22
  36. pulumi_vsphere/get_distributed_virtual_switch.py +17 -18
  37. pulumi_vsphere/get_dynamic.py +21 -22
  38. pulumi_vsphere/get_folder.py +9 -10
  39. pulumi_vsphere/get_guest_os_customization.py +18 -19
  40. pulumi_vsphere/get_host.py +17 -18
  41. pulumi_vsphere/get_host_base_images.py +5 -6
  42. pulumi_vsphere/get_host_pci_device.py +29 -30
  43. pulumi_vsphere/get_host_thumbprint.py +21 -22
  44. pulumi_vsphere/get_host_vgpu_profile.py +16 -17
  45. pulumi_vsphere/get_license.py +19 -20
  46. pulumi_vsphere/get_network.py +42 -43
  47. pulumi_vsphere/get_ovf_vm_template.py +121 -122
  48. pulumi_vsphere/get_policy.py +9 -10
  49. pulumi_vsphere/get_resource_pool.py +21 -22
  50. pulumi_vsphere/get_role.py +25 -26
  51. pulumi_vsphere/get_tag.py +17 -18
  52. pulumi_vsphere/get_tag_category.py +15 -16
  53. pulumi_vsphere/get_vapp_container.py +15 -16
  54. pulumi_vsphere/get_virtual_machine.py +272 -273
  55. pulumi_vsphere/get_vmfs_disks.py +23 -24
  56. pulumi_vsphere/guest_os_customization.py +73 -74
  57. pulumi_vsphere/ha_vm_override.py +256 -257
  58. pulumi_vsphere/host.py +242 -243
  59. pulumi_vsphere/host_port_group.py +310 -311
  60. pulumi_vsphere/host_virtual_switch.py +358 -359
  61. pulumi_vsphere/license.py +71 -72
  62. pulumi_vsphere/nas_datastore.py +260 -261
  63. pulumi_vsphere/offline_software_depot.py +20 -21
  64. pulumi_vsphere/outputs.py +981 -982
  65. pulumi_vsphere/provider.py +120 -121
  66. pulumi_vsphere/pulumi-plugin.json +1 -1
  67. pulumi_vsphere/resource_pool.py +256 -257
  68. pulumi_vsphere/role.py +44 -45
  69. pulumi_vsphere/storage_drs_vm_override.py +86 -87
  70. pulumi_vsphere/supervisor.py +206 -207
  71. pulumi_vsphere/tag.py +52 -53
  72. pulumi_vsphere/tag_category.py +69 -70
  73. pulumi_vsphere/vapp_container.py +256 -257
  74. pulumi_vsphere/vapp_entity.py +171 -172
  75. pulumi_vsphere/virtual_disk.py +120 -121
  76. pulumi_vsphere/virtual_machine.py +1293 -1294
  77. pulumi_vsphere/virtual_machine_class.py +103 -104
  78. pulumi_vsphere/virtual_machine_snapshot.py +120 -121
  79. pulumi_vsphere/vm_storage_policy.py +38 -39
  80. pulumi_vsphere/vmfs_datastore.py +183 -184
  81. pulumi_vsphere/vnic.py +143 -144
  82. {pulumi_vsphere-4.16.0a1753339697.dist-info → pulumi_vsphere-4.16.0a1753398270.dist-info}/METADATA +1 -1
  83. pulumi_vsphere-4.16.0a1753398270.dist-info/RECORD +87 -0
  84. pulumi_vsphere-4.16.0a1753339697.dist-info/RECORD +0 -87
  85. {pulumi_vsphere-4.16.0a1753339697.dist-info → pulumi_vsphere-4.16.0a1753398270.dist-info}/WHEEL +0 -0
  86. {pulumi_vsphere-4.16.0a1753339697.dist-info → pulumi_vsphere-4.16.0a1753398270.dist-info}/top_level.txt +0 -0
pulumi_vsphere/host.py CHANGED
@@ -2,8 +2,7 @@
2
2
  # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import builtins
6
- import copy
5
+ import builtins as _builtins
7
6
  import warnings
8
7
  import sys
9
8
  import pulumi
@@ -22,37 +21,37 @@ __all__ = ['HostArgs', 'Host']
22
21
  @pulumi.input_type
23
22
  class HostArgs:
24
23
  def __init__(__self__, *,
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,
24
+ hostname: pulumi.Input[_builtins.str],
25
+ password: pulumi.Input[_builtins.str],
26
+ username: pulumi.Input[_builtins.str],
27
+ cluster: Optional[pulumi.Input[_builtins.str]] = None,
28
+ cluster_managed: Optional[pulumi.Input[_builtins.bool]] = None,
29
+ connected: Optional[pulumi.Input[_builtins.bool]] = None,
30
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
31
+ datacenter: Optional[pulumi.Input[_builtins.str]] = None,
32
+ force: Optional[pulumi.Input[_builtins.bool]] = None,
33
+ license: Optional[pulumi.Input[_builtins.str]] = None,
34
+ lockdown: Optional[pulumi.Input[_builtins.str]] = None,
35
+ maintenance: Optional[pulumi.Input[_builtins.bool]] = None,
37
36
  services: Optional[pulumi.Input[Sequence[pulumi.Input['HostServiceArgs']]]] = None,
38
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
39
- thumbprint: Optional[pulumi.Input[builtins.str]] = None):
37
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
38
+ thumbprint: Optional[pulumi.Input[_builtins.str]] = None):
40
39
  """
41
40
  The set of arguments for constructing a Host resource.
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
41
+ :param pulumi.Input[_builtins.str] hostname: FQDN or IP address of the host to be added.
42
+ :param pulumi.Input[_builtins.str] password: Password that will be used by vSphere to authenticate
44
43
  to the host.
45
- :param pulumi.Input[builtins.str] username: Username that will be used by vSphere to authenticate
44
+ :param pulumi.Input[_builtins.str] username: Username that will be used by vSphere to authenticate
46
45
  to the host.
47
- :param pulumi.Input[builtins.str] cluster: The ID of the Compute Cluster this host should
46
+ :param pulumi.Input[_builtins.str] cluster: The ID of the Compute Cluster this host should
48
47
  be added to. This should not be set if `datacenter` is set. Conflicts with:
49
48
  `cluster_managed`.
50
- :param pulumi.Input[builtins.bool] cluster_managed: Can be set to `true` if compute cluster
49
+ :param pulumi.Input[_builtins.bool] cluster_managed: Can be set to `true` if compute cluster
51
50
  membership will be managed through the `compute_cluster` resource rather
52
51
  than the`host` resource. Conflicts with: `cluster`.
53
- :param pulumi.Input[builtins.bool] connected: If set to false then the host will be disconnected.
52
+ :param pulumi.Input[_builtins.bool] connected: If set to false then the host will be disconnected.
54
53
  Default is `false`.
55
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: A map of custom attribute IDs and string
54
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_attributes: A map of custom attribute IDs and string
56
55
  values to apply to the resource. Please refer to the
57
56
  `vsphere_custom_attributes` resource for more information on applying
58
57
  tags to resources.
@@ -61,25 +60,25 @@ class HostArgs:
61
60
  connections and require vCenter Server.
62
61
 
63
62
  [docs-host-thumbprint-data-source]: /docs/providers/vsphere/d/host_thumbprint.html
64
- :param pulumi.Input[builtins.str] datacenter: The ID of the datacenter this host should
63
+ :param pulumi.Input[_builtins.str] datacenter: The ID of the datacenter this host should
65
64
  be added to. This should not be set if `cluster` is set.
66
- :param pulumi.Input[builtins.bool] force: If set to `true` then it will force the host to be added,
65
+ :param pulumi.Input[_builtins.bool] force: If set to `true` then it will force the host to be added,
67
66
  even if the host is already connected to a different vCenter Server instance.
68
67
  Default is `false`.
69
- :param pulumi.Input[builtins.str] license: The license key that will be applied to the host.
68
+ :param pulumi.Input[_builtins.str] license: The license key that will be applied to the host.
70
69
  The license key is expected to be present in vSphere.
71
- :param pulumi.Input[builtins.str] lockdown: Set the lockdown state of the host. Valid options are
70
+ :param pulumi.Input[_builtins.str] lockdown: Set the lockdown state of the host. Valid options are
72
71
  `disabled`, `normal`, and `strict`. Default is `disabled`.
73
- :param pulumi.Input[builtins.bool] maintenance: Set the management state of the host.
72
+ :param pulumi.Input[_builtins.bool] maintenance: Set the management state of the host.
74
73
  Default is `false`.
75
74
  :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.
76
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource. Please
75
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The IDs of any tags to attach to this resource. Please
77
76
  refer to the `Tag` resource for more information on applying
78
77
  tags to resources.
79
78
 
80
79
  > **NOTE:** Tagging support is not supported on direct ESXi host
81
80
  connections and require vCenter Server.
82
- :param pulumi.Input[builtins.str] thumbprint: Host's certificate SHA-1 thumbprint. If not set the
81
+ :param pulumi.Input[_builtins.str] thumbprint: Host's certificate SHA-1 thumbprint. If not set the
83
82
  CA that signed the host's certificate should be trusted. If the CA is not
84
83
  trusted and no thumbprint is set then the operation will fail. See data source
85
84
  [`get_host_thumbprint`][docs-host-thumbprint-data-source].
@@ -112,21 +111,21 @@ class HostArgs:
112
111
  if thumbprint is not None:
113
112
  pulumi.set(__self__, "thumbprint", thumbprint)
114
113
 
115
- @property
114
+ @_builtins.property
116
115
  @pulumi.getter
117
- def hostname(self) -> pulumi.Input[builtins.str]:
116
+ def hostname(self) -> pulumi.Input[_builtins.str]:
118
117
  """
119
118
  FQDN or IP address of the host to be added.
120
119
  """
121
120
  return pulumi.get(self, "hostname")
122
121
 
123
122
  @hostname.setter
124
- def hostname(self, value: pulumi.Input[builtins.str]):
123
+ def hostname(self, value: pulumi.Input[_builtins.str]):
125
124
  pulumi.set(self, "hostname", value)
126
125
 
127
- @property
126
+ @_builtins.property
128
127
  @pulumi.getter
129
- def password(self) -> pulumi.Input[builtins.str]:
128
+ def password(self) -> pulumi.Input[_builtins.str]:
130
129
  """
131
130
  Password that will be used by vSphere to authenticate
132
131
  to the host.
@@ -134,12 +133,12 @@ class HostArgs:
134
133
  return pulumi.get(self, "password")
135
134
 
136
135
  @password.setter
137
- def password(self, value: pulumi.Input[builtins.str]):
136
+ def password(self, value: pulumi.Input[_builtins.str]):
138
137
  pulumi.set(self, "password", value)
139
138
 
140
- @property
139
+ @_builtins.property
141
140
  @pulumi.getter
142
- def username(self) -> pulumi.Input[builtins.str]:
141
+ def username(self) -> pulumi.Input[_builtins.str]:
143
142
  """
144
143
  Username that will be used by vSphere to authenticate
145
144
  to the host.
@@ -147,12 +146,12 @@ class HostArgs:
147
146
  return pulumi.get(self, "username")
148
147
 
149
148
  @username.setter
150
- def username(self, value: pulumi.Input[builtins.str]):
149
+ def username(self, value: pulumi.Input[_builtins.str]):
151
150
  pulumi.set(self, "username", value)
152
151
 
153
- @property
152
+ @_builtins.property
154
153
  @pulumi.getter
155
- def cluster(self) -> Optional[pulumi.Input[builtins.str]]:
154
+ def cluster(self) -> Optional[pulumi.Input[_builtins.str]]:
156
155
  """
157
156
  The ID of the Compute Cluster this host should
158
157
  be added to. This should not be set if `datacenter` is set. Conflicts with:
@@ -161,12 +160,12 @@ class HostArgs:
161
160
  return pulumi.get(self, "cluster")
162
161
 
163
162
  @cluster.setter
164
- def cluster(self, value: Optional[pulumi.Input[builtins.str]]):
163
+ def cluster(self, value: Optional[pulumi.Input[_builtins.str]]):
165
164
  pulumi.set(self, "cluster", value)
166
165
 
167
- @property
166
+ @_builtins.property
168
167
  @pulumi.getter(name="clusterManaged")
169
- def cluster_managed(self) -> Optional[pulumi.Input[builtins.bool]]:
168
+ def cluster_managed(self) -> Optional[pulumi.Input[_builtins.bool]]:
170
169
  """
171
170
  Can be set to `true` if compute cluster
172
171
  membership will be managed through the `compute_cluster` resource rather
@@ -175,12 +174,12 @@ class HostArgs:
175
174
  return pulumi.get(self, "cluster_managed")
176
175
 
177
176
  @cluster_managed.setter
178
- def cluster_managed(self, value: Optional[pulumi.Input[builtins.bool]]):
177
+ def cluster_managed(self, value: Optional[pulumi.Input[_builtins.bool]]):
179
178
  pulumi.set(self, "cluster_managed", value)
180
179
 
181
- @property
180
+ @_builtins.property
182
181
  @pulumi.getter
183
- def connected(self) -> Optional[pulumi.Input[builtins.bool]]:
182
+ def connected(self) -> Optional[pulumi.Input[_builtins.bool]]:
184
183
  """
185
184
  If set to false then the host will be disconnected.
186
185
  Default is `false`.
@@ -188,12 +187,12 @@ class HostArgs:
188
187
  return pulumi.get(self, "connected")
189
188
 
190
189
  @connected.setter
191
- def connected(self, value: Optional[pulumi.Input[builtins.bool]]):
190
+ def connected(self, value: Optional[pulumi.Input[_builtins.bool]]):
192
191
  pulumi.set(self, "connected", value)
193
192
 
194
- @property
193
+ @_builtins.property
195
194
  @pulumi.getter(name="customAttributes")
196
- def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
195
+ def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
197
196
  """
198
197
  A map of custom attribute IDs and string
199
198
  values to apply to the resource. Please refer to the
@@ -208,12 +207,12 @@ class HostArgs:
208
207
  return pulumi.get(self, "custom_attributes")
209
208
 
210
209
  @custom_attributes.setter
211
- def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
210
+ def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
212
211
  pulumi.set(self, "custom_attributes", value)
213
212
 
214
- @property
213
+ @_builtins.property
215
214
  @pulumi.getter
216
- def datacenter(self) -> Optional[pulumi.Input[builtins.str]]:
215
+ def datacenter(self) -> Optional[pulumi.Input[_builtins.str]]:
217
216
  """
218
217
  The ID of the datacenter this host should
219
218
  be added to. This should not be set if `cluster` is set.
@@ -221,12 +220,12 @@ class HostArgs:
221
220
  return pulumi.get(self, "datacenter")
222
221
 
223
222
  @datacenter.setter
224
- def datacenter(self, value: Optional[pulumi.Input[builtins.str]]):
223
+ def datacenter(self, value: Optional[pulumi.Input[_builtins.str]]):
225
224
  pulumi.set(self, "datacenter", value)
226
225
 
227
- @property
226
+ @_builtins.property
228
227
  @pulumi.getter
229
- def force(self) -> Optional[pulumi.Input[builtins.bool]]:
228
+ def force(self) -> Optional[pulumi.Input[_builtins.bool]]:
230
229
  """
231
230
  If set to `true` then it will force the host to be added,
232
231
  even if the host is already connected to a different vCenter Server instance.
@@ -235,12 +234,12 @@ class HostArgs:
235
234
  return pulumi.get(self, "force")
236
235
 
237
236
  @force.setter
238
- def force(self, value: Optional[pulumi.Input[builtins.bool]]):
237
+ def force(self, value: Optional[pulumi.Input[_builtins.bool]]):
239
238
  pulumi.set(self, "force", value)
240
239
 
241
- @property
240
+ @_builtins.property
242
241
  @pulumi.getter
243
- def license(self) -> Optional[pulumi.Input[builtins.str]]:
242
+ def license(self) -> Optional[pulumi.Input[_builtins.str]]:
244
243
  """
245
244
  The license key that will be applied to the host.
246
245
  The license key is expected to be present in vSphere.
@@ -248,12 +247,12 @@ class HostArgs:
248
247
  return pulumi.get(self, "license")
249
248
 
250
249
  @license.setter
251
- def license(self, value: Optional[pulumi.Input[builtins.str]]):
250
+ def license(self, value: Optional[pulumi.Input[_builtins.str]]):
252
251
  pulumi.set(self, "license", value)
253
252
 
254
- @property
253
+ @_builtins.property
255
254
  @pulumi.getter
256
- def lockdown(self) -> Optional[pulumi.Input[builtins.str]]:
255
+ def lockdown(self) -> Optional[pulumi.Input[_builtins.str]]:
257
256
  """
258
257
  Set the lockdown state of the host. Valid options are
259
258
  `disabled`, `normal`, and `strict`. Default is `disabled`.
@@ -261,12 +260,12 @@ class HostArgs:
261
260
  return pulumi.get(self, "lockdown")
262
261
 
263
262
  @lockdown.setter
264
- def lockdown(self, value: Optional[pulumi.Input[builtins.str]]):
263
+ def lockdown(self, value: Optional[pulumi.Input[_builtins.str]]):
265
264
  pulumi.set(self, "lockdown", value)
266
265
 
267
- @property
266
+ @_builtins.property
268
267
  @pulumi.getter
269
- def maintenance(self) -> Optional[pulumi.Input[builtins.bool]]:
268
+ def maintenance(self) -> Optional[pulumi.Input[_builtins.bool]]:
270
269
  """
271
270
  Set the management state of the host.
272
271
  Default is `false`.
@@ -274,10 +273,10 @@ class HostArgs:
274
273
  return pulumi.get(self, "maintenance")
275
274
 
276
275
  @maintenance.setter
277
- def maintenance(self, value: Optional[pulumi.Input[builtins.bool]]):
276
+ def maintenance(self, value: Optional[pulumi.Input[_builtins.bool]]):
278
277
  pulumi.set(self, "maintenance", value)
279
278
 
280
- @property
279
+ @_builtins.property
281
280
  @pulumi.getter
282
281
  def services(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HostServiceArgs']]]]:
283
282
  """
@@ -289,9 +288,9 @@ class HostArgs:
289
288
  def services(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['HostServiceArgs']]]]):
290
289
  pulumi.set(self, "services", value)
291
290
 
292
- @property
291
+ @_builtins.property
293
292
  @pulumi.getter
294
- def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
293
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
295
294
  """
296
295
  The IDs of any tags to attach to this resource. Please
297
296
  refer to the `Tag` resource for more information on applying
@@ -303,12 +302,12 @@ class HostArgs:
303
302
  return pulumi.get(self, "tags")
304
303
 
305
304
  @tags.setter
306
- def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
305
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
307
306
  pulumi.set(self, "tags", value)
308
307
 
309
- @property
308
+ @_builtins.property
310
309
  @pulumi.getter
311
- def thumbprint(self) -> Optional[pulumi.Input[builtins.str]]:
310
+ def thumbprint(self) -> Optional[pulumi.Input[_builtins.str]]:
312
311
  """
313
312
  Host's certificate SHA-1 thumbprint. If not set the
314
313
  CA that signed the host's certificate should be trusted. If the CA is not
@@ -318,39 +317,39 @@ class HostArgs:
318
317
  return pulumi.get(self, "thumbprint")
319
318
 
320
319
  @thumbprint.setter
321
- def thumbprint(self, value: Optional[pulumi.Input[builtins.str]]):
320
+ def thumbprint(self, value: Optional[pulumi.Input[_builtins.str]]):
322
321
  pulumi.set(self, "thumbprint", value)
323
322
 
324
323
 
325
324
  @pulumi.input_type
326
325
  class _HostState:
327
326
  def __init__(__self__, *,
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,
327
+ cluster: Optional[pulumi.Input[_builtins.str]] = None,
328
+ cluster_managed: Optional[pulumi.Input[_builtins.bool]] = None,
329
+ connected: Optional[pulumi.Input[_builtins.bool]] = None,
330
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
331
+ datacenter: Optional[pulumi.Input[_builtins.str]] = None,
332
+ force: Optional[pulumi.Input[_builtins.bool]] = None,
333
+ hostname: Optional[pulumi.Input[_builtins.str]] = None,
334
+ license: Optional[pulumi.Input[_builtins.str]] = None,
335
+ lockdown: Optional[pulumi.Input[_builtins.str]] = None,
336
+ maintenance: Optional[pulumi.Input[_builtins.bool]] = None,
337
+ password: Optional[pulumi.Input[_builtins.str]] = None,
339
338
  services: Optional[pulumi.Input[Sequence[pulumi.Input['HostServiceArgs']]]] = 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):
339
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
340
+ thumbprint: Optional[pulumi.Input[_builtins.str]] = None,
341
+ username: Optional[pulumi.Input[_builtins.str]] = None):
343
342
  """
344
343
  Input properties used for looking up and filtering Host resources.
345
- :param pulumi.Input[builtins.str] cluster: The ID of the Compute Cluster this host should
344
+ :param pulumi.Input[_builtins.str] cluster: The ID of the Compute Cluster this host should
346
345
  be added to. This should not be set if `datacenter` is set. Conflicts with:
347
346
  `cluster_managed`.
348
- :param pulumi.Input[builtins.bool] cluster_managed: Can be set to `true` if compute cluster
347
+ :param pulumi.Input[_builtins.bool] cluster_managed: Can be set to `true` if compute cluster
349
348
  membership will be managed through the `compute_cluster` resource rather
350
349
  than the`host` resource. Conflicts with: `cluster`.
351
- :param pulumi.Input[builtins.bool] connected: If set to false then the host will be disconnected.
350
+ :param pulumi.Input[_builtins.bool] connected: If set to false then the host will be disconnected.
352
351
  Default is `false`.
353
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: A map of custom attribute IDs and string
352
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_attributes: A map of custom attribute IDs and string
354
353
  values to apply to the resource. Please refer to the
355
354
  `vsphere_custom_attributes` resource for more information on applying
356
355
  tags to resources.
@@ -359,32 +358,32 @@ class _HostState:
359
358
  connections and require vCenter Server.
360
359
 
361
360
  [docs-host-thumbprint-data-source]: /docs/providers/vsphere/d/host_thumbprint.html
362
- :param pulumi.Input[builtins.str] datacenter: The ID of the datacenter this host should
361
+ :param pulumi.Input[_builtins.str] datacenter: The ID of the datacenter this host should
363
362
  be added to. This should not be set if `cluster` is set.
364
- :param pulumi.Input[builtins.bool] force: If set to `true` then it will force the host to be added,
363
+ :param pulumi.Input[_builtins.bool] force: If set to `true` then it will force the host to be added,
365
364
  even if the host is already connected to a different vCenter Server instance.
366
365
  Default is `false`.
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.
366
+ :param pulumi.Input[_builtins.str] hostname: FQDN or IP address of the host to be added.
367
+ :param pulumi.Input[_builtins.str] license: The license key that will be applied to the host.
369
368
  The license key is expected to be present in vSphere.
370
- :param pulumi.Input[builtins.str] lockdown: Set the lockdown state of the host. Valid options are
369
+ :param pulumi.Input[_builtins.str] lockdown: Set the lockdown state of the host. Valid options are
371
370
  `disabled`, `normal`, and `strict`. Default is `disabled`.
372
- :param pulumi.Input[builtins.bool] maintenance: Set the management state of the host.
371
+ :param pulumi.Input[_builtins.bool] maintenance: Set the management state of the host.
373
372
  Default is `false`.
374
- :param pulumi.Input[builtins.str] password: Password that will be used by vSphere to authenticate
373
+ :param pulumi.Input[_builtins.str] password: Password that will be used by vSphere to authenticate
375
374
  to the host.
376
375
  :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.
377
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource. Please
376
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The IDs of any tags to attach to this resource. Please
378
377
  refer to the `Tag` resource for more information on applying
379
378
  tags to resources.
380
379
 
381
380
  > **NOTE:** Tagging support is not supported on direct ESXi host
382
381
  connections and require vCenter Server.
383
- :param pulumi.Input[builtins.str] thumbprint: Host's certificate SHA-1 thumbprint. If not set the
382
+ :param pulumi.Input[_builtins.str] thumbprint: Host's certificate SHA-1 thumbprint. If not set the
384
383
  CA that signed the host's certificate should be trusted. If the CA is not
385
384
  trusted and no thumbprint is set then the operation will fail. See data source
386
385
  [`get_host_thumbprint`][docs-host-thumbprint-data-source].
387
- :param pulumi.Input[builtins.str] username: Username that will be used by vSphere to authenticate
386
+ :param pulumi.Input[_builtins.str] username: Username that will be used by vSphere to authenticate
388
387
  to the host.
389
388
  """
390
389
  if cluster is not None:
@@ -418,9 +417,9 @@ class _HostState:
418
417
  if username is not None:
419
418
  pulumi.set(__self__, "username", username)
420
419
 
421
- @property
420
+ @_builtins.property
422
421
  @pulumi.getter
423
- def cluster(self) -> Optional[pulumi.Input[builtins.str]]:
422
+ def cluster(self) -> Optional[pulumi.Input[_builtins.str]]:
424
423
  """
425
424
  The ID of the Compute Cluster this host should
426
425
  be added to. This should not be set if `datacenter` is set. Conflicts with:
@@ -429,12 +428,12 @@ class _HostState:
429
428
  return pulumi.get(self, "cluster")
430
429
 
431
430
  @cluster.setter
432
- def cluster(self, value: Optional[pulumi.Input[builtins.str]]):
431
+ def cluster(self, value: Optional[pulumi.Input[_builtins.str]]):
433
432
  pulumi.set(self, "cluster", value)
434
433
 
435
- @property
434
+ @_builtins.property
436
435
  @pulumi.getter(name="clusterManaged")
437
- def cluster_managed(self) -> Optional[pulumi.Input[builtins.bool]]:
436
+ def cluster_managed(self) -> Optional[pulumi.Input[_builtins.bool]]:
438
437
  """
439
438
  Can be set to `true` if compute cluster
440
439
  membership will be managed through the `compute_cluster` resource rather
@@ -443,12 +442,12 @@ class _HostState:
443
442
  return pulumi.get(self, "cluster_managed")
444
443
 
445
444
  @cluster_managed.setter
446
- def cluster_managed(self, value: Optional[pulumi.Input[builtins.bool]]):
445
+ def cluster_managed(self, value: Optional[pulumi.Input[_builtins.bool]]):
447
446
  pulumi.set(self, "cluster_managed", value)
448
447
 
449
- @property
448
+ @_builtins.property
450
449
  @pulumi.getter
451
- def connected(self) -> Optional[pulumi.Input[builtins.bool]]:
450
+ def connected(self) -> Optional[pulumi.Input[_builtins.bool]]:
452
451
  """
453
452
  If set to false then the host will be disconnected.
454
453
  Default is `false`.
@@ -456,12 +455,12 @@ class _HostState:
456
455
  return pulumi.get(self, "connected")
457
456
 
458
457
  @connected.setter
459
- def connected(self, value: Optional[pulumi.Input[builtins.bool]]):
458
+ def connected(self, value: Optional[pulumi.Input[_builtins.bool]]):
460
459
  pulumi.set(self, "connected", value)
461
460
 
462
- @property
461
+ @_builtins.property
463
462
  @pulumi.getter(name="customAttributes")
464
- def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
463
+ def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
465
464
  """
466
465
  A map of custom attribute IDs and string
467
466
  values to apply to the resource. Please refer to the
@@ -476,12 +475,12 @@ class _HostState:
476
475
  return pulumi.get(self, "custom_attributes")
477
476
 
478
477
  @custom_attributes.setter
479
- def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
478
+ def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
480
479
  pulumi.set(self, "custom_attributes", value)
481
480
 
482
- @property
481
+ @_builtins.property
483
482
  @pulumi.getter
484
- def datacenter(self) -> Optional[pulumi.Input[builtins.str]]:
483
+ def datacenter(self) -> Optional[pulumi.Input[_builtins.str]]:
485
484
  """
486
485
  The ID of the datacenter this host should
487
486
  be added to. This should not be set if `cluster` is set.
@@ -489,12 +488,12 @@ class _HostState:
489
488
  return pulumi.get(self, "datacenter")
490
489
 
491
490
  @datacenter.setter
492
- def datacenter(self, value: Optional[pulumi.Input[builtins.str]]):
491
+ def datacenter(self, value: Optional[pulumi.Input[_builtins.str]]):
493
492
  pulumi.set(self, "datacenter", value)
494
493
 
495
- @property
494
+ @_builtins.property
496
495
  @pulumi.getter
497
- def force(self) -> Optional[pulumi.Input[builtins.bool]]:
496
+ def force(self) -> Optional[pulumi.Input[_builtins.bool]]:
498
497
  """
499
498
  If set to `true` then it will force the host to be added,
500
499
  even if the host is already connected to a different vCenter Server instance.
@@ -503,24 +502,24 @@ class _HostState:
503
502
  return pulumi.get(self, "force")
504
503
 
505
504
  @force.setter
506
- def force(self, value: Optional[pulumi.Input[builtins.bool]]):
505
+ def force(self, value: Optional[pulumi.Input[_builtins.bool]]):
507
506
  pulumi.set(self, "force", value)
508
507
 
509
- @property
508
+ @_builtins.property
510
509
  @pulumi.getter
511
- def hostname(self) -> Optional[pulumi.Input[builtins.str]]:
510
+ def hostname(self) -> Optional[pulumi.Input[_builtins.str]]:
512
511
  """
513
512
  FQDN or IP address of the host to be added.
514
513
  """
515
514
  return pulumi.get(self, "hostname")
516
515
 
517
516
  @hostname.setter
518
- def hostname(self, value: Optional[pulumi.Input[builtins.str]]):
517
+ def hostname(self, value: Optional[pulumi.Input[_builtins.str]]):
519
518
  pulumi.set(self, "hostname", value)
520
519
 
521
- @property
520
+ @_builtins.property
522
521
  @pulumi.getter
523
- def license(self) -> Optional[pulumi.Input[builtins.str]]:
522
+ def license(self) -> Optional[pulumi.Input[_builtins.str]]:
524
523
  """
525
524
  The license key that will be applied to the host.
526
525
  The license key is expected to be present in vSphere.
@@ -528,12 +527,12 @@ class _HostState:
528
527
  return pulumi.get(self, "license")
529
528
 
530
529
  @license.setter
531
- def license(self, value: Optional[pulumi.Input[builtins.str]]):
530
+ def license(self, value: Optional[pulumi.Input[_builtins.str]]):
532
531
  pulumi.set(self, "license", value)
533
532
 
534
- @property
533
+ @_builtins.property
535
534
  @pulumi.getter
536
- def lockdown(self) -> Optional[pulumi.Input[builtins.str]]:
535
+ def lockdown(self) -> Optional[pulumi.Input[_builtins.str]]:
537
536
  """
538
537
  Set the lockdown state of the host. Valid options are
539
538
  `disabled`, `normal`, and `strict`. Default is `disabled`.
@@ -541,12 +540,12 @@ class _HostState:
541
540
  return pulumi.get(self, "lockdown")
542
541
 
543
542
  @lockdown.setter
544
- def lockdown(self, value: Optional[pulumi.Input[builtins.str]]):
543
+ def lockdown(self, value: Optional[pulumi.Input[_builtins.str]]):
545
544
  pulumi.set(self, "lockdown", value)
546
545
 
547
- @property
546
+ @_builtins.property
548
547
  @pulumi.getter
549
- def maintenance(self) -> Optional[pulumi.Input[builtins.bool]]:
548
+ def maintenance(self) -> Optional[pulumi.Input[_builtins.bool]]:
550
549
  """
551
550
  Set the management state of the host.
552
551
  Default is `false`.
@@ -554,12 +553,12 @@ class _HostState:
554
553
  return pulumi.get(self, "maintenance")
555
554
 
556
555
  @maintenance.setter
557
- def maintenance(self, value: Optional[pulumi.Input[builtins.bool]]):
556
+ def maintenance(self, value: Optional[pulumi.Input[_builtins.bool]]):
558
557
  pulumi.set(self, "maintenance", value)
559
558
 
560
- @property
559
+ @_builtins.property
561
560
  @pulumi.getter
562
- def password(self) -> Optional[pulumi.Input[builtins.str]]:
561
+ def password(self) -> Optional[pulumi.Input[_builtins.str]]:
563
562
  """
564
563
  Password that will be used by vSphere to authenticate
565
564
  to the host.
@@ -567,10 +566,10 @@ class _HostState:
567
566
  return pulumi.get(self, "password")
568
567
 
569
568
  @password.setter
570
- def password(self, value: Optional[pulumi.Input[builtins.str]]):
569
+ def password(self, value: Optional[pulumi.Input[_builtins.str]]):
571
570
  pulumi.set(self, "password", value)
572
571
 
573
- @property
572
+ @_builtins.property
574
573
  @pulumi.getter
575
574
  def services(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HostServiceArgs']]]]:
576
575
  """
@@ -582,9 +581,9 @@ class _HostState:
582
581
  def services(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['HostServiceArgs']]]]):
583
582
  pulumi.set(self, "services", value)
584
583
 
585
- @property
584
+ @_builtins.property
586
585
  @pulumi.getter
587
- def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
586
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
588
587
  """
589
588
  The IDs of any tags to attach to this resource. Please
590
589
  refer to the `Tag` resource for more information on applying
@@ -596,12 +595,12 @@ class _HostState:
596
595
  return pulumi.get(self, "tags")
597
596
 
598
597
  @tags.setter
599
- def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
598
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
600
599
  pulumi.set(self, "tags", value)
601
600
 
602
- @property
601
+ @_builtins.property
603
602
  @pulumi.getter
604
- def thumbprint(self) -> Optional[pulumi.Input[builtins.str]]:
603
+ def thumbprint(self) -> Optional[pulumi.Input[_builtins.str]]:
605
604
  """
606
605
  Host's certificate SHA-1 thumbprint. If not set the
607
606
  CA that signed the host's certificate should be trusted. If the CA is not
@@ -611,12 +610,12 @@ class _HostState:
611
610
  return pulumi.get(self, "thumbprint")
612
611
 
613
612
  @thumbprint.setter
614
- def thumbprint(self, value: Optional[pulumi.Input[builtins.str]]):
613
+ def thumbprint(self, value: Optional[pulumi.Input[_builtins.str]]):
615
614
  pulumi.set(self, "thumbprint", value)
616
615
 
617
- @property
616
+ @_builtins.property
618
617
  @pulumi.getter
619
- def username(self) -> Optional[pulumi.Input[builtins.str]]:
618
+ def username(self) -> Optional[pulumi.Input[_builtins.str]]:
620
619
  """
621
620
  Username that will be used by vSphere to authenticate
622
621
  to the host.
@@ -624,7 +623,7 @@ class _HostState:
624
623
  return pulumi.get(self, "username")
625
624
 
626
625
  @username.setter
627
- def username(self, value: Optional[pulumi.Input[builtins.str]]):
626
+ def username(self, value: Optional[pulumi.Input[_builtins.str]]):
628
627
  pulumi.set(self, "username", value)
629
628
 
630
629
 
@@ -634,21 +633,21 @@ class Host(pulumi.CustomResource):
634
633
  def __init__(__self__,
635
634
  resource_name: str,
636
635
  opts: Optional[pulumi.ResourceOptions] = 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,
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,
648
647
  services: Optional[pulumi.Input[Sequence[pulumi.Input[Union['HostServiceArgs', 'HostServiceArgsDict']]]]] = 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,
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,
652
651
  __props__=None):
653
652
  """
654
653
  Provides a VMware vSphere host resource. This represents an ESXi host that
@@ -805,15 +804,15 @@ class Host(pulumi.CustomResource):
805
804
 
806
805
  :param str resource_name: The name of the resource.
807
806
  :param pulumi.ResourceOptions opts: Options for the resource.
808
- :param pulumi.Input[builtins.str] cluster: The ID of the Compute Cluster this host should
807
+ :param pulumi.Input[_builtins.str] cluster: The ID of the Compute Cluster this host should
809
808
  be added to. This should not be set if `datacenter` is set. Conflicts with:
810
809
  `cluster_managed`.
811
- :param pulumi.Input[builtins.bool] cluster_managed: Can be set to `true` if compute cluster
810
+ :param pulumi.Input[_builtins.bool] cluster_managed: Can be set to `true` if compute cluster
812
811
  membership will be managed through the `compute_cluster` resource rather
813
812
  than the`host` resource. Conflicts with: `cluster`.
814
- :param pulumi.Input[builtins.bool] connected: If set to false then the host will be disconnected.
813
+ :param pulumi.Input[_builtins.bool] connected: If set to false then the host will be disconnected.
815
814
  Default is `false`.
816
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: A map of custom attribute IDs and string
815
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_attributes: A map of custom attribute IDs and string
817
816
  values to apply to the resource. Please refer to the
818
817
  `vsphere_custom_attributes` resource for more information on applying
819
818
  tags to resources.
@@ -822,32 +821,32 @@ class Host(pulumi.CustomResource):
822
821
  connections and require vCenter Server.
823
822
 
824
823
  [docs-host-thumbprint-data-source]: /docs/providers/vsphere/d/host_thumbprint.html
825
- :param pulumi.Input[builtins.str] datacenter: The ID of the datacenter this host should
824
+ :param pulumi.Input[_builtins.str] datacenter: The ID of the datacenter this host should
826
825
  be added to. This should not be set if `cluster` is set.
827
- :param pulumi.Input[builtins.bool] force: If set to `true` then it will force the host to be added,
826
+ :param pulumi.Input[_builtins.bool] force: If set to `true` then it will force the host to be added,
828
827
  even if the host is already connected to a different vCenter Server instance.
829
828
  Default is `false`.
830
- :param pulumi.Input[builtins.str] hostname: FQDN or IP address of the host to be added.
831
- :param pulumi.Input[builtins.str] license: The license key that will be applied to the host.
829
+ :param pulumi.Input[_builtins.str] hostname: FQDN or IP address of the host to be added.
830
+ :param pulumi.Input[_builtins.str] license: The license key that will be applied to the host.
832
831
  The license key is expected to be present in vSphere.
833
- :param pulumi.Input[builtins.str] lockdown: Set the lockdown state of the host. Valid options are
832
+ :param pulumi.Input[_builtins.str] lockdown: Set the lockdown state of the host. Valid options are
834
833
  `disabled`, `normal`, and `strict`. Default is `disabled`.
835
- :param pulumi.Input[builtins.bool] maintenance: Set the management state of the host.
834
+ :param pulumi.Input[_builtins.bool] maintenance: Set the management state of the host.
836
835
  Default is `false`.
837
- :param pulumi.Input[builtins.str] password: Password that will be used by vSphere to authenticate
836
+ :param pulumi.Input[_builtins.str] password: Password that will be used by vSphere to authenticate
838
837
  to the host.
839
838
  :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.
840
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource. Please
839
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The IDs of any tags to attach to this resource. Please
841
840
  refer to the `Tag` resource for more information on applying
842
841
  tags to resources.
843
842
 
844
843
  > **NOTE:** Tagging support is not supported on direct ESXi host
845
844
  connections and require vCenter Server.
846
- :param pulumi.Input[builtins.str] thumbprint: Host's certificate SHA-1 thumbprint. If not set the
845
+ :param pulumi.Input[_builtins.str] thumbprint: Host's certificate SHA-1 thumbprint. If not set the
847
846
  CA that signed the host's certificate should be trusted. If the CA is not
848
847
  trusted and no thumbprint is set then the operation will fail. See data source
849
848
  [`get_host_thumbprint`][docs-host-thumbprint-data-source].
850
- :param pulumi.Input[builtins.str] username: Username that will be used by vSphere to authenticate
849
+ :param pulumi.Input[_builtins.str] username: Username that will be used by vSphere to authenticate
851
850
  to the host.
852
851
  """
853
852
  ...
@@ -1024,21 +1023,21 @@ class Host(pulumi.CustomResource):
1024
1023
  def _internal_init(__self__,
1025
1024
  resource_name: str,
1026
1025
  opts: Optional[pulumi.ResourceOptions] = None,
1027
- cluster: Optional[pulumi.Input[builtins.str]] = None,
1028
- cluster_managed: Optional[pulumi.Input[builtins.bool]] = None,
1029
- connected: Optional[pulumi.Input[builtins.bool]] = None,
1030
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
1031
- datacenter: Optional[pulumi.Input[builtins.str]] = None,
1032
- force: Optional[pulumi.Input[builtins.bool]] = None,
1033
- hostname: Optional[pulumi.Input[builtins.str]] = None,
1034
- license: Optional[pulumi.Input[builtins.str]] = None,
1035
- lockdown: Optional[pulumi.Input[builtins.str]] = None,
1036
- maintenance: Optional[pulumi.Input[builtins.bool]] = None,
1037
- password: Optional[pulumi.Input[builtins.str]] = None,
1026
+ cluster: Optional[pulumi.Input[_builtins.str]] = None,
1027
+ cluster_managed: Optional[pulumi.Input[_builtins.bool]] = None,
1028
+ connected: Optional[pulumi.Input[_builtins.bool]] = None,
1029
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
1030
+ datacenter: Optional[pulumi.Input[_builtins.str]] = None,
1031
+ force: Optional[pulumi.Input[_builtins.bool]] = None,
1032
+ hostname: Optional[pulumi.Input[_builtins.str]] = None,
1033
+ license: Optional[pulumi.Input[_builtins.str]] = None,
1034
+ lockdown: Optional[pulumi.Input[_builtins.str]] = None,
1035
+ maintenance: Optional[pulumi.Input[_builtins.bool]] = None,
1036
+ password: Optional[pulumi.Input[_builtins.str]] = None,
1038
1037
  services: Optional[pulumi.Input[Sequence[pulumi.Input[Union['HostServiceArgs', 'HostServiceArgsDict']]]]] = None,
1039
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
1040
- thumbprint: Optional[pulumi.Input[builtins.str]] = None,
1041
- username: Optional[pulumi.Input[builtins.str]] = None,
1038
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1039
+ thumbprint: Optional[pulumi.Input[_builtins.str]] = None,
1040
+ username: Optional[pulumi.Input[_builtins.str]] = None,
1042
1041
  __props__=None):
1043
1042
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
1044
1043
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -1081,21 +1080,21 @@ class Host(pulumi.CustomResource):
1081
1080
  def get(resource_name: str,
1082
1081
  id: pulumi.Input[str],
1083
1082
  opts: Optional[pulumi.ResourceOptions] = None,
1084
- cluster: Optional[pulumi.Input[builtins.str]] = None,
1085
- cluster_managed: Optional[pulumi.Input[builtins.bool]] = None,
1086
- connected: Optional[pulumi.Input[builtins.bool]] = None,
1087
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
1088
- datacenter: Optional[pulumi.Input[builtins.str]] = None,
1089
- force: Optional[pulumi.Input[builtins.bool]] = None,
1090
- hostname: Optional[pulumi.Input[builtins.str]] = None,
1091
- license: Optional[pulumi.Input[builtins.str]] = None,
1092
- lockdown: Optional[pulumi.Input[builtins.str]] = None,
1093
- maintenance: Optional[pulumi.Input[builtins.bool]] = None,
1094
- password: Optional[pulumi.Input[builtins.str]] = None,
1083
+ cluster: Optional[pulumi.Input[_builtins.str]] = None,
1084
+ cluster_managed: Optional[pulumi.Input[_builtins.bool]] = None,
1085
+ connected: Optional[pulumi.Input[_builtins.bool]] = None,
1086
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
1087
+ datacenter: Optional[pulumi.Input[_builtins.str]] = None,
1088
+ force: Optional[pulumi.Input[_builtins.bool]] = None,
1089
+ hostname: Optional[pulumi.Input[_builtins.str]] = None,
1090
+ license: Optional[pulumi.Input[_builtins.str]] = None,
1091
+ lockdown: Optional[pulumi.Input[_builtins.str]] = None,
1092
+ maintenance: Optional[pulumi.Input[_builtins.bool]] = None,
1093
+ password: Optional[pulumi.Input[_builtins.str]] = None,
1095
1094
  services: Optional[pulumi.Input[Sequence[pulumi.Input[Union['HostServiceArgs', 'HostServiceArgsDict']]]]] = None,
1096
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
1097
- thumbprint: Optional[pulumi.Input[builtins.str]] = None,
1098
- username: Optional[pulumi.Input[builtins.str]] = None) -> 'Host':
1095
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1096
+ thumbprint: Optional[pulumi.Input[_builtins.str]] = None,
1097
+ username: Optional[pulumi.Input[_builtins.str]] = None) -> 'Host':
1099
1098
  """
1100
1099
  Get an existing Host resource's state with the given name, id, and optional extra
1101
1100
  properties used to qualify the lookup.
@@ -1103,15 +1102,15 @@ class Host(pulumi.CustomResource):
1103
1102
  :param str resource_name: The unique name of the resulting resource.
1104
1103
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1105
1104
  :param pulumi.ResourceOptions opts: Options for the resource.
1106
- :param pulumi.Input[builtins.str] cluster: The ID of the Compute Cluster this host should
1105
+ :param pulumi.Input[_builtins.str] cluster: The ID of the Compute Cluster this host should
1107
1106
  be added to. This should not be set if `datacenter` is set. Conflicts with:
1108
1107
  `cluster_managed`.
1109
- :param pulumi.Input[builtins.bool] cluster_managed: Can be set to `true` if compute cluster
1108
+ :param pulumi.Input[_builtins.bool] cluster_managed: Can be set to `true` if compute cluster
1110
1109
  membership will be managed through the `compute_cluster` resource rather
1111
1110
  than the`host` resource. Conflicts with: `cluster`.
1112
- :param pulumi.Input[builtins.bool] connected: If set to false then the host will be disconnected.
1111
+ :param pulumi.Input[_builtins.bool] connected: If set to false then the host will be disconnected.
1113
1112
  Default is `false`.
1114
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: A map of custom attribute IDs and string
1113
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_attributes: A map of custom attribute IDs and string
1115
1114
  values to apply to the resource. Please refer to the
1116
1115
  `vsphere_custom_attributes` resource for more information on applying
1117
1116
  tags to resources.
@@ -1120,32 +1119,32 @@ class Host(pulumi.CustomResource):
1120
1119
  connections and require vCenter Server.
1121
1120
 
1122
1121
  [docs-host-thumbprint-data-source]: /docs/providers/vsphere/d/host_thumbprint.html
1123
- :param pulumi.Input[builtins.str] datacenter: The ID of the datacenter this host should
1122
+ :param pulumi.Input[_builtins.str] datacenter: The ID of the datacenter this host should
1124
1123
  be added to. This should not be set if `cluster` is set.
1125
- :param pulumi.Input[builtins.bool] force: If set to `true` then it will force the host to be added,
1124
+ :param pulumi.Input[_builtins.bool] force: If set to `true` then it will force the host to be added,
1126
1125
  even if the host is already connected to a different vCenter Server instance.
1127
1126
  Default is `false`.
1128
- :param pulumi.Input[builtins.str] hostname: FQDN or IP address of the host to be added.
1129
- :param pulumi.Input[builtins.str] license: The license key that will be applied to the host.
1127
+ :param pulumi.Input[_builtins.str] hostname: FQDN or IP address of the host to be added.
1128
+ :param pulumi.Input[_builtins.str] license: The license key that will be applied to the host.
1130
1129
  The license key is expected to be present in vSphere.
1131
- :param pulumi.Input[builtins.str] lockdown: Set the lockdown state of the host. Valid options are
1130
+ :param pulumi.Input[_builtins.str] lockdown: Set the lockdown state of the host. Valid options are
1132
1131
  `disabled`, `normal`, and `strict`. Default is `disabled`.
1133
- :param pulumi.Input[builtins.bool] maintenance: Set the management state of the host.
1132
+ :param pulumi.Input[_builtins.bool] maintenance: Set the management state of the host.
1134
1133
  Default is `false`.
1135
- :param pulumi.Input[builtins.str] password: Password that will be used by vSphere to authenticate
1134
+ :param pulumi.Input[_builtins.str] password: Password that will be used by vSphere to authenticate
1136
1135
  to the host.
1137
1136
  :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.
1138
- :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource. Please
1137
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The IDs of any tags to attach to this resource. Please
1139
1138
  refer to the `Tag` resource for more information on applying
1140
1139
  tags to resources.
1141
1140
 
1142
1141
  > **NOTE:** Tagging support is not supported on direct ESXi host
1143
1142
  connections and require vCenter Server.
1144
- :param pulumi.Input[builtins.str] thumbprint: Host's certificate SHA-1 thumbprint. If not set the
1143
+ :param pulumi.Input[_builtins.str] thumbprint: Host's certificate SHA-1 thumbprint. If not set the
1145
1144
  CA that signed the host's certificate should be trusted. If the CA is not
1146
1145
  trusted and no thumbprint is set then the operation will fail. See data source
1147
1146
  [`get_host_thumbprint`][docs-host-thumbprint-data-source].
1148
- :param pulumi.Input[builtins.str] username: Username that will be used by vSphere to authenticate
1147
+ :param pulumi.Input[_builtins.str] username: Username that will be used by vSphere to authenticate
1149
1148
  to the host.
1150
1149
  """
1151
1150
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -1169,9 +1168,9 @@ class Host(pulumi.CustomResource):
1169
1168
  __props__.__dict__["username"] = username
1170
1169
  return Host(resource_name, opts=opts, __props__=__props__)
1171
1170
 
1172
- @property
1171
+ @_builtins.property
1173
1172
  @pulumi.getter
1174
- def cluster(self) -> pulumi.Output[Optional[builtins.str]]:
1173
+ def cluster(self) -> pulumi.Output[Optional[_builtins.str]]:
1175
1174
  """
1176
1175
  The ID of the Compute Cluster this host should
1177
1176
  be added to. This should not be set if `datacenter` is set. Conflicts with:
@@ -1179,9 +1178,9 @@ class Host(pulumi.CustomResource):
1179
1178
  """
1180
1179
  return pulumi.get(self, "cluster")
1181
1180
 
1182
- @property
1181
+ @_builtins.property
1183
1182
  @pulumi.getter(name="clusterManaged")
1184
- def cluster_managed(self) -> pulumi.Output[Optional[builtins.bool]]:
1183
+ def cluster_managed(self) -> pulumi.Output[Optional[_builtins.bool]]:
1185
1184
  """
1186
1185
  Can be set to `true` if compute cluster
1187
1186
  membership will be managed through the `compute_cluster` resource rather
@@ -1189,18 +1188,18 @@ class Host(pulumi.CustomResource):
1189
1188
  """
1190
1189
  return pulumi.get(self, "cluster_managed")
1191
1190
 
1192
- @property
1191
+ @_builtins.property
1193
1192
  @pulumi.getter
1194
- def connected(self) -> pulumi.Output[Optional[builtins.bool]]:
1193
+ def connected(self) -> pulumi.Output[Optional[_builtins.bool]]:
1195
1194
  """
1196
1195
  If set to false then the host will be disconnected.
1197
1196
  Default is `false`.
1198
1197
  """
1199
1198
  return pulumi.get(self, "connected")
1200
1199
 
1201
- @property
1200
+ @_builtins.property
1202
1201
  @pulumi.getter(name="customAttributes")
1203
- def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
1202
+ def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
1204
1203
  """
1205
1204
  A map of custom attribute IDs and string
1206
1205
  values to apply to the resource. Please refer to the
@@ -1214,18 +1213,18 @@ class Host(pulumi.CustomResource):
1214
1213
  """
1215
1214
  return pulumi.get(self, "custom_attributes")
1216
1215
 
1217
- @property
1216
+ @_builtins.property
1218
1217
  @pulumi.getter
1219
- def datacenter(self) -> pulumi.Output[Optional[builtins.str]]:
1218
+ def datacenter(self) -> pulumi.Output[Optional[_builtins.str]]:
1220
1219
  """
1221
1220
  The ID of the datacenter this host should
1222
1221
  be added to. This should not be set if `cluster` is set.
1223
1222
  """
1224
1223
  return pulumi.get(self, "datacenter")
1225
1224
 
1226
- @property
1225
+ @_builtins.property
1227
1226
  @pulumi.getter
1228
- def force(self) -> pulumi.Output[Optional[builtins.bool]]:
1227
+ def force(self) -> pulumi.Output[Optional[_builtins.bool]]:
1229
1228
  """
1230
1229
  If set to `true` then it will force the host to be added,
1231
1230
  even if the host is already connected to a different vCenter Server instance.
@@ -1233,51 +1232,51 @@ class Host(pulumi.CustomResource):
1233
1232
  """
1234
1233
  return pulumi.get(self, "force")
1235
1234
 
1236
- @property
1235
+ @_builtins.property
1237
1236
  @pulumi.getter
1238
- def hostname(self) -> pulumi.Output[builtins.str]:
1237
+ def hostname(self) -> pulumi.Output[_builtins.str]:
1239
1238
  """
1240
1239
  FQDN or IP address of the host to be added.
1241
1240
  """
1242
1241
  return pulumi.get(self, "hostname")
1243
1242
 
1244
- @property
1243
+ @_builtins.property
1245
1244
  @pulumi.getter
1246
- def license(self) -> pulumi.Output[Optional[builtins.str]]:
1245
+ def license(self) -> pulumi.Output[Optional[_builtins.str]]:
1247
1246
  """
1248
1247
  The license key that will be applied to the host.
1249
1248
  The license key is expected to be present in vSphere.
1250
1249
  """
1251
1250
  return pulumi.get(self, "license")
1252
1251
 
1253
- @property
1252
+ @_builtins.property
1254
1253
  @pulumi.getter
1255
- def lockdown(self) -> pulumi.Output[Optional[builtins.str]]:
1254
+ def lockdown(self) -> pulumi.Output[Optional[_builtins.str]]:
1256
1255
  """
1257
1256
  Set the lockdown state of the host. Valid options are
1258
1257
  `disabled`, `normal`, and `strict`. Default is `disabled`.
1259
1258
  """
1260
1259
  return pulumi.get(self, "lockdown")
1261
1260
 
1262
- @property
1261
+ @_builtins.property
1263
1262
  @pulumi.getter
1264
- def maintenance(self) -> pulumi.Output[Optional[builtins.bool]]:
1263
+ def maintenance(self) -> pulumi.Output[Optional[_builtins.bool]]:
1265
1264
  """
1266
1265
  Set the management state of the host.
1267
1266
  Default is `false`.
1268
1267
  """
1269
1268
  return pulumi.get(self, "maintenance")
1270
1269
 
1271
- @property
1270
+ @_builtins.property
1272
1271
  @pulumi.getter
1273
- def password(self) -> pulumi.Output[builtins.str]:
1272
+ def password(self) -> pulumi.Output[_builtins.str]:
1274
1273
  """
1275
1274
  Password that will be used by vSphere to authenticate
1276
1275
  to the host.
1277
1276
  """
1278
1277
  return pulumi.get(self, "password")
1279
1278
 
1280
- @property
1279
+ @_builtins.property
1281
1280
  @pulumi.getter
1282
1281
  def services(self) -> pulumi.Output[Optional[Sequence['outputs.HostService']]]:
1283
1282
  """
@@ -1285,9 +1284,9 @@ class Host(pulumi.CustomResource):
1285
1284
  """
1286
1285
  return pulumi.get(self, "services")
1287
1286
 
1288
- @property
1287
+ @_builtins.property
1289
1288
  @pulumi.getter
1290
- def tags(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
1289
+ def tags(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
1291
1290
  """
1292
1291
  The IDs of any tags to attach to this resource. Please
1293
1292
  refer to the `Tag` resource for more information on applying
@@ -1298,9 +1297,9 @@ class Host(pulumi.CustomResource):
1298
1297
  """
1299
1298
  return pulumi.get(self, "tags")
1300
1299
 
1301
- @property
1300
+ @_builtins.property
1302
1301
  @pulumi.getter
1303
- def thumbprint(self) -> pulumi.Output[Optional[builtins.str]]:
1302
+ def thumbprint(self) -> pulumi.Output[Optional[_builtins.str]]:
1304
1303
  """
1305
1304
  Host's certificate SHA-1 thumbprint. If not set the
1306
1305
  CA that signed the host's certificate should be trusted. If the CA is not
@@ -1309,9 +1308,9 @@ class Host(pulumi.CustomResource):
1309
1308
  """
1310
1309
  return pulumi.get(self, "thumbprint")
1311
1310
 
1312
- @property
1311
+ @_builtins.property
1313
1312
  @pulumi.getter
1314
- def username(self) -> pulumi.Output[builtins.str]:
1313
+ def username(self) -> pulumi.Output[_builtins.str]:
1315
1314
  """
1316
1315
  Username that will be used by vSphere to authenticate
1317
1316
  to the host.