ManagementLockOperationsExtensions.ListAtResourceGroupLevelAsync Method

Definition

Gets all the management locks of a resource group.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ManagementLockListResult> ListAtResourceGroupLevelAsync (this Microsoft.Azure.Management.Resources.IManagementLockOperations operations, string resourceGroupName, Microsoft.Azure.Management.Resources.Models.ManagementLockGetQueryParameter parameters);
static member ListAtResourceGroupLevelAsync : Microsoft.Azure.Management.Resources.IManagementLockOperations * string * Microsoft.Azure.Management.Resources.Models.ManagementLockGetQueryParameter -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.ManagementLockListResult>
<Extension()>
Public Function ListAtResourceGroupLevelAsync (operations As IManagementLockOperations, resourceGroupName As String, parameters As ManagementLockGetQueryParameter) As Task(Of ManagementLockListResult)

Parameters

operations
IManagementLockOperations

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

resourceGroupName
String

Required. Resource group name.

parameters
ManagementLockGetQueryParameter

Optional. Query parameters. If empty is passed returns all locks at, above or below the resource group.

Returns

List of management locks.

Applies to