次の方法で共有


ResourceOperationsExtensions.DeleteAsync メソッド

定義

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

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (this Microsoft.Azure.Management.Resources.IResourceOperations operations, string resourceGroupName, Microsoft.Azure.ResourceIdentity identity);
static member DeleteAsync : Microsoft.Azure.Management.Resources.IResourceOperations * string * Microsoft.Azure.ResourceIdentity -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function DeleteAsync (operations As IResourceOperations, resourceGroupName As String, identity As ResourceIdentity) As Task(Of AzureOperationResponse)

パラメーター

operations
IResourceOperations

Microsoft.Azure.Management.Resources.IResourceOperations への参照です。

resourceGroupName
String

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

identity
Microsoft.Azure.ResourceIdentity

必須です。 リソースの ID です。

戻り値

Task<Microsoft.Azure.AzureOperationResponse>

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

適用対象