pulumi-vsphere 4.14.0a1739946909__py3-none-any.whl → 4.17.0a1763710194__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 (89) hide show
  1. pulumi_vsphere/__init__.py +12 -1
  2. pulumi_vsphere/_inputs.py +1172 -1172
  3. pulumi_vsphere/_utilities.py +1 -1
  4. pulumi_vsphere/compute_cluster.py +1226 -1484
  5. pulumi_vsphere/compute_cluster_host_group.py +124 -53
  6. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +88 -87
  7. pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +92 -87
  8. pulumi_vsphere/compute_cluster_vm_dependency_rule.py +109 -104
  9. pulumi_vsphere/compute_cluster_vm_group.py +58 -53
  10. pulumi_vsphere/compute_cluster_vm_host_rule.py +126 -121
  11. pulumi_vsphere/config/__init__.py +2 -1
  12. pulumi_vsphere/config/__init__.pyi +2 -2
  13. pulumi_vsphere/config/vars.py +15 -15
  14. pulumi_vsphere/configuration_profile.py +286 -0
  15. pulumi_vsphere/content_library.py +64 -59
  16. pulumi_vsphere/content_library_item.py +109 -104
  17. pulumi_vsphere/custom_attribute.py +41 -36
  18. pulumi_vsphere/datacenter.py +80 -79
  19. pulumi_vsphere/datastore_cluster.py +531 -477
  20. pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +92 -87
  21. pulumi_vsphere/distributed_port_group.py +802 -818
  22. pulumi_vsphere/distributed_virtual_switch.py +1590 -1620
  23. pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +71 -70
  24. pulumi_vsphere/dpm_host_override.py +159 -70
  25. pulumi_vsphere/drs_vm_override.py +75 -70
  26. pulumi_vsphere/entity_permissions.py +40 -39
  27. pulumi_vsphere/file.py +148 -162
  28. pulumi_vsphere/folder.py +104 -99
  29. pulumi_vsphere/get_compute_cluster.py +18 -18
  30. pulumi_vsphere/get_compute_cluster_host_group.py +18 -22
  31. pulumi_vsphere/get_configuration_profile.py +145 -0
  32. pulumi_vsphere/get_content_library.py +10 -10
  33. pulumi_vsphere/get_content_library_item.py +22 -22
  34. pulumi_vsphere/get_custom_attribute.py +12 -12
  35. pulumi_vsphere/get_datacenter.py +12 -12
  36. pulumi_vsphere/get_datastore.py +22 -22
  37. pulumi_vsphere/get_datastore_cluster.py +19 -19
  38. pulumi_vsphere/get_datastore_stats.py +22 -26
  39. pulumi_vsphere/get_distributed_virtual_switch.py +18 -18
  40. pulumi_vsphere/get_dynamic.py +22 -26
  41. pulumi_vsphere/get_folder.py +140 -18
  42. pulumi_vsphere/get_guest_os_customization.py +74 -21
  43. pulumi_vsphere/get_host.py +18 -18
  44. pulumi_vsphere/get_host_base_images.py +6 -6
  45. pulumi_vsphere/get_host_pci_device.py +30 -30
  46. pulumi_vsphere/get_host_thumbprint.py +22 -22
  47. pulumi_vsphere/get_host_vgpu_profile.py +17 -17
  48. pulumi_vsphere/get_license.py +26 -24
  49. pulumi_vsphere/get_network.py +80 -29
  50. pulumi_vsphere/get_ovf_vm_template.py +126 -126
  51. pulumi_vsphere/get_policy.py +10 -10
  52. pulumi_vsphere/get_resource_pool.py +77 -26
  53. pulumi_vsphere/get_role.py +26 -26
  54. pulumi_vsphere/get_tag.py +18 -18
  55. pulumi_vsphere/get_tag_category.py +16 -16
  56. pulumi_vsphere/get_vapp_container.py +16 -16
  57. pulumi_vsphere/get_virtual_machine.py +273 -273
  58. pulumi_vsphere/get_vmfs_disks.py +24 -24
  59. pulumi_vsphere/guest_os_customization.py +75 -74
  60. pulumi_vsphere/ha_vm_override.py +295 -374
  61. pulumi_vsphere/host.py +304 -249
  62. pulumi_vsphere/host_port_group.py +321 -341
  63. pulumi_vsphere/host_virtual_switch.py +373 -389
  64. pulumi_vsphere/license.py +125 -84
  65. pulumi_vsphere/nas_datastore.py +324 -261
  66. pulumi_vsphere/offline_software_depot.py +26 -21
  67. pulumi_vsphere/outputs.py +1003 -970
  68. pulumi_vsphere/provider.py +165 -146
  69. pulumi_vsphere/pulumi-plugin.json +1 -1
  70. pulumi_vsphere/resource_pool.py +691 -364
  71. pulumi_vsphere/role.py +46 -45
  72. pulumi_vsphere/storage_drs_vm_override.py +92 -87
  73. pulumi_vsphere/supervisor.py +210 -209
  74. pulumi_vsphere/tag.py +58 -53
  75. pulumi_vsphere/tag_category.py +75 -70
  76. pulumi_vsphere/vapp_container.py +262 -257
  77. pulumi_vsphere/vapp_entity.py +177 -172
  78. pulumi_vsphere/virtual_disk.py +130 -125
  79. pulumi_vsphere/virtual_machine.py +1339 -1443
  80. pulumi_vsphere/virtual_machine_class.py +109 -108
  81. pulumi_vsphere/virtual_machine_snapshot.py +122 -121
  82. pulumi_vsphere/vm_storage_policy.py +40 -39
  83. pulumi_vsphere/vmfs_datastore.py +189 -184
  84. pulumi_vsphere/vnic.py +145 -144
  85. {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/METADATA +4 -4
  86. pulumi_vsphere-4.17.0a1763710194.dist-info/RECORD +89 -0
  87. {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/WHEEL +1 -1
  88. pulumi_vsphere-4.14.0a1739946909.dist-info/RECORD +0 -87
  89. {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/top_level.txt +0 -0
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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 copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -19,39 +19,39 @@ __all__ = ['VmfsDatastoreArgs', 'VmfsDatastore']
19
19
  @pulumi.input_type
20
20
  class VmfsDatastoreArgs:
21
21
  def __init__(__self__, *,
22
- disks: pulumi.Input[Sequence[pulumi.Input[str]]],
23
- host_system_id: pulumi.Input[str],
24
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
25
- datastore_cluster_id: Optional[pulumi.Input[str]] = None,
26
- folder: Optional[pulumi.Input[str]] = None,
27
- name: Optional[pulumi.Input[str]] = None,
28
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
22
+ disks: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
23
+ host_system_id: pulumi.Input[_builtins.str],
24
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
25
+ datastore_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
26
+ folder: Optional[pulumi.Input[_builtins.str]] = None,
27
+ name: Optional[pulumi.Input[_builtins.str]] = None,
28
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
29
29
  """
30
30
  The set of arguments for constructing a VmfsDatastore resource.
31
- :param pulumi.Input[Sequence[pulumi.Input[str]]] disks: The disks to use with the datastore.
32
- :param pulumi.Input[str] host_system_id: The managed object ID of
31
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] disks: The disks to use with the datastore.
32
+ :param pulumi.Input[_builtins.str] host_system_id: The managed object ID of
33
33
  the host to set the datastore up on. Note that this is not necessarily the
34
34
  only host that the datastore will be set up on - see
35
35
  here for more info. Forces a
36
36
  new resource if changed.
37
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
37
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_attributes: Map of custom attribute ids to attribute
38
38
  value string to set on datastore resource.
39
39
 
40
40
  > **NOTE:** Custom attributes are unsupported on direct ESXi connections
41
41
  and require vCenter.
42
- :param pulumi.Input[str] datastore_cluster_id: The managed object
42
+ :param pulumi.Input[_builtins.str] datastore_cluster_id: The managed object
43
43
  ID of a datastore cluster to put this datastore in.
44
44
  Conflicts with `folder`.
45
- :param pulumi.Input[str] folder: The relative path to a folder to put this datastore in.
45
+ :param pulumi.Input[_builtins.str] folder: The relative path to a folder to put this datastore in.
46
46
  This is a path relative to the datacenter you are deploying the datastore to.
47
47
  Example: for the `dc1` datacenter, and a provided `folder` of `foo/bar`,
48
48
  The provider will place a datastore named `test` in a datastore folder
49
49
  located at `/dc1/datastore/foo/bar`, with the final inventory path being
50
50
  `/dc1/datastore/foo/bar/test`. Conflicts with
51
51
  `datastore_cluster_id`.
52
- :param pulumi.Input[str] name: The name of the datastore. Forces a new resource if
52
+ :param pulumi.Input[_builtins.str] name: The name of the datastore. Forces a new resource if
53
53
  changed.
54
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
54
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The IDs of any tags to attach to this resource.
55
55
 
56
56
  > **NOTE:** Tagging support is unsupported on direct ESXi connections and
57
57
  requires vCenter 6.0 or higher.
@@ -69,21 +69,21 @@ class VmfsDatastoreArgs:
69
69
  if tags is not None:
70
70
  pulumi.set(__self__, "tags", tags)
71
71
 
72
- @property
72
+ @_builtins.property
73
73
  @pulumi.getter
74
- def disks(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
74
+ def disks(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
75
75
  """
76
76
  The disks to use with the datastore.
77
77
  """
78
78
  return pulumi.get(self, "disks")
79
79
 
80
80
  @disks.setter
81
- def disks(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
81
+ def disks(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
82
82
  pulumi.set(self, "disks", value)
83
83
 
84
- @property
84
+ @_builtins.property
85
85
  @pulumi.getter(name="hostSystemId")
86
- def host_system_id(self) -> pulumi.Input[str]:
86
+ def host_system_id(self) -> pulumi.Input[_builtins.str]:
87
87
  """
88
88
  The managed object ID of
89
89
  the host to set the datastore up on. Note that this is not necessarily the
@@ -94,12 +94,12 @@ class VmfsDatastoreArgs:
94
94
  return pulumi.get(self, "host_system_id")
95
95
 
96
96
  @host_system_id.setter
97
- def host_system_id(self, value: pulumi.Input[str]):
97
+ def host_system_id(self, value: pulumi.Input[_builtins.str]):
98
98
  pulumi.set(self, "host_system_id", value)
99
99
 
100
- @property
100
+ @_builtins.property
101
101
  @pulumi.getter(name="customAttributes")
102
- def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
102
+ def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
103
103
  """
104
104
  Map of custom attribute ids to attribute
105
105
  value string to set on datastore resource.
@@ -110,12 +110,12 @@ class VmfsDatastoreArgs:
110
110
  return pulumi.get(self, "custom_attributes")
111
111
 
112
112
  @custom_attributes.setter
113
- def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
113
+ def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
114
114
  pulumi.set(self, "custom_attributes", value)
115
115
 
116
- @property
116
+ @_builtins.property
117
117
  @pulumi.getter(name="datastoreClusterId")
118
- def datastore_cluster_id(self) -> Optional[pulumi.Input[str]]:
118
+ def datastore_cluster_id(self) -> Optional[pulumi.Input[_builtins.str]]:
119
119
  """
120
120
  The managed object
121
121
  ID of a datastore cluster to put this datastore in.
@@ -124,12 +124,12 @@ class VmfsDatastoreArgs:
124
124
  return pulumi.get(self, "datastore_cluster_id")
125
125
 
126
126
  @datastore_cluster_id.setter
127
- def datastore_cluster_id(self, value: Optional[pulumi.Input[str]]):
127
+ def datastore_cluster_id(self, value: Optional[pulumi.Input[_builtins.str]]):
128
128
  pulumi.set(self, "datastore_cluster_id", value)
129
129
 
130
- @property
130
+ @_builtins.property
131
131
  @pulumi.getter
132
- def folder(self) -> Optional[pulumi.Input[str]]:
132
+ def folder(self) -> Optional[pulumi.Input[_builtins.str]]:
133
133
  """
134
134
  The relative path to a folder to put this datastore in.
135
135
  This is a path relative to the datacenter you are deploying the datastore to.
@@ -142,12 +142,12 @@ class VmfsDatastoreArgs:
142
142
  return pulumi.get(self, "folder")
143
143
 
144
144
  @folder.setter
145
- def folder(self, value: Optional[pulumi.Input[str]]):
145
+ def folder(self, value: Optional[pulumi.Input[_builtins.str]]):
146
146
  pulumi.set(self, "folder", value)
147
147
 
148
- @property
148
+ @_builtins.property
149
149
  @pulumi.getter
150
- def name(self) -> Optional[pulumi.Input[str]]:
150
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
151
151
  """
152
152
  The name of the datastore. Forces a new resource if
153
153
  changed.
@@ -155,12 +155,12 @@ class VmfsDatastoreArgs:
155
155
  return pulumi.get(self, "name")
156
156
 
157
157
  @name.setter
158
- def name(self, value: Optional[pulumi.Input[str]]):
158
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
159
159
  pulumi.set(self, "name", value)
160
160
 
161
- @property
161
+ @_builtins.property
162
162
  @pulumi.getter
163
- def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
163
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
164
164
  """
165
165
  The IDs of any tags to attach to this resource.
166
166
 
@@ -170,66 +170,66 @@ class VmfsDatastoreArgs:
170
170
  return pulumi.get(self, "tags")
171
171
 
172
172
  @tags.setter
173
- def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
173
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
174
174
  pulumi.set(self, "tags", value)
175
175
 
176
176
 
177
177
  @pulumi.input_type
178
178
  class _VmfsDatastoreState:
179
179
  def __init__(__self__, *,
180
- accessible: Optional[pulumi.Input[bool]] = None,
181
- capacity: Optional[pulumi.Input[int]] = None,
182
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
183
- datastore_cluster_id: Optional[pulumi.Input[str]] = None,
184
- disks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
185
- folder: Optional[pulumi.Input[str]] = None,
186
- free_space: Optional[pulumi.Input[int]] = None,
187
- host_system_id: Optional[pulumi.Input[str]] = None,
188
- maintenance_mode: Optional[pulumi.Input[str]] = None,
189
- multiple_host_access: Optional[pulumi.Input[bool]] = None,
190
- name: Optional[pulumi.Input[str]] = None,
191
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
192
- uncommitted_space: Optional[pulumi.Input[int]] = None,
193
- url: Optional[pulumi.Input[str]] = None):
180
+ accessible: Optional[pulumi.Input[_builtins.bool]] = None,
181
+ capacity: Optional[pulumi.Input[_builtins.int]] = None,
182
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
183
+ datastore_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
184
+ disks: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
185
+ folder: Optional[pulumi.Input[_builtins.str]] = None,
186
+ free_space: Optional[pulumi.Input[_builtins.int]] = None,
187
+ host_system_id: Optional[pulumi.Input[_builtins.str]] = None,
188
+ maintenance_mode: Optional[pulumi.Input[_builtins.str]] = None,
189
+ multiple_host_access: Optional[pulumi.Input[_builtins.bool]] = None,
190
+ name: Optional[pulumi.Input[_builtins.str]] = None,
191
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
192
+ uncommitted_space: Optional[pulumi.Input[_builtins.int]] = None,
193
+ url: Optional[pulumi.Input[_builtins.str]] = None):
194
194
  """
195
195
  Input properties used for looking up and filtering VmfsDatastore resources.
196
- :param pulumi.Input[bool] accessible: The connectivity status of the datastore. If this is `false`,
196
+ :param pulumi.Input[_builtins.bool] accessible: The connectivity status of the datastore. If this is `false`,
197
197
  some other computed attributes may be out of date.
198
- :param pulumi.Input[int] capacity: Maximum capacity of the datastore, in megabytes.
199
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
198
+ :param pulumi.Input[_builtins.int] capacity: Maximum capacity of the datastore, in megabytes.
199
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_attributes: Map of custom attribute ids to attribute
200
200
  value string to set on datastore resource.
201
201
 
202
202
  > **NOTE:** Custom attributes are unsupported on direct ESXi connections
203
203
  and require vCenter.
204
- :param pulumi.Input[str] datastore_cluster_id: The managed object
204
+ :param pulumi.Input[_builtins.str] datastore_cluster_id: The managed object
205
205
  ID of a datastore cluster to put this datastore in.
206
206
  Conflicts with `folder`.
207
- :param pulumi.Input[Sequence[pulumi.Input[str]]] disks: The disks to use with the datastore.
208
- :param pulumi.Input[str] folder: The relative path to a folder to put this datastore in.
207
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] disks: The disks to use with the datastore.
208
+ :param pulumi.Input[_builtins.str] folder: The relative path to a folder to put this datastore in.
209
209
  This is a path relative to the datacenter you are deploying the datastore to.
210
210
  Example: for the `dc1` datacenter, and a provided `folder` of `foo/bar`,
211
211
  The provider will place a datastore named `test` in a datastore folder
212
212
  located at `/dc1/datastore/foo/bar`, with the final inventory path being
213
213
  `/dc1/datastore/foo/bar/test`. Conflicts with
214
214
  `datastore_cluster_id`.
215
- :param pulumi.Input[int] free_space: Available space of this datastore, in megabytes.
216
- :param pulumi.Input[str] host_system_id: The managed object ID of
215
+ :param pulumi.Input[_builtins.int] free_space: Available space of this datastore, in megabytes.
216
+ :param pulumi.Input[_builtins.str] host_system_id: The managed object ID of
217
217
  the host to set the datastore up on. Note that this is not necessarily the
218
218
  only host that the datastore will be set up on - see
219
219
  here for more info. Forces a
220
220
  new resource if changed.
221
- :param pulumi.Input[str] maintenance_mode: The current maintenance mode state of the datastore.
222
- :param pulumi.Input[bool] multiple_host_access: If `true`, more than one host in the datacenter has
221
+ :param pulumi.Input[_builtins.str] maintenance_mode: The current maintenance mode state of the datastore.
222
+ :param pulumi.Input[_builtins.bool] multiple_host_access: If `true`, more than one host in the datacenter has
223
223
  been configured with access to the datastore.
224
- :param pulumi.Input[str] name: The name of the datastore. Forces a new resource if
224
+ :param pulumi.Input[_builtins.str] name: The name of the datastore. Forces a new resource if
225
225
  changed.
226
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
226
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The IDs of any tags to attach to this resource.
227
227
 
228
228
  > **NOTE:** Tagging support is unsupported on direct ESXi connections and
229
229
  requires vCenter 6.0 or higher.
230
- :param pulumi.Input[int] uncommitted_space: Total additional storage space, in megabytes,
230
+ :param pulumi.Input[_builtins.int] uncommitted_space: Total additional storage space, in megabytes,
231
231
  potentially used by all virtual machines on this datastore.
232
- :param pulumi.Input[str] url: The unique locator for the datastore.
232
+ :param pulumi.Input[_builtins.str] url: The unique locator for the datastore.
233
233
  """
234
234
  if accessible is not None:
235
235
  pulumi.set(__self__, "accessible", accessible)
@@ -260,9 +260,9 @@ class _VmfsDatastoreState:
260
260
  if url is not None:
261
261
  pulumi.set(__self__, "url", url)
262
262
 
263
- @property
263
+ @_builtins.property
264
264
  @pulumi.getter
265
- def accessible(self) -> Optional[pulumi.Input[bool]]:
265
+ def accessible(self) -> Optional[pulumi.Input[_builtins.bool]]:
266
266
  """
267
267
  The connectivity status of the datastore. If this is `false`,
268
268
  some other computed attributes may be out of date.
@@ -270,24 +270,24 @@ class _VmfsDatastoreState:
270
270
  return pulumi.get(self, "accessible")
271
271
 
272
272
  @accessible.setter
273
- def accessible(self, value: Optional[pulumi.Input[bool]]):
273
+ def accessible(self, value: Optional[pulumi.Input[_builtins.bool]]):
274
274
  pulumi.set(self, "accessible", value)
275
275
 
276
- @property
276
+ @_builtins.property
277
277
  @pulumi.getter
278
- def capacity(self) -> Optional[pulumi.Input[int]]:
278
+ def capacity(self) -> Optional[pulumi.Input[_builtins.int]]:
279
279
  """
280
280
  Maximum capacity of the datastore, in megabytes.
281
281
  """
282
282
  return pulumi.get(self, "capacity")
283
283
 
284
284
  @capacity.setter
285
- def capacity(self, value: Optional[pulumi.Input[int]]):
285
+ def capacity(self, value: Optional[pulumi.Input[_builtins.int]]):
286
286
  pulumi.set(self, "capacity", value)
287
287
 
288
- @property
288
+ @_builtins.property
289
289
  @pulumi.getter(name="customAttributes")
290
- def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
290
+ def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
291
291
  """
292
292
  Map of custom attribute ids to attribute
293
293
  value string to set on datastore resource.
@@ -298,12 +298,12 @@ class _VmfsDatastoreState:
298
298
  return pulumi.get(self, "custom_attributes")
299
299
 
300
300
  @custom_attributes.setter
301
- def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
301
+ def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
302
302
  pulumi.set(self, "custom_attributes", value)
303
303
 
304
- @property
304
+ @_builtins.property
305
305
  @pulumi.getter(name="datastoreClusterId")
306
- def datastore_cluster_id(self) -> Optional[pulumi.Input[str]]:
306
+ def datastore_cluster_id(self) -> Optional[pulumi.Input[_builtins.str]]:
307
307
  """
308
308
  The managed object
309
309
  ID of a datastore cluster to put this datastore in.
@@ -312,24 +312,24 @@ class _VmfsDatastoreState:
312
312
  return pulumi.get(self, "datastore_cluster_id")
313
313
 
314
314
  @datastore_cluster_id.setter
315
- def datastore_cluster_id(self, value: Optional[pulumi.Input[str]]):
315
+ def datastore_cluster_id(self, value: Optional[pulumi.Input[_builtins.str]]):
316
316
  pulumi.set(self, "datastore_cluster_id", value)
317
317
 
318
- @property
318
+ @_builtins.property
319
319
  @pulumi.getter
320
- def disks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
320
+ def disks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
321
321
  """
322
322
  The disks to use with the datastore.
323
323
  """
324
324
  return pulumi.get(self, "disks")
325
325
 
326
326
  @disks.setter
327
- def disks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
327
+ def disks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
328
328
  pulumi.set(self, "disks", value)
329
329
 
330
- @property
330
+ @_builtins.property
331
331
  @pulumi.getter
332
- def folder(self) -> Optional[pulumi.Input[str]]:
332
+ def folder(self) -> Optional[pulumi.Input[_builtins.str]]:
333
333
  """
334
334
  The relative path to a folder to put this datastore in.
335
335
  This is a path relative to the datacenter you are deploying the datastore to.
@@ -342,24 +342,24 @@ class _VmfsDatastoreState:
342
342
  return pulumi.get(self, "folder")
343
343
 
344
344
  @folder.setter
345
- def folder(self, value: Optional[pulumi.Input[str]]):
345
+ def folder(self, value: Optional[pulumi.Input[_builtins.str]]):
346
346
  pulumi.set(self, "folder", value)
347
347
 
348
- @property
348
+ @_builtins.property
349
349
  @pulumi.getter(name="freeSpace")
350
- def free_space(self) -> Optional[pulumi.Input[int]]:
350
+ def free_space(self) -> Optional[pulumi.Input[_builtins.int]]:
351
351
  """
352
352
  Available space of this datastore, in megabytes.
353
353
  """
354
354
  return pulumi.get(self, "free_space")
355
355
 
356
356
  @free_space.setter
357
- def free_space(self, value: Optional[pulumi.Input[int]]):
357
+ def free_space(self, value: Optional[pulumi.Input[_builtins.int]]):
358
358
  pulumi.set(self, "free_space", value)
359
359
 
360
- @property
360
+ @_builtins.property
361
361
  @pulumi.getter(name="hostSystemId")
362
- def host_system_id(self) -> Optional[pulumi.Input[str]]:
362
+ def host_system_id(self) -> Optional[pulumi.Input[_builtins.str]]:
363
363
  """
364
364
  The managed object ID of
365
365
  the host to set the datastore up on. Note that this is not necessarily the
@@ -370,24 +370,24 @@ class _VmfsDatastoreState:
370
370
  return pulumi.get(self, "host_system_id")
371
371
 
372
372
  @host_system_id.setter
373
- def host_system_id(self, value: Optional[pulumi.Input[str]]):
373
+ def host_system_id(self, value: Optional[pulumi.Input[_builtins.str]]):
374
374
  pulumi.set(self, "host_system_id", value)
375
375
 
376
- @property
376
+ @_builtins.property
377
377
  @pulumi.getter(name="maintenanceMode")
378
- def maintenance_mode(self) -> Optional[pulumi.Input[str]]:
378
+ def maintenance_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
379
379
  """
380
380
  The current maintenance mode state of the datastore.
381
381
  """
382
382
  return pulumi.get(self, "maintenance_mode")
383
383
 
384
384
  @maintenance_mode.setter
385
- def maintenance_mode(self, value: Optional[pulumi.Input[str]]):
385
+ def maintenance_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
386
386
  pulumi.set(self, "maintenance_mode", value)
387
387
 
388
- @property
388
+ @_builtins.property
389
389
  @pulumi.getter(name="multipleHostAccess")
390
- def multiple_host_access(self) -> Optional[pulumi.Input[bool]]:
390
+ def multiple_host_access(self) -> Optional[pulumi.Input[_builtins.bool]]:
391
391
  """
392
392
  If `true`, more than one host in the datacenter has
393
393
  been configured with access to the datastore.
@@ -395,12 +395,12 @@ class _VmfsDatastoreState:
395
395
  return pulumi.get(self, "multiple_host_access")
396
396
 
397
397
  @multiple_host_access.setter
398
- def multiple_host_access(self, value: Optional[pulumi.Input[bool]]):
398
+ def multiple_host_access(self, value: Optional[pulumi.Input[_builtins.bool]]):
399
399
  pulumi.set(self, "multiple_host_access", value)
400
400
 
401
- @property
401
+ @_builtins.property
402
402
  @pulumi.getter
403
- def name(self) -> Optional[pulumi.Input[str]]:
403
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
404
404
  """
405
405
  The name of the datastore. Forces a new resource if
406
406
  changed.
@@ -408,12 +408,12 @@ class _VmfsDatastoreState:
408
408
  return pulumi.get(self, "name")
409
409
 
410
410
  @name.setter
411
- def name(self, value: Optional[pulumi.Input[str]]):
411
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
412
412
  pulumi.set(self, "name", value)
413
413
 
414
- @property
414
+ @_builtins.property
415
415
  @pulumi.getter
416
- def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
416
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
417
417
  """
418
418
  The IDs of any tags to attach to this resource.
419
419
 
@@ -423,12 +423,12 @@ class _VmfsDatastoreState:
423
423
  return pulumi.get(self, "tags")
424
424
 
425
425
  @tags.setter
426
- def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
426
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
427
427
  pulumi.set(self, "tags", value)
428
428
 
429
- @property
429
+ @_builtins.property
430
430
  @pulumi.getter(name="uncommittedSpace")
431
- def uncommitted_space(self) -> Optional[pulumi.Input[int]]:
431
+ def uncommitted_space(self) -> Optional[pulumi.Input[_builtins.int]]:
432
432
  """
433
433
  Total additional storage space, in megabytes,
434
434
  potentially used by all virtual machines on this datastore.
@@ -436,34 +436,35 @@ class _VmfsDatastoreState:
436
436
  return pulumi.get(self, "uncommitted_space")
437
437
 
438
438
  @uncommitted_space.setter
439
- def uncommitted_space(self, value: Optional[pulumi.Input[int]]):
439
+ def uncommitted_space(self, value: Optional[pulumi.Input[_builtins.int]]):
440
440
  pulumi.set(self, "uncommitted_space", value)
441
441
 
442
- @property
442
+ @_builtins.property
443
443
  @pulumi.getter
444
- def url(self) -> Optional[pulumi.Input[str]]:
444
+ def url(self) -> Optional[pulumi.Input[_builtins.str]]:
445
445
  """
446
446
  The unique locator for the datastore.
447
447
  """
448
448
  return pulumi.get(self, "url")
449
449
 
450
450
  @url.setter
451
- def url(self, value: Optional[pulumi.Input[str]]):
451
+ def url(self, value: Optional[pulumi.Input[_builtins.str]]):
452
452
  pulumi.set(self, "url", value)
453
453
 
454
454
 
455
+ @pulumi.type_token("vsphere:index/vmfsDatastore:VmfsDatastore")
455
456
  class VmfsDatastore(pulumi.CustomResource):
456
457
  @overload
457
458
  def __init__(__self__,
458
459
  resource_name: str,
459
460
  opts: Optional[pulumi.ResourceOptions] = None,
460
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
461
- datastore_cluster_id: Optional[pulumi.Input[str]] = None,
462
- disks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
463
- folder: Optional[pulumi.Input[str]] = None,
464
- host_system_id: Optional[pulumi.Input[str]] = None,
465
- name: Optional[pulumi.Input[str]] = None,
466
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
461
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
462
+ datastore_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
463
+ disks: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
464
+ folder: Optional[pulumi.Input[_builtins.str]] = None,
465
+ host_system_id: Optional[pulumi.Input[_builtins.str]] = None,
466
+ name: Optional[pulumi.Input[_builtins.str]] = None,
467
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
467
468
  __props__=None):
468
469
  """
469
470
  The `VmfsDatastore` resource can be used to create and manage VMFS
@@ -569,6 +570,8 @@ class VmfsDatastore(pulumi.CustomResource):
569
570
 
570
571
  ID.
571
572
 
573
+ [docs-import]: https://developer.hashicorp.com/terraform/cli/import
574
+
572
575
  ```sh
573
576
  $ pulumi import vsphere:index/vmfsDatastore:VmfsDatastore datastore datastore-123:host-10
574
577
  ```
@@ -601,30 +604,30 @@ class VmfsDatastore(pulumi.CustomResource):
601
604
 
602
605
  :param str resource_name: The name of the resource.
603
606
  :param pulumi.ResourceOptions opts: Options for the resource.
604
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
607
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_attributes: Map of custom attribute ids to attribute
605
608
  value string to set on datastore resource.
606
609
 
607
610
  > **NOTE:** Custom attributes are unsupported on direct ESXi connections
608
611
  and require vCenter.
609
- :param pulumi.Input[str] datastore_cluster_id: The managed object
612
+ :param pulumi.Input[_builtins.str] datastore_cluster_id: The managed object
610
613
  ID of a datastore cluster to put this datastore in.
611
614
  Conflicts with `folder`.
612
- :param pulumi.Input[Sequence[pulumi.Input[str]]] disks: The disks to use with the datastore.
613
- :param pulumi.Input[str] folder: The relative path to a folder to put this datastore in.
615
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] disks: The disks to use with the datastore.
616
+ :param pulumi.Input[_builtins.str] folder: The relative path to a folder to put this datastore in.
614
617
  This is a path relative to the datacenter you are deploying the datastore to.
615
618
  Example: for the `dc1` datacenter, and a provided `folder` of `foo/bar`,
616
619
  The provider will place a datastore named `test` in a datastore folder
617
620
  located at `/dc1/datastore/foo/bar`, with the final inventory path being
618
621
  `/dc1/datastore/foo/bar/test`. Conflicts with
619
622
  `datastore_cluster_id`.
620
- :param pulumi.Input[str] host_system_id: The managed object ID of
623
+ :param pulumi.Input[_builtins.str] host_system_id: The managed object ID of
621
624
  the host to set the datastore up on. Note that this is not necessarily the
622
625
  only host that the datastore will be set up on - see
623
626
  here for more info. Forces a
624
627
  new resource if changed.
625
- :param pulumi.Input[str] name: The name of the datastore. Forces a new resource if
628
+ :param pulumi.Input[_builtins.str] name: The name of the datastore. Forces a new resource if
626
629
  changed.
627
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
630
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The IDs of any tags to attach to this resource.
628
631
 
629
632
  > **NOTE:** Tagging support is unsupported on direct ESXi connections and
630
633
  requires vCenter 6.0 or higher.
@@ -739,6 +742,8 @@ class VmfsDatastore(pulumi.CustomResource):
739
742
 
740
743
  ID.
741
744
 
745
+ [docs-import]: https://developer.hashicorp.com/terraform/cli/import
746
+
742
747
  ```sh
743
748
  $ pulumi import vsphere:index/vmfsDatastore:VmfsDatastore datastore datastore-123:host-10
744
749
  ```
@@ -784,13 +789,13 @@ class VmfsDatastore(pulumi.CustomResource):
784
789
  def _internal_init(__self__,
785
790
  resource_name: str,
786
791
  opts: Optional[pulumi.ResourceOptions] = None,
787
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
788
- datastore_cluster_id: Optional[pulumi.Input[str]] = None,
789
- disks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
790
- folder: Optional[pulumi.Input[str]] = None,
791
- host_system_id: Optional[pulumi.Input[str]] = None,
792
- name: Optional[pulumi.Input[str]] = None,
793
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
792
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
793
+ datastore_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
794
+ disks: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
795
+ folder: Optional[pulumi.Input[_builtins.str]] = None,
796
+ host_system_id: Optional[pulumi.Input[_builtins.str]] = None,
797
+ name: Optional[pulumi.Input[_builtins.str]] = None,
798
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
794
799
  __props__=None):
795
800
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
796
801
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -828,20 +833,20 @@ class VmfsDatastore(pulumi.CustomResource):
828
833
  def get(resource_name: str,
829
834
  id: pulumi.Input[str],
830
835
  opts: Optional[pulumi.ResourceOptions] = None,
831
- accessible: Optional[pulumi.Input[bool]] = None,
832
- capacity: Optional[pulumi.Input[int]] = None,
833
- custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
834
- datastore_cluster_id: Optional[pulumi.Input[str]] = None,
835
- disks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
836
- folder: Optional[pulumi.Input[str]] = None,
837
- free_space: Optional[pulumi.Input[int]] = None,
838
- host_system_id: Optional[pulumi.Input[str]] = None,
839
- maintenance_mode: Optional[pulumi.Input[str]] = None,
840
- multiple_host_access: Optional[pulumi.Input[bool]] = None,
841
- name: Optional[pulumi.Input[str]] = None,
842
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
843
- uncommitted_space: Optional[pulumi.Input[int]] = None,
844
- url: Optional[pulumi.Input[str]] = None) -> 'VmfsDatastore':
836
+ accessible: Optional[pulumi.Input[_builtins.bool]] = None,
837
+ capacity: Optional[pulumi.Input[_builtins.int]] = None,
838
+ custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
839
+ datastore_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
840
+ disks: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
841
+ folder: Optional[pulumi.Input[_builtins.str]] = None,
842
+ free_space: Optional[pulumi.Input[_builtins.int]] = None,
843
+ host_system_id: Optional[pulumi.Input[_builtins.str]] = None,
844
+ maintenance_mode: Optional[pulumi.Input[_builtins.str]] = None,
845
+ multiple_host_access: Optional[pulumi.Input[_builtins.bool]] = None,
846
+ name: Optional[pulumi.Input[_builtins.str]] = None,
847
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
848
+ uncommitted_space: Optional[pulumi.Input[_builtins.int]] = None,
849
+ url: Optional[pulumi.Input[_builtins.str]] = None) -> 'VmfsDatastore':
845
850
  """
846
851
  Get an existing VmfsDatastore resource's state with the given name, id, and optional extra
847
852
  properties used to qualify the lookup.
@@ -849,43 +854,43 @@ class VmfsDatastore(pulumi.CustomResource):
849
854
  :param str resource_name: The unique name of the resulting resource.
850
855
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
851
856
  :param pulumi.ResourceOptions opts: Options for the resource.
852
- :param pulumi.Input[bool] accessible: The connectivity status of the datastore. If this is `false`,
857
+ :param pulumi.Input[_builtins.bool] accessible: The connectivity status of the datastore. If this is `false`,
853
858
  some other computed attributes may be out of date.
854
- :param pulumi.Input[int] capacity: Maximum capacity of the datastore, in megabytes.
855
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: Map of custom attribute ids to attribute
859
+ :param pulumi.Input[_builtins.int] capacity: Maximum capacity of the datastore, in megabytes.
860
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] custom_attributes: Map of custom attribute ids to attribute
856
861
  value string to set on datastore resource.
857
862
 
858
863
  > **NOTE:** Custom attributes are unsupported on direct ESXi connections
859
864
  and require vCenter.
860
- :param pulumi.Input[str] datastore_cluster_id: The managed object
865
+ :param pulumi.Input[_builtins.str] datastore_cluster_id: The managed object
861
866
  ID of a datastore cluster to put this datastore in.
862
867
  Conflicts with `folder`.
863
- :param pulumi.Input[Sequence[pulumi.Input[str]]] disks: The disks to use with the datastore.
864
- :param pulumi.Input[str] folder: The relative path to a folder to put this datastore in.
868
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] disks: The disks to use with the datastore.
869
+ :param pulumi.Input[_builtins.str] folder: The relative path to a folder to put this datastore in.
865
870
  This is a path relative to the datacenter you are deploying the datastore to.
866
871
  Example: for the `dc1` datacenter, and a provided `folder` of `foo/bar`,
867
872
  The provider will place a datastore named `test` in a datastore folder
868
873
  located at `/dc1/datastore/foo/bar`, with the final inventory path being
869
874
  `/dc1/datastore/foo/bar/test`. Conflicts with
870
875
  `datastore_cluster_id`.
871
- :param pulumi.Input[int] free_space: Available space of this datastore, in megabytes.
872
- :param pulumi.Input[str] host_system_id: The managed object ID of
876
+ :param pulumi.Input[_builtins.int] free_space: Available space of this datastore, in megabytes.
877
+ :param pulumi.Input[_builtins.str] host_system_id: The managed object ID of
873
878
  the host to set the datastore up on. Note that this is not necessarily the
874
879
  only host that the datastore will be set up on - see
875
880
  here for more info. Forces a
876
881
  new resource if changed.
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
882
+ :param pulumi.Input[_builtins.str] maintenance_mode: The current maintenance mode state of the datastore.
883
+ :param pulumi.Input[_builtins.bool] multiple_host_access: If `true`, more than one host in the datacenter has
879
884
  been configured with access to the datastore.
880
- :param pulumi.Input[str] name: The name of the datastore. Forces a new resource if
885
+ :param pulumi.Input[_builtins.str] name: The name of the datastore. Forces a new resource if
881
886
  changed.
882
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
887
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The IDs of any tags to attach to this resource.
883
888
 
884
889
  > **NOTE:** Tagging support is unsupported on direct ESXi connections and
885
890
  requires vCenter 6.0 or higher.
886
- :param pulumi.Input[int] uncommitted_space: Total additional storage space, in megabytes,
891
+ :param pulumi.Input[_builtins.int] uncommitted_space: Total additional storage space, in megabytes,
887
892
  potentially used by all virtual machines on this datastore.
888
- :param pulumi.Input[str] url: The unique locator for the datastore.
893
+ :param pulumi.Input[_builtins.str] url: The unique locator for the datastore.
889
894
  """
890
895
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
891
896
 
@@ -907,26 +912,26 @@ class VmfsDatastore(pulumi.CustomResource):
907
912
  __props__.__dict__["url"] = url
908
913
  return VmfsDatastore(resource_name, opts=opts, __props__=__props__)
909
914
 
910
- @property
915
+ @_builtins.property
911
916
  @pulumi.getter
912
- def accessible(self) -> pulumi.Output[bool]:
917
+ def accessible(self) -> pulumi.Output[_builtins.bool]:
913
918
  """
914
919
  The connectivity status of the datastore. If this is `false`,
915
920
  some other computed attributes may be out of date.
916
921
  """
917
922
  return pulumi.get(self, "accessible")
918
923
 
919
- @property
924
+ @_builtins.property
920
925
  @pulumi.getter
921
- def capacity(self) -> pulumi.Output[int]:
926
+ def capacity(self) -> pulumi.Output[_builtins.int]:
922
927
  """
923
928
  Maximum capacity of the datastore, in megabytes.
924
929
  """
925
930
  return pulumi.get(self, "capacity")
926
931
 
927
- @property
932
+ @_builtins.property
928
933
  @pulumi.getter(name="customAttributes")
929
- def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
934
+ def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
930
935
  """
931
936
  Map of custom attribute ids to attribute
932
937
  value string to set on datastore resource.
@@ -936,9 +941,9 @@ class VmfsDatastore(pulumi.CustomResource):
936
941
  """
937
942
  return pulumi.get(self, "custom_attributes")
938
943
 
939
- @property
944
+ @_builtins.property
940
945
  @pulumi.getter(name="datastoreClusterId")
941
- def datastore_cluster_id(self) -> pulumi.Output[Optional[str]]:
946
+ def datastore_cluster_id(self) -> pulumi.Output[Optional[_builtins.str]]:
942
947
  """
943
948
  The managed object
944
949
  ID of a datastore cluster to put this datastore in.
@@ -946,17 +951,17 @@ class VmfsDatastore(pulumi.CustomResource):
946
951
  """
947
952
  return pulumi.get(self, "datastore_cluster_id")
948
953
 
949
- @property
954
+ @_builtins.property
950
955
  @pulumi.getter
951
- def disks(self) -> pulumi.Output[Sequence[str]]:
956
+ def disks(self) -> pulumi.Output[Sequence[_builtins.str]]:
952
957
  """
953
958
  The disks to use with the datastore.
954
959
  """
955
960
  return pulumi.get(self, "disks")
956
961
 
957
- @property
962
+ @_builtins.property
958
963
  @pulumi.getter
959
- def folder(self) -> pulumi.Output[Optional[str]]:
964
+ def folder(self) -> pulumi.Output[Optional[_builtins.str]]:
960
965
  """
961
966
  The relative path to a folder to put this datastore in.
962
967
  This is a path relative to the datacenter you are deploying the datastore to.
@@ -968,17 +973,17 @@ class VmfsDatastore(pulumi.CustomResource):
968
973
  """
969
974
  return pulumi.get(self, "folder")
970
975
 
971
- @property
976
+ @_builtins.property
972
977
  @pulumi.getter(name="freeSpace")
973
- def free_space(self) -> pulumi.Output[int]:
978
+ def free_space(self) -> pulumi.Output[_builtins.int]:
974
979
  """
975
980
  Available space of this datastore, in megabytes.
976
981
  """
977
982
  return pulumi.get(self, "free_space")
978
983
 
979
- @property
984
+ @_builtins.property
980
985
  @pulumi.getter(name="hostSystemId")
981
- def host_system_id(self) -> pulumi.Output[str]:
986
+ def host_system_id(self) -> pulumi.Output[_builtins.str]:
982
987
  """
983
988
  The managed object ID of
984
989
  the host to set the datastore up on. Note that this is not necessarily the
@@ -988,35 +993,35 @@ class VmfsDatastore(pulumi.CustomResource):
988
993
  """
989
994
  return pulumi.get(self, "host_system_id")
990
995
 
991
- @property
996
+ @_builtins.property
992
997
  @pulumi.getter(name="maintenanceMode")
993
- def maintenance_mode(self) -> pulumi.Output[str]:
998
+ def maintenance_mode(self) -> pulumi.Output[_builtins.str]:
994
999
  """
995
1000
  The current maintenance mode state of the datastore.
996
1001
  """
997
1002
  return pulumi.get(self, "maintenance_mode")
998
1003
 
999
- @property
1004
+ @_builtins.property
1000
1005
  @pulumi.getter(name="multipleHostAccess")
1001
- def multiple_host_access(self) -> pulumi.Output[bool]:
1006
+ def multiple_host_access(self) -> pulumi.Output[_builtins.bool]:
1002
1007
  """
1003
1008
  If `true`, more than one host in the datacenter has
1004
1009
  been configured with access to the datastore.
1005
1010
  """
1006
1011
  return pulumi.get(self, "multiple_host_access")
1007
1012
 
1008
- @property
1013
+ @_builtins.property
1009
1014
  @pulumi.getter
1010
- def name(self) -> pulumi.Output[str]:
1015
+ def name(self) -> pulumi.Output[_builtins.str]:
1011
1016
  """
1012
1017
  The name of the datastore. Forces a new resource if
1013
1018
  changed.
1014
1019
  """
1015
1020
  return pulumi.get(self, "name")
1016
1021
 
1017
- @property
1022
+ @_builtins.property
1018
1023
  @pulumi.getter
1019
- def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
1024
+ def tags(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
1020
1025
  """
1021
1026
  The IDs of any tags to attach to this resource.
1022
1027
 
@@ -1025,18 +1030,18 @@ class VmfsDatastore(pulumi.CustomResource):
1025
1030
  """
1026
1031
  return pulumi.get(self, "tags")
1027
1032
 
1028
- @property
1033
+ @_builtins.property
1029
1034
  @pulumi.getter(name="uncommittedSpace")
1030
- def uncommitted_space(self) -> pulumi.Output[int]:
1035
+ def uncommitted_space(self) -> pulumi.Output[_builtins.int]:
1031
1036
  """
1032
1037
  Total additional storage space, in megabytes,
1033
1038
  potentially used by all virtual machines on this datastore.
1034
1039
  """
1035
1040
  return pulumi.get(self, "uncommitted_space")
1036
1041
 
1037
- @property
1042
+ @_builtins.property
1038
1043
  @pulumi.getter
1039
- def url(self) -> pulumi.Output[str]:
1044
+ def url(self) -> pulumi.Output[_builtins.str]:
1040
1045
  """
1041
1046
  The unique locator for the datastore.
1042
1047
  """