次の方法で共有


AgentPoolSnapshotCollection クラス

定義

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

public class AgentPoolSnapshotCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.ContainerService.AgentPoolSnapshotResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerService.AgentPoolSnapshotResource>
type AgentPoolSnapshotCollection = class
    inherit ArmCollection
    interface seq<AgentPoolSnapshotResource>
    interface IEnumerable
    interface IAsyncEnumerable<AgentPoolSnapshotResource>
Public Class AgentPoolSnapshotCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of AgentPoolSnapshotResource), IEnumerable(Of AgentPoolSnapshotResource)
継承
AgentPoolSnapshotCollection
実装

コンストラクター

AgentPoolSnapshotCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, AgentPoolSnapshotData, CancellationToken)

スナップショットを作成または更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/snapshots/{resourceName}
  • 操作IdSnapshots_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, AgentPoolSnapshotData, CancellationToken)

スナップショットを作成または更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/snapshots/{resourceName}
  • 操作IdSnapshots_CreateOrUpdate
Exists(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/snapshots/{resourceName}
  • 操作IdSnapshots_Get
ExistsAsync(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/snapshots/{resourceName}
  • 操作IdSnapshots_Get
Get(String, CancellationToken)

スナップショットを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/snapshots/{resourceName}
  • 操作IdSnapshots_Get
GetAll(CancellationToken)

指定したサブスクリプションとリソース グループ内のスナップショットを一覧表示します。

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

指定したサブスクリプションとリソース グループ内のスナップショットを一覧表示します。

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

スナップショットを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/snapshots/{resourceName}
  • 操作IdSnapshots_Get
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmCollection)

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

IAsyncEnumerable<AgentPoolSnapshotResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<AgentPoolSnapshotResource>.GetEnumerator()

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

適用対象