public interface Providers extends Service, ProvidersTypes
Providers
interface provides methods to create, retrieve, update,
delete, export and import providers. This interface was added in vSphere API
7.0.2.0.ProvidersTypes.Constraints, ProvidersTypes.ConstraintsSpec, ProvidersTypes.CreateSpec, ProvidersTypes.ExportResult, ProvidersTypes.ExportSpec, ProvidersTypes.ExportType, ProvidersTypes.FilterSpec, ProvidersTypes.Health, ProvidersTypes.ImportResult, ProvidersTypes.ImportSpec, ProvidersTypes.Info, ProvidersTypes.Location, ProvidersTypes.NativeProviderCreateSpec, ProvidersTypes.NativeProviderInfo, ProvidersTypes.NativeProviderUpdateSpec, ProvidersTypes.Summary, ProvidersTypes.Token, ProvidersTypes.Type, ProvidersTypes.UpdateSpec
_VAPI_SERVICE_ID, RESOURCE_TYPE
Modifier and Type | Method and Description |
---|---|
void |
create(ProvidersTypes.CreateSpec spec)
Add a new provider.
|
void |
create(ProvidersTypes.CreateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Add a new provider.
|
void |
create(ProvidersTypes.CreateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Add a new provider.
|
void |
create(ProvidersTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Add a new provider.
|
void |
delete(java.lang.String provider)
Remove a provider.
|
void |
delete(java.lang.String provider,
AsyncCallback<java.lang.Void> asyncCallback)
Remove a provider.
|
void |
delete(java.lang.String provider,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Remove a provider.
|
void |
delete(java.lang.String provider,
InvocationConfig invocationConfig)
Remove a provider.
|
ProvidersTypes.ExportResult |
export(ProvidersTypes.ExportSpec spec)
Export provider configuration.
|
void |
export(ProvidersTypes.ExportSpec spec,
AsyncCallback<ProvidersTypes.ExportResult> asyncCallback)
Export provider configuration.
|
void |
export(ProvidersTypes.ExportSpec spec,
AsyncCallback<ProvidersTypes.ExportResult> asyncCallback,
InvocationConfig invocationConfig)
Export provider configuration.
|
ProvidersTypes.ExportResult |
export(ProvidersTypes.ExportSpec spec,
InvocationConfig invocationConfig)
Export provider configuration.
|
ProvidersTypes.Info |
get(java.lang.String provider)
Return information about a provider.
|
void |
get(java.lang.String provider,
AsyncCallback<ProvidersTypes.Info> asyncCallback)
Return information about a provider.
|
void |
get(java.lang.String provider,
AsyncCallback<ProvidersTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Return information about a provider.
|
ProvidersTypes.Info |
get(java.lang.String provider,
InvocationConfig invocationConfig)
Return information about a provider.
|
ProvidersTypes.ImportResult |
importProvider(ProvidersTypes.ImportSpec spec)
Import provider configuration.
|
void |
importProvider(ProvidersTypes.ImportSpec spec,
AsyncCallback<ProvidersTypes.ImportResult> asyncCallback)
Import provider configuration.
|
void |
importProvider(ProvidersTypes.ImportSpec spec,
AsyncCallback<ProvidersTypes.ImportResult> asyncCallback,
InvocationConfig invocationConfig)
Import provider configuration.
|
ProvidersTypes.ImportResult |
importProvider(ProvidersTypes.ImportSpec spec,
InvocationConfig invocationConfig)
Import provider configuration.
|
java.util.List<ProvidersTypes.Summary> |
list(ProvidersTypes.FilterSpec filterSpec)
Return a list of providers.
|
void |
list(ProvidersTypes.FilterSpec filterSpec,
AsyncCallback<java.util.List<ProvidersTypes.Summary>> asyncCallback)
Return a list of providers.
|
void |
list(ProvidersTypes.FilterSpec filterSpec,
AsyncCallback<java.util.List<ProvidersTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Return a list of providers.
|
java.util.List<ProvidersTypes.Summary> |
list(ProvidersTypes.FilterSpec filterSpec,
InvocationConfig invocationConfig)
Return a list of providers.
|
void |
update(java.lang.String provider,
ProvidersTypes.UpdateSpec spec)
Update an existing provider.
|
void |
update(java.lang.String provider,
ProvidersTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Update an existing provider.
|
void |
update(java.lang.String provider,
ProvidersTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Update an existing provider.
|
void |
update(java.lang.String provider,
ProvidersTypes.UpdateSpec spec,
InvocationConfig invocationConfig)
Update an existing provider.
|
java.util.List<ProvidersTypes.Summary> list(ProvidersTypes.FilterSpec filterSpec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
filterSpec
- Filter for the providers list.
If null
, the behavior is equivalent to a ProvidersTypes.FilterSpec
with all
properties null
.Error
- if there is a generic error.InvalidArgument
- if the spec is invalid.Unauthenticated
- if the caller is not authenticated.Unauthorized
- if the caller is not authorized.Unauthorized
- if you do not have all of the privileges described as follows: Cryptographer.ReadKeyServersInfo
. java.util.List<ProvidersTypes.Summary> list(ProvidersTypes.FilterSpec filterSpec, 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.
filterSpec
- Filter for the providers list.
If null
, the behavior is equivalent to a ProvidersTypes.FilterSpec
with all
properties null
.invocationConfig
- Configuration for the method invocation.Error
- if there is a generic error.InvalidArgument
- if the spec is invalid.Unauthenticated
- if the caller is not authenticated.Unauthorized
- if the caller is not authorized.Unauthorized
- if you do not have all of the privileges described as follows: Cryptographer.ReadKeyServersInfo
. void list(ProvidersTypes.FilterSpec filterSpec, AsyncCallback<java.util.List<ProvidersTypes.Summary>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Summary of providers.
Operation Errors:
Error
- if there is a generic error.
InvalidArgument
- if the spec is invalid.
Unauthenticated
- if the caller is not authenticated.
Unauthorized
- if the caller is not authorized.
Unauthorized
- if you do not have all of the privileges described as follows:
Cryptographer.ReadKeyServersInfo
. filterSpec
- Filter for the providers list.
If null
, the behavior is equivalent to a ProvidersTypes.FilterSpec
with all
properties null
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(ProvidersTypes.FilterSpec filterSpec, AsyncCallback<java.util.List<ProvidersTypes.Summary>> 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:
Summary of providers.
Operation Errors:
Error
- if there is a generic error.
InvalidArgument
- if the spec is invalid.
Unauthenticated
- if the caller is not authenticated.
Unauthorized
- if the caller is not authorized.
Unauthorized
- if you do not have all of the privileges described as follows:
Cryptographer.ReadKeyServersInfo
. filterSpec
- Filter for the providers list.
If null
, the behavior is equivalent to a ProvidersTypes.FilterSpec
with all
properties null
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void create(ProvidersTypes.CreateSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
spec
- Provider information.AlreadyExists
- if a provider with the same identifier already exists.Error
- if there is a generic error.InvalidArgument
- if the spec is invalid.Unauthenticated
- if the caller is not authenticated.Unauthorized
- if the caller is not authorized.Unsupported
- if creating a provider of the type is not supported.Unauthorized
- if you do not have all of the privileges described as follows: Cryptographer.ManageKeyServers
. void create(ProvidersTypes.CreateSpec 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
- Provider information.invocationConfig
- Configuration for the method invocation.AlreadyExists
- if a provider with the same identifier already exists.Error
- if there is a generic error.InvalidArgument
- if the spec is invalid.Unauthenticated
- if the caller is not authenticated.Unauthorized
- if the caller is not authorized.Unsupported
- if creating a provider of the type is not supported.Unauthorized
- if you do not have all of the privileges described as follows: Cryptographer.ManageKeyServers
. void create(ProvidersTypes.CreateSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
AlreadyExists
- if a provider with the same identifier already exists.
Error
- if there is a generic error.
InvalidArgument
- if the spec is invalid.
Unauthenticated
- if the caller is not authenticated.
Unauthorized
- if the caller is not authorized.
Unsupported
- if creating a provider of the type is not supported.
Unauthorized
- if you do not have all of the privileges described as follows:
Cryptographer.ManageKeyServers
. spec
- Provider information.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(ProvidersTypes.CreateSpec spec, AsyncCallback<java.lang.Void> 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.
Operation Errors:
AlreadyExists
- if a provider with the same identifier already exists.
Error
- if there is a generic error.
InvalidArgument
- if the spec is invalid.
Unauthenticated
- if the caller is not authenticated.
Unauthorized
- if the caller is not authorized.
Unsupported
- if creating a provider of the type is not supported.
Unauthorized
- if you do not have all of the privileges described as follows:
Cryptographer.ManageKeyServers
. spec
- Provider information.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void update(java.lang.String provider, ProvidersTypes.UpdateSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.crypto_manager.kms.provider
.spec
- Provider information.Error
- if there is a generic error.InvalidArgument
- if the spec is invalid.NotFound
- if the provider is not found.Unauthenticated
- if the caller is not authenticated.Unauthorized
- if the caller is not authorized.Unsupported
- if the provider's type does not allow updates.Unauthorized
- if you do not have all of the privileges described as follows: Cryptographer.ManageKeyServers
. void update(java.lang.String provider, ProvidersTypes.UpdateSpec 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.
provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.crypto_manager.kms.provider
.spec
- Provider information.invocationConfig
- Configuration for the method invocation.Error
- if there is a generic error.InvalidArgument
- if the spec is invalid.NotFound
- if the provider is not found.Unauthenticated
- if the caller is not authenticated.Unauthorized
- if the caller is not authorized.Unsupported
- if the provider's type does not allow updates.Unauthorized
- if you do not have all of the privileges described as follows: Cryptographer.ManageKeyServers
. void update(java.lang.String provider, ProvidersTypes.UpdateSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- if there is a generic error.
InvalidArgument
- if the spec is invalid.
NotFound
- if the provider is not found.
Unauthenticated
- if the caller is not authenticated.
Unauthorized
- if the caller is not authorized.
Unsupported
- if the provider's type does not allow updates.
Unauthorized
- if you do not have all of the privileges described as follows:
Cryptographer.ManageKeyServers
. provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.crypto_manager.kms.provider
.spec
- Provider information.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update(java.lang.String provider, ProvidersTypes.UpdateSpec spec, AsyncCallback<java.lang.Void> 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.
Operation Errors:
Error
- if there is a generic error.
InvalidArgument
- if the spec is invalid.
NotFound
- if the provider is not found.
Unauthenticated
- if the caller is not authenticated.
Unauthorized
- if the caller is not authorized.
Unsupported
- if the provider's type does not allow updates.
Unauthorized
- if you do not have all of the privileges described as follows:
Cryptographer.ManageKeyServers
. provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.crypto_manager.kms.provider
.spec
- Provider information.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void delete(java.lang.String provider)
Synchronous method overload. Result of the invocation will be reported as a method return value.
provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.crypto_manager.kms.provider
.Error
- if there is a generic error.InvalidArgument
- if the provider identifier is empty.NotFound
- if the provider is not found.Unauthenticated
- if the caller is not authenticated.Unauthorized
- if the caller is not authorized.Unsupported
- if the provider's type does not allow deletion.Unauthorized
- if you do not have all of the privileges described as follows: Cryptographer.ManageKeyServers
. void delete(java.lang.String provider, 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.
provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.crypto_manager.kms.provider
.invocationConfig
- Configuration for the method invocation.Error
- if there is a generic error.InvalidArgument
- if the provider identifier is empty.NotFound
- if the provider is not found.Unauthenticated
- if the caller is not authenticated.Unauthorized
- if the caller is not authorized.Unsupported
- if the provider's type does not allow deletion.Unauthorized
- if you do not have all of the privileges described as follows: Cryptographer.ManageKeyServers
. void delete(java.lang.String provider, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- if there is a generic error.
InvalidArgument
- if the provider identifier is empty.
NotFound
- if the provider is not found.
Unauthenticated
- if the caller is not authenticated.
Unauthorized
- if the caller is not authorized.
Unsupported
- if the provider's type does not allow deletion.
Unauthorized
- if you do not have all of the privileges described as follows:
Cryptographer.ManageKeyServers
. provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.crypto_manager.kms.provider
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete(java.lang.String provider, AsyncCallback<java.lang.Void> 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.
Operation Errors:
Error
- if there is a generic error.
InvalidArgument
- if the provider identifier is empty.
NotFound
- if the provider is not found.
Unauthenticated
- if the caller is not authenticated.
Unauthorized
- if the caller is not authorized.
Unsupported
- if the provider's type does not allow deletion.
Unauthorized
- if you do not have all of the privileges described as follows:
Cryptographer.ManageKeyServers
. provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.crypto_manager.kms.provider
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.ProvidersTypes.Info get(java.lang.String provider)
Synchronous method overload. Result of the invocation will be reported as a method return value.
provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.crypto_manager.kms.provider
.Error
- if there is a generic error.InvalidArgument
- if the provider identifier is empty.NotFound
- if the provider is not found.Unauthenticated
- if the caller is not authenticated.Unauthorized
- if the caller is not authorized.Unauthorized
- if you do not have all of the privileges described as follows: Cryptographer.ReadKeyServersInfo
. ProvidersTypes.Info get(java.lang.String provider, 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.
provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.crypto_manager.kms.provider
.invocationConfig
- Configuration for the method invocation.Error
- if there is a generic error.InvalidArgument
- if the provider identifier is empty.NotFound
- if the provider is not found.Unauthenticated
- if the caller is not authenticated.Unauthorized
- if the caller is not authorized.Unauthorized
- if you do not have all of the privileges described as follows: Cryptographer.ReadKeyServersInfo
. void get(java.lang.String provider, AsyncCallback<ProvidersTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Information of the provider.
Operation Errors:
Error
- if there is a generic error.
InvalidArgument
- if the provider identifier is empty.
NotFound
- if the provider is not found.
Unauthenticated
- if the caller is not authenticated.
Unauthorized
- if the caller is not authorized.
Unauthorized
- if you do not have all of the privileges described as follows:
Cryptographer.ReadKeyServersInfo
. provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.crypto_manager.kms.provider
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String provider, AsyncCallback<ProvidersTypes.Info> 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:
Information of the provider.
Operation Errors:
Error
- if there is a generic error.
InvalidArgument
- if the provider identifier is empty.
NotFound
- if the provider is not found.
Unauthenticated
- if the caller is not authenticated.
Unauthorized
- if the caller is not authorized.
Unauthorized
- if you do not have all of the privileges described as follows:
Cryptographer.ReadKeyServersInfo
. provider
- Identifier of the provider.
The parameter must be an identifier for the resource type: com.vmware.vcenter.crypto_manager.kms.provider
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.ProvidersTypes.ExportResult export(ProvidersTypes.ExportSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
spec
- ExportSpec needed to export a provider.Error
- if there is a generic error.InvalidArgument
- if the provider identifier is empty.NotFound
- if the provider with the identifier is not found.Unauthenticated
- if the caller is not authenticated.Unauthorized
- if the caller is not authorized.Unsupported
- if the provider's type does not allow export.Unauthorized
- if you do not have all of the privileges described as follows: Cryptographer.ManageKeyServers
. ProvidersTypes.ExportResult export(ProvidersTypes.ExportSpec 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
- ExportSpec needed to export a provider.invocationConfig
- Configuration for the method invocation.Error
- if there is a generic error.InvalidArgument
- if the provider identifier is empty.NotFound
- if the provider with the identifier is not found.Unauthenticated
- if the caller is not authenticated.Unauthorized
- if the caller is not authorized.Unsupported
- if the provider's type does not allow export.Unauthorized
- if you do not have all of the privileges described as follows: Cryptographer.ManageKeyServers
. void export(ProvidersTypes.ExportSpec spec, AsyncCallback<ProvidersTypes.ExportResult> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
ExportResult.
Operation Errors:
Error
- if there is a generic error.
InvalidArgument
- if the provider identifier is empty.
NotFound
- if the provider with the identifier is not found.
Unauthenticated
- if the caller is not authenticated.
Unauthorized
- if the caller is not authorized.
Unsupported
- if the provider's type does not allow export.
Unauthorized
- if you do not have all of the privileges described as follows:
Cryptographer.ManageKeyServers
. spec
- ExportSpec needed to export a provider.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void export(ProvidersTypes.ExportSpec spec, AsyncCallback<ProvidersTypes.ExportResult> 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:
ExportResult.
Operation Errors:
Error
- if there is a generic error.
InvalidArgument
- if the provider identifier is empty.
NotFound
- if the provider with the identifier is not found.
Unauthenticated
- if the caller is not authenticated.
Unauthorized
- if the caller is not authorized.
Unsupported
- if the provider's type does not allow export.
Unauthorized
- if you do not have all of the privileges described as follows:
Cryptographer.ManageKeyServers
. spec
- ExportSpec needed to export a provider.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.ProvidersTypes.ImportResult importProvider(ProvidersTypes.ImportSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
spec
- ImportSpec needed to import a provider.AlreadyExists
- if a provider with the same identifier already exists.Error
- if there is a generic error.InvalidArgument
- if the config or the password is invalid.Unauthenticated
- if the caller is not authenticated.Unauthorized
- if the caller is not authorized.Unauthorized
- if you do not have all of the privileges described as follows: Cryptographer.ManageKeyServers
. ProvidersTypes.ImportResult importProvider(ProvidersTypes.ImportSpec 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
- ImportSpec needed to import a provider.invocationConfig
- Configuration for the method invocation.AlreadyExists
- if a provider with the same identifier already exists.Error
- if there is a generic error.InvalidArgument
- if the config or the password is invalid.Unauthenticated
- if the caller is not authenticated.Unauthorized
- if the caller is not authorized.Unauthorized
- if you do not have all of the privileges described as follows: Cryptographer.ManageKeyServers
. void importProvider(ProvidersTypes.ImportSpec spec, AsyncCallback<ProvidersTypes.ImportResult> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
importResult ImportResult.
Operation Errors:
AlreadyExists
- if a provider with the same identifier already exists.
Error
- if there is a generic error.
InvalidArgument
- if the config or the password is invalid.
Unauthenticated
- if the caller is not authenticated.
Unauthorized
- if the caller is not authorized.
Unauthorized
- if you do not have all of the privileges described as follows:
Cryptographer.ManageKeyServers
. spec
- ImportSpec needed to import a provider.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void importProvider(ProvidersTypes.ImportSpec spec, AsyncCallback<ProvidersTypes.ImportResult> 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:
importResult ImportResult.
Operation Errors:
AlreadyExists
- if a provider with the same identifier already exists.
Error
- if there is a generic error.
InvalidArgument
- if the config or the password is invalid.
Unauthenticated
- if the caller is not authenticated.
Unauthorized
- if the caller is not authorized.
Unauthorized
- if you do not have all of the privileges described as follows:
Cryptographer.ManageKeyServers
. spec
- ImportSpec needed to import a provider.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.