共用方式為


NetAppExtensions.CheckNetAppFilePathAvailability 方法

定義

檢查檔案路徑是否可用。

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

參數

subscriptionResource
SubscriptionResource

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

location
AzureLocation

Azure 區域的名稱。

content
NetAppFilePathAvailabilityContent

檔案路徑可用性要求。

cancellationToken
CancellationToken

要使用的取消權杖。

傳回

例外狀況

content 為 null。

適用於