Class RolloutRequestInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.deploymentmanager.fluent.models.RolloutRequestInner
public final class RolloutRequestInner
extends com.azure.core.management.Resource
Defines the PUT rollout request body.
-
Constructor Summary
-
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.identity()
Get the identity property: Identity for the resource.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.withIdentity
(Identity identity) Set the identity property: Identity for the resource.withLocation
(String location) 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.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
RolloutRequestInner
public RolloutRequestInner()Creates an instance of RolloutRequestInner class.
-
-
Method Details
-
identity
Get the identity property: Identity for the resource.- Returns:
- the identity value.
-
withIdentity
Set the identity property: Identity for the resource.- Parameters:
identity
- the identity value to set.- Returns:
- the RolloutRequestInner object itself.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
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 RolloutRequestInner 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 RolloutRequestInner 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 RolloutRequestInner 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 RolloutRequestInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-