KmsTypes.FilterSpec, KmsTypes.Info, KmsTypes.Summary, KmsTypes.SummaryType
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
KmsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
KmsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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 . |
public KmsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public KmsStub(ApiProvider apiProvider, StubConfigurationBase config)
public KmsTypes.Info get(java.lang.String host)
Kms
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Kms
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.public KmsTypes.Info get(java.lang.String host, InvocationConfig invocationConfig)
Kms
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface Kms
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.public void get(java.lang.String host, AsyncCallback<KmsTypes.Info> asyncCallback)
Kms
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
. public void get(java.lang.String host, AsyncCallback<KmsTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Kms
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
. get
in interface Kms
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.public java.util.List<KmsTypes.Summary> list(KmsTypes.FilterSpec spec, KmsTypes.SummaryType projection)
Kms
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.
list
in interface Kms
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.public java.util.List<KmsTypes.Summary> list(KmsTypes.FilterSpec spec, KmsTypes.SummaryType projection, InvocationConfig invocationConfig)
Kms
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.
list
in interface Kms
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.public void list(KmsTypes.FilterSpec spec, KmsTypes.SummaryType projection, AsyncCallback<java.util.List<KmsTypes.Summary>> asyncCallback)
Kms
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
. list
in interface Kms
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.public void list(KmsTypes.FilterSpec spec, KmsTypes.SummaryType projection, AsyncCallback<java.util.List<KmsTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
Kms
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
. list
in interface Kms
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.