TagTypes.CreateSpec, TagTypes.UpdateSpec
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
void |
addToUsedBy(java.lang.String tagId,
java.lang.String usedByEntity)
|
void |
addToUsedBy(java.lang.String tagId,
java.lang.String usedByEntity,
AsyncCallback<java.lang.Void> asyncCallback)
|
void |
addToUsedBy(java.lang.String tagId,
java.lang.String usedByEntity,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
|
void |
addToUsedBy(java.lang.String tagId,
java.lang.String usedByEntity,
InvocationConfig invocationConfig)
|
java.lang.String |
create(TagTypes.CreateSpec createSpec)
Creates a tag.
|
void |
create(TagTypes.CreateSpec createSpec,
AsyncCallback<java.lang.String> asyncCallback)
Creates a tag.
|
void |
create(TagTypes.CreateSpec createSpec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Creates a tag.
|
java.lang.String |
create(TagTypes.CreateSpec createSpec,
InvocationConfig invocationConfig)
Creates a tag.
|
void |
delete(java.lang.String tagId)
Deletes an existing tag.
|
void |
delete(java.lang.String tagId,
AsyncCallback<java.lang.Void> asyncCallback)
Deletes an existing tag.
|
void |
delete(java.lang.String tagId,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Deletes an existing tag.
|
void |
delete(java.lang.String tagId,
InvocationConfig invocationConfig)
Deletes an existing tag.
|
TagModel |
get(java.lang.String tagId)
Fetches the tag information for the given tag identifier.
|
void |
get(java.lang.String tagId,
AsyncCallback<TagModel> asyncCallback)
Fetches the tag information for the given tag identifier.
|
void |
get(java.lang.String tagId,
AsyncCallback<TagModel> asyncCallback,
InvocationConfig invocationConfig)
Fetches the tag information for the given tag identifier.
|
TagModel |
get(java.lang.String tagId,
InvocationConfig invocationConfig)
Fetches the tag information for the given tag identifier.
|
java.util.List<java.lang.String> |
list()
Enumerates the tags in the system.
|
void |
list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Enumerates the tags in the system.
|
void |
list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback,
InvocationConfig invocationConfig)
Enumerates the tags in the system.
|
java.util.List<java.lang.String> |
list(InvocationConfig invocationConfig)
Enumerates the tags in the system.
|
java.util.List<java.lang.String> |
listTagsForCategory(java.lang.String categoryId)
Enumerates all tags for the given category.
|
void |
listTagsForCategory(java.lang.String categoryId,
AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Enumerates all tags for the given category.
|
void |
listTagsForCategory(java.lang.String categoryId,
AsyncCallback<java.util.List<java.lang.String>> asyncCallback,
InvocationConfig invocationConfig)
Enumerates all tags for the given category.
|
java.util.List<java.lang.String> |
listTagsForCategory(java.lang.String categoryId,
InvocationConfig invocationConfig)
Enumerates all tags for the given category.
|
java.util.List<java.lang.String> |
listUsedTags(java.lang.String usedByEntity)
|
void |
listUsedTags(java.lang.String usedByEntity,
AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
|
void |
listUsedTags(java.lang.String usedByEntity,
AsyncCallback<java.util.List<java.lang.String>> asyncCallback,
InvocationConfig invocationConfig)
|
java.util.List<java.lang.String> |
listUsedTags(java.lang.String usedByEntity,
InvocationConfig invocationConfig)
|
void |
removeFromUsedBy(java.lang.String tagId,
java.lang.String usedByEntity)
Removes the
usedByEntity from the TagModel.getUsedBy() subscribers set. |
void |
removeFromUsedBy(java.lang.String tagId,
java.lang.String usedByEntity,
AsyncCallback<java.lang.Void> asyncCallback)
Removes the
usedByEntity from the TagModel.getUsedBy() subscribers set. |
void |
removeFromUsedBy(java.lang.String tagId,
java.lang.String usedByEntity,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Removes the
usedByEntity from the TagModel.getUsedBy() subscribers set. |
void |
removeFromUsedBy(java.lang.String tagId,
java.lang.String usedByEntity,
InvocationConfig invocationConfig)
Removes the
usedByEntity from the TagModel.getUsedBy() subscribers set. |
void |
revokePropagatingPermissions(java.lang.String tagId)
Revokes all propagating permissions on the given tag.
|
void |
revokePropagatingPermissions(java.lang.String tagId,
AsyncCallback<java.lang.Void> asyncCallback)
Revokes all propagating permissions on the given tag.
|
void |
revokePropagatingPermissions(java.lang.String tagId,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Revokes all propagating permissions on the given tag.
|
void |
revokePropagatingPermissions(java.lang.String tagId,
InvocationConfig invocationConfig)
Revokes all propagating permissions on the given tag.
|
void |
update(java.lang.String tagId,
TagTypes.UpdateSpec updateSpec)
Updates an existing tag.
|
void |
update(java.lang.String tagId,
TagTypes.UpdateSpec updateSpec,
AsyncCallback<java.lang.Void> asyncCallback)
Updates an existing tag.
|
void |
update(java.lang.String tagId,
TagTypes.UpdateSpec updateSpec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Updates an existing tag.
|
void |
update(java.lang.String tagId,
TagTypes.UpdateSpec updateSpec,
InvocationConfig invocationConfig)
Updates an existing tag.
|
java.lang.String create(TagTypes.CreateSpec createSpec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
createSpec
- Specification for the new tag to be created.com.vmware.cis.tagging.Tag
.AlreadyExists
- if the TagTypes.CreateSpec.getName()
provided in
the createSpec
is the name of an already existing tag in the input
category.InvalidArgument
- if any of the input information in the createSpec
is invalid.NotFound
- if the category for in the given createSpec
does not exist in the
system.Unauthorized
- if you do not have the privilege to create tag.java.lang.String create(TagTypes.CreateSpec createSpec, 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.
createSpec
- Specification for the new tag to be created.invocationConfig
- Configuration for the method invocation.com.vmware.cis.tagging.Tag
.AlreadyExists
- if the TagTypes.CreateSpec.getName()
provided in
the createSpec
is the name of an already existing tag in the input
category.InvalidArgument
- if any of the input information in the createSpec
is invalid.NotFound
- if the category for in the given createSpec
does not exist in the
system.Unauthorized
- if you do not have the privilege to create tag.void create(TagTypes.CreateSpec createSpec, AsyncCallback<java.lang.String> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The identifier of the created tag.
The return value will be an identifier for the resource type: com.vmware.cis.tagging.Tag
.
Operation Errors:
AlreadyExists
- if the TagTypes.CreateSpec.getName()
provided in
the createSpec
is the name of an already existing tag in the input
category.
InvalidArgument
- if any of the input information in the createSpec
is invalid.
NotFound
- if the category for in the given createSpec
does not exist in the
system.
Unauthorized
- if you do not have the privilege to create tag.
createSpec
- Specification for the new tag to be created.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(TagTypes.CreateSpec createSpec, AsyncCallback<java.lang.String> 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:
The identifier of the created tag.
The return value will be an identifier for the resource type: com.vmware.cis.tagging.Tag
.
Operation Errors:
AlreadyExists
- if the TagTypes.CreateSpec.getName()
provided in
the createSpec
is the name of an already existing tag in the input
category.
InvalidArgument
- if any of the input information in the createSpec
is invalid.
NotFound
- if the category for in the given createSpec
does not exist in the
system.
Unauthorized
- if you do not have the privilege to create tag.
createSpec
- Specification for the new tag to be created.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.TagModel get(java.lang.String tagId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
tagId
- The identifier of the input tag.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Tag
.TagModel
that corresponds to tagId
.NotFound
- if the tag for the given tagId
does not exist in the system.Unauthorized
- if the user does not have the privilege to read the tag.TagModel get(java.lang.String tagId, 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.
tagId
- The identifier of the input tag.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Tag
.invocationConfig
- Configuration for the method invocation.TagModel
that corresponds to tagId
.NotFound
- if the tag for the given tagId
does not exist in the system.Unauthorized
- if the user does not have the privilege to read the tag.void get(java.lang.String tagId, AsyncCallback<TagModel> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The TagModel
that corresponds to tagId
.
Operation Errors:
NotFound
- if the tag for the given tagId
does not exist in the system.
Unauthorized
- if the user does not have the privilege to read the tag.
tagId
- The identifier of the input tag.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Tag
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String tagId, AsyncCallback<TagModel> 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:
The TagModel
that corresponds to tagId
.
Operation Errors:
NotFound
- if the tag for the given tagId
does not exist in the system.
Unauthorized
- if the user does not have the privilege to read the tag.
tagId
- The identifier of the input tag.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Tag
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void update(java.lang.String tagId, TagTypes.UpdateSpec updateSpec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
tagId
- The identifier of the input tag.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Tag
.updateSpec
- Specification to update the tag.AlreadyExists
- if the TagTypes.UpdateSpec.getName()
provided in
the updateSpec
is the name of an already existing tag in the same
category.InvalidArgument
- if any of the input information in the updateSpec
is invalid.NotFound
- if the tag for the given tagId
does not exist in the system.Unauthorized
- if you do not have the privilege to update the tag.void update(java.lang.String tagId, TagTypes.UpdateSpec updateSpec, 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.
tagId
- The identifier of the input tag.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Tag
.updateSpec
- Specification to update the tag.invocationConfig
- Configuration for the method invocation.AlreadyExists
- if the TagTypes.UpdateSpec.getName()
provided in
the updateSpec
is the name of an already existing tag in the same
category.InvalidArgument
- if any of the input information in the updateSpec
is invalid.NotFound
- if the tag for the given tagId
does not exist in the system.Unauthorized
- if you do not have the privilege to update the tag.void update(java.lang.String tagId, TagTypes.UpdateSpec updateSpec, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
AlreadyExists
- if the TagTypes.UpdateSpec.getName()
provided in
the updateSpec
is the name of an already existing tag in the same
category.
InvalidArgument
- if any of the input information in the updateSpec
is invalid.
NotFound
- if the tag for the given tagId
does not exist in the system.
Unauthorized
- if you do not have the privilege to update the tag.
tagId
- The identifier of the input tag.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Tag
.updateSpec
- Specification to update the tag.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update(java.lang.String tagId, TagTypes.UpdateSpec updateSpec, AsyncCallback<java.lang.Void> 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.
Operation Errors:
AlreadyExists
- if the TagTypes.UpdateSpec.getName()
provided in
the updateSpec
is the name of an already existing tag in the same
category.
InvalidArgument
- if any of the input information in the updateSpec
is invalid.
NotFound
- if the tag for the given tagId
does not exist in the system.
Unauthorized
- if you do not have the privilege to update the tag.
tagId
- The identifier of the input tag.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Tag
.updateSpec
- Specification to update the tag.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void delete(java.lang.String tagId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
tagId
- The identifier of the input tag.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Tag
.NotFound
- if the tag for the given tagId
does not exist in the system.Unauthorized
- if you do not have the privilege to delete the tag.Unauthenticated
- if the user can not be authenticated.void delete(java.lang.String tagId, 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.
tagId
- The identifier of the input tag.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Tag
.invocationConfig
- Configuration for the method invocation.NotFound
- if the tag for the given tagId
does not exist in the system.Unauthorized
- if you do not have the privilege to delete the tag.Unauthenticated
- if the user can not be authenticated.void delete(java.lang.String tagId, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
NotFound
- if the tag for the given tagId
does not exist in the system.
Unauthorized
- if you do not have the privilege to delete the tag.
Unauthenticated
- if the user can not be authenticated.
tagId
- The identifier of the input tag.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Tag
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete(java.lang.String tagId, AsyncCallback<java.lang.Void> 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.
Operation Errors:
NotFound
- if the tag for the given tagId
does not exist in the system.
Unauthorized
- if you do not have the privilege to delete the tag.
Unauthenticated
- if the user can not be authenticated.
tagId
- The identifier of the input tag.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Tag
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.util.List<java.lang.String> list()
List
will only contain
tags for which you have read privileges.
Synchronous method overload. Result of the invocation will be reported as a method return value.
List
of resource identifiers for the tags in the system.
The return value will contain identifiers for the resource type: com.vmware.cis.tagging.Tag
.java.util.List<java.lang.String> list(InvocationConfig invocationConfig)
List
will only contain
tags for which you have read privileges.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.List
of resource identifiers for the tags in the system.
The return value will contain identifiers for the resource type: com.vmware.cis.tagging.Tag
.void list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
List
will only contain
tags for which you have read privileges.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The List
of resource identifiers for the tags in the system.
The return value will contain identifiers for the resource type: com.vmware.cis.tagging.Tag
.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback, InvocationConfig invocationConfig)
List
will only contain
tags for which you have read privileges.
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 resource identifiers for the tags in the system.
The return value will contain identifiers for the resource type: com.vmware.cis.tagging.Tag
.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.util.List<java.lang.String> listUsedTags(java.lang.String usedByEntity)
usedByEntity
is part of the TagModel.getUsedBy()
subscribers Set
. To
invoke this method, you need the read privilege on the individual tags.
Synchronous method overload. Result of the invocation will be reported as a method return value.
usedByEntity
- The field on which the results will be filtered.List
of resource identifiers for the tags in the system
that are used by usedByEntity
.
The return value will contain identifiers for the resource type: com.vmware.cis.tagging.Tag
.java.util.List<java.lang.String> listUsedTags(java.lang.String usedByEntity, InvocationConfig invocationConfig)
usedByEntity
is part of the TagModel.getUsedBy()
subscribers Set
. To
invoke this method, you need the read privilege on the individual tags.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
usedByEntity
- The field on which the results will be filtered.invocationConfig
- Configuration for the method invocation.List
of resource identifiers for the tags in the system
that are used by usedByEntity
.
The return value will contain identifiers for the resource type: com.vmware.cis.tagging.Tag
.void listUsedTags(java.lang.String usedByEntity, AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
usedByEntity
is part of the TagModel.getUsedBy()
subscribers Set
. To
invoke this method, you need the read privilege on the individual tags.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The List
of resource identifiers for the tags in the system
that are used by usedByEntity
.
The return value will contain identifiers for the resource type: com.vmware.cis.tagging.Tag
.
usedByEntity
- The field on which the results will be filtered.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void listUsedTags(java.lang.String usedByEntity, AsyncCallback<java.util.List<java.lang.String>> asyncCallback, InvocationConfig invocationConfig)
usedByEntity
is part of the TagModel.getUsedBy()
subscribers Set
. To
invoke this method, you need the read privilege on the individual tags.
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 resource identifiers for the tags in the system
that are used by usedByEntity
.
The return value will contain identifiers for the resource type: com.vmware.cis.tagging.Tag
.
usedByEntity
- The field on which the results will be filtered.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.util.List<java.lang.String> listTagsForCategory(java.lang.String categoryId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.List
of resource identifiers for the tags in the given
input category.
The return value will contain identifiers for the resource type: com.vmware.cis.tagging.Tag
.NotFound
- if the category for the given categoryId
does not exist in the system.Unauthorized
- if you do not have the privilege to read the category.java.util.List<java.lang.String> listTagsForCategory(java.lang.String categoryId, 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.
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.invocationConfig
- Configuration for the method invocation.List
of resource identifiers for the tags in the given
input category.
The return value will contain identifiers for the resource type: com.vmware.cis.tagging.Tag
.NotFound
- if the category for the given categoryId
does not exist in the system.Unauthorized
- if you do not have the privilege to read the category.void listTagsForCategory(java.lang.String categoryId, AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The List
of resource identifiers for the tags in the given
input category.
The return value will contain identifiers for the resource type: com.vmware.cis.tagging.Tag
.
Operation Errors:
NotFound
- if the category for the given categoryId
does not exist in the system.
Unauthorized
- if you do not have the privilege to read the category.
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void listTagsForCategory(java.lang.String categoryId, AsyncCallback<java.util.List<java.lang.String>> 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:
The List
of resource identifiers for the tags in the given
input category.
The return value will contain identifiers for the resource type: com.vmware.cis.tagging.Tag
.
Operation Errors:
NotFound
- if the category for the given categoryId
does not exist in the system.
Unauthorized
- if you do not have the privilege to read the category.
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void addToUsedBy(java.lang.String tagId, java.lang.String usedByEntity)
usedByEntity
to the TagModel.getUsedBy()
subscribers Set
. If
the usedByEntity
is already in the Set
, then this
becomes a no-op. To invoke this method, you need the modify TagModel.getUsedBy()
privilege on the tag.
Synchronous method overload. Result of the invocation will be reported as a method return value.
tagId
- The identifier of the input tag.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Tag
.usedByEntity
- The name of the user to be added to the TagModel.getUsedBy()
Set
.NotFound
- if the tag for the given tagId
does not exist in the system.Unauthorized
- if you do not have the privilege to add an entity to the TagModel.getUsedBy()
field.void addToUsedBy(java.lang.String tagId, java.lang.String usedByEntity, InvocationConfig invocationConfig)
usedByEntity
to the TagModel.getUsedBy()
subscribers Set
. If
the usedByEntity
is already in the Set
, then this
becomes a no-op. To invoke this method, you need the modify TagModel.getUsedBy()
privilege on the tag.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
tagId
- The identifier of the input tag.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Tag
.usedByEntity
- The name of the user to be added to the TagModel.getUsedBy()
Set
.invocationConfig
- Configuration for the method invocation.NotFound
- if the tag for the given tagId
does not exist in the system.Unauthorized
- if you do not have the privilege to add an entity to the TagModel.getUsedBy()
field.void addToUsedBy(java.lang.String tagId, java.lang.String usedByEntity, AsyncCallback<java.lang.Void> asyncCallback)
usedByEntity
to the TagModel.getUsedBy()
subscribers Set
. If
the usedByEntity
is already in the Set
, then this
becomes a no-op. To invoke this method, you need the modify TagModel.getUsedBy()
privilege on the tag.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
NotFound
- if the tag for the given tagId
does not exist in the system.
Unauthorized
- if you do not have the privilege to add an entity to the TagModel.getUsedBy()
field.
tagId
- The identifier of the input tag.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Tag
.usedByEntity
- The name of the user to be added to the TagModel.getUsedBy()
Set
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void addToUsedBy(java.lang.String tagId, java.lang.String usedByEntity, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
usedByEntity
to the TagModel.getUsedBy()
subscribers Set
. If
the usedByEntity
is already in the Set
, then this
becomes a no-op. To invoke this method, you need the modify TagModel.getUsedBy()
privilege on the tag.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
NotFound
- if the tag for the given tagId
does not exist in the system.
Unauthorized
- if you do not have the privilege to add an entity to the TagModel.getUsedBy()
field.
tagId
- The identifier of the input tag.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Tag
.usedByEntity
- The name of the user to be added to the TagModel.getUsedBy()
Set
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void removeFromUsedBy(java.lang.String tagId, java.lang.String usedByEntity)
usedByEntity
from the TagModel.getUsedBy()
subscribers set. If the usedByEntity
is not using this tag, then this becomes a no-op. To invoke this
method, you need modify TagModel.getUsedBy()
privilege on the tag.
Synchronous method overload. Result of the invocation will be reported as a method return value.
tagId
- The identifier of the input tag.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Tag
.usedByEntity
- The name of the user to be removed from the TagModel.getUsedBy()
Set
.NotFound
- if the tag for the given tagId
does not exist in the system.Unauthorized
- if you do not have the privilege to remove an entity from the TagModel.getUsedBy()
field.void removeFromUsedBy(java.lang.String tagId, java.lang.String usedByEntity, InvocationConfig invocationConfig)
usedByEntity
from the TagModel.getUsedBy()
subscribers set. If the usedByEntity
is not using this tag, then this becomes a no-op. To invoke this
method, you need modify TagModel.getUsedBy()
privilege on the tag.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
tagId
- The identifier of the input tag.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Tag
.usedByEntity
- The name of the user to be removed from the TagModel.getUsedBy()
Set
.invocationConfig
- Configuration for the method invocation.NotFound
- if the tag for the given tagId
does not exist in the system.Unauthorized
- if you do not have the privilege to remove an entity from the TagModel.getUsedBy()
field.void removeFromUsedBy(java.lang.String tagId, java.lang.String usedByEntity, AsyncCallback<java.lang.Void> asyncCallback)
usedByEntity
from the TagModel.getUsedBy()
subscribers set. If the usedByEntity
is not using this tag, then this becomes a no-op. To invoke this
method, you need modify TagModel.getUsedBy()
privilege on the tag.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
NotFound
- if the tag for the given tagId
does not exist in the system.
Unauthorized
- if you do not have the privilege to remove an entity from the TagModel.getUsedBy()
field.
tagId
- The identifier of the input tag.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Tag
.usedByEntity
- The name of the user to be removed from the TagModel.getUsedBy()
Set
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void removeFromUsedBy(java.lang.String tagId, java.lang.String usedByEntity, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
usedByEntity
from the TagModel.getUsedBy()
subscribers set. If the usedByEntity
is not using this tag, then this becomes a no-op. To invoke this
method, you need modify TagModel.getUsedBy()
privilege on the tag.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
NotFound
- if the tag for the given tagId
does not exist in the system.
Unauthorized
- if you do not have the privilege to remove an entity from the TagModel.getUsedBy()
field.
tagId
- The identifier of the input tag.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Tag
.usedByEntity
- The name of the user to be removed from the TagModel.getUsedBy()
Set
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void revokePropagatingPermissions(java.lang.String tagId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
tagId
- The identifier of the input tag.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Tag
.NotFound
- if the tag for the given tagId
does not exist in the system.Unauthorized
- if you do not have the privilege to revoke propagating permissions on the tag.void revokePropagatingPermissions(java.lang.String tagId, 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.
tagId
- The identifier of the input tag.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Tag
.invocationConfig
- Configuration for the method invocation.NotFound
- if the tag for the given tagId
does not exist in the system.Unauthorized
- if you do not have the privilege to revoke propagating permissions on the tag.void revokePropagatingPermissions(java.lang.String tagId, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
NotFound
- if the tag for the given tagId
does not exist in the system.
Unauthorized
- if you do not have the privilege to revoke propagating permissions on the tag.
tagId
- The identifier of the input tag.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Tag
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void revokePropagatingPermissions(java.lang.String tagId, AsyncCallback<java.lang.Void> 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.
Operation Errors:
NotFound
- if the tag for the given tagId
does not exist in the system.
Unauthorized
- if you do not have the privilege to revoke propagating permissions on the tag.
tagId
- The identifier of the input tag.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Tag
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.