public class TopologyStub extends com.vmware.vapi.internal.bindings.Stub implements Topology
Topology
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
TopologyStub(ApiProvider apiProvider,
StubConfigurationBase config) |
TopologyStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
get(java.lang.String cluster)
Queries the Supervisor ID that is currently running on the given vSphere Cluster
ID, if there's any.
|
void |
get(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback)
Queries the Supervisor ID that is currently running on the given vSphere Cluster
ID, if there's any.
|
void |
get(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Queries the Supervisor ID that is currently running on the given vSphere Cluster
ID, if there's any.
|
java.lang.String |
get(java.lang.String cluster,
InvocationConfig invocationConfig)
Queries the Supervisor ID that is currently running on the given vSphere Cluster
ID, if there's any.
|
public TopologyStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public TopologyStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.lang.String get(java.lang.String cluster)
TopologySynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface Topologycluster - Identifier for a vSphere Cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.com.vmware.vcenter.consumption_domains.Zone.public java.lang.String get(java.lang.String cluster,
InvocationConfig invocationConfig)
TopologySynchronous 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 Topologycluster - Identifier for a vSphere Cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.invocationConfig - Configuration for the method invocation.com.vmware.vcenter.consumption_domains.Zone.public void get(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback)
TopologyAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Identifier of the Supervisor associated with the given vSphere Cluster.
The return value will be an identifier for the resource type: com.vmware.vcenter.consumption_domains.Zone.
Operation Errors:
Error - if the system reports an error while responding to the request.
Error - if the system reports an error while responding to the request.
NotFound - if the given vSphere Cluster does not exist.
Unauthenticated - if the user can not be authenticated.
Unauthenticated - if the user cannot be authenticated.
Unauthorized - if the user does not have Namespaces.Manage privilege and the System.Read privilege on all vSphere Clusters hosting the Supervisor.
public void get(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
TopologyAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
Identifier of the Supervisor associated with the given vSphere Cluster.
The return value will be an identifier for the resource type: com.vmware.vcenter.consumption_domains.Zone.
Operation Errors:
Error - if the system reports an error while responding to the request.
Error - if the system reports an error while responding to the request.
NotFound - if the given vSphere Cluster does not exist.
Unauthenticated - if the user can not be authenticated.
Unauthenticated - if the user cannot be authenticated.
Unauthorized - if the user does not have Namespaces.Manage privilege and the System.Read privilege on all vSphere Clusters hosting the Supervisor.
get in interface Topologycluster - Identifier for a vSphere Cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.