Interface ServiceRunners
public interface ServiceRunners
Resource collection API of ServiceRunners.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new ServiceRunner resource.void
Delete service runner.void
deleteById
(String id) Delete service runner.com.azure.core.http.rest.Response<Void>
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) 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.Get service runner.com.azure.core.http.rest.Response<ServiceRunner>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Get service runner.com.azure.core.http.rest.Response<ServiceRunner>
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<ServiceRunner> 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.
-
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.
-
getById
Get service runner.- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<ServiceRunner> getByIdWithResponse(String id, com.azure.core.util.Context context) Get service runner.- Parameters:
id
- the resource ID.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.
-
deleteById
Delete service runner.- 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
com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) Delete service runner.- Parameters:
id
- the resource ID.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.
-
define
Begins definition for a new ServiceRunner resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new ServiceRunner definition.
-