Interface Steps
public interface Steps
Resource collection API of Steps.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new StepResource resource.void
deleteById
(String id) Deletes the step.com.azure.core.http.rest.Response<Void>
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Deletes the step.void
deleteByResourceGroup
(String resourceGroupName, String stepName) Deletes the step.com.azure.core.http.rest.Response<Void>
deleteByResourceGroupWithResponse
(String resourceGroupName, String stepName, com.azure.core.util.Context context) Deletes the step.Gets the step.com.azure.core.http.rest.Response<StepResource>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets the step.getByResourceGroup
(String resourceGroupName, String stepName) Gets the step.com.azure.core.http.rest.Response<StepResource>
getByResourceGroupWithResponse
(String resourceGroupName, String stepName, com.azure.core.util.Context context) Gets the step.Lists the steps in a resource group.com.azure.core.http.rest.Response<List<StepResource>>
listWithResponse
(String resourceGroupName, com.azure.core.util.Context context) Lists the steps in a resource group.
-
Method Details
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<StepResource> getByResourceGroupWithResponse(String resourceGroupName, String stepName, com.azure.core.util.Context context) Gets the step.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.stepName
- The name of the deployment step.context
- The context to associate with this operation.- Returns:
- the step 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.
-
getByResourceGroup
Gets the step.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.stepName
- The name of the deployment step.- Returns:
- the step.
- 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.
-
deleteByResourceGroupWithResponse
com.azure.core.http.rest.Response<Void> deleteByResourceGroupWithResponse(String resourceGroupName, String stepName, com.azure.core.util.Context context) Deletes the step.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.stepName
- The name of the deployment step.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.
-
deleteByResourceGroup
Deletes the step.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.stepName
- The name of the deployment step.- 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.
-
listWithResponse
com.azure.core.http.rest.Response<List<StepResource>> listWithResponse(String resourceGroupName, com.azure.core.util.Context context) Lists the steps in a resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- the list of steps 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.
-
list
Lists the steps in a resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- the list of steps.
- 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
Gets the step.- Parameters:
id
- the resource ID.- Returns:
- the step 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<StepResource> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets the step.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- the step 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
Deletes the step.- 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) Deletes the step.- 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 StepResource resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new StepResource definition.
-