public interface TagUsage extends Service, TagUsageTypes
TagUsage
interface provides methods to query which tags are used by
policies in VMware Cloud on AWS. Usage beyond VMware Cloud on AWS is not
supported. 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.TagUsageTypes.FilterSpec, TagUsageTypes.Summary
_VAPI_SERVICE_ID
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 in VMware Cloud on
AWS. |
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 in VMware Cloud on
AWS. |
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 in VMware Cloud on
AWS. |
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 in VMware Cloud on
AWS. |
java.util.List<TagUsageTypes.Summary> list(TagUsageTypes.FilterSpec filter)
TagUsageTypes.FilterSpec
in VMware Cloud on
AWS. Usage beyond VMware Cloud on AWS is not supported. Warning: This
method 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.
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, or when used beyond VMware
Cloud on AWS.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
in VMware Cloud on
AWS. Usage beyond VMware Cloud on AWS is not supported. Warning: This
method 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.
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, or when used beyond VMware
Cloud on AWS.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
in VMware Cloud on
AWS. Usage beyond VMware Cloud on AWS is not supported. Warning: This
method 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.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation 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, or when used beyond VMware
Cloud on AWS.
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
in VMware Cloud on
AWS. Usage beyond VMware Cloud on AWS is not supported. Warning: This
method 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.
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 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, or when used beyond VMware
Cloud on AWS.
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.