MockableAppServiceSubscriptionResource.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: 2023-12-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.AppServiceDomainNameIdentifier> GetAppServiceDomainRecommendationsAsync (Azure.ResourceManager.AppService.Models.DomainRecommendationSearchContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAppServiceDomainRecommendationsAsync : Azure.ResourceManager.AppService.Models.DomainRecommendationSearchContent * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.AppServiceDomainNameIdentifier>
override this.GetAppServiceDomainRecommendationsAsync : Azure.ResourceManager.AppService.Models.DomainRecommendationSearchContent * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.AppServiceDomainNameIdentifier>
Public Overridable Function GetAppServiceDomainRecommendationsAsync (content As DomainRecommendationSearchContent, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AppServiceDomainNameIdentifier)

Parameters

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

content is null.

Applies to