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

AppServiceExtensions.GetAppServiceDeploymentLocationsAsync 方法

定义

获取可用地理区域列表以及微型采样的说明

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.Web/deploymentLocations
  • 操作 IdGetSubscriptionDeploymentLocations
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceDeploymentLocations>> GetAppServiceDeploymentLocationsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetAppServiceDeploymentLocationsAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceDeploymentLocations>>
<Extension()>
Public Function GetAppServiceDeploymentLocationsAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppServiceDeploymentLocations))

参数

subscriptionResource
SubscriptionResource

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

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于