次の方法で共有


DevTestLabScheduleCollection クラス

定義

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

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

コンストラクター

DevTestLabScheduleCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, DevTestLabScheduleData, CancellationToken)

既存のスケジュールを作成または置き換えます。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}
  • 操作IdSchedules_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, DevTestLabScheduleData, CancellationToken)

既存のスケジュールを作成または置き換えます。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}
  • 操作IdSchedules_CreateOrUpdate
Exists(String, String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}
  • 操作IdSchedules_Get
ExistsAsync(String, String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}
  • 操作IdSchedules_Get
Get(String, String, CancellationToken)

スケジュールを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}
  • 操作IdSchedules_Get
GetAll(String, String, Nullable<Int32>, String, CancellationToken)

特定のラボのスケジュールを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules
  • 操作IdSchedules_List
GetAllAsync(String, String, Nullable<Int32>, String, CancellationToken)

特定のラボのスケジュールを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules
  • 操作IdSchedules_List
GetApplicable(String, CancellationToken)

適用可能なすべてのスケジュールを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}/listApplicable
  • 操作IdSchedules_ListApplicable
GetApplicableAsync(String, CancellationToken)

適用可能なすべてのスケジュールを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}/listApplicable
  • 操作IdSchedules_ListApplicable
GetAsync(String, String, CancellationToken)

スケジュールを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}
  • 操作IdSchedules_Get
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmCollection)

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

IAsyncEnumerable<DevTestLabScheduleResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<DevTestLabScheduleResource>.GetEnumerator()

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

適用対象