pulumi-vsphere 4.14.0a1741997722__py3-none-any.whl → 4.14.0a1745952392__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-vsphere might be problematic. Click here for more details.

Files changed (86) hide show
  1. pulumi_vsphere/__init__.py +1 -0
  2. pulumi_vsphere/_inputs.py +969 -968
  3. pulumi_vsphere/compute_cluster.py +921 -917
  4. pulumi_vsphere/compute_cluster_host_group.py +46 -42
  5. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +74 -70
  6. pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +74 -70
  7. pulumi_vsphere/compute_cluster_vm_dependency_rule.py +88 -84
  8. pulumi_vsphere/compute_cluster_vm_group.py +46 -42
  9. pulumi_vsphere/compute_cluster_vm_host_rule.py +102 -98
  10. pulumi_vsphere/config/__init__.py +1 -0
  11. pulumi_vsphere/config/__init__.pyi +1 -0
  12. pulumi_vsphere/config/vars.py +1 -0
  13. pulumi_vsphere/content_library.py +46 -42
  14. pulumi_vsphere/content_library_item.py +88 -84
  15. pulumi_vsphere/custom_attribute.py +32 -28
  16. pulumi_vsphere/datacenter.py +67 -63
  17. pulumi_vsphere/datastore_cluster.py +354 -350
  18. pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +74 -70
  19. pulumi_vsphere/distributed_port_group.py +648 -644
  20. pulumi_vsphere/distributed_virtual_switch.py +1285 -1281
  21. pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +60 -56
  22. pulumi_vsphere/dpm_host_override.py +60 -56
  23. pulumi_vsphere/drs_vm_override.py +60 -56
  24. pulumi_vsphere/entity_permissions.py +32 -28
  25. pulumi_vsphere/file.py +98 -94
  26. pulumi_vsphere/folder.py +74 -70
  27. pulumi_vsphere/get_compute_cluster.py +13 -12
  28. pulumi_vsphere/get_compute_cluster_host_group.py +13 -12
  29. pulumi_vsphere/get_content_library.py +7 -6
  30. pulumi_vsphere/get_content_library_item.py +17 -16
  31. pulumi_vsphere/get_custom_attribute.py +8 -7
  32. pulumi_vsphere/get_datacenter.py +8 -7
  33. pulumi_vsphere/get_datastore.py +17 -16
  34. pulumi_vsphere/get_datastore_cluster.py +13 -12
  35. pulumi_vsphere/get_datastore_stats.py +17 -16
  36. pulumi_vsphere/get_distributed_virtual_switch.py +13 -12
  37. pulumi_vsphere/get_dynamic.py +17 -16
  38. pulumi_vsphere/get_folder.py +7 -6
  39. pulumi_vsphere/get_guest_os_customization.py +11 -10
  40. pulumi_vsphere/get_host.py +13 -12
  41. pulumi_vsphere/get_host_base_images.py +3 -2
  42. pulumi_vsphere/get_host_pci_device.py +23 -22
  43. pulumi_vsphere/get_host_thumbprint.py +17 -16
  44. pulumi_vsphere/get_host_vgpu_profile.py +12 -11
  45. pulumi_vsphere/get_license.py +12 -11
  46. pulumi_vsphere/get_network.py +18 -17
  47. pulumi_vsphere/get_ovf_vm_template.py +89 -88
  48. pulumi_vsphere/get_policy.py +7 -6
  49. pulumi_vsphere/get_resource_pool.py +12 -11
  50. pulumi_vsphere/get_role.py +20 -19
  51. pulumi_vsphere/get_tag.py +13 -12
  52. pulumi_vsphere/get_tag_category.py +10 -9
  53. pulumi_vsphere/get_vapp_container.py +12 -11
  54. pulumi_vsphere/get_virtual_machine.py +204 -203
  55. pulumi_vsphere/get_vmfs_disks.py +18 -17
  56. pulumi_vsphere/guest_os_customization.py +60 -56
  57. pulumi_vsphere/ha_vm_override.py +214 -210
  58. pulumi_vsphere/host.py +200 -196
  59. pulumi_vsphere/host_port_group.py +256 -252
  60. pulumi_vsphere/host_virtual_switch.py +298 -294
  61. pulumi_vsphere/license.py +60 -56
  62. pulumi_vsphere/nas_datastore.py +214 -210
  63. pulumi_vsphere/offline_software_depot.py +18 -14
  64. pulumi_vsphere/outputs.py +721 -720
  65. pulumi_vsphere/provider.py +101 -97
  66. pulumi_vsphere/pulumi-plugin.json +1 -1
  67. pulumi_vsphere/resource_pool.py +214 -210
  68. pulumi_vsphere/role.py +39 -35
  69. pulumi_vsphere/storage_drs_vm_override.py +74 -70
  70. pulumi_vsphere/supervisor.py +158 -154
  71. pulumi_vsphere/tag.py +46 -42
  72. pulumi_vsphere/tag_category.py +60 -56
  73. pulumi_vsphere/vapp_container.py +214 -210
  74. pulumi_vsphere/vapp_entity.py +144 -140
  75. pulumi_vsphere/virtual_disk.py +102 -98
  76. pulumi_vsphere/virtual_machine.py +1043 -1039
  77. pulumi_vsphere/virtual_machine_class.py +88 -84
  78. pulumi_vsphere/virtual_machine_snapshot.py +102 -98
  79. pulumi_vsphere/vm_storage_policy.py +32 -28
  80. pulumi_vsphere/vmfs_datastore.py +151 -147
  81. pulumi_vsphere/vnic.py +116 -112
  82. {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/METADATA +2 -2
  83. pulumi_vsphere-4.14.0a1745952392.dist-info/RECORD +87 -0
  84. {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/WHEEL +1 -1
  85. pulumi_vsphere-4.14.0a1741997722.dist-info/RECORD +0 -87
  86. {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/top_level.txt +0 -0
@@ -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
@@ -19,55 +20,55 @@ __all__ = ['NasDatastoreArgs', 'NasDatastore']
19
20
  @pulumi.input_type
20
21
  class NasDatastoreArgs:
21
22
  def __init__(__self__, *,
22
- host_system_ids: pulumi.Input[Sequence[pulumi.Input[str]]],
23
- remote_hosts: pulumi.Input[Sequence[pulumi.Input[str]]],
24
- remote_path: pulumi.Input[str],
25
- access_mode: Optional[pulumi.Input[str]] = None,
26
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
27
- datastore_cluster_id: Optional[pulumi.Input[str]] = None,
28
- folder: Optional[pulumi.Input[str]] = None,
29
- name: Optional[pulumi.Input[str]] = None,
30
- security_type: Optional[pulumi.Input[str]] = None,
31
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
32
- type: Optional[pulumi.Input[str]] = None):
23
+ host_system_ids: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
24
+ remote_hosts: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
25
+ remote_path: pulumi.Input[builtins.str],
26
+ access_mode: Optional[pulumi.Input[builtins.str]] = None,
27
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
28
+ datastore_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
29
+ folder: Optional[pulumi.Input[builtins.str]] = None,
30
+ name: Optional[pulumi.Input[builtins.str]] = None,
31
+ security_type: Optional[pulumi.Input[builtins.str]] = None,
32
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
33
+ type: Optional[pulumi.Input[builtins.str]] = None):
33
34
  """
34
35
  The set of arguments for constructing a NasDatastore resource.
35
- :param pulumi.Input[Sequence[pulumi.Input[str]]] host_system_ids: The managed object IDs of
36
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] host_system_ids: The managed object IDs of
36
37
  the hosts to mount the datastore on.
37
- :param pulumi.Input[Sequence[pulumi.Input[str]]] remote_hosts: The hostnames or IP addresses of the remote
38
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] remote_hosts: The hostnames or IP addresses of the remote
38
39
  servers. Only one element should be present for NFS v3 but multiple
39
40
  can be present for NFS v4.1. Forces a new resource if changed.
40
- :param pulumi.Input[str] remote_path: The remote path of the mount point. Forces a new
41
+ :param pulumi.Input[builtins.str] remote_path: The remote path of the mount point. Forces a new
41
42
  resource if changed.
42
- :param pulumi.Input[str] access_mode: Access mode for the mount point. Can be one of
43
+ :param pulumi.Input[builtins.str] access_mode: Access mode for the mount point. Can be one of
43
44
  `readOnly` or `readWrite`. Note that `readWrite` does not necessarily mean
44
45
  that the datastore will be read-write depending on the permissions of the
45
46
  actual share. Default: `readWrite`. Forces a new resource if changed.
46
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
47
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: Map of custom attribute ids to attribute
47
48
  value strings to set on datasource resource.
48
49
 
49
50
  > **NOTE:** Custom attributes are unsupported on direct ESXi connections
50
51
  and require vCenter.
51
- :param pulumi.Input[str] datastore_cluster_id: The managed object
52
+ :param pulumi.Input[builtins.str] datastore_cluster_id: The managed object
52
53
  ID of a datastore cluster to put this datastore in.
53
54
  Conflicts with `folder`.
54
- :param pulumi.Input[str] folder: The relative path to a folder to put this datastore in.
55
+ :param pulumi.Input[builtins.str] folder: The relative path to a folder to put this datastore in.
55
56
  This is a path relative to the datacenter you are deploying the datastore to.
56
57
  Example: for the `dc1` datacenter, and a provided `folder` of `foo/bar`,
57
58
  The provider will place a datastore named `test` in a datastore folder
58
59
  located at `/dc1/datastore/foo/bar`, with the final inventory path being
59
60
  `/dc1/datastore/foo/bar/test`. Conflicts with
60
61
  `datastore_cluster_id`.
61
- :param pulumi.Input[str] name: The name of the datastore. Forces a new resource if
62
+ :param pulumi.Input[builtins.str] name: The name of the datastore. Forces a new resource if
62
63
  changed.
63
- :param pulumi.Input[str] security_type: The security type to use when using NFS v4.1.
64
+ :param pulumi.Input[builtins.str] security_type: The security type to use when using NFS v4.1.
64
65
  Can be one of `AUTH_SYS`, `SEC_KRB5`, or `SEC_KRB5I`. Forces a new resource
65
66
  if changed.
66
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
67
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
67
68
 
68
69
  > **NOTE:** Tagging support is unsupported on direct ESXi connections and
69
70
  requires vCenter 6.0 or higher.
70
- :param pulumi.Input[str] type: The type of NAS volume. Can be one of `NFS` (to denote
71
+ :param pulumi.Input[builtins.str] type: The type of NAS volume. Can be one of `NFS` (to denote
71
72
  v3) or `NFS41` (to denote NFS v4.1). Default: `NFS`. Forces a new resource if
72
73
  changed.
73
74
  """
@@ -93,7 +94,7 @@ class NasDatastoreArgs:
93
94
 
94
95
  @property
95
96
  @pulumi.getter(name="hostSystemIds")
96
- def host_system_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
97
+ def host_system_ids(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
97
98
  """
98
99
  The managed object IDs of
99
100
  the hosts to mount the datastore on.
@@ -101,12 +102,12 @@ class NasDatastoreArgs:
101
102
  return pulumi.get(self, "host_system_ids")
102
103
 
103
104
  @host_system_ids.setter
104
- def host_system_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
105
+ def host_system_ids(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
105
106
  pulumi.set(self, "host_system_ids", value)
106
107
 
107
108
  @property
108
109
  @pulumi.getter(name="remoteHosts")
109
- def remote_hosts(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
110
+ def remote_hosts(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
110
111
  """
111
112
  The hostnames or IP addresses of the remote
112
113
  servers. Only one element should be present for NFS v3 but multiple
@@ -115,12 +116,12 @@ class NasDatastoreArgs:
115
116
  return pulumi.get(self, "remote_hosts")
116
117
 
117
118
  @remote_hosts.setter
118
- def remote_hosts(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
119
+ def remote_hosts(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
119
120
  pulumi.set(self, "remote_hosts", value)
120
121
 
121
122
  @property
122
123
  @pulumi.getter(name="remotePath")
123
- def remote_path(self) -> pulumi.Input[str]:
124
+ def remote_path(self) -> pulumi.Input[builtins.str]:
124
125
  """
125
126
  The remote path of the mount point. Forces a new
126
127
  resource if changed.
@@ -128,12 +129,12 @@ class NasDatastoreArgs:
128
129
  return pulumi.get(self, "remote_path")
129
130
 
130
131
  @remote_path.setter
131
- def remote_path(self, value: pulumi.Input[str]):
132
+ def remote_path(self, value: pulumi.Input[builtins.str]):
132
133
  pulumi.set(self, "remote_path", value)
133
134
 
134
135
  @property
135
136
  @pulumi.getter(name="accessMode")
136
- def access_mode(self) -> Optional[pulumi.Input[str]]:
137
+ def access_mode(self) -> Optional[pulumi.Input[builtins.str]]:
137
138
  """
138
139
  Access mode for the mount point. Can be one of
139
140
  `readOnly` or `readWrite`. Note that `readWrite` does not necessarily mean
@@ -143,12 +144,12 @@ class NasDatastoreArgs:
143
144
  return pulumi.get(self, "access_mode")
144
145
 
145
146
  @access_mode.setter
146
- def access_mode(self, value: Optional[pulumi.Input[str]]):
147
+ def access_mode(self, value: Optional[pulumi.Input[builtins.str]]):
147
148
  pulumi.set(self, "access_mode", value)
148
149
 
149
150
  @property
150
151
  @pulumi.getter(name="customAttributes")
151
- def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
152
+ def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
152
153
  """
153
154
  Map of custom attribute ids to attribute
154
155
  value strings to set on datasource resource.
@@ -159,12 +160,12 @@ class NasDatastoreArgs:
159
160
  return pulumi.get(self, "custom_attributes")
160
161
 
161
162
  @custom_attributes.setter
162
- def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
163
+ def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
163
164
  pulumi.set(self, "custom_attributes", value)
164
165
 
165
166
  @property
166
167
  @pulumi.getter(name="datastoreClusterId")
167
- def datastore_cluster_id(self) -> Optional[pulumi.Input[str]]:
168
+ def datastore_cluster_id(self) -> Optional[pulumi.Input[builtins.str]]:
168
169
  """
169
170
  The managed object
170
171
  ID of a datastore cluster to put this datastore in.
@@ -173,12 +174,12 @@ class NasDatastoreArgs:
173
174
  return pulumi.get(self, "datastore_cluster_id")
174
175
 
175
176
  @datastore_cluster_id.setter
176
- def datastore_cluster_id(self, value: Optional[pulumi.Input[str]]):
177
+ def datastore_cluster_id(self, value: Optional[pulumi.Input[builtins.str]]):
177
178
  pulumi.set(self, "datastore_cluster_id", value)
178
179
 
179
180
  @property
180
181
  @pulumi.getter
181
- def folder(self) -> Optional[pulumi.Input[str]]:
182
+ def folder(self) -> Optional[pulumi.Input[builtins.str]]:
182
183
  """
183
184
  The relative path to a folder to put this datastore in.
184
185
  This is a path relative to the datacenter you are deploying the datastore to.
@@ -191,12 +192,12 @@ class NasDatastoreArgs:
191
192
  return pulumi.get(self, "folder")
192
193
 
193
194
  @folder.setter
194
- def folder(self, value: Optional[pulumi.Input[str]]):
195
+ def folder(self, value: Optional[pulumi.Input[builtins.str]]):
195
196
  pulumi.set(self, "folder", value)
196
197
 
197
198
  @property
198
199
  @pulumi.getter
199
- def name(self) -> Optional[pulumi.Input[str]]:
200
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
200
201
  """
201
202
  The name of the datastore. Forces a new resource if
202
203
  changed.
@@ -204,12 +205,12 @@ class NasDatastoreArgs:
204
205
  return pulumi.get(self, "name")
205
206
 
206
207
  @name.setter
207
- def name(self, value: Optional[pulumi.Input[str]]):
208
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
208
209
  pulumi.set(self, "name", value)
209
210
 
210
211
  @property
211
212
  @pulumi.getter(name="securityType")
212
- def security_type(self) -> Optional[pulumi.Input[str]]:
213
+ def security_type(self) -> Optional[pulumi.Input[builtins.str]]:
213
214
  """
214
215
  The security type to use when using NFS v4.1.
215
216
  Can be one of `AUTH_SYS`, `SEC_KRB5`, or `SEC_KRB5I`. Forces a new resource
@@ -218,12 +219,12 @@ class NasDatastoreArgs:
218
219
  return pulumi.get(self, "security_type")
219
220
 
220
221
  @security_type.setter
221
- def security_type(self, value: Optional[pulumi.Input[str]]):
222
+ def security_type(self, value: Optional[pulumi.Input[builtins.str]]):
222
223
  pulumi.set(self, "security_type", value)
223
224
 
224
225
  @property
225
226
  @pulumi.getter
226
- def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
227
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
227
228
  """
228
229
  The IDs of any tags to attach to this resource.
229
230
 
@@ -233,12 +234,12 @@ class NasDatastoreArgs:
233
234
  return pulumi.get(self, "tags")
234
235
 
235
236
  @tags.setter
236
- def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
237
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
237
238
  pulumi.set(self, "tags", value)
238
239
 
239
240
  @property
240
241
  @pulumi.getter
241
- def type(self) -> Optional[pulumi.Input[str]]:
242
+ def type(self) -> Optional[pulumi.Input[builtins.str]]:
242
243
  """
243
244
  The type of NAS volume. Can be one of `NFS` (to denote
244
245
  v3) or `NFS41` (to denote NFS v4.1). Default: `NFS`. Forces a new resource if
@@ -247,84 +248,84 @@ class NasDatastoreArgs:
247
248
  return pulumi.get(self, "type")
248
249
 
249
250
  @type.setter
250
- def type(self, value: Optional[pulumi.Input[str]]):
251
+ def type(self, value: Optional[pulumi.Input[builtins.str]]):
251
252
  pulumi.set(self, "type", value)
252
253
 
253
254
 
254
255
  @pulumi.input_type
255
256
  class _NasDatastoreState:
256
257
  def __init__(__self__, *,
257
- access_mode: Optional[pulumi.Input[str]] = None,
258
- accessible: Optional[pulumi.Input[bool]] = None,
259
- capacity: Optional[pulumi.Input[int]] = None,
260
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
261
- datastore_cluster_id: Optional[pulumi.Input[str]] = None,
262
- folder: Optional[pulumi.Input[str]] = None,
263
- free_space: Optional[pulumi.Input[int]] = None,
264
- host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
265
- maintenance_mode: Optional[pulumi.Input[str]] = None,
266
- multiple_host_access: Optional[pulumi.Input[bool]] = None,
267
- name: Optional[pulumi.Input[str]] = None,
268
- protocol_endpoint: Optional[pulumi.Input[bool]] = None,
269
- remote_hosts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
270
- remote_path: Optional[pulumi.Input[str]] = None,
271
- security_type: Optional[pulumi.Input[str]] = None,
272
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
273
- type: Optional[pulumi.Input[str]] = None,
274
- uncommitted_space: Optional[pulumi.Input[int]] = None,
275
- url: Optional[pulumi.Input[str]] = None):
258
+ access_mode: Optional[pulumi.Input[builtins.str]] = None,
259
+ accessible: Optional[pulumi.Input[builtins.bool]] = None,
260
+ capacity: Optional[pulumi.Input[builtins.int]] = None,
261
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
262
+ datastore_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
263
+ folder: Optional[pulumi.Input[builtins.str]] = None,
264
+ free_space: Optional[pulumi.Input[builtins.int]] = None,
265
+ host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
266
+ maintenance_mode: Optional[pulumi.Input[builtins.str]] = None,
267
+ multiple_host_access: Optional[pulumi.Input[builtins.bool]] = None,
268
+ name: Optional[pulumi.Input[builtins.str]] = None,
269
+ protocol_endpoint: Optional[pulumi.Input[builtins.bool]] = None,
270
+ remote_hosts: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
271
+ remote_path: Optional[pulumi.Input[builtins.str]] = None,
272
+ security_type: Optional[pulumi.Input[builtins.str]] = None,
273
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
274
+ type: Optional[pulumi.Input[builtins.str]] = None,
275
+ uncommitted_space: Optional[pulumi.Input[builtins.int]] = None,
276
+ url: Optional[pulumi.Input[builtins.str]] = None):
276
277
  """
277
278
  Input properties used for looking up and filtering NasDatastore resources.
278
- :param pulumi.Input[str] access_mode: Access mode for the mount point. Can be one of
279
+ :param pulumi.Input[builtins.str] access_mode: Access mode for the mount point. Can be one of
279
280
  `readOnly` or `readWrite`. Note that `readWrite` does not necessarily mean
280
281
  that the datastore will be read-write depending on the permissions of the
281
282
  actual share. Default: `readWrite`. Forces a new resource if changed.
282
- :param pulumi.Input[bool] accessible: The connectivity status of the datastore. If this is `false`,
283
+ :param pulumi.Input[builtins.bool] accessible: The connectivity status of the datastore. If this is `false`,
283
284
  some other computed attributes may be out of date.
284
- :param pulumi.Input[int] capacity: Maximum capacity of the datastore, in megabytes.
285
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
285
+ :param pulumi.Input[builtins.int] capacity: Maximum capacity of the datastore, in megabytes.
286
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: Map of custom attribute ids to attribute
286
287
  value strings to set on datasource resource.
287
288
 
288
289
  > **NOTE:** Custom attributes are unsupported on direct ESXi connections
289
290
  and require vCenter.
290
- :param pulumi.Input[str] datastore_cluster_id: The managed object
291
+ :param pulumi.Input[builtins.str] datastore_cluster_id: The managed object
291
292
  ID of a datastore cluster to put this datastore in.
292
293
  Conflicts with `folder`.
293
- :param pulumi.Input[str] folder: The relative path to a folder to put this datastore in.
294
+ :param pulumi.Input[builtins.str] folder: The relative path to a folder to put this datastore in.
294
295
  This is a path relative to the datacenter you are deploying the datastore to.
295
296
  Example: for the `dc1` datacenter, and a provided `folder` of `foo/bar`,
296
297
  The provider will place a datastore named `test` in a datastore folder
297
298
  located at `/dc1/datastore/foo/bar`, with the final inventory path being
298
299
  `/dc1/datastore/foo/bar/test`. Conflicts with
299
300
  `datastore_cluster_id`.
300
- :param pulumi.Input[int] free_space: Available space of this datastore, in megabytes.
301
- :param pulumi.Input[Sequence[pulumi.Input[str]]] host_system_ids: The managed object IDs of
301
+ :param pulumi.Input[builtins.int] free_space: Available space of this datastore, in megabytes.
302
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] host_system_ids: The managed object IDs of
302
303
  the hosts to mount the datastore on.
303
- :param pulumi.Input[str] maintenance_mode: The current maintenance mode state of the datastore.
304
- :param pulumi.Input[bool] multiple_host_access: If `true`, more than one host in the datacenter has
304
+ :param pulumi.Input[builtins.str] maintenance_mode: The current maintenance mode state of the datastore.
305
+ :param pulumi.Input[builtins.bool] multiple_host_access: If `true`, more than one host in the datacenter has
305
306
  been configured with access to the datastore.
306
- :param pulumi.Input[str] name: The name of the datastore. Forces a new resource if
307
+ :param pulumi.Input[builtins.str] name: The name of the datastore. Forces a new resource if
307
308
  changed.
308
- :param pulumi.Input[bool] protocol_endpoint: Indicates that this NAS volume is a protocol endpoint.
309
+ :param pulumi.Input[builtins.bool] protocol_endpoint: Indicates that this NAS volume is a protocol endpoint.
309
310
  This field is only populated if the host supports virtual datastores.
310
- :param pulumi.Input[Sequence[pulumi.Input[str]]] remote_hosts: The hostnames or IP addresses of the remote
311
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] remote_hosts: The hostnames or IP addresses of the remote
311
312
  servers. Only one element should be present for NFS v3 but multiple
312
313
  can be present for NFS v4.1. Forces a new resource if changed.
313
- :param pulumi.Input[str] remote_path: The remote path of the mount point. Forces a new
314
+ :param pulumi.Input[builtins.str] remote_path: The remote path of the mount point. Forces a new
314
315
  resource if changed.
315
- :param pulumi.Input[str] security_type: The security type to use when using NFS v4.1.
316
+ :param pulumi.Input[builtins.str] security_type: The security type to use when using NFS v4.1.
316
317
  Can be one of `AUTH_SYS`, `SEC_KRB5`, or `SEC_KRB5I`. Forces a new resource
317
318
  if changed.
318
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
319
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
319
320
 
320
321
  > **NOTE:** Tagging support is unsupported on direct ESXi connections and
321
322
  requires vCenter 6.0 or higher.
322
- :param pulumi.Input[str] type: The type of NAS volume. Can be one of `NFS` (to denote
323
+ :param pulumi.Input[builtins.str] type: The type of NAS volume. Can be one of `NFS` (to denote
323
324
  v3) or `NFS41` (to denote NFS v4.1). Default: `NFS`. Forces a new resource if
324
325
  changed.
325
- :param pulumi.Input[int] uncommitted_space: Total additional storage space, in megabytes,
326
+ :param pulumi.Input[builtins.int] uncommitted_space: Total additional storage space, in megabytes,
326
327
  potentially used by all virtual machines on this datastore.
327
- :param pulumi.Input[str] url: The unique locator for the datastore.
328
+ :param pulumi.Input[builtins.str] url: The unique locator for the datastore.
328
329
  """
329
330
  if access_mode is not None:
330
331
  pulumi.set(__self__, "access_mode", access_mode)
@@ -367,7 +368,7 @@ class _NasDatastoreState:
367
368
 
368
369
  @property
369
370
  @pulumi.getter(name="accessMode")
370
- def access_mode(self) -> Optional[pulumi.Input[str]]:
371
+ def access_mode(self) -> Optional[pulumi.Input[builtins.str]]:
371
372
  """
372
373
  Access mode for the mount point. Can be one of
373
374
  `readOnly` or `readWrite`. Note that `readWrite` does not necessarily mean
@@ -377,12 +378,12 @@ class _NasDatastoreState:
377
378
  return pulumi.get(self, "access_mode")
378
379
 
379
380
  @access_mode.setter
380
- def access_mode(self, value: Optional[pulumi.Input[str]]):
381
+ def access_mode(self, value: Optional[pulumi.Input[builtins.str]]):
381
382
  pulumi.set(self, "access_mode", value)
382
383
 
383
384
  @property
384
385
  @pulumi.getter
385
- def accessible(self) -> Optional[pulumi.Input[bool]]:
386
+ def accessible(self) -> Optional[pulumi.Input[builtins.bool]]:
386
387
  """
387
388
  The connectivity status of the datastore. If this is `false`,
388
389
  some other computed attributes may be out of date.
@@ -390,24 +391,24 @@ class _NasDatastoreState:
390
391
  return pulumi.get(self, "accessible")
391
392
 
392
393
  @accessible.setter
393
- def accessible(self, value: Optional[pulumi.Input[bool]]):
394
+ def accessible(self, value: Optional[pulumi.Input[builtins.bool]]):
394
395
  pulumi.set(self, "accessible", value)
395
396
 
396
397
  @property
397
398
  @pulumi.getter
398
- def capacity(self) -> Optional[pulumi.Input[int]]:
399
+ def capacity(self) -> Optional[pulumi.Input[builtins.int]]:
399
400
  """
400
401
  Maximum capacity of the datastore, in megabytes.
401
402
  """
402
403
  return pulumi.get(self, "capacity")
403
404
 
404
405
  @capacity.setter
405
- def capacity(self, value: Optional[pulumi.Input[int]]):
406
+ def capacity(self, value: Optional[pulumi.Input[builtins.int]]):
406
407
  pulumi.set(self, "capacity", value)
407
408
 
408
409
  @property
409
410
  @pulumi.getter(name="customAttributes")
410
- def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
411
+ def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
411
412
  """
412
413
  Map of custom attribute ids to attribute
413
414
  value strings to set on datasource resource.
@@ -418,12 +419,12 @@ class _NasDatastoreState:
418
419
  return pulumi.get(self, "custom_attributes")
419
420
 
420
421
  @custom_attributes.setter
421
- def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
422
+ def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
422
423
  pulumi.set(self, "custom_attributes", value)
423
424
 
424
425
  @property
425
426
  @pulumi.getter(name="datastoreClusterId")
426
- def datastore_cluster_id(self) -> Optional[pulumi.Input[str]]:
427
+ def datastore_cluster_id(self) -> Optional[pulumi.Input[builtins.str]]:
427
428
  """
428
429
  The managed object
429
430
  ID of a datastore cluster to put this datastore in.
@@ -432,12 +433,12 @@ class _NasDatastoreState:
432
433
  return pulumi.get(self, "datastore_cluster_id")
433
434
 
434
435
  @datastore_cluster_id.setter
435
- def datastore_cluster_id(self, value: Optional[pulumi.Input[str]]):
436
+ def datastore_cluster_id(self, value: Optional[pulumi.Input[builtins.str]]):
436
437
  pulumi.set(self, "datastore_cluster_id", value)
437
438
 
438
439
  @property
439
440
  @pulumi.getter
440
- def folder(self) -> Optional[pulumi.Input[str]]:
441
+ def folder(self) -> Optional[pulumi.Input[builtins.str]]:
441
442
  """
442
443
  The relative path to a folder to put this datastore in.
443
444
  This is a path relative to the datacenter you are deploying the datastore to.
@@ -450,24 +451,24 @@ class _NasDatastoreState:
450
451
  return pulumi.get(self, "folder")
451
452
 
452
453
  @folder.setter
453
- def folder(self, value: Optional[pulumi.Input[str]]):
454
+ def folder(self, value: Optional[pulumi.Input[builtins.str]]):
454
455
  pulumi.set(self, "folder", value)
455
456
 
456
457
  @property
457
458
  @pulumi.getter(name="freeSpace")
458
- def free_space(self) -> Optional[pulumi.Input[int]]:
459
+ def free_space(self) -> Optional[pulumi.Input[builtins.int]]:
459
460
  """
460
461
  Available space of this datastore, in megabytes.
461
462
  """
462
463
  return pulumi.get(self, "free_space")
463
464
 
464
465
  @free_space.setter
465
- def free_space(self, value: Optional[pulumi.Input[int]]):
466
+ def free_space(self, value: Optional[pulumi.Input[builtins.int]]):
466
467
  pulumi.set(self, "free_space", value)
467
468
 
468
469
  @property
469
470
  @pulumi.getter(name="hostSystemIds")
470
- def host_system_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
471
+ def host_system_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
471
472
  """
472
473
  The managed object IDs of
473
474
  the hosts to mount the datastore on.
@@ -475,24 +476,24 @@ class _NasDatastoreState:
475
476
  return pulumi.get(self, "host_system_ids")
476
477
 
477
478
  @host_system_ids.setter
478
- def host_system_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
479
+ def host_system_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
479
480
  pulumi.set(self, "host_system_ids", value)
480
481
 
481
482
  @property
482
483
  @pulumi.getter(name="maintenanceMode")
483
- def maintenance_mode(self) -> Optional[pulumi.Input[str]]:
484
+ def maintenance_mode(self) -> Optional[pulumi.Input[builtins.str]]:
484
485
  """
485
486
  The current maintenance mode state of the datastore.
486
487
  """
487
488
  return pulumi.get(self, "maintenance_mode")
488
489
 
489
490
  @maintenance_mode.setter
490
- def maintenance_mode(self, value: Optional[pulumi.Input[str]]):
491
+ def maintenance_mode(self, value: Optional[pulumi.Input[builtins.str]]):
491
492
  pulumi.set(self, "maintenance_mode", value)
492
493
 
493
494
  @property
494
495
  @pulumi.getter(name="multipleHostAccess")
495
- def multiple_host_access(self) -> Optional[pulumi.Input[bool]]:
496
+ def multiple_host_access(self) -> Optional[pulumi.Input[builtins.bool]]:
496
497
  """
497
498
  If `true`, more than one host in the datacenter has
498
499
  been configured with access to the datastore.
@@ -500,12 +501,12 @@ class _NasDatastoreState:
500
501
  return pulumi.get(self, "multiple_host_access")
501
502
 
502
503
  @multiple_host_access.setter
503
- def multiple_host_access(self, value: Optional[pulumi.Input[bool]]):
504
+ def multiple_host_access(self, value: Optional[pulumi.Input[builtins.bool]]):
504
505
  pulumi.set(self, "multiple_host_access", value)
505
506
 
506
507
  @property
507
508
  @pulumi.getter
508
- def name(self) -> Optional[pulumi.Input[str]]:
509
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
509
510
  """
510
511
  The name of the datastore. Forces a new resource if
511
512
  changed.
@@ -513,12 +514,12 @@ class _NasDatastoreState:
513
514
  return pulumi.get(self, "name")
514
515
 
515
516
  @name.setter
516
- def name(self, value: Optional[pulumi.Input[str]]):
517
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
517
518
  pulumi.set(self, "name", value)
518
519
 
519
520
  @property
520
521
  @pulumi.getter(name="protocolEndpoint")
521
- def protocol_endpoint(self) -> Optional[pulumi.Input[bool]]:
522
+ def protocol_endpoint(self) -> Optional[pulumi.Input[builtins.bool]]:
522
523
  """
523
524
  Indicates that this NAS volume is a protocol endpoint.
524
525
  This field is only populated if the host supports virtual datastores.
@@ -526,12 +527,12 @@ class _NasDatastoreState:
526
527
  return pulumi.get(self, "protocol_endpoint")
527
528
 
528
529
  @protocol_endpoint.setter
529
- def protocol_endpoint(self, value: Optional[pulumi.Input[bool]]):
530
+ def protocol_endpoint(self, value: Optional[pulumi.Input[builtins.bool]]):
530
531
  pulumi.set(self, "protocol_endpoint", value)
531
532
 
532
533
  @property
533
534
  @pulumi.getter(name="remoteHosts")
534
- def remote_hosts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
535
+ def remote_hosts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
535
536
  """
536
537
  The hostnames or IP addresses of the remote
537
538
  servers. Only one element should be present for NFS v3 but multiple
@@ -540,12 +541,12 @@ class _NasDatastoreState:
540
541
  return pulumi.get(self, "remote_hosts")
541
542
 
542
543
  @remote_hosts.setter
543
- def remote_hosts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
544
+ def remote_hosts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
544
545
  pulumi.set(self, "remote_hosts", value)
545
546
 
546
547
  @property
547
548
  @pulumi.getter(name="remotePath")
548
- def remote_path(self) -> Optional[pulumi.Input[str]]:
549
+ def remote_path(self) -> Optional[pulumi.Input[builtins.str]]:
549
550
  """
550
551
  The remote path of the mount point. Forces a new
551
552
  resource if changed.
@@ -553,12 +554,12 @@ class _NasDatastoreState:
553
554
  return pulumi.get(self, "remote_path")
554
555
 
555
556
  @remote_path.setter
556
- def remote_path(self, value: Optional[pulumi.Input[str]]):
557
+ def remote_path(self, value: Optional[pulumi.Input[builtins.str]]):
557
558
  pulumi.set(self, "remote_path", value)
558
559
 
559
560
  @property
560
561
  @pulumi.getter(name="securityType")
561
- def security_type(self) -> Optional[pulumi.Input[str]]:
562
+ def security_type(self) -> Optional[pulumi.Input[builtins.str]]:
562
563
  """
563
564
  The security type to use when using NFS v4.1.
564
565
  Can be one of `AUTH_SYS`, `SEC_KRB5`, or `SEC_KRB5I`. Forces a new resource
@@ -567,12 +568,12 @@ class _NasDatastoreState:
567
568
  return pulumi.get(self, "security_type")
568
569
 
569
570
  @security_type.setter
570
- def security_type(self, value: Optional[pulumi.Input[str]]):
571
+ def security_type(self, value: Optional[pulumi.Input[builtins.str]]):
571
572
  pulumi.set(self, "security_type", value)
572
573
 
573
574
  @property
574
575
  @pulumi.getter
575
- def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
576
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
576
577
  """
577
578
  The IDs of any tags to attach to this resource.
578
579
 
@@ -582,12 +583,12 @@ class _NasDatastoreState:
582
583
  return pulumi.get(self, "tags")
583
584
 
584
585
  @tags.setter
585
- def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
586
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
586
587
  pulumi.set(self, "tags", value)
587
588
 
588
589
  @property
589
590
  @pulumi.getter
590
- def type(self) -> Optional[pulumi.Input[str]]:
591
+ def type(self) -> Optional[pulumi.Input[builtins.str]]:
591
592
  """
592
593
  The type of NAS volume. Can be one of `NFS` (to denote
593
594
  v3) or `NFS41` (to denote NFS v4.1). Default: `NFS`. Forces a new resource if
@@ -596,12 +597,12 @@ class _NasDatastoreState:
596
597
  return pulumi.get(self, "type")
597
598
 
598
599
  @type.setter
599
- def type(self, value: Optional[pulumi.Input[str]]):
600
+ def type(self, value: Optional[pulumi.Input[builtins.str]]):
600
601
  pulumi.set(self, "type", value)
601
602
 
602
603
  @property
603
604
  @pulumi.getter(name="uncommittedSpace")
604
- def uncommitted_space(self) -> Optional[pulumi.Input[int]]:
605
+ def uncommitted_space(self) -> Optional[pulumi.Input[builtins.int]]:
605
606
  """
606
607
  Total additional storage space, in megabytes,
607
608
  potentially used by all virtual machines on this datastore.
@@ -609,38 +610,41 @@ class _NasDatastoreState:
609
610
  return pulumi.get(self, "uncommitted_space")
610
611
 
611
612
  @uncommitted_space.setter
612
- def uncommitted_space(self, value: Optional[pulumi.Input[int]]):
613
+ def uncommitted_space(self, value: Optional[pulumi.Input[builtins.int]]):
613
614
  pulumi.set(self, "uncommitted_space", value)
614
615
 
615
616
  @property
616
617
  @pulumi.getter
617
- def url(self) -> Optional[pulumi.Input[str]]:
618
+ def url(self) -> Optional[pulumi.Input[builtins.str]]:
618
619
  """
619
620
  The unique locator for the datastore.
620
621
  """
621
622
  return pulumi.get(self, "url")
622
623
 
623
624
  @url.setter
624
- def url(self, value: Optional[pulumi.Input[str]]):
625
+ def url(self, value: Optional[pulumi.Input[builtins.str]]):
625
626
  pulumi.set(self, "url", value)
626
627
 
627
628
 
628
629
  class NasDatastore(pulumi.CustomResource):
630
+
631
+ pulumi_type = "vsphere:index/nasDatastore:NasDatastore"
632
+
629
633
  @overload
630
634
  def __init__(__self__,
631
635
  resource_name: str,
632
636
  opts: Optional[pulumi.ResourceOptions] = None,
633
- access_mode: Optional[pulumi.Input[str]] = None,
634
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
635
- datastore_cluster_id: Optional[pulumi.Input[str]] = None,
636
- folder: Optional[pulumi.Input[str]] = None,
637
- host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
638
- name: Optional[pulumi.Input[str]] = None,
639
- remote_hosts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
640
- remote_path: Optional[pulumi.Input[str]] = None,
641
- security_type: Optional[pulumi.Input[str]] = None,
642
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
643
- type: Optional[pulumi.Input[str]] = None,
637
+ access_mode: Optional[pulumi.Input[builtins.str]] = None,
638
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
639
+ datastore_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
640
+ folder: Optional[pulumi.Input[builtins.str]] = None,
641
+ host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
642
+ name: Optional[pulumi.Input[builtins.str]] = None,
643
+ remote_hosts: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
644
+ remote_path: Optional[pulumi.Input[builtins.str]] = None,
645
+ security_type: Optional[pulumi.Input[builtins.str]] = None,
646
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
647
+ type: Optional[pulumi.Input[builtins.str]] = None,
644
648
  __props__=None):
645
649
  """
646
650
  The `NasDatastore` resource can be used to create and manage NAS
@@ -676,42 +680,42 @@ class NasDatastore(pulumi.CustomResource):
676
680
 
677
681
  :param str resource_name: The name of the resource.
678
682
  :param pulumi.ResourceOptions opts: Options for the resource.
679
- :param pulumi.Input[str] access_mode: Access mode for the mount point. Can be one of
683
+ :param pulumi.Input[builtins.str] access_mode: Access mode for the mount point. Can be one of
680
684
  `readOnly` or `readWrite`. Note that `readWrite` does not necessarily mean
681
685
  that the datastore will be read-write depending on the permissions of the
682
686
  actual share. Default: `readWrite`. Forces a new resource if changed.
683
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
687
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: Map of custom attribute ids to attribute
684
688
  value strings to set on datasource resource.
685
689
 
686
690
  > **NOTE:** Custom attributes are unsupported on direct ESXi connections
687
691
  and require vCenter.
688
- :param pulumi.Input[str] datastore_cluster_id: The managed object
692
+ :param pulumi.Input[builtins.str] datastore_cluster_id: The managed object
689
693
  ID of a datastore cluster to put this datastore in.
690
694
  Conflicts with `folder`.
691
- :param pulumi.Input[str] folder: The relative path to a folder to put this datastore in.
695
+ :param pulumi.Input[builtins.str] folder: The relative path to a folder to put this datastore in.
692
696
  This is a path relative to the datacenter you are deploying the datastore to.
693
697
  Example: for the `dc1` datacenter, and a provided `folder` of `foo/bar`,
694
698
  The provider will place a datastore named `test` in a datastore folder
695
699
  located at `/dc1/datastore/foo/bar`, with the final inventory path being
696
700
  `/dc1/datastore/foo/bar/test`. Conflicts with
697
701
  `datastore_cluster_id`.
698
- :param pulumi.Input[Sequence[pulumi.Input[str]]] host_system_ids: The managed object IDs of
702
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] host_system_ids: The managed object IDs of
699
703
  the hosts to mount the datastore on.
700
- :param pulumi.Input[str] name: The name of the datastore. Forces a new resource if
704
+ :param pulumi.Input[builtins.str] name: The name of the datastore. Forces a new resource if
701
705
  changed.
702
- :param pulumi.Input[Sequence[pulumi.Input[str]]] remote_hosts: The hostnames or IP addresses of the remote
706
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] remote_hosts: The hostnames or IP addresses of the remote
703
707
  servers. Only one element should be present for NFS v3 but multiple
704
708
  can be present for NFS v4.1. Forces a new resource if changed.
705
- :param pulumi.Input[str] remote_path: The remote path of the mount point. Forces a new
709
+ :param pulumi.Input[builtins.str] remote_path: The remote path of the mount point. Forces a new
706
710
  resource if changed.
707
- :param pulumi.Input[str] security_type: The security type to use when using NFS v4.1.
711
+ :param pulumi.Input[builtins.str] security_type: The security type to use when using NFS v4.1.
708
712
  Can be one of `AUTH_SYS`, `SEC_KRB5`, or `SEC_KRB5I`. Forces a new resource
709
713
  if changed.
710
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
714
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
711
715
 
712
716
  > **NOTE:** Tagging support is unsupported on direct ESXi connections and
713
717
  requires vCenter 6.0 or higher.
714
- :param pulumi.Input[str] type: The type of NAS volume. Can be one of `NFS` (to denote
718
+ :param pulumi.Input[builtins.str] type: The type of NAS volume. Can be one of `NFS` (to denote
715
719
  v3) or `NFS41` (to denote NFS v4.1). Default: `NFS`. Forces a new resource if
716
720
  changed.
717
721
  """
@@ -768,17 +772,17 @@ class NasDatastore(pulumi.CustomResource):
768
772
  def _internal_init(__self__,
769
773
  resource_name: str,
770
774
  opts: Optional[pulumi.ResourceOptions] = None,
771
- access_mode: Optional[pulumi.Input[str]] = None,
772
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
773
- datastore_cluster_id: Optional[pulumi.Input[str]] = None,
774
- folder: Optional[pulumi.Input[str]] = None,
775
- host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
776
- name: Optional[pulumi.Input[str]] = None,
777
- remote_hosts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
778
- remote_path: Optional[pulumi.Input[str]] = None,
779
- security_type: Optional[pulumi.Input[str]] = None,
780
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
781
- type: Optional[pulumi.Input[str]] = None,
775
+ access_mode: Optional[pulumi.Input[builtins.str]] = None,
776
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
777
+ datastore_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
778
+ folder: Optional[pulumi.Input[builtins.str]] = None,
779
+ host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
780
+ name: Optional[pulumi.Input[builtins.str]] = None,
781
+ remote_hosts: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
782
+ remote_path: Optional[pulumi.Input[builtins.str]] = None,
783
+ security_type: Optional[pulumi.Input[builtins.str]] = None,
784
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
785
+ type: Optional[pulumi.Input[builtins.str]] = None,
782
786
  __props__=None):
783
787
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
784
788
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -823,25 +827,25 @@ class NasDatastore(pulumi.CustomResource):
823
827
  def get(resource_name: str,
824
828
  id: pulumi.Input[str],
825
829
  opts: Optional[pulumi.ResourceOptions] = None,
826
- access_mode: Optional[pulumi.Input[str]] = None,
827
- accessible: Optional[pulumi.Input[bool]] = None,
828
- capacity: Optional[pulumi.Input[int]] = None,
829
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
830
- datastore_cluster_id: Optional[pulumi.Input[str]] = None,
831
- folder: Optional[pulumi.Input[str]] = None,
832
- free_space: Optional[pulumi.Input[int]] = None,
833
- host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
834
- maintenance_mode: Optional[pulumi.Input[str]] = None,
835
- multiple_host_access: Optional[pulumi.Input[bool]] = None,
836
- name: Optional[pulumi.Input[str]] = None,
837
- protocol_endpoint: Optional[pulumi.Input[bool]] = None,
838
- remote_hosts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
839
- remote_path: Optional[pulumi.Input[str]] = None,
840
- security_type: Optional[pulumi.Input[str]] = None,
841
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
842
- type: Optional[pulumi.Input[str]] = None,
843
- uncommitted_space: Optional[pulumi.Input[int]] = None,
844
- url: Optional[pulumi.Input[str]] = None) -> 'NasDatastore':
830
+ access_mode: Optional[pulumi.Input[builtins.str]] = None,
831
+ accessible: Optional[pulumi.Input[builtins.bool]] = None,
832
+ capacity: Optional[pulumi.Input[builtins.int]] = None,
833
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
834
+ datastore_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
835
+ folder: Optional[pulumi.Input[builtins.str]] = None,
836
+ free_space: Optional[pulumi.Input[builtins.int]] = None,
837
+ host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
838
+ maintenance_mode: Optional[pulumi.Input[builtins.str]] = None,
839
+ multiple_host_access: Optional[pulumi.Input[builtins.bool]] = None,
840
+ name: Optional[pulumi.Input[builtins.str]] = None,
841
+ protocol_endpoint: Optional[pulumi.Input[builtins.bool]] = None,
842
+ remote_hosts: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
843
+ remote_path: Optional[pulumi.Input[builtins.str]] = None,
844
+ security_type: Optional[pulumi.Input[builtins.str]] = None,
845
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
846
+ type: Optional[pulumi.Input[builtins.str]] = None,
847
+ uncommitted_space: Optional[pulumi.Input[builtins.int]] = None,
848
+ url: Optional[pulumi.Input[builtins.str]] = None) -> 'NasDatastore':
845
849
  """
846
850
  Get an existing NasDatastore resource's state with the given name, id, and optional extra
847
851
  properties used to qualify the lookup.
@@ -849,56 +853,56 @@ class NasDatastore(pulumi.CustomResource):
849
853
  :param str resource_name: The unique name of the resulting resource.
850
854
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
851
855
  :param pulumi.ResourceOptions opts: Options for the resource.
852
- :param pulumi.Input[str] access_mode: Access mode for the mount point. Can be one of
856
+ :param pulumi.Input[builtins.str] access_mode: Access mode for the mount point. Can be one of
853
857
  `readOnly` or `readWrite`. Note that `readWrite` does not necessarily mean
854
858
  that the datastore will be read-write depending on the permissions of the
855
859
  actual share. Default: `readWrite`. Forces a new resource if changed.
856
- :param pulumi.Input[bool] accessible: The connectivity status of the datastore. If this is `false`,
860
+ :param pulumi.Input[builtins.bool] accessible: The connectivity status of the datastore. If this is `false`,
857
861
  some other computed attributes may be out of date.
858
- :param pulumi.Input[int] capacity: Maximum capacity of the datastore, in megabytes.
859
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
862
+ :param pulumi.Input[builtins.int] capacity: Maximum capacity of the datastore, in megabytes.
863
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: Map of custom attribute ids to attribute
860
864
  value strings to set on datasource resource.
861
865
 
862
866
  > **NOTE:** Custom attributes are unsupported on direct ESXi connections
863
867
  and require vCenter.
864
- :param pulumi.Input[str] datastore_cluster_id: The managed object
868
+ :param pulumi.Input[builtins.str] datastore_cluster_id: The managed object
865
869
  ID of a datastore cluster to put this datastore in.
866
870
  Conflicts with `folder`.
867
- :param pulumi.Input[str] folder: The relative path to a folder to put this datastore in.
871
+ :param pulumi.Input[builtins.str] folder: The relative path to a folder to put this datastore in.
868
872
  This is a path relative to the datacenter you are deploying the datastore to.
869
873
  Example: for the `dc1` datacenter, and a provided `folder` of `foo/bar`,
870
874
  The provider will place a datastore named `test` in a datastore folder
871
875
  located at `/dc1/datastore/foo/bar`, with the final inventory path being
872
876
  `/dc1/datastore/foo/bar/test`. Conflicts with
873
877
  `datastore_cluster_id`.
874
- :param pulumi.Input[int] free_space: Available space of this datastore, in megabytes.
875
- :param pulumi.Input[Sequence[pulumi.Input[str]]] host_system_ids: The managed object IDs of
878
+ :param pulumi.Input[builtins.int] free_space: Available space of this datastore, in megabytes.
879
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] host_system_ids: The managed object IDs of
876
880
  the hosts to mount the datastore on.
877
- :param pulumi.Input[str] maintenance_mode: The current maintenance mode state of the datastore.
878
- :param pulumi.Input[bool] multiple_host_access: If `true`, more than one host in the datacenter has
881
+ :param pulumi.Input[builtins.str] maintenance_mode: The current maintenance mode state of the datastore.
882
+ :param pulumi.Input[builtins.bool] multiple_host_access: If `true`, more than one host in the datacenter has
879
883
  been configured with access to the datastore.
880
- :param pulumi.Input[str] name: The name of the datastore. Forces a new resource if
884
+ :param pulumi.Input[builtins.str] name: The name of the datastore. Forces a new resource if
881
885
  changed.
882
- :param pulumi.Input[bool] protocol_endpoint: Indicates that this NAS volume is a protocol endpoint.
886
+ :param pulumi.Input[builtins.bool] protocol_endpoint: Indicates that this NAS volume is a protocol endpoint.
883
887
  This field is only populated if the host supports virtual datastores.
884
- :param pulumi.Input[Sequence[pulumi.Input[str]]] remote_hosts: The hostnames or IP addresses of the remote
888
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] remote_hosts: The hostnames or IP addresses of the remote
885
889
  servers. Only one element should be present for NFS v3 but multiple
886
890
  can be present for NFS v4.1. Forces a new resource if changed.
887
- :param pulumi.Input[str] remote_path: The remote path of the mount point. Forces a new
891
+ :param pulumi.Input[builtins.str] remote_path: The remote path of the mount point. Forces a new
888
892
  resource if changed.
889
- :param pulumi.Input[str] security_type: The security type to use when using NFS v4.1.
893
+ :param pulumi.Input[builtins.str] security_type: The security type to use when using NFS v4.1.
890
894
  Can be one of `AUTH_SYS`, `SEC_KRB5`, or `SEC_KRB5I`. Forces a new resource
891
895
  if changed.
892
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
896
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
893
897
 
894
898
  > **NOTE:** Tagging support is unsupported on direct ESXi connections and
895
899
  requires vCenter 6.0 or higher.
896
- :param pulumi.Input[str] type: The type of NAS volume. Can be one of `NFS` (to denote
900
+ :param pulumi.Input[builtins.str] type: The type of NAS volume. Can be one of `NFS` (to denote
897
901
  v3) or `NFS41` (to denote NFS v4.1). Default: `NFS`. Forces a new resource if
898
902
  changed.
899
- :param pulumi.Input[int] uncommitted_space: Total additional storage space, in megabytes,
903
+ :param pulumi.Input[builtins.int] uncommitted_space: Total additional storage space, in megabytes,
900
904
  potentially used by all virtual machines on this datastore.
901
- :param pulumi.Input[str] url: The unique locator for the datastore.
905
+ :param pulumi.Input[builtins.str] url: The unique locator for the datastore.
902
906
  """
903
907
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
904
908
 
@@ -927,7 +931,7 @@ class NasDatastore(pulumi.CustomResource):
927
931
 
928
932
  @property
929
933
  @pulumi.getter(name="accessMode")
930
- def access_mode(self) -> pulumi.Output[Optional[str]]:
934
+ def access_mode(self) -> pulumi.Output[Optional[builtins.str]]:
931
935
  """
932
936
  Access mode for the mount point. Can be one of
933
937
  `readOnly` or `readWrite`. Note that `readWrite` does not necessarily mean
@@ -938,7 +942,7 @@ class NasDatastore(pulumi.CustomResource):
938
942
 
939
943
  @property
940
944
  @pulumi.getter
941
- def accessible(self) -> pulumi.Output[bool]:
945
+ def accessible(self) -> pulumi.Output[builtins.bool]:
942
946
  """
943
947
  The connectivity status of the datastore. If this is `false`,
944
948
  some other computed attributes may be out of date.
@@ -947,7 +951,7 @@ class NasDatastore(pulumi.CustomResource):
947
951
 
948
952
  @property
949
953
  @pulumi.getter
950
- def capacity(self) -> pulumi.Output[int]:
954
+ def capacity(self) -> pulumi.Output[builtins.int]:
951
955
  """
952
956
  Maximum capacity of the datastore, in megabytes.
953
957
  """
@@ -955,7 +959,7 @@ class NasDatastore(pulumi.CustomResource):
955
959
 
956
960
  @property
957
961
  @pulumi.getter(name="customAttributes")
958
- def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
962
+ def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
959
963
  """
960
964
  Map of custom attribute ids to attribute
961
965
  value strings to set on datasource resource.
@@ -967,7 +971,7 @@ class NasDatastore(pulumi.CustomResource):
967
971
 
968
972
  @property
969
973
  @pulumi.getter(name="datastoreClusterId")
970
- def datastore_cluster_id(self) -> pulumi.Output[Optional[str]]:
974
+ def datastore_cluster_id(self) -> pulumi.Output[Optional[builtins.str]]:
971
975
  """
972
976
  The managed object
973
977
  ID of a datastore cluster to put this datastore in.
@@ -977,7 +981,7 @@ class NasDatastore(pulumi.CustomResource):
977
981
 
978
982
  @property
979
983
  @pulumi.getter
980
- def folder(self) -> pulumi.Output[Optional[str]]:
984
+ def folder(self) -> pulumi.Output[Optional[builtins.str]]:
981
985
  """
982
986
  The relative path to a folder to put this datastore in.
983
987
  This is a path relative to the datacenter you are deploying the datastore to.
@@ -991,7 +995,7 @@ class NasDatastore(pulumi.CustomResource):
991
995
 
992
996
  @property
993
997
  @pulumi.getter(name="freeSpace")
994
- def free_space(self) -> pulumi.Output[int]:
998
+ def free_space(self) -> pulumi.Output[builtins.int]:
995
999
  """
996
1000
  Available space of this datastore, in megabytes.
997
1001
  """
@@ -999,7 +1003,7 @@ class NasDatastore(pulumi.CustomResource):
999
1003
 
1000
1004
  @property
1001
1005
  @pulumi.getter(name="hostSystemIds")
1002
- def host_system_ids(self) -> pulumi.Output[Sequence[str]]:
1006
+ def host_system_ids(self) -> pulumi.Output[Sequence[builtins.str]]:
1003
1007
  """
1004
1008
  The managed object IDs of
1005
1009
  the hosts to mount the datastore on.
@@ -1008,7 +1012,7 @@ class NasDatastore(pulumi.CustomResource):
1008
1012
 
1009
1013
  @property
1010
1014
  @pulumi.getter(name="maintenanceMode")
1011
- def maintenance_mode(self) -> pulumi.Output[str]:
1015
+ def maintenance_mode(self) -> pulumi.Output[builtins.str]:
1012
1016
  """
1013
1017
  The current maintenance mode state of the datastore.
1014
1018
  """
@@ -1016,7 +1020,7 @@ class NasDatastore(pulumi.CustomResource):
1016
1020
 
1017
1021
  @property
1018
1022
  @pulumi.getter(name="multipleHostAccess")
1019
- def multiple_host_access(self) -> pulumi.Output[bool]:
1023
+ def multiple_host_access(self) -> pulumi.Output[builtins.bool]:
1020
1024
  """
1021
1025
  If `true`, more than one host in the datacenter has
1022
1026
  been configured with access to the datastore.
@@ -1025,7 +1029,7 @@ class NasDatastore(pulumi.CustomResource):
1025
1029
 
1026
1030
  @property
1027
1031
  @pulumi.getter
1028
- def name(self) -> pulumi.Output[str]:
1032
+ def name(self) -> pulumi.Output[builtins.str]:
1029
1033
  """
1030
1034
  The name of the datastore. Forces a new resource if
1031
1035
  changed.
@@ -1034,7 +1038,7 @@ class NasDatastore(pulumi.CustomResource):
1034
1038
 
1035
1039
  @property
1036
1040
  @pulumi.getter(name="protocolEndpoint")
1037
- def protocol_endpoint(self) -> pulumi.Output[bool]:
1041
+ def protocol_endpoint(self) -> pulumi.Output[builtins.bool]:
1038
1042
  """
1039
1043
  Indicates that this NAS volume is a protocol endpoint.
1040
1044
  This field is only populated if the host supports virtual datastores.
@@ -1043,7 +1047,7 @@ class NasDatastore(pulumi.CustomResource):
1043
1047
 
1044
1048
  @property
1045
1049
  @pulumi.getter(name="remoteHosts")
1046
- def remote_hosts(self) -> pulumi.Output[Sequence[str]]:
1050
+ def remote_hosts(self) -> pulumi.Output[Sequence[builtins.str]]:
1047
1051
  """
1048
1052
  The hostnames or IP addresses of the remote
1049
1053
  servers. Only one element should be present for NFS v3 but multiple
@@ -1053,7 +1057,7 @@ class NasDatastore(pulumi.CustomResource):
1053
1057
 
1054
1058
  @property
1055
1059
  @pulumi.getter(name="remotePath")
1056
- def remote_path(self) -> pulumi.Output[str]:
1060
+ def remote_path(self) -> pulumi.Output[builtins.str]:
1057
1061
  """
1058
1062
  The remote path of the mount point. Forces a new
1059
1063
  resource if changed.
@@ -1062,7 +1066,7 @@ class NasDatastore(pulumi.CustomResource):
1062
1066
 
1063
1067
  @property
1064
1068
  @pulumi.getter(name="securityType")
1065
- def security_type(self) -> pulumi.Output[Optional[str]]:
1069
+ def security_type(self) -> pulumi.Output[Optional[builtins.str]]:
1066
1070
  """
1067
1071
  The security type to use when using NFS v4.1.
1068
1072
  Can be one of `AUTH_SYS`, `SEC_KRB5`, or `SEC_KRB5I`. Forces a new resource
@@ -1072,7 +1076,7 @@ class NasDatastore(pulumi.CustomResource):
1072
1076
 
1073
1077
  @property
1074
1078
  @pulumi.getter
1075
- def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
1079
+ def tags(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
1076
1080
  """
1077
1081
  The IDs of any tags to attach to this resource.
1078
1082
 
@@ -1083,7 +1087,7 @@ class NasDatastore(pulumi.CustomResource):
1083
1087
 
1084
1088
  @property
1085
1089
  @pulumi.getter
1086
- def type(self) -> pulumi.Output[Optional[str]]:
1090
+ def type(self) -> pulumi.Output[Optional[builtins.str]]:
1087
1091
  """
1088
1092
  The type of NAS volume. Can be one of `NFS` (to denote
1089
1093
  v3) or `NFS41` (to denote NFS v4.1). Default: `NFS`. Forces a new resource if
@@ -1093,7 +1097,7 @@ class NasDatastore(pulumi.CustomResource):
1093
1097
 
1094
1098
  @property
1095
1099
  @pulumi.getter(name="uncommittedSpace")
1096
- def uncommitted_space(self) -> pulumi.Output[int]:
1100
+ def uncommitted_space(self) -> pulumi.Output[builtins.int]:
1097
1101
  """
1098
1102
  Total additional storage space, in megabytes,
1099
1103
  potentially used by all virtual machines on this datastore.
@@ -1102,7 +1106,7 @@ class NasDatastore(pulumi.CustomResource):
1102
1106
 
1103
1107
  @property
1104
1108
  @pulumi.getter
1105
- def url(self) -> pulumi.Output[str]:
1109
+ def url(self) -> pulumi.Output[builtins.str]:
1106
1110
  """
1107
1111
  The unique locator for the datastore.
1108
1112
  """