Interface Desktops


  • public interface Desktops
    Resource collection API of Desktops.
    • Method Detail

      • get

        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getWithResponse

        com.azure.core.http.rest.Response<Desktop> getWithResponse​(String resourceGroupName,
                                                                   String applicationGroupName,
                                                                   String desktopName,
                                                                   com.azure.core.util.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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • update

        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateWithResponse

        com.azure.core.http.rest.Response<Desktop> updateWithResponse​(String resourceGroupName,
                                                                      String applicationGroupName,
                                                                      String desktopName,
                                                                      DesktopPatch desktop,
                                                                      com.azure.core.util.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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • list

        com.azure.core.http.rest.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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • list

        com.azure.core.http.rest.PagedIterable<Desktop> list​(String resourceGroupName,
                                                             String applicationGroupName,
                                                             com.azure.core.util.Context context)
        List desktops.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        applicationGroupName - The name of the application group.
        context - The context to associate with this operation.
        Returns:
        desktopList.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.