Interface ServiceRunnersClient


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

    • getWithResponse

      com.azure.core.http.rest.Response<ServiceRunnerInner> getWithResponse(String resourceGroupName, String labName, String name, com.azure.core.util.Context context)
      Get service runner.
      Parameters:
      resourceGroupName - The name of the resource group.
      labName - The name of the lab.
      name - The name of the service runner.
      context - The context to associate with this operation.
      Returns:
      service runner 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.
    • get

      ServiceRunnerInner get(String resourceGroupName, String labName, String name)
      Get service runner.
      Parameters:
      resourceGroupName - The name of the resource group.
      labName - The name of the lab.
      name - The name of the service runner.
      Returns:
      service runner.
      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.
    • createOrUpdateWithResponse

      com.azure.core.http.rest.Response<ServiceRunnerInner> createOrUpdateWithResponse(String resourceGroupName, String labName, String name, ServiceRunnerInner serviceRunner, com.azure.core.util.Context context)
      Create or replace an existing service runner.
      Parameters:
      resourceGroupName - The name of the resource group.
      labName - The name of the lab.
      name - The name of the service runner.
      serviceRunner - A container for a managed identity to execute DevTest lab services.
      context - The context to associate with this operation.
      Returns:
      a container for a managed identity to execute DevTest lab services 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.
    • createOrUpdate

      ServiceRunnerInner createOrUpdate(String resourceGroupName, String labName, String name, ServiceRunnerInner serviceRunner)
      Create or replace an existing service runner.
      Parameters:
      resourceGroupName - The name of the resource group.
      labName - The name of the lab.
      name - The name of the service runner.
      serviceRunner - A container for a managed identity to execute DevTest lab services.
      Returns:
      a container for a managed identity to execute DevTest lab services.
      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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String labName, String name, com.azure.core.util.Context context)
      Delete service runner.
      Parameters:
      resourceGroupName - The name of the resource group.
      labName - The name of the lab.
      name - The name of the service runner.
      context - The context to associate with this operation.
      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.
    • delete

      void delete(String resourceGroupName, String labName, String name)
      Delete service runner.
      Parameters:
      resourceGroupName - The name of the resource group.
      labName - The name of the lab.
      name - The name of the service runner.
      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.