Share via


AppServiceExtensions.GetAppServiceDomainRecommendations Method

Definition

Description for Get domain name recommendations based on keywords.

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

content
DomainRecommendationSearchContent

Search parameters for domain name recommendations.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource or content is null.

Applies to