次の方法で共有


DedicatedHostGroupCollection クラス

定義

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

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

コンストラクター

DedicatedHostGroupCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, DedicatedHostGroupData, CancellationToken)

専用ホスト グループを作成または更新します。 専用ホストと専用ホスト グループの詳細については、[専用ホストのドキュメント] (https://go.microsoft.com/fwlink/?linkid=2082596) を参照してください

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}
  • 操作IdDedicatedHostGroups_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, DedicatedHostGroupData, CancellationToken)

専用ホスト グループを作成または更新します。 専用ホストと専用ホスト グループの詳細については、[専用ホストのドキュメント] (https://go.microsoft.com/fwlink/?linkid=2082596) を参照してください

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}
  • 操作IdDedicatedHostGroups_CreateOrUpdate
Exists(String, Nullable<InstanceViewType>, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}
  • 操作IdDedicatedHostGroups_Get
ExistsAsync(String, Nullable<InstanceViewType>, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}
  • 操作IdDedicatedHostGroups_Get
Get(String, Nullable<InstanceViewType>, CancellationToken)

専用ホスト グループに関する情報を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}
  • 操作IdDedicatedHostGroups_Get
GetAll(CancellationToken)

指定したリソース グループ内のすべての専用ホスト グループを一覧表示します。 応答で nextLink プロパティを使用して、専用ホスト グループの次のページを取得します。

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

指定したリソース グループ内のすべての専用ホスト グループを一覧表示します。 応答で nextLink プロパティを使用して、専用ホスト グループの次のページを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups
  • 操作IdDedicatedHostGroups_ListByResourceGroup
GetAsync(String, Nullable<InstanceViewType>, CancellationToken)

専用ホスト グループに関する情報を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}
  • 操作IdDedicatedHostGroups_Get
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmCollection)

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

IAsyncEnumerable<DedicatedHostGroupResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<DedicatedHostGroupResource>.GetEnumerator()

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

適用対象