VMware vSphere Automation SDK for .NET 7.0.0.1
|
The Serial
interface provides methods for configuring the virtual serial ports of a virtual machine.
More...
Inherited by vmware::vcenter::vm::hardware::SerialStub.
Public Member Functions | |
global::System.Collections.Generic.List < vmware.vcenter.vm.hardware.SerialTypes.Summary > | List (string vm) |
Returns commonly used information about the virtual serial ports belonging to the virtual machine. | |
global::System.Collections.Generic.List < vmware.vcenter.vm.hardware.SerialTypes.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 serial ports belonging to the virtual machine. | |
global::System.Threading.Tasks.Task < global::System.Collections.Generic.List < vmware.vcenter.vm.hardware.SerialTypes.Summary > > | ListAsync (string vm) |
Returns commonly used information about the virtual serial ports belonging to the virtual machine. | |
global::System.Threading.Tasks.Task < global::System.Collections.Generic.List < vmware.vcenter.vm.hardware.SerialTypes.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 serial ports belonging to the virtual machine. | |
vmware.vcenter.vm.hardware.SerialTypes.Info | Get (string vm, string port) |
Returns information about a virtual serial port. | |
vmware.vcenter.vm.hardware.SerialTypes.Info | Get (string vm, string port, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Returns information about a virtual serial port. | |
global::System.Threading.Tasks.Task < vmware.vcenter.vm.hardware.SerialTypes.Info > | GetAsync (string vm, string port) |
Returns information about a virtual serial port. | |
global::System.Threading.Tasks.Task < vmware.vcenter.vm.hardware.SerialTypes.Info > | GetAsync (string vm, string port, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Returns information about a virtual serial port. | |
string | Create (string vm, vmware.vcenter.vm.hardware.SerialTypes.CreateSpec spec) |
Adds a virtual serial port to the virtual machine. | |
string | Create (string vm, vmware.vcenter.vm.hardware.SerialTypes.CreateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Adds a virtual serial port to the virtual machine. | |
global::System.Threading.Tasks.Task < string > | CreateAsync (string vm, vmware.vcenter.vm.hardware.SerialTypes.CreateSpec spec) |
Adds a virtual serial port to the virtual machine. | |
global::System.Threading.Tasks.Task < string > | CreateAsync (string vm, vmware.vcenter.vm.hardware.SerialTypes.CreateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Adds a virtual serial port to the virtual machine. | |
void | Update (string vm, string port, vmware.vcenter.vm.hardware.SerialTypes.UpdateSpec spec) |
Updates the configuration of a virtual serial port. | |
void | Update (string vm, string port, vmware.vcenter.vm.hardware.SerialTypes.UpdateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Updates the configuration of a virtual serial port. | |
global::System.Threading.Tasks.Task | UpdateAsync (string vm, string port, vmware.vcenter.vm.hardware.SerialTypes.UpdateSpec spec) |
Updates the configuration of a virtual serial port. | |
global::System.Threading.Tasks.Task | UpdateAsync (string vm, string port, vmware.vcenter.vm.hardware.SerialTypes.UpdateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Updates the configuration of a virtual serial port. | |
void | Delete (string vm, string port) |
Removes a virtual serial port from the virtual machine. | |
void | Delete (string vm, string port, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Removes a virtual serial port from the virtual machine. | |
global::System.Threading.Tasks.Task | DeleteAsync (string vm, string port) |
Removes a virtual serial port from the virtual machine. | |
global::System.Threading.Tasks.Task | DeleteAsync (string vm, string port, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Removes a virtual serial port from the virtual machine. | |
void | Connect (string vm, string port) |
Connects a virtual serial port of a powered-on virtual machine to its backing. | |
void | Connect (string vm, string port, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Connects a virtual serial port of a powered-on virtual machine to its backing. | |
global::System.Threading.Tasks.Task | ConnectAsync (string vm, string port) |
Connects a virtual serial port of a powered-on virtual machine to its backing. | |
global::System.Threading.Tasks.Task | ConnectAsync (string vm, string port, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Connects a virtual serial port of a powered-on virtual machine to its backing. | |
void | Disconnect (string vm, string port) |
Disconnects a virtual serial port of a powered-on virtual machine from its backing. | |
void | Disconnect (string vm, string port, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Disconnects a virtual serial port of a powered-on virtual machine from its backing. | |
global::System.Threading.Tasks.Task | DisconnectAsync (string vm, string port) |
Disconnects a virtual serial port of a powered-on virtual machine from its backing. | |
global::System.Threading.Tasks.Task | DisconnectAsync (string vm, string port, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Disconnects a virtual serial port of a powered-on virtual machine from its backing. |
The Serial
interface provides methods for configuring the virtual serial ports of a virtual machine.
void vmware::vcenter::vm::hardware::Serial::Connect | ( | string | vm, |
string | port | ||
) |
Connects a virtual serial port of a powered-on virtual machine to its backing.
Connecting the virtual device makes the backing accessible from the perspective of the guest operating system.
For a powered-off virtual machine, the Serial.Update method may be used to configure the virtual serial port to start in the connected state when the virtual machine is powered on.
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 serial port is not found. |
vmware.vapi.std.errors.AlreadyInDesiredState | if the virtual serial port is already connected. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is not powered on. |
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 . |
port | Virtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort . |
Implemented in vmware::vcenter::vm::hardware::SerialStub.
void vmware::vcenter::vm::hardware::Serial::Connect | ( | string | vm, |
string | port, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Connects a virtual serial port of a powered-on virtual machine to its backing.
Connecting the virtual device makes the backing accessible from the perspective of the guest operating system.
For a powered-off virtual machine, the Serial.Update method may be used to configure the virtual serial port to start in the connected state when the virtual machine is powered on.
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 serial port is not found. |
vmware.vapi.std.errors.AlreadyInDesiredState | if the virtual serial port is already connected. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is not powered on. |
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 . |
port | Virtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm::hardware::SerialStub.
global::System.Threading.Tasks.Task vmware::vcenter::vm::hardware::Serial::ConnectAsync | ( | string | vm, |
string | port | ||
) |
Connects a virtual serial port of a powered-on virtual machine to its backing.
Connecting the virtual device makes the backing accessible from the perspective of the guest operating system.
For a powered-off virtual machine, the Serial.Update method may be used to configure the virtual serial port to start in the connected state when the virtual machine is powered on.
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 serial port is not found. |
vmware.vapi.std.errors.AlreadyInDesiredState | if the virtual serial port is already connected. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is not powered on. |
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 . |
port | Virtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort . |
Implemented in vmware::vcenter::vm::hardware::SerialStub.
global::System.Threading.Tasks.Task vmware::vcenter::vm::hardware::Serial::ConnectAsync | ( | string | vm, |
string | port, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Connects a virtual serial port of a powered-on virtual machine to its backing.
Connecting the virtual device makes the backing accessible from the perspective of the guest operating system.
For a powered-off virtual machine, the Serial.Update method may be used to configure the virtual serial port to start in the connected state when the virtual machine is powered on.
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 serial port is not found. |
vmware.vapi.std.errors.AlreadyInDesiredState | if the virtual serial port is already connected. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is not powered on. |
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 . |
port | Virtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm::hardware::SerialStub.
string vmware::vcenter::vm::hardware::Serial::Create | ( | string | vm, |
vmware.vcenter.vm.hardware.SerialTypes.CreateSpec | spec | ||
) |
Adds a virtual serial port to the virtual machine.
vmware.vapi.std.errors.Error | if the system reported that the serial port 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 not powered off. |
vmware.vapi.std.errors.UnableToAllocateResource | if the virtual machine already has the maximum number of supported serial ports. |
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 . |
spec | Specification for the new virtual serial port. |
com.vmware.vcenter.vm.hardware.SerialPort
. Implemented in vmware::vcenter::vm::hardware::SerialStub.
string vmware::vcenter::vm::hardware::Serial::Create | ( | string | vm, |
vmware.vcenter.vm.hardware.SerialTypes.CreateSpec | spec, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Adds a virtual serial port to the virtual machine.
vmware.vapi.std.errors.Error | if the system reported that the serial port 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 not powered off. |
vmware.vapi.std.errors.UnableToAllocateResource | if the virtual machine already has the maximum number of supported serial ports. |
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 . |
spec | Specification for the new virtual serial port. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
com.vmware.vcenter.vm.hardware.SerialPort
. Implemented in vmware::vcenter::vm::hardware::SerialStub.
global::System.Threading.Tasks.Task<string> vmware::vcenter::vm::hardware::Serial::CreateAsync | ( | string | vm, |
vmware.vcenter.vm.hardware.SerialTypes.CreateSpec | spec | ||
) |
Adds a virtual serial port to the virtual machine.
vmware.vapi.std.errors.Error | if the system reported that the serial port 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 not powered off. |
vmware.vapi.std.errors.UnableToAllocateResource | if the virtual machine already has the maximum number of supported serial ports. |
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 . |
spec | Specification for the new virtual serial port. |
com.vmware.vcenter.vm.hardware.SerialPort
. Implemented in vmware::vcenter::vm::hardware::SerialStub.
global::System.Threading.Tasks.Task<string> vmware::vcenter::vm::hardware::Serial::CreateAsync | ( | string | vm, |
vmware.vcenter.vm.hardware.SerialTypes.CreateSpec | spec, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Adds a virtual serial port to the virtual machine.
vmware.vapi.std.errors.Error | if the system reported that the serial port 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 not powered off. |
vmware.vapi.std.errors.UnableToAllocateResource | if the virtual machine already has the maximum number of supported serial ports. |
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 . |
spec | Specification for the new virtual serial port. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
com.vmware.vcenter.vm.hardware.SerialPort
. Implemented in vmware::vcenter::vm::hardware::SerialStub.
void vmware::vcenter::vm::hardware::Serial::Delete | ( | string | vm, |
string | port | ||
) |
Removes a virtual serial port from 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 serial port is not found. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is not powered off. |
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 . |
port | Virtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort . |
Implemented in vmware::vcenter::vm::hardware::SerialStub.
void vmware::vcenter::vm::hardware::Serial::Delete | ( | string | vm, |
string | port, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Removes a virtual serial port from 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 serial port is not found. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is not powered off. |
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 . |
port | Virtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm::hardware::SerialStub.
global::System.Threading.Tasks.Task vmware::vcenter::vm::hardware::Serial::DeleteAsync | ( | string | vm, |
string | port | ||
) |
Removes a virtual serial port from 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 serial port is not found. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is not powered off. |
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 . |
port | Virtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort . |
Implemented in vmware::vcenter::vm::hardware::SerialStub.
global::System.Threading.Tasks.Task vmware::vcenter::vm::hardware::Serial::DeleteAsync | ( | string | vm, |
string | port, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Removes a virtual serial port from 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 serial port is not found. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is not powered off. |
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 . |
port | Virtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm::hardware::SerialStub.
void vmware::vcenter::vm::hardware::Serial::Disconnect | ( | string | vm, |
string | port | ||
) |
Disconnects a virtual serial port of a powered-on virtual machine from its backing.
The virtual device is still present and its backing configuration is unchanged, but from the perspective of the guest operating system, the serial port is not connected to its backing.
For a powered-off virtual machine, the Serial.Update method may be used to configure the virtual serial port to start in the disconnected state when the virtual machine is powered on.
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 serial port is not found. |
vmware.vapi.std.errors.AlreadyInDesiredState | if the virtual serial port is already disconnected. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is not powered on. |
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 . |
port | Virtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort . |
Implemented in vmware::vcenter::vm::hardware::SerialStub.
void vmware::vcenter::vm::hardware::Serial::Disconnect | ( | string | vm, |
string | port, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Disconnects a virtual serial port of a powered-on virtual machine from its backing.
The virtual device is still present and its backing configuration is unchanged, but from the perspective of the guest operating system, the serial port is not connected to its backing.
For a powered-off virtual machine, the Serial.Update method may be used to configure the virtual serial port to start in the disconnected state when the virtual machine is powered on.
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 serial port is not found. |
vmware.vapi.std.errors.AlreadyInDesiredState | if the virtual serial port is already disconnected. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is not powered on. |
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 . |
port | Virtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm::hardware::SerialStub.
global::System.Threading.Tasks.Task vmware::vcenter::vm::hardware::Serial::DisconnectAsync | ( | string | vm, |
string | port | ||
) |
Disconnects a virtual serial port of a powered-on virtual machine from its backing.
The virtual device is still present and its backing configuration is unchanged, but from the perspective of the guest operating system, the serial port is not connected to its backing.
For a powered-off virtual machine, the Serial.Update method may be used to configure the virtual serial port to start in the disconnected state when the virtual machine is powered on.
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 serial port is not found. |
vmware.vapi.std.errors.AlreadyInDesiredState | if the virtual serial port is already disconnected. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is not powered on. |
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 . |
port | Virtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort . |
Implemented in vmware::vcenter::vm::hardware::SerialStub.
global::System.Threading.Tasks.Task vmware::vcenter::vm::hardware::Serial::DisconnectAsync | ( | string | vm, |
string | port, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Disconnects a virtual serial port of a powered-on virtual machine from its backing.
The virtual device is still present and its backing configuration is unchanged, but from the perspective of the guest operating system, the serial port is not connected to its backing.
For a powered-off virtual machine, the Serial.Update method may be used to configure the virtual serial port to start in the disconnected state when the virtual machine is powered on.
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 serial port is not found. |
vmware.vapi.std.errors.AlreadyInDesiredState | if the virtual serial port is already disconnected. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the virtual machine is not powered on. |
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 . |
port | Virtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm::hardware::SerialStub.
vmware.vcenter.vm.hardware.SerialTypes.Info vmware::vcenter::vm::hardware::Serial::Get | ( | string | vm, |
string | port, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Returns information about a virtual serial port.
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 serial port 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 . |
port | Virtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm::hardware::SerialStub.
vmware.vcenter.vm.hardware.SerialTypes.Info vmware::vcenter::vm::hardware::Serial::Get | ( | string | vm, |
string | port | ||
) |
Returns information about a virtual serial port.
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 serial port 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 . |
port | Virtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort . |
Implemented in vmware::vcenter::vm::hardware::SerialStub.
global::System.Threading.Tasks.Task<vmware.vcenter.vm.hardware.SerialTypes.Info> vmware::vcenter::vm::hardware::Serial::GetAsync | ( | string | vm, |
string | port, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Returns information about a virtual serial port.
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 serial port 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 . |
port | Virtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm::hardware::SerialStub.
global::System.Threading.Tasks.Task<vmware.vcenter.vm.hardware.SerialTypes.Info> vmware::vcenter::vm::hardware::Serial::GetAsync | ( | string | vm, |
string | port | ||
) |
Returns information about a virtual serial port.
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 serial port 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 . |
port | Virtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort . |
Implemented in vmware::vcenter::vm::hardware::SerialStub.
global::System.Collections.Generic.List<vmware.vcenter.vm.hardware.SerialTypes.Summary> vmware::vcenter::vm::hardware::Serial::List | ( | string | vm | ) |
Returns commonly used information about the virtual serial ports 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::SerialStub.
global::System.Collections.Generic.List<vmware.vcenter.vm.hardware.SerialTypes.Summary> vmware::vcenter::vm::hardware::Serial::List | ( | string | vm, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Returns commonly used information about the virtual serial ports 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::SerialStub.
global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vcenter.vm.hardware.SerialTypes.Summary> > vmware::vcenter::vm::hardware::Serial::ListAsync | ( | string | vm | ) |
Returns commonly used information about the virtual serial ports 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::SerialStub.
global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vcenter.vm.hardware.SerialTypes.Summary> > vmware::vcenter::vm::hardware::Serial::ListAsync | ( | string | vm, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Returns commonly used information about the virtual serial ports 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::SerialStub.
void vmware::vcenter::vm::hardware::Serial::Update | ( | string | vm, |
string | port, | ||
vmware.vcenter.vm.hardware.SerialTypes.UpdateSpec | spec, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Updates the configuration of a virtual serial port.
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 serial port 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 serial port. |
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 . |
port | Virtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort . |
spec | Specification for updating the virtual serial port. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm::hardware::SerialStub.
void vmware::vcenter::vm::hardware::Serial::Update | ( | string | vm, |
string | port, | ||
vmware.vcenter.vm.hardware.SerialTypes.UpdateSpec | spec | ||
) |
Updates the configuration of a virtual serial port.
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 serial port 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 serial port. |
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 . |
port | Virtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort . |
spec | Specification for updating the virtual serial port. |
Implemented in vmware::vcenter::vm::hardware::SerialStub.
global::System.Threading.Tasks.Task vmware::vcenter::vm::hardware::Serial::UpdateAsync | ( | string | vm, |
string | port, | ||
vmware.vcenter.vm.hardware.SerialTypes.UpdateSpec | spec, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Updates the configuration of a virtual serial port.
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 serial port 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 serial port. |
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 . |
port | Virtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort . |
spec | Specification for updating the virtual serial port. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::vm::hardware::SerialStub.
global::System.Threading.Tasks.Task vmware::vcenter::vm::hardware::Serial::UpdateAsync | ( | string | vm, |
string | port, | ||
vmware.vcenter.vm.hardware.SerialTypes.UpdateSpec | spec | ||
) |
Updates the configuration of a virtual serial port.
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 serial port 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 serial port. |
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 . |
port | Virtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort . |
spec | Specification for updating the virtual serial port. |
Implemented in vmware::vcenter::vm::hardware::SerialStub.