public class NodesStub extends com.vmware.vapi.internal.bindings.Stub implements Nodes
Nodes
API service.
WARNING: Internal class, subject to change in future versions.
NodesTypes.ApplianceType, NodesTypes.FilterSpec, NodesTypes.Info, NodesTypes.Summary
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
NodesStub(ApiProvider apiProvider,
StubConfigurationBase config) |
NodesStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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 . |
public NodesStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public NodesStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<NodesTypes.Summary> list(NodesTypes.FilterSpec filter)
Nodes
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.
list
in interface Nodes
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
.public java.util.List<NodesTypes.Summary> list(NodesTypes.FilterSpec filter, InvocationConfig invocationConfig)
Nodes
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.
list
in interface Nodes
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
.public void list(NodesTypes.FilterSpec filter, AsyncCallback<java.util.List<NodesTypes.Summary>> asyncCallback)
Nodes
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
. list
in interface Nodes
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.public void list(NodesTypes.FilterSpec filter, AsyncCallback<java.util.List<NodesTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
Nodes
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
. list
in interface Nodes
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.public NodesTypes.Info get(java.lang.String node)
Nodes
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Nodes
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
.public NodesTypes.Info get(java.lang.String node, InvocationConfig invocationConfig)
Nodes
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 Nodes
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
.public void get(java.lang.String node, AsyncCallback<NodesTypes.Info> asyncCallback)
Nodes
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
. get
in interface Nodes
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.public void get(java.lang.String node, AsyncCallback<NodesTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Nodes
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
. get
in interface Nodes
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.