ManagementLocksOperationsExtensions.ListAtSubscriptionLevelAsync(IManagementLocksOperations, ODataQuery<ManagementLockObject>, CancellationToken) Method

Definition

Gets all the management locks for a subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Models.ManagementLockObject>> ListAtSubscriptionLevelAsync (this Microsoft.Azure.Management.ResourceManager.IManagementLocksOperations operations, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ResourceManager.Models.ManagementLockObject> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAtSubscriptionLevelAsync : Microsoft.Azure.Management.ResourceManager.IManagementLocksOperations * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ResourceManager.Models.ManagementLockObject> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Models.ManagementLockObject>>
<Extension()>
Public Function ListAtSubscriptionLevelAsync (operations As IManagementLocksOperations, Optional odataQuery As ODataQuery(Of ManagementLockObject) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ManagementLockObject))

Parameters

operations
IManagementLocksOperations

The operations group for this extension method.

odataQuery
ODataQuery<ManagementLockObject>

OData parameters to apply to the operation.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<IPage<ManagementLockObject>>

Applies to