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
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 . |
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 . |
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
. 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.
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
. 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.
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
. 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
. 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
. 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
. 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.