Class RolloutProperties
java.lang.Object
com.azure.resourcemanager.deploymentmanager.fluent.models.RolloutRequestProperties
com.azure.resourcemanager.deploymentmanager.fluent.models.RolloutProperties
The properties that define a rollout.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the operationInfo property: Operational information of the rollout.services()
Get the services property: The detailed information on the services being deployed.status()
Get the status property: The current status of the rollout.Get the totalRetryAttempts property: The cardinal count of total number of retries performed on the rollout at a given time.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.Methods inherited from class com.azure.resourcemanager.deploymentmanager.fluent.models.RolloutRequestProperties
artifactSourceId, buildVersion, stepGroups, targetServiceTopologyId
-
Constructor Details
-
RolloutProperties
public RolloutProperties()Creates an instance of RolloutProperties class.
-
-
Method Details
-
status
Get the status property: The current status of the rollout.- Returns:
- the status value.
-
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
Get the operationInfo property: Operational information of the rollout.- Returns:
- the operationInfo value.
-
services
Get the services property: The detailed information on the services being deployed.- Returns:
- the services value.
-
withBuildVersion
Set the buildVersion property: The version of the build being deployed.- Overrides:
withBuildVersion
in classRolloutRequestProperties
- Parameters:
buildVersion
- the buildVersion value to set.- Returns:
- the RolloutRequestProperties object itself.
-
withArtifactSourceId
Set the artifactSourceId property: The reference to the artifact source resource Id where the payload is located.- Overrides:
withArtifactSourceId
in classRolloutRequestProperties
- Parameters:
artifactSourceId
- the artifactSourceId value to set.- Returns:
- the RolloutRequestProperties object itself.
-
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.- Overrides:
withTargetServiceTopologyId
in classRolloutRequestProperties
- Parameters:
targetServiceTopologyId
- the targetServiceTopologyId value to set.- Returns:
- the RolloutRequestProperties object itself.
-
withStepGroups
Set the stepGroups property: The list of step groups that define the orchestration.- Overrides:
withStepGroups
in classRolloutRequestProperties
- Parameters:
stepGroups
- the stepGroups value to set.- Returns:
- the RolloutRequestProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classRolloutRequestProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-