public class ActiveStub extends com.vmware.vapi.internal.bindings.Stub implements Active
Active
API service.
WARNING: Internal class, subject to change in future versions.
ActiveTypes.Info| Constructor and Description |
|---|
ActiveStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ActiveStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
ActiveTypes.Info |
get(CredentialsSpec vcSpec,
java.lang.Boolean partial)
Retrieves information about the active node of a VCHA cluster.
|
void |
get(CredentialsSpec vcSpec,
java.lang.Boolean partial,
AsyncCallback<ActiveTypes.Info> asyncCallback)
Retrieves information about the active node of a VCHA cluster.
|
void |
get(CredentialsSpec vcSpec,
java.lang.Boolean partial,
AsyncCallback<ActiveTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Retrieves information about the active node of a VCHA cluster.
|
ActiveTypes.Info |
get(CredentialsSpec vcSpec,
java.lang.Boolean partial,
InvocationConfig invocationConfig)
Retrieves information about the active node of a VCHA cluster.
|
public ActiveStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ActiveStub(ApiProvider apiProvider, StubConfigurationBase config)
public ActiveTypes.Info get(CredentialsSpec vcSpec, java.lang.Boolean partial)
ActiveSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface ActivevcSpec - Contains active node's management vCenter server credentials.
If null, then the active vCenter server is assumed to be managed by
itself.partial - If true, then return only the information that does not require connecting to
the Active vCenter Server. null, then return all the information.public ActiveTypes.Info get(CredentialsSpec vcSpec, java.lang.Boolean partial, InvocationConfig invocationConfig)
ActiveSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
get in interface ActivevcSpec - Contains active node's management vCenter server credentials.
If null, then the active vCenter server is assumed to be managed by
itself.partial - If true, then return only the information that does not require connecting to
the Active vCenter Server. null, then return all the information.invocationConfig - Configuration for the method invocation.public void get(CredentialsSpec vcSpec, java.lang.Boolean partial, AsyncCallback<ActiveTypes.Info> asyncCallback)
ActiveAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
Info Information about the VCHA network and placement of the active node.
Operation Errors:
InvalidArgument - If the credentials provided for authentincating with the active node's
management vCenter server are invalid.
Unauthorized - If the user has insufficient privilege to perform the operation.
partial is false or unset, then the operation execution requires the
Global.VCServer privilege.partial is true, then the
operation execution requires the System.Read privilege.UnverifiedPeer - If the SSL certificate of the management vCenter server cannot be validated.
Error
will be a class that contains all the properties defined in CertificateInfo.InvalidElementConfiguration - If the active node is on more than one datastore.NotFound - If the active virtual machine is not managed by the specified vCenter server for
the active node.Error - If the management interface IP address assignment is not static.Error - If any other error occurs.get in interface ActivevcSpec - Contains active node's management vCenter server credentials.
If null, then the active vCenter server is assumed to be managed by
itself.partial - If true, then return only the information that does not require connecting to
the Active vCenter Server. null, then return all the information.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(CredentialsSpec vcSpec, java.lang.Boolean partial, AsyncCallback<ActiveTypes.Info> asyncCallback, InvocationConfig invocationConfig)
ActiveAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Result:
Info Information about the VCHA network and placement of the active node.
Operation Errors:
InvalidArgument - If the credentials provided for authentincating with the active node's
management vCenter server are invalid.
Unauthorized - If the user has insufficient privilege to perform the operation.
partial is false or unset, then the operation execution requires the
Global.VCServer privilege.partial is true, then the
operation execution requires the System.Read privilege.UnverifiedPeer - If the SSL certificate of the management vCenter server cannot be validated.
Error
will be a class that contains all the properties defined in CertificateInfo.InvalidElementConfiguration - If the active node is on more than one datastore.NotFound - If the active virtual machine is not managed by the specified vCenter server for
the active node.Error - If the management interface IP address assignment is not static.Error - If any other error occurs.get in interface ActivevcSpec - Contains active node's management vCenter server credentials.
If null, then the active vCenter server is assumed to be managed by
itself.partial - If true, then return only the information that does not require connecting to
the Active vCenter Server. null, then return all the information.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.