다음을 통해 공유


TemplateSpecVersionsOperationsExtensions.DeleteAsync Method

Definition

Deletes a specific version from a Template Spec. When operation completes, status code 200 returned without content.

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

Parameters

operations
ITemplateSpecVersionsOperations

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.

templateSpecVersion
String

The version of the Template Spec.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to