public class DiscoveredNodesStub extends com.vmware.vapi.internal.bindings.Stub implements DiscoveredNodes
DiscoveredNodes
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, LIST_HAS_PARENT_FALSE, LIST_HAS_PARENT_TRUE
Constructor and Description |
---|
DiscoveredNodesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
DiscoveredNodesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
TransportNode |
createtransportnode(java.lang.String nodeExtId,
TransportNode transportNode,
java.lang.Boolean overrideNsxOwnership)
NSX components are installaed on host and transport node is created with given
configurations.
|
void |
createtransportnode(java.lang.String nodeExtId,
TransportNode transportNode,
java.lang.Boolean overrideNsxOwnership,
com.vmware.vapi.bindings.client.AsyncCallback<TransportNode> asyncCallback)
NSX components are installaed on host and transport node is created with given
configurations.
|
void |
createtransportnode(java.lang.String nodeExtId,
TransportNode transportNode,
java.lang.Boolean overrideNsxOwnership,
com.vmware.vapi.bindings.client.AsyncCallback<TransportNode> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NSX components are installaed on host and transport node is created with given
configurations.
|
TransportNode |
createtransportnode(java.lang.String nodeExtId,
TransportNode transportNode,
java.lang.Boolean overrideNsxOwnership,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NSX components are installaed on host and transport node is created with given
configurations.
|
DiscoveredNode |
get(java.lang.String nodeExtId)
Returns information about a specific discovered node.
|
void |
get(java.lang.String nodeExtId,
com.vmware.vapi.bindings.client.AsyncCallback<DiscoveredNode> asyncCallback)
Returns information about a specific discovered node.
|
void |
get(java.lang.String nodeExtId,
com.vmware.vapi.bindings.client.AsyncCallback<DiscoveredNode> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about a specific discovered node.
|
DiscoveredNode |
get(java.lang.String nodeExtId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about a specific discovered node.
|
DiscoveredNodeListResult |
list(java.lang.String cmLocalId,
java.lang.String cursor,
java.lang.String displayName,
java.lang.String externalId,
java.lang.String hasParent,
java.lang.String includedFields,
java.lang.String ipAddress,
java.lang.String nodeId,
java.lang.String nodeType,
java.lang.String originId,
java.lang.Long pageSize,
java.lang.String parentComputeCollection,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
Returns information about all discovered nodes.
|
void |
list(java.lang.String cmLocalId,
java.lang.String cursor,
java.lang.String displayName,
java.lang.String externalId,
java.lang.String hasParent,
java.lang.String includedFields,
java.lang.String ipAddress,
java.lang.String nodeId,
java.lang.String nodeType,
java.lang.String originId,
java.lang.Long pageSize,
java.lang.String parentComputeCollection,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<DiscoveredNodeListResult> asyncCallback)
Returns information about all discovered nodes.
|
void |
list(java.lang.String cmLocalId,
java.lang.String cursor,
java.lang.String displayName,
java.lang.String externalId,
java.lang.String hasParent,
java.lang.String includedFields,
java.lang.String ipAddress,
java.lang.String nodeId,
java.lang.String nodeType,
java.lang.String originId,
java.lang.Long pageSize,
java.lang.String parentComputeCollection,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<DiscoveredNodeListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about all discovered nodes.
|
DiscoveredNodeListResult |
list(java.lang.String cmLocalId,
java.lang.String cursor,
java.lang.String displayName,
java.lang.String externalId,
java.lang.String hasParent,
java.lang.String includedFields,
java.lang.String ipAddress,
java.lang.String nodeId,
java.lang.String nodeType,
java.lang.String originId,
java.lang.Long pageSize,
java.lang.String parentComputeCollection,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about all discovered nodes.
|
TransportNode |
reapplyclusterconfig(java.lang.String nodeExtId,
java.lang.Boolean overrideNsxOwnership)
When transport node profile (TNP) is applied to a cluster, if any validation
fails (e.g.
|
void |
reapplyclusterconfig(java.lang.String nodeExtId,
java.lang.Boolean overrideNsxOwnership,
com.vmware.vapi.bindings.client.AsyncCallback<TransportNode> asyncCallback)
When transport node profile (TNP) is applied to a cluster, if any validation
fails (e.g.
|
void |
reapplyclusterconfig(java.lang.String nodeExtId,
java.lang.Boolean overrideNsxOwnership,
com.vmware.vapi.bindings.client.AsyncCallback<TransportNode> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
When transport node profile (TNP) is applied to a cluster, if any validation
fails (e.g.
|
TransportNode |
reapplyclusterconfig(java.lang.String nodeExtId,
java.lang.Boolean overrideNsxOwnership,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
When transport node profile (TNP) is applied to a cluster, if any validation
fails (e.g.
|
public DiscoveredNodesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public DiscoveredNodesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public TransportNode createtransportnode(java.lang.String nodeExtId, TransportNode transportNode, java.lang.Boolean overrideNsxOwnership)
DiscoveredNodes
Synchronous method overload. Result of the invocation will be reported as a method return value.
createtransportnode
in interface DiscoveredNodes
nodeExtId
- (required)transportNode
- (required)overrideNsxOwnership
- Override NSX Ownership (optional, default to false)public TransportNode createtransportnode(java.lang.String nodeExtId, TransportNode transportNode, java.lang.Boolean overrideNsxOwnership, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DiscoveredNodes
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
createtransportnode
in interface DiscoveredNodes
nodeExtId
- (required)transportNode
- (required)overrideNsxOwnership
- Override NSX Ownership (optional, default to false)invocationConfig
- Configuration for the method invocation.public void createtransportnode(java.lang.String nodeExtId, TransportNode transportNode, java.lang.Boolean overrideNsxOwnership, com.vmware.vapi.bindings.client.AsyncCallback<TransportNode> asyncCallback)
DiscoveredNodes
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.TransportNode
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
createtransportnode
in interface DiscoveredNodes
nodeExtId
- (required)transportNode
- (required)overrideNsxOwnership
- Override NSX Ownership (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void createtransportnode(java.lang.String nodeExtId, TransportNode transportNode, java.lang.Boolean overrideNsxOwnership, com.vmware.vapi.bindings.client.AsyncCallback<TransportNode> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DiscoveredNodes
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:
com.vmware.nsx.model.TransportNode
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
createtransportnode
in interface DiscoveredNodes
nodeExtId
- (required)transportNode
- (required)overrideNsxOwnership
- Override NSX Ownership (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public DiscoveredNode get(java.lang.String nodeExtId)
DiscoveredNodes
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface DiscoveredNodes
nodeExtId
- (required)public DiscoveredNode get(java.lang.String nodeExtId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DiscoveredNodes
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 DiscoveredNodes
nodeExtId
- (required)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String nodeExtId, com.vmware.vapi.bindings.client.AsyncCallback<DiscoveredNode> asyncCallback)
DiscoveredNodes
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.DiscoveredNode
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface DiscoveredNodes
nodeExtId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String nodeExtId, com.vmware.vapi.bindings.client.AsyncCallback<DiscoveredNode> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DiscoveredNodes
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:
com.vmware.nsx.model.DiscoveredNode
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface DiscoveredNodes
nodeExtId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public DiscoveredNodeListResult list(java.lang.String cmLocalId, java.lang.String cursor, java.lang.String displayName, java.lang.String externalId, java.lang.String hasParent, java.lang.String includedFields, java.lang.String ipAddress, java.lang.String nodeId, java.lang.String nodeType, java.lang.String originId, java.lang.Long pageSize, java.lang.String parentComputeCollection, java.lang.Boolean sortAscending, java.lang.String sortBy)
DiscoveredNodes
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface DiscoveredNodes
cmLocalId
- Local Id of the discovered node in the Compute Manager (optional)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)displayName
- Display name of discovered node (optional)externalId
- External id of the discovered node, ex. a mo-ref from VC (optional)hasParent
- Discovered node has a parent compute collection or is a standalone host
(optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)ipAddress
- IP address of the discovered node (optional)nodeId
- Id of the fabric node created from the discovered node (optional)nodeType
- Discovered Node type like HostNode (optional)originId
- Id of the compute manager from where this node was discovered (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)parentComputeCollection
- External id of the compute collection to which this node belongs (optional)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)public DiscoveredNodeListResult list(java.lang.String cmLocalId, java.lang.String cursor, java.lang.String displayName, java.lang.String externalId, java.lang.String hasParent, java.lang.String includedFields, java.lang.String ipAddress, java.lang.String nodeId, java.lang.String nodeType, java.lang.String originId, java.lang.Long pageSize, java.lang.String parentComputeCollection, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DiscoveredNodes
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 DiscoveredNodes
cmLocalId
- Local Id of the discovered node in the Compute Manager (optional)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)displayName
- Display name of discovered node (optional)externalId
- External id of the discovered node, ex. a mo-ref from VC (optional)hasParent
- Discovered node has a parent compute collection or is a standalone host
(optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)ipAddress
- IP address of the discovered node (optional)nodeId
- Id of the fabric node created from the discovered node (optional)nodeType
- Discovered Node type like HostNode (optional)originId
- Id of the compute manager from where this node was discovered (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)parentComputeCollection
- External id of the compute collection to which this node belongs (optional)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)invocationConfig
- Configuration for the method invocation.public void list(java.lang.String cmLocalId, java.lang.String cursor, java.lang.String displayName, java.lang.String externalId, java.lang.String hasParent, java.lang.String includedFields, java.lang.String ipAddress, java.lang.String nodeId, java.lang.String nodeType, java.lang.String originId, java.lang.Long pageSize, java.lang.String parentComputeCollection, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<DiscoveredNodeListResult> asyncCallback)
DiscoveredNodes
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.DiscoveredNodeListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface DiscoveredNodes
cmLocalId
- Local Id of the discovered node in the Compute Manager (optional)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)displayName
- Display name of discovered node (optional)externalId
- External id of the discovered node, ex. a mo-ref from VC (optional)hasParent
- Discovered node has a parent compute collection or is a standalone host
(optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)ipAddress
- IP address of the discovered node (optional)nodeId
- Id of the fabric node created from the discovered node (optional)nodeType
- Discovered Node type like HostNode (optional)originId
- Id of the compute manager from where this node was discovered (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)parentComputeCollection
- External id of the compute collection to which this node belongs (optional)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String cmLocalId, java.lang.String cursor, java.lang.String displayName, java.lang.String externalId, java.lang.String hasParent, java.lang.String includedFields, java.lang.String ipAddress, java.lang.String nodeId, java.lang.String nodeType, java.lang.String originId, java.lang.Long pageSize, java.lang.String parentComputeCollection, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<DiscoveredNodeListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DiscoveredNodes
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:
com.vmware.nsx.model.DiscoveredNodeListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface DiscoveredNodes
cmLocalId
- Local Id of the discovered node in the Compute Manager (optional)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)displayName
- Display name of discovered node (optional)externalId
- External id of the discovered node, ex. a mo-ref from VC (optional)hasParent
- Discovered node has a parent compute collection or is a standalone host
(optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)ipAddress
- IP address of the discovered node (optional)nodeId
- Id of the fabric node created from the discovered node (optional)nodeType
- Discovered Node type like HostNode (optional)originId
- Id of the compute manager from where this node was discovered (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)parentComputeCollection
- External id of the compute collection to which this node belongs (optional)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public TransportNode reapplyclusterconfig(java.lang.String nodeExtId, java.lang.Boolean overrideNsxOwnership)
DiscoveredNodes
Synchronous method overload. Result of the invocation will be reported as a method return value.
reapplyclusterconfig
in interface DiscoveredNodes
nodeExtId
- (required)overrideNsxOwnership
- Override NSX Ownership (optional, default to false)public TransportNode reapplyclusterconfig(java.lang.String nodeExtId, java.lang.Boolean overrideNsxOwnership, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DiscoveredNodes
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
reapplyclusterconfig
in interface DiscoveredNodes
nodeExtId
- (required)overrideNsxOwnership
- Override NSX Ownership (optional, default to false)invocationConfig
- Configuration for the method invocation.public void reapplyclusterconfig(java.lang.String nodeExtId, java.lang.Boolean overrideNsxOwnership, com.vmware.vapi.bindings.client.AsyncCallback<TransportNode> asyncCallback)
DiscoveredNodes
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.TransportNode
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
reapplyclusterconfig
in interface DiscoveredNodes
nodeExtId
- (required)overrideNsxOwnership
- Override NSX Ownership (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void reapplyclusterconfig(java.lang.String nodeExtId, java.lang.Boolean overrideNsxOwnership, com.vmware.vapi.bindings.client.AsyncCallback<TransportNode> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
DiscoveredNodes
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:
com.vmware.nsx.model.TransportNode
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
reapplyclusterconfig
in interface DiscoveredNodes
nodeExtId
- (required)overrideNsxOwnership
- Override NSX Ownership (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.