Class StepGroup
java.lang.Object
com.azure.resourcemanager.deploymentmanager.models.StepGroup
The properties that define a Step group in a rollout.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the dependsOnStepGroups property: The list of step group names on which this step group depends on.Get the deploymentTargetId property: The resource Id of service unit to be deployed.name()
Get the name property: The name of the step group.Get the postDeploymentSteps property: The list of steps to be run after deploying the target.Get the preDeploymentSteps property: The list of steps to be run before deploying the target.void
validate()
Validates the instance.withDependsOnStepGroups
(List<String> dependsOnStepGroups) Set the dependsOnStepGroups property: The list of step group names on which this step group depends on.withDeploymentTargetId
(String deploymentTargetId) Set the deploymentTargetId property: The resource Id of service unit to be deployed.Set the name property: The name of the step group.withPostDeploymentSteps
(List<PrePostStep> postDeploymentSteps) Set the postDeploymentSteps property: The list of steps to be run after deploying the target.withPreDeploymentSteps
(List<PrePostStep> preDeploymentSteps) Set the preDeploymentSteps property: The list of steps to be run before deploying the target.
-
Constructor Details
-
StepGroup
public StepGroup()Creates an instance of StepGroup class.
-
-
Method Details
-
name
Get the name property: The name of the step group.- Returns:
- the name value.
-
withName
Set the name property: The name of the step group.- Parameters:
name
- the name value to set.- Returns:
- the StepGroup object itself.
-
dependsOnStepGroups
Get the dependsOnStepGroups property: The list of step group names on which this step group depends on.- Returns:
- the dependsOnStepGroups value.
-
withDependsOnStepGroups
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
Get the preDeploymentSteps property: The list of steps to be run before deploying the target.- Returns:
- the preDeploymentSteps value.
-
withPreDeploymentSteps
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
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
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
Get the postDeploymentSteps property: The list of steps to be run after deploying the target.- Returns:
- the postDeploymentSteps value.
-
withPostDeploymentSteps
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.
-