Share via


StaticSitesOperationsExtensions.DeleteStaticSiteAsync Method

Definition

Deletes a static site.

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

Parameters

operations
IStaticSitesOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

Name of the static site to delete.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Deletes a static site.

Applies to