Class RolloutRequestProperties
java.lang.Object
com.azure.resourcemanager.deploymentmanager.fluent.models.RolloutRequestProperties
- Direct Known Subclasses:
RolloutProperties
The properties for defining a rollout.
-
Constructor Summary
ConstructorDescriptionCreates an instance of RolloutRequestProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the artifactSourceId property: The reference to the artifact source resource Id where the payload is located.Get the buildVersion property: The version of the build being deployed.Get the stepGroups property: The list of step groups that define the orchestration.Get the targetServiceTopologyId property: The resource Id of the service topology from which service units are being referenced in step groups to be deployed.void
validate()
Validates the instance.withArtifactSourceId
(String artifactSourceId) Set the artifactSourceId property: The reference to the artifact source resource Id where the payload is located.withBuildVersion
(String buildVersion) Set the buildVersion property: The version of the build being deployed.withStepGroups
(List<StepGroup> stepGroups) Set the stepGroups property: The list of step groups that define the orchestration.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.
-
Constructor Details
-
RolloutRequestProperties
public RolloutRequestProperties()Creates an instance of RolloutRequestProperties class.
-
-
Method Details
-
buildVersion
Get the buildVersion property: The version of the build being deployed.- Returns:
- the buildVersion value.
-
withBuildVersion
Set the buildVersion property: The version of the build being deployed.- Parameters:
buildVersion
- the buildVersion value to set.- Returns:
- the RolloutRequestProperties object itself.
-
artifactSourceId
Get the artifactSourceId property: The reference to the artifact source resource Id where the payload is located.- Returns:
- the artifactSourceId value.
-
withArtifactSourceId
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
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
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
Get the stepGroups property: The list of step groups that define the orchestration.- Returns:
- the stepGroups value.
-
withStepGroups
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.
-