次の方法で共有


DevTestLabScheduleCollection.GetApplicable(String, CancellationToken) メソッド

定義

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}/listApplicable
  • 操作IdSchedules_ListApplicable
public virtual Azure.Pageable<Azure.ResourceManager.DevTestLabs.DevTestLabScheduleResource> GetApplicable (string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetApplicable : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DevTestLabs.DevTestLabScheduleResource>
override this.GetApplicable : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DevTestLabs.DevTestLabScheduleResource>
Public Overridable Function GetApplicable (name As String, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DevTestLabScheduleResource)

パラメーター

name
String

スケジュールの名前です。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

反復処理するために複数の DevTestLabScheduleResource サービス要求を受け取る可能性がある のコレクション。

例外

name は空の文字列であり、空でないと予想されていました。

name が null です。

適用対象