Interface StepsClient
public interface StepsClient
An instance of this class provides access to all the operations defined in StepsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceGroupName, String stepName) Creates or updates a rollout step with the given step properties.com.azure.core.http.rest.Response<StepResourceInner>
createOrUpdateWithResponse
(String resourceGroupName, String stepName, StepResourceInner stepInfo, com.azure.core.util.Context context) Creates or updates a rollout step with the given step properties.void
Deletes the step.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String stepName, com.azure.core.util.Context context) Deletes the step.getByResourceGroup
(String resourceGroupName, String stepName) Gets the step.com.azure.core.http.rest.Response<StepResourceInner>
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<StepResourceInner>>
listWithResponse
(String resourceGroupName, com.azure.core.util.Context context) Lists the steps in a resource group.
-
Method Details
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<StepResourceInner> createOrUpdateWithResponse(String resourceGroupName, String stepName, StepResourceInner stepInfo, com.azure.core.util.Context context) Creates or updates a rollout step with the given step properties.Synchronously creates a new step or updates an existing step.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.stepName
- The name of the deployment step.stepInfo
- The step object.context
- The context to associate with this operation.- Returns:
- the resource representation of a rollout 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.
-
createOrUpdate
Creates or updates a rollout step with the given step properties.Synchronously creates a new step or updates an existing step.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.stepName
- The name of the deployment step.- Returns:
- the resource representation of a rollout 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<StepResourceInner> 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(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.
-
delete
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<StepResourceInner>> 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.
-