Share via


PublishedBlueprintsOperationsExtensions.DeleteAsync Method

Definition

Delete a published version of a blueprint definition.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Blueprint.Models.PublishedBlueprint> DeleteAsync (this Microsoft.Azure.Management.Blueprint.IPublishedBlueprintsOperations operations, string resourceScope, string blueprintName, string versionId, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.Blueprint.IPublishedBlueprintsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Blueprint.Models.PublishedBlueprint>
<Extension()>
Public Function DeleteAsync (operations As IPublishedBlueprintsOperations, resourceScope As String, blueprintName As String, versionId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PublishedBlueprint)

Parameters

operations
IPublishedBlueprintsOperations

The operations group for this extension method.

resourceScope
String

The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').

blueprintName
String

Name of the blueprint definition.

versionId
String

Version of the published blueprint definition.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to