TagTypes.CreateSpec, TagTypes.UpdateSpec
Constructor and Description |
---|
TagStub(ApiProvider apiProvider,
StubConfigurationBase config) |
TagStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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.
|
public TagStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public TagStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.lang.String create(TagTypes.CreateSpec createSpec)
Tag
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.lang.String create(TagTypes.CreateSpec createSpec, InvocationConfig invocationConfig)
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.
public void create(TagTypes.CreateSpec createSpec, AsyncCallback<java.lang.String> asyncCallback)
Tag
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation 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.
public void create(TagTypes.CreateSpec createSpec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
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 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.
public TagModel get(java.lang.String tagId)
Tag
Synchronous method overload. Result of the invocation will be reported as a method return value.
public TagModel get(java.lang.String tagId, InvocationConfig invocationConfig)
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.
public void get(java.lang.String tagId, AsyncCallback<TagModel> asyncCallback)
Tag
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation 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.
public void get(java.lang.String tagId, AsyncCallback<TagModel> asyncCallback, InvocationConfig invocationConfig)
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 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.
get
in interface 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.public void update(java.lang.String tagId, TagTypes.UpdateSpec updateSpec)
Tag
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void update(java.lang.String tagId, TagTypes.UpdateSpec updateSpec, InvocationConfig invocationConfig)
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.
public void update(java.lang.String tagId, TagTypes.UpdateSpec updateSpec, AsyncCallback<java.lang.Void> asyncCallback)
Tag
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.
update
in interface 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.public void update(java.lang.String tagId, TagTypes.UpdateSpec updateSpec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
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:
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.
update
in interface 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.public void delete(java.lang.String tagId)
Tag
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(java.lang.String tagId, InvocationConfig invocationConfig)
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.
public void delete(java.lang.String tagId, AsyncCallback<java.lang.Void> asyncCallback)
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 delete the tag.
public void delete(java.lang.String tagId, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
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 delete the tag.
delete
in interface 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.public java.util.List<java.lang.String> list()
Tag
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.
public java.util.List<java.lang.String> list(InvocationConfig invocationConfig)
Tag
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.
public void list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Tag
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
.
Operation 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
.
public void list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback, InvocationConfig invocationConfig)
Tag
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.
Operation 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
.
public java.util.List<java.lang.String> listUsedTags(java.lang.String usedByEntity)
Tag
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.
listUsedTags
in interface Tag
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
.public java.util.List<java.lang.String> listUsedTags(java.lang.String usedByEntity, InvocationConfig invocationConfig)
Tag
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.
listUsedTags
in interface Tag
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
.public void listUsedTags(java.lang.String usedByEntity, AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Tag
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
.
Operation 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
.
listUsedTags
in interface Tag
usedByEntity
- The field on which the results will be filtered.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void listUsedTags(java.lang.String usedByEntity, AsyncCallback<java.util.List<java.lang.String>> asyncCallback, InvocationConfig invocationConfig)
Tag
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.
Operation 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
.
listUsedTags
in interface 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.public java.util.List<java.lang.String> listTagsForCategory(java.lang.String categoryId)
Tag
Synchronous method overload. Result of the invocation will be reported as a method return value.
listTagsForCategory
in interface Tag
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
.public java.util.List<java.lang.String> listTagsForCategory(java.lang.String categoryId, InvocationConfig invocationConfig)
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.
listTagsForCategory
in interface Tag
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
.public void listTagsForCategory(java.lang.String categoryId, AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Tag
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation 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.
listTagsForCategory
in interface Tag
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.public void listTagsForCategory(java.lang.String categoryId, AsyncCallback<java.util.List<java.lang.String>> asyncCallback, InvocationConfig invocationConfig)
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 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.
listTagsForCategory
in interface Tag
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.public void addToUsedBy(java.lang.String tagId, java.lang.String usedByEntity)
Tag
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.
addToUsedBy
in interface Tag
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
.public void addToUsedBy(java.lang.String tagId, java.lang.String usedByEntity, InvocationConfig invocationConfig)
Tag
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.
addToUsedBy
in interface Tag
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.public void addToUsedBy(java.lang.String tagId, java.lang.String usedByEntity, AsyncCallback<java.lang.Void> asyncCallback)
Tag
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.
addToUsedBy
in interface Tag
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.public void addToUsedBy(java.lang.String tagId, java.lang.String usedByEntity, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Tag
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.
addToUsedBy
in interface Tag
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.public void removeFromUsedBy(java.lang.String tagId, java.lang.String usedByEntity)
Tag
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.
removeFromUsedBy
in interface Tag
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
.public void removeFromUsedBy(java.lang.String tagId, java.lang.String usedByEntity, InvocationConfig invocationConfig)
Tag
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.
removeFromUsedBy
in interface Tag
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.public void removeFromUsedBy(java.lang.String tagId, java.lang.String usedByEntity, AsyncCallback<java.lang.Void> asyncCallback)
Tag
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.
removeFromUsedBy
in interface Tag
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.public void removeFromUsedBy(java.lang.String tagId, java.lang.String usedByEntity, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Tag
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.
removeFromUsedBy
in interface Tag
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.public void revokePropagatingPermissions(java.lang.String tagId)
Tag
Synchronous method overload. Result of the invocation will be reported as a method return value.
revokePropagatingPermissions
in interface Tag
tagId
- The identifier of the input tag.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Tag
.public void revokePropagatingPermissions(java.lang.String tagId, InvocationConfig invocationConfig)
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.
revokePropagatingPermissions
in interface Tag
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.public void revokePropagatingPermissions(java.lang.String tagId, AsyncCallback<java.lang.Void> asyncCallback)
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 revoke propagating permissions on the tag.
revokePropagatingPermissions
in interface 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.public void revokePropagatingPermissions(java.lang.String tagId, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
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 revoke propagating permissions on the tag.
revokePropagatingPermissions
in interface 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.