Delen via


TagOperations Interface

Implements

HasManager<com.microsoft.azure.management.resources.implementation.ResourceManager>

public interface TagOperations
extends HasManager<com.microsoft.azure.management.resources.implementation.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 rx.Observable<TagResource> updateTagsAsync(Resource resource, Map<String,String> tags)

Updates the tags of the Azure resource.

abstract rx.Observable<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 Observable 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 Observable 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