public interface TrustedRootChains extends Service, TrustedRootChainsTypes
TrustedRootChains
interface provides methods to create, modify,
delete and read trusted root certificate chains. This interface was added in
vSphere API 6.7.2.TrustedRootChainsTypes.CreateSpec, TrustedRootChainsTypes.Info, TrustedRootChainsTypes.Summary
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
java.lang.String |
create(TrustedRootChainsTypes.CreateSpec spec)
Creates a new trusted root certificate chain from the CreateSpec.
|
void |
create(TrustedRootChainsTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Creates a new trusted root certificate chain from the CreateSpec.
|
void |
create(TrustedRootChainsTypes.CreateSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Creates a new trusted root certificate chain from the CreateSpec.
|
java.lang.String |
create(TrustedRootChainsTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Creates a new trusted root certificate chain from the CreateSpec.
|
void |
delete(java.lang.String chain)
Deletes trusted root certificate chain for a given identifier.
|
void |
delete(java.lang.String chain,
AsyncCallback<java.lang.Void> asyncCallback)
Deletes trusted root certificate chain for a given identifier.
|
void |
delete(java.lang.String chain,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Deletes trusted root certificate chain for a given identifier.
|
void |
delete(java.lang.String chain,
InvocationConfig invocationConfig)
Deletes trusted root certificate chain for a given identifier.
|
TrustedRootChainsTypes.Info |
get(java.lang.String chain)
Retrieve a trusted root certificate chain for a given identifier.
|
void |
get(java.lang.String chain,
AsyncCallback<TrustedRootChainsTypes.Info> asyncCallback)
Retrieve a trusted root certificate chain for a given identifier.
|
void |
get(java.lang.String chain,
AsyncCallback<TrustedRootChainsTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Retrieve a trusted root certificate chain for a given identifier.
|
TrustedRootChainsTypes.Info |
get(java.lang.String chain,
InvocationConfig invocationConfig)
Retrieve a trusted root certificate chain for a given identifier.
|
java.util.List<TrustedRootChainsTypes.Summary> |
list()
Returns summary information for each trusted root certificate chain.
|
void |
list(AsyncCallback<java.util.List<TrustedRootChainsTypes.Summary>> asyncCallback)
Returns summary information for each trusted root certificate chain.
|
void |
list(AsyncCallback<java.util.List<TrustedRootChainsTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns summary information for each trusted root certificate chain.
|
java.util.List<TrustedRootChainsTypes.Summary> |
list(InvocationConfig invocationConfig)
Returns summary information for each trusted root certificate chain.
|
java.util.List<TrustedRootChainsTypes.Summary> list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Unauthorized
- if authorization is not given to caller.Unauthorized
- if you do not have all of the privileges described as follows: System.Read
. java.util.List<TrustedRootChainsTypes.Summary> 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.Unauthorized
- if authorization is not given to caller.Unauthorized
- if you do not have all of the privileges described as follows: System.Read
. void list(AsyncCallback<java.util.List<TrustedRootChainsTypes.Summary>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
List of trusted root certificate chains summaries.
Operation Errors:
Unauthorized
- if authorization is not given to caller.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(AsyncCallback<java.util.List<TrustedRootChainsTypes.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:
List of trusted root certificate chains summaries.
Operation Errors:
Unauthorized
- if authorization is not given to caller.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.lang.String create(TrustedRootChainsTypes.CreateSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
spec
- The information needed to create a trusted root certificate chain.Unauthorized
- if authorization is not given to caller.AlreadyExists
- if a trusted root certificate chain exists with id in given spec.Unauthorized
- if you do not have all of the privileges described as follows: CertificateManagement.Manage
and CertificateManagement.Administer
. java.lang.String create(TrustedRootChainsTypes.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
- The information needed to create a trusted root certificate chain.invocationConfig
- Configuration for the method invocation.Unauthorized
- if authorization is not given to caller.AlreadyExists
- if a trusted root certificate chain exists with id in given spec.Unauthorized
- if you do not have all of the privileges described as follows: CertificateManagement.Manage
and CertificateManagement.Administer
. void create(TrustedRootChainsTypes.CreateSpec spec, AsyncCallback<java.lang.String> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The unique identifier for the new trusted root chain.
Operation Errors:
Unauthorized
- if authorization is not given to caller.
AlreadyExists
- if a trusted root certificate chain exists with id in given spec.
Unauthorized
- if you do not have all of the privileges described as follows:
CertificateManagement.Manage
and CertificateManagement.Administer
. spec
- The information needed to create a trusted root certificate chain.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(TrustedRootChainsTypes.CreateSpec 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:
The unique identifier for the new trusted root chain.
Operation Errors:
Unauthorized
- if authorization is not given to caller.
AlreadyExists
- if a trusted root certificate chain exists with id in given spec.
Unauthorized
- if you do not have all of the privileges described as follows:
CertificateManagement.Manage
and CertificateManagement.Administer
. spec
- The information needed to create a trusted root certificate chain.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.TrustedRootChainsTypes.Info get(java.lang.String chain)
Synchronous method overload. Result of the invocation will be reported as a method return value.
chain
- Unique identifier for a trusted root cert chain.Unauthorized
- if authorization is not given to caller.NotFound
- if a trusted root certificate chain does not exist for given id.Unauthorized
- if you do not have all of the privileges described as follows: System.Read
. TrustedRootChainsTypes.Info get(java.lang.String chain, 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.
chain
- Unique identifier for a trusted root cert chain.invocationConfig
- Configuration for the method invocation.Unauthorized
- if authorization is not given to caller.NotFound
- if a trusted root certificate chain does not exist for given id.Unauthorized
- if you do not have all of the privileges described as follows: System.Read
. void get(java.lang.String chain, AsyncCallback<TrustedRootChainsTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
TrustedRootChain.
Operation Errors:
Unauthorized
- if authorization is not given to caller.
NotFound
- if a trusted root certificate chain does not exist for given id.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. chain
- Unique identifier for a trusted root cert chain.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String chain, AsyncCallback<TrustedRootChainsTypes.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:
TrustedRootChain.
Operation Errors:
Unauthorized
- if authorization is not given to caller.
NotFound
- if a trusted root certificate chain does not exist for given id.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. chain
- Unique identifier for a trusted root cert chain.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void delete(java.lang.String chain)
Synchronous method overload. Result of the invocation will be reported as a method return value.
chain
- Unique identifier for a trusted root cert chain.Unauthorized
- if authorization is not given to caller.NotFound
- if a trusted root certificate chain does not exist for given id.Unauthorized
- if you do not have all of the privileges described as follows: CertificateManagement.Manage
and CertificateManagement.Administer
. void delete(java.lang.String chain, 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.
chain
- Unique identifier for a trusted root cert chain.invocationConfig
- Configuration for the method invocation.Unauthorized
- if authorization is not given to caller.NotFound
- if a trusted root certificate chain does not exist for given id.Unauthorized
- if you do not have all of the privileges described as follows: CertificateManagement.Manage
and CertificateManagement.Administer
. void delete(java.lang.String chain, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthorized
- if authorization is not given to caller.
NotFound
- if a trusted root certificate chain does not exist for given id.
Unauthorized
- if you do not have all of the privileges described as follows:
CertificateManagement.Manage
and CertificateManagement.Administer
. chain
- Unique identifier for a trusted root cert chain.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete(java.lang.String chain, 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:
Unauthorized
- if authorization is not given to caller.
NotFound
- if a trusted root certificate chain does not exist for given id.
Unauthorized
- if you do not have all of the privileges described as follows:
CertificateManagement.Manage
and CertificateManagement.Administer
. chain
- Unique identifier for a trusted root cert chain.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.