Share via


ManagementLockCollection.GetAll(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.Pageable<Azure.ResourceManager.Resources.ManagementLockResource> GetAll (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Resources.ManagementLockResource>
override this.GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Resources.ManagementLockResource>
Public Overridable Function GetAll (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ManagementLockResource)

Parameters

filter
String

The filter to apply on the operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to