public class TagUsageStub extends com.vmware.vapi.internal.bindings.Stub implements TagUsage
TagUsage
API service.
WARNING: Internal class, subject to change in future versions.
TagUsageTypes.FilterSpec, TagUsageTypes.Summary
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
TagUsageStub(ApiProvider apiProvider,
StubConfigurationBase config) |
TagUsageStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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. |
public TagUsageStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public TagUsageStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<TagUsageTypes.Summary> list(TagUsageTypes.FilterSpec filter)
TagUsage
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.
list
in interface TagUsage
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
.public java.util.List<TagUsageTypes.Summary> list(TagUsageTypes.FilterSpec filter, InvocationConfig invocationConfig)
TagUsage
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.
list
in interface TagUsage
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
.public void list(TagUsageTypes.FilterSpec filter, AsyncCallback<java.util.List<TagUsageTypes.Summary>> asyncCallback)
TagUsage
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
. list
in interface TagUsage
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.public void list(TagUsageTypes.FilterSpec filter, AsyncCallback<java.util.List<TagUsageTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
TagUsage
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
. list
in interface TagUsage
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.