MockableAppServiceSubscriptionResource.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: 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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET