共用方式為


AppServiceExtensions.GetAllSiteIdentifierData 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.Pageable<Azure.ResourceManager.AppService.AppServiceIdentifierData> GetAllSiteIdentifierData (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.AppService.Models.AppServiceDomainNameIdentifier nameIdentifier, System.Threading.CancellationToken cancellationToken = default);
static member GetAllSiteIdentifierData : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.AppService.Models.AppServiceDomainNameIdentifier * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.AppServiceIdentifierData>
<Extension()>
Public Function GetAllSiteIdentifierData (subscriptionResource As SubscriptionResource, nameIdentifier As AppServiceDomainNameIdentifier, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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

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

Exceptions

nameIdentifier is null.

Applies to