AppServiceExtensions.GetAppServiceDomainRecommendationsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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
Azure SDK for .NET