Freigeben über


ScalingPlanPersonalScheduleCollection.GetIfExists Methode

Definition

Versucht, Details für diese Ressource vom Dienst abzurufen.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/personalSchedules/{scalingPlanScheduleName}
  • Vorgangs-IdScalingPlanPersonalSchedules_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.DesktopVirtualization.ScalingPlanPersonalScheduleResource> GetIfExists (string scalingPlanScheduleName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.DesktopVirtualization.ScalingPlanPersonalScheduleResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.DesktopVirtualization.ScalingPlanPersonalScheduleResource>
Public Overridable Function GetIfExists (scalingPlanScheduleName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of ScalingPlanPersonalScheduleResource)

Parameter

scalingPlanScheduleName
String

Der Name von ScalingPlanSchedule.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

scalingPlanScheduleName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

scalingPlanScheduleName ist NULL.

Gilt für: