Operations Extensions. Delete Async(ITagsOperations, String, CancellationToken) Method
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 name.
public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.ResourceManager.ITagsOperations operations, string tagName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.ResourceManager.ITagsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()> Public Function DeleteAsync (operations As ITagsOperations, tagName As String, Optional cancellationToken As CancellationToken = Nothing) As Task
The operations group for this extension method.
The name of the tag.
The cancellation token.
This operation allows deleting a name from the list of predefined tag names for the given subscription. The name being deleted must not be in use as a tag name for any resource. All predefined values for the given name must have already been deleted.