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