IManagementLockOperations.ListAtResourceLevelAsync Method

Definition

Gets all the management locks of a resource or any level below resource.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ManagementLockListResult> ListAtResourceLevelAsync (string resourceGroupName, Microsoft.Azure.ResourceIdentity identity, Microsoft.Azure.Management.Resources.Models.ManagementLockGetQueryParameter parameters, System.Threading.CancellationToken cancellationToken);
abstract member ListAtResourceLevelAsync : string * Microsoft.Azure.ResourceIdentity * Microsoft.Azure.Management.Resources.Models.ManagementLockGetQueryParameter * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ManagementLockListResult>
Public Function ListAtResourceLevelAsync (resourceGroupName As String, identity As ResourceIdentity, parameters As ManagementLockGetQueryParameter, cancellationToken As CancellationToken) As Task(Of ManagementLockListResult)

Parameters

resourceGroupName
String

The name of the resource group. The name is case insensitive.

identity
Microsoft.Azure.ResourceIdentity

Resource identity.

parameters
ManagementLockGetQueryParameter

Query parameters. If empty is passed returns all locks at or below the resource.If atScope() is passed returns all locks at the resource level.

cancellationToken
CancellationToken

Cancellation token.

Returns

List of management locks.

Applies to