共用方式為


NetAppExtensions.QueryRegionInfoNetAppResourceAsync 方法

定義

提供網路鄰近性和邏輯區域對應資訊的儲存體。

  • 要求路徑/訂用帳戶/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfo
  • 作業IdNetAppResource_QueryRegionInfo
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.Models.NetAppRegionInfo>> QueryRegionInfoNetAppResourceAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
static member QueryRegionInfoNetAppResourceAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.Models.NetAppRegionInfo>>
<Extension()>
Public Function QueryRegionInfoNetAppResourceAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetAppRegionInfo))

參數

subscriptionResource
SubscriptionResource

方法 SubscriptionResource 將對其執行的實例。

location
AzureLocation

Azure 區域的名稱。

cancellationToken
CancellationToken

要使用的取消權杖。

傳回

適用於