public interface ResourceAddressSchemas extends Service, ResourceAddressSchemasTypes
ResourceAddressSchemas
interface manages inventory of resource
addressing schemas used by Counters
. Each schema
consists of a named list of resource identifiers of specific resource type.
Warning: This interface is available as Technology Preview. These are
early access APIs provided to test, automate and provide feedback on the
feature. Since this can change based on feedback, VMware does not guarantee
backwards compatibility and recommends against using them in production
environments. Some Technology Preview APIs might only be applicable to specific
environments.ResourceAddressSchemasTypes.Info, ResourceAddressSchemasTypes.QueryCapabilities, ResourceAddressSchemasTypes.ResourceIdDefinition
_VAPI_SERVICE_ID, RESOURCE_TYPE
Modifier and Type | Method and Description |
---|---|
ResourceAddressSchemasTypes.Info |
get(java.lang.String id)
Returns information about a specific resource address schema.
|
void |
get(java.lang.String id,
AsyncCallback<ResourceAddressSchemasTypes.Info> asyncCallback)
Returns information about a specific resource address schema.
|
void |
get(java.lang.String id,
AsyncCallback<ResourceAddressSchemasTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns information about a specific resource address schema.
|
ResourceAddressSchemasTypes.Info |
get(java.lang.String id,
InvocationConfig invocationConfig)
Returns information about a specific resource address schema.
|
ResourceAddressSchemasTypes.Info get(java.lang.String id)
Synchronous method overload. Result of the invocation will be reported as a method return value.
id
- Resource address schema identifier.Error
- if the system reports an error while responding to the request.InvalidArgument
- if id
is invalid.NotFound
- if RsrcAddrSchema could not be located.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have sufficient privileges.ResourceAddressSchemasTypes.Info get(java.lang.String id, 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.
id
- Resource address schema identifier.invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.InvalidArgument
- if id
is invalid.NotFound
- if RsrcAddrSchema could not be located.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have sufficient privileges.void get(java.lang.String id, AsyncCallback<ResourceAddressSchemasTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Information about the desired resource address schema.
Operation Errors:
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if id
is invalid.
NotFound
- if RsrcAddrSchema could not be located.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have sufficient privileges.
id
- Resource address schema identifier.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String id, AsyncCallback<ResourceAddressSchemasTypes.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:
Information about the desired resource address schema.
Operation Errors:
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if id
is invalid.
NotFound
- if RsrcAddrSchema could not be located.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have sufficient privileges.
id
- Resource address schema identifier.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.