Interface IpAllocations
-
- All Superinterfaces:
IpAllocationsTypes
,com.vmware.vapi.bindings.Service
- All Known Implementing Classes:
IpAllocationsStub
public interface IpAllocations extends com.vmware.vapi.bindings.Service, IpAllocationsTypes
-
-
Field Summary
-
Fields inherited from interface com.vmware.nsx_policy.orgs.projects.infra.ip_pools.IpAllocationsTypes
_VAPI_SERVICE_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
delete(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId)
Releases the IP that was allocated for this allocation requestvoid
delete(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Releases the IP that was allocated for this allocation requestvoid
delete(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Releases the IP that was allocated for this allocation requestvoid
delete(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Releases the IP that was allocated for this allocation requestIpAddressAllocation
get(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId)
Read a previously created allocationvoid
get(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, com.vmware.vapi.bindings.client.AsyncCallback<IpAddressAllocation> asyncCallback)
Read a previously created allocationvoid
get(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, com.vmware.vapi.bindings.client.AsyncCallback<IpAddressAllocation> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read a previously created allocationIpAddressAllocation
get(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read a previously created allocationIpAddressAllocationListResult
list(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Returns information about which addresses have been allocated from a specified IP address pool in policy.void
list(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<IpAddressAllocationListResult> asyncCallback)
Returns information about which addresses have been allocated from a specified IP address pool in policy.void
list(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<IpAddressAllocationListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about which addresses have been allocated from a specified IP address pool in policy.IpAddressAllocationListResult
list(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, 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 which addresses have been allocated from a specified IP address pool in policy.void
patch(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, IpAddressAllocation ipAddressAllocation)
If allocation of the same ID is found, this is a no-op.void
patch(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, IpAddressAllocation ipAddressAllocation, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
If allocation of the same ID is found, this is a no-op.void
patch(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, IpAddressAllocation ipAddressAllocation, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If allocation of the same ID is found, this is a no-op.void
patch(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, IpAddressAllocation ipAddressAllocation, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If allocation of the same ID is found, this is a no-op.IpAddressAllocation
update(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, IpAddressAllocation ipAddressAllocation)
If allocation of the same ID is found, this is a no-op.void
update(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, IpAddressAllocation ipAddressAllocation, com.vmware.vapi.bindings.client.AsyncCallback<IpAddressAllocation> asyncCallback)
If allocation of the same ID is found, this is a no-op.void
update(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, IpAddressAllocation ipAddressAllocation, com.vmware.vapi.bindings.client.AsyncCallback<IpAddressAllocation> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If allocation of the same ID is found, this is a no-op.IpAddressAllocation
update(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, IpAddressAllocation ipAddressAllocation, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If allocation of the same ID is found, this is a no-op.
-
-
-
Method Detail
-
delete
void delete(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId)
Releases the IP that was allocated for this allocation requestSynchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)ipPoolId
- (required)ipAllocationId
- (required)- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
delete
void delete(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Releases the IP that was allocated for this allocation requestSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)ipPoolId
- (required)ipAllocationId
- (required)invocationConfig
- Configuration for the method invocation.- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
delete
void delete(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Releases the IP that was allocated for this allocation requestAsynchronous 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
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)ipPoolId
- (required)ipAllocationId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
delete
void delete(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Releases the IP that was allocated for this allocation requestAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
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
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)ipPoolId
- (required)ipAllocationId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
get
IpAddressAllocation get(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId)
Read a previously created allocationSynchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)ipPoolId
- (required)ipAllocationId
- (required)- Returns:
- com.vmware.nsx_policy.model.IpAddressAllocation
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
get
IpAddressAllocation get(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read a previously created allocationSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)ipPoolId
- (required)ipAllocationId
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.IpAddressAllocation
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
get
void get(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, com.vmware.vapi.bindings.client.AsyncCallback<IpAddressAllocation> asyncCallback)
Read a previously created allocationAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.IpAddressAllocationOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)ipPoolId
- (required)ipAllocationId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
void get(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, com.vmware.vapi.bindings.client.AsyncCallback<IpAddressAllocation> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read a previously created allocationAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.IpAddressAllocationOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)ipPoolId
- (required)ipAllocationId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
list
IpAddressAllocationListResult list(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Returns information about which addresses have been allocated from a specified IP address pool in policy.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)ipPoolId
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to false)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)- Returns:
- com.vmware.nsx_policy.model.IpAddressAllocationListResult
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
list
IpAddressAllocationListResult list(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, 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 which addresses have been allocated from a specified IP address pool in policy.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)ipPoolId
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to false)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.- Returns:
- com.vmware.nsx_policy.model.IpAddressAllocationListResult
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
list
void list(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<IpAddressAllocationListResult> asyncCallback)
Returns information about which addresses have been allocated from a specified IP address pool in policy.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.IpAddressAllocationListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)ipPoolId
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to false)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.
-
list
void list(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<IpAddressAllocationListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about which addresses have been allocated from a specified IP address pool in policy.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.IpAddressAllocationListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)ipPoolId
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to false)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.
-
patch
void patch(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, IpAddressAllocation ipAddressAllocation)
If allocation of the same ID is found, this is a no-op. If no allocation of the specified ID is found, then a new allocation is created. An allocation cannot be updated once created. When an allocation is requested from an IpAddressPool, the IP could be allocated from any subnet in the pool that has the available capacity. Request to allocate an IP will fail if no subnet was previously created. If specific IP was requested, the status of allocation is reflected in the realized state. If any IP is requested, the IP finally allocated is obtained by polling on the realized state until the allocated IP is returned in the extended attributes.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)ipPoolId
- (required)ipAllocationId
- (required)ipAddressAllocation
- (required)- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
patch
void patch(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, IpAddressAllocation ipAddressAllocation, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If allocation of the same ID is found, this is a no-op. If no allocation of the specified ID is found, then a new allocation is created. An allocation cannot be updated once created. When an allocation is requested from an IpAddressPool, the IP could be allocated from any subnet in the pool that has the available capacity. Request to allocate an IP will fail if no subnet was previously created. If specific IP was requested, the status of allocation is reflected in the realized state. If any IP is requested, the IP finally allocated is obtained by polling on the realized state until the allocated IP is returned in the extended attributes.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)ipPoolId
- (required)ipAllocationId
- (required)ipAddressAllocation
- (required)invocationConfig
- Configuration for the method invocation.- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
patch
void patch(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, IpAddressAllocation ipAddressAllocation, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
If allocation of the same ID is found, this is a no-op. If no allocation of the specified ID is found, then a new allocation is created. An allocation cannot be updated once created. When an allocation is requested from an IpAddressPool, the IP could be allocated from any subnet in the pool that has the available capacity. Request to allocate an IP will fail if no subnet was previously created. If specific IP was requested, the status of allocation is reflected in the realized state. If any IP is requested, the IP finally allocated is obtained by polling on the realized state until the allocated IP is returned in the extended attributes.Asynchronous 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
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)ipPoolId
- (required)ipAllocationId
- (required)ipAddressAllocation
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
patch
void patch(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, IpAddressAllocation ipAddressAllocation, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If allocation of the same ID is found, this is a no-op. If no allocation of the specified ID is found, then a new allocation is created. An allocation cannot be updated once created. When an allocation is requested from an IpAddressPool, the IP could be allocated from any subnet in the pool that has the available capacity. Request to allocate an IP will fail if no subnet was previously created. If specific IP was requested, the status of allocation is reflected in the realized state. If any IP is requested, the IP finally allocated is obtained by polling on the realized state until the allocated IP is returned in the extended attributes.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
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
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)ipPoolId
- (required)ipAllocationId
- (required)ipAddressAllocation
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
update
IpAddressAllocation update(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, IpAddressAllocation ipAddressAllocation)
If allocation of the same ID is found, this is a no-op. If no allocation of the specified ID is found, then a new allocation is created. An allocation cannot be updated once created. When an IP allocation is requested from an IpAddressPool, the IP could be allocated from any subnet in the pool that has the available capacity. Request to allocate an IP will fail if no subnet was previously created. If specific IP was requested, the status of allocation is reflected in the realized state. If any IP is requested, the IP finally allocated is obtained by polling on the realized state until the allocated IP is returned in the extended attributes. An allocation cannot be updated once created.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)ipPoolId
- (required)ipAllocationId
- (required)ipAddressAllocation
- (required)- Returns:
- com.vmware.nsx_policy.model.IpAddressAllocation
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
update
IpAddressAllocation update(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, IpAddressAllocation ipAddressAllocation, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If allocation of the same ID is found, this is a no-op. If no allocation of the specified ID is found, then a new allocation is created. An allocation cannot be updated once created. When an IP allocation is requested from an IpAddressPool, the IP could be allocated from any subnet in the pool that has the available capacity. Request to allocate an IP will fail if no subnet was previously created. If specific IP was requested, the status of allocation is reflected in the realized state. If any IP is requested, the IP finally allocated is obtained by polling on the realized state until the allocated IP is returned in the extended attributes. An allocation cannot be updated once created.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)ipPoolId
- (required)ipAllocationId
- (required)ipAddressAllocation
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.IpAddressAllocation
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
update
void update(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, IpAddressAllocation ipAddressAllocation, com.vmware.vapi.bindings.client.AsyncCallback<IpAddressAllocation> asyncCallback)
If allocation of the same ID is found, this is a no-op. If no allocation of the specified ID is found, then a new allocation is created. An allocation cannot be updated once created. When an IP allocation is requested from an IpAddressPool, the IP could be allocated from any subnet in the pool that has the available capacity. Request to allocate an IP will fail if no subnet was previously created. If specific IP was requested, the status of allocation is reflected in the realized state. If any IP is requested, the IP finally allocated is obtained by polling on the realized state until the allocated IP is returned in the extended attributes. An allocation cannot be updated once created.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.IpAddressAllocationOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)ipPoolId
- (required)ipAllocationId
- (required)ipAddressAllocation
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
update
void update(java.lang.String orgId, java.lang.String projectId, java.lang.String ipPoolId, java.lang.String ipAllocationId, IpAddressAllocation ipAddressAllocation, com.vmware.vapi.bindings.client.AsyncCallback<IpAddressAllocation> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If allocation of the same ID is found, this is a no-op. If no allocation of the specified ID is found, then a new allocation is created. An allocation cannot be updated once created. When an IP allocation is requested from an IpAddressPool, the IP could be allocated from any subnet in the pool that has the available capacity. Request to allocate an IP will fail if no subnet was previously created. If specific IP was requested, the status of allocation is reflected in the realized state. If any IP is requested, the IP finally allocated is obtained by polling on the realized state until the allocated IP is returned in the extended attributes. An allocation cannot be updated once created.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.IpAddressAllocationOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
orgId
- The organization ID (required)projectId
- The project ID (required)ipPoolId
- (required)ipAllocationId
- (required)ipAddressAllocation
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-