VMware vSphere Automation SDK for .NET 7.0.0.1
|
Remote stub implementation of the Image API service. More...
Inherits vmware::vcenter::iso::Image.
Public Member Functions | |
ImageStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.TypeConverter typeConverter, vmware.vapi.bindings.IStubConfiguration config) | |
ImageStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.IStubConfiguration config) | |
string | Mount (string libraryItem, string vm) |
Mounts an ISO image from a content library on a virtual machine. | |
string | Mount (string libraryItem, string vm, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Mounts an ISO image from a content library on a virtual machine. | |
global::System.Threading.Tasks.Task < string > | MountAsync (string libraryItem, string vm) |
Mounts an ISO image from a content library on a virtual machine. | |
global::System.Threading.Tasks.Task < string > | MountAsync (string libraryItem, string vm, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Mounts an ISO image from a content library on a virtual machine. | |
void | Unmount (string vm, string cdrom) |
Unmounts a previously mounted CD-ROM using an ISO image as a backing. | |
void | Unmount (string vm, string cdrom, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Unmounts a previously mounted CD-ROM using an ISO image as a backing. | |
global::System.Threading.Tasks.Task | UnmountAsync (string vm, string cdrom) |
Unmounts a previously mounted CD-ROM using an ISO image as a backing. | |
global::System.Threading.Tasks.Task | UnmountAsync (string vm, string cdrom, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Unmounts a previously mounted CD-ROM using an ISO image as a backing. |
Remote stub implementation of the Image API service.
vmware::vcenter::iso::ImageStub::ImageStub | ( | vmware.vapi.core.IApiProvider | iApiProvider, |
vmware.vapi.bindings.TypeConverter | typeConverter, | ||
vmware.vapi.bindings.IStubConfiguration | config | ||
) | [inline] |
vmware::vcenter::iso::ImageStub::ImageStub | ( | vmware.vapi.core.IApiProvider | iApiProvider, |
vmware.vapi.bindings.IStubConfiguration | config | ||
) | [inline] |
string vmware::vcenter::iso::ImageStub::Mount | ( | string | libraryItem, |
string | vm | ||
) | [inline] |
Mounts an ISO image from a content library on a virtual machine.
vmware.vapi.std.errors.NotFound | If either vm or the libraryItem is not found. |
vmware.vapi.std.errors.InvalidArgument | If no .iso file is present on the library item. |
vmware.vapi.std.errors.NotAllowedInCurrentState | When the operation is not allowed on the virtual machine in its current state. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
libraryItem | The identifier of the library item having the ISO image to mount on the virtual machine. The parameter must be an identifier for the resource type: com.vmware.content.library.Item . |
vm | The identifier of the virtual machine where the specified ISO image will be mounted. The parameter must be an identifier for the resource type: VirtualMachine . |
com.vmware.vcenter.vm.hardware.Cdrom
. Implements vmware::vcenter::iso::Image.
string vmware::vcenter::iso::ImageStub::Mount | ( | string | libraryItem, |
string | vm, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Mounts an ISO image from a content library on a virtual machine.
vmware.vapi.std.errors.NotFound | If either vm or the libraryItem is not found. |
vmware.vapi.std.errors.InvalidArgument | If no .iso file is present on the library item. |
vmware.vapi.std.errors.NotAllowedInCurrentState | When the operation is not allowed on the virtual machine in its current state. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
libraryItem | The identifier of the library item having the ISO image to mount on the virtual machine. The parameter must be an identifier for the resource type: com.vmware.content.library.Item . |
vm | The identifier of the virtual machine where the specified ISO image will be mounted. The parameter must be an identifier for the resource type: VirtualMachine . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
com.vmware.vcenter.vm.hardware.Cdrom
. Implements vmware::vcenter::iso::Image.
global::System.Threading.Tasks.Task<string> vmware::vcenter::iso::ImageStub::MountAsync | ( | string | libraryItem, |
string | vm, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Mounts an ISO image from a content library on a virtual machine.
vmware.vapi.std.errors.NotFound | If either vm or the libraryItem is not found. |
vmware.vapi.std.errors.InvalidArgument | If no .iso file is present on the library item. |
vmware.vapi.std.errors.NotAllowedInCurrentState | When the operation is not allowed on the virtual machine in its current state. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
libraryItem | The identifier of the library item having the ISO image to mount on the virtual machine. The parameter must be an identifier for the resource type: com.vmware.content.library.Item . |
vm | The identifier of the virtual machine where the specified ISO image will be mounted. The parameter must be an identifier for the resource type: VirtualMachine . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
com.vmware.vcenter.vm.hardware.Cdrom
. Implements vmware::vcenter::iso::Image.
global::System.Threading.Tasks.Task<string> vmware::vcenter::iso::ImageStub::MountAsync | ( | string | libraryItem, |
string | vm | ||
) | [inline] |
Mounts an ISO image from a content library on a virtual machine.
vmware.vapi.std.errors.NotFound | If either vm or the libraryItem is not found. |
vmware.vapi.std.errors.InvalidArgument | If no .iso file is present on the library item. |
vmware.vapi.std.errors.NotAllowedInCurrentState | When the operation is not allowed on the virtual machine in its current state. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
libraryItem | The identifier of the library item having the ISO image to mount on the virtual machine. The parameter must be an identifier for the resource type: com.vmware.content.library.Item . |
vm | The identifier of the virtual machine where the specified ISO image will be mounted. The parameter must be an identifier for the resource type: VirtualMachine . |
com.vmware.vcenter.vm.hardware.Cdrom
. Implements vmware::vcenter::iso::Image.
void vmware::vcenter::iso::ImageStub::Unmount | ( | string | vm, |
string | cdrom | ||
) | [inline] |
Unmounts a previously mounted CD-ROM using an ISO image as a backing.
vmware.vapi.std.errors.NotFound | If the virtual machine identified by vm is not found or the cdrom does not identify a virtual CD-ROM in the virtual machine. |
vmware.vapi.std.errors.NotAllowedInCurrentState | When the operation is not allowed on the virtual machine in its current state. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
vm | The identifier of the virtual machine from which to unmount the virtual CD-ROM. The parameter must be an identifier for the resource type: VirtualMachine . |
cdrom | The device identifier of the CD-ROM. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Cdrom . |
Implements vmware::vcenter::iso::Image.
void vmware::vcenter::iso::ImageStub::Unmount | ( | string | vm, |
string | cdrom, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Unmounts a previously mounted CD-ROM using an ISO image as a backing.
vmware.vapi.std.errors.NotFound | If the virtual machine identified by vm is not found or the cdrom does not identify a virtual CD-ROM in the virtual machine. |
vmware.vapi.std.errors.NotAllowedInCurrentState | When the operation is not allowed on the virtual machine in its current state. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
vm | The identifier of the virtual machine from which to unmount the virtual CD-ROM. The parameter must be an identifier for the resource type: VirtualMachine . |
cdrom | The device identifier of the CD-ROM. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Cdrom . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implements vmware::vcenter::iso::Image.
global::System.Threading.Tasks.Task vmware::vcenter::iso::ImageStub::UnmountAsync | ( | string | vm, |
string | cdrom, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Unmounts a previously mounted CD-ROM using an ISO image as a backing.
vmware.vapi.std.errors.NotFound | If the virtual machine identified by vm is not found or the cdrom does not identify a virtual CD-ROM in the virtual machine. |
vmware.vapi.std.errors.NotAllowedInCurrentState | When the operation is not allowed on the virtual machine in its current state. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
vm | The identifier of the virtual machine from which to unmount the virtual CD-ROM. The parameter must be an identifier for the resource type: VirtualMachine . |
cdrom | The device identifier of the CD-ROM. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Cdrom . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implements vmware::vcenter::iso::Image.
global::System.Threading.Tasks.Task vmware::vcenter::iso::ImageStub::UnmountAsync | ( | string | vm, |
string | cdrom | ||
) | [inline] |
Unmounts a previously mounted CD-ROM using an ISO image as a backing.
vmware.vapi.std.errors.NotFound | If the virtual machine identified by vm is not found or the cdrom does not identify a virtual CD-ROM in the virtual machine. |
vmware.vapi.std.errors.NotAllowedInCurrentState | When the operation is not allowed on the virtual machine in its current state. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
vm | The identifier of the virtual machine from which to unmount the virtual CD-ROM. The parameter must be an identifier for the resource type: VirtualMachine . |
cdrom | The device identifier of the CD-ROM. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Cdrom . |
Implements vmware::vcenter::iso::Image.