Interface DesktopsClient


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

    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<DesktopInner>> getWithResponseAsync(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 along with Response on successful completion of Mono.
      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.
    • getAsync

      Mono<DesktopInner> getAsync(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 on successful completion of Mono.
      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.
    • 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 along with Response.
      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.
    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<DesktopInner>> updateWithResponseAsync(String resourceGroupName, String applicationGroupName, String desktopName, DesktopPatch desktop)
      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.
      Returns:
      schema for Desktop properties along with Response on successful completion of Mono.
      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.
    • updateAsync

      Mono<DesktopInner> updateAsync(String resourceGroupName, String applicationGroupName, String desktopName, DesktopPatch desktop)
      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.
      Returns:
      schema for Desktop properties on successful completion of Mono.
      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.
    • updateAsync

      Mono<DesktopInner> updateAsync(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 on successful completion of Mono.
      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 along with Response.
      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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<DesktopInner> listAsync(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 PagedFlux.
      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 as paginated response with PagedIterable.
      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 as paginated response with PagedIterable.
      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.