次の方法で共有


IResourceOperations.DeleteAsync メソッド

定義

リソースとそのすべてのリソースを削除します。

public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (string resourceGroupName, Microsoft.Azure.ResourceIdentity identity, System.Threading.CancellationToken cancellationToken);
abstract member DeleteAsync : string * Microsoft.Azure.ResourceIdentity * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function DeleteAsync (resourceGroupName As String, identity As ResourceIdentity, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

パラメーター

resourceGroupName
String

リソース グループの名前。 名前の大文字と小文字は区別されます。

identity
Microsoft.Azure.ResourceIdentity

リソースの ID です。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

Task<Microsoft.Azure.AzureOperationResponse>

HTTP 状態コードと要求 ID を含む標準のサービス応答。

適用対象