Sdílet prostřednictvím


AppServiceExtensions.GetAllSiteIdentifierDataAsync Method

Definition

Description for List all apps that are assigned to a hostname.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Web/listSitesAssignedToHostName
  • Operation Id: ListSiteIdentifiersAssignedToHostName
public static Azure.AsyncPageable<Azure.ResourceManager.AppService.AppServiceIdentifierData> GetAllSiteIdentifierDataAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.AppService.Models.AppServiceDomainNameIdentifier nameIdentifier, System.Threading.CancellationToken cancellationToken = default);
static member GetAllSiteIdentifierDataAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.AppService.Models.AppServiceDomainNameIdentifier * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.AppServiceIdentifierData>
<Extension()>
Public Function GetAllSiteIdentifierDataAsync (subscriptionResource As SubscriptionResource, nameIdentifier As AppServiceDomainNameIdentifier, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AppServiceIdentifierData)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

nameIdentifier
AppServiceDomainNameIdentifier

Hostname information.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of AppServiceIdentifierData that may take multiple service requests to iterate over.

Exceptions

nameIdentifier is null.

Applies to