KmsTypes.FilterSpec, KmsTypes.Info, KmsTypes.Summary, KmsTypes.SummaryType
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
KmsTypes.Info |
get(java.lang.String host)
Returns the connection info about the Key Provider Service running on the
specified host.
|
void |
get(java.lang.String host,
AsyncCallback<KmsTypes.Info> asyncCallback)
Returns the connection info about the Key Provider Service running on the
specified host.
|
void |
get(java.lang.String host,
AsyncCallback<KmsTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns the connection info about the Key Provider Service running on the
specified host.
|
KmsTypes.Info |
get(java.lang.String host,
InvocationConfig invocationConfig)
Returns the connection info about the Key Provider Service running on the
specified host.
|
java.util.List<KmsTypes.Summary> |
list(KmsTypes.FilterSpec spec,
KmsTypes.SummaryType projection)
Returns a list of the hosts running a Key Provider Service matching the
specified
KmsTypes.FilterSpec . |
void |
list(KmsTypes.FilterSpec spec,
KmsTypes.SummaryType projection,
AsyncCallback<java.util.List<KmsTypes.Summary>> asyncCallback)
Returns a list of the hosts running a Key Provider Service matching the
specified
KmsTypes.FilterSpec . |
void |
list(KmsTypes.FilterSpec spec,
KmsTypes.SummaryType projection,
AsyncCallback<java.util.List<KmsTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns a list of the hosts running a Key Provider Service matching the
specified
KmsTypes.FilterSpec . |
java.util.List<KmsTypes.Summary> |
list(KmsTypes.FilterSpec spec,
KmsTypes.SummaryType projection,
InvocationConfig invocationConfig)
Returns a list of the hosts running a Key Provider Service matching the
specified
KmsTypes.FilterSpec . |
KmsTypes.Info get(java.lang.String host)
Synchronous method overload. Result of the invocation will be reported as a method return value.
host
- @{link com.vmware.vcenter.Host} id.
The parameter must be an identifier for the resource type: HostSystem
.KmsTypes.Info
instance which contains the information necessary to connect to the Key Provider
Service.Error
- if service's TLS certificate chain is not valid.NotFound
- if host
doesn't match to any Host.Unauthenticated
- if the user can not be authenticated.ResourceInaccessible
- if connection to host
failed.Unauthorized
- if you do not have all of the privileges described as follows: TrustedAdmin.ReadTrustedHosts
. HostSystem
referenced by the parameter host
requires System.View
. KmsTypes.Info get(java.lang.String host, 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.
host
- @{link com.vmware.vcenter.Host} id.
The parameter must be an identifier for the resource type: HostSystem
.invocationConfig
- Configuration for the method invocation.KmsTypes.Info
instance which contains the information necessary to connect to the Key Provider
Service.Error
- if service's TLS certificate chain is not valid.NotFound
- if host
doesn't match to any Host.Unauthenticated
- if the user can not be authenticated.ResourceInaccessible
- if connection to host
failed.Unauthorized
- if you do not have all of the privileges described as follows: TrustedAdmin.ReadTrustedHosts
. HostSystem
referenced by the parameter host
requires System.View
. void get(java.lang.String host, AsyncCallback<KmsTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The KmsTypes.Info
instance which contains the information necessary to connect to the Key Provider
Service.
Operation Errors:
Error
- if service's TLS certificate chain is not valid.
NotFound
- if host
doesn't match to any Host.
Unauthenticated
- if the user can not be authenticated.
ResourceInaccessible
- if connection to host
failed.
Unauthorized
- if you do not have all of the privileges described as follows:
TrustedAdmin.ReadTrustedHosts
. HostSystem
referenced by the parameter host
requires System.View
. host
- @{link com.vmware.vcenter.Host} id.
The parameter must be an identifier for the resource type: HostSystem
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String host, AsyncCallback<KmsTypes.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:
The KmsTypes.Info
instance which contains the information necessary to connect to the Key Provider
Service.
Operation Errors:
Error
- if service's TLS certificate chain is not valid.
NotFound
- if host
doesn't match to any Host.
Unauthenticated
- if the user can not be authenticated.
ResourceInaccessible
- if connection to host
failed.
Unauthorized
- if you do not have all of the privileges described as follows:
TrustedAdmin.ReadTrustedHosts
. HostSystem
referenced by the parameter host
requires System.View
. host
- @{link com.vmware.vcenter.Host} id.
The parameter must be an identifier for the resource type: HostSystem
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.util.List<KmsTypes.Summary> list(KmsTypes.FilterSpec spec, KmsTypes.SummaryType projection)
KmsTypes.FilterSpec
.
This method was added in vSphere API 7.0.0.0.
Synchronous method overload. Result of the invocation will be reported as a method return value.
spec
- Return details about Key Provider Services matching the filter.
If return all registered Key Provider Services.projection
- The type of the returned summary - brief, normal, or full.
If a normal projection will be used.KmsTypes.Summary
of Key Provider Services.Error
- if there is a generic error.InvalidArgument
- if the response data will exceed the message limit.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if you do not have all of the privileges described as follows: TrustedAdmin.ReadTrustedHosts
. HostSystem
referenced by the property KmsTypes.FilterSpec.getHosts()
requires System.View
. ClusterComputeResource
referenced by the property KmsTypes.FilterSpec.getClusters()
requires System.View
. java.util.List<KmsTypes.Summary> list(KmsTypes.FilterSpec spec, KmsTypes.SummaryType projection, InvocationConfig invocationConfig)
KmsTypes.FilterSpec
.
This method was added in vSphere API 7.0.0.0.
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
- Return details about Key Provider Services matching the filter.
If return all registered Key Provider Services.projection
- The type of the returned summary - brief, normal, or full.
If a normal projection will be used.invocationConfig
- Configuration for the method invocation.KmsTypes.Summary
of Key Provider Services.Error
- if there is a generic error.InvalidArgument
- if the response data will exceed the message limit.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if you do not have all of the privileges described as follows: TrustedAdmin.ReadTrustedHosts
. HostSystem
referenced by the property KmsTypes.FilterSpec.getHosts()
requires System.View
. ClusterComputeResource
referenced by the property KmsTypes.FilterSpec.getClusters()
requires System.View
. void list(KmsTypes.FilterSpec spec, KmsTypes.SummaryType projection, AsyncCallback<java.util.List<KmsTypes.Summary>> asyncCallback)
KmsTypes.FilterSpec
.
This method was added in vSphere API 7.0.0.0.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
List of KmsTypes.Summary
of Key Provider Services.
Operation Errors:
Error
- if there is a generic error.
InvalidArgument
- if the response data will exceed the message limit.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
TrustedAdmin.ReadTrustedHosts
. HostSystem
referenced by the property KmsTypes.FilterSpec.getHosts()
requires System.View
. ClusterComputeResource
referenced by the property KmsTypes.FilterSpec.getClusters()
requires System.View
. spec
- Return details about Key Provider Services matching the filter.
If return all registered Key Provider Services.projection
- The type of the returned summary - brief, normal, or full.
If a normal projection will be used.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(KmsTypes.FilterSpec spec, KmsTypes.SummaryType projection, AsyncCallback<java.util.List<KmsTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
KmsTypes.FilterSpec
.
This method was added in vSphere API 7.0.0.0.
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 KmsTypes.Summary
of Key Provider Services.
Operation Errors:
Error
- if there is a generic error.
InvalidArgument
- if the response data will exceed the message limit.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
TrustedAdmin.ReadTrustedHosts
. HostSystem
referenced by the property KmsTypes.FilterSpec.getHosts()
requires System.View
. ClusterComputeResource
referenced by the property KmsTypes.FilterSpec.getClusters()
requires System.View
. spec
- Return details about Key Provider Services matching the filter.
If return all registered Key Provider Services.projection
- The type of the returned summary - brief, normal, or full.
If a normal projection will be used.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.