Dela via


StaticSitesOperationsExtensions.GetStaticSiteCustomDomainAsync Method

Definition

Gets an existing custom domain for a particular static site.

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

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 resource to search in.

domainName
String

The custom domain name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Gets an existing custom domain for a particular static site.

Applies to