Interface TagOperations
- All Superinterfaces:
HasManager<ResourceManager>
Entry point to tag management API.
-
Method Summary
Modifier and TypeMethodDescriptionupdateTags(Resource resource, Map<String, String> tags) Updates the tags of the Azure resource.updateTags(String resourceId, Map<String, String> tags) Updates the tags of the Azure resource.updateTagsAsync(Resource resource, Map<String, String> tags) Updates the tags of the Azure resource.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 Details
-
updateTags
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
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
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
-
updateTagsAsync
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
-