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

AvsExtensions.CheckAvsTrialAvailabilityAsync 方法

定义

重载

CheckAvsTrialAvailabilityAsync(SubscriptionResource, AzureLocation, CancellationToken)

按区域返回订阅的试用状态

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkTrialAvailability
  • 操作IdLocations_CheckTrialAvailability
CheckAvsTrialAvailabilityAsync(SubscriptionResource, AzureLocation, AvsSku, CancellationToken)

按区域返回订阅的试用状态

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkTrialAvailability
  • 操作IdLocations_CheckTrialAvailability

CheckAvsTrialAvailabilityAsync(SubscriptionResource, AzureLocation, CancellationToken)

按区域返回订阅的试用状态

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkTrialAvailability
  • 操作IdLocations_CheckTrialAvailability
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Avs.Models.AvsSubscriptionTrialAvailabilityResult>> CheckAvsTrialAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken);
static member CheckAvsTrialAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Avs.Models.AvsSubscriptionTrialAvailabilityResult>>
<Extension()>
Public Function CheckAvsTrialAvailabilityAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, cancellationToken As CancellationToken) As Task(Of Response(Of AvsSubscriptionTrialAvailabilityResult))

参数

subscriptionResource
SubscriptionResource

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

location
AzureLocation

Azure 区域。

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于

CheckAvsTrialAvailabilityAsync(SubscriptionResource, AzureLocation, AvsSku, CancellationToken)

按区域返回订阅的试用状态

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkTrialAvailability
  • 操作IdLocations_CheckTrialAvailability
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Avs.Models.AvsSubscriptionTrialAvailabilityResult>> CheckAvsTrialAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.Avs.Models.AvsSku sku = default, System.Threading.CancellationToken cancellationToken = default);
static member CheckAvsTrialAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.Avs.Models.AvsSku * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Avs.Models.AvsSubscriptionTrialAvailabilityResult>>
<Extension()>
Public Function CheckAvsTrialAvailabilityAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional sku As AvsSku = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AvsSubscriptionTrialAvailabilityResult))

参数

subscriptionResource
SubscriptionResource

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

location
AzureLocation

Azure 区域。

sku
AvsSku

要为试用版可用性检查的 SKU。

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于