public interface ServiceConfigs extends com.vmware.vapi.bindings.Service, ServiceConfigsTypes
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
ServiceConfig |
create(ServiceConfig serviceConfig)
Creates a new service config that can group profiles and configs
|
void |
create(ServiceConfig serviceConfig,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceConfig> asyncCallback)
Creates a new service config that can group profiles and configs
|
void |
create(ServiceConfig serviceConfig,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceConfig> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new service config that can group profiles and configs
|
ServiceConfig |
create(ServiceConfig serviceConfig,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new service config that can group profiles and configs
|
void |
delete(java.lang.String configSetId)
Deletes the specified service config
|
void |
delete(java.lang.String configSetId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deletes the specified service config
|
void |
delete(java.lang.String configSetId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes the specified service config
|
void |
delete(java.lang.String configSetId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes the specified service config
|
ServiceConfig |
get(java.lang.String configSetId)
Returns information about the specified Service Config.
|
void |
get(java.lang.String configSetId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceConfig> asyncCallback)
Returns information about the specified Service Config.
|
void |
get(java.lang.String configSetId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceConfig> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the specified Service Config.
|
ServiceConfig |
get(java.lang.String configSetId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the specified Service Config.
|
ServiceConfigListResult |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.String profileType,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
List of all service configs.
|
void |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.String profileType,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceConfigListResult> asyncCallback)
List of all service configs.
|
void |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.String profileType,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceConfigListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List of all service configs.
|
ServiceConfigListResult |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.String profileType,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List of all service configs.
|
ServiceConfig |
update(java.lang.String configSetId,
ServiceConfig serviceConfig)
Updates the specified ServiceConfig.
|
void |
update(java.lang.String configSetId,
ServiceConfig serviceConfig,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceConfig> asyncCallback)
Updates the specified ServiceConfig.
|
void |
update(java.lang.String configSetId,
ServiceConfig serviceConfig,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceConfig> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates the specified ServiceConfig.
|
ServiceConfig |
update(java.lang.String configSetId,
ServiceConfig serviceConfig,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates the specified ServiceConfig.
|
ServiceConfig create(ServiceConfig serviceConfig)
Synchronous method overload. Result of the invocation will be reported as a method return value.
serviceConfig
- (required)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 FoundServiceConfig create(ServiceConfig serviceConfig, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
serviceConfig
- (required)invocationConfig
- Configuration for the method invocation.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 Foundvoid create(ServiceConfig serviceConfig, com.vmware.vapi.bindings.client.AsyncCallback<ServiceConfig> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ServiceConfig
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
serviceConfig
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(ServiceConfig serviceConfig, com.vmware.vapi.bindings.client.AsyncCallback<ServiceConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.ServiceConfig
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
serviceConfig
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void delete(java.lang.String configSetId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
configSetId
- service Ccnfig Id (required)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 Foundvoid delete(java.lang.String configSetId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
configSetId
- service Ccnfig Id (required)invocationConfig
- Configuration for the method invocation.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 Foundvoid delete(java.lang.String configSetId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
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
configSetId
- service Ccnfig Id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete(java.lang.String configSetId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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
configSetId
- service Ccnfig Id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.ServiceConfig get(java.lang.String configSetId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
configSetId
- Service Config Id (required)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 FoundServiceConfig get(java.lang.String configSetId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
configSetId
- Service Config Id (required)invocationConfig
- Configuration for the method invocation.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 Foundvoid get(java.lang.String configSetId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceConfig> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ServiceConfig
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
configSetId
- Service Config Id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String configSetId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.ServiceConfig
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
configSetId
- Service Config Id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.ServiceConfigListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.String profileType, java.lang.Boolean sortAscending, java.lang.String sortBy)
Synchronous method overload. Result of the invocation will be reported as a method return value.
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)profileType
- Fetch ServiceConfig for the given attribute profile_type (optional)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)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 FoundServiceConfigListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.String profileType, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
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)profileType
- Fetch ServiceConfig for the given attribute profile_type (optional)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)invocationConfig
- Configuration for the method invocation.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 Foundvoid list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.String profileType, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<ServiceConfigListResult> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ServiceConfigListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
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)profileType
- Fetch ServiceConfig for the given attribute profile_type (optional)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.String profileType, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<ServiceConfigListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.ServiceConfigListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
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)profileType
- Fetch ServiceConfig for the given attribute profile_type (optional)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.ServiceConfig update(java.lang.String configSetId, ServiceConfig serviceConfig)
Synchronous method overload. Result of the invocation will be reported as a method return value.
configSetId
- service config Id (required)serviceConfig
- (required)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 FoundServiceConfig update(java.lang.String configSetId, ServiceConfig serviceConfig, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
configSetId
- service config Id (required)serviceConfig
- (required)invocationConfig
- Configuration for the method invocation.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 Foundvoid update(java.lang.String configSetId, ServiceConfig serviceConfig, com.vmware.vapi.bindings.client.AsyncCallback<ServiceConfig> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ServiceConfig
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
configSetId
- service config Id (required)serviceConfig
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update(java.lang.String configSetId, ServiceConfig serviceConfig, com.vmware.vapi.bindings.client.AsyncCallback<ServiceConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.ServiceConfig
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
configSetId
- service config Id (required)serviceConfig
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.