TemplateSpecsOperationsExtensions.DeleteAsync Method

Definition

Deletes a Template Spec by name. When operation completes, status code 200 returned without content.

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.ResourceManager.ITemplateSpecsOperations operations, string resourceGroupName, string templateSpecName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.ResourceManager.ITemplateSpecsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As ITemplateSpecsOperations, resourceGroupName As String, templateSpecName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
ITemplateSpecsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

templateSpecName
String

Name of the Template Spec.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to