Class RolloutRequestProperties

java.lang.Object
com.azure.resourcemanager.deploymentmanager.fluent.models.RolloutRequestProperties
Direct Known Subclasses:
RolloutProperties

public class RolloutRequestProperties extends Object
The properties for defining a rollout.
  • Constructor Details

    • RolloutRequestProperties

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

    • buildVersion

      public String buildVersion()
      Get the buildVersion property: The version of the build being deployed.
      Returns:
      the buildVersion value.
    • withBuildVersion

      public RolloutRequestProperties withBuildVersion(String buildVersion)
      Set the buildVersion property: The version of the build being deployed.
      Parameters:
      buildVersion - the buildVersion value to set.
      Returns:
      the RolloutRequestProperties object itself.
    • artifactSourceId

      public String artifactSourceId()
      Get the artifactSourceId property: The reference to the artifact source resource Id where the payload is located.
      Returns:
      the artifactSourceId value.
    • withArtifactSourceId

      public RolloutRequestProperties withArtifactSourceId(String artifactSourceId)
      Set the artifactSourceId property: The reference to the artifact source resource Id where the payload is located.
      Parameters:
      artifactSourceId - the artifactSourceId value to set.
      Returns:
      the RolloutRequestProperties object itself.
    • targetServiceTopologyId

      public String targetServiceTopologyId()
      Get the targetServiceTopologyId property: The resource Id of the service topology from which service units are being referenced in step groups to be deployed.
      Returns:
      the targetServiceTopologyId value.
    • withTargetServiceTopologyId

      public RolloutRequestProperties withTargetServiceTopologyId(String targetServiceTopologyId)
      Set the targetServiceTopologyId property: The resource Id of the service topology from which service units are being referenced in step groups to be deployed.
      Parameters:
      targetServiceTopologyId - the targetServiceTopologyId value to set.
      Returns:
      the RolloutRequestProperties object itself.
    • stepGroups

      public List<StepGroup> stepGroups()
      Get the stepGroups property: The list of step groups that define the orchestration.
      Returns:
      the stepGroups value.
    • withStepGroups

      public RolloutRequestProperties withStepGroups(List<StepGroup> stepGroups)
      Set the stepGroups property: The list of step groups that define the orchestration.
      Parameters:
      stepGroups - the stepGroups value to set.
      Returns:
      the RolloutRequestProperties object itself.
    • validate

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