Udostępnij za pośrednictwem


ManagementLockOperationsExtensions.ListAtResourceLevelAsync Method

Definition

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

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