Partager via


AutomationWatcherCollection.GetAll(String, CancellationToken) Méthode

Définition

Récupérez une liste d’observateurs.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers
  • IdWatcher_ListByAutomationAccount d’opération
public virtual Azure.Pageable<Azure.ResourceManager.Automation.AutomationWatcherResource> GetAll (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Automation.AutomationWatcherResource>
override this.GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Automation.AutomationWatcherResource>
Public Overridable Function GetAll (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AutomationWatcherResource)

Paramètres

filter
String

Filtre à appliquer à l’opération.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Collection de AutomationWatcherResource qui peut nécessiter plusieurs demandes de service pour itérer.

S’applique à