Share via


AppServiceExtensions.GetAppServiceDomains Method

Definition

Overloads

GetAppServiceDomains(ResourceGroupResource)

Gets a collection of AppServiceDomainResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAppServiceDomains() instead.

GetAppServiceDomains(SubscriptionResource, CancellationToken)

Description for Get all domains in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/domains
  • Operation Id: Domains_List
  • Default Api Version: 2024-04-01
  • Resource: AppServiceDomainResource

GetAppServiceDomains(ResourceGroupResource)

Source:
AppServiceExtensions.cs
Source:
AppServiceExtensions.cs

Gets a collection of AppServiceDomainResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAppServiceDomains() instead.

public static Azure.ResourceManager.AppService.AppServiceDomainCollection GetAppServiceDomains (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetAppServiceDomains : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.AppService.AppServiceDomainCollection
<Extension()>
Public Function GetAppServiceDomains (resourceGroupResource As ResourceGroupResource) As AppServiceDomainCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of AppServiceDomainResources and their operations over a AppServiceDomainResource.

Exceptions

resourceGroupResource is null.

Applies to

GetAppServiceDomains(SubscriptionResource, CancellationToken)

Source:
AppServiceExtensions.cs
Source:
AppServiceExtensions.cs

Description for Get all domains in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/domains
  • Operation Id: Domains_List
  • Default Api Version: 2024-04-01
  • Resource: AppServiceDomainResource
public static Azure.Pageable<Azure.ResourceManager.AppService.AppServiceDomainResource> GetAppServiceDomains (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetAppServiceDomains : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.AppServiceDomainResource>
<Extension()>
Public Function GetAppServiceDomains (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AppServiceDomainResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to