VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::vcenter::vm::hardware::Serial Interface Reference

The Serial interface provides methods for configuring the virtual serial ports of a virtual machine. More...

Inherited by vmware::vcenter::vm::hardware::SerialStub.

List of all members.

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.

Detailed Description

The Serial interface provides methods for configuring the virtual serial ports of a virtual machine.


Member Function Documentation

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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine or virtual serial port is not found.
vmware.vapi.std.errors.AlreadyInDesiredStateif the virtual serial port is already connected.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the virtual machine is not powered on.
vmware.vapi.std.errors.ResourceBusyif the virtual machine is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
portVirtual 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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine or virtual serial port is not found.
vmware.vapi.std.errors.AlreadyInDesiredStateif the virtual serial port is already connected.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the virtual machine is not powered on.
vmware.vapi.std.errors.ResourceBusyif the virtual machine is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
portVirtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort .
_progressProgress notification call back
_invocationConfigConfiguration 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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine or virtual serial port is not found.
vmware.vapi.std.errors.AlreadyInDesiredStateif the virtual serial port is already connected.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the virtual machine is not powered on.
vmware.vapi.std.errors.ResourceBusyif the virtual machine is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
portVirtual 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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine or virtual serial port is not found.
vmware.vapi.std.errors.AlreadyInDesiredStateif the virtual serial port is already connected.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the virtual machine is not powered on.
vmware.vapi.std.errors.ResourceBusyif the virtual machine is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
portVirtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort .
_progressProgress notification call back
_invocationConfigConfiguration 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.

Exceptions:
vmware.vapi.std.errors.Errorif 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.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine is not found.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the virtual machine is not powered off.
vmware.vapi.std.errors.UnableToAllocateResourceif the virtual machine already has the maximum number of supported serial ports.
vmware.vapi.std.errors.ResourceBusyif the virtual machine is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
specSpecification for the new virtual serial port.
Returns:
Virtual serial port identifier. The result will be an identifier for the resource type: 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.

Exceptions:
vmware.vapi.std.errors.Errorif 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.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine is not found.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the virtual machine is not powered off.
vmware.vapi.std.errors.UnableToAllocateResourceif the virtual machine already has the maximum number of supported serial ports.
vmware.vapi.std.errors.ResourceBusyif the virtual machine is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
specSpecification for the new virtual serial port.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Virtual serial port identifier. The result will 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<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.

Exceptions:
vmware.vapi.std.errors.Errorif 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.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine is not found.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the virtual machine is not powered off.
vmware.vapi.std.errors.UnableToAllocateResourceif the virtual machine already has the maximum number of supported serial ports.
vmware.vapi.std.errors.ResourceBusyif the virtual machine is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
specSpecification for the new virtual serial port.
Returns:
Virtual serial port identifier. The result will 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<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.

Exceptions:
vmware.vapi.std.errors.Errorif 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.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine is not found.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the virtual machine is not powered off.
vmware.vapi.std.errors.UnableToAllocateResourceif the virtual machine already has the maximum number of supported serial ports.
vmware.vapi.std.errors.ResourceBusyif the virtual machine is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
specSpecification for the new virtual serial port.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Virtual serial port identifier. The result will 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 
)

Removes a virtual serial port from the virtual machine.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine or virtual serial port is not found.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the virtual machine is not powered off.
vmware.vapi.std.errors.ResourceBusyif the virtual machine is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
portVirtual 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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine or virtual serial port is not found.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the virtual machine is not powered off.
vmware.vapi.std.errors.ResourceBusyif the virtual machine is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
portVirtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort .
_progressProgress notification call back
_invocationConfigConfiguration 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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine or virtual serial port is not found.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the virtual machine is not powered off.
vmware.vapi.std.errors.ResourceBusyif the virtual machine is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
portVirtual 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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine or virtual serial port is not found.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the virtual machine is not powered off.
vmware.vapi.std.errors.ResourceBusyif the virtual machine is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
portVirtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort .
_progressProgress notification call back
_invocationConfigConfiguration 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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine or virtual serial port is not found.
vmware.vapi.std.errors.AlreadyInDesiredStateif the virtual serial port is already disconnected.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the virtual machine is not powered on.
vmware.vapi.std.errors.ResourceBusyif the virtual machine is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
portVirtual 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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine or virtual serial port is not found.
vmware.vapi.std.errors.AlreadyInDesiredStateif the virtual serial port is already disconnected.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the virtual machine is not powered on.
vmware.vapi.std.errors.ResourceBusyif the virtual machine is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
portVirtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort .
_progressProgress notification call back
_invocationConfigConfiguration 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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine or virtual serial port is not found.
vmware.vapi.std.errors.AlreadyInDesiredStateif the virtual serial port is already disconnected.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the virtual machine is not powered on.
vmware.vapi.std.errors.ResourceBusyif the virtual machine is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
portVirtual 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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine or virtual serial port is not found.
vmware.vapi.std.errors.AlreadyInDesiredStateif the virtual serial port is already disconnected.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the virtual machine is not powered on.
vmware.vapi.std.errors.ResourceBusyif the virtual machine is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
portVirtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort .
_progressProgress notification call back
_invocationConfigConfiguration 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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine or virtual serial port is not found.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
portVirtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Information about the specified virtual serial port.

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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine or virtual serial port is not found.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
portVirtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort .
Returns:
Information about the specified virtual serial port.

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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine or virtual serial port is not found.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
portVirtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Information about the specified virtual serial port.

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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine or virtual serial port is not found.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
portVirtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort .
Returns:
Information about the specified virtual serial port.

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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine is not found.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
Returns:
List of commonly used information about virtual serial ports.

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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine is not found.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
List of commonly used information about virtual serial ports.

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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine is not found.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
Returns:
List of commonly used information about virtual serial ports.

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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine is not found.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
List of commonly used information about virtual serial ports.

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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine or virtual serial port is not found.
vmware.vapi.std.errors.NotAllowedInCurrentStateif 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.ResourceBusyif the virtual machine is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
portVirtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort .
specSpecification for updating the virtual serial port.
_progressProgress notification call back
_invocationConfigConfiguration 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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine or virtual serial port is not found.
vmware.vapi.std.errors.NotAllowedInCurrentStateif 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.ResourceBusyif the virtual machine is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
portVirtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort .
specSpecification 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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine or virtual serial port is not found.
vmware.vapi.std.errors.NotAllowedInCurrentStateif 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.ResourceBusyif the virtual machine is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
portVirtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort .
specSpecification for updating the virtual serial port.
_progressProgress notification call back
_invocationConfigConfiguration 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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the virtual machine or virtual serial port is not found.
vmware.vapi.std.errors.NotAllowedInCurrentStateif 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.ResourceBusyif the virtual machine is busy performing another operation.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
vmware.vapi.std.errors.ServiceUnavailableif the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user doesn't have the required privileges.
Parameters:
vmVirtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine .
portVirtual serial port identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.SerialPort .
specSpecification for updating the virtual serial port.

Implemented in vmware::vcenter::vm::hardware::SerialStub.


The documentation for this interface was generated from the following file: