pulumi-vsphere 4.13.1a1738773193__py3-none-any.whl → 4.13.2a1744198820__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/_utilities.py +8 -4
- pulumi_vsphere/compute_cluster.py +918 -917
- pulumi_vsphere/compute_cluster_host_group.py +43 -42
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +71 -70
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +71 -70
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +85 -84
- pulumi_vsphere/compute_cluster_vm_group.py +43 -42
- pulumi_vsphere/compute_cluster_vm_host_rule.py +99 -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 +43 -42
- pulumi_vsphere/content_library_item.py +85 -84
- pulumi_vsphere/custom_attribute.py +29 -28
- pulumi_vsphere/datacenter.py +64 -63
- pulumi_vsphere/datastore_cluster.py +351 -350
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +71 -70
- pulumi_vsphere/distributed_port_group.py +645 -644
- pulumi_vsphere/distributed_virtual_switch.py +1282 -1281
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +57 -56
- pulumi_vsphere/dpm_host_override.py +57 -56
- pulumi_vsphere/drs_vm_override.py +57 -56
- pulumi_vsphere/entity_permissions.py +29 -28
- pulumi_vsphere/file.py +95 -94
- pulumi_vsphere/folder.py +71 -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 +57 -56
- pulumi_vsphere/ha_vm_override.py +211 -210
- pulumi_vsphere/host.py +197 -196
- pulumi_vsphere/host_port_group.py +253 -252
- pulumi_vsphere/host_virtual_switch.py +295 -294
- pulumi_vsphere/license.py +57 -56
- pulumi_vsphere/nas_datastore.py +211 -210
- pulumi_vsphere/offline_software_depot.py +15 -14
- pulumi_vsphere/outputs.py +721 -720
- pulumi_vsphere/provider.py +98 -97
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +211 -210
- pulumi_vsphere/role.py +36 -35
- pulumi_vsphere/storage_drs_vm_override.py +71 -70
- pulumi_vsphere/supervisor.py +155 -154
- pulumi_vsphere/tag.py +43 -42
- pulumi_vsphere/tag_category.py +57 -56
- pulumi_vsphere/vapp_container.py +211 -210
- pulumi_vsphere/vapp_entity.py +141 -140
- pulumi_vsphere/virtual_disk.py +99 -98
- pulumi_vsphere/virtual_machine.py +1040 -1039
- pulumi_vsphere/virtual_machine_class.py +85 -84
- pulumi_vsphere/virtual_machine_snapshot.py +99 -98
- pulumi_vsphere/vm_storage_policy.py +29 -28
- pulumi_vsphere/vmfs_datastore.py +148 -147
- pulumi_vsphere/vnic.py +113 -112
- {pulumi_vsphere-4.13.1a1738773193.dist-info → pulumi_vsphere-4.13.2a1744198820.dist-info}/METADATA +2 -2
- pulumi_vsphere-4.13.2a1744198820.dist-info/RECORD +87 -0
- {pulumi_vsphere-4.13.1a1738773193.dist-info → pulumi_vsphere-4.13.2a1744198820.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.13.1a1738773193.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.13.1a1738773193.dist-info → pulumi_vsphere-4.13.2a1744198820.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,19 +437,19 @@ 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
|
|
|
@@ -457,13 +458,13 @@ class VmfsDatastore(pulumi.CustomResource):
|
|
|
457
458
|
def __init__(__self__,
|
|
458
459
|
resource_name: str,
|
|
459
460
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
460
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
461
|
-
datastore_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
462
|
-
disks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
463
|
-
folder: Optional[pulumi.Input[str]] = None,
|
|
464
|
-
host_system_id: Optional[pulumi.Input[str]] = None,
|
|
465
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
466
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
461
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
462
|
+
datastore_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
463
|
+
disks: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
464
|
+
folder: Optional[pulumi.Input[builtins.str]] = None,
|
|
465
|
+
host_system_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
466
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
467
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
467
468
|
__props__=None):
|
|
468
469
|
"""
|
|
469
470
|
The `VmfsDatastore` resource can be used to create and manage VMFS
|
|
@@ -601,30 +602,30 @@ class VmfsDatastore(pulumi.CustomResource):
|
|
|
601
602
|
|
|
602
603
|
:param str resource_name: The name of the resource.
|
|
603
604
|
: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
|
|
605
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: Map of custom attribute ids to attribute
|
|
605
606
|
value string to set on datastore resource.
|
|
606
607
|
|
|
607
608
|
> **NOTE:** Custom attributes are unsupported on direct ESXi connections
|
|
608
609
|
and require vCenter.
|
|
609
|
-
:param pulumi.Input[str] datastore_cluster_id: The managed object
|
|
610
|
+
:param pulumi.Input[builtins.str] datastore_cluster_id: The managed object
|
|
610
611
|
ID of a datastore cluster to put this datastore in.
|
|
611
612
|
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.
|
|
613
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] disks: The disks to use with the datastore.
|
|
614
|
+
:param pulumi.Input[builtins.str] folder: The relative path to a folder to put this datastore in.
|
|
614
615
|
This is a path relative to the datacenter you are deploying the datastore to.
|
|
615
616
|
Example: for the `dc1` datacenter, and a provided `folder` of `foo/bar`,
|
|
616
617
|
The provider will place a datastore named `test` in a datastore folder
|
|
617
618
|
located at `/dc1/datastore/foo/bar`, with the final inventory path being
|
|
618
619
|
`/dc1/datastore/foo/bar/test`. Conflicts with
|
|
619
620
|
`datastore_cluster_id`.
|
|
620
|
-
:param pulumi.Input[str] host_system_id: The managed object ID of
|
|
621
|
+
:param pulumi.Input[builtins.str] host_system_id: The managed object ID of
|
|
621
622
|
the host to set the datastore up on. Note that this is not necessarily the
|
|
622
623
|
only host that the datastore will be set up on - see
|
|
623
624
|
here for more info. Forces a
|
|
624
625
|
new resource if changed.
|
|
625
|
-
:param pulumi.Input[str] name: The name of the datastore. Forces a new resource if
|
|
626
|
+
:param pulumi.Input[builtins.str] name: The name of the datastore. Forces a new resource if
|
|
626
627
|
changed.
|
|
627
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
628
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
628
629
|
|
|
629
630
|
> **NOTE:** Tagging support is unsupported on direct ESXi connections and
|
|
630
631
|
requires vCenter 6.0 or higher.
|
|
@@ -784,13 +785,13 @@ class VmfsDatastore(pulumi.CustomResource):
|
|
|
784
785
|
def _internal_init(__self__,
|
|
785
786
|
resource_name: str,
|
|
786
787
|
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,
|
|
788
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
789
|
+
datastore_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
790
|
+
disks: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
791
|
+
folder: Optional[pulumi.Input[builtins.str]] = None,
|
|
792
|
+
host_system_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
793
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
794
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
794
795
|
__props__=None):
|
|
795
796
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
796
797
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -828,20 +829,20 @@ class VmfsDatastore(pulumi.CustomResource):
|
|
|
828
829
|
def get(resource_name: str,
|
|
829
830
|
id: pulumi.Input[str],
|
|
830
831
|
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':
|
|
832
|
+
accessible: Optional[pulumi.Input[builtins.bool]] = None,
|
|
833
|
+
capacity: Optional[pulumi.Input[builtins.int]] = None,
|
|
834
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
835
|
+
datastore_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
836
|
+
disks: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
837
|
+
folder: Optional[pulumi.Input[builtins.str]] = None,
|
|
838
|
+
free_space: Optional[pulumi.Input[builtins.int]] = None,
|
|
839
|
+
host_system_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
840
|
+
maintenance_mode: Optional[pulumi.Input[builtins.str]] = None,
|
|
841
|
+
multiple_host_access: Optional[pulumi.Input[builtins.bool]] = None,
|
|
842
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
843
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
844
|
+
uncommitted_space: Optional[pulumi.Input[builtins.int]] = None,
|
|
845
|
+
url: Optional[pulumi.Input[builtins.str]] = None) -> 'VmfsDatastore':
|
|
845
846
|
"""
|
|
846
847
|
Get an existing VmfsDatastore resource's state with the given name, id, and optional extra
|
|
847
848
|
properties used to qualify the lookup.
|
|
@@ -849,43 +850,43 @@ class VmfsDatastore(pulumi.CustomResource):
|
|
|
849
850
|
:param str resource_name: The unique name of the resulting resource.
|
|
850
851
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
851
852
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
852
|
-
:param pulumi.Input[bool] accessible: The connectivity status of the datastore. If this is `false`,
|
|
853
|
+
:param pulumi.Input[builtins.bool] accessible: The connectivity status of the datastore. If this is `false`,
|
|
853
854
|
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
|
|
855
|
+
:param pulumi.Input[builtins.int] capacity: Maximum capacity of the datastore, in megabytes.
|
|
856
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: Map of custom attribute ids to attribute
|
|
856
857
|
value string to set on datastore resource.
|
|
857
858
|
|
|
858
859
|
> **NOTE:** Custom attributes are unsupported on direct ESXi connections
|
|
859
860
|
and require vCenter.
|
|
860
|
-
:param pulumi.Input[str] datastore_cluster_id: The managed object
|
|
861
|
+
:param pulumi.Input[builtins.str] datastore_cluster_id: The managed object
|
|
861
862
|
ID of a datastore cluster to put this datastore in.
|
|
862
863
|
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.
|
|
864
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] disks: The disks to use with the datastore.
|
|
865
|
+
:param pulumi.Input[builtins.str] folder: The relative path to a folder to put this datastore in.
|
|
865
866
|
This is a path relative to the datacenter you are deploying the datastore to.
|
|
866
867
|
Example: for the `dc1` datacenter, and a provided `folder` of `foo/bar`,
|
|
867
868
|
The provider will place a datastore named `test` in a datastore folder
|
|
868
869
|
located at `/dc1/datastore/foo/bar`, with the final inventory path being
|
|
869
870
|
`/dc1/datastore/foo/bar/test`. Conflicts with
|
|
870
871
|
`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
|
|
872
|
+
:param pulumi.Input[builtins.int] free_space: Available space of this datastore, in megabytes.
|
|
873
|
+
:param pulumi.Input[builtins.str] host_system_id: The managed object ID of
|
|
873
874
|
the host to set the datastore up on. Note that this is not necessarily the
|
|
874
875
|
only host that the datastore will be set up on - see
|
|
875
876
|
here for more info. Forces a
|
|
876
877
|
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
|
|
878
|
+
:param pulumi.Input[builtins.str] maintenance_mode: The current maintenance mode state of the datastore.
|
|
879
|
+
:param pulumi.Input[builtins.bool] multiple_host_access: If `true`, more than one host in the datacenter has
|
|
879
880
|
been configured with access to the datastore.
|
|
880
|
-
:param pulumi.Input[str] name: The name of the datastore. Forces a new resource if
|
|
881
|
+
:param pulumi.Input[builtins.str] name: The name of the datastore. Forces a new resource if
|
|
881
882
|
changed.
|
|
882
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
883
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
883
884
|
|
|
884
885
|
> **NOTE:** Tagging support is unsupported on direct ESXi connections and
|
|
885
886
|
requires vCenter 6.0 or higher.
|
|
886
|
-
:param pulumi.Input[int] uncommitted_space: Total additional storage space, in megabytes,
|
|
887
|
+
:param pulumi.Input[builtins.int] uncommitted_space: Total additional storage space, in megabytes,
|
|
887
888
|
potentially used by all virtual machines on this datastore.
|
|
888
|
-
:param pulumi.Input[str] url: The unique locator for the datastore.
|
|
889
|
+
:param pulumi.Input[builtins.str] url: The unique locator for the datastore.
|
|
889
890
|
"""
|
|
890
891
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
891
892
|
|
|
@@ -909,7 +910,7 @@ class VmfsDatastore(pulumi.CustomResource):
|
|
|
909
910
|
|
|
910
911
|
@property
|
|
911
912
|
@pulumi.getter
|
|
912
|
-
def accessible(self) -> pulumi.Output[bool]:
|
|
913
|
+
def accessible(self) -> pulumi.Output[builtins.bool]:
|
|
913
914
|
"""
|
|
914
915
|
The connectivity status of the datastore. If this is `false`,
|
|
915
916
|
some other computed attributes may be out of date.
|
|
@@ -918,7 +919,7 @@ class VmfsDatastore(pulumi.CustomResource):
|
|
|
918
919
|
|
|
919
920
|
@property
|
|
920
921
|
@pulumi.getter
|
|
921
|
-
def capacity(self) -> pulumi.Output[int]:
|
|
922
|
+
def capacity(self) -> pulumi.Output[builtins.int]:
|
|
922
923
|
"""
|
|
923
924
|
Maximum capacity of the datastore, in megabytes.
|
|
924
925
|
"""
|
|
@@ -926,7 +927,7 @@ class VmfsDatastore(pulumi.CustomResource):
|
|
|
926
927
|
|
|
927
928
|
@property
|
|
928
929
|
@pulumi.getter(name="customAttributes")
|
|
929
|
-
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
930
|
+
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
|
930
931
|
"""
|
|
931
932
|
Map of custom attribute ids to attribute
|
|
932
933
|
value string to set on datastore resource.
|
|
@@ -938,7 +939,7 @@ class VmfsDatastore(pulumi.CustomResource):
|
|
|
938
939
|
|
|
939
940
|
@property
|
|
940
941
|
@pulumi.getter(name="datastoreClusterId")
|
|
941
|
-
def datastore_cluster_id(self) -> pulumi.Output[Optional[str]]:
|
|
942
|
+
def datastore_cluster_id(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
942
943
|
"""
|
|
943
944
|
The managed object
|
|
944
945
|
ID of a datastore cluster to put this datastore in.
|
|
@@ -948,7 +949,7 @@ class VmfsDatastore(pulumi.CustomResource):
|
|
|
948
949
|
|
|
949
950
|
@property
|
|
950
951
|
@pulumi.getter
|
|
951
|
-
def disks(self) -> pulumi.Output[Sequence[str]]:
|
|
952
|
+
def disks(self) -> pulumi.Output[Sequence[builtins.str]]:
|
|
952
953
|
"""
|
|
953
954
|
The disks to use with the datastore.
|
|
954
955
|
"""
|
|
@@ -956,7 +957,7 @@ class VmfsDatastore(pulumi.CustomResource):
|
|
|
956
957
|
|
|
957
958
|
@property
|
|
958
959
|
@pulumi.getter
|
|
959
|
-
def folder(self) -> pulumi.Output[Optional[str]]:
|
|
960
|
+
def folder(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
960
961
|
"""
|
|
961
962
|
The relative path to a folder to put this datastore in.
|
|
962
963
|
This is a path relative to the datacenter you are deploying the datastore to.
|
|
@@ -970,7 +971,7 @@ class VmfsDatastore(pulumi.CustomResource):
|
|
|
970
971
|
|
|
971
972
|
@property
|
|
972
973
|
@pulumi.getter(name="freeSpace")
|
|
973
|
-
def free_space(self) -> pulumi.Output[int]:
|
|
974
|
+
def free_space(self) -> pulumi.Output[builtins.int]:
|
|
974
975
|
"""
|
|
975
976
|
Available space of this datastore, in megabytes.
|
|
976
977
|
"""
|
|
@@ -978,7 +979,7 @@ class VmfsDatastore(pulumi.CustomResource):
|
|
|
978
979
|
|
|
979
980
|
@property
|
|
980
981
|
@pulumi.getter(name="hostSystemId")
|
|
981
|
-
def host_system_id(self) -> pulumi.Output[str]:
|
|
982
|
+
def host_system_id(self) -> pulumi.Output[builtins.str]:
|
|
982
983
|
"""
|
|
983
984
|
The managed object ID of
|
|
984
985
|
the host to set the datastore up on. Note that this is not necessarily the
|
|
@@ -990,7 +991,7 @@ class VmfsDatastore(pulumi.CustomResource):
|
|
|
990
991
|
|
|
991
992
|
@property
|
|
992
993
|
@pulumi.getter(name="maintenanceMode")
|
|
993
|
-
def maintenance_mode(self) -> pulumi.Output[str]:
|
|
994
|
+
def maintenance_mode(self) -> pulumi.Output[builtins.str]:
|
|
994
995
|
"""
|
|
995
996
|
The current maintenance mode state of the datastore.
|
|
996
997
|
"""
|
|
@@ -998,7 +999,7 @@ class VmfsDatastore(pulumi.CustomResource):
|
|
|
998
999
|
|
|
999
1000
|
@property
|
|
1000
1001
|
@pulumi.getter(name="multipleHostAccess")
|
|
1001
|
-
def multiple_host_access(self) -> pulumi.Output[bool]:
|
|
1002
|
+
def multiple_host_access(self) -> pulumi.Output[builtins.bool]:
|
|
1002
1003
|
"""
|
|
1003
1004
|
If `true`, more than one host in the datacenter has
|
|
1004
1005
|
been configured with access to the datastore.
|
|
@@ -1007,7 +1008,7 @@ class VmfsDatastore(pulumi.CustomResource):
|
|
|
1007
1008
|
|
|
1008
1009
|
@property
|
|
1009
1010
|
@pulumi.getter
|
|
1010
|
-
def name(self) -> pulumi.Output[str]:
|
|
1011
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
1011
1012
|
"""
|
|
1012
1013
|
The name of the datastore. Forces a new resource if
|
|
1013
1014
|
changed.
|
|
@@ -1016,7 +1017,7 @@ class VmfsDatastore(pulumi.CustomResource):
|
|
|
1016
1017
|
|
|
1017
1018
|
@property
|
|
1018
1019
|
@pulumi.getter
|
|
1019
|
-
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1020
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
1020
1021
|
"""
|
|
1021
1022
|
The IDs of any tags to attach to this resource.
|
|
1022
1023
|
|
|
@@ -1027,7 +1028,7 @@ class VmfsDatastore(pulumi.CustomResource):
|
|
|
1027
1028
|
|
|
1028
1029
|
@property
|
|
1029
1030
|
@pulumi.getter(name="uncommittedSpace")
|
|
1030
|
-
def uncommitted_space(self) -> pulumi.Output[int]:
|
|
1031
|
+
def uncommitted_space(self) -> pulumi.Output[builtins.int]:
|
|
1031
1032
|
"""
|
|
1032
1033
|
Total additional storage space, in megabytes,
|
|
1033
1034
|
potentially used by all virtual machines on this datastore.
|
|
@@ -1036,7 +1037,7 @@ class VmfsDatastore(pulumi.CustomResource):
|
|
|
1036
1037
|
|
|
1037
1038
|
@property
|
|
1038
1039
|
@pulumi.getter
|
|
1039
|
-
def url(self) -> pulumi.Output[str]:
|
|
1040
|
+
def url(self) -> pulumi.Output[builtins.str]:
|
|
1040
1041
|
"""
|
|
1041
1042
|
The unique locator for the datastore.
|
|
1042
1043
|
"""
|