次の方法で共有


MySqlAdvisorCollection クラス

定義

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

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

コンストラクター

MySqlAdvisorCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

Exists(String, CancellationToken)

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

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

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

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

推奨事項アクション アドバイザーを取得します。

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

推奨事項アクション アドバイザーを一覧表示します。

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

推奨事項アクション アドバイザーを一覧表示します。

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

推奨事項アクション アドバイザーを取得します。

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

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

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

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

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

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

(継承元 ArmCollection)

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

IAsyncEnumerable<MySqlAdvisorResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<MySqlAdvisorResource>.GetEnumerator()

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

適用対象