public interface Kms extends com.vmware.vapi.bindings.Service, KmsTypes
Kms
interface contains information necessary to connect to the hosts
running Key Provider Service. This interface was added in vSphere API 7.0.0.0.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,
com.vmware.vapi.bindings.client.AsyncCallback<KmsTypes.Info> asyncCallback)
Returns the connection info about the Key Provider Service running on the
specified host.
|
void |
get(java.lang.String host,
com.vmware.vapi.bindings.client.AsyncCallback<KmsTypes.Info> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the connection info about the Key Provider Service running on the
specified host.
|
KmsTypes.Info |
get(java.lang.String host,
com.vmware.vapi.bindings.client.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,
com.vmware.vapi.bindings.client.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,
com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<KmsTypes.Summary>> asyncCallback,
com.vmware.vapi.bindings.client.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,
com.vmware.vapi.bindings.client.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
- 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, com.vmware.vapi.bindings.client.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
- 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, com.vmware.vapi.bindings.client.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
- 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, com.vmware.vapi.bindings.client.AsyncCallback<KmsTypes.Info> asyncCallback, com.vmware.vapi.bindings.client.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
- 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 null
return all registered Key Provider Services.projection
- The type of the returned summary - brief, normal, or full.
If null
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, com.vmware.vapi.bindings.client.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 null
return all registered Key Provider Services.projection
- The type of the returned summary - brief, normal, or full.
If null
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, com.vmware.vapi.bindings.client.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 null
return all registered Key Provider Services.projection
- The type of the returned summary - brief, normal, or full.
If null
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, com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<KmsTypes.Summary>> asyncCallback, com.vmware.vapi.bindings.client.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 null
return all registered Key Provider Services.projection
- The type of the returned summary - brief, normal, or full.
If null
a normal projection will be used.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.