public interface Nodes extends Service, NodesTypes
Nodes
interface provides methods to retrieve vCenter and Platform
Services Controller nodes information in the topology. This interface was added
in vSphere API 6.7.2.NodesTypes.ApplianceType, NodesTypes.FilterSpec, NodesTypes.Info, NodesTypes.Summary
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
NodesTypes.Info |
get(java.lang.String node)
Retrieve details for a given identifier of the vCenter or Platform Services
Controller node.
|
void |
get(java.lang.String node,
AsyncCallback<NodesTypes.Info> asyncCallback)
Retrieve details for a given identifier of the vCenter or Platform Services
Controller node.
|
void |
get(java.lang.String node,
AsyncCallback<NodesTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Retrieve details for a given identifier of the vCenter or Platform Services
Controller node.
|
NodesTypes.Info |
get(java.lang.String node,
InvocationConfig invocationConfig)
Retrieve details for a given identifier of the vCenter or Platform Services
Controller node.
|
java.util.List<NodesTypes.Summary> |
list(NodesTypes.FilterSpec filter)
Returns information about all vCenter and Platform Services Controller nodes
matching the
NodesTypes.FilterSpec . |
void |
list(NodesTypes.FilterSpec filter,
AsyncCallback<java.util.List<NodesTypes.Summary>> asyncCallback)
Returns information about all vCenter and Platform Services Controller nodes
matching the
NodesTypes.FilterSpec . |
void |
list(NodesTypes.FilterSpec filter,
AsyncCallback<java.util.List<NodesTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns information about all vCenter and Platform Services Controller nodes
matching the
NodesTypes.FilterSpec . |
java.util.List<NodesTypes.Summary> |
list(NodesTypes.FilterSpec filter,
InvocationConfig invocationConfig)
Returns information about all vCenter and Platform Services Controller nodes
matching the
NodesTypes.FilterSpec . |
java.util.List<NodesTypes.Summary> list(NodesTypes.FilterSpec filter)
NodesTypes.FilterSpec
. This
method was added in vSphere API 6.7.2.
Synchronous method overload. Result of the invocation will be reported as a method return value.
filter
- Specification of matching vCenter and Platform Services Controller nodes for
which information should be returned.
If null
, the behavior is equivalent to a NodesTypes.FilterSpec
with all properties null
which means all nodes match the filter.NodesTypes.FilterSpec
.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the required privileges.InvalidArgument
- if the NodesTypes.FilterSpec.getTypes()
property contains a value that is not supported.Unauthorized
- if you do not have all of the privileges described as follows: System.Read
. java.util.List<NodesTypes.Summary> list(NodesTypes.FilterSpec filter, InvocationConfig invocationConfig)
NodesTypes.FilterSpec
. This
method was added in vSphere API 6.7.2.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
filter
- Specification of matching vCenter and Platform Services Controller nodes for
which information should be returned.
If null
, the behavior is equivalent to a NodesTypes.FilterSpec
with all properties null
which means all nodes match the filter.invocationConfig
- Configuration for the method invocation.NodesTypes.FilterSpec
.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the required privileges.InvalidArgument
- if the NodesTypes.FilterSpec.getTypes()
property contains a value that is not supported.Unauthorized
- if you do not have all of the privileges described as follows: System.Read
. void list(NodesTypes.FilterSpec filter, AsyncCallback<java.util.List<NodesTypes.Summary>> asyncCallback)
NodesTypes.FilterSpec
. This
method was added in vSphere API 6.7.2.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
commonly used information for all vCenter and Platform Services Controller nodes
matching the NodesTypes.FilterSpec
.
Operation Errors:
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the required privileges.
InvalidArgument
- if the NodesTypes.FilterSpec.getTypes()
property contains a value that is not supported.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. filter
- Specification of matching vCenter and Platform Services Controller nodes for
which information should be returned.
If null
, the behavior is equivalent to a NodesTypes.FilterSpec
with all properties null
which means all nodes match the filter.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(NodesTypes.FilterSpec filter, AsyncCallback<java.util.List<NodesTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
NodesTypes.FilterSpec
. This
method was added in vSphere API 6.7.2.
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:
commonly used information for all vCenter and Platform Services Controller nodes
matching the NodesTypes.FilterSpec
.
Operation Errors:
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the required privileges.
InvalidArgument
- if the NodesTypes.FilterSpec.getTypes()
property contains a value that is not supported.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. filter
- Specification of matching vCenter and Platform Services Controller nodes for
which information should be returned.
If null
, the behavior is equivalent to a NodesTypes.FilterSpec
with all properties null
which means all nodes match the filter.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.NodesTypes.Info get(java.lang.String node)
Synchronous method overload. Result of the invocation will be reported as a method return value.
node
- Identifier of the vCenter or Platform Services Controller node. Identifier can
be either IP address or DNS resolvable name of the node.
The parameter must be an identifier for the resource type: com.vmware.vcenter.VCenter.name
.NodesTypes.Info
.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the required privileges.NotFound
- if a node doesn't exist for given node identifier.Unauthorized
- if you do not have all of the privileges described as follows: System.Read
. NodesTypes.Info get(java.lang.String node, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
node
- Identifier of the vCenter or Platform Services Controller node. Identifier can
be either IP address or DNS resolvable name of the node.
The parameter must be an identifier for the resource type: com.vmware.vcenter.VCenter.name
.invocationConfig
- Configuration for the method invocation.NodesTypes.Info
.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user doesn't have the required privileges.NotFound
- if a node doesn't exist for given node identifier.Unauthorized
- if you do not have all of the privileges described as follows: System.Read
. void get(java.lang.String node, AsyncCallback<NodesTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
vCenter or Platform Services Controller node details with replication partners
and client affinity information as applicable. See NodesTypes.Info
.
Operation Errors:
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the required privileges.
NotFound
- if a node doesn't exist for given node identifier.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. node
- Identifier of the vCenter or Platform Services Controller node. Identifier can
be either IP address or DNS resolvable name of the node.
The parameter must be an identifier for the resource type: com.vmware.vcenter.VCenter.name
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String node, AsyncCallback<NodesTypes.Info> asyncCallback, InvocationConfig invocationConfig)
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:
vCenter or Platform Services Controller node details with replication partners
and client affinity information as applicable. See NodesTypes.Info
.
Operation Errors:
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user doesn't have the required privileges.
NotFound
- if a node doesn't exist for given node identifier.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. node
- Identifier of the vCenter or Platform Services Controller node. Identifier can
be either IP address or DNS resolvable name of the node.
The parameter must be an identifier for the resource type: com.vmware.vcenter.VCenter.name
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.