java.lang.Object
com.azure.resourcemanager.deploymentmanager.models.StepGroup

public final class StepGroup extends Object
The properties that define a Step group in a rollout.
  • Constructor Details

    • StepGroup

      public StepGroup()
      Creates an instance of StepGroup class.
  • Method Details

    • name

      public String name()
      Get the name property: The name of the step group.
      Returns:
      the name value.
    • withName

      public StepGroup withName(String name)
      Set the name property: The name of the step group.
      Parameters:
      name - the name value to set.
      Returns:
      the StepGroup object itself.
    • dependsOnStepGroups

      public List<String> dependsOnStepGroups()
      Get the dependsOnStepGroups property: The list of step group names on which this step group depends on.
      Returns:
      the dependsOnStepGroups value.
    • withDependsOnStepGroups

      public StepGroup withDependsOnStepGroups(List<String> dependsOnStepGroups)
      Set the dependsOnStepGroups property: The list of step group names on which this step group depends on.
      Parameters:
      dependsOnStepGroups - the dependsOnStepGroups value to set.
      Returns:
      the StepGroup object itself.
    • preDeploymentSteps

      public List<PrePostStep> preDeploymentSteps()
      Get the preDeploymentSteps property: The list of steps to be run before deploying the target.
      Returns:
      the preDeploymentSteps value.
    • withPreDeploymentSteps

      public StepGroup withPreDeploymentSteps(List<PrePostStep> preDeploymentSteps)
      Set the preDeploymentSteps property: The list of steps to be run before deploying the target.
      Parameters:
      preDeploymentSteps - the preDeploymentSteps value to set.
      Returns:
      the StepGroup object itself.
    • deploymentTargetId

      public String deploymentTargetId()
      Get the deploymentTargetId property: The resource Id of service unit to be deployed. The service unit should be from the service topology referenced in targetServiceTopologyId.
      Returns:
      the deploymentTargetId value.
    • withDeploymentTargetId

      public StepGroup withDeploymentTargetId(String deploymentTargetId)
      Set the deploymentTargetId property: The resource Id of service unit to be deployed. The service unit should be from the service topology referenced in targetServiceTopologyId.
      Parameters:
      deploymentTargetId - the deploymentTargetId value to set.
      Returns:
      the StepGroup object itself.
    • postDeploymentSteps

      public List<PrePostStep> postDeploymentSteps()
      Get the postDeploymentSteps property: The list of steps to be run after deploying the target.
      Returns:
      the postDeploymentSteps value.
    • withPostDeploymentSteps

      public StepGroup withPostDeploymentSteps(List<PrePostStep> postDeploymentSteps)
      Set the postDeploymentSteps property: The list of steps to be run after deploying the target.
      Parameters:
      postDeploymentSteps - the postDeploymentSteps value to set.
      Returns:
      the StepGroup object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.