次の方法で共有


DdosProtectionPlanCollection クラス

定義

のコレクション DdosProtectionPlanResource とその操作を表すクラス。 コレクション内の各 DdosProtectionPlanResource は、 の同じインスタンス ResourceGroupResourceに属します。 インスタンスを DdosProtectionPlanCollection 取得するには、 のインスタンス ResourceGroupResourceから GetDdosProtectionPlans メソッドを呼び出します。

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)
継承
DdosProtectionPlanCollection
実装

コンストラクター

DdosProtectionPlanCollection()

モック作成のために クラスの DdosProtectionPlanCollection 新しいインスタンスを初期化します。

プロパティ

Client

このリソース クライアントの ArmClient 作成元を取得します。

(継承元 ArmCollection)
Diagnostics

このリソース クライアントの診断オプションを取得します。

(継承元 ArmCollection)
Endpoint

このリソース クライアントのベース URI を取得します。

(継承元 ArmCollection)
Id

リソース識別子を取得します。

(継承元 ArmCollection)
Pipeline

このリソース クライアントのパイプラインを取得します。

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, DdosProtectionPlanData, CancellationToken)

DDoS 保護プランを作成または更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}
  • 操作IdDdosProtectionPlans_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, DdosProtectionPlanData, CancellationToken)

DDoS 保護プランを作成または更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}
  • 操作IdDdosProtectionPlans_CreateOrUpdate
Exists(String, CancellationToken)

リソースが Azure に存在するかどうかを確認します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}
  • 操作IdDdosProtectionPlans_Get
ExistsAsync(String, CancellationToken)

リソースが Azure に存在するかどうかを確認します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}
  • 操作IdDdosProtectionPlans_Get
Get(String, CancellationToken)

指定した DDoS 保護プランに関する情報を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}
  • 操作IdDdosProtectionPlans_Get
GetAll(CancellationToken)

リソース グループ内のすべての DDoS 保護プランを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans
  • 操作IdDdosProtectionPlans_ListByResourceGroup
GetAllAsync(CancellationToken)

リソース グループ内のすべての DDoS 保護プランを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans
  • 操作IdDdosProtectionPlans_ListByResourceGroup
GetAsync(String, CancellationToken)

指定した DDoS 保護プランに関する情報を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}
  • 操作IdDdosProtectionPlans_Get
GetIfExists(String, CancellationToken)

サービスからこのリソースの詳細を取得しようとします。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}
  • 操作IdDdosProtectionPlans_Get
GetIfExistsAsync(String, CancellationToken)

サービスからこのリソースの詳細を取得しようとします。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}
  • 操作IdDdosProtectionPlans_Get
TryGetApiVersion(ResourceType, String)

現在のクライアント オプションに対して設定されている場合は、API バージョンのオーバーライドを取得します。

(継承元 ArmCollection)

明示的なインターフェイスの実装

IAsyncEnumerable<DdosProtectionPlanResource>.GetAsyncEnumerator(CancellationToken)

コレクションを非同期に反復処理する列挙子を返します。

IEnumerable.GetEnumerator()

コレクションを反復処理する列挙子を返します。

IEnumerable<DdosProtectionPlanResource>.GetEnumerator()

コレクションを反復処理する列挙子を返します。

適用対象