public interface StepsClient
An instance of this class provides access to all the operations defined in StepsClient.
  • 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

      StepResourceInner createOrUpdate(String resourceGroupName, String stepName)
      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

      StepResourceInner getByResourceGroup(String resourceGroupName, String stepName)
      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

      void delete(String resourceGroupName, String stepName)
      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

      List<StepResourceInner> list(String resourceGroupName)
      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.