Microsoft.DesktopVirtualization (preview:2024-08-08)

2025/08/15 • 15 updated methods

HostPools_ListRegistrationTokens (updated)
Description Operation to list the RegistrationTokens associated with the HostPool.
Reference Link ¶

⚶ Changes

{
  "#id": "HostPools_ListRegistrationTokens",
  "Description": {
    "new": "Operation to list the RegistrationTokens associated with the HostPool.",
    "old": "Operation to list the RegistrationTokens associated with the HostPool"
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/listRegistrationTokens
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
hostPoolName: string ,
}

⚐ Response (200)

{
value:
[
{
expirationTime: string ,
token: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_ListByHostPool (updated)
Description List private endpoint connections associated with hostpool.
Reference Link ¶

⚶ Changes

{
  "#id": "PrivateEndpointConnections_ListByHostPool",
  "Description": {
    "new": "List private endpoint connections associated with hostpool.",
    "old": "List a PrivateEndpointConnectionWithSystemData"
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/privateEndpointConnections
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
hostPoolName: string ,
pageSize: integer ,
isDescending: boolean ,
initialSkip: integer ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_UpdateByHostPool (updated)
Description Approve or reject a private endpoint connection.
Reference Link ¶

⚶ Changes

{
  "#id": "PrivateEndpointConnections_UpdateByHostPool",
  "Description": {
    "new": "Approve or reject a private endpoint connection.",
    "old": "Create a PrivateEndpointConnectionWithSystemData"
  },
  "$responses": {
    "@removed_324ee82f79314d408478cce68e22bbaf": {
      "201": {
        "Description": "The Private Endpoint Connection resource.",
        "Type": "object",
        "$properties": [
          {
            "#name": "properties",
            "Description": "The resource-specific properties for this resource.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "groupIds",
                "Description": "The group ids for the private endpoint resource.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "privateEndpoint",
                "Description": "The private endpoint resource.",
                "Required": false,
                "Type": "object",
                "$properties": [
                  {
                    "#name": "id",
                    "Description": "The ARM identifier for private endpoint.",
                    "Required": false,
                    "Type": "string"
                  }
                ]
              },
              {
                "#name": "privateLinkServiceConnectionState",
                "Description": "A collection of information about the state of the connection between service consumer and provider.",
                "Required": true,
                "Type": "object",
                "$properties": [
                  {
                    "#name": "status",
                    "Description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.",
                    "Enum": [
                      [
                        "Pending",
                        "Connection is Pending"
                      ],
                      [
                        "Approved",
                        "Connection was Approved"
                      ],
                      [
                        "Rejected",
                        "Connection was rejected"
                      ]
                    ],
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "description",
                    "Description": "The reason for approval/rejection of the connection.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "actionsRequired",
                    "Description": "A message indicating if changes on the service provider require any updates on the consumer.",
                    "Required": false,
                    "Type": "string"
                  }
                ]
              },
              {
                "#name": "provisioningState",
                "Description": "The provisioning state of the private endpoint connection resource.",
                "Enum": [
                  [
                    "Succeeded",
                    "Provisioning was successful"
                  ],
                  [
                    "Creating",
                    "A PrivateEndpointConnection is being created"
                  ],
                  [
                    "Deleting",
                    "A PrivateEndpointConnection is being deleted"
                  ],
                  [
                    "Failed",
                    "Provisioning failed"
                  ]
                ],
                "Required": false,
                "Type": "string"
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/privateEndpointConnections/{privateEndpointConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
hostPoolName: string ,
privateEndpointConnectionName: string ,
connection:
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SessionHostManagementsUpdateStatus_Get (updated)
Description Get a SessionHostManagementUpdateStatus.
Reference Link ¶

⚶ Changes

{
  "#id": "SessionHostManagementsUpdateStatus_Get",
  "$responses": {
    "200": {
      "$properties": [
        {
          "#name": "properties",
          "Description": {
            "new": "Properties bag for sessionHostManagement Update Statuses.",
            "old": "Properties bag to hold custom RP properties for sessionHostManagement Update Statuses."
          },
          "$properties": [
            {
              "#name": "correlationId",
              "Description": {
                "new": "The correlation Id for Log Analytics..",
                "old": "The Log Analytics."
              }
            }
          ]
        }
      ]
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHostManagements/default/sessionHostUpdateStatuses/default
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
hostPoolName: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
percentComplete: number ,
startTime: string ,
endTime: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
status: enum ,
properties:
{
correlationId: string ,
progress:
{
executionStartTime: string ,
totalSessionHosts: integer ,
sessionHostsInProgress: integer ,
sessionHostsCompleted: integer ,
sessionHostsRollbackFailed: integer ,
}
,
scheduledDateTime: string ,
sessionHostManagement:
{
properties:
{
scheduledDateTimeZone: string ,
update:
{
deleteOriginalVm: boolean ,
maxVmsRemoved: integer ,
logOffDelayMinutes: integer ,
logOffMessage: string ,
}
,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SessionHosts_RetryProvisioning (updated)
Description Retry provisioning on a SessionHost.
Reference Link ¶

⚶ Changes

{
  "#id": "SessionHosts_RetryProvisioning",
  "Description": {
    "new": "Retry provisioning on a SessionHost.",
    "old": "A synchronous resource action that returns no content."
  },
  "$responses": {
    "@added_6793f04a474a4df99ecbc2cb66d30ca1": {
      "#status": "200"
    },
    "@removed_494055b3f9e04be5bb4516f1790e42b5": {
      "#status": "204"
    }
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/retryProvisioning
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
hostPoolName: string ,
sessionHostName: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ScalingPlanPersonalSchedules_List (updated)
Description List ScalingPlanPersonalSchedules.
Reference Link ¶

⚶ Changes

{
  "#id": "ScalingPlanPersonalSchedules_List",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "#name": "daysOfWeek",
                "Required": {
                  "new": false,
                  "old": true
                }
              },
              {
                "#name": "rampUpStartTime",
                "Required": {
                  "new": false,
                  "old": true
                }
              },
              {
                "#name": "peakStartTime",
                "Required": {
                  "new": false,
                  "old": true
                }
              },
              {
                "#name": "rampDownStartTime",
                "Required": {
                  "new": false,
                  "old": true
                }
              },
              {
                "#name": "offPeakStartTime",
                "Required": {
                  "new": false,
                  "old": true
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/personalSchedules
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
scalingPlanName: string ,
pageSize: integer ,
isDescending: boolean ,
initialSkip: integer ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
daysOfWeek:
[
string ,
]
,
rampUpStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampUpAutoStartHosts: enum ,
rampUpStartVMOnConnect: enum ,
rampUpActionOnDisconnect: enum ,
rampUpMinutesToWaitOnDisconnect: integer ,
rampUpActionOnLogoff: enum ,
rampUpMinutesToWaitOnLogoff: integer ,
peakStartTime:
{
hour: integer ,
minute: integer ,
}
,
peakStartVMOnConnect: enum ,
peakActionOnDisconnect: enum ,
peakMinutesToWaitOnDisconnect: integer ,
peakActionOnLogoff: enum ,
peakMinutesToWaitOnLogoff: integer ,
rampDownStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampDownStartVMOnConnect: enum ,
rampDownActionOnDisconnect: enum ,
rampDownMinutesToWaitOnDisconnect: integer ,
rampDownActionOnLogoff: enum ,
rampDownMinutesToWaitOnLogoff: integer ,
offPeakStartTime:
{
hour: integer ,
minute: integer ,
}
,
offPeakStartVMOnConnect: enum ,
offPeakActionOnDisconnect: enum ,
offPeakMinutesToWaitOnDisconnect: integer ,
offPeakActionOnLogoff: enum ,
offPeakMinutesToWaitOnLogoff: integer ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ScalingPlanPersonalSchedules_Get (updated)
Description Get a ScalingPlanPersonalSchedule.
Reference Link ¶

⚶ Changes

{
  "#id": "ScalingPlanPersonalSchedules_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "daysOfWeek",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampUpStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "peakStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampDownStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "offPeakStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/personalSchedules/{scalingPlanScheduleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
scalingPlanName: string ,
scalingPlanScheduleName: string ,
}

⚐ Response (200)

{
properties:
{
daysOfWeek:
[
string ,
]
,
rampUpStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampUpAutoStartHosts: enum ,
rampUpStartVMOnConnect: enum ,
rampUpActionOnDisconnect: enum ,
rampUpMinutesToWaitOnDisconnect: integer ,
rampUpActionOnLogoff: enum ,
rampUpMinutesToWaitOnLogoff: integer ,
peakStartTime:
{
hour: integer ,
minute: integer ,
}
,
peakStartVMOnConnect: enum ,
peakActionOnDisconnect: enum ,
peakMinutesToWaitOnDisconnect: integer ,
peakActionOnLogoff: enum ,
peakMinutesToWaitOnLogoff: integer ,
rampDownStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampDownStartVMOnConnect: enum ,
rampDownActionOnDisconnect: enum ,
rampDownMinutesToWaitOnDisconnect: integer ,
rampDownActionOnLogoff: enum ,
rampDownMinutesToWaitOnLogoff: integer ,
offPeakStartTime:
{
hour: integer ,
minute: integer ,
}
,
offPeakStartVMOnConnect: enum ,
offPeakActionOnDisconnect: enum ,
offPeakMinutesToWaitOnDisconnect: integer ,
offPeakActionOnLogoff: enum ,
offPeakMinutesToWaitOnLogoff: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ScalingPlanPersonalSchedules_Create (updated)
Description Create or update a ScalingPlanPersonalSchedule.
Reference Link ¶

⚶ Changes

{
  "#id": "ScalingPlanPersonalSchedules_Create",
  "$parameters": {
    "scalingPlanSchedule": {
      "$properties": {
        "properties": [
          {
            "#name": "daysOfWeek",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampUpStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "peakStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampDownStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "offPeakStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "daysOfWeek",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampUpStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "peakStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampDownStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "offPeakStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          }
        ]
      }
    },
    "201": {
      "$properties": {
        "properties": [
          {
            "#name": "daysOfWeek",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampUpStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "peakStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampDownStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "offPeakStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/personalSchedules/{scalingPlanScheduleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
scalingPlanName: string ,
scalingPlanScheduleName: string ,
scalingPlanSchedule:
{
properties:
{
daysOfWeek:
[
string ,
]
,
rampUpStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampUpAutoStartHosts: enum ,
rampUpStartVMOnConnect: enum ,
rampUpActionOnDisconnect: enum ,
rampUpMinutesToWaitOnDisconnect: integer ,
rampUpActionOnLogoff: enum ,
rampUpMinutesToWaitOnLogoff: integer ,
peakStartTime:
{
hour: integer ,
minute: integer ,
}
,
peakStartVMOnConnect: enum ,
peakActionOnDisconnect: enum ,
peakMinutesToWaitOnDisconnect: integer ,
peakActionOnLogoff: enum ,
peakMinutesToWaitOnLogoff: integer ,
rampDownStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampDownStartVMOnConnect: enum ,
rampDownActionOnDisconnect: enum ,
rampDownMinutesToWaitOnDisconnect: integer ,
rampDownActionOnLogoff: enum ,
rampDownMinutesToWaitOnLogoff: integer ,
offPeakStartTime:
{
hour: integer ,
minute: integer ,
}
,
offPeakStartVMOnConnect: enum ,
offPeakActionOnDisconnect: enum ,
offPeakMinutesToWaitOnDisconnect: integer ,
offPeakActionOnLogoff: enum ,
offPeakMinutesToWaitOnLogoff: integer ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
daysOfWeek:
[
string ,
]
,
rampUpStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampUpAutoStartHosts: enum ,
rampUpStartVMOnConnect: enum ,
rampUpActionOnDisconnect: enum ,
rampUpMinutesToWaitOnDisconnect: integer ,
rampUpActionOnLogoff: enum ,
rampUpMinutesToWaitOnLogoff: integer ,
peakStartTime:
{
hour: integer ,
minute: integer ,
}
,
peakStartVMOnConnect: enum ,
peakActionOnDisconnect: enum ,
peakMinutesToWaitOnDisconnect: integer ,
peakActionOnLogoff: enum ,
peakMinutesToWaitOnLogoff: integer ,
rampDownStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampDownStartVMOnConnect: enum ,
rampDownActionOnDisconnect: enum ,
rampDownMinutesToWaitOnDisconnect: integer ,
rampDownActionOnLogoff: enum ,
rampDownMinutesToWaitOnLogoff: integer ,
offPeakStartTime:
{
hour: integer ,
minute: integer ,
}
,
offPeakStartVMOnConnect: enum ,
offPeakActionOnDisconnect: enum ,
offPeakMinutesToWaitOnDisconnect: integer ,
offPeakActionOnLogoff: enum ,
offPeakMinutesToWaitOnLogoff: integer ,
}
,
}

⚐ Response (201)

{
properties:
{
daysOfWeek:
[
string ,
]
,
rampUpStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampUpAutoStartHosts: enum ,
rampUpStartVMOnConnect: enum ,
rampUpActionOnDisconnect: enum ,
rampUpMinutesToWaitOnDisconnect: integer ,
rampUpActionOnLogoff: enum ,
rampUpMinutesToWaitOnLogoff: integer ,
peakStartTime:
{
hour: integer ,
minute: integer ,
}
,
peakStartVMOnConnect: enum ,
peakActionOnDisconnect: enum ,
peakMinutesToWaitOnDisconnect: integer ,
peakActionOnLogoff: enum ,
peakMinutesToWaitOnLogoff: integer ,
rampDownStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampDownStartVMOnConnect: enum ,
rampDownActionOnDisconnect: enum ,
rampDownMinutesToWaitOnDisconnect: integer ,
rampDownActionOnLogoff: enum ,
rampDownMinutesToWaitOnLogoff: integer ,
offPeakStartTime:
{
hour: integer ,
minute: integer ,
}
,
offPeakStartVMOnConnect: enum ,
offPeakActionOnDisconnect: enum ,
offPeakMinutesToWaitOnDisconnect: integer ,
offPeakActionOnLogoff: enum ,
offPeakMinutesToWaitOnLogoff: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ScalingPlanPersonalSchedules_Update (updated)
Description Update a ScalingPlanPersonalSchedule.
Reference Link ¶

⚶ Changes

{
  "#id": "ScalingPlanPersonalSchedules_Update",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "daysOfWeek",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampUpStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "peakStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampDownStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "offPeakStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/personalSchedules/{scalingPlanScheduleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
scalingPlanName: string ,
scalingPlanScheduleName: string ,
scalingPlanSchedule:
{
properties:
{
daysOfWeek:
[
string ,
]
,
rampUpStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampUpAutoStartHosts: enum ,
rampUpStartVMOnConnect: enum ,
rampUpActionOnDisconnect: enum ,
rampUpMinutesToWaitOnDisconnect: integer ,
rampUpActionOnLogoff: enum ,
rampUpMinutesToWaitOnLogoff: integer ,
peakStartTime:
{
hour: integer ,
minute: integer ,
}
,
peakStartVMOnConnect: enum ,
peakActionOnDisconnect: enum ,
peakMinutesToWaitOnDisconnect: integer ,
peakActionOnLogoff: enum ,
peakMinutesToWaitOnLogoff: integer ,
rampDownStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampDownStartVMOnConnect: enum ,
rampDownActionOnDisconnect: enum ,
rampDownMinutesToWaitOnDisconnect: integer ,
rampDownActionOnLogoff: enum ,
rampDownMinutesToWaitOnLogoff: integer ,
offPeakStartTime:
{
hour: integer ,
minute: integer ,
}
,
offPeakStartVMOnConnect: enum ,
offPeakActionOnDisconnect: enum ,
offPeakMinutesToWaitOnDisconnect: integer ,
offPeakActionOnLogoff: enum ,
offPeakMinutesToWaitOnLogoff: integer ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
daysOfWeek:
[
string ,
]
,
rampUpStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampUpAutoStartHosts: enum ,
rampUpStartVMOnConnect: enum ,
rampUpActionOnDisconnect: enum ,
rampUpMinutesToWaitOnDisconnect: integer ,
rampUpActionOnLogoff: enum ,
rampUpMinutesToWaitOnLogoff: integer ,
peakStartTime:
{
hour: integer ,
minute: integer ,
}
,
peakStartVMOnConnect: enum ,
peakActionOnDisconnect: enum ,
peakMinutesToWaitOnDisconnect: integer ,
peakActionOnLogoff: enum ,
peakMinutesToWaitOnLogoff: integer ,
rampDownStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampDownStartVMOnConnect: enum ,
rampDownActionOnDisconnect: enum ,
rampDownMinutesToWaitOnDisconnect: integer ,
rampDownActionOnLogoff: enum ,
rampDownMinutesToWaitOnLogoff: integer ,
offPeakStartTime:
{
hour: integer ,
minute: integer ,
}
,
offPeakStartVMOnConnect: enum ,
offPeakActionOnDisconnect: enum ,
offPeakMinutesToWaitOnDisconnect: integer ,
offPeakActionOnLogoff: enum ,
offPeakMinutesToWaitOnLogoff: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ScalingPlanPooledSchedules_List (updated)
Description List ScalingPlanPooledSchedules.
Reference Link ¶

⚶ Changes

{
  "#id": "ScalingPlanPooledSchedules_List",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "#name": "daysOfWeek",
                "Required": {
                  "new": false,
                  "old": true
                }
              },
              {
                "#name": "rampUpStartTime",
                "Required": {
                  "new": false,
                  "old": true
                }
              },
              {
                "#name": "rampUpCapacityThresholdPct",
                "Required": {
                  "new": false,
                  "old": true
                }
              },
              {
                "#name": "peakStartTime",
                "Required": {
                  "new": false,
                  "old": true
                }
              },
              {
                "#name": "rampDownStartTime",
                "Required": {
                  "new": false,
                  "old": true
                }
              },
              {
                "#name": "rampDownCapacityThresholdPct",
                "Required": {
                  "new": false,
                  "old": true
                }
              },
              {
                "#name": "offPeakStartTime",
                "Required": {
                  "new": false,
                  "old": true
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
scalingPlanName: string ,
pageSize: integer ,
isDescending: boolean ,
initialSkip: integer ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
name: string ,
daysOfWeek:
[
string ,
]
,
rampUpStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampUpLoadBalancingAlgorithm: enum ,
rampUpMinimumHostsPct: integer ,
rampUpCapacityThresholdPct: integer ,
peakStartTime:
{
hour: integer ,
minute: integer ,
}
,
peakLoadBalancingAlgorithm: enum ,
rampDownStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampDownLoadBalancingAlgorithm: enum ,
rampDownMinimumHostsPct: integer ,
rampDownCapacityThresholdPct: integer ,
rampDownForceLogoffUsers: boolean ,
rampDownStopHostsWhen: enum ,
rampDownWaitTimeMinutes: integer ,
rampDownNotificationMessage: string ,
offPeakStartTime:
{
hour: integer ,
minute: integer ,
}
,
offPeakLoadBalancingAlgorithm: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ScalingPlanPooledSchedules_Get (updated)
Description Get a ScalingPlanPooledSchedule.
Reference Link ¶

⚶ Changes

{
  "#id": "ScalingPlanPooledSchedules_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "daysOfWeek",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampUpStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampUpCapacityThresholdPct",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "peakStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampDownStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampDownCapacityThresholdPct",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "offPeakStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules/{scalingPlanScheduleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
scalingPlanName: string ,
scalingPlanScheduleName: string ,
}

⚐ Response (200)

{
properties:
{
name: string ,
daysOfWeek:
[
string ,
]
,
rampUpStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampUpLoadBalancingAlgorithm: enum ,
rampUpMinimumHostsPct: integer ,
rampUpCapacityThresholdPct: integer ,
peakStartTime:
{
hour: integer ,
minute: integer ,
}
,
peakLoadBalancingAlgorithm: enum ,
rampDownStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampDownLoadBalancingAlgorithm: enum ,
rampDownMinimumHostsPct: integer ,
rampDownCapacityThresholdPct: integer ,
rampDownForceLogoffUsers: boolean ,
rampDownStopHostsWhen: enum ,
rampDownWaitTimeMinutes: integer ,
rampDownNotificationMessage: string ,
offPeakStartTime:
{
hour: integer ,
minute: integer ,
}
,
offPeakLoadBalancingAlgorithm: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ScalingPlanPooledSchedules_Create (updated)
Description Create or update a ScalingPlanPooledSchedule.
Reference Link ¶

⚶ Changes

{
  "#id": "ScalingPlanPooledSchedules_Create",
  "$parameters": {
    "scalingPlanSchedule": {
      "$properties": {
        "properties": [
          {
            "#name": "daysOfWeek",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampUpStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampUpCapacityThresholdPct",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "peakStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampDownStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampDownCapacityThresholdPct",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "offPeakStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "daysOfWeek",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampUpStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampUpCapacityThresholdPct",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "peakStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampDownStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampDownCapacityThresholdPct",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "offPeakStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          }
        ]
      }
    },
    "201": {
      "$properties": {
        "properties": [
          {
            "#name": "daysOfWeek",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampUpStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampUpCapacityThresholdPct",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "peakStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampDownStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampDownCapacityThresholdPct",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "offPeakStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules/{scalingPlanScheduleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
scalingPlanName: string ,
scalingPlanScheduleName: string ,
scalingPlanSchedule:
{
properties:
{
name: string ,
daysOfWeek:
[
string ,
]
,
rampUpStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampUpLoadBalancingAlgorithm: enum ,
rampUpMinimumHostsPct: integer ,
rampUpCapacityThresholdPct: integer ,
peakStartTime:
{
hour: integer ,
minute: integer ,
}
,
peakLoadBalancingAlgorithm: enum ,
rampDownStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampDownLoadBalancingAlgorithm: enum ,
rampDownMinimumHostsPct: integer ,
rampDownCapacityThresholdPct: integer ,
rampDownForceLogoffUsers: boolean ,
rampDownStopHostsWhen: enum ,
rampDownWaitTimeMinutes: integer ,
rampDownNotificationMessage: string ,
offPeakStartTime:
{
hour: integer ,
minute: integer ,
}
,
offPeakLoadBalancingAlgorithm: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
name: string ,
daysOfWeek:
[
string ,
]
,
rampUpStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampUpLoadBalancingAlgorithm: enum ,
rampUpMinimumHostsPct: integer ,
rampUpCapacityThresholdPct: integer ,
peakStartTime:
{
hour: integer ,
minute: integer ,
}
,
peakLoadBalancingAlgorithm: enum ,
rampDownStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampDownLoadBalancingAlgorithm: enum ,
rampDownMinimumHostsPct: integer ,
rampDownCapacityThresholdPct: integer ,
rampDownForceLogoffUsers: boolean ,
rampDownStopHostsWhen: enum ,
rampDownWaitTimeMinutes: integer ,
rampDownNotificationMessage: string ,
offPeakStartTime:
{
hour: integer ,
minute: integer ,
}
,
offPeakLoadBalancingAlgorithm: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
name: string ,
daysOfWeek:
[
string ,
]
,
rampUpStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampUpLoadBalancingAlgorithm: enum ,
rampUpMinimumHostsPct: integer ,
rampUpCapacityThresholdPct: integer ,
peakStartTime:
{
hour: integer ,
minute: integer ,
}
,
peakLoadBalancingAlgorithm: enum ,
rampDownStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampDownLoadBalancingAlgorithm: enum ,
rampDownMinimumHostsPct: integer ,
rampDownCapacityThresholdPct: integer ,
rampDownForceLogoffUsers: boolean ,
rampDownStopHostsWhen: enum ,
rampDownWaitTimeMinutes: integer ,
rampDownNotificationMessage: string ,
offPeakStartTime:
{
hour: integer ,
minute: integer ,
}
,
offPeakLoadBalancingAlgorithm: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ScalingPlanPooledSchedules_Update (updated)
Description Update a ScalingPlanPooledSchedule.
Reference Link ¶

⚶ Changes

{
  "#id": "ScalingPlanPooledSchedules_Update",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "daysOfWeek",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampUpStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampUpCapacityThresholdPct",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "peakStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampDownStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "rampDownCapacityThresholdPct",
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "offPeakStartTime",
            "Required": {
              "new": false,
              "old": true
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules/{scalingPlanScheduleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
scalingPlanName: string ,
scalingPlanScheduleName: string ,
scalingPlanSchedule:
{
properties:
{
name: string ,
daysOfWeek:
[
string ,
]
,
rampUpStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampUpLoadBalancingAlgorithm: enum ,
rampUpMinimumHostsPct: integer ,
rampUpCapacityThresholdPct: integer ,
peakStartTime:
{
hour: integer ,
minute: integer ,
}
,
peakLoadBalancingAlgorithm: enum ,
rampDownStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampDownLoadBalancingAlgorithm: enum ,
rampDownMinimumHostsPct: integer ,
rampDownCapacityThresholdPct: integer ,
rampDownForceLogoffUsers: boolean ,
rampDownStopHostsWhen: enum ,
rampDownWaitTimeMinutes: integer ,
rampDownNotificationMessage: string ,
offPeakStartTime:
{
hour: integer ,
minute: integer ,
}
,
offPeakLoadBalancingAlgorithm: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
name: string ,
daysOfWeek:
[
string ,
]
,
rampUpStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampUpLoadBalancingAlgorithm: enum ,
rampUpMinimumHostsPct: integer ,
rampUpCapacityThresholdPct: integer ,
peakStartTime:
{
hour: integer ,
minute: integer ,
}
,
peakLoadBalancingAlgorithm: enum ,
rampDownStartTime:
{
hour: integer ,
minute: integer ,
}
,
rampDownLoadBalancingAlgorithm: enum ,
rampDownMinimumHostsPct: integer ,
rampDownCapacityThresholdPct: integer ,
rampDownForceLogoffUsers: boolean ,
rampDownStopHostsWhen: enum ,
rampDownWaitTimeMinutes: integer ,
rampDownNotificationMessage: string ,
offPeakStartTime:
{
hour: integer ,
minute: integer ,
}
,
offPeakLoadBalancingAlgorithm: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_ListByWorkspace (updated)
Description List private endpoint connections associated with Workspace.
Reference Link ¶

⚶ Changes

{
  "#id": "PrivateEndpointConnections_ListByWorkspace",
  "Description": {
    "new": "List private endpoint connections associated with Workspace.",
    "old": "List a PrivateEndpointConnectionWithSystemData"
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_UpdateByWorkspace (updated)
Description Approve or reject a private endpoint connection.
Reference Link ¶

⚶ Changes

{
  "#id": "PrivateEndpointConnections_UpdateByWorkspace",
  "Description": {
    "new": "Approve or reject a private endpoint connection.",
    "old": "Create a PrivateEndpointConnectionWithSystemData"
  },
  "$responses": {
    "@removed_586dd00e627643e68f6fe3c03753585c": {
      "201": {
        "Description": "The Private Endpoint Connection resource.",
        "Type": "object",
        "$properties": [
          {
            "#name": "properties",
            "Description": "The resource-specific properties for this resource.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "groupIds",
                "Description": "The group ids for the private endpoint resource.",
                "Required": false,
                "Type": "array",
                "$items": {
                  "Type": "string"
                }
              },
              {
                "#name": "privateEndpoint",
                "Description": "The private endpoint resource.",
                "Required": false,
                "Type": "object",
                "$properties": [
                  {
                    "#name": "id",
                    "Description": "The ARM identifier for private endpoint.",
                    "Required": false,
                    "Type": "string"
                  }
                ]
              },
              {
                "#name": "privateLinkServiceConnectionState",
                "Description": "A collection of information about the state of the connection between service consumer and provider.",
                "Required": true,
                "Type": "object",
                "$properties": [
                  {
                    "#name": "status",
                    "Description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.",
                    "Enum": [
                      [
                        "Pending",
                        "Connection is Pending"
                      ],
                      [
                        "Approved",
                        "Connection was Approved"
                      ],
                      [
                        "Rejected",
                        "Connection was rejected"
                      ]
                    ],
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "description",
                    "Description": "The reason for approval/rejection of the connection.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "actionsRequired",
                    "Description": "A message indicating if changes on the service provider require any updates on the consumer.",
                    "Required": false,
                    "Type": "string"
                  }
                ]
              },
              {
                "#name": "provisioningState",
                "Description": "The provisioning state of the private endpoint connection resource.",
                "Enum": [
                  [
                    "Succeeded",
                    "Provisioning was successful"
                  ],
                  [
                    "Creating",
                    "A PrivateEndpointConnection is being created"
                  ],
                  [
                    "Deleting",
                    "A PrivateEndpointConnection is being deleted"
                  ],
                  [
                    "Failed",
                    "Provisioning failed"
                  ]
                ],
                "Required": false,
                "Type": "string"
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
privateEndpointConnectionName: string ,
connection:
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}