vmfs-datastore

delete

Delete a VMFS datastore with the given id from the machine with the given system_id.

maas $PROFILE vmfs-datastore delete [--help] [-d] [-k] system_id id

Positional arguments

Argument

Effect

system_id

The system ID of the machine/device (e.g., abc123)

id

The ID of the resource (e.g., 1, abc123)

Command-line options

Option

Effect

–help, -h

Show this help message and exit.

-d, –debug

Display more information about API responses.

-k, –insecure

Disable SSL certificate check.

read

Read a VMFS datastore with the given id on the machine with the given system_id.

maas $PROFILE vmfs-datastore read [--help] [-d] [-k] system_id id

Positional arguments

Argument

Effect

system_id

The system ID of the machine/device (e.g., abc123)

id

The ID of the resource (e.g., 1, abc123)

Command-line options

Option

Effect

–help, -h

Show this help message and exit.

-d, –debug

Display more information about API responses.

-k, –insecure

Disable SSL certificate check.

update

Update a VMFS datastore with the given id on the machine with the given system_id.

maas $PROFILE vmfs-datastore update [--help] [-d] [-k] system_id id [data ...]

Positional arguments

Argument

Effect

system_id

The system ID of the machine/device (e.g., abc123)

id

The ID of the resource (e.g., 1, abc123)

Command-line options

Option

Effect

–help, -h

Show this help message and exit.

-d, –debug

Display more information about API responses.

-k, –insecure

Disable SSL certificate check.

Keywords

Keyword “name”

Optional String. Name of the VMFS datastore.

Keyword “uuid”

Optional String. UUID of the VMFS datastore.

Keyword “add_block_devices”

Optional String. Block devices to add to the VMFS datastore.

Keyword “add_partitions”

Optional String. Partitions to add to the VMFS datastore.

Keyword “remove_partitions”

Optional String. Partitions to remove from the VMFS datastore.

Note: This command accepts JSON.

vmfs-datastores create

Create a VMFS datastore belonging to a machine with the given system_id. Note that at least one valid block device or partition is required.

maas $PROFILE vmfs-datastores create [--help] [-d] [-k] system_id [data ...]

Positional arguments

Argument

Effect

system_id

The system ID of the machine/device (e.g., abc123)

Command-line options

Option

Effect

–help, -h

Show this help message and exit.

-d, –debug

Display more information about API responses.

-k, –insecure

Disable SSL certificate check.

Keywords

Keyword “name”

Optional String. Name of the VMFS datastore.

Keyword “uuid”

Optional String. (optional) UUID of the VMFS group.

Keyword “block_devices”

Optional String. Block devices to add to the VMFS datastore.

Keyword “partitions”

Optional String. Partitions to add to the VMFS datastore.

Note: This command accepts JSON.

vmfs-datastores read

List all VMFS datastores belonging to a machine with the given system_id.

maas $PROFILE vmfs-datastores read [--help] [-d] [-k] system_id

Positional arguments

Argument

Effect

system_id

The system ID of the machine/device (e.g., abc123)

Command-line options

Option

Effect

–help, -h

Show this help message and exit.

-d, –debug

Display more information about API responses.

-k, –insecure

Disable SSL certificate check.