|
VMware vSphere Automation SDK for .NET 6.5.0
|
Remote stub implementation of the Service API service. More...
Inherits vmware::appliance::vmon::Service.
Public Member Functions | |
| 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. | |
Remote stub implementation of the Service API service.
| vmware::appliance::vmon::ServiceStub::ServiceStub | ( | vmware.vapi.core.IApiProvider | iApiProvider, |
| vmware.vapi.bindings.IStubConfiguration | config | ||
| ) | [inline] |
| vmware.appliance.vmon.ServiceTypes.Info vmware::appliance::vmon::ServiceStub::Get | ( | string | service | ) | [inline] |
Returns the state of a service.
| vmware.vapi.std.errors.NotFound | if the service associated with service does not exist. |
| vmware.vapi.std.errors.Error | if any other error occurs during the execution of the operation. |
| service | identifier of the service whose state is being queried. The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service . |
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.
| vmware.vapi.std.errors.NotFound | if the service associated with service does not exist. |
| vmware.vapi.std.errors.Error | if any other error occurs during the execution of the operation. |
| service | identifier of the service whose state is being queried. The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service . |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
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.
| vmware.vapi.std.errors.NotFound | if the service associated with service does not exist. |
| vmware.vapi.std.errors.Error | if any other error occurs during the execution of the operation. |
| service | identifier of the service whose state is being queried. The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service . |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
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.
| vmware.vapi.std.errors.NotFound | if the service associated with service does not exist. |
| vmware.vapi.std.errors.Error | if any other error occurs during the execution of the operation. |
| service | identifier of the service whose state is being queried. The parameter must 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 | ( | ) | [inline] |
Lists details of services managed by vMon.
| vmware.vapi.std.errors.Error | if any error occurs during the execution of the operation. |
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.
| vmware.vapi.std.errors.Error | if any error occurs during the execution of the operation. |
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.
| vmware.vapi.std.errors.Error | if any error occurs during the execution of the operation. |
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.
| vmware.vapi.std.errors.Error | if any error occurs during the execution of the operation. |
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.
| vmware.vapi.std.errors.NotFound | if the service associated with service does not exist. |
| vmware.vapi.std.errors.TimedOut | if any timeout occurs during the execution of the restart operation. |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if 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.NotAllowedInCurrentState | if a restart operation is issued on a service which has startup type Service.StartupType.DISABLED |
| vmware.vapi.std.errors.Error | if any other error occurs during the execution of the operation. |
| service | identifier of the service to restart The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service . |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
Implements vmware::appliance::vmon::Service.
| void vmware::appliance::vmon::ServiceStub::Restart | ( | string | service | ) | [inline] |
Restarts a service.
| vmware.vapi.std.errors.NotFound | if the service associated with service does not exist. |
| vmware.vapi.std.errors.TimedOut | if any timeout occurs during the execution of the restart operation. |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if 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.NotAllowedInCurrentState | if a restart operation is issued on a service which has startup type Service.StartupType.DISABLED |
| vmware.vapi.std.errors.Error | if any other error occurs during the execution of the operation. |
| service | identifier 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.
| vmware.vapi.std.errors.NotFound | if the service associated with service does not exist. |
| vmware.vapi.std.errors.TimedOut | if any timeout occurs during the execution of the restart operation. |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if 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.NotAllowedInCurrentState | if a restart operation is issued on a service which has startup type Service.StartupType.DISABLED |
| vmware.vapi.std.errors.Error | if any other error occurs during the execution of the operation. |
| service | identifier 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.
| vmware.vapi.std.errors.NotFound | if the service associated with service does not exist. |
| vmware.vapi.std.errors.TimedOut | if any timeout occurs during the execution of the restart operation. |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if 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.NotAllowedInCurrentState | if a restart operation is issued on a service which has startup type Service.StartupType.DISABLED |
| vmware.vapi.std.errors.Error | if any other error occurs during the execution of the operation. |
| service | identifier of the service to restart The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service . |
| _progress | Progress notification call back |
| _invocationConfig | Configuration 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.
| vmware.vapi.std.errors.NotFound | if the service associated with service does not exist. |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if 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.NotAllowedInCurrentState | if start operation is issued on a service which has startup type Service.StartupType.DISABLED . |
| vmware.vapi.std.errors.TimedOut | if 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.Error | if any other error occurs during the execution of the operation. |
| service | identifier of the service to start The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service . |
| _progress | Progress notification call back |
| _invocationConfig | Configuration for the method invocation |
Implements vmware::appliance::vmon::Service.
| void vmware::appliance::vmon::ServiceStub::Start | ( | string | service | ) | [inline] |
Starts a service.
| vmware.vapi.std.errors.NotFound | if the service associated with service does not exist. |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if 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.NotAllowedInCurrentState | if start operation is issued on a service which has startup type Service.StartupType.DISABLED . |
| vmware.vapi.std.errors.TimedOut | if 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.Error | if any other error occurs during the execution of the operation. |
| service | identifier 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.
| vmware.vapi.std.errors.NotFound | if the service associated with service does not exist. |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if 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.NotAllowedInCurrentState | if start operation is issued on a service which has startup type Service.StartupType.DISABLED . |
| vmware.vapi.std.errors.TimedOut | if 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.Error | if any other error occurs during the execution of the operation. |
| service | identifier of the service to start The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service . |
| _progress | Progress notification call back |
| _invocationConfig | Configuration 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.
| vmware.vapi.std.errors.NotFound | if the service associated with service does not exist. |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if 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.NotAllowedInCurrentState | if start operation is issued on a service which has startup type Service.StartupType.DISABLED . |
| vmware.vapi.std.errors.TimedOut | if 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.Error | if any other error occurs during the execution of the operation. |
| service | identifier 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.
| vmware.vapi.std.errors.NotFound | if the service associated with service does not exist. |
| vmware.vapi.std.errors.Error | if any other error occurs during the execution of the operation. |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if 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. |
| service | identifier 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.
| vmware.vapi.std.errors.NotFound | if the service associated with service does not exist. |
| vmware.vapi.std.errors.Error | if any other error occurs during the execution of the operation. |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if 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. |
| service | identifier of the service to stop The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service . |
| _progress | Progress notification call back |
| _invocationConfig | Configuration 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.
| vmware.vapi.std.errors.NotFound | if the service associated with service does not exist. |
| vmware.vapi.std.errors.Error | if any other error occurs during the execution of the operation. |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if 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. |
| service | identifier 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.
| vmware.vapi.std.errors.NotFound | if the service associated with service does not exist. |
| vmware.vapi.std.errors.Error | if any other error occurs during the execution of the operation. |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if 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. |
| service | identifier of the service to stop The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service . |
| _progress | Progress notification call back |
| _invocationConfig | Configuration 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.
| vmware.vapi.std.errors.NotFound | if the service associated with service does not exist. |
| vmware.vapi.std.errors.Error | if any other error occurs during the execution of the operation. |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if 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.NotAllowedInCurrentState | if 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. |
| service | identifier of the service whose properties are being updated. The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service . |
| spec | Service 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.
| vmware.vapi.std.errors.NotFound | if the service associated with service does not exist. |
| vmware.vapi.std.errors.Error | if any other error occurs during the execution of the operation. |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if 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.NotAllowedInCurrentState | if 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. |
| service | identifier of the service whose properties are being updated. The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service . |
| spec | Service Update specification. |
| _progress | Progress notification call back |
| _invocationConfig | Configuration 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.
| vmware.vapi.std.errors.NotFound | if the service associated with service does not exist. |
| vmware.vapi.std.errors.Error | if any other error occurs during the execution of the operation. |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if 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.NotAllowedInCurrentState | if 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. |
| service | identifier of the service whose properties are being updated. The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service . |
| spec | Service Update specification. |
| _progress | Progress notification call back |
| _invocationConfig | Configuration 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.
| vmware.vapi.std.errors.NotFound | if the service associated with service does not exist. |
| vmware.vapi.std.errors.Error | if any other error occurs during the execution of the operation. |
| vmware.vapi.std.errors.NotAllowedInCurrentState | if 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.NotAllowedInCurrentState | if 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. |
| service | identifier of the service whose properties are being updated. The parameter must be an identifier for the resource type: com.vmware.appliance.vmon.Service . |
| spec | Service Update specification. |
Implements vmware::appliance::vmon::Service.