swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector ScalingPlanPooledSchedule API schemes: - https tags: - name: ScalingPlanPooledSchedule paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules/{scalingPlanScheduleName} : get: tags: - ScalingPlanPooledSchedule operationId: microsoftAzureScalingplanpooledschedulesGet description: Get a ScalingPlanPooledSchedule. x-ms-examples: ScalingPlanPooledSchedules_Get: $ref: ./examples/ScalingPlanPooledSchedule_Get.json parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter - $ref: '#/parameters/ScalingPlanNameParameter' - $ref: '#/parameters/ScalingPlanScheduleNameParameter' responses: '200': description: Successfully retrieved ScalingPlanPooledSchedule. schema: $ref: '#/definitions/ScalingPlanPooledSchedule' default: description: Automation error response describing why the operation failed. schema: $ref: '#/definitions/CloudError' summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Desktopvirtualization Scalingplans Scalingplanname Pooledschedules Scalingplanschedulename put: tags: - ScalingPlanPooledSchedule operationId: microsoftAzureScalingplanpooledschedulesCreate description: Create or update a ScalingPlanPooledSchedule. x-ms-examples: ScalingPlanPooledSchedules_Create: $ref: ./examples/ScalingPlanPooledSchedule_Create.json parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter - $ref: '#/parameters/ScalingPlanNameParameter' - $ref: '#/parameters/ScalingPlanScheduleNameParameter' - name: scalingPlanSchedule description: Object containing ScalingPlanPooledSchedule definitions. in: body required: true schema: $ref: '#/definitions/ScalingPlanPooledSchedule' responses: '200': description: Successfully updated ScalingPlanPooledSchedule. schema: $ref: '#/definitions/ScalingPlanPooledSchedule' '201': description: Successfully created ScalingPlanPooledSchedule. schema: $ref: '#/definitions/ScalingPlanPooledSchedule' default: description: Automation error response describing why the operation failed. schema: $ref: '#/definitions/CloudError' summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Desktopvirtualization Scalingplans Scalingplanname Pooledschedules Scalingplanschedulename delete: tags: - ScalingPlanPooledSchedule operationId: microsoftAzureScalingplanpooledschedulesDelete description: Remove a ScalingPlanPooledSchedule. x-ms-examples: ScalingPlanPooledSchedules_Delete: $ref: ./examples/ScalingPlanPooledSchedule_Delete.json parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter - $ref: '#/parameters/ScalingPlanNameParameter' - $ref: '#/parameters/ScalingPlanScheduleNameParameter' responses: '200': description: Successfully removed ScalingPlanPooledSchedule. '204': description: ScalingPlanPooledSchedule does not exist. default: description: Automation error response describing why the operation failed. schema: $ref: '#/definitions/CloudError' summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Desktopvirtualization Scalingplans Scalingplanname Pooledschedules Scalingplanschedulename patch: tags: - ScalingPlanPooledSchedule operationId: microsoftAzureScalingplanpooledschedulesUpdate description: Update a ScalingPlanPooledSchedule. x-ms-examples: ScalingPlanPooledSchedules_Update: $ref: ./examples/ScalingPlanPooledSchedule_Update.json parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter - $ref: '#/parameters/ScalingPlanNameParameter' - $ref: '#/parameters/ScalingPlanScheduleNameParameter' - name: scalingPlanSchedule description: Object containing ScalingPlanPooledSchedule definitions. in: body required: false schema: $ref: '#/definitions/ScalingPlanPooledSchedulePatch' responses: '200': description: Successfully updated ScalingPlanPooledSchedule. schema: $ref: '#/definitions/ScalingPlanPooledSchedule' default: description: Automation error response describing why the operation failed. schema: $ref: '#/definitions/CloudError' summary: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Desktopvirtualization Scalingplans Scalingplanname Pooledschedules Scalingplanschedulename ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules : get: tags: - ScalingPlanPooledSchedule operationId: microsoftAzureScalingplanpooledschedulesList description: List ScalingPlanPooledSchedules. x-ms-examples: ScalingPlanPooledSchedules_List: $ref: ./examples/ScalingPlanPooledSchedule_List.json parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter - $ref: '#/parameters/ScalingPlanNameParameter' - name: pageSize in: query required: false type: integer format: int32 description: Number of items per page. - name: isDescending in: query required: false type: boolean description: Indicates whether the collection is descending. - name: initialSkip in: query required: false type: integer format: int32 description: Initial number of items to skip. responses: '200': description: Successfully retrieved ScalingPlanPooledSchedules. schema: $ref: '#/definitions/ScalingPlanPooledScheduleList' default: description: Automation error response describing why the operation failed. schema: $ref: '#/definitions/CloudError' x-ms-pageable: nextLinkName: nextLink summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Desktopvirtualization Scalingplans Scalingplanname Pooledschedules definitions: ScalingPlanPooledSchedule: type: object description: Represents a ScalingPlanPooledSchedule definition. required: - properties allOf: - $ref: ../../../../../common-types/resource-management/v1/types.json#/definitions/Resource properties: systemData: $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/systemData description: Metadata pertaining to creation and last modification of the resource. properties: description: Detailed properties for ScalingPlanPooledSchedule x-ms-client-flatten: true $ref: '#/definitions/ScalingPlanPooledScheduleProperties' x-nullable: false Time: description: The time for a scaling action to occur. required: - hour - minute type: object properties: hour: format: int32 description: The hour. maximum: 23 minimum: 0 type: integer minute: format: int32 description: The minute. maximum: 59 minimum: 0 type: integer ScalingPlanPooledSchedulePatch: type: object description: ScalingPlanPooledSchedule properties that can be patched. allOf: - $ref: ../../../../../common-types/resource-management/v1/types.json#/definitions/Resource properties: properties: description: Detailed properties for ScalingPlanPooledSchedule x-ms-client-flatten: true $ref: '#/definitions/ScalingPlanPooledScheduleProperties' CloudError: description: Cloud error object. type: object x-ms-external: true properties: error: $ref: '#/definitions/CloudErrorProperties' ScalingPlanPooledScheduleProperties: description: A ScalingPlanPooledSchedule. type: object properties: daysOfWeek: type: array description: Set of days of the week on which this schedule is active. items: enum: - Monday - Tuesday - Wednesday - Thursday - Friday - Saturday - Sunday type: string x-ms-enum: name: DayOfWeek modelAsString: true rampUpStartTime: $ref: '#/definitions/Time' description: Starting time for ramp up period. rampUpLoadBalancingAlgorithm: enum: - BreadthFirst - DepthFirst x-ms-enum: name: SessionHostLoadBalancingAlgorithm modelAsString: true type: string description: Load balancing algorithm for ramp up period. rampUpMinimumHostsPct: type: integer format: int32 minimum: 0 maximum: 100 description: Minimum host percentage for ramp up period. rampUpCapacityThresholdPct: type: integer format: int32 minimum: 1 maximum: 100 description: Capacity threshold for ramp up period. peakStartTime: $ref: '#/definitions/Time' description: Starting time for peak period. peakLoadBalancingAlgorithm: enum: - BreadthFirst - DepthFirst x-ms-enum: name: SessionHostLoadBalancingAlgorithm modelAsString: true type: string description: Load balancing algorithm for peak period. rampDownStartTime: $ref: '#/definitions/Time' description: Starting time for ramp down period. rampDownLoadBalancingAlgorithm: enum: - BreadthFirst - DepthFirst x-ms-enum: name: SessionHostLoadBalancingAlgorithm modelAsString: true type: string description: Load balancing algorithm for ramp down period. rampDownMinimumHostsPct: type: integer format: int32 minimum: 0 maximum: 100 description: Minimum host percentage for ramp down period. rampDownCapacityThresholdPct: type: integer format: int32 minimum: 1 maximum: 100 description: Capacity threshold for ramp down period. rampDownForceLogoffUsers: type: boolean description: Should users be logged off forcefully from hosts. rampDownStopHostsWhen: enum: - ZeroSessions - ZeroActiveSessions x-ms-enum: name: StopHostsWhen modelAsString: true type: string description: Specifies when to stop hosts during ramp down period. rampDownWaitTimeMinutes: type: integer format: int32 description: Number of minutes to wait to stop hosts during ramp down period. rampDownNotificationMessage: type: string description: Notification message for users during ramp down period. offPeakStartTime: $ref: '#/definitions/Time' description: Starting time for off-peak period. offPeakLoadBalancingAlgorithm: enum: - BreadthFirst - DepthFirst x-ms-enum: name: SessionHostLoadBalancingAlgorithm modelAsString: true type: string description: Load balancing algorithm for off-peak period. ScalingPlanPooledScheduleList: type: object title: ScalingPlanPooledScheduleList description: List of ScalingPlanPooledSchedule definitions. properties: value: type: array description: List of ScalingPlanPooledSchedule definitions. items: $ref: '#/definitions/ScalingPlanPooledSchedule' nextLink: type: string readOnly: true description: Link to the next page of results. CloudErrorProperties: description: Cloud error object properties. type: object properties: code: description: Error code type: string message: description: Error message indicating why the operation failed. type: string parameters: ScalingPlanNameParameter: name: scalingPlanName in: path required: true type: string description: The name of the scaling plan. maxLength: 64 minLength: 3 x-ms-parameter-location: method ScalingPlanScheduleNameParameter: name: scalingPlanScheduleName in: path required: true type: string description: The name of the ScalingPlanSchedule maxLength: 64 minLength: 1 x-ms-parameter-location: method x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'