Interface TagOperations
-
- All Superinterfaces:
HasManager<ResourceManager>
public interface TagOperations extends HasManager<ResourceManager>
Entry point to tag management API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TagResourceupdateTags(Resource resource, Map<String,String> tags)Updates the tags of the Azure resource.TagResourceupdateTags(String resourceId, Map<String,String> tags)Updates the tags of the Azure resource.Mono<TagResource>updateTagsAsync(Resource resource, Map<String,String> tags)Updates the tags of the Azure resource.Mono<TagResource>updateTagsAsync(String resourceId, Map<String,String> tags)Updates the tags of the Azure resource.-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
manager
-
-
-
-
Method Detail
-
updateTags
TagResource updateTags(Resource resource, Map<String,String> tags)
Updates the tags of the Azure resource.- Parameters:
resource- the Azure resource to have its tags updatedtags- the tags- Returns:
- the resource with updated tags
-
updateTags
TagResource updateTags(String resourceId, Map<String,String> tags)
Updates the tags of the Azure resource.- Parameters:
resourceId- the ID of the Azure resource to have its tags updatedtags- the tags- Returns:
- the resource with updated tags
-
updateTagsAsync
Mono<TagResource> updateTagsAsync(Resource resource, Map<String,String> tags)
Updates the tags of the Azure resource.- Parameters:
resource- the Azure resource to have its tags updatedtags- the tags- Returns:
- the resource with updated tags
-
-