Interface ServiceRunnersClient
public interface ServiceRunnersClient
An instance of this class provides access to all the operations defined in ServiceRunnersClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceGroupName, String labName, String name, ServiceRunnerInner serviceRunner) Create or replace an existing service runner.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.void
Delete service runner.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String labName, String name, com.azure.core.util.Context context) Delete service runner.Get service runner.com.azure.core.http.rest.Response<ServiceRunnerInner>
getWithResponse
(String resourceGroupName, String labName, String name, com.azure.core.util.Context context) Get service runner.
-
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
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
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.
-