次の方法で共有


ResourceRecommendationBaseCollection クラス

定義

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

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

コンストラクター

ResourceRecommendationBaseCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

Exists(String, CancellationToken)

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

  • Request Path/{resourceUri}/providers/Microsoft.Advisor/recommendations/{recommendationId}
  • 操作IdRecommendations_Get
ExistsAsync(String, CancellationToken)

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

  • Request Path/{resourceUri}/providers/Microsoft.Advisor/recommendations/{recommendationId}
  • 操作IdRecommendations_Get
Get(String, CancellationToken)

キャッシュされた推奨事項の詳細を取得します。

  • Request Path/{resourceUri}/providers/Microsoft.Advisor/recommendations/{recommendationId}
  • 操作IdRecommendations_Get
GetAll(String, Nullable<Int32>, String, CancellationToken)

サブスクリプションのキャッシュされた推奨事項を取得します。 推奨事項は、generateRecommendations を呼び出すことによって生成または計算されます。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Advisor/recommendations
  • 操作IdRecommendations_List
GetAllAsync(String, Nullable<Int32>, String, CancellationToken)

サブスクリプションのキャッシュされた推奨事項を取得します。 推奨事項は、generateRecommendations を呼び出すことによって生成または計算されます。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Advisor/recommendations
  • 操作IdRecommendations_List
GetAsync(String, CancellationToken)

キャッシュされた推奨事項の詳細を取得します。

  • Request Path/{resourceUri}/providers/Microsoft.Advisor/recommendations/{recommendationId}
  • 操作IdRecommendations_Get
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmCollection)

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

IAsyncEnumerable<ResourceRecommendationBaseResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<ResourceRecommendationBaseResource>.GetEnumerator()

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

適用対象