Class RollingUpgradeStatusInfoInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.compute.fluent.models.RollingUpgradeStatusInfoInner
-
public final class RollingUpgradeStatusInfoInner extends com.azure.core.management.ResourceThe status of the latest virtual machine scale set rolling upgrade.
-
-
Constructor Summary
Constructors Constructor Description RollingUpgradeStatusInfoInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiErrorerror()Get the error property: Error details for this upgrade, if there are any.RollingUpgradePolicypolicy()Get the policy property: The rolling upgrade policies applied for this upgrade.RollingUpgradeProgressInfoprogress()Get the progress property: Information about the number of virtual machine instances in each upgrade state.RollingUpgradeRunningStatusrunningStatus()Get the runningStatus property: Information about the current running state of the overall upgrade.voidvalidate()Validates the instance.RollingUpgradeStatusInfoInnerwithLocation(String location)RollingUpgradeStatusInfoInnerwithTags(Map<String,String> tags)
-
-
-
Method Detail
-
withLocation
public RollingUpgradeStatusInfoInner withLocation(String location)
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
public RollingUpgradeStatusInfoInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
policy
public RollingUpgradePolicy policy()
Get the policy property: The rolling upgrade policies applied for this upgrade.- Returns:
- the policy value.
-
runningStatus
public RollingUpgradeRunningStatus runningStatus()
Get the runningStatus property: Information about the current running state of the overall upgrade.- Returns:
- the runningStatus value.
-
progress
public RollingUpgradeProgressInfo progress()
Get the progress property: Information about the number of virtual machine instances in each upgrade state.- Returns:
- the progress value.
-
error
public ApiError error()
Get the error property: Error details for this upgrade, if there are any.- Returns:
- the error value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-