Freigeben über


TagOperations Interface

Implements

public interface TagOperations
extends HasManager<ResourceManager>

Entry point to tag management API.

Method Summary

Modifier and Type Method and Description
abstract TagResource updateTags(Resource resource, Map<String,String> tags)

Updates the tags of the Azure resource.

abstract TagResource updateTags(String resourceId, Map<String,String> tags)

Updates the tags of the Azure resource.

abstract Mono<TagResource> updateTagsAsync(Resource resource, Map<String,String> tags)

Updates the tags of the Azure resource.

abstract Mono<TagResource> updateTagsAsync(String resourceId, Map<String,String> tags)

Updates the tags of the Azure resource.

Method Details

updateTags

public abstract TagResource updateTags(Resource resource, Map tags)

Updates the tags of the Azure resource.

Parameters:

resource - the Azure resource to have its tags updated
tags - the tags

Returns:

the resource with updated tags

updateTags

public abstract TagResource updateTags(String resourceId, Map tags)

Updates the tags of the Azure resource.

Parameters:

resourceId - the ID of the Azure resource to have its tags updated
tags - the tags

Returns:

the resource with updated tags

updateTagsAsync

public abstract Mono updateTagsAsync(Resource resource, Map tags)

Updates the tags of the Azure resource.

Parameters:

resource - the Azure resource to have its tags updated
tags - the tags

Returns:

the resource with updated tags

updateTagsAsync

public abstract Mono updateTagsAsync(String resourceId, Map tags)

Updates the tags of the Azure resource.

Parameters:

resourceId - the ID of the Azure resource to have its tags updated
tags - the tags

Returns:

the resource with updated tags

Applies to