Skip to content

Commit

Permalink
add Retrieveregistrationtoken
Browse files Browse the repository at this point in the history
remove pagination
refactor and remove regtoken in example
rename
rename
  • Loading branch information
datr93 committed Feb 2, 2021
1 parent 60c0882 commit 921b213
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1569,6 +1569,48 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/retrieveRegistrationToken": {
"post": {
"tags": [
"HostPool"
],
"operationId": "HostPools_RetrieveRegistrationToken",
"description": "Registration token of the host pool.",
"x-ms-examples": {
"HostPools_RetrieveRegistrationToken_Post": {
"$ref": "./examples/HostPools_RetrieveRegistrationToken_Post.json"
}
},
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v1/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/HostPoolNameParameter"
}
],
"responses": {
"200": {
"description": "Successfully retrieved host pool in resource group.",
"schema": {
"$ref": "#/definitions/RegistrationInfo"
}
},
"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
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
"resourceGroupName": "resourceGroup1",
"hostPoolName": "hostPool1",
"api-version": "2021-02-01-preview"
},
"responses": {
"200": {
"body": {
"expirationTime": "2008-09-22T14:01:54.9571247Z",
"token": "token",
"registrationTokenOperation": "Update"
}
}
}
}

0 comments on commit 921b213

Please sign in to comment.