Interface DesktopsClient


  • public interface DesktopsClient
    An instance of this class provides access to all the operations defined in DesktopsClient.
    • Method Detail

      • get

        DesktopInner 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<DesktopInner> 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

        DesktopInner 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<DesktopInner> 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<DesktopInner> 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<DesktopInner> 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.