public class ConfigsStub extends com.vmware.vapi.internal.bindings.Stub implements Configs
Configs
API service.
WARNING: Internal class, subject to change in future versions.
ConfigsTypes._VAPI_OPERATIONS, ConfigsTypes.ImportProfileSpec, ConfigsTypes.ProfileInfo, ConfigsTypes.ProfilesSpec, ConfigsTypes.ValidationResult, ConfigsTypes.ValidationStatusapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
ConfigsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ConfigsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| 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.
|
public ConfigsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ConfigsStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<ConfigsTypes.ProfileInfo> list()
ConfigsSynchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.List<ConfigsTypes.ProfileInfo> list(InvocationConfig invocationConfig)
ConfigsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void list(AsyncCallback<java.util.List<ConfigsTypes.ProfileInfo>> asyncCallback)
ConfigsAsynchronous 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.
public void list(AsyncCallback<java.util.List<ConfigsTypes.ProfileInfo>> asyncCallback, InvocationConfig invocationConfig)
ConfigsAsynchronous 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.
public java.lang.String export(ConfigsTypes.ProfilesSpec spec)
ConfigsSynchronous method overload. Result of the invocation will be reported as a method return value.
public java.lang.String export(ConfigsTypes.ProfilesSpec spec, InvocationConfig invocationConfig)
ConfigsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void export(ConfigsTypes.ProfilesSpec spec, AsyncCallback<java.lang.String> asyncCallback)
ConfigsAsynchronous 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.
public void export(ConfigsTypes.ProfilesSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
ConfigsAsynchronous 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.
public java.lang.String validate_Task(ConfigsTypes.ImportProfileSpec spec)
ConfigsSynchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
validate_Task in interface Configsspec - information to validate the profile.public java.lang.String validate_Task(ConfigsTypes.ImportProfileSpec spec, InvocationConfig invocationConfig)
ConfigsSynchronous 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.
validate_Task in interface Configsspec - information to validate the profile.invocationConfig - Configuration for the method invocation.public void validate_Task(ConfigsTypes.ImportProfileSpec spec, AsyncCallback<java.lang.String> asyncCallback)
ConfigsAsynchronous 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.
validate_Task in interface Configsspec - information to validate the profile.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void validate_Task(ConfigsTypes.ImportProfileSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
ConfigsAsynchronous 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.
validate_Task in interface Configsspec - information to validate the profile.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public java.lang.String importProfile_Task(ConfigsTypes.ImportProfileSpec spec)
ConfigsSynchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
importProfile_Task in interface Configsspec - information to import the profile.public java.lang.String importProfile_Task(ConfigsTypes.ImportProfileSpec spec, InvocationConfig invocationConfig)
ConfigsSynchronous 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.
importProfile_Task in interface Configsspec - information to import the profile.invocationConfig - Configuration for the method invocation.public void importProfile_Task(ConfigsTypes.ImportProfileSpec spec, AsyncCallback<java.lang.String> asyncCallback)
ConfigsAsynchronous 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.
importProfile_Task in interface Configsspec - information to import the profile.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void importProfile_Task(ConfigsTypes.ImportProfileSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
ConfigsAsynchronous 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.
importProfile_Task in interface Configsspec - information to import the profile.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.