vsphere.VmfsDatastore
Explore with Pulumi AI
Create VmfsDatastore Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VmfsDatastore(name: string, args: VmfsDatastoreArgs, opts?: CustomResourceOptions);
@overload
def VmfsDatastore(resource_name: str,
args: VmfsDatastoreArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VmfsDatastore(resource_name: str,
opts: Optional[ResourceOptions] = None,
disks: Optional[Sequence[str]] = None,
host_system_id: Optional[str] = None,
custom_attributes: Optional[Mapping[str, str]] = None,
datastore_cluster_id: Optional[str] = None,
folder: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[str]] = None)
func NewVmfsDatastore(ctx *Context, name string, args VmfsDatastoreArgs, opts ...ResourceOption) (*VmfsDatastore, error)
public VmfsDatastore(string name, VmfsDatastoreArgs args, CustomResourceOptions? opts = null)
public VmfsDatastore(String name, VmfsDatastoreArgs args)
public VmfsDatastore(String name, VmfsDatastoreArgs args, CustomResourceOptions options)
type: vsphere:VmfsDatastore
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args VmfsDatastoreArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args VmfsDatastoreArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args VmfsDatastoreArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VmfsDatastoreArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VmfsDatastoreArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var vmfsDatastoreResource = new VSphere.VmfsDatastore("vmfsDatastoreResource", new()
{
Disks = new[]
{
"string",
},
HostSystemId = "string",
CustomAttributes =
{
{ "string", "string" },
},
DatastoreClusterId = "string",
Folder = "string",
Name = "string",
Tags = new[]
{
"string",
},
});
example, err := vsphere.NewVmfsDatastore(ctx, "vmfsDatastoreResource", &vsphere.VmfsDatastoreArgs{
Disks: pulumi.StringArray{
pulumi.String("string"),
},
HostSystemId: pulumi.String("string"),
CustomAttributes: pulumi.StringMap{
"string": pulumi.String("string"),
},
DatastoreClusterId: pulumi.String("string"),
Folder: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
var vmfsDatastoreResource = new VmfsDatastore("vmfsDatastoreResource", VmfsDatastoreArgs.builder()
.disks("string")
.hostSystemId("string")
.customAttributes(Map.of("string", "string"))
.datastoreClusterId("string")
.folder("string")
.name("string")
.tags("string")
.build());
vmfs_datastore_resource = vsphere.VmfsDatastore("vmfsDatastoreResource",
disks=["string"],
host_system_id="string",
custom_attributes={
"string": "string",
},
datastore_cluster_id="string",
folder="string",
name="string",
tags=["string"])
const vmfsDatastoreResource = new vsphere.VmfsDatastore("vmfsDatastoreResource", {
disks: ["string"],
hostSystemId: "string",
customAttributes: {
string: "string",
},
datastoreClusterId: "string",
folder: "string",
name: "string",
tags: ["string"],
});
type: vsphere:VmfsDatastore
properties:
customAttributes:
string: string
datastoreClusterId: string
disks:
- string
folder: string
hostSystemId: string
name: string
tags:
- string
VmfsDatastore Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The VmfsDatastore resource accepts the following input properties:
- Disks List<string>
- The disks to use with the datastore.
- Host
System stringId - The managed object ID of the host to set the datastore up on. Note that this is not necessarily the only host that the datastore will be set up on - see here for more info. Forces a new resource if changed.
- Custom
Attributes Dictionary<string, string> Map of custom attribute ids to attribute value string to set on datastore resource.
NOTE: Custom attributes are unsupported on direct ESXi connections and require vCenter.
- Datastore
Cluster stringId - The managed object
ID of a datastore cluster to put this datastore in.
Conflicts with
folder
. - Folder string
- The relative path to a folder to put this datastore in.
This is a path relative to the datacenter you are deploying the datastore to.
Example: for the
dc1
datacenter, and a providedfolder
offoo/bar
, The provider will place a datastore namedtest
in a datastore folder located at/dc1/datastore/foo/bar
, with the final inventory path being/dc1/datastore/foo/bar/test
. Conflicts withdatastore_cluster_id
. - Name string
- The name of the datastore. Forces a new resource if changed.
- List<string>
The IDs of any tags to attach to this resource.
NOTE: Tagging support is unsupported on direct ESXi connections and requires vCenter 6.0 or higher.
- Disks []string
- The disks to use with the datastore.
- Host
System stringId - The managed object ID of the host to set the datastore up on. Note that this is not necessarily the only host that the datastore will be set up on - see here for more info. Forces a new resource if changed.
- Custom
Attributes map[string]string Map of custom attribute ids to attribute value string to set on datastore resource.
NOTE: Custom attributes are unsupported on direct ESXi connections and require vCenter.
- Datastore
Cluster stringId - The managed object
ID of a datastore cluster to put this datastore in.
Conflicts with
folder
. - Folder string
- The relative path to a folder to put this datastore in.
This is a path relative to the datacenter you are deploying the datastore to.
Example: for the
dc1
datacenter, and a providedfolder
offoo/bar
, The provider will place a datastore namedtest
in a datastore folder located at/dc1/datastore/foo/bar
, with the final inventory path being/dc1/datastore/foo/bar/test
. Conflicts withdatastore_cluster_id
. - Name string
- The name of the datastore. Forces a new resource if changed.
- []string
The IDs of any tags to attach to this resource.
NOTE: Tagging support is unsupported on direct ESXi connections and requires vCenter 6.0 or higher.
- disks List<String>
- The disks to use with the datastore.
- host
System StringId - The managed object ID of the host to set the datastore up on. Note that this is not necessarily the only host that the datastore will be set up on - see here for more info. Forces a new resource if changed.
- custom
Attributes Map<String,String> Map of custom attribute ids to attribute value string to set on datastore resource.
NOTE: Custom attributes are unsupported on direct ESXi connections and require vCenter.
- datastore
Cluster StringId - The managed object
ID of a datastore cluster to put this datastore in.
Conflicts with
folder
. - folder String
- The relative path to a folder to put this datastore in.
This is a path relative to the datacenter you are deploying the datastore to.
Example: for the
dc1
datacenter, and a providedfolder
offoo/bar
, The provider will place a datastore namedtest
in a datastore folder located at/dc1/datastore/foo/bar
, with the final inventory path being/dc1/datastore/foo/bar/test
. Conflicts withdatastore_cluster_id
. - name String
- The name of the datastore. Forces a new resource if changed.
- List<String>
The IDs of any tags to attach to this resource.
NOTE: Tagging support is unsupported on direct ESXi connections and requires vCenter 6.0 or higher.
- disks string[]
- The disks to use with the datastore.
- host
System stringId - The managed object ID of the host to set the datastore up on. Note that this is not necessarily the only host that the datastore will be set up on - see here for more info. Forces a new resource if changed.
- custom
Attributes {[key: string]: string} Map of custom attribute ids to attribute value string to set on datastore resource.
NOTE: Custom attributes are unsupported on direct ESXi connections and require vCenter.
- datastore
Cluster stringId - The managed object
ID of a datastore cluster to put this datastore in.
Conflicts with
folder
. - folder string
- The relative path to a folder to put this datastore in.
This is a path relative to the datacenter you are deploying the datastore to.
Example: for the
dc1
datacenter, and a providedfolder
offoo/bar
, The provider will place a datastore namedtest
in a datastore folder located at/dc1/datastore/foo/bar
, with the final inventory path being/dc1/datastore/foo/bar/test
. Conflicts withdatastore_cluster_id
. - name string
- The name of the datastore. Forces a new resource if changed.
- string[]
The IDs of any tags to attach to this resource.
NOTE: Tagging support is unsupported on direct ESXi connections and requires vCenter 6.0 or higher.
- disks Sequence[str]
- The disks to use with the datastore.
- host_
system_ strid - The managed object ID of the host to set the datastore up on. Note that this is not necessarily the only host that the datastore will be set up on - see here for more info. Forces a new resource if changed.
- custom_
attributes Mapping[str, str] Map of custom attribute ids to attribute value string to set on datastore resource.
NOTE: Custom attributes are unsupported on direct ESXi connections and require vCenter.
- datastore_
cluster_ strid - The managed object
ID of a datastore cluster to put this datastore in.
Conflicts with
folder
. - folder str
- The relative path to a folder to put this datastore in.
This is a path relative to the datacenter you are deploying the datastore to.
Example: for the
dc1
datacenter, and a providedfolder
offoo/bar
, The provider will place a datastore namedtest
in a datastore folder located at/dc1/datastore/foo/bar
, with the final inventory path being/dc1/datastore/foo/bar/test
. Conflicts withdatastore_cluster_id
. - name str
- The name of the datastore. Forces a new resource if changed.
- Sequence[str]
The IDs of any tags to attach to this resource.
NOTE: Tagging support is unsupported on direct ESXi connections and requires vCenter 6.0 or higher.
- disks List<String>
- The disks to use with the datastore.
- host
System StringId - The managed object ID of the host to set the datastore up on. Note that this is not necessarily the only host that the datastore will be set up on - see here for more info. Forces a new resource if changed.
- custom
Attributes Map<String> Map of custom attribute ids to attribute value string to set on datastore resource.
NOTE: Custom attributes are unsupported on direct ESXi connections and require vCenter.
- datastore
Cluster StringId - The managed object
ID of a datastore cluster to put this datastore in.
Conflicts with
folder
. - folder String
- The relative path to a folder to put this datastore in.
This is a path relative to the datacenter you are deploying the datastore to.
Example: for the
dc1
datacenter, and a providedfolder
offoo/bar
, The provider will place a datastore namedtest
in a datastore folder located at/dc1/datastore/foo/bar
, with the final inventory path being/dc1/datastore/foo/bar/test
. Conflicts withdatastore_cluster_id
. - name String
- The name of the datastore. Forces a new resource if changed.
- List<String>
The IDs of any tags to attach to this resource.
NOTE: Tagging support is unsupported on direct ESXi connections and requires vCenter 6.0 or higher.
Outputs
All input properties are implicitly available as output properties. Additionally, the VmfsDatastore resource produces the following output properties:
- Accessible bool
- The connectivity status of the datastore. If this is
false
, some other computed attributes may be out of date. - Capacity int
- Maximum capacity of the datastore, in megabytes.
- Free
Space int - Available space of this datastore, in megabytes.
- Id string
- The provider-assigned unique ID for this managed resource.
- Maintenance
Mode string - The current maintenance mode state of the datastore.
- Multiple
Host boolAccess - If
true
, more than one host in the datacenter has been configured with access to the datastore. - Uncommitted
Space int - Total additional storage space, in megabytes, potentially used by all virtual machines on this datastore.
- Url string
- The unique locator for the datastore.
- Accessible bool
- The connectivity status of the datastore. If this is
false
, some other computed attributes may be out of date. - Capacity int
- Maximum capacity of the datastore, in megabytes.
- Free
Space int - Available space of this datastore, in megabytes.
- Id string
- The provider-assigned unique ID for this managed resource.
- Maintenance
Mode string - The current maintenance mode state of the datastore.
- Multiple
Host boolAccess - If
true
, more than one host in the datacenter has been configured with access to the datastore. - Uncommitted
Space int - Total additional storage space, in megabytes, potentially used by all virtual machines on this datastore.
- Url string
- The unique locator for the datastore.
- accessible Boolean
- The connectivity status of the datastore. If this is
false
, some other computed attributes may be out of date. - capacity Integer
- Maximum capacity of the datastore, in megabytes.
- free
Space Integer - Available space of this datastore, in megabytes.
- id String
- The provider-assigned unique ID for this managed resource.
- maintenance
Mode String - The current maintenance mode state of the datastore.
- multiple
Host BooleanAccess - If
true
, more than one host in the datacenter has been configured with access to the datastore. - uncommitted
Space Integer - Total additional storage space, in megabytes, potentially used by all virtual machines on this datastore.
- url String
- The unique locator for the datastore.
- accessible boolean
- The connectivity status of the datastore. If this is
false
, some other computed attributes may be out of date. - capacity number
- Maximum capacity of the datastore, in megabytes.
- free
Space number - Available space of this datastore, in megabytes.
- id string
- The provider-assigned unique ID for this managed resource.
- maintenance
Mode string - The current maintenance mode state of the datastore.
- multiple
Host booleanAccess - If
true
, more than one host in the datacenter has been configured with access to the datastore. - uncommitted
Space number - Total additional storage space, in megabytes, potentially used by all virtual machines on this datastore.
- url string
- The unique locator for the datastore.
- accessible bool
- The connectivity status of the datastore. If this is
false
, some other computed attributes may be out of date. - capacity int
- Maximum capacity of the datastore, in megabytes.
- free_
space int - Available space of this datastore, in megabytes.
- id str
- The provider-assigned unique ID for this managed resource.
- maintenance_
mode str - The current maintenance mode state of the datastore.
- multiple_
host_ boolaccess - If
true
, more than one host in the datacenter has been configured with access to the datastore. - uncommitted_
space int - Total additional storage space, in megabytes, potentially used by all virtual machines on this datastore.
- url str
- The unique locator for the datastore.
- accessible Boolean
- The connectivity status of the datastore. If this is
false
, some other computed attributes may be out of date. - capacity Number
- Maximum capacity of the datastore, in megabytes.
- free
Space Number - Available space of this datastore, in megabytes.
- id String
- The provider-assigned unique ID for this managed resource.
- maintenance
Mode String - The current maintenance mode state of the datastore.
- multiple
Host BooleanAccess - If
true
, more than one host in the datacenter has been configured with access to the datastore. - uncommitted
Space Number - Total additional storage space, in megabytes, potentially used by all virtual machines on this datastore.
- url String
- The unique locator for the datastore.
Look up Existing VmfsDatastore Resource
Get an existing VmfsDatastore resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: VmfsDatastoreState, opts?: CustomResourceOptions): VmfsDatastore
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
accessible: Optional[bool] = None,
capacity: Optional[int] = None,
custom_attributes: Optional[Mapping[str, str]] = None,
datastore_cluster_id: Optional[str] = None,
disks: Optional[Sequence[str]] = None,
folder: Optional[str] = None,
free_space: Optional[int] = None,
host_system_id: Optional[str] = None,
maintenance_mode: Optional[str] = None,
multiple_host_access: Optional[bool] = None,
name: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
uncommitted_space: Optional[int] = None,
url: Optional[str] = None) -> VmfsDatastore
func GetVmfsDatastore(ctx *Context, name string, id IDInput, state *VmfsDatastoreState, opts ...ResourceOption) (*VmfsDatastore, error)
public static VmfsDatastore Get(string name, Input<string> id, VmfsDatastoreState? state, CustomResourceOptions? opts = null)
public static VmfsDatastore get(String name, Output<String> id, VmfsDatastoreState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Accessible bool
- The connectivity status of the datastore. If this is
false
, some other computed attributes may be out of date. - Capacity int
- Maximum capacity of the datastore, in megabytes.
- Custom
Attributes Dictionary<string, string> Map of custom attribute ids to attribute value string to set on datastore resource.
NOTE: Custom attributes are unsupported on direct ESXi connections and require vCenter.
- Datastore
Cluster stringId - The managed object
ID of a datastore cluster to put this datastore in.
Conflicts with
folder
. - Disks List<string>
- The disks to use with the datastore.
- Folder string
- The relative path to a folder to put this datastore in.
This is a path relative to the datacenter you are deploying the datastore to.
Example: for the
dc1
datacenter, and a providedfolder
offoo/bar
, The provider will place a datastore namedtest
in a datastore folder located at/dc1/datastore/foo/bar
, with the final inventory path being/dc1/datastore/foo/bar/test
. Conflicts withdatastore_cluster_id
. - Free
Space int - Available space of this datastore, in megabytes.
- Host
System stringId - The managed object ID of the host to set the datastore up on. Note that this is not necessarily the only host that the datastore will be set up on - see here for more info. Forces a new resource if changed.
- Maintenance
Mode string - The current maintenance mode state of the datastore.
- Multiple
Host boolAccess - If
true
, more than one host in the datacenter has been configured with access to the datastore. - Name string
- The name of the datastore. Forces a new resource if changed.
- List<string>
The IDs of any tags to attach to this resource.
NOTE: Tagging support is unsupported on direct ESXi connections and requires vCenter 6.0 or higher.
- Uncommitted
Space int - Total additional storage space, in megabytes, potentially used by all virtual machines on this datastore.
- Url string
- The unique locator for the datastore.
- Accessible bool
- The connectivity status of the datastore. If this is
false
, some other computed attributes may be out of date. - Capacity int
- Maximum capacity of the datastore, in megabytes.
- Custom
Attributes map[string]string Map of custom attribute ids to attribute value string to set on datastore resource.
NOTE: Custom attributes are unsupported on direct ESXi connections and require vCenter.
- Datastore
Cluster stringId - The managed object
ID of a datastore cluster to put this datastore in.
Conflicts with
folder
. - Disks []string
- The disks to use with the datastore.
- Folder string
- The relative path to a folder to put this datastore in.
This is a path relative to the datacenter you are deploying the datastore to.
Example: for the
dc1
datacenter, and a providedfolder
offoo/bar
, The provider will place a datastore namedtest
in a datastore folder located at/dc1/datastore/foo/bar
, with the final inventory path being/dc1/datastore/foo/bar/test
. Conflicts withdatastore_cluster_id
. - Free
Space int - Available space of this datastore, in megabytes.
- Host
System stringId - The managed object ID of the host to set the datastore up on. Note that this is not necessarily the only host that the datastore will be set up on - see here for more info. Forces a new resource if changed.
- Maintenance
Mode string - The current maintenance mode state of the datastore.
- Multiple
Host boolAccess - If
true
, more than one host in the datacenter has been configured with access to the datastore. - Name string
- The name of the datastore. Forces a new resource if changed.
- []string
The IDs of any tags to attach to this resource.
NOTE: Tagging support is unsupported on direct ESXi connections and requires vCenter 6.0 or higher.
- Uncommitted
Space int - Total additional storage space, in megabytes, potentially used by all virtual machines on this datastore.
- Url string
- The unique locator for the datastore.
- accessible Boolean
- The connectivity status of the datastore. If this is
false
, some other computed attributes may be out of date. - capacity Integer
- Maximum capacity of the datastore, in megabytes.
- custom
Attributes Map<String,String> Map of custom attribute ids to attribute value string to set on datastore resource.
NOTE: Custom attributes are unsupported on direct ESXi connections and require vCenter.
- datastore
Cluster StringId - The managed object
ID of a datastore cluster to put this datastore in.
Conflicts with
folder
. - disks List<String>
- The disks to use with the datastore.
- folder String
- The relative path to a folder to put this datastore in.
This is a path relative to the datacenter you are deploying the datastore to.
Example: for the
dc1
datacenter, and a providedfolder
offoo/bar
, The provider will place a datastore namedtest
in a datastore folder located at/dc1/datastore/foo/bar
, with the final inventory path being/dc1/datastore/foo/bar/test
. Conflicts withdatastore_cluster_id
. - free
Space Integer - Available space of this datastore, in megabytes.
- host
System StringId - The managed object ID of the host to set the datastore up on. Note that this is not necessarily the only host that the datastore will be set up on - see here for more info. Forces a new resource if changed.
- maintenance
Mode String - The current maintenance mode state of the datastore.
- multiple
Host BooleanAccess - If
true
, more than one host in the datacenter has been configured with access to the datastore. - name String
- The name of the datastore. Forces a new resource if changed.
- List<String>
The IDs of any tags to attach to this resource.
NOTE: Tagging support is unsupported on direct ESXi connections and requires vCenter 6.0 or higher.
- uncommitted
Space Integer - Total additional storage space, in megabytes, potentially used by all virtual machines on this datastore.
- url String
- The unique locator for the datastore.
- accessible boolean
- The connectivity status of the datastore. If this is
false
, some other computed attributes may be out of date. - capacity number
- Maximum capacity of the datastore, in megabytes.
- custom
Attributes {[key: string]: string} Map of custom attribute ids to attribute value string to set on datastore resource.
NOTE: Custom attributes are unsupported on direct ESXi connections and require vCenter.
- datastore
Cluster stringId - The managed object
ID of a datastore cluster to put this datastore in.
Conflicts with
folder
. - disks string[]
- The disks to use with the datastore.
- folder string
- The relative path to a folder to put this datastore in.
This is a path relative to the datacenter you are deploying the datastore to.
Example: for the
dc1
datacenter, and a providedfolder
offoo/bar
, The provider will place a datastore namedtest
in a datastore folder located at/dc1/datastore/foo/bar
, with the final inventory path being/dc1/datastore/foo/bar/test
. Conflicts withdatastore_cluster_id
. - free
Space number - Available space of this datastore, in megabytes.
- host
System stringId - The managed object ID of the host to set the datastore up on. Note that this is not necessarily the only host that the datastore will be set up on - see here for more info. Forces a new resource if changed.
- maintenance
Mode string - The current maintenance mode state of the datastore.
- multiple
Host booleanAccess - If
true
, more than one host in the datacenter has been configured with access to the datastore. - name string
- The name of the datastore. Forces a new resource if changed.
- string[]
The IDs of any tags to attach to this resource.
NOTE: Tagging support is unsupported on direct ESXi connections and requires vCenter 6.0 or higher.
- uncommitted
Space number - Total additional storage space, in megabytes, potentially used by all virtual machines on this datastore.
- url string
- The unique locator for the datastore.
- accessible bool
- The connectivity status of the datastore. If this is
false
, some other computed attributes may be out of date. - capacity int
- Maximum capacity of the datastore, in megabytes.
- custom_
attributes Mapping[str, str] Map of custom attribute ids to attribute value string to set on datastore resource.
NOTE: Custom attributes are unsupported on direct ESXi connections and require vCenter.
- datastore_
cluster_ strid - The managed object
ID of a datastore cluster to put this datastore in.
Conflicts with
folder
. - disks Sequence[str]
- The disks to use with the datastore.
- folder str
- The relative path to a folder to put this datastore in.
This is a path relative to the datacenter you are deploying the datastore to.
Example: for the
dc1
datacenter, and a providedfolder
offoo/bar
, The provider will place a datastore namedtest
in a datastore folder located at/dc1/datastore/foo/bar
, with the final inventory path being/dc1/datastore/foo/bar/test
. Conflicts withdatastore_cluster_id
. - free_
space int - Available space of this datastore, in megabytes.
- host_
system_ strid - The managed object ID of the host to set the datastore up on. Note that this is not necessarily the only host that the datastore will be set up on - see here for more info. Forces a new resource if changed.
- maintenance_
mode str - The current maintenance mode state of the datastore.
- multiple_
host_ boolaccess - If
true
, more than one host in the datacenter has been configured with access to the datastore. - name str
- The name of the datastore. Forces a new resource if changed.
- Sequence[str]
The IDs of any tags to attach to this resource.
NOTE: Tagging support is unsupported on direct ESXi connections and requires vCenter 6.0 or higher.
- uncommitted_
space int - Total additional storage space, in megabytes, potentially used by all virtual machines on this datastore.
- url str
- The unique locator for the datastore.
- accessible Boolean
- The connectivity status of the datastore. If this is
false
, some other computed attributes may be out of date. - capacity Number
- Maximum capacity of the datastore, in megabytes.
- custom
Attributes Map<String> Map of custom attribute ids to attribute value string to set on datastore resource.
NOTE: Custom attributes are unsupported on direct ESXi connections and require vCenter.
- datastore
Cluster StringId - The managed object
ID of a datastore cluster to put this datastore in.
Conflicts with
folder
. - disks List<String>
- The disks to use with the datastore.
- folder String
- The relative path to a folder to put this datastore in.
This is a path relative to the datacenter you are deploying the datastore to.
Example: for the
dc1
datacenter, and a providedfolder
offoo/bar
, The provider will place a datastore namedtest
in a datastore folder located at/dc1/datastore/foo/bar
, with the final inventory path being/dc1/datastore/foo/bar/test
. Conflicts withdatastore_cluster_id
. - free
Space Number - Available space of this datastore, in megabytes.
- host
System StringId - The managed object ID of the host to set the datastore up on. Note that this is not necessarily the only host that the datastore will be set up on - see here for more info. Forces a new resource if changed.
- maintenance
Mode String - The current maintenance mode state of the datastore.
- multiple
Host BooleanAccess - If
true
, more than one host in the datacenter has been configured with access to the datastore. - name String
- The name of the datastore. Forces a new resource if changed.
- List<String>
The IDs of any tags to attach to this resource.
NOTE: Tagging support is unsupported on direct ESXi connections and requires vCenter 6.0 or higher.
- uncommitted
Space Number - Total additional storage space, in megabytes, potentially used by all virtual machines on this datastore.
- url String
- The unique locator for the datastore.
Package Details
- Repository
- vSphere pulumi/pulumi-vsphere
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vsphere
Terraform Provider.