ManagementLockCollection.GetAllAsync(String, CancellationToken) Method

Definition

Gets all the management locks for a scope.

  • Request Path: /{scope}/providers/Microsoft.Authorization/locks
  • Operation Id: ManagementLocks_ListByScope
  • Default Api Version: 2020-05-01
  • Resource: ManagementLockResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Resources.ManagementLockResource> GetAllAsync (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Resources.ManagementLockResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Resources.ManagementLockResource>
Public Overridable Function GetAllAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ManagementLockResource)

Parameters

filter
String

The filter to apply on the operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ManagementLockResource that may take multiple service requests to iterate over.

Applies to