Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3354,6 +3354,48 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/listRegistrationTokens": {
"post": {
"tags": [
"HostPool"
],
"operationId": "HostPools_ListRegistrationTokens",
"description": "Operation to list the RegistrationTokens associated with the HostPool.",
"x-ms-examples": {
"HostPools_ListRegistrationToken_Post": {
"$ref": "./examples/HostPools_ListRegistrationToken_Post.json"
}
},
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/HostPoolNameParameter"
}
],
"responses": {
"200": {
"description": "Successfully retrieved host pool in resource group.",
"schema": {
"$ref": "#/definitions/RegistrationInfoList"
}
},
"default": {
"description": "Automation error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/userSessions": {
"get": {
"tags": [
Expand Down Expand Up @@ -7171,6 +7213,43 @@
}
}
},
"RegistrationInfoList": {
"type": "object",
"title": "RegistrationInfoList",
"description": "List of RegistrationInfo definitions.",
"properties": {
"value": {
"type": "array",
"description": "List of RegistrationInfo definitions.",
"items": {
"$ref": "#/definitions/RegistrationInfoMinimal"
},
"x-ms-identifiers": []
},
"nextLink": {
"type": "string",
"readOnly": true,
"description": "Link to the next page of results."
}
}
},
"RegistrationInfoMinimal": {
"description": "Represents a Minimal set of properties for RegistrationInfo definition.",
"type": "object",
"properties": {
"expirationTime": {
"format": "date-time",
"type": "string",
"description": "Expiration time of registration token.",
"x-nullable": true
},
"token": {
"type": "string",
"description": "The registration token base64 encoded string.",
"x-ms-secret": true
}
}
},
"AgentUpdateProperties": {
"description": "The session host configuration for updating agent, monitoring agent, and stack component.",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
"resourceGroupName": "resourceGroup1",
"hostPoolName": "hostPool1",
"api-version": "2024-04-08-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"expirationTime": "2008-09-22T14:01:54.9571247Z",
"token": "token"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2689,6 +2689,48 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/listRegistrationTokens": {
"post": {
"tags": [
"HostPool"
],
"operationId": "HostPools_ListRegistrationTokens",
"description": "Operation to list the RegistrationTokens associated with the HostPool",
"x-ms-examples": {
"HostPools_ListRegistrationToken_Post": {
"$ref": "./examples/HostPools_ListRegistrationToken_Post.json"
}
},
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/HostPoolNameParameter"
}
],
"responses": {
"200": {
"description": "Successfully retrieved host pool in resource group.",
"schema": {
"$ref": "#/definitions/RegistrationInfoList"
}
},
"default": {
"description": "Automation error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/userSessions": {
"get": {
"tags": [
Expand Down Expand Up @@ -5052,6 +5094,43 @@
}
}
},
"RegistrationInfoList": {
"type": "object",
"title": "RegistrationInfoList",
"description": "List of RegistrationInfo definitions.",
"properties": {
"value": {
"type": "array",
"description": "List of RegistrationInfo definitions.",
"items": {
"$ref": "#/definitions/RegistrationInfoMinimal"
},
"x-ms-identifiers": []
},
"nextLink": {
"type": "string",
"readOnly": true,
"description": "Link to the next page of results."
}
}
},
"RegistrationInfoMinimal": {
"description": "Represents a Minimal set of properties for RegistrationInfo definition.",
"type": "object",
"properties": {
"expirationTime": {
"format": "date-time",
"type": "string",
"description": "Expiration time of registration token.",
"x-nullable": true
},
"token": {
"type": "string",
"description": "The registration token base64 encoded string.",
"x-ms-secret": true
}
}
},
"AgentUpdateProperties": {
"description": "The session host configuration for updating agent, monitoring agent, and stack component.",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
"resourceGroupName": "resourceGroup1",
"hostPoolName": "hostPool1",
"api-version": "2024-04-03"
},
"responses": {
"200": {
"body": {
"value": [
{
"expirationTime": "2008-09-22T14:01:54.9571247Z",
"token": "token"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"value": [
{
"name": "hostpool1/expandmsiximage",
"id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostpool1/expandMsixImage",
"id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostpool1/expandMsixImage/msixImage",
"type": "Microsoft.DesktopVirtualization/hostpools/expandmsiximage",
"properties": {
"packageAlias": "msixpackagealias",
Expand Down Expand Up @@ -44,7 +44,7 @@
},
{
"name": "hostpool1/expandmsiximage",
"id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostpool1/expandmsiximage",
"id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostpool1/expandmsiximage/msixImageURI",
"type": "Microsoft.DesktopVirtualization/hostpools/expandmsiximage",
"properties": {
"packageAlias": "msixpackagealias2",
Expand Down