java.lang.Object
com.azure.resourcemanager.deploymentmanager.fluent.models.RolloutRequestProperties
com.azure.resourcemanager.deploymentmanager.fluent.models.RolloutProperties

public final class RolloutProperties extends RolloutRequestProperties
The properties that define a rollout.
  • Constructor Details

    • RolloutProperties

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

    • status

      public String status()
      Get the status property: The current status of the rollout.
      Returns:
      the status value.
    • totalRetryAttempts

      public Integer totalRetryAttempts()
      Get the totalRetryAttempts property: The cardinal count of total number of retries performed on the rollout at a given time.
      Returns:
      the totalRetryAttempts value.
    • operationInfo

      public RolloutOperationInfo operationInfo()
      Get the operationInfo property: Operational information of the rollout.
      Returns:
      the operationInfo value.
    • services

      public List<Service> services()
      Get the services property: The detailed information on the services being deployed.
      Returns:
      the services value.
    • withBuildVersion

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

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

      public RolloutProperties 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.
      Overrides:
      withTargetServiceTopologyId in class RolloutRequestProperties
      Parameters:
      targetServiceTopologyId - the targetServiceTopologyId value to set.
      Returns:
      the RolloutRequestProperties object itself.
    • withStepGroups

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

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