public class QosProfilesStub extends com.vmware.vapi.internal.bindings.Stub implements QosProfiles
QosProfiles
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
QosProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
QosProfilesStub(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 |
---|---|
void |
delete(java.lang.String qosProfileId,
java.lang.Boolean override)
API will delete QoS profile.
|
void |
delete(java.lang.String qosProfileId,
java.lang.Boolean override,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
API will delete QoS profile.
|
void |
delete(java.lang.String qosProfileId,
java.lang.Boolean override,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
API will delete QoS profile.
|
void |
delete(java.lang.String qosProfileId,
java.lang.Boolean override,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
API will delete QoS profile.
|
QosProfile |
get(java.lang.String qosProfileId)
API will return details of QoS profile.
|
void |
get(java.lang.String qosProfileId,
com.vmware.vapi.bindings.client.AsyncCallback<QosProfile> asyncCallback)
API will return details of QoS profile.
|
void |
get(java.lang.String qosProfileId,
com.vmware.vapi.bindings.client.AsyncCallback<QosProfile> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
API will return details of QoS profile.
|
QosProfile |
get(java.lang.String qosProfileId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
API will return details of QoS profile.
|
QosProfileListResult |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
API will list all QoS 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<QosProfileListResult> asyncCallback)
API will list all QoS 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<QosProfileListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
API will list all QoS profiles.
|
QosProfileListResult |
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)
API will list all QoS profiles.
|
void |
patch(java.lang.String qosProfileId,
QosProfile qosProfile,
java.lang.Boolean override)
Create a new QoS profile if the QoS profile with given id does not already
exist.
|
void |
patch(java.lang.String qosProfileId,
QosProfile qosProfile,
java.lang.Boolean override,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Create a new QoS profile if the QoS profile with given id does not already
exist.
|
void |
patch(java.lang.String qosProfileId,
QosProfile qosProfile,
java.lang.Boolean override,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a new QoS profile if the QoS profile with given id does not already
exist.
|
void |
patch(java.lang.String qosProfileId,
QosProfile qosProfile,
java.lang.Boolean override,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a new QoS profile if the QoS profile with given id does not already
exist.
|
QosProfile |
update(java.lang.String qosProfileId,
QosProfile qosProfile,
java.lang.Boolean override)
Create or Replace QoS profile.
|
void |
update(java.lang.String qosProfileId,
QosProfile qosProfile,
java.lang.Boolean override,
com.vmware.vapi.bindings.client.AsyncCallback<QosProfile> asyncCallback)
Create or Replace QoS profile.
|
void |
update(java.lang.String qosProfileId,
QosProfile qosProfile,
java.lang.Boolean override,
com.vmware.vapi.bindings.client.AsyncCallback<QosProfile> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create or Replace QoS profile.
|
QosProfile |
update(java.lang.String qosProfileId,
QosProfile qosProfile,
java.lang.Boolean override,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create or Replace QoS profile.
|
public QosProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public QosProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public void delete(java.lang.String qosProfileId, java.lang.Boolean override)
QosProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface QosProfiles
qosProfileId
- QoS profile Id (required)override
- Locally override the global object (optional, default to false)public void delete(java.lang.String qosProfileId, java.lang.Boolean override, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
QosProfiles
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 QosProfiles
qosProfileId
- QoS profile Id (required)override
- Locally override the global object (optional, default to false)invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String qosProfileId, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
QosProfiles
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 QosProfiles
qosProfileId
- QoS profile Id (required)override
- Locally override the global object (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String qosProfileId, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
QosProfiles
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 QosProfiles
qosProfileId
- QoS profile Id (required)override
- Locally override the global object (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public QosProfile get(java.lang.String qosProfileId)
QosProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface QosProfiles
qosProfileId
- QoS profile Id (required)public QosProfile get(java.lang.String qosProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
QosProfiles
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 QosProfiles
qosProfileId
- QoS profile Id (required)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String qosProfileId, com.vmware.vapi.bindings.client.AsyncCallback<QosProfile> asyncCallback)
QosProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx_policy.model.QoSProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface QosProfiles
qosProfileId
- QoS profile Id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String qosProfileId, com.vmware.vapi.bindings.client.AsyncCallback<QosProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
QosProfiles
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_policy.model.QoSProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface QosProfiles
qosProfileId
- QoS profile Id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public QosProfileListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
QosProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface QosProfiles
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 QosProfileListResult 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)
QosProfiles
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 QosProfiles
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<QosProfileListResult> asyncCallback)
QosProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx_policy.model.QoSProfileListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface QosProfiles
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<QosProfileListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
QosProfiles
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_policy.model.QoSProfileListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface QosProfiles
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 void patch(java.lang.String qosProfileId, QosProfile qosProfile, java.lang.Boolean override)
QosProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
patch
in interface QosProfiles
qosProfileId
- QoS profile Id (required)qosProfile
- (required)override
- Locally override the global object (optional, default to false)public void patch(java.lang.String qosProfileId, QosProfile qosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
QosProfiles
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
patch
in interface QosProfiles
qosProfileId
- QoS profile Id (required)qosProfile
- (required)override
- Locally override the global object (optional, default to false)invocationConfig
- Configuration for the method invocation.public void patch(java.lang.String qosProfileId, QosProfile qosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
QosProfiles
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
patch
in interface QosProfiles
qosProfileId
- QoS profile Id (required)qosProfile
- (required)override
- Locally override the global object (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void patch(java.lang.String qosProfileId, QosProfile qosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
QosProfiles
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
patch
in interface QosProfiles
qosProfileId
- QoS profile Id (required)qosProfile
- (required)override
- Locally override the global object (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public QosProfile update(java.lang.String qosProfileId, QosProfile qosProfile, java.lang.Boolean override)
QosProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface QosProfiles
qosProfileId
- QoS profile Id (required)qosProfile
- (required)override
- Locally override the global object (optional, default to false)public QosProfile update(java.lang.String qosProfileId, QosProfile qosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
QosProfiles
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 QosProfiles
qosProfileId
- QoS profile Id (required)qosProfile
- (required)override
- Locally override the global object (optional, default to false)invocationConfig
- Configuration for the method invocation.public void update(java.lang.String qosProfileId, QosProfile qosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<QosProfile> asyncCallback)
QosProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx_policy.model.QoSProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface QosProfiles
qosProfileId
- QoS profile Id (required)qosProfile
- (required)override
- Locally override the global object (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String qosProfileId, QosProfile qosProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<QosProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
QosProfiles
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_policy.model.QoSProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface QosProfiles
qosProfileId
- QoS profile Id (required)qosProfile
- (required)override
- Locally override the global object (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.