VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::esx::settings::hosts::Software Interface Reference

The Software interface provides methods to manage desired software specification of a standalone ESX host. More...

Inherited by vmware::esx::settings::hosts::SoftwareStub.

List of all members.

Public Member Functions

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

The Software interface provides methods to manage desired software specification of a standalone ESX host.


Member Function Documentation

string vmware::esx::settings::hosts::Software::Scan_Task ( string  host)

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

Implemented in vmware::esx::settings::hosts::SoftwareStub.

string vmware::esx::settings::hosts::Software::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.

. 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

Implemented in vmware::esx::settings::hosts::SoftwareStub.


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