class Azure::ServiceFabric::V7_0_0_42::Models::ApplicationResourceUpgradeProgressInfo

This type describes an application resource upgrade.

Attributes

application_upgrade_status_details[RW]

@return [String] Additional detailed information about the status of the pending upgrade.

failure_timestamp_utc[RW]

@return [String] The estimated UTC datetime when the upgrade failed and FailureAction was executed.

name[RW]

@return [String] Name of the Application resource.

percent_completed[RW]

@return [String] The estimated percent of replicas are completed in the upgrade.

rolling_upgrade_mode[RW]

@return [RollingUpgradeMode] The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored. Possible values include: 'Invalid', 'UnmonitoredAuto', 'UnmonitoredManual', 'Monitored'. Default value: 'Monitored' .

service_upgrade_progress[RW]

@return [Array<ServiceUpgradeProgress>] List of service upgrade progresses.

start_timestamp_utc[RW]

@return [String] The estimated UTC datetime when the upgrade started.

target_application_type_version[RW]

@return [String] The target application version for the application upgrade.

upgrade_duration[RW]

@return [String] 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. Default value: 'PT0H2M0S' .

upgrade_replica_set_check_timeout_in_seconds[RW]

@return [Integer] 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). Default value: 42949672925 .

upgrade_state[RW]

@return [ApplicationResourceUpgradeState] The state of the application resource upgrade. Possible values include: 'Invalid', 'ProvisioningTarget', 'RollingForward', 'UnprovisioningCurrent', 'CompletedRollforward', 'RollingBack', 'UnprovisioningTarget', 'CompletedRollback', 'Failed'

Private Class Methods

mapper() click to toggle source

Mapper for ApplicationResourceUpgradeProgressInfo class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/7.0.0.42/generated/azure_service_fabric/models/application_resource_upgrade_progress_info.rb, line 75
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationResourceUpgradeProgressInfo',
    type: {
      name: 'Composite',
      class_name: 'ApplicationResourceUpgradeProgressInfo',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Name',
          type: {
            name: 'String'
          }
        },
        target_application_type_version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'TargetApplicationTypeVersion',
          type: {
            name: 'String'
          }
        },
        start_timestamp_utc: {
          client_side_validation: true,
          required: false,
          serialized_name: 'StartTimestampUtc',
          type: {
            name: 'String'
          }
        },
        upgrade_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'UpgradeState',
          type: {
            name: 'String'
          }
        },
        percent_completed: {
          client_side_validation: true,
          required: false,
          serialized_name: 'PercentCompleted',
          type: {
            name: 'String'
          }
        },
        service_upgrade_progress: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServiceUpgradeProgress',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ServiceUpgradeProgressElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ServiceUpgradeProgress'
                }
            }
          }
        },
        rolling_upgrade_mode: {
          client_side_validation: true,
          required: false,
          serialized_name: 'RollingUpgradeMode',
          default_value: 'Monitored',
          type: {
            name: 'String'
          }
        },
        upgrade_duration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'UpgradeDuration',
          default_value: 'PT0H2M0S',
          type: {
            name: 'String'
          }
        },
        application_upgrade_status_details: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ApplicationUpgradeStatusDetails',
          type: {
            name: 'String'
          }
        },
        upgrade_replica_set_check_timeout_in_seconds: {
          client_side_validation: true,
          required: false,
          serialized_name: 'UpgradeReplicaSetCheckTimeoutInSeconds',
          default_value: 42949672925,
          type: {
            name: 'Number'
          }
        },
        failure_timestamp_utc: {
          client_side_validation: true,
          required: false,
          serialized_name: 'FailureTimestampUtc',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end