Sdílet prostřednictvím


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

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

Exceptions

subscriptionResource or content is null.

Applies to