Udostępnij za pośrednictwem


ScalingPlanResource.GetScalingPlanPooledSchedule Method

Definition

Get a ScalingPlanPooledSchedule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules/{scalingPlanScheduleName}
  • Operation Id: ScalingPlanPooledSchedules_Get
public virtual Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanPooledScheduleResource> GetScalingPlanPooledSchedule (string scalingPlanScheduleName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetScalingPlanPooledSchedule : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanPooledScheduleResource>
override this.GetScalingPlanPooledSchedule : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DesktopVirtualization.ScalingPlanPooledScheduleResource>
Public Overridable Function GetScalingPlanPooledSchedule (scalingPlanScheduleName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ScalingPlanPooledScheduleResource)

Parameters

scalingPlanScheduleName
String

The name of the ScalingPlanSchedule.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

scalingPlanScheduleName is null.

scalingPlanScheduleName is an empty string, and was expected to be non-empty.

Applies to