Freigeben über


DevTestLabNotificationChannelCollection Klasse

Definition

Eine Klasse, die eine Auflistung von DevTestLabNotificationChannelResource und deren Vorgänge darstellt. Jedes DevTestLabNotificationChannelResource in der Auflistung gehört zum gleichen instance von DevTestLabResource. Um einen DevTestLabNotificationChannelCollection instance rufen Sie die GetDevTestLabNotificationChannels-Methode aus einer instance von DevTestLabResourceauf.

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

Konstruktoren

DevTestLabNotificationChannelCollection()

Initialisiert eine neue instance der DevTestLabNotificationChannelCollection -Klasse zum Mocking.

Eigenschaften

Client

Ruft die Ressource ab, aus ArmClient der 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, DevTestLabNotificationChannelData, CancellationToken)

Erstellen oder ersetzen Sie einen vorhandenen Benachrichtigungskanal.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels/{name}
  • Vorgang IdNotificationChannels_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, DevTestLabNotificationChannelData, CancellationToken)

Erstellen oder ersetzen Sie einen vorhandenen Benachrichtigungskanal.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels/{name}
  • Vorgang IdNotificationChannels_CreateOrUpdate
Exists(String, String, CancellationToken)

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

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels/{name}
  • Vorgang IdNotificationChannels_Get
ExistsAsync(String, String, CancellationToken)

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

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels/{name}
  • Vorgang IdNotificationChannels_Get
Get(String, String, CancellationToken)

Benachrichtigungskanal abrufen.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels/{name}
  • Vorgang IdNotificationChannels_Get
GetAll(String, String, Nullable<Int32>, String, CancellationToken)

Listen Sie Benachrichtigungskanäle in einem bestimmten Lab auf.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels
  • Vorgang IdNotificationChannels_List
GetAllAsync(String, String, Nullable<Int32>, String, CancellationToken)

Listen Sie Benachrichtigungskanäle in einem bestimmten Lab auf.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels
  • Vorgang IdNotificationChannels_List
GetAsync(String, String, CancellationToken)

Benachrichtigungskanal abrufen.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels/{name}
  • Vorgang IdNotificationChannels_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<DevTestLabNotificationChannelResource>.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<DevTestLabNotificationChannelResource>.GetEnumerator()

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

Gilt für: