Interface Controllers


public interface Controllers
Resource collection API of Controllers.
  • Method Details

    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<Controller> getByResourceGroupWithResponse(String resourceGroupName, String name, com.azure.core.util.Context context)
      Gets an Azure Dev Spaces Controller.

      Gets the properties for an Azure Dev Spaces Controller.

      Parameters:
      resourceGroupName - Resource group to which the resource belongs.
      name - Name of the resource.
      context - The context to associate with this operation.
      Returns:
      the properties for an Azure Dev Spaces Controller 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.
    • getByResourceGroup

      Controller getByResourceGroup(String resourceGroupName, String name)
      Gets an Azure Dev Spaces Controller.

      Gets the properties for an Azure Dev Spaces Controller.

      Parameters:
      resourceGroupName - Resource group to which the resource belongs.
      name - Name of the resource.
      Returns:
      the properties for an Azure Dev Spaces Controller.
      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.
    • deleteByResourceGroup

      void deleteByResourceGroup(String resourceGroupName, String name)
      Deletes an Azure Dev Spaces Controller.

      Deletes an existing Azure Dev Spaces Controller.

      Parameters:
      resourceGroupName - Resource group to which the resource belongs.
      name - Name of the resource.
      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.
    • delete

      void delete(String resourceGroupName, String name, com.azure.core.util.Context context)
      Deletes an Azure Dev Spaces Controller.

      Deletes an existing Azure Dev Spaces Controller.

      Parameters:
      resourceGroupName - Resource group to which the resource belongs.
      name - Name of the resource.
      context - The context to associate with this operation.
      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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<Controller> listByResourceGroup(String resourceGroupName)
      Lists the Azure Dev Spaces Controllers in a resource group.

      Lists all the Azure Dev Spaces Controllers with their properties in the specified resource group and subscription.

      Parameters:
      resourceGroupName - Resource group to which the resource belongs.
      Returns:
      the 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<Controller> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Lists the Azure Dev Spaces Controllers in a resource group.

      Lists all the Azure Dev Spaces Controllers with their properties in the specified resource group and subscription.

      Parameters:
      resourceGroupName - Resource group to which the resource belongs.
      context - The context to associate with this operation.
      Returns:
      the 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<Controller> list()
      Lists the Azure Dev Spaces Controllers in a subscription.

      Lists all the Azure Dev Spaces Controllers with their properties in the subscription.

      Returns:
      the paginated response with PagedIterable.
      Throws:
      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<Controller> list(com.azure.core.util.Context context)
      Lists the Azure Dev Spaces Controllers in a subscription.

      Lists all the Azure Dev Spaces Controllers with their properties in the subscription.

      Parameters:
      context - The context to associate with this operation.
      Returns:
      the 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.
    • listConnectionDetailsWithResponse

      com.azure.core.http.rest.Response<ControllerConnectionDetailsList> listConnectionDetailsWithResponse(String resourceGroupName, String name, ListConnectionDetailsParameters listConnectionDetailsParameters, com.azure.core.util.Context context)
      Lists connection details for an Azure Dev Spaces Controller.

      Lists connection details for the underlying container resources of an Azure Dev Spaces Controller.

      Parameters:
      resourceGroupName - Resource group to which the resource belongs.
      name - Name of the resource.
      listConnectionDetailsParameters - Parameters for listing connection details of Azure Dev Spaces Controller.
      context - The context to associate with this operation.
      Returns:
      the response body 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.
    • listConnectionDetails

      ControllerConnectionDetailsList listConnectionDetails(String resourceGroupName, String name, ListConnectionDetailsParameters listConnectionDetailsParameters)
      Lists connection details for an Azure Dev Spaces Controller.

      Lists connection details for the underlying container resources of an Azure Dev Spaces Controller.

      Parameters:
      resourceGroupName - Resource group to which the resource belongs.
      name - Name of the resource.
      listConnectionDetailsParameters - Parameters for listing connection details of Azure Dev Spaces Controller.
      Returns:
      the 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.
    • getById

      Controller getById(String id)
      Gets an Azure Dev Spaces Controller.

      Gets the properties for an Azure Dev Spaces Controller.

      Parameters:
      id - the resource ID.
      Returns:
      the properties for an Azure Dev Spaces Controller 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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<Controller> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Gets an Azure Dev Spaces Controller.

      Gets the properties for an Azure Dev Spaces Controller.

      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      the properties for an Azure Dev Spaces Controller 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.
    • deleteById

      void deleteById(String id)
      Deletes an Azure Dev Spaces Controller.

      Deletes an existing Azure Dev Spaces Controller.

      Parameters:
      id - the resource ID.
      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.
    • deleteByIdWithResponse

      void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Deletes an Azure Dev Spaces Controller.

      Deletes an existing Azure Dev Spaces Controller.

      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      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.
    • define

      Begins definition for a new Controller resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new Controller definition.