ManagementLocksOperationsExtensions.ListAtSubscriptionLevelAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.