public interface Associations extends Service, AssociationsTypes
Associations
interface provides methods to list tag associations.
This interface was added in vSphere API 7.0.0.0.AssociationsTypes.IterationSpec, AssociationsTypes.LastIterationStatus, AssociationsTypes.ListResult, AssociationsTypes.Summary
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
AssociationsTypes.ListResult |
list(AssociationsTypes.IterationSpec iterate)
Returns tag associations that match the specified iteration spec.
|
void |
list(AssociationsTypes.IterationSpec iterate,
AsyncCallback<AssociationsTypes.ListResult> asyncCallback)
Returns tag associations that match the specified iteration spec.
|
void |
list(AssociationsTypes.IterationSpec iterate,
AsyncCallback<AssociationsTypes.ListResult> asyncCallback,
InvocationConfig invocationConfig)
Returns tag associations that match the specified iteration spec.
|
AssociationsTypes.ListResult |
list(AssociationsTypes.IterationSpec iterate,
InvocationConfig invocationConfig)
Returns tag associations that match the specified iteration spec.
|
AssociationsTypes.ListResult list(AssociationsTypes.IterationSpec iterate)
Synchronous method overload. Result of the invocation will be reported as a method return value.
iterate
- The specification of a page to be retrieved.
If null
, the first page will be retrieved.InvalidArgument
- if AssociationsTypes.IterationSpec.getMarker()
is not a marker returned from an earlier invocation of this {@term operation).Unauthorized
- if the user doesn't have the required privileges.AssociationsTypes.ListResult list(AssociationsTypes.IterationSpec iterate, 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.
iterate
- The specification of a page to be retrieved.
If null
, the first page will be retrieved.invocationConfig
- Configuration for the method invocation.InvalidArgument
- if AssociationsTypes.IterationSpec.getMarker()
is not a marker returned from an earlier invocation of this {@term operation).Unauthorized
- if the user doesn't have the required privileges.void list(AssociationsTypes.IterationSpec iterate, AsyncCallback<AssociationsTypes.ListResult> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
A page of the tag associations matching the iteration spec.
Operation Errors:
InvalidArgument
- if AssociationsTypes.IterationSpec.getMarker()
is not a marker returned from an earlier invocation of this operation).
{@link com.vmware.vapi.std.errors.Unauthorized} - if the user doesn't have the required privileges.
iterate
- The specification of a page to be retrieved.
If null
, the first page will be retrieved.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(AssociationsTypes.IterationSpec iterate, AsyncCallback<AssociationsTypes.ListResult> 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:
A page of the tag associations matching the iteration spec.
Operation Errors:
InvalidArgument
- if AssociationsTypes.IterationSpec.getMarker()
is not a marker returned from an earlier invocation of this operation).
{@link com.vmware.vapi.std.errors.Unauthorized} - if the user doesn't have the required privileges.
iterate
- The specification of a page to be retrieved.
If null
, the first page will be retrieved.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.