public class TopologyStub extends com.vmware.vapi.internal.bindings.Stub implements Topology
Topology
API service.
WARNING: Internal class, subject to change in future versions.
TopologyTypes.InfoapiProvider, 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.util.List<TopologyTypes.Info> |
get(java.lang.String supervisor)
Queries the current association between vSphere Zones and vSphere Clusters from
the given Supervisor ID.
|
void |
get(java.lang.String supervisor,
AsyncCallback<java.util.List<TopologyTypes.Info>> asyncCallback)
Queries the current association between vSphere Zones and vSphere Clusters from
the given Supervisor ID.
|
void |
get(java.lang.String supervisor,
AsyncCallback<java.util.List<TopologyTypes.Info>> asyncCallback,
InvocationConfig invocationConfig)
Queries the current association between vSphere Zones and vSphere Clusters from
the given Supervisor ID.
|
java.util.List<TopologyTypes.Info> |
get(java.lang.String supervisor,
InvocationConfig invocationConfig)
Queries the current association between vSphere Zones and vSphere Clusters from
the given Supervisor ID.
|
public TopologyStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public TopologyStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<TopologyTypes.Info> get(java.lang.String supervisor)
TopologyTopology.get(java.lang.String) to call the
APIs that requires a vSphere Cluster ID instead of a Supervisor. This method was
added in vSphere API 8.0.0.1.
Synchronous method overload. Result of the invocation will be reported as a method return value.
get in interface Topologysupervisor - Identifier for a Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor.TopologyTypes.Info of
vSphere Zone and vSphere Cluster associations.public java.util.List<TopologyTypes.Info> get(java.lang.String supervisor, InvocationConfig invocationConfig)
TopologyTopology.get(java.lang.String) to call the
APIs that requires a vSphere Cluster ID instead of a Supervisor. This method was
added in vSphere API 8.0.0.1.
Synchronous 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 Topologysupervisor - Identifier for a Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor.invocationConfig - Configuration for the method invocation.TopologyTypes.Info of
vSphere Zone and vSphere Cluster associations.public void get(java.lang.String supervisor,
AsyncCallback<java.util.List<TopologyTypes.Info>> asyncCallback)
TopologyTopology.get(java.lang.String) to call the
APIs that requires a vSphere Cluster ID instead of a Supervisor. This method was
added in vSphere API 8.0.0.1.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
List of TopologyTypes.Info of
vSphere Zone and vSphere Cluster associations.
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 given Supervisor 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 Topologysupervisor - Identifier for a Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String supervisor,
AsyncCallback<java.util.List<TopologyTypes.Info>> asyncCallback,
InvocationConfig invocationConfig)
TopologyTopology.get(java.lang.String) to call the
APIs that requires a vSphere Cluster ID instead of a Supervisor. This method was
added in vSphere API 8.0.0.1.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
List of TopologyTypes.Info of
vSphere Zone and vSphere Cluster associations.
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 given Supervisor 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 Topologysupervisor - Identifier for a Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.