Freigeben über


AutomationWebhookCollection Klasse

Definition

Eine Klasse, die eine Auflistung von und deren AutomationWebhookResource Vorgänge darstellt. Jedes AutomationWebhookResource in der Auflistung gehört zum gleichen instance von AutomationAccountResource. Um eine AutomationWebhookCollection instance rufen Sie die GetAutomationWebhooks-Methode aus einer instance von aufAutomationAccountResource.

public class AutomationWebhookCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Automation.AutomationWebhookResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Automation.AutomationWebhookResource>
type AutomationWebhookCollection = class
    inherit ArmCollection
    interface seq<AutomationWebhookResource>
    interface IEnumerable
    interface IAsyncEnumerable<AutomationWebhookResource>
Public Class AutomationWebhookCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of AutomationWebhookResource), IEnumerable(Of AutomationWebhookResource)
Vererbung
AutomationWebhookCollection
Implementiert

Konstruktoren

AutomationWebhookCollection()

Initialisiert eine neue instance der -Klasse für die AutomationWebhookCollection Simulation.

Eigenschaften

Client

Ruft den ArmClient ab, aus dem dieser Ressourcenclient erstellt wurde.

(Geerbt von ArmCollection)
Diagnostics

Ruft die Diagnoseoptionen für diesen Ressourcenclient ab.

(Geerbt von ArmCollection)
Endpoint

Ruft den Basis-URI für diesen Ressourcenclient ab.

(Geerbt von ArmCollection)
Id

Ruft den Ressourcenbezeichner ab.

(Geerbt von ArmCollection)
Pipeline

Ruft die Pipeline für diesen Ressourcenclient ab.

(Geerbt von ArmCollection)

Methoden

CreateOrUpdate(WaitUntil, String, AutomationWebhookCreateOrUpdateContent, CancellationToken)

Erstellen Sie den Webhook, der durch den Namen des Webhooks identifiziert wird.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks/{webhookName}
  • Vorgangs-IdWebhook_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, AutomationWebhookCreateOrUpdateContent, CancellationToken)

Erstellen Sie den Webhook, der durch den Namen des Webhooks identifiziert wird.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks/{webhookName}
  • Vorgangs-IdWebhook_CreateOrUpdate
Exists(String, CancellationToken)

Überprüft, ob die Ressource in Azure vorhanden ist.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks/{webhookName}
  • Vorgangs-IdWebhook_Get
ExistsAsync(String, CancellationToken)

Überprüft, ob die Ressource in Azure vorhanden ist.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks/{webhookName}
  • Vorgangs-IdWebhook_Get
Get(String, CancellationToken)

Rufen Sie den Webhook ab, der durch den Namen des Webhooks identifiziert wird.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks/{webhookName}
  • Vorgangs-IdWebhook_Get
GetAll(String, CancellationToken)

Ruft eine Liste von Webhooks ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks
  • Vorgangs-IdWebhook_ListByAutomationAccount
GetAllAsync(String, CancellationToken)

Ruft eine Liste von Webhooks ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks
  • Vorgangs-IdWebhook_ListByAutomationAccount
GetAsync(String, CancellationToken)

Rufen Sie den Webhook ab, der durch den Namen des Webhooks identifiziert wird.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks/{webhookName}
  • Vorgangs-IdWebhook_Get
TryGetApiVersion(ResourceType, String)

Ruft die API-Version außer Kraft, wenn sie für die aktuellen Clientoptionen festgelegt wurde.

(Geerbt von ArmCollection)

Explizite Schnittstellenimplementierungen

IAsyncEnumerable<AutomationWebhookResource>.GetAsyncEnumerator(CancellationToken)

Gibt einen Enumerator zurück, der die Sammlung asynchron durchläuft.

IEnumerable.GetEnumerator()

Gibt einen Enumerator zurück, der eine Auflistung durchläuft.

IEnumerable<AutomationWebhookResource>.GetEnumerator()

Gibt einen Enumerator zurück, der die Auflistung durchläuft.

Gilt für: