Compartir a través de


ScalingPlanPersonalScheduleCollection.GetIfExists Método

Definición

Intenta obtener detalles de este recurso del servicio.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/personalSchedules/{scalingPlanScheduleName}
  • IdScalingPlanPersonalSchedules_Get de operaciones
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)

Parámetros

scalingPlanScheduleName
String

Nombre de ScalingPlanSchedule.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

scalingPlanScheduleName es una cadena vacía y se esperaba que no estuviera vacía.

scalingPlanScheduleName es null.

Se aplica a