VMware vSphere Automation SDK for .NET 7.0.0.1
|
The Disk
interface provides methods for configuring the virtual disks of a virtual machine.
More...
Inherited by vmware::vcenter::vm::hardware::DiskStub.
Public Member Functions | |
global::System.Collections.Generic.List < vmware.vcenter.vm.hardware.DiskTypes.Summary > | List (string vm) |
Returns commonly used information about the virtual disks belonging to the virtual machine. | |
global::System.Collections.Generic.List < vmware.vcenter.vm.hardware.DiskTypes.Summary > | List (string vm, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Returns commonly used information about the virtual disks belonging to the virtual machine. | |
global::System.Threading.Tasks.Task < global::System.Collections.Generic.List < vmware.vcenter.vm.hardware.DiskTypes.Summary > > | ListAsync (string vm) |
Returns commonly used information about the virtual disks belonging to the virtual machine. | |
global::System.Threading.Tasks.Task < global::System.Collections.Generic.List < vmware.vcenter.vm.hardware.DiskTypes.Summary > > | ListAsync (string vm, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Returns commonly used information about the virtual disks belonging to the virtual machine. | |
vmware.vcenter.vm.hardware.DiskTypes.Info | Get (string vm, string disk) |
Returns information about a virtual disk. | |
vmware.vcenter.vm.hardware.DiskTypes.Info | Get (string vm, string disk, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Returns information about a virtual disk. | |
global::System.Threading.Tasks.Task < vmware.vcenter.vm.hardware.DiskTypes.Info > | GetAsync (string vm, string disk) |
Returns information about a virtual disk. | |
global::System.Threading.Tasks.Task < vmware.vcenter.vm.hardware.DiskTypes.Info > | GetAsync (string vm, string disk, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Returns information about a virtual disk. | |
string | Create (string vm, vmware.vcenter.vm.hardware.DiskTypes.CreateSpec spec) |
Adds a virtual disk to the virtual machine. | |
string | Create (string vm, vmware.vcenter.vm.hardware.DiskTypes.CreateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Adds a virtual disk to the virtual machine. | |
global::System.Threading.Tasks.Task < string > | CreateAsync (string vm, vmware.vcenter.vm.hardware.DiskTypes.CreateSpec spec) |
Adds a virtual disk to the virtual machine. | |
global::System.Threading.Tasks.Task < string > | CreateAsync (string vm, vmware.vcenter.vm.hardware.DiskTypes.CreateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Adds a virtual disk to the virtual machine. | |
void | Update (string vm, string disk, vmware.vcenter.vm.hardware.DiskTypes.UpdateSpec spec) |
Updates the configuration of a virtual disk. | |
void | Update (string vm, string disk, vmware.vcenter.vm.hardware.DiskTypes.UpdateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Updates the configuration of a virtual disk. | |
global::System.Threading.Tasks.Task | UpdateAsync (string vm, string disk, vmware.vcenter.vm.hardware.DiskTypes.UpdateSpec spec) |
Updates the configuration of a virtual disk. | |
global::System.Threading.Tasks.Task | UpdateAsync (string vm, string disk, vmware.vcenter.vm.hardware.DiskTypes.UpdateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Updates the configuration of a virtual disk. | |
void | Delete (string vm, string disk) |
Removes a virtual disk from the virtual machine. | |
void | Delete (string vm, string disk, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Removes a virtual disk from the virtual machine. | |
global::System.Threading.Tasks.Task | DeleteAsync (string vm, string disk) |
Removes a virtual disk from the virtual machine. | |
global::System.Threading.Tasks.Task | DeleteAsync (string vm, string disk, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Removes a virtual disk from the virtual machine. |
The Disk
interface provides methods for configuring the virtual disks of a virtual machine.
A virtual disk has a backing such as a VMDK file. The backing has an independent lifecycle from the virtual machine when it is detached from the virtual machine. The Disk.Create method provides the ability to create a new virtual disk. When creating a virtual disk, a new VMDK file may be created or an existing VMDK file may used as a backing. Once a VMDK file is associated with a virtual machine, its lifecycle will be bound to the virtual machine. In other words, it will be deleted when the virtual machine is deleted. The Disk.Delete method provides the ability to detach a VMDK file from the virtual machine. The Disk.Delete method does not delete the VMDK file that backs the virtual disk. Once detached, the VMDK file will not be destroyed when the virtual machine to which it was associated is deleted.
string vmware::vcenter::vm::hardware::Disk::Create | ( | string | vm, |
vmware.vcenter.vm.hardware.DiskTypes.CreateSpec | spec | ||
) |
Adds a virtual disk to the virtual machine.
While adding the virtual disk, a new VMDK file may be created or an existing VMDK file may be used to back the virtual disk.
vmware.vapi.std.errors.Error | if system reported that the disk device was created but was unable to confirm the creation because the identifier of the new device could not be determined. |
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the virtual machine is not found. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is suspended or if the virtual machine is powered on and virtual disk type is IDE. |
vmware.vapi.std.errors.UnableToAllocateResource | if the specified storage address is unavailable; for example, if the SCSI adapter requested does not exist. |
vmware.vapi.std.errors.ResourceInUse | if the specified storage address is in use. |
vmware.vapi.std.errors.InvalidArgument | if the specified storage address is out of bounds or if the specified storage policy is invalid. |
vmware.vapi.std.errors.ResourceBusy | if the virtual machine is busy performing another operation. |
vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.Unsupported | if the guest operating system of the virtual machine is not supported and spec includes null fields that default to guest-specific values. |
vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
spec | Specification for the new virtual disk. |
com.vmware.vcenter.vm.hardware.Disk
. Implemented in vmware::vcenter::vm::hardware::DiskStub.
string vmware::vcenter::vm::hardware::Disk::Create | ( | string | vm, |
vmware.vcenter.vm.hardware.DiskTypes.CreateSpec | spec, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Adds a virtual disk to the virtual machine.
While adding the virtual disk, a new VMDK file may be created or an existing VMDK file may be used to back the virtual disk.
vmware.vapi.std.errors.Error | if system reported that the disk device was created but was unable to confirm the creation because the identifier of the new device could not be determined. |
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the virtual machine is not found. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is suspended or if the virtual machine is powered on and virtual disk type is IDE. |
vmware.vapi.std.errors.UnableToAllocateResource | if the specified storage address is unavailable; for example, if the SCSI adapter requested does not exist. |
vmware.vapi.std.errors.ResourceInUse | if the specified storage address is in use. |
vmware.vapi.std.errors.InvalidArgument | if the specified storage address is out of bounds or if the specified storage policy is invalid. |
vmware.vapi.std.errors.ResourceBusy | if the virtual machine is busy performing another operation. |
vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.Unsupported | if the guest operating system of the virtual machine is not supported and spec includes null fields that default to guest-specific values. |
vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
spec | Specification for the new virtual disk. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
com.vmware.vcenter.vm.hardware.Disk
. Implemented in vmware::vcenter::vm::hardware::DiskStub.
global::System.Threading.Tasks.Task<string> vmware::vcenter::vm::hardware::Disk::CreateAsync | ( | string | vm, |
vmware.vcenter.vm.hardware.DiskTypes.CreateSpec | spec | ||
) |
Adds a virtual disk to the virtual machine.
While adding the virtual disk, a new VMDK file may be created or an existing VMDK file may be used to back the virtual disk.
vmware.vapi.std.errors.Error | if system reported that the disk device was created but was unable to confirm the creation because the identifier of the new device could not be determined. |
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the virtual machine is not found. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is suspended or if the virtual machine is powered on and virtual disk type is IDE. |
vmware.vapi.std.errors.UnableToAllocateResource | if the specified storage address is unavailable; for example, if the SCSI adapter requested does not exist. |
vmware.vapi.std.errors.ResourceInUse | if the specified storage address is in use. |
vmware.vapi.std.errors.InvalidArgument | if the specified storage address is out of bounds or if the specified storage policy is invalid. |
vmware.vapi.std.errors.ResourceBusy | if the virtual machine is busy performing another operation. |
vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.Unsupported | if the guest operating system of the virtual machine is not supported and spec includes null fields that default to guest-specific values. |
vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
spec | Specification for the new virtual disk. |
com.vmware.vcenter.vm.hardware.Disk
. Implemented in vmware::vcenter::vm::hardware::DiskStub.
global::System.Threading.Tasks.Task<string> vmware::vcenter::vm::hardware::Disk::CreateAsync | ( | string | vm, |
vmware.vcenter.vm.hardware.DiskTypes.CreateSpec | spec, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Adds a virtual disk to the virtual machine.
While adding the virtual disk, a new VMDK file may be created or an existing VMDK file may be used to back the virtual disk.
vmware.vapi.std.errors.Error | if system reported that the disk device was created but was unable to confirm the creation because the identifier of the new device could not be determined. |
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the virtual machine is not found. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is suspended or if the virtual machine is powered on and virtual disk type is IDE. |
vmware.vapi.std.errors.UnableToAllocateResource | if the specified storage address is unavailable; for example, if the SCSI adapter requested does not exist. |
vmware.vapi.std.errors.ResourceInUse | if the specified storage address is in use. |
vmware.vapi.std.errors.InvalidArgument | if the specified storage address is out of bounds or if the specified storage policy is invalid. |
vmware.vapi.std.errors.ResourceBusy | if the virtual machine is busy performing another operation. |
vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vmware.vapi.std.errors.Unsupported | if the guest operating system of the virtual machine is not supported and spec includes null fields that default to guest-specific values. |
vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
spec | Specification for the new virtual disk. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
com.vmware.vcenter.vm.hardware.Disk
. Implemented in vmware::vcenter::vm::hardware::DiskStub.
void vmware::vcenter::vm::hardware::Disk::Delete | ( | string | vm, |
string | disk | ||
) |
Removes a virtual disk from the virtual machine.
This method does not destroy the VMDK file that backs the virtual disk. It only detaches the VMDK file from the virtual machine. Once detached, the VMDK file will not be destroyed when the virtual machine to which it was associated is deleted.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the virtual machine or virtual disk is not found. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is suspended or if the virtual machine is powered on and virtual disk type is IDE. |
vmware.vapi.std.errors.ResourceBusy | if the virtual machine is busy performing another operation. |
vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
disk | Virtual disk identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk . |
Implemented in vmware::vcenter::vm::hardware::DiskStub.
void vmware::vcenter::vm::hardware::Disk::Delete | ( | string | vm, |
string | disk, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Removes a virtual disk from the virtual machine.
This method does not destroy the VMDK file that backs the virtual disk. It only detaches the VMDK file from the virtual machine. Once detached, the VMDK file will not be destroyed when the virtual machine to which it was associated is deleted.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the virtual machine or virtual disk is not found. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is suspended or if the virtual machine is powered on and virtual disk type is IDE. |
vmware.vapi.std.errors.ResourceBusy | if the virtual machine is busy performing another operation. |
vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
disk | Virtual disk identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm::hardware::DiskStub.
global::System.Threading.Tasks.Task vmware::vcenter::vm::hardware::Disk::DeleteAsync | ( | string | vm, |
string | disk | ||
) |
Removes a virtual disk from the virtual machine.
This method does not destroy the VMDK file that backs the virtual disk. It only detaches the VMDK file from the virtual machine. Once detached, the VMDK file will not be destroyed when the virtual machine to which it was associated is deleted.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the virtual machine or virtual disk is not found. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is suspended or if the virtual machine is powered on and virtual disk type is IDE. |
vmware.vapi.std.errors.ResourceBusy | if the virtual machine is busy performing another operation. |
vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
disk | Virtual disk identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk . |
Implemented in vmware::vcenter::vm::hardware::DiskStub.
global::System.Threading.Tasks.Task vmware::vcenter::vm::hardware::Disk::DeleteAsync | ( | string | vm, |
string | disk, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Removes a virtual disk from the virtual machine.
This method does not destroy the VMDK file that backs the virtual disk. It only detaches the VMDK file from the virtual machine. Once detached, the VMDK file will not be destroyed when the virtual machine to which it was associated is deleted.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the virtual machine or virtual disk is not found. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is suspended or if the virtual machine is powered on and virtual disk type is IDE. |
vmware.vapi.std.errors.ResourceBusy | if the virtual machine is busy performing another operation. |
vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
disk | Virtual disk identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm::hardware::DiskStub.
vmware.vcenter.vm.hardware.DiskTypes.Info vmware::vcenter::vm::hardware::Disk::Get | ( | string | vm, |
string | disk | ||
) |
Returns information about a virtual disk.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the virtual machine or virtual disk is not found. |
vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
disk | Virtual disk identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk . |
Implemented in vmware::vcenter::vm::hardware::DiskStub.
vmware.vcenter.vm.hardware.DiskTypes.Info vmware::vcenter::vm::hardware::Disk::Get | ( | string | vm, |
string | disk, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Returns information about a virtual disk.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the virtual machine or virtual disk is not found. |
vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
disk | Virtual disk identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm::hardware::DiskStub.
global::System.Threading.Tasks.Task<vmware.vcenter.vm.hardware.DiskTypes.Info> vmware::vcenter::vm::hardware::Disk::GetAsync | ( | string | vm, |
string | disk, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Returns information about a virtual disk.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the virtual machine or virtual disk is not found. |
vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
disk | Virtual disk identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm::hardware::DiskStub.
global::System.Threading.Tasks.Task<vmware.vcenter.vm.hardware.DiskTypes.Info> vmware::vcenter::vm::hardware::Disk::GetAsync | ( | string | vm, |
string | disk | ||
) |
Returns information about a virtual disk.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the virtual machine or virtual disk is not found. |
vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
disk | Virtual disk identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk . |
Implemented in vmware::vcenter::vm::hardware::DiskStub.
global::System.Collections.Generic.List<vmware.vcenter.vm.hardware.DiskTypes.Summary> vmware::vcenter::vm::hardware::Disk::List | ( | string | vm, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Returns commonly used information about the virtual disks belonging to the virtual machine.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the virtual machine is not found. |
vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm::hardware::DiskStub.
global::System.Collections.Generic.List<vmware.vcenter.vm.hardware.DiskTypes.Summary> vmware::vcenter::vm::hardware::Disk::List | ( | string | vm | ) |
Returns commonly used information about the virtual disks belonging to the virtual machine.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the virtual machine is not found. |
vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
Implemented in vmware::vcenter::vm::hardware::DiskStub.
global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vcenter.vm.hardware.DiskTypes.Summary> > vmware::vcenter::vm::hardware::Disk::ListAsync | ( | string | vm, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Returns commonly used information about the virtual disks belonging to the virtual machine.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the virtual machine is not found. |
vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm::hardware::DiskStub.
global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vcenter.vm.hardware.DiskTypes.Summary> > vmware::vcenter::vm::hardware::Disk::ListAsync | ( | string | vm | ) |
Returns commonly used information about the virtual disks belonging to the virtual machine.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the virtual machine is not found. |
vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
Implemented in vmware::vcenter::vm::hardware::DiskStub.
void vmware::vcenter::vm::hardware::Disk::Update | ( | string | vm, |
string | disk, | ||
vmware.vcenter.vm.hardware.DiskTypes.UpdateSpec | spec, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Updates the configuration of a virtual disk.
An update method can be used to detach the existing VMDK file and attach another VMDK file to the virtual machine.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the virtual machine or virtual disk is not found. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if one or more of the fields specified in the spec parameter cannot be modified due to the current power state of the virtual machine or the connection state of the virtual disk. |
vmware.vapi.std.errors.ResourceBusy | if the virtual machine is busy performing another operation. |
vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
disk | Virtual disk identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk . |
spec | Specification for updating the virtual disk. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm::hardware::DiskStub.
void vmware::vcenter::vm::hardware::Disk::Update | ( | string | vm, |
string | disk, | ||
vmware.vcenter.vm.hardware.DiskTypes.UpdateSpec | spec | ||
) |
Updates the configuration of a virtual disk.
An update method can be used to detach the existing VMDK file and attach another VMDK file to the virtual machine.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the virtual machine or virtual disk is not found. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if one or more of the fields specified in the spec parameter cannot be modified due to the current power state of the virtual machine or the connection state of the virtual disk. |
vmware.vapi.std.errors.ResourceBusy | if the virtual machine is busy performing another operation. |
vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
disk | Virtual disk identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk . |
spec | Specification for updating the virtual disk. |
Implemented in vmware::vcenter::vm::hardware::DiskStub.
global::System.Threading.Tasks.Task vmware::vcenter::vm::hardware::Disk::UpdateAsync | ( | string | vm, |
string | disk, | ||
vmware.vcenter.vm.hardware.DiskTypes.UpdateSpec | spec | ||
) |
Updates the configuration of a virtual disk.
An update method can be used to detach the existing VMDK file and attach another VMDK file to the virtual machine.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the virtual machine or virtual disk is not found. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if one or more of the fields specified in the spec parameter cannot be modified due to the current power state of the virtual machine or the connection state of the virtual disk. |
vmware.vapi.std.errors.ResourceBusy | if the virtual machine is busy performing another operation. |
vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
disk | Virtual disk identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk . |
spec | Specification for updating the virtual disk. |
Implemented in vmware::vcenter::vm::hardware::DiskStub.
global::System.Threading.Tasks.Task vmware::vcenter::vm::hardware::Disk::UpdateAsync | ( | string | vm, |
string | disk, | ||
vmware.vcenter.vm.hardware.DiskTypes.UpdateSpec | spec, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Updates the configuration of a virtual disk.
An update method can be used to detach the existing VMDK file and attach another VMDK file to the virtual machine.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the virtual machine or virtual disk is not found. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if one or more of the fields specified in the spec parameter cannot be modified due to the current power state of the virtual machine or the connection state of the virtual disk. |
vmware.vapi.std.errors.ResourceBusy | if the virtual machine is busy performing another operation. |
vmware.vapi.std.errors.ResourceInaccessible | if the virtual machine's configuration state cannot be accessed. |
vmware.vapi.std.errors.ServiceUnavailable | if the system is unable to communicate with a service to complete the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user doesn't have the required privileges. |
vm | Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine . |
disk | Virtual disk identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk . |
spec | Specification for updating the virtual disk. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm::hardware::DiskStub.