Partager via


ScalingPlanPooledScheduleCollection.GetIfExists Méthode

Définition

Tente d’obtenir les détails de cette ressource à partir du service.

  • Chemin de la requête/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules/{scalingPlanScheduleName}
  • IdScalingPlanPooledSchedules_Get d’opération
public virtual Azure.NullableResponse<Azure.ResourceManager.DesktopVirtualization.ScalingPlanPooledScheduleResource> GetIfExists (string scalingPlanScheduleName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.DesktopVirtualization.ScalingPlanPooledScheduleResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.DesktopVirtualization.ScalingPlanPooledScheduleResource>
Public Overridable Function GetIfExists (scalingPlanScheduleName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of ScalingPlanPooledScheduleResource)

Paramètres

scalingPlanScheduleName
String

Nom de l’objet ScalingPlanSchedule.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

scalingPlanScheduleName est une chaîne vide et devait être non vide.

scalingPlanScheduleName a la valeur null.

S’applique à