VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::appliance::update::Policy Interface Reference

The Policy interface provides methods to set/get background check for the new updates. More...

Inherited by vmware::appliance::update::PolicyStub.

List of all members.

Public Member Functions

vmware.appliance.update.PolicyTypes.Info Get ()
 Gets the automatic update checking and staging policy.
vmware.appliance.update.PolicyTypes.Info Get (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Gets the automatic update checking and staging policy.
global::System.Threading.Tasks.Task
< vmware.appliance.update.PolicyTypes.Info
GetAsync ()
 Gets the automatic update checking and staging policy.
global::System.Threading.Tasks.Task
< vmware.appliance.update.PolicyTypes.Info
GetAsync (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Gets the automatic update checking and staging policy.
void Set (vmware.appliance.update.PolicyTypes.Config policy)
 Sets the automatic update checking and staging policy.
void Set (vmware.appliance.update.PolicyTypes.Config policy, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Sets the automatic update checking and staging policy.
global::System.Threading.Tasks.Task SetAsync (vmware.appliance.update.PolicyTypes.Config policy)
 Sets the automatic update checking and staging policy.
global::System.Threading.Tasks.Task SetAsync (vmware.appliance.update.PolicyTypes.Config policy, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Sets the automatic update checking and staging policy.

Detailed Description

The Policy interface provides methods to set/get background check for the new updates.

This interface was added in vSphere API 6.7.


Member Function Documentation

vmware.appliance.update.PolicyTypes.Info vmware::appliance::update::Policy::Get ( )

Gets the automatic update checking and staging policy.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
vmware.vapi.std.errors.Unauthenticatedsession is not authenticated
vmware.vapi.std.errors.Unauthorizedsession is not authorized to perform this operation
Returns:
Structure containing the policy for the appliance update.

Implemented in vmware::appliance::update::PolicyStub.

vmware.appliance.update.PolicyTypes.Info vmware::appliance::update::Policy::Get ( global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Gets the automatic update checking and staging policy.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
vmware.vapi.std.errors.Unauthenticatedsession is not authenticated
vmware.vapi.std.errors.Unauthorizedsession is not authorized to perform this operation
Returns:
Structure containing the policy for the appliance update.

Implemented in vmware::appliance::update::PolicyStub.

global::System.Threading.Tasks.Task<vmware.appliance.update.PolicyTypes.Info> vmware::appliance::update::Policy::GetAsync ( global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Gets the automatic update checking and staging policy.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
vmware.vapi.std.errors.Unauthenticatedsession is not authenticated
vmware.vapi.std.errors.Unauthorizedsession is not authorized to perform this operation
Returns:
Structure containing the policy for the appliance update.

Implemented in vmware::appliance::update::PolicyStub.

global::System.Threading.Tasks.Task<vmware.appliance.update.PolicyTypes.Info> vmware::appliance::update::Policy::GetAsync ( )

Gets the automatic update checking and staging policy.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
vmware.vapi.std.errors.Unauthenticatedsession is not authenticated
vmware.vapi.std.errors.Unauthorizedsession is not authorized to perform this operation
Returns:
Structure containing the policy for the appliance update.

Implemented in vmware::appliance::update::PolicyStub.

void vmware::appliance::update::Policy::Set ( vmware.appliance.update.PolicyTypes.Config  policy)

Sets the automatic update checking and staging policy.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
vmware.vapi.std.errors.Unauthenticatedsession is not authenticated
vmware.vapi.std.errors.Unauthorizedsession is not authorized to perform this operation
Parameters:
policyInfo structure containing the policy for the appliance update.

Implemented in vmware::appliance::update::PolicyStub.

void vmware::appliance::update::Policy::Set ( vmware.appliance.update.PolicyTypes.Config  policy,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Sets the automatic update checking and staging policy.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
vmware.vapi.std.errors.Unauthenticatedsession is not authenticated
vmware.vapi.std.errors.Unauthorizedsession is not authorized to perform this operation
Parameters:
policyInfo structure containing the policy for the appliance update.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implemented in vmware::appliance::update::PolicyStub.

global::System.Threading.Tasks.Task vmware::appliance::update::Policy::SetAsync ( vmware.appliance.update.PolicyTypes.Config  policy,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Sets the automatic update checking and staging policy.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
vmware.vapi.std.errors.Unauthenticatedsession is not authenticated
vmware.vapi.std.errors.Unauthorizedsession is not authorized to perform this operation
Parameters:
policyInfo structure containing the policy for the appliance update.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implemented in vmware::appliance::update::PolicyStub.

global::System.Threading.Tasks.Task vmware::appliance::update::Policy::SetAsync ( vmware.appliance.update.PolicyTypes.Config  policy)

Sets the automatic update checking and staging policy.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
vmware.vapi.std.errors.Unauthenticatedsession is not authenticated
vmware.vapi.std.errors.Unauthorizedsession is not authorized to perform this operation
Parameters:
policyInfo structure containing the policy for the appliance update.

Implemented in vmware::appliance::update::PolicyStub.


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