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