TagsOperationsExtensions.DeleteValueAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes a predefined tag value for a predefined tag name.
public static System.Threading.Tasks.Task DeleteValueAsync (this Microsoft.Azure.Management.ResourceManager.ITagsOperations operations, string tagName, string tagValue, System.Threading.CancellationToken cancellationToken = default);
static member DeleteValueAsync : Microsoft.Azure.Management.ResourceManager.ITagsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteValueAsync (operations As ITagsOperations, tagName As String, tagValue As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- operations
- ITagsOperations
The operations group for this extension method.
- tagName
- String
The name of the tag.
- tagValue
- String
The value of the tag to delete.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
This operation allows deleting a value from the list of predefined values for an existing predefined tag name. The value being deleted must not be in use as a tag value for the given tag name for any resource.
Applies to
Azure SDK for .NET