VMware vSphere Automation SDK for .NET 6.5.0
vmware::appliance::techpreview::ServicesStub Class Reference

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

Inherits vmware::appliance::techpreview::Services.

List of all members.

Public Member Functions

 ServicesStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.IStubConfiguration config)
void Control (global::System.Collections.Generic.List< string > args, string name, long timeout)
 Manage a service with arbitrary command and arguments.
void Control (global::System.Collections.Generic.List< string > args, string name, long timeout, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Manage a service with arbitrary command and arguments.
global::System.Threading.Tasks.Task ControlAsync (global::System.Collections.Generic.List< string > args, string name, long timeout)
 Manage a service with arbitrary command and arguments.
global::System.Threading.Tasks.Task ControlAsync (global::System.Collections.Generic.List< string > args, string name, long timeout, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Manage a service with arbitrary command and arguments.
global::System.Collections.Generic.List
< vmware.appliance.techpreview.ServicesTypes.ServiceInfo
List ()
 Get a list of all known services.
global::System.Collections.Generic.List
< vmware.appliance.techpreview.ServicesTypes.ServiceInfo
List (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Get a list of all known services.
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.List
< vmware.appliance.techpreview.ServicesTypes.ServiceInfo > > 
ListAsync ()
 Get a list of all known services.
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.List
< vmware.appliance.techpreview.ServicesTypes.ServiceInfo > > 
ListAsync (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Get a list of all known services.
void Stop (string name, long timeout)
 Stop a service.
void Stop (string name, long timeout, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Stop a service.
global::System.Threading.Tasks.Task StopAsync (string name, long timeout)
 Stop a service.
global::System.Threading.Tasks.Task StopAsync (string name, long timeout, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Stop a service.
void Restart (string name, long timeout)
 start or restart a service
void Restart (string name, long timeout, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 start or restart a service
global::System.Threading.Tasks.Task RestartAsync (string name, long timeout)
 start or restart a service
global::System.Threading.Tasks.Task RestartAsync (string name, long timeout, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 start or restart a service

Detailed Description

Remote stub implementation of the Services API service.


Constructor & Destructor Documentation

vmware::appliance::techpreview::ServicesStub::ServicesStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]

Member Function Documentation

void vmware::appliance::techpreview::ServicesStub::Control ( global::System.Collections.Generic.List< string >  args,
string  name,
long  timeout 
) [inline]

Manage a service with arbitrary command and arguments.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
argsArray of arguments.
nameName of the service.
timeoutTimeout in seconds. Zero (0) means no timeout.

Implements vmware::appliance::techpreview::Services.

void vmware::appliance::techpreview::ServicesStub::Control ( global::System.Collections.Generic.List< string >  args,
string  name,
long  timeout,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Manage a service with arbitrary command and arguments.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
argsArray of arguments.
nameName of the service.
timeoutTimeout in seconds. Zero (0) means no timeout.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::appliance::techpreview::Services.

global::System.Threading.Tasks.Task vmware::appliance::techpreview::ServicesStub::ControlAsync ( global::System.Collections.Generic.List< string >  args,
string  name,
long  timeout,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Manage a service with arbitrary command and arguments.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
argsArray of arguments.
nameName of the service.
timeoutTimeout in seconds. Zero (0) means no timeout.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::appliance::techpreview::Services.

global::System.Threading.Tasks.Task vmware::appliance::techpreview::ServicesStub::ControlAsync ( global::System.Collections.Generic.List< string >  args,
string  name,
long  timeout 
) [inline]

Manage a service with arbitrary command and arguments.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
argsArray of arguments.
nameName of the service.
timeoutTimeout in seconds. Zero (0) means no timeout.

Implements vmware::appliance::techpreview::Services.

global::System.Collections.Generic.List<vmware.appliance.techpreview.ServicesTypes.ServiceInfo> vmware::appliance::techpreview::ServicesStub::List ( ) [inline]

Get a list of all known services.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Returns:
List of services.

Implements vmware::appliance::techpreview::Services.

global::System.Collections.Generic.List<vmware.appliance.techpreview.ServicesTypes.ServiceInfo> vmware::appliance::techpreview::ServicesStub::List ( global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Get a list of all known services.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Returns:
List of services.

Implements vmware::appliance::techpreview::Services.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.appliance.techpreview.ServicesTypes.ServiceInfo> > vmware::appliance::techpreview::ServicesStub::ListAsync ( global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Get a list of all known services.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Returns:
List of services.

Implements vmware::appliance::techpreview::Services.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.appliance.techpreview.ServicesTypes.ServiceInfo> > vmware::appliance::techpreview::ServicesStub::ListAsync ( ) [inline]

Get a list of all known services.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Returns:
List of services.

Implements vmware::appliance::techpreview::Services.

void vmware::appliance::techpreview::ServicesStub::Restart ( string  name,
long  timeout 
) [inline]

start or restart a service

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
nameName of the service to start or restart.
timeoutTimeout in seconds. Zero (0) means no timeout.

Implements vmware::appliance::techpreview::Services.

void vmware::appliance::techpreview::ServicesStub::Restart ( string  name,
long  timeout,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

start or restart a service

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
nameName of the service to start or restart.
timeoutTimeout in seconds. Zero (0) means no timeout.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::appliance::techpreview::Services.

global::System.Threading.Tasks.Task vmware::appliance::techpreview::ServicesStub::RestartAsync ( string  name,
long  timeout,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

start or restart a service

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
nameName of the service to start or restart.
timeoutTimeout in seconds. Zero (0) means no timeout.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::appliance::techpreview::Services.

global::System.Threading.Tasks.Task vmware::appliance::techpreview::ServicesStub::RestartAsync ( string  name,
long  timeout 
) [inline]

start or restart a service

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
nameName of the service to start or restart.
timeoutTimeout in seconds. Zero (0) means no timeout.

Implements vmware::appliance::techpreview::Services.

void vmware::appliance::techpreview::ServicesStub::Stop ( string  name,
long  timeout 
) [inline]

Stop a service.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
nameName of service.
timeoutTimeout in seconds. Zero (0) means no timeout.

Implements vmware::appliance::techpreview::Services.

void vmware::appliance::techpreview::ServicesStub::Stop ( string  name,
long  timeout,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Stop a service.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
nameName of service.
timeoutTimeout in seconds. Zero (0) means no timeout.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::appliance::techpreview::Services.

global::System.Threading.Tasks.Task vmware::appliance::techpreview::ServicesStub::StopAsync ( string  name,
long  timeout 
) [inline]

Stop a service.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
nameName of service.
timeoutTimeout in seconds. Zero (0) means no timeout.

Implements vmware::appliance::techpreview::Services.

global::System.Threading.Tasks.Task vmware::appliance::techpreview::ServicesStub::StopAsync ( string  name,
long  timeout,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Stop a service.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
nameName of service.
timeoutTimeout in seconds. Zero (0) means no timeout.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::appliance::techpreview::Services.


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