public interface TagUsage extends Service, TagUsageTypes
TagUsage
interface provides methods to query which tags are used by
policies. Warning: This interface is available as technical preview. It
may be changed in a future release.TagUsageTypes.FilterSpec, TagUsageTypes.Summary
Modifier and Type | Method and Description |
---|---|
java.util.List<TagUsageTypes.Summary> |
list(TagUsageTypes.FilterSpec filter)
Returns information about the tags used by policies available in this vCenter
server matching the
TagUsageTypes.FilterSpec . |
void |
list(TagUsageTypes.FilterSpec filter,
AsyncCallback<java.util.List<TagUsageTypes.Summary>> asyncCallback)
Returns information about the tags used by policies available in this vCenter
server matching the
TagUsageTypes.FilterSpec . |
void |
list(TagUsageTypes.FilterSpec filter,
AsyncCallback<java.util.List<TagUsageTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns information about the tags used by policies available in this vCenter
server matching the
TagUsageTypes.FilterSpec . |
java.util.List<TagUsageTypes.Summary> |
list(TagUsageTypes.FilterSpec filter,
InvocationConfig invocationConfig)
Returns information about the tags used by policies available in this vCenter
server matching the
TagUsageTypes.FilterSpec . |
java.util.List<TagUsageTypes.Summary> list(TagUsageTypes.FilterSpec filter)
TagUsageTypes.FilterSpec
. Warning:
This method is available as technical preview. It may be changed in a future
release.
Synchronous method overload. Result of the invocation will be reported as a method return value.
filter
- Specification for matching tags used by policies.
If null
, the behavior is equivalent to a TagUsageTypes.FilterSpec
with all
properties null
, which means all tags used by policies match the filter.TagUsageTypes.FilterSpec
.Unauthorized
- if the user doesn't have the required privileges.Unauthorized
- if you do not have all of the privileges described as follows: System.Read
. java.util.List<TagUsageTypes.Summary> list(TagUsageTypes.FilterSpec filter, InvocationConfig invocationConfig)
TagUsageTypes.FilterSpec
. Warning:
This method is available as technical preview. It may be changed in a future
release.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
filter
- Specification for matching tags used by policies.
If null
, the behavior is equivalent to a TagUsageTypes.FilterSpec
with all
properties null
, which means all tags used by policies match the filter.invocationConfig
- Configuration for the method invocation.TagUsageTypes.FilterSpec
.Unauthorized
- if the user doesn't have the required privileges.Unauthorized
- if you do not have all of the privileges described as follows: System.Read
. void list(TagUsageTypes.FilterSpec filter, AsyncCallback<java.util.List<TagUsageTypes.Summary>> asyncCallback)
TagUsageTypes.FilterSpec
. Warning:
This method is available as technical preview. It may be changed in a future
release.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
The list of tags used by policies available on this vCenter server matching the
TagUsageTypes.FilterSpec
.
Operation Errors:
Unauthorized
- if the user doesn't have the required privileges.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. filter
- Specification for matching tags used by policies.
If null
, the behavior is equivalent to a TagUsageTypes.FilterSpec
with all
properties null
, which means all tags used by policies match the filter.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(TagUsageTypes.FilterSpec filter, AsyncCallback<java.util.List<TagUsageTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
TagUsageTypes.FilterSpec
. Warning:
This method is available as technical preview. It may be changed in a future
release.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
The list of tags used by policies available on this vCenter server matching the
TagUsageTypes.FilterSpec
.
Operation Errors:
Unauthorized
- if the user doesn't have the required privileges.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. filter
- Specification for matching tags used by policies.
If null
, the behavior is equivalent to a TagUsageTypes.FilterSpec
with all
properties null
, which means all tags used by policies match the filter.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.