你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Desktops interface
Interface representing a Desktops.
Methods
get(string, string, string, Desktops |
Get a desktop. |
list(string, string, Desktops |
List desktops. |
update(string, string, string, Desktops |
Update a desktop. |
Method Details
get(string, string, string, DesktopsGetOptionalParams)
Get a desktop.
function get(resourceGroupName: string, applicationGroupName: string, desktopName: string, options?: DesktopsGetOptionalParams): Promise<Desktop>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- applicationGroupName
-
string
The name of the application group
- desktopName
-
string
The name of the desktop within the specified desktop group
- options
- DesktopsGetOptionalParams
The options parameters.
Returns
Promise<Desktop>
list(string, string, DesktopsListOptionalParams)
List desktops.
function list(resourceGroupName: string, applicationGroupName: string, options?: DesktopsListOptionalParams): PagedAsyncIterableIterator<Desktop, Desktop[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- applicationGroupName
-
string
The name of the application group
- options
- DesktopsListOptionalParams
The options parameters.
Returns
update(string, string, string, DesktopsUpdateOptionalParams)
Update a desktop.
function update(resourceGroupName: string, applicationGroupName: string, desktopName: string, options?: DesktopsUpdateOptionalParams): Promise<Desktop>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- applicationGroupName
-
string
The name of the application group
- desktopName
-
string
The name of the desktop within the specified desktop group
- options
- DesktopsUpdateOptionalParams
The options parameters.
Returns
Promise<Desktop>