public interface ServiceRunnersClient
Modifier and Type | Method and Description |
---|---|
ServiceRunnerInner |
createOrUpdate(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(String resourceGroupName,
String labName,
String name)
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.
|
ServiceRunnerInner |
get(String resourceGroupName,
String labName,
String name)
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.
|
ServiceRunnerInner get(String resourceGroupName, String labName, String name)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the service runner.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.com.azure.core.http.rest.Response<ServiceRunnerInner> getWithResponse(String resourceGroupName, String labName, String name, com.azure.core.util.Context context)
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.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.ServiceRunnerInner createOrUpdate(String resourceGroupName, String labName, String name, ServiceRunnerInner serviceRunner)
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.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.com.azure.core.http.rest.Response<ServiceRunnerInner> createOrUpdateWithResponse(String resourceGroupName, String labName, String name, ServiceRunnerInner serviceRunner, com.azure.core.util.Context context)
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.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.void delete(String resourceGroupName, String labName, String name)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the service runner.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.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String labName, String name, com.azure.core.util.Context context)
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.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.Copyright © 2021 Microsoft Corporation. All rights reserved.