IWebApps.DeleteByResourceGroupAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從 Azure 刪除資源,並依其名稱和其資源群組加以識別。
public System.Threading.Tasks.Task DeleteByResourceGroupAsync (string resourceGroupName, string name, bool? deleteMetrics = default, bool? deleteEmptyServerFarm = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteByResourceGroupAsync : string * string * Nullable<bool> * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteByResourceGroupAsync (resourceGroupName As String, name As String, Optional deleteMetrics As Nullable(Of Boolean) = Nothing, Optional deleteEmptyServerFarm As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task
參數
- resourceGroupName
- String
資源所屬的群組
- name
- String
資源的名稱
- cancellationToken
- CancellationToken
cancellationToken 取消權杖