ApplicationResourceUpgradeProgressInfo

This type describes an application resource upgrade.

Properties

Name Type Required
Name string No
TargetApplicationTypeVersion string No
StartTimestampUtc string No
UpgradeState string (enum) No
PercentCompleted string No
ServiceUpgradeProgress array of ServiceUpgradeProgress No
RollingUpgradeMode string (enum) No
UpgradeDuration string No
ApplicationUpgradeStatusDetails string No
UpgradeReplicaSetCheckTimeoutInSeconds integer (int64) No
FailureTimestampUtc string No

Name

Type: string
Required: No

Name of the Application resource.


TargetApplicationTypeVersion

Type: string
Required: No

The target application version for the application upgrade.


StartTimestampUtc

Type: string
Required: No

The estimated UTC datetime when the upgrade started.


UpgradeState

Type: string (enum)
Required: No

The state of the application resource upgrade.

Possible values are:

  • Invalid - Indicates the upgrade state is invalid. All Service Fabric enumerations have the invalid type. The value is 0.
  • ProvisioningTarget - The upgrade is in the progress of provisioning target application type version. The value is 1.
  • RollingForward - The upgrade is rolling forward to the target version but is not complete yet. The value is 2.
  • UnprovisioningCurrent - The upgrade is in the progress of unprovisioning current application type version and rolling forward to the target version is completed. The value is 3.
  • CompletedRollforward - The upgrade has finished rolling forward. The value is 4.
  • RollingBack - The upgrade is rolling back to the previous version but is not complete yet. The value is 5.
  • UnprovisioningTarget - The upgrade is in the progress of unprovisioning target application type version and rolling back to the current version is completed. The value is 6.
  • CompletedRollback - The upgrade has finished rolling back. The value is 7.
  • Failed - The upgrade has failed and is unable to execute FailureAction. The value is 8.

PercentCompleted

Type: string
Required: No

The estimated percent of replicas are completed in the upgrade.


ServiceUpgradeProgress

Type: array of ServiceUpgradeProgress
Required: No

List of service upgrade progresses.


RollingUpgradeMode

Type: string (enum)
Required: No
Default: Monitored

The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored.

Possible values are:

  • Invalid - Indicates the upgrade mode is invalid. All Service Fabric enumerations have the invalid type. The value is zero.
  • UnmonitoredAuto - The upgrade will proceed automatically without performing any health monitoring. The value is 1
  • UnmonitoredManual - The upgrade will stop after completing each upgrade domain, giving the opportunity to manually monitor health before proceeding. The value is 2
  • Monitored - The upgrade will stop after completing each upgrade domain and automatically monitor health before proceeding. The value is 3

UpgradeDuration

Type: string
Required: No
Default: PT0H2M0S

The estimated amount of time that the overall upgrade elapsed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.


ApplicationUpgradeStatusDetails

Type: string
Required: No

Additional detailed information about the status of the pending upgrade.


UpgradeReplicaSetCheckTimeoutInSeconds

Type: integer (int64)
Required: No
Default: 42949672925

The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer).


FailureTimestampUtc

Type: string
Required: No

The estimated UTC datetime when the upgrade failed and FailureAction was executed.