VMware vSphere Automation SDK for .NET 7.0.0.1
|
The Software
interface provides methods to manage desired software specification of a standalone ESX host.
More...
Inherited by vmware::esx::settings::hosts::SoftwareStub.
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. |
The Software
interface provides methods to manage desired software specification of a standalone ESX host.
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.
vmware.vapi.std.errors.Error | If there is unknown internal error. The accompanying error message will give more details about the failure. |
vmware.vapi.std.errors.NotFound | If there is no host associated with host in the system or if desired software document is not found. |
vmware.vapi.std.errors.ServiceUnavailable | If the service is not available. |
vmware.vapi.std.errors.Unauthenticated | If the caller is not authenticated. |
vmware.vapi.std.errors.Unsupported | If the host is not a standlone host, but instead part of a cluster. |
host | Identifier of the host. The parameter must be an identifier for the resource type: HostSystem . |
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.
vmware.vapi.std.errors.Error | If there is unknown internal error. The accompanying error message will give more details about the failure. |
vmware.vapi.std.errors.NotFound | If there is no host associated with host in the system or if desired software document is not found. |
vmware.vapi.std.errors.ServiceUnavailable | If the service is not available. |
vmware.vapi.std.errors.Unauthenticated | If the caller is not authenticated. |
vmware.vapi.std.errors.Unsupported | If the host is not a standlone host, but instead part of a cluster. |
host | Identifier of the host. The parameter must be an identifier for the resource type: HostSystem . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::esx::settings::hosts::SoftwareStub.