Share via


ArmClient.GetTagResource(ResourceIdentifier) Method

Definition

Gets an object representing a TagResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a TagResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.Resources.TagResource GetTagResource (Azure.Core.ResourceIdentifier id);
abstract member GetTagResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Resources.TagResource
override this.GetTagResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Resources.TagResource
Public Overridable Function GetTagResource (id As ResourceIdentifier) As TagResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a TagResource object.

Applies to