public class CapabilitiesStub extends com.vmware.vapi.internal.bindings.Stub implements Capabilities
Capabilities
API service.
WARNING: Internal class, subject to change in future versions.
CapabilitiesTypes.Info, CapabilitiesTypes.Summary
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, RESOURCE_TYPE
Constructor and Description |
---|
CapabilitiesStub(ApiProvider apiProvider,
StubConfigurationBase config) |
CapabilitiesStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
CapabilitiesTypes.Info |
get(java.lang.String capability)
Returns information about a specific compute policy capability in VMware Cloud
on AWS.
|
void |
get(java.lang.String capability,
AsyncCallback<CapabilitiesTypes.Info> asyncCallback)
Returns information about a specific compute policy capability in VMware Cloud
on AWS.
|
void |
get(java.lang.String capability,
AsyncCallback<CapabilitiesTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns information about a specific compute policy capability in VMware Cloud
on AWS.
|
CapabilitiesTypes.Info |
get(java.lang.String capability,
InvocationConfig invocationConfig)
Returns information about a specific compute policy capability in VMware Cloud
on AWS.
|
java.util.List<CapabilitiesTypes.Summary> |
list()
Returns information about the compute policy capabilities available in this
vCenter server in VMware Cloud on AWS.
|
void |
list(AsyncCallback<java.util.List<CapabilitiesTypes.Summary>> asyncCallback)
Returns information about the compute policy capabilities available in this
vCenter server in VMware Cloud on AWS.
|
void |
list(AsyncCallback<java.util.List<CapabilitiesTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns information about the compute policy capabilities available in this
vCenter server in VMware Cloud on AWS.
|
java.util.List<CapabilitiesTypes.Summary> |
list(InvocationConfig invocationConfig)
Returns information about the compute policy capabilities available in this
vCenter server in VMware Cloud on AWS.
|
public CapabilitiesStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public CapabilitiesStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<CapabilitiesTypes.Summary> list()
Capabilities
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface Capabilities
public java.util.List<CapabilitiesTypes.Summary> list(InvocationConfig invocationConfig)
Capabilities
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 Capabilities
invocationConfig
- Configuration for the method invocation.public void list(AsyncCallback<java.util.List<CapabilitiesTypes.Summary>> asyncCallback)
Capabilities
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The list of compute policy capabilities available on this vCenter server.
Operation Errors:
Unauthorized
- if the user doesn't have the required privileges, or when used beyond VMware
Cloud on AWS.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. list
in interface Capabilities
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(AsyncCallback<java.util.List<CapabilitiesTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
Capabilities
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 list of compute policy capabilities available on this vCenter server.
Operation Errors:
Unauthorized
- if the user doesn't have the required privileges, or when used beyond VMware
Cloud on AWS.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. list
in interface Capabilities
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public CapabilitiesTypes.Info get(java.lang.String capability)
Capabilities
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Capabilities
capability
- Identifier of the capability for which information should be retrieved.
The parameter must be an identifier for the resource type: com.vmware.vcenter.compute.policies.Capability
.public CapabilitiesTypes.Info get(java.lang.String capability, InvocationConfig invocationConfig)
Capabilities
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 Capabilities
capability
- Identifier of the capability for which information should be retrieved.
The parameter must be an identifier for the resource type: com.vmware.vcenter.compute.policies.Capability
.invocationConfig
- Configuration for the method invocation.public void get(java.lang.String capability, AsyncCallback<CapabilitiesTypes.Info> asyncCallback)
Capabilities
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Detailed information about the capability.
Operation Errors:
NotFound
- if a capability with this identifier does not exist.
Unauthorized
- if the user doesn't have the required privileges, or when used beyond VMware
Cloud on AWS.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. get
in interface Capabilities
capability
- Identifier of the capability for which information should be retrieved.
The parameter must be an identifier for the resource type: com.vmware.vcenter.compute.policies.Capability
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String capability, AsyncCallback<CapabilitiesTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Capabilities
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:
Detailed information about the capability.
Operation Errors:
NotFound
- if a capability with this identifier does not exist.
Unauthorized
- if the user doesn't have the required privileges, or when used beyond VMware
Cloud on AWS.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. get
in interface Capabilities
capability
- Identifier of the capability for which information should be retrieved.
The parameter must be an identifier for the resource type: com.vmware.vcenter.compute.policies.Capability
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.