public interface Configs extends Service, ConfigsTypes
Configs
interface provides methods to manage desired configuration
specification of an appliance.ConfigsTypes._VAPI_OPERATIONS, ConfigsTypes.ImportProfileSpec, ConfigsTypes.ProfileInfo, ConfigsTypes.ProfilesSpec, ConfigsTypes.ValidationResult, ConfigsTypes.ValidationStatus
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
java.lang.String |
export(ConfigsTypes.ProfilesSpec spec)
Exports the desired profile specification.
|
void |
export(ConfigsTypes.ProfilesSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Exports the desired profile specification.
|
void |
export(ConfigsTypes.ProfilesSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Exports the desired profile specification.
|
java.lang.String |
export(ConfigsTypes.ProfilesSpec spec,
InvocationConfig invocationConfig)
Exports the desired profile specification.
|
java.lang.String |
importProfile_Task(ConfigsTypes.ImportProfileSpec spec)
Imports the desired profile specification.
|
void |
importProfile_Task(ConfigsTypes.ImportProfileSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Imports the desired profile specification.
|
void |
importProfile_Task(ConfigsTypes.ImportProfileSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Imports the desired profile specification.
|
java.lang.String |
importProfile_Task(ConfigsTypes.ImportProfileSpec spec,
InvocationConfig invocationConfig)
Imports the desired profile specification.
|
java.util.List<ConfigsTypes.ProfileInfo> |
list()
List all the profiles which are registered.
|
void |
list(AsyncCallback<java.util.List<ConfigsTypes.ProfileInfo>> asyncCallback)
List all the profiles which are registered.
|
void |
list(AsyncCallback<java.util.List<ConfigsTypes.ProfileInfo>> asyncCallback,
InvocationConfig invocationConfig)
List all the profiles which are registered.
|
java.util.List<ConfigsTypes.ProfileInfo> |
list(InvocationConfig invocationConfig)
List all the profiles which are registered.
|
java.lang.String |
validate_Task(ConfigsTypes.ImportProfileSpec spec)
Validates the desired profile specification.
|
void |
validate_Task(ConfigsTypes.ImportProfileSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Validates the desired profile specification.
|
void |
validate_Task(ConfigsTypes.ImportProfileSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Validates the desired profile specification.
|
java.lang.String |
validate_Task(ConfigsTypes.ImportProfileSpec spec,
InvocationConfig invocationConfig)
Validates the desired profile specification.
|
java.util.List<ConfigsTypes.ProfileInfo> list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.java.util.List<ConfigsTypes.ProfileInfo> list(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.
invocationConfig
- Configuration for the method invocation.Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.void list(AsyncCallback<java.util.List<ConfigsTypes.ProfileInfo>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
List of profiles with description are registered.
Operation Errors:
Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(AsyncCallback<java.util.List<ConfigsTypes.ProfileInfo>> asyncCallback, 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:
List of profiles with description are registered.
Operation Errors:
Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.lang.String export(ConfigsTypes.ProfilesSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
spec
- information to export the profile.Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.NotFound
- If there is no profile associated.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.java.lang.String export(ConfigsTypes.ProfilesSpec spec, 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.
spec
- information to export the profile.invocationConfig
- Configuration for the method invocation.Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.NotFound
- If there is no profile associated.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.void export(ConfigsTypes.ProfilesSpec spec, AsyncCallback<java.lang.String> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Configuration specification JSON in string format.
Operation Errors:
Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.
NotFound
- If there is no profile associated.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
spec
- information to export the profile.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void export(ConfigsTypes.ProfilesSpec spec, AsyncCallback<java.lang.String> asyncCallback, 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:
Configuration specification JSON in string format.
Operation Errors:
Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.
NotFound
- If there is no profile associated.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
spec
- information to export the profile.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.lang.String validate_Task(ConfigsTypes.ImportProfileSpec spec)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
spec
- information to validate the profile.Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.NotFound
- If there is no profile associated.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.java.lang.String validate_Task(ConfigsTypes.ImportProfileSpec spec, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation is a task
identifier which will be returned by this method.
Use invocationConfig
to specify configuration for this particular invocation.
spec
- information to validate the profile.invocationConfig
- Configuration for the method invocation.Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.NotFound
- If there is no profile associated.ServiceUnavailable
- If the service is not available.Unauthenticated
- If the caller is not authenticated.void validate_Task(ConfigsTypes.ImportProfileSpec spec, AsyncCallback<java.lang.String> asyncCallback)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.
NotFound
- If there is no profile associated.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
spec
- information to validate the profile.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void validate_Task(ConfigsTypes.ImportProfileSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.
NotFound
- If there is no profile associated.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- If the caller is not authenticated.
spec
- information to validate the profile.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.lang.String importProfile_Task(ConfigsTypes.ImportProfileSpec spec)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
spec
- information to import the profile.Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.NotFound
- If there is no profile associated.ServiceUnavailable
- If the service is not available.NotAllowedInCurrentState
- If there is another operation in progress.Unauthenticated
- If the caller is not authenticated.java.lang.String importProfile_Task(ConfigsTypes.ImportProfileSpec spec, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation is a task
identifier which will be returned by this method.
Use invocationConfig
to specify configuration for this particular invocation.
spec
- information to import the profile.invocationConfig
- Configuration for the method invocation.Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.NotFound
- If there is no profile associated.ServiceUnavailable
- If the service is not available.NotAllowedInCurrentState
- If there is another operation in progress.Unauthenticated
- If the caller is not authenticated.void importProfile_Task(ConfigsTypes.ImportProfileSpec spec, AsyncCallback<java.lang.String> asyncCallback)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.
NotFound
- If there is no profile associated.
ServiceUnavailable
- If the service is not available.
NotAllowedInCurrentState
- If there is another operation in progress.
Unauthenticated
- If the caller is not authenticated.
spec
- information to import the profile.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void importProfile_Task(ConfigsTypes.ImportProfileSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.
NotFound
- If there is no profile associated.
ServiceUnavailable
- If the service is not available.
NotAllowedInCurrentState
- If there is another operation in progress.
Unauthenticated
- If the caller is not authenticated.
spec
- information to import the profile.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.