NetAppExtensions.CheckNetAppFilePathAvailabilityAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
檢查檔案路徑是否可用。
- 要求路徑/訂用帳戶/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkFilePathAvailability
- 作業IdNetAppResource_CheckFilePathAvailability
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.Models.NetAppCheckAvailabilityResult>> CheckNetAppFilePathAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.NetApp.Models.NetAppFilePathAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckNetAppFilePathAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.NetApp.Models.NetAppFilePathAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.Models.NetAppCheckAvailabilityResult>>
<Extension()>
Public Function CheckNetAppFilePathAvailabilityAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, content As NetAppFilePathAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetAppCheckAvailabilityResult))
參數
- subscriptionResource
- SubscriptionResource
方法 SubscriptionResource 將對其執行的實例。
- location
- AzureLocation
Azure 區域的名稱。
檔案路徑可用性要求。
- cancellationToken
- CancellationToken
要使用的取消權杖。
傳回
例外狀況
content
為 null。