次の方法で共有


SqlServerJobTargetGroupCollection クラス

定義

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

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

コンストラクター

SqlServerJobTargetGroupCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, SqlServerJobTargetGroupData, CancellationToken)

ターゲット グループを作成または更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/targetGroups/{targetGroupName}
  • 操作IdJobTargetGroups_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, SqlServerJobTargetGroupData, CancellationToken)

ターゲット グループを作成または更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/targetGroups/{targetGroupName}
  • 操作IdJobTargetGroups_CreateOrUpdate
Exists(String, CancellationToken)

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

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

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

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

ターゲット グループを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/targetGroups/{targetGroupName}
  • 操作IdJobTargetGroups_Get
GetAll(CancellationToken)

エージェント内のすべてのターゲット グループを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/targetGroups
  • 操作IdJobTargetGroups_ListByAgent
GetAllAsync(CancellationToken)

エージェント内のすべてのターゲット グループを取得します。

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

ターゲット グループを取得します。

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

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

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

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

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

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

(継承元 ArmCollection)

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

IAsyncEnumerable<SqlServerJobTargetGroupResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<SqlServerJobTargetGroupResource>.GetEnumerator()

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

適用対象