VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::vcenter::vcha::cluster::WitnessStub Class Reference

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

Inherits vmware::vcenter::vcha::cluster::Witness.

List of all members.

Public Member Functions

 WitnessStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.TypeConverter typeConverter, vmware.vapi.bindings.IStubConfiguration config)
 WitnessStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.IStubConfiguration config)
vmware.vcenter.vcha.cluster.WitnessTypes.CheckResult Check (vmware.vcenter.vcha.cluster.WitnessTypes.CheckSpec spec)
 Validates the specified witness node's placement configuration.
vmware.vcenter.vcha.cluster.WitnessTypes.CheckResult Check (vmware.vcenter.vcha.cluster.WitnessTypes.CheckSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Validates the specified witness node's placement configuration.
global::System.Threading.Tasks.Task
< vmware.vcenter.vcha.cluster.WitnessTypes.CheckResult
CheckAsync (vmware.vcenter.vcha.cluster.WitnessTypes.CheckSpec spec)
 Validates the specified witness node's placement configuration.
global::System.Threading.Tasks.Task
< vmware.vcenter.vcha.cluster.WitnessTypes.CheckResult
CheckAsync (vmware.vcenter.vcha.cluster.WitnessTypes.CheckSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Validates the specified witness node's placement configuration.
string Redeploy_Task (vmware.vcenter.vcha.cluster.WitnessTypes.RedeploySpec spec)
 Creates the witness node in a degraded cluster with node location information and pre-existing VCHA cluster configuration from the active node.
string Redeploy_Task (vmware.vcenter.vcha.cluster.WitnessTypes.RedeploySpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Creates the witness node in a degraded cluster with node location information and pre-existing VCHA cluster configuration from the active node.

Detailed Description

Remote stub implementation of the Witness API service.


Constructor & Destructor Documentation

vmware::vcenter::vcha::cluster::WitnessStub::WitnessStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.TypeConverter  typeConverter,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]
vmware::vcenter::vcha::cluster::WitnessStub::WitnessStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]

Member Function Documentation

vmware.vcenter.vcha.cluster.WitnessTypes.CheckResult vmware::vcenter::vcha::cluster::WitnessStub::Check ( vmware.vcenter.vcha.cluster.WitnessTypes.CheckSpec  spec) [inline]

Validates the specified witness node's placement configuration.

This method was added in vSphere API 6.7.1.

Exceptions:
vmware.vapi.std.errors.InvalidArgumentIf the credentials provided for authentincating with the active node's management vCenter server are invalid.
vmware.vapi.std.errors.InvalidArgumentIf the specified resource spec is deemed invalid for the clone operation.
vmware.vapi.std.errors.UnverifiedPeerIf the SSL certificate of the management vCenter server cannot be validated. The value of the data field of vmware.vapi.std.errors.Error will be a class that contains all the fields defined in vmware.vcenter.vcha.CertificateInfo .
vmware.vapi.std.errors.NotFoundIf the active virtual machine is not managed by the specified vCenter server for the active node.
vmware.vapi.std.errors.InvalidElementConfigurationIf the active node is on more than one datastore.
vmware.vapi.std.errors.NotAllowedInCurrentStateIf the clone operation is not allowed in the current state of the system.
vmware.vapi.std.errors.UnauthorizedIf the user has insufficient privilege to perform the operation. Operation execution requires the Global.VCServer privilege.
vmware.vapi.std.errors.ErrorIf any other error occurs.
Parameters:
specContains the witness node's placement specification.
Returns:
CheckResult structure containing errors and warnings.

Implements vmware::vcenter::vcha::cluster::Witness.

vmware.vcenter.vcha.cluster.WitnessTypes.CheckResult vmware::vcenter::vcha::cluster::WitnessStub::Check ( vmware.vcenter.vcha.cluster.WitnessTypes.CheckSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Validates the specified witness node's placement configuration.

This method was added in vSphere API 6.7.1.

Exceptions:
vmware.vapi.std.errors.InvalidArgumentIf the credentials provided for authentincating with the active node's management vCenter server are invalid.
vmware.vapi.std.errors.InvalidArgumentIf the specified resource spec is deemed invalid for the clone operation.
vmware.vapi.std.errors.UnverifiedPeerIf the SSL certificate of the management vCenter server cannot be validated. The value of the data field of vmware.vapi.std.errors.Error will be a class that contains all the fields defined in vmware.vcenter.vcha.CertificateInfo .
vmware.vapi.std.errors.NotFoundIf the active virtual machine is not managed by the specified vCenter server for the active node.
vmware.vapi.std.errors.InvalidElementConfigurationIf the active node is on more than one datastore.
vmware.vapi.std.errors.NotAllowedInCurrentStateIf the clone operation is not allowed in the current state of the system.
vmware.vapi.std.errors.UnauthorizedIf the user has insufficient privilege to perform the operation. Operation execution requires the Global.VCServer privilege.
vmware.vapi.std.errors.ErrorIf any other error occurs.
Parameters:
specContains the witness node's placement specification.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
CheckResult structure containing errors and warnings.

Implements vmware::vcenter::vcha::cluster::Witness.

global::System.Threading.Tasks.Task<vmware.vcenter.vcha.cluster.WitnessTypes.CheckResult> vmware::vcenter::vcha::cluster::WitnessStub::CheckAsync ( vmware.vcenter.vcha.cluster.WitnessTypes.CheckSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Validates the specified witness node's placement configuration.

This method was added in vSphere API 6.7.1.

Exceptions:
vmware.vapi.std.errors.InvalidArgumentIf the credentials provided for authentincating with the active node's management vCenter server are invalid.
vmware.vapi.std.errors.InvalidArgumentIf the specified resource spec is deemed invalid for the clone operation.
vmware.vapi.std.errors.UnverifiedPeerIf the SSL certificate of the management vCenter server cannot be validated. The value of the data field of vmware.vapi.std.errors.Error will be a class that contains all the fields defined in vmware.vcenter.vcha.CertificateInfo .
vmware.vapi.std.errors.NotFoundIf the active virtual machine is not managed by the specified vCenter server for the active node.
vmware.vapi.std.errors.InvalidElementConfigurationIf the active node is on more than one datastore.
vmware.vapi.std.errors.NotAllowedInCurrentStateIf the clone operation is not allowed in the current state of the system.
vmware.vapi.std.errors.UnauthorizedIf the user has insufficient privilege to perform the operation. Operation execution requires the Global.VCServer privilege.
vmware.vapi.std.errors.ErrorIf any other error occurs.
Parameters:
specContains the witness node's placement specification.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
CheckResult structure containing errors and warnings.

Implements vmware::vcenter::vcha::cluster::Witness.

global::System.Threading.Tasks.Task<vmware.vcenter.vcha.cluster.WitnessTypes.CheckResult> vmware::vcenter::vcha::cluster::WitnessStub::CheckAsync ( vmware.vcenter.vcha.cluster.WitnessTypes.CheckSpec  spec) [inline]

Validates the specified witness node's placement configuration.

This method was added in vSphere API 6.7.1.

Exceptions:
vmware.vapi.std.errors.InvalidArgumentIf the credentials provided for authentincating with the active node's management vCenter server are invalid.
vmware.vapi.std.errors.InvalidArgumentIf the specified resource spec is deemed invalid for the clone operation.
vmware.vapi.std.errors.UnverifiedPeerIf the SSL certificate of the management vCenter server cannot be validated. The value of the data field of vmware.vapi.std.errors.Error will be a class that contains all the fields defined in vmware.vcenter.vcha.CertificateInfo .
vmware.vapi.std.errors.NotFoundIf the active virtual machine is not managed by the specified vCenter server for the active node.
vmware.vapi.std.errors.InvalidElementConfigurationIf the active node is on more than one datastore.
vmware.vapi.std.errors.NotAllowedInCurrentStateIf the clone operation is not allowed in the current state of the system.
vmware.vapi.std.errors.UnauthorizedIf the user has insufficient privilege to perform the operation. Operation execution requires the Global.VCServer privilege.
vmware.vapi.std.errors.ErrorIf any other error occurs.
Parameters:
specContains the witness node's placement specification.
Returns:
CheckResult structure containing errors and warnings.

Implements vmware::vcenter::vcha::cluster::Witness.

string vmware::vcenter::vcha::cluster::WitnessStub::Redeploy_Task ( vmware.vcenter.vcha.cluster.WitnessTypes.RedeploySpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Creates the witness node in a degraded cluster with node location information and pre-existing VCHA cluster configuration from the active node.

This method was added in vSphere API 6.7.1.

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.InvalidArgumentIf the credentials provided for authentincating with the active node's management vCenter server are invalid.
vmware.vapi.std.errors.UnauthorizedIf the user has insufficient privilege to perform the operation. Operation execution requires the Global.VCServer privilege.
vmware.vapi.std.errors.UnverifiedPeerIf the SSL certificate of the management vCenter server cannot be validated. The value of the data field of vmware.vapi.std.errors.Error will be a class that contains all the fields defined in vmware.vcenter.vcha.CertificateInfo .
vmware.vapi.std.errors.ErrorIf any other error occurs.
Parameters:
specContains the witness node's redeploy specification.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::vcenter::vcha::cluster::Witness.

string vmware::vcenter::vcha::cluster::WitnessStub::Redeploy_Task ( vmware.vcenter.vcha.cluster.WitnessTypes.RedeploySpec  spec) [inline]

Creates the witness node in a degraded cluster with node location information and pre-existing VCHA cluster configuration from the active node.

This method was added in vSphere API 6.7.1.

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.InvalidArgumentIf the credentials provided for authentincating with the active node's management vCenter server are invalid.
vmware.vapi.std.errors.UnauthorizedIf the user has insufficient privilege to perform the operation. Operation execution requires the Global.VCServer privilege.
vmware.vapi.std.errors.UnverifiedPeerIf the SSL certificate of the management vCenter server cannot be validated. The value of the data field of vmware.vapi.std.errors.Error will be a class that contains all the fields defined in vmware.vcenter.vcha.CertificateInfo .
vmware.vapi.std.errors.ErrorIf any other error occurs.
Parameters:
specContains the witness node's redeploy specification.

Implements vmware::vcenter::vcha::cluster::Witness.


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