public class ServiceConfigsStub extends com.vmware.vapi.internal.bindings.Stub implements ServiceConfigs
ServiceConfigs
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ServiceConfigsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ServiceConfigsStub(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 |
---|---|
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.
|
public ServiceConfigsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ServiceConfigsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public ServiceConfig create(ServiceConfig serviceConfig)
ServiceConfigs
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface ServiceConfigs
serviceConfig
- (required)public ServiceConfig create(ServiceConfig serviceConfig, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceConfigs
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 ServiceConfigs
serviceConfig
- (required)invocationConfig
- Configuration for the method invocation.public void create(ServiceConfig serviceConfig, com.vmware.vapi.bindings.client.AsyncCallback<ServiceConfig> asyncCallback)
ServiceConfigs
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
create
in interface ServiceConfigs
serviceConfig
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create(ServiceConfig serviceConfig, com.vmware.vapi.bindings.client.AsyncCallback<ServiceConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceConfigs
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
create
in interface ServiceConfigs
serviceConfig
- (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 configSetId)
ServiceConfigs
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface ServiceConfigs
configSetId
- service Ccnfig Id (required)public void delete(java.lang.String configSetId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceConfigs
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 ServiceConfigs
configSetId
- service Ccnfig Id (required)invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String configSetId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ServiceConfigs
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 ServiceConfigs
configSetId
- service Ccnfig Id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String configSetId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceConfigs
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 ServiceConfigs
configSetId
- service Ccnfig Id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public ServiceConfig get(java.lang.String configSetId)
ServiceConfigs
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface ServiceConfigs
configSetId
- Service Config Id (required)public ServiceConfig get(java.lang.String configSetId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceConfigs
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 ServiceConfigs
configSetId
- Service Config Id (required)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String configSetId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceConfig> asyncCallback)
ServiceConfigs
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
get
in interface ServiceConfigs
configSetId
- Service Config Id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String configSetId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceConfigs
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
get
in interface ServiceConfigs
configSetId
- Service Config Id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public 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)
ServiceConfigs
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface ServiceConfigs
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)public 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)
ServiceConfigs
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 ServiceConfigs
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.public 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)
ServiceConfigs
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
list
in interface ServiceConfigs
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.public 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)
ServiceConfigs
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
list
in interface ServiceConfigs
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.public ServiceConfig update(java.lang.String configSetId, ServiceConfig serviceConfig)
ServiceConfigs
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface ServiceConfigs
configSetId
- service config Id (required)serviceConfig
- (required)public ServiceConfig update(java.lang.String configSetId, ServiceConfig serviceConfig, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceConfigs
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 ServiceConfigs
configSetId
- service config Id (required)serviceConfig
- (required)invocationConfig
- Configuration for the method invocation.public void update(java.lang.String configSetId, ServiceConfig serviceConfig, com.vmware.vapi.bindings.client.AsyncCallback<ServiceConfig> asyncCallback)
ServiceConfigs
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
update
in interface ServiceConfigs
configSetId
- service config Id (required)serviceConfig
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String configSetId, ServiceConfig serviceConfig, com.vmware.vapi.bindings.client.AsyncCallback<ServiceConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceConfigs
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
update
in interface ServiceConfigs
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.