Desktops Interface

public interface Desktops

Resource collection API of Desktops.

Method Summary

Modifier and Type Method and Description
abstract Desktop get(String resourceGroupName, String applicationGroupName, String desktopName)

Get a desktop.

abstract Response<Desktop> getWithResponse(String resourceGroupName, String applicationGroupName, String desktopName, Context context)

Get a desktop.

abstract PagedIterable<Desktop> list(String resourceGroupName, String applicationGroupName)

List desktops.

abstract PagedIterable<Desktop> list(String resourceGroupName, String applicationGroupName, Integer pageSize, Boolean isDescending, Integer initialSkip, Context context)

List desktops.

abstract Desktop update(String resourceGroupName, String applicationGroupName, String desktopName)

Update a desktop.

abstract Response<Desktop> updateWithResponse(String resourceGroupName, String applicationGroupName, String desktopName, DesktopPatch desktop, Context context)

Update a desktop.

Method Details

get

public abstract Desktop get(String resourceGroupName, String applicationGroupName, String desktopName)

Get a desktop.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
applicationGroupName - The name of the application group.
desktopName - The name of the desktop within the specified desktop group.

Returns:

a desktop.

getWithResponse

public abstract Response<Desktop> getWithResponse(String resourceGroupName, String applicationGroupName, String desktopName, Context context)

Get a desktop.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
applicationGroupName - The name of the application group.
desktopName - The name of the desktop within the specified desktop group.
context - The context to associate with this operation.

Returns:

a desktop along with Response<T>.

list

public abstract PagedIterable<Desktop> list(String resourceGroupName, String applicationGroupName)

List desktops.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
applicationGroupName - The name of the application group.

Returns:

desktopList as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<Desktop> list(String resourceGroupName, String applicationGroupName, Integer pageSize, Boolean isDescending, Integer initialSkip, Context context)

List desktops.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
applicationGroupName - The name of the application group.
pageSize - Number of items per page.
isDescending - Indicates whether the collection is descending.
initialSkip - Initial number of items to skip.
context - The context to associate with this operation.

Returns:

desktopList as paginated response with PagedIterable<T>.

update

public abstract Desktop update(String resourceGroupName, String applicationGroupName, String desktopName)

Update a desktop.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
applicationGroupName - The name of the application group.
desktopName - The name of the desktop within the specified desktop group.

Returns:

schema for Desktop properties.

updateWithResponse

public abstract Response<Desktop> updateWithResponse(String resourceGroupName, String applicationGroupName, String desktopName, DesktopPatch desktop, Context context)

Update a desktop.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
applicationGroupName - The name of the application group.
desktopName - The name of the desktop within the specified desktop group.
desktop - Object containing Desktop definitions.
context - The context to associate with this operation.

Returns:

schema for Desktop properties along with Response<T>.

Applies to