次の方法で共有


ComponentCollection クラス

定義

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

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

コンストラクター

ComponentCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

Exists(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/networkFunctions/{networkFunctionName}/components/{componentName}
  • 操作IdComponents_Get
ExistsAsync(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/networkFunctions/{networkFunctionName}/components/{componentName}
  • 操作IdComponents_Get
Get(String, CancellationToken)

指定したアプリケーション インスタンス リソースに関する情報を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/networkFunctions/{networkFunctionName}/components/{componentName}
  • 操作IdComponents_Get
GetAll(CancellationToken)

ネットワーク関数内のすべてのコンポーネント リソースを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/networkFunctions/{networkFunctionName}/components
  • 操作IdComponents_ListByNetworkFunction
GetAllAsync(CancellationToken)

ネットワーク関数内のすべてのコンポーネント リソースを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/networkFunctions/{networkFunctionName}/components
  • 操作IdComponents_ListByNetworkFunction
GetAsync(String, CancellationToken)

指定したアプリケーション インスタンス リソースに関する情報を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/networkFunctions/{networkFunctionName}/components/{componentName}
  • 操作IdComponents_Get
GetIfExists(String, CancellationToken)

サービスからこのリソースの詳細の取得を試みます。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/networkFunctions/{networkFunctionName}/components/{componentName}
  • 操作IdComponents_Get
GetIfExistsAsync(String, CancellationToken)

サービスからこのリソースの詳細の取得を試みます。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/networkFunctions/{networkFunctionName}/components/{componentName}
  • 操作IdComponents_Get
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmCollection)

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

IAsyncEnumerable<ComponentResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<ComponentResource>.GetEnumerator()

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

適用対象