public class VniPoolsStub extends com.vmware.vapi.internal.bindings.Stub implements VniPools
VniPools
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
VniPoolsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
VniPoolsStub(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 |
|---|---|
VniPool |
create(VniPool vniPool)
Creates a new VNI pool using the specified VNI pool range.
|
void |
create(VniPool vniPool,
com.vmware.vapi.bindings.client.AsyncCallback<VniPool> asyncCallback)
Creates a new VNI pool using the specified VNI pool range.
|
void |
create(VniPool vniPool,
com.vmware.vapi.bindings.client.AsyncCallback<VniPool> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new VNI pool using the specified VNI pool range.
|
VniPool |
create(VniPool vniPool,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new VNI pool using the specified VNI pool range.
|
void |
delete(java.lang.String poolId,
java.lang.Boolean force)
Deletes the given VNI pool.
|
void |
delete(java.lang.String poolId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deletes the given VNI pool.
|
void |
delete(java.lang.String poolId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes the given VNI pool.
|
void |
delete(java.lang.String poolId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes the given VNI pool.
|
VniPool |
get(java.lang.String poolId)
Returns information about the specified virtual network identifier (VNI) pool.
|
void |
get(java.lang.String poolId,
com.vmware.vapi.bindings.client.AsyncCallback<VniPool> asyncCallback)
Returns information about the specified virtual network identifier (VNI) pool.
|
void |
get(java.lang.String poolId,
com.vmware.vapi.bindings.client.AsyncCallback<VniPool> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the specified virtual network identifier (VNI) pool.
|
VniPool |
get(java.lang.String poolId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the specified virtual network identifier (VNI) pool.
|
VniPoolListResult |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
Returns information about the default and configured virtual network identifier
(VNI) pools for use when building logical network segments.
|
void |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<VniPoolListResult> asyncCallback)
Returns information about the default and configured virtual network identifier
(VNI) pools for use when building logical network segments.
|
void |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<VniPoolListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the default and configured virtual network identifier
(VNI) pools for use when building logical network segments.
|
VniPoolListResult |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the default and configured virtual network identifier
(VNI) pools for use when building logical network segments.
|
VniPool |
update(java.lang.String poolId,
VniPool vniPool)
Updates the specified VNI pool.
|
void |
update(java.lang.String poolId,
VniPool vniPool,
com.vmware.vapi.bindings.client.AsyncCallback<VniPool> asyncCallback)
Updates the specified VNI pool.
|
void |
update(java.lang.String poolId,
VniPool vniPool,
com.vmware.vapi.bindings.client.AsyncCallback<VniPool> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates the specified VNI pool.
|
VniPool |
update(java.lang.String poolId,
VniPool vniPool,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates the specified VNI pool.
|
public VniPoolsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public VniPoolsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public VniPool create(VniPool vniPool)
VniPoolsSynchronous method overload. Result of the invocation will be reported as a method return value.
public VniPool create(VniPool vniPool, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VniPoolsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void create(VniPool vniPool, com.vmware.vapi.bindings.client.AsyncCallback<VniPool> asyncCallback)
VniPoolsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.VniPool
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public void create(VniPool vniPool, com.vmware.vapi.bindings.client.AsyncCallback<VniPool> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VniPoolsAsynchronous 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.VniPool
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public void delete(java.lang.String poolId,
java.lang.Boolean force)
VniPoolsSynchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(java.lang.String poolId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VniPoolsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void delete(java.lang.String poolId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
VniPoolsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public void delete(java.lang.String poolId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VniPoolsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
delete in interface VniPoolspoolId - VNI pool id (required)force - Force delete the resource even if it is being used somewhere (optional, default
to false)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public VniPool get(java.lang.String poolId)
VniPoolsSynchronous method overload. Result of the invocation will be reported as a method return value.
public VniPool get(java.lang.String poolId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VniPoolsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void get(java.lang.String poolId,
com.vmware.vapi.bindings.client.AsyncCallback<VniPool> asyncCallback)
VniPoolsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.VniPool
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public void get(java.lang.String poolId,
com.vmware.vapi.bindings.client.AsyncCallback<VniPool> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VniPoolsAsynchronous 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.VniPool
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public VniPoolListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
VniPoolsSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface VniPoolscursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields - Comma separated list of fields that should be included in query result
(optional)pageSize - Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending - (optional)sortBy - Field by which records are sorted (optional)public VniPoolListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VniPoolsSynchronous 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 VniPoolscursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields - Comma separated list of fields that should be included in query result
(optional)pageSize - Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending - (optional)sortBy - Field by which records are sorted (optional)invocationConfig - Configuration for the method invocation.public void list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<VniPoolListResult> asyncCallback)
VniPoolsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.VniPoolListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
list in interface VniPoolscursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields - Comma separated list of fields that should be included in query result
(optional)pageSize - Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)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 cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<VniPoolListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VniPoolsAsynchronous 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.VniPoolListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
list in interface VniPoolscursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields - Comma separated list of fields that should be included in query result
(optional)pageSize - Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)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 VniPool update(java.lang.String poolId, VniPool vniPool)
VniPoolsSynchronous method overload. Result of the invocation will be reported as a method return value.
public VniPool update(java.lang.String poolId, VniPool vniPool, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VniPoolsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void update(java.lang.String poolId,
VniPool vniPool,
com.vmware.vapi.bindings.client.AsyncCallback<VniPool> asyncCallback)
VniPoolsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.VniPool
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public void update(java.lang.String poolId,
VniPool vniPool,
com.vmware.vapi.bindings.client.AsyncCallback<VniPool> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VniPoolsAsynchronous 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.VniPool
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found