VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::esx::settings::hosts::SoftwareStub Class Reference

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

Inherits vmware::esx::settings::hosts::Software.

List of all members.

Public Member Functions

 SoftwareStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.TypeConverter typeConverter, vmware.vapi.bindings.IStubConfiguration config)
 SoftwareStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.IStubConfiguration config)
string Scan_Task (string host)
 Scans the host against the host's desired state.
string Scan_Task (string host, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Scans the host against the host's desired state.

Detailed Description

Remote stub implementation of the Software API service.


Constructor & Destructor Documentation

vmware::esx::settings::hosts::SoftwareStub::SoftwareStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.TypeConverter  typeConverter,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]
vmware::esx::settings::hosts::SoftwareStub::SoftwareStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]

Member Function Documentation

string vmware::esx::settings::hosts::SoftwareStub::Scan_Task ( string  host) [inline]

Scans the host against the host's desired state.

. The result of this operation can be queried by calling the cis/tasks/{task-id} where the task-id is the response of this operation.

Task method overload. Result of the invocation is a task identifier which is going to be returned by this method.

Exceptions:
vmware.vapi.std.errors.ErrorIf there is unknown internal error. The accompanying error message will give more details about the failure.
vmware.vapi.std.errors.NotFoundIf there is no host associated with host in the system or if desired software document is not found.
vmware.vapi.std.errors.ServiceUnavailableIf the service is not available.
vmware.vapi.std.errors.UnauthenticatedIf the caller is not authenticated.
vmware.vapi.std.errors.UnsupportedIf the host is not a standlone host, but instead part of a cluster.
Parameters:
hostIdentifier of the host. The parameter must be an identifier for the resource type: HostSystem .
Returns:
Identifier for the task created by this API invocation

Implements vmware::esx::settings::hosts::Software.

string vmware::esx::settings::hosts::SoftwareStub::Scan_Task ( string  host,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Scans the host against the host's desired state.

. The result of this operation can be queried by calling the cis/tasks/{task-id} where the task-id is the response of this operation.

Task method overload. Result of the invocation is a task identifier which is going to be returned by this method.

Exceptions:
vmware.vapi.std.errors.ErrorIf there is unknown internal error. The accompanying error message will give more details about the failure.
vmware.vapi.std.errors.NotFoundIf there is no host associated with host in the system or if desired software document is not found.
vmware.vapi.std.errors.ServiceUnavailableIf the service is not available.
vmware.vapi.std.errors.UnauthenticatedIf the caller is not authenticated.
vmware.vapi.std.errors.UnsupportedIf the host is not a standlone host, but instead part of a cluster.
Parameters:
hostIdentifier of the host. The parameter must be an identifier for the resource type: HostSystem .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Identifier for the task created by this API invocation

Implements vmware::esx::settings::hosts::Software.


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