Share via


MockableAppServiceSubscriptionResource.GetAppServiceDomainsAsync Method

Definition

Description for Get all domains in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/domains
  • Operation Id: Domains_List
  • Default Api Version: 2023-12-01
  • Resource: AppServiceDomainResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.AppServiceDomainResource> GetAppServiceDomainsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAppServiceDomainsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.AppServiceDomainResource>
override this.GetAppServiceDomainsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.AppServiceDomainResource>
Public Overridable Function GetAppServiceDomainsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AppServiceDomainResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to