你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AppServiceExtensions.GetAppServiceDomainRecommendationsAsync 方法

定义

基于关键字获取域名建议的说明。

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/listDomainRecommendations
  • 操作IdDomains_ListRecommendations
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)

参数

subscriptionResource
SubscriptionResource

方法 SubscriptionResource 将对其执行的实例。

content
DomainRecommendationSearchContent

搜索域名建议的参数。

cancellationToken
CancellationToken

要使用的取消标记。

返回

的异步集合 AppServiceDomainNameIdentifier ,可能需要多个服务请求进行迭代。

例外

content 为 null。

适用于