Freigeben über


DdosProtectionPlanCollection Klasse

Definition

Eine Klasse, die eine Auflistung von DdosProtectionPlanResource und deren Vorgänge darstellt. Jedes DdosProtectionPlanResource in der Auflistung gehört zum gleichen instance von ResourceGroupResource. Um einen DdosProtectionPlanCollection instance rufen Sie die GetDdosProtectionPlans-Methode aus einer instance von aufResourceGroupResource.

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

Konstruktoren

DdosProtectionPlanCollection()

Initialisiert eine neue instance der DdosProtectionPlanCollection -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, DdosProtectionPlanData, CancellationToken)

Erstellt oder aktualisiert einen DDoS-Schutzplan.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}
  • Vorgang IdDdosProtectionPlans_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, DdosProtectionPlanData, CancellationToken)

Erstellt oder aktualisiert einen DDoS-Schutzplan.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}
  • Vorgang IdDdosProtectionPlans_CreateOrUpdate
Exists(String, CancellationToken)

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

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}
  • Vorgang IdDdosProtectionPlans_Get
ExistsAsync(String, CancellationToken)

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

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}
  • Vorgang IdDdosProtectionPlans_Get
Get(String, CancellationToken)

Ruft Informationen zum angegebenen DDoS-Schutzplan ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}
  • Vorgang IdDdosProtectionPlans_Get
GetAll(CancellationToken)

Ruft alle DDoS-Schutzpläne in einer Ressourcengruppe ab.

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans
  • Vorgang IdDdosProtectionPlans_ListByResourceGroup
GetAllAsync(CancellationToken)

Ruft alle DDoS-Schutzpläne in einer Ressourcengruppe ab.

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans
  • Vorgang IdDdosProtectionPlans_ListByResourceGroup
GetAsync(String, CancellationToken)

Ruft Informationen zum angegebenen DDoS-Schutzplan ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}
  • Vorgang IdDdosProtectionPlans_Get
GetIfExists(String, CancellationToken)

Versucht, Details für diese Ressource aus dem Dienst abzurufen.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}
  • Vorgang IdDdosProtectionPlans_Get
GetIfExistsAsync(String, CancellationToken)

Versucht, Details für diese Ressource aus dem Dienst abzurufen.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}
  • Vorgang IdDdosProtectionPlans_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<DdosProtectionPlanResource>.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<DdosProtectionPlanResource>.GetEnumerator()

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

Gilt für: