VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::appliance::vmon::ServiceStub Class Reference

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

Inherits vmware::appliance::vmon::Service.

List of all members.

Public Member Functions

 ServiceStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.TypeConverter typeConverter, vmware.vapi.bindings.IStubConfiguration config)
 ServiceStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.IStubConfiguration config)
void Start (string service)
 Starts a service.
void Start (string service, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Starts a service.
global::System.Threading.Tasks.Task StartAsync (string service)
 Starts a service.
global::System.Threading.Tasks.Task StartAsync (string service, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Starts a service.
void Stop (string service)
 Stops a service.
void Stop (string service, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Stops a service.
global::System.Threading.Tasks.Task StopAsync (string service)
 Stops a service.
global::System.Threading.Tasks.Task StopAsync (string service, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Stops a service.
void Restart (string service)
 Restarts a service.
void Restart (string service, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Restarts a service.
global::System.Threading.Tasks.Task RestartAsync (string service)
 Restarts a service.
global::System.Threading.Tasks.Task RestartAsync (string service, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Restarts a service.
vmware.appliance.vmon.ServiceTypes.Info Get (string service)
 Returns the state of a service.
vmware.appliance.vmon.ServiceTypes.Info Get (string service, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns the state of a service.
global::System.Threading.Tasks.Task
< vmware.appliance.vmon.ServiceTypes.Info
GetAsync (string service)
 Returns the state of a service.
global::System.Threading.Tasks.Task
< vmware.appliance.vmon.ServiceTypes.Info
GetAsync (string service, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns the state of a service.
void Update (string service, vmware.appliance.vmon.ServiceTypes.UpdateSpec spec)
 Updates the properties of a service.
void Update (string service, vmware.appliance.vmon.ServiceTypes.UpdateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Updates the properties of a service.
global::System.Threading.Tasks.Task UpdateAsync (string service, vmware.appliance.vmon.ServiceTypes.UpdateSpec spec)
 Updates the properties of a service.
global::System.Threading.Tasks.Task UpdateAsync (string service, vmware.appliance.vmon.ServiceTypes.UpdateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Updates the properties of a service.
global::System.Collections.Generic.Dictionary
< string,
vmware.appliance.vmon.ServiceTypes.Info
ListDetails ()
 Lists details of services managed by vMon.
global::System.Collections.Generic.Dictionary
< string,
vmware.appliance.vmon.ServiceTypes.Info
ListDetails (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Lists details of services managed by vMon.
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.Dictionary
< string,
vmware.appliance.vmon.ServiceTypes.Info > > 
ListDetailsAsync ()
 Lists details of services managed by vMon.
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.Dictionary
< string,
vmware.appliance.vmon.ServiceTypes.Info > > 
ListDetailsAsync (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Lists details of services managed by vMon.

Detailed Description

Remote stub implementation of the Service API service.


Constructor & Destructor Documentation

vmware::appliance::vmon::ServiceStub::ServiceStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.TypeConverter  typeConverter,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]
vmware::appliance::vmon::ServiceStub::ServiceStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]

Member Function Documentation

vmware.appliance.vmon.ServiceTypes.Info vmware::appliance::vmon::ServiceStub::Get ( string  service) [inline]

Returns the state of a service.

Exceptions:
vmware.vapi.std.errors.NotFoundif the service associated with service does not exist.
vmware.vapi.std.errors.Errorif any other error occurs during the execution of the operation.
Parameters:
serviceidentifier of the service whose state is being queried. The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service .
Returns:
Service Info structure.

Implements vmware::appliance::vmon::Service.

vmware.appliance.vmon.ServiceTypes.Info vmware::appliance::vmon::ServiceStub::Get ( string  service,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Returns the state of a service.

Exceptions:
vmware.vapi.std.errors.NotFoundif the service associated with service does not exist.
vmware.vapi.std.errors.Errorif any other error occurs during the execution of the operation.
Parameters:
serviceidentifier of the service whose state is being queried. The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Service Info structure.

Implements vmware::appliance::vmon::Service.

global::System.Threading.Tasks.Task<vmware.appliance.vmon.ServiceTypes.Info> vmware::appliance::vmon::ServiceStub::GetAsync ( string  service,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Returns the state of a service.

Exceptions:
vmware.vapi.std.errors.NotFoundif the service associated with service does not exist.
vmware.vapi.std.errors.Errorif any other error occurs during the execution of the operation.
Parameters:
serviceidentifier of the service whose state is being queried. The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Service Info structure.

Implements vmware::appliance::vmon::Service.

global::System.Threading.Tasks.Task<vmware.appliance.vmon.ServiceTypes.Info> vmware::appliance::vmon::ServiceStub::GetAsync ( string  service) [inline]

Returns the state of a service.

Exceptions:
vmware.vapi.std.errors.NotFoundif the service associated with service does not exist.
vmware.vapi.std.errors.Errorif any other error occurs during the execution of the operation.
Parameters:
serviceidentifier of the service whose state is being queried. The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service .
Returns:
Service Info structure.

Implements vmware::appliance::vmon::Service.

global::System.Collections.Generic.Dictionary<string, vmware.appliance.vmon.ServiceTypes.Info> vmware::appliance::vmon::ServiceStub::ListDetails ( ) [inline]

Lists details of services managed by vMon.

Exceptions:
vmware.vapi.std.errors.Errorif any error occurs during the execution of the operation.
Returns:
Map of service identifiers to service Info structures. The key in the result map will be an identifier for the resource type: com.vmware.appliance.vmon.Service .

Implements vmware::appliance::vmon::Service.

global::System.Collections.Generic.Dictionary<string, vmware.appliance.vmon.ServiceTypes.Info> vmware::appliance::vmon::ServiceStub::ListDetails ( global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Lists details of services managed by vMon.

Exceptions:
vmware.vapi.std.errors.Errorif any error occurs during the execution of the operation.
Returns:
Map of service identifiers to service Info structures. The key in the result map will be an identifier for the resource type: com.vmware.appliance.vmon.Service .

Implements vmware::appliance::vmon::Service.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.Dictionary<string, vmware.appliance.vmon.ServiceTypes.Info> > vmware::appliance::vmon::ServiceStub::ListDetailsAsync ( ) [inline]

Lists details of services managed by vMon.

Exceptions:
vmware.vapi.std.errors.Errorif any error occurs during the execution of the operation.
Returns:
Map of service identifiers to service Info structures. The key in the result map will be an identifier for the resource type: com.vmware.appliance.vmon.Service .

Implements vmware::appliance::vmon::Service.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.Dictionary<string, vmware.appliance.vmon.ServiceTypes.Info> > vmware::appliance::vmon::ServiceStub::ListDetailsAsync ( global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Lists details of services managed by vMon.

Exceptions:
vmware.vapi.std.errors.Errorif any error occurs during the execution of the operation.
Returns:
Map of service identifiers to service Info structures. The key in the result map will be an identifier for the resource type: com.vmware.appliance.vmon.Service .

Implements vmware::appliance::vmon::Service.

void vmware::appliance::vmon::ServiceStub::Restart ( string  service,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Restarts a service.

Exceptions:
vmware.vapi.std.errors.NotFoundif the service associated with service does not exist.
vmware.vapi.std.errors.TimedOutif any timeout occurs during the execution of the restart operation.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the operation is denied in the current state of the service. If a stop or start operation is in progress, issuing a restart operation will lead to this error.
vmware.vapi.std.errors.NotAllowedInCurrentStateif a restart operation is issued on a service which has startup type Service.StartupType.DISABLED
vmware.vapi.std.errors.Errorif any other error occurs during the execution of the operation.
Parameters:
serviceidentifier of the service to restart The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::appliance::vmon::Service.

void vmware::appliance::vmon::ServiceStub::Restart ( string  service) [inline]

Restarts a service.

Exceptions:
vmware.vapi.std.errors.NotFoundif the service associated with service does not exist.
vmware.vapi.std.errors.TimedOutif any timeout occurs during the execution of the restart operation.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the operation is denied in the current state of the service. If a stop or start operation is in progress, issuing a restart operation will lead to this error.
vmware.vapi.std.errors.NotAllowedInCurrentStateif a restart operation is issued on a service which has startup type Service.StartupType.DISABLED
vmware.vapi.std.errors.Errorif any other error occurs during the execution of the operation.
Parameters:
serviceidentifier of the service to restart The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service .

Implements vmware::appliance::vmon::Service.

global::System.Threading.Tasks.Task vmware::appliance::vmon::ServiceStub::RestartAsync ( string  service) [inline]

Restarts a service.

Exceptions:
vmware.vapi.std.errors.NotFoundif the service associated with service does not exist.
vmware.vapi.std.errors.TimedOutif any timeout occurs during the execution of the restart operation.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the operation is denied in the current state of the service. If a stop or start operation is in progress, issuing a restart operation will lead to this error.
vmware.vapi.std.errors.NotAllowedInCurrentStateif a restart operation is issued on a service which has startup type Service.StartupType.DISABLED
vmware.vapi.std.errors.Errorif any other error occurs during the execution of the operation.
Parameters:
serviceidentifier of the service to restart The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service .

Implements vmware::appliance::vmon::Service.

global::System.Threading.Tasks.Task vmware::appliance::vmon::ServiceStub::RestartAsync ( string  service,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Restarts a service.

Exceptions:
vmware.vapi.std.errors.NotFoundif the service associated with service does not exist.
vmware.vapi.std.errors.TimedOutif any timeout occurs during the execution of the restart operation.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the operation is denied in the current state of the service. If a stop or start operation is in progress, issuing a restart operation will lead to this error.
vmware.vapi.std.errors.NotAllowedInCurrentStateif a restart operation is issued on a service which has startup type Service.StartupType.DISABLED
vmware.vapi.std.errors.Errorif any other error occurs during the execution of the operation.
Parameters:
serviceidentifier of the service to restart The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::appliance::vmon::Service.

void vmware::appliance::vmon::ServiceStub::Start ( string  service,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Starts a service.

Exceptions:
vmware.vapi.std.errors.NotFoundif the service associated with service does not exist.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the operation is denied in the current state of the service. If a stop or restart operation is in progress, the start operation will not be allowed.
vmware.vapi.std.errors.NotAllowedInCurrentStateif start operation is issued on a service which has startup type Service.StartupType.DISABLED .
vmware.vapi.std.errors.TimedOutif any timeout occurs during the execution of the start operation. Timeout occurs when the service takes longer than StartTimeout to start.
vmware.vapi.std.errors.Errorif any other error occurs during the execution of the operation.
Parameters:
serviceidentifier of the service to start The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::appliance::vmon::Service.

void vmware::appliance::vmon::ServiceStub::Start ( string  service) [inline]

Starts a service.

Exceptions:
vmware.vapi.std.errors.NotFoundif the service associated with service does not exist.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the operation is denied in the current state of the service. If a stop or restart operation is in progress, the start operation will not be allowed.
vmware.vapi.std.errors.NotAllowedInCurrentStateif start operation is issued on a service which has startup type Service.StartupType.DISABLED .
vmware.vapi.std.errors.TimedOutif any timeout occurs during the execution of the start operation. Timeout occurs when the service takes longer than StartTimeout to start.
vmware.vapi.std.errors.Errorif any other error occurs during the execution of the operation.
Parameters:
serviceidentifier of the service to start The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service .

Implements vmware::appliance::vmon::Service.

global::System.Threading.Tasks.Task vmware::appliance::vmon::ServiceStub::StartAsync ( string  service,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Starts a service.

Exceptions:
vmware.vapi.std.errors.NotFoundif the service associated with service does not exist.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the operation is denied in the current state of the service. If a stop or restart operation is in progress, the start operation will not be allowed.
vmware.vapi.std.errors.NotAllowedInCurrentStateif start operation is issued on a service which has startup type Service.StartupType.DISABLED .
vmware.vapi.std.errors.TimedOutif any timeout occurs during the execution of the start operation. Timeout occurs when the service takes longer than StartTimeout to start.
vmware.vapi.std.errors.Errorif any other error occurs during the execution of the operation.
Parameters:
serviceidentifier of the service to start The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::appliance::vmon::Service.

global::System.Threading.Tasks.Task vmware::appliance::vmon::ServiceStub::StartAsync ( string  service) [inline]

Starts a service.

Exceptions:
vmware.vapi.std.errors.NotFoundif the service associated with service does not exist.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the operation is denied in the current state of the service. If a stop or restart operation is in progress, the start operation will not be allowed.
vmware.vapi.std.errors.NotAllowedInCurrentStateif start operation is issued on a service which has startup type Service.StartupType.DISABLED .
vmware.vapi.std.errors.TimedOutif any timeout occurs during the execution of the start operation. Timeout occurs when the service takes longer than StartTimeout to start.
vmware.vapi.std.errors.Errorif any other error occurs during the execution of the operation.
Parameters:
serviceidentifier of the service to start The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service .

Implements vmware::appliance::vmon::Service.

void vmware::appliance::vmon::ServiceStub::Stop ( string  service) [inline]

Stops a service.

Exceptions:
vmware.vapi.std.errors.NotFoundif the service associated with service does not exist.
vmware.vapi.std.errors.Errorif any other error occurs during the execution of the operation.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the operation is denied in the current state of the service. If a stop operation is in progress, issuing another stop operation will lead to this error.
Parameters:
serviceidentifier of the service to stop The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service .

Implements vmware::appliance::vmon::Service.

void vmware::appliance::vmon::ServiceStub::Stop ( string  service,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Stops a service.

Exceptions:
vmware.vapi.std.errors.NotFoundif the service associated with service does not exist.
vmware.vapi.std.errors.Errorif any other error occurs during the execution of the operation.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the operation is denied in the current state of the service. If a stop operation is in progress, issuing another stop operation will lead to this error.
Parameters:
serviceidentifier of the service to stop The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::appliance::vmon::Service.

global::System.Threading.Tasks.Task vmware::appliance::vmon::ServiceStub::StopAsync ( string  service) [inline]

Stops a service.

Exceptions:
vmware.vapi.std.errors.NotFoundif the service associated with service does not exist.
vmware.vapi.std.errors.Errorif any other error occurs during the execution of the operation.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the operation is denied in the current state of the service. If a stop operation is in progress, issuing another stop operation will lead to this error.
Parameters:
serviceidentifier of the service to stop The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service .

Implements vmware::appliance::vmon::Service.

global::System.Threading.Tasks.Task vmware::appliance::vmon::ServiceStub::StopAsync ( string  service,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Stops a service.

Exceptions:
vmware.vapi.std.errors.NotFoundif the service associated with service does not exist.
vmware.vapi.std.errors.Errorif any other error occurs during the execution of the operation.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the operation is denied in the current state of the service. If a stop operation is in progress, issuing another stop operation will lead to this error.
Parameters:
serviceidentifier of the service to stop The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::appliance::vmon::Service.

void vmware::appliance::vmon::ServiceStub::Update ( string  service,
vmware.appliance.vmon.ServiceTypes.UpdateSpec  spec 
) [inline]

Updates the properties of a service.

Exceptions:
vmware.vapi.std.errors.NotFoundif the service associated with service does not exist.
vmware.vapi.std.errors.Errorif any other error occurs during the execution of the operation.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the operation is denied in the current state of the service. If a start, stop or restart operation is in progress, update operation will fail with this error.
vmware.vapi.std.errors.NotAllowedInCurrentStateif a request to set the Service.UpdateSpec.startupType field of spec to Service.StartupType.DISABLED comes in for a service that is not in Service.State.STOPPED state.
Parameters:
serviceidentifier of the service whose properties are being updated. The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service .
specService Update specification.

Implements vmware::appliance::vmon::Service.

void vmware::appliance::vmon::ServiceStub::Update ( string  service,
vmware.appliance.vmon.ServiceTypes.UpdateSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Updates the properties of a service.

Exceptions:
vmware.vapi.std.errors.NotFoundif the service associated with service does not exist.
vmware.vapi.std.errors.Errorif any other error occurs during the execution of the operation.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the operation is denied in the current state of the service. If a start, stop or restart operation is in progress, update operation will fail with this error.
vmware.vapi.std.errors.NotAllowedInCurrentStateif a request to set the Service.UpdateSpec.startupType field of spec to Service.StartupType.DISABLED comes in for a service that is not in Service.State.STOPPED state.
Parameters:
serviceidentifier of the service whose properties are being updated. The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service .
specService Update specification.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::appliance::vmon::Service.

global::System.Threading.Tasks.Task vmware::appliance::vmon::ServiceStub::UpdateAsync ( string  service,
vmware.appliance.vmon.ServiceTypes.UpdateSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Updates the properties of a service.

Exceptions:
vmware.vapi.std.errors.NotFoundif the service associated with service does not exist.
vmware.vapi.std.errors.Errorif any other error occurs during the execution of the operation.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the operation is denied in the current state of the service. If a start, stop or restart operation is in progress, update operation will fail with this error.
vmware.vapi.std.errors.NotAllowedInCurrentStateif a request to set the Service.UpdateSpec.startupType field of spec to Service.StartupType.DISABLED comes in for a service that is not in Service.State.STOPPED state.
Parameters:
serviceidentifier of the service whose properties are being updated. The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service .
specService Update specification.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::appliance::vmon::Service.

global::System.Threading.Tasks.Task vmware::appliance::vmon::ServiceStub::UpdateAsync ( string  service,
vmware.appliance.vmon.ServiceTypes.UpdateSpec  spec 
) [inline]

Updates the properties of a service.

Exceptions:
vmware.vapi.std.errors.NotFoundif the service associated with service does not exist.
vmware.vapi.std.errors.Errorif any other error occurs during the execution of the operation.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the operation is denied in the current state of the service. If a start, stop or restart operation is in progress, update operation will fail with this error.
vmware.vapi.std.errors.NotAllowedInCurrentStateif a request to set the Service.UpdateSpec.startupType field of spec to Service.StartupType.DISABLED comes in for a service that is not in Service.State.STOPPED state.
Parameters:
serviceidentifier of the service whose properties are being updated. The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service .
specService Update specification.

Implements vmware::appliance::vmon::Service.


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