次の方法で共有


SqlServerAdvisorCollection クラス

定義

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

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

コンストラクター

SqlServerAdvisorCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

Exists(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advisors/{advisorName}
  • 操作IdServerAdvisors_Get
ExistsAsync(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advisors/{advisorName}
  • 操作IdServerAdvisors_Get
Get(String, CancellationToken)

サーバー アドバイザーを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advisors/{advisorName}
  • 操作IdServerAdvisors_Get
GetAll(String, CancellationToken)

サーバー アドバイザーの一覧を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advisors
  • 操作IdServerAdvisors_ListByServer
GetAllAsync(String, CancellationToken)

サーバー アドバイザーの一覧を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advisors
  • 操作IdServerAdvisors_ListByServer
GetAsync(String, CancellationToken)

サーバー アドバイザーを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advisors/{advisorName}
  • 操作IdServerAdvisors_Get
GetIfExists(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advisors/{advisorName}
  • 操作IdServerAdvisors_Get
GetIfExistsAsync(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advisors/{advisorName}
  • 操作IdServerAdvisors_Get
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmCollection)

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

IAsyncEnumerable<SqlServerAdvisorResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<SqlServerAdvisorResource>.GetEnumerator()

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

適用対象