ManagementLockOperationsExtensions.ListAtResourceLevel Method

Definition

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

public static Microsoft.Azure.Management.Resources.Models.ManagementLockListResult ListAtResourceLevel (this Microsoft.Azure.Management.Resources.IManagementLockOperations operations, string resourceGroupName, Microsoft.Azure.ResourceIdentity identity, Microsoft.Azure.Management.Resources.Models.ManagementLockGetQueryParameter parameters);
static member ListAtResourceLevel : Microsoft.Azure.Management.Resources.IManagementLockOperations * string * Microsoft.Azure.ResourceIdentity * Microsoft.Azure.Management.Resources.Models.ManagementLockGetQueryParameter -> Microsoft.Azure.Management.Resources.Models.ManagementLockListResult
<Extension()>
Public Function ListAtResourceLevel (operations As IManagementLockOperations, resourceGroupName As String, identity As ResourceIdentity, parameters As ManagementLockGetQueryParameter) As ManagementLockListResult

Parameters

operations
IManagementLockOperations

Reference to the Microsoft.Azure.Management.Resources.IManagementLockOperations.

resourceGroupName
String

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

identity
Microsoft.Azure.ResourceIdentity

Required. Resource identity.

parameters
ManagementLockGetQueryParameter

Optional. 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.

Returns

List of management locks.

Applies to