Interface IpSubnets
-
- All Superinterfaces:
IpSubnetsTypes
,com.vmware.vapi.bindings.Service
- All Known Implementing Classes:
IpSubnetsStub
public interface IpSubnets extends com.vmware.vapi.bindings.Service, IpSubnetsTypes
-
-
Field Summary
-
Fields inherited from interface com.vmware.nsx_policy.infra.ip_pools.IpSubnetsTypes
_VAPI_SERVICE_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
delete(java.lang.String ipPoolId, java.lang.String ipSubnetId, java.lang.Boolean ignoreIpAllocations)
Delete the IpAddressPoolSubnet with the given id.void
delete(java.lang.String ipPoolId, java.lang.String ipSubnetId, java.lang.Boolean ignoreIpAllocations, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete the IpAddressPoolSubnet with the given id.void
delete(java.lang.String ipPoolId, java.lang.String ipSubnetId, java.lang.Boolean ignoreIpAllocations, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete the IpAddressPoolSubnet with the given id.void
delete(java.lang.String ipPoolId, java.lang.String ipSubnetId, java.lang.Boolean ignoreIpAllocations, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete the IpAddressPoolSubnet with the given id.com.vmware.vapi.bindings.Structure
get(java.lang.String ipPoolId, java.lang.String ipSubnetId)
Read IpAddressPoolSubnet with given Id.void
get(java.lang.String ipPoolId, java.lang.String ipSubnetId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Read IpAddressPoolSubnet with given Id.void
get(java.lang.String ipPoolId, java.lang.String ipSubnetId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read IpAddressPoolSubnet with given Id.com.vmware.vapi.bindings.Structure
get(java.lang.String ipPoolId, java.lang.String ipSubnetId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read IpAddressPoolSubnet with given Id.IpAddressPoolSubnetListResult
list(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)
Paginated list of IpAddressPoolSubnets.void
list(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<IpAddressPoolSubnetListResult> asyncCallback)
Paginated list of IpAddressPoolSubnets.void
list(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<IpAddressPoolSubnetListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Paginated list of IpAddressPoolSubnets.IpAddressPoolSubnetListResult
list(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)
Paginated list of IpAddressPoolSubnets.void
patch(java.lang.String ipPoolId, java.lang.String ipSubnetId, com.vmware.vapi.bindings.Structure ipAddressPoolSubnet)
Creates a new IpAddressPoolSubnet with the specified ID if it does not already exist.void
patch(java.lang.String ipPoolId, java.lang.String ipSubnetId, com.vmware.vapi.bindings.Structure ipAddressPoolSubnet, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Creates a new IpAddressPoolSubnet with the specified ID if it does not already exist.void
patch(java.lang.String ipPoolId, java.lang.String ipSubnetId, com.vmware.vapi.bindings.Structure ipAddressPoolSubnet, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new IpAddressPoolSubnet with the specified ID if it does not already exist.void
patch(java.lang.String ipPoolId, java.lang.String ipSubnetId, com.vmware.vapi.bindings.Structure ipAddressPoolSubnet, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new IpAddressPoolSubnet with the specified ID if it does not already exist.com.vmware.vapi.bindings.Structure
update(java.lang.String ipPoolId, java.lang.String ipSubnetId, com.vmware.vapi.bindings.Structure ipAddressPoolSubnet)
Creates a new IpAddressPoolSubnet with the specified ID if it does not already exist.void
update(java.lang.String ipPoolId, java.lang.String ipSubnetId, com.vmware.vapi.bindings.Structure ipAddressPoolSubnet, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Creates a new IpAddressPoolSubnet with the specified ID if it does not already exist.void
update(java.lang.String ipPoolId, java.lang.String ipSubnetId, com.vmware.vapi.bindings.Structure ipAddressPoolSubnet, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new IpAddressPoolSubnet with the specified ID if it does not already exist.com.vmware.vapi.bindings.Structure
update(java.lang.String ipPoolId, java.lang.String ipSubnetId, com.vmware.vapi.bindings.Structure ipAddressPoolSubnet, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new IpAddressPoolSubnet with the specified ID if it does not already exist.
-
-
-
Method Detail
-
delete
void delete(java.lang.String ipPoolId, java.lang.String ipSubnetId, java.lang.Boolean ignoreIpAllocations)
Delete the IpAddressPoolSubnet with the given id.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
ipPoolId
- (required)ipSubnetId
- (required)ignoreIpAllocations
- Flag to specify whether to ignore ip allocations. (optional, default to false)- 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 ipPoolId, java.lang.String ipSubnetId, java.lang.Boolean ignoreIpAllocations, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete the IpAddressPoolSubnet with the given id.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:
ipPoolId
- (required)ipSubnetId
- (required)ignoreIpAllocations
- Flag to specify whether to ignore ip allocations. (optional, default to false)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 ipPoolId, java.lang.String ipSubnetId, java.lang.Boolean ignoreIpAllocations, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete the IpAddressPoolSubnet with the given id.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:
ipPoolId
- (required)ipSubnetId
- (required)ignoreIpAllocations
- Flag to specify whether to ignore ip allocations. (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
delete
void delete(java.lang.String ipPoolId, java.lang.String ipSubnetId, java.lang.Boolean ignoreIpAllocations, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete the IpAddressPoolSubnet with the given id.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:
ipPoolId
- (required)ipSubnetId
- (required)ignoreIpAllocations
- Flag to specify whether to ignore ip allocations. (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
get
com.vmware.vapi.bindings.Structure get(java.lang.String ipPoolId, java.lang.String ipSubnetId)
Read IpAddressPoolSubnet with given Id.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
ipPoolId
- (required)ipSubnetId
- (required)- Returns:
- com.vmware.nsx_policy.model.IpAddressPoolSubnet
The return value will contain all the properties defined in
IpAddressPoolSubnet
. - 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
com.vmware.vapi.bindings.Structure get(java.lang.String ipPoolId, java.lang.String ipSubnetId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read IpAddressPoolSubnet with given Id.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:
ipPoolId
- (required)ipSubnetId
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.IpAddressPoolSubnet
The return value will contain all the properties defined in
IpAddressPoolSubnet
. - 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 ipPoolId, java.lang.String ipSubnetId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Read IpAddressPoolSubnet with given Id.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.IpAddressPoolSubnet The return value will contain all the properties defined inIpAddressPoolSubnet
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
ipPoolId
- (required)ipSubnetId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
void get(java.lang.String ipPoolId, java.lang.String ipSubnetId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read IpAddressPoolSubnet with given Id.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.IpAddressPoolSubnet The return value will contain all the properties defined inIpAddressPoolSubnet
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
ipPoolId
- (required)ipSubnetId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
list
IpAddressPoolSubnetListResult list(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)
Paginated list of IpAddressPoolSubnets.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
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.IpAddressPoolSubnetListResult
- 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
IpAddressPoolSubnetListResult list(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)
Paginated list of IpAddressPoolSubnets.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:
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.IpAddressPoolSubnetListResult
- 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 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<IpAddressPoolSubnetListResult> asyncCallback)
Paginated list of IpAddressPoolSubnets.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.IpAddressPoolSubnetListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
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 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<IpAddressPoolSubnetListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Paginated list of IpAddressPoolSubnets.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.IpAddressPoolSubnetListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
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 ipPoolId, java.lang.String ipSubnetId, com.vmware.vapi.bindings.Structure ipAddressPoolSubnet)
Creates a new IpAddressPoolSubnet with the specified ID if it does not already exist. If a IpAddressPoolSubnet of the given ID already exists, IpAddressPoolSubnet will be updated. This is a full replace.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
ipPoolId
- (required)ipSubnetId
- (required)ipAddressPoolSubnet
- (required) The parameter must contain all the properties defined inIpAddressPoolSubnet
.- 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 ipPoolId, java.lang.String ipSubnetId, com.vmware.vapi.bindings.Structure ipAddressPoolSubnet, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new IpAddressPoolSubnet with the specified ID if it does not already exist. If a IpAddressPoolSubnet of the given ID already exists, IpAddressPoolSubnet will be updated. This is a full replace.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:
ipPoolId
- (required)ipSubnetId
- (required)ipAddressPoolSubnet
- (required) The parameter must contain all the properties defined inIpAddressPoolSubnet
.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 ipPoolId, java.lang.String ipSubnetId, com.vmware.vapi.bindings.Structure ipAddressPoolSubnet, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Creates a new IpAddressPoolSubnet with the specified ID if it does not already exist. If a IpAddressPoolSubnet of the given ID already exists, IpAddressPoolSubnet will be updated. This is a full replace.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:
ipPoolId
- (required)ipSubnetId
- (required)ipAddressPoolSubnet
- (required) The parameter must contain all the properties defined inIpAddressPoolSubnet
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
patch
void patch(java.lang.String ipPoolId, java.lang.String ipSubnetId, com.vmware.vapi.bindings.Structure ipAddressPoolSubnet, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new IpAddressPoolSubnet with the specified ID if it does not already exist. If a IpAddressPoolSubnet of the given ID already exists, IpAddressPoolSubnet will be updated. This is a full replace.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:
ipPoolId
- (required)ipSubnetId
- (required)ipAddressPoolSubnet
- (required) The parameter must contain all the properties defined inIpAddressPoolSubnet
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
update
com.vmware.vapi.bindings.Structure update(java.lang.String ipPoolId, java.lang.String ipSubnetId, com.vmware.vapi.bindings.Structure ipAddressPoolSubnet)
Creates a new IpAddressPoolSubnet with the specified ID if it does not already exist. If a IpAddressPoolSubnet of the given ID already exists, IpAddressPoolSubnet will be updated. This is a full replace.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
ipPoolId
- (required)ipSubnetId
- (required)ipAddressPoolSubnet
- (required) The parameter must contain all the properties defined inIpAddressPoolSubnet
.- Returns:
- com.vmware.nsx_policy.model.IpAddressPoolSubnet
The return value will contain all the properties defined in
IpAddressPoolSubnet
. - 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
com.vmware.vapi.bindings.Structure update(java.lang.String ipPoolId, java.lang.String ipSubnetId, com.vmware.vapi.bindings.Structure ipAddressPoolSubnet, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new IpAddressPoolSubnet with the specified ID if it does not already exist. If a IpAddressPoolSubnet of the given ID already exists, IpAddressPoolSubnet will be updated. This is a full replace.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:
ipPoolId
- (required)ipSubnetId
- (required)ipAddressPoolSubnet
- (required) The parameter must contain all the properties defined inIpAddressPoolSubnet
.invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.IpAddressPoolSubnet
The return value will contain all the properties defined in
IpAddressPoolSubnet
. - 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 ipPoolId, java.lang.String ipSubnetId, com.vmware.vapi.bindings.Structure ipAddressPoolSubnet, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Creates a new IpAddressPoolSubnet with the specified ID if it does not already exist. If a IpAddressPoolSubnet of the given ID already exists, IpAddressPoolSubnet will be updated. This is a full replace.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.IpAddressPoolSubnet The return value will contain all the properties defined inIpAddressPoolSubnet
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
ipPoolId
- (required)ipSubnetId
- (required)ipAddressPoolSubnet
- (required) The parameter must contain all the properties defined inIpAddressPoolSubnet
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
update
void update(java.lang.String ipPoolId, java.lang.String ipSubnetId, com.vmware.vapi.bindings.Structure ipAddressPoolSubnet, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new IpAddressPoolSubnet with the specified ID if it does not already exist. If a IpAddressPoolSubnet of the given ID already exists, IpAddressPoolSubnet will be updated. This is a full replace.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.IpAddressPoolSubnet The return value will contain all the properties defined inIpAddressPoolSubnet
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
ipPoolId
- (required)ipSubnetId
- (required)ipAddressPoolSubnet
- (required) The parameter must contain all the properties defined inIpAddressPoolSubnet
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-