VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::vcenter::vm::console::TicketsStub Class Reference

Remote stub implementation of the Tickets API service. More...

Inherits vmware::vcenter::vm::console::Tickets.

List of all members.

Public Member Functions

 TicketsStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.TypeConverter typeConverter, vmware.vapi.bindings.IStubConfiguration config)
 TicketsStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.IStubConfiguration config)
vmware.vcenter.vm.console.TicketsTypes.Summary Create (string vm, vmware.vcenter.vm.console.TicketsTypes.CreateSpec spec)
 Creates a virtual machine console ticket of a given ticket type.
vmware.vcenter.vm.console.TicketsTypes.Summary Create (string vm, vmware.vcenter.vm.console.TicketsTypes.CreateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Creates a virtual machine console ticket of a given ticket type.
global::System.Threading.Tasks.Task
< vmware.vcenter.vm.console.TicketsTypes.Summary
CreateAsync (string vm, vmware.vcenter.vm.console.TicketsTypes.CreateSpec spec)
 Creates a virtual machine console ticket of a given ticket type.
global::System.Threading.Tasks.Task
< vmware.vcenter.vm.console.TicketsTypes.Summary
CreateAsync (string vm, vmware.vcenter.vm.console.TicketsTypes.CreateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Creates a virtual machine console ticket of a given ticket type.

Detailed Description

Remote stub implementation of the Tickets API service.


Constructor & Destructor Documentation

vmware::vcenter::vm::console::TicketsStub::TicketsStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.TypeConverter  typeConverter,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]
vmware::vcenter::vm::console::TicketsStub::TicketsStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]

Member Function Documentation

vmware.vcenter.vm.console.TicketsTypes.Summary vmware::vcenter::vm::console::TicketsStub::Create ( string  vm,
vmware.vcenter.vm.console.TicketsTypes.CreateSpec  spec 
) [inline]

Creates a virtual machine console ticket of a given ticket type.

The created ticket is a one time use URI. The validity of the ticket is 30 minutes, if not used with in the time frame the ticket expires.

The Tickets.Type.VMRC ticket contains the IP address or the DNS resolvable name of the vCenter server. This ticket requires installation of VMware Workstation, VMware Fusion or VMRC to be installed on the machine where the ticket has to be opened. This ticket can be acquired even when the VM is turned off.

The Tickets.Type.WEBMKS ticket contains the IP address of the DNS resolvable name of the ESX server. This ticket requires user to embed this ticket in a HTML page using VMware HTML Console SDK - https://www.vmware.com/support/developer/html-console This ticket can be acquired only when the VM is turned on.. Warning: This method is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif the field contains a value that is not supported by the server.
Exceptions:
vmware.vapi.std.errors.NotAllowedInCurrentStateif the virtual machine is powered off and requested ticket type is Tickets.Type.WEBMKS
vmware.vapi.std.errors.NotFoundif the virtual machine is not found.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration or execution 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 console ticket to be created.
Returns:
Commonly used information about the virtual machine console ticket.

Implements vmware::vcenter::vm::console::Tickets.

vmware.vcenter.vm.console.TicketsTypes.Summary vmware::vcenter::vm::console::TicketsStub::Create ( string  vm,
vmware.vcenter.vm.console.TicketsTypes.CreateSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Creates a virtual machine console ticket of a given ticket type.

The created ticket is a one time use URI. The validity of the ticket is 30 minutes, if not used with in the time frame the ticket expires.

The Tickets.Type.VMRC ticket contains the IP address or the DNS resolvable name of the vCenter server. This ticket requires installation of VMware Workstation, VMware Fusion or VMRC to be installed on the machine where the ticket has to be opened. This ticket can be acquired even when the VM is turned off.

The Tickets.Type.WEBMKS ticket contains the IP address of the DNS resolvable name of the ESX server. This ticket requires user to embed this ticket in a HTML page using VMware HTML Console SDK - https://www.vmware.com/support/developer/html-console This ticket can be acquired only when the VM is turned on.. Warning: This method is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif the field contains a value that is not supported by the server.
Exceptions:
vmware.vapi.std.errors.NotAllowedInCurrentStateif the virtual machine is powered off and requested ticket type is Tickets.Type.WEBMKS
vmware.vapi.std.errors.NotFoundif the virtual machine is not found.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration or execution 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 console ticket to be created.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Commonly used information about the virtual machine console ticket.

Implements vmware::vcenter::vm::console::Tickets.

global::System.Threading.Tasks.Task<vmware.vcenter.vm.console.TicketsTypes.Summary> vmware::vcenter::vm::console::TicketsStub::CreateAsync ( string  vm,
vmware.vcenter.vm.console.TicketsTypes.CreateSpec  spec 
) [inline]

Creates a virtual machine console ticket of a given ticket type.

The created ticket is a one time use URI. The validity of the ticket is 30 minutes, if not used with in the time frame the ticket expires.

The Tickets.Type.VMRC ticket contains the IP address or the DNS resolvable name of the vCenter server. This ticket requires installation of VMware Workstation, VMware Fusion or VMRC to be installed on the machine where the ticket has to be opened. This ticket can be acquired even when the VM is turned off.

The Tickets.Type.WEBMKS ticket contains the IP address of the DNS resolvable name of the ESX server. This ticket requires user to embed this ticket in a HTML page using VMware HTML Console SDK - https://www.vmware.com/support/developer/html-console This ticket can be acquired only when the VM is turned on.. Warning: This method is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif the field contains a value that is not supported by the server.
Exceptions:
vmware.vapi.std.errors.NotAllowedInCurrentStateif the virtual machine is powered off and requested ticket type is Tickets.Type.WEBMKS
vmware.vapi.std.errors.NotFoundif the virtual machine is not found.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration or execution 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 console ticket to be created.
Returns:
Commonly used information about the virtual machine console ticket.

Implements vmware::vcenter::vm::console::Tickets.

global::System.Threading.Tasks.Task<vmware.vcenter.vm.console.TicketsTypes.Summary> vmware::vcenter::vm::console::TicketsStub::CreateAsync ( string  vm,
vmware.vcenter.vm.console.TicketsTypes.CreateSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Creates a virtual machine console ticket of a given ticket type.

The created ticket is a one time use URI. The validity of the ticket is 30 minutes, if not used with in the time frame the ticket expires.

The Tickets.Type.VMRC ticket contains the IP address or the DNS resolvable name of the vCenter server. This ticket requires installation of VMware Workstation, VMware Fusion or VMRC to be installed on the machine where the ticket has to be opened. This ticket can be acquired even when the VM is turned off.

The Tickets.Type.WEBMKS ticket contains the IP address of the DNS resolvable name of the ESX server. This ticket requires user to embed this ticket in a HTML page using VMware HTML Console SDK - https://www.vmware.com/support/developer/html-console This ticket can be acquired only when the VM is turned on.. Warning: This method is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif the field contains a value that is not supported by the server.
Exceptions:
vmware.vapi.std.errors.NotAllowedInCurrentStateif the virtual machine is powered off and requested ticket type is Tickets.Type.WEBMKS
vmware.vapi.std.errors.NotFoundif the virtual machine is not found.
vmware.vapi.std.errors.ResourceInaccessibleif the virtual machine's configuration or execution 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 console ticket to be created.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Commonly used information about the virtual machine console ticket.

Implements vmware::vcenter::vm::console::Tickets.


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