public class ServerProfilesStub extends com.vmware.vapi.internal.bindings.Stub implements ServerProfiles
ServerProfiles
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ServerProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ServerProfilesStub(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 |
---|---|
DhcpProfile |
create(DhcpProfile dhcpProfile)
Create a DHCP server profile.
|
void |
create(DhcpProfile dhcpProfile,
com.vmware.vapi.bindings.client.AsyncCallback<DhcpProfile> asyncCallback)
Create a DHCP server profile.
|
void |
create(DhcpProfile dhcpProfile,
com.vmware.vapi.bindings.client.AsyncCallback<DhcpProfile> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a DHCP server profile.
|
DhcpProfile |
create(DhcpProfile dhcpProfile,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a DHCP server profile.
|
void |
delete(java.lang.String profileId)
Delete a DHCP server profile specified by the profile id.
|
void |
delete(java.lang.String profileId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete a DHCP server profile specified by the profile id.
|
void |
delete(java.lang.String profileId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a DHCP server profile specified by the profile id.
|
void |
delete(java.lang.String profileId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a DHCP server profile specified by the profile id.
|
DhcpProfile |
get(java.lang.String profileId)
Return the DHCP profile specified by the profile id.
|
void |
get(java.lang.String profileId,
com.vmware.vapi.bindings.client.AsyncCallback<DhcpProfile> asyncCallback)
Return the DHCP profile specified by the profile id.
|
void |
get(java.lang.String profileId,
com.vmware.vapi.bindings.client.AsyncCallback<DhcpProfile> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Return the DHCP profile specified by the profile id.
|
DhcpProfile |
get(java.lang.String profileId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Return the DHCP profile specified by the profile id.
|
DhcpProfileListResult |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
Get a paginated list of DHCP server profiles.
|
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<DhcpProfileListResult> asyncCallback)
Get a paginated list of DHCP server profiles.
|
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<DhcpProfileListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get a paginated list of DHCP server profiles.
|
DhcpProfileListResult |
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)
Get a paginated list of DHCP server profiles.
|
DhcpProfile |
reallocate(java.lang.String serverProfileId,
DhcpProfile dhcpProfile)
As changing edge-cluster-id of a DhcpProfile by a PUT is disallowed, this
re-allocate API is used to modify the edge-cluster-id and members of a given
DhcpProfile.
|
void |
reallocate(java.lang.String serverProfileId,
DhcpProfile dhcpProfile,
com.vmware.vapi.bindings.client.AsyncCallback<DhcpProfile> asyncCallback)
As changing edge-cluster-id of a DhcpProfile by a PUT is disallowed, this
re-allocate API is used to modify the edge-cluster-id and members of a given
DhcpProfile.
|
void |
reallocate(java.lang.String serverProfileId,
DhcpProfile dhcpProfile,
com.vmware.vapi.bindings.client.AsyncCallback<DhcpProfile> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
As changing edge-cluster-id of a DhcpProfile by a PUT is disallowed, this
re-allocate API is used to modify the edge-cluster-id and members of a given
DhcpProfile.
|
DhcpProfile |
reallocate(java.lang.String serverProfileId,
DhcpProfile dhcpProfile,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
As changing edge-cluster-id of a DhcpProfile by a PUT is disallowed, this
re-allocate API is used to modify the edge-cluster-id and members of a given
DhcpProfile.
|
DhcpProfile |
update(java.lang.String profileId,
DhcpProfile dhcpProfile)
If both the edge_cluster_member_indexes in the DhcpProfile are changed in a same
PUT API, e.g.
|
void |
update(java.lang.String profileId,
DhcpProfile dhcpProfile,
com.vmware.vapi.bindings.client.AsyncCallback<DhcpProfile> asyncCallback)
If both the edge_cluster_member_indexes in the DhcpProfile are changed in a same
PUT API, e.g.
|
void |
update(java.lang.String profileId,
DhcpProfile dhcpProfile,
com.vmware.vapi.bindings.client.AsyncCallback<DhcpProfile> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If both the edge_cluster_member_indexes in the DhcpProfile are changed in a same
PUT API, e.g.
|
DhcpProfile |
update(java.lang.String profileId,
DhcpProfile dhcpProfile,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If both the edge_cluster_member_indexes in the DhcpProfile are changed in a same
PUT API, e.g.
|
public ServerProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ServerProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public DhcpProfile create(DhcpProfile dhcpProfile)
ServerProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface ServerProfiles
dhcpProfile
- (required)public DhcpProfile create(DhcpProfile dhcpProfile, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServerProfiles
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
create
in interface ServerProfiles
dhcpProfile
- (required)invocationConfig
- Configuration for the method invocation.public void create(DhcpProfile dhcpProfile, com.vmware.vapi.bindings.client.AsyncCallback<DhcpProfile> asyncCallback)
ServerProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.DhcpProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface ServerProfiles
dhcpProfile
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create(DhcpProfile dhcpProfile, com.vmware.vapi.bindings.client.AsyncCallback<DhcpProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServerProfiles
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.DhcpProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface ServerProfiles
dhcpProfile
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String profileId)
ServerProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface ServerProfiles
profileId
- (required)public void delete(java.lang.String profileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServerProfiles
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
delete
in interface ServerProfiles
profileId
- (required)invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String profileId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ServerProfiles
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
delete
in interface ServerProfiles
profileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String profileId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServerProfiles
Asynchronous 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 ServerProfiles
profileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public DhcpProfile get(java.lang.String profileId)
ServerProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface ServerProfiles
profileId
- (required)public DhcpProfile get(java.lang.String profileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServerProfiles
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 ServerProfiles
profileId
- (required)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String profileId, com.vmware.vapi.bindings.client.AsyncCallback<DhcpProfile> asyncCallback)
ServerProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.DhcpProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface ServerProfiles
profileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String profileId, com.vmware.vapi.bindings.client.AsyncCallback<DhcpProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServerProfiles
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.DhcpProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface ServerProfiles
profileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public DhcpProfileListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
ServerProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface ServerProfiles
cursor
- 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 DhcpProfileListResult 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)
ServerProfiles
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 ServerProfiles
cursor
- 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<DhcpProfileListResult> asyncCallback)
ServerProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.DhcpProfileListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface ServerProfiles
cursor
- 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<DhcpProfileListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServerProfiles
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.DhcpProfileListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface ServerProfiles
cursor
- 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 DhcpProfile reallocate(java.lang.String serverProfileId, DhcpProfile dhcpProfile)
ServerProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
reallocate
in interface ServerProfiles
serverProfileId
- (required)dhcpProfile
- (required)public DhcpProfile reallocate(java.lang.String serverProfileId, DhcpProfile dhcpProfile, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServerProfiles
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
reallocate
in interface ServerProfiles
serverProfileId
- (required)dhcpProfile
- (required)invocationConfig
- Configuration for the method invocation.public void reallocate(java.lang.String serverProfileId, DhcpProfile dhcpProfile, com.vmware.vapi.bindings.client.AsyncCallback<DhcpProfile> asyncCallback)
ServerProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.DhcpProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
reallocate
in interface ServerProfiles
serverProfileId
- (required)dhcpProfile
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void reallocate(java.lang.String serverProfileId, DhcpProfile dhcpProfile, com.vmware.vapi.bindings.client.AsyncCallback<DhcpProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServerProfiles
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.DhcpProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
reallocate
in interface ServerProfiles
serverProfileId
- (required)dhcpProfile
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public DhcpProfile update(java.lang.String profileId, DhcpProfile dhcpProfile)
ServerProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface ServerProfiles
profileId
- (required)dhcpProfile
- (required)public DhcpProfile update(java.lang.String profileId, DhcpProfile dhcpProfile, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServerProfiles
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
update
in interface ServerProfiles
profileId
- (required)dhcpProfile
- (required)invocationConfig
- Configuration for the method invocation.public void update(java.lang.String profileId, DhcpProfile dhcpProfile, com.vmware.vapi.bindings.client.AsyncCallback<DhcpProfile> asyncCallback)
ServerProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.DhcpProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface ServerProfiles
profileId
- (required)dhcpProfile
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String profileId, DhcpProfile dhcpProfile, com.vmware.vapi.bindings.client.AsyncCallback<DhcpProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServerProfiles
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.DhcpProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface ServerProfiles
profileId
- (required)dhcpProfile
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.