VMware

Sata Namespace

The Sata namespace provides commands for configuring the virtual SATA adapters of a virtual machine.

List of commands:



List Command

dcli com vmware vcenter vm hardware adapter sata list

Description

Returns commonly used information about the virtual SATA adapters belonging to the virtual machine.

Options

Option Name Type Required Description
vm string Yes Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine.

Example

dcli com vmware vcenter vm hardware adapter sata list --vm testId


Get Command

dcli com vmware vcenter vm hardware adapter sata get

Description

Returns information about a virtual SATA adapter.

Options

Option Name Type Required Description
vm string Yes Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine.
adapter string Yes Virtual SATA adapter identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SataAdapter.

Example

dcli com vmware vcenter vm hardware adapter sata get --vm testId --adapter testId


Create Command

dcli com vmware vcenter vm hardware adapter sata create

Description

Adds a virtual SATA adapter to the virtual machine.

Options

Option Name Type Required Description
vm string Yes Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine.
type string No Adapter type. If unset, a guest-specific default value will be used. Valid values are: {AHCI}
bus int No SATA bus number. If unset, the server will choose an available bus number; if none is available, the request will fail.
pci‑slot‑number int No Address of the SATA adapter on the PCI bus. If unset, the server will choose an available address when the virtual machine is powered on.

Example

dcli com vmware vcenter vm hardware adapter sata create --vm testId


Delete Command

dcli com vmware vcenter vm hardware adapter sata delete

Description

Removes a virtual SATA adapter from the virtual machine.

Options

Option Name Type Required Description
vm string Yes Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine.
adapter string Yes Virtual SATA adapter identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SataAdapter.

Example

dcli com vmware vcenter vm hardware adapter sata delete --vm testId --adapter testId