Share via


ManagementLocksOperationsExtensions.ListAtSubscriptionLevelAsync 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
CancellationToken

The cancellation token.

Returns

Applies to