Dela via


StaticSitesOperationsExtensions.GetStaticSiteAsync Method

Definition

Gets the details of a static site.

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

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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Gets the details of a static site.

Applies to