WebSiteManagementClientExtensions.ValidateAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
驗證是否可以建立資源。
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.ValidateResponseInner> ValidateAsync (this Microsoft.Azure.Management.AppService.Fluent.IWebSiteManagementClient operations, string resourceGroupName, Microsoft.Azure.Management.AppService.Fluent.Models.ValidateRequest validateRequest, System.Threading.CancellationToken cancellationToken = default);
static member ValidateAsync : Microsoft.Azure.Management.AppService.Fluent.IWebSiteManagementClient * string * Microsoft.Azure.Management.AppService.Fluent.Models.ValidateRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.ValidateResponseInner>
<Extension()>
Public Function ValidateAsync (operations As IWebSiteManagementClient, resourceGroupName As String, validateRequest As ValidateRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ValidateResponseInner)
參數
- operations
- IWebSiteManagementClient
這個擴充方法的作業群組。
- resourceGroupName
- String
資源所屬資源群組的名稱。
- validateRequest
- ValidateRequest
要求與要驗證的資源。
- cancellationToken
- CancellationToken
取消語彙基元。
傳回
備註
驗證是否可以建立資源的描述。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應