public interface ServiceRunners
Modifier and Type | Method and Description |
---|---|
ServiceRunner.DefinitionStages.Blank |
define(String name)
Begins definition for a new ServiceRunner resource.
|
void |
delete(String resourceGroupName,
String labName,
String name)
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.
|
ServiceRunner |
get(String resourceGroupName,
String labName,
String name)
Get service runner.
|
ServiceRunner |
getById(String id)
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.
|
ServiceRunner 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<ServiceRunner> 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.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.ServiceRunner getById(String id)
id
- the resource ID.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<ServiceRunner> getByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.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 deleteById(String id)
id
- the resource ID.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> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.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.ServiceRunner.DefinitionStages.Blank define(String name)
name
- resource name.Copyright © 2021 Microsoft Corporation. All rights reserved.