Freigeben über


ManagementLockCollection.GetAllAsync(String, CancellationToken) Methode

Definition

Ruft alle Verwaltungssperren für einen Bereich ab.

  • Anforderungspfad/{scope}/providers/Microsoft.Authorization/locks
  • Vorgang IdManagementLocks_ListByScope
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)

Parameter

filter
String

Der Filter, der auf den Vorgang angewendet werden soll.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine asynchrone Sammlung von, bei der ManagementLockResource mehrere Dienstanforderungen zum Durchlaufen verwendet werden können.

Gilt für: