Share via


StaticSitesOperationsExtensions.GetStaticSitesByResourceGroupAsync Method

Definition

Gets all static sites in the specified resource group.

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

Parameters

operations
IStaticSitesOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Gets all static sites in the specified resource group.

Applies to