Dela via


StaticSitesOperationsExtensions.ResetStaticSiteApiKeyAsync Method

Definition

Resets the api key for an existing static site.

public static System.Threading.Tasks.Task ResetStaticSiteApiKeyAsync (this Microsoft.Azure.Management.WebSites.IStaticSitesOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.WebSites.Models.StaticSiteResetPropertiesARMResource resetPropertiesEnvelope, System.Threading.CancellationToken cancellationToken = default);
static member ResetStaticSiteApiKeyAsync : Microsoft.Azure.Management.WebSites.IStaticSitesOperations * string * string * Microsoft.Azure.Management.WebSites.Models.StaticSiteResetPropertiesARMResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function ResetStaticSiteApiKeyAsync (operations As IStaticSitesOperations, resourceGroupName As String, name As String, resetPropertiesEnvelope As StaticSiteResetPropertiesARMResource, 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.

resetPropertiesEnvelope
StaticSiteResetPropertiesARMResource
cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Resets the api key for an existing static site.

Applies to