你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ManagementLockOperationsExtensions.DeleteAtResourceLevelAsync 方法

定义

删除资源或资源下的任何级别的管理锁。

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

参数

operations
IManagementLockOperations

对 Microsoft.Azure.Management.Resources.IManagementLockOperations 的引用。

resourceGroupName
String

必需。 资源组的名称。

identity
Microsoft.Azure.ResourceIdentity

必需。 资源标识。

lockName
String

必需。 锁的名称。

返回

Task<Microsoft.Azure.AzureOperationResponse>

标准服务响应,包括 HTTP 状态代码和请求 ID。

适用于