class Azure::ServiceFabric::V6_2_0_9::Models::ClusterConfigurationUpgradeDescription

Describes the parameters for a standalone cluster configuration upgrade.

Attributes

cluster_config[RW]

@return [String] The cluster configuration.

health_check_retry_timeout[RW]

@return [Duration] The length of time between attempts to perform a health checks if the application or cluster is not healthy. Default value: Date.parse('PT0H0M0S') .

health_check_stable_duration_in_seconds[RW]

@return [Duration] The length of time that the application or cluster must remain healthy. Default value: Date.parse('PT0H0M0S') .

health_check_wait_duration_in_seconds[RW]

@return [Duration] The length of time to wait after completing an upgrade domain before starting the health checks process. Default value: Date.parse('PT0H0M0S') .

max_percent_delta_unhealthy_nodes[RW]

@return [Integer] The maximum allowed percentage of delta health degradation during the upgrade. Allowed values are integer values from zero to 100. Default value: 0 .

max_percent_unhealthy_applications[RW]

@return [Integer] The maximum allowed percentage of unhealthy applications during the upgrade. Allowed values are integer values from zero to 100. Default value: 0 .

max_percent_unhealthy_nodes[RW]

@return [Integer] The maximum allowed percentage of unhealthy nodes during the upgrade. Allowed values are integer values from zero to 100. Default value: 0 .

max_percent_upgrade_domain_delta_unhealthy_nodes[RW]

@return [Integer] The maximum allowed percentage of upgrade domain delta health degradation during the upgrade. Allowed values are integer values from zero to 100. Default value: 0 .

upgrade_domain_timeout_in_seconds[RW]

@return [Duration] The timeout for the upgrade domain. Default value: Date.parse('PT0H0M0S') .

upgrade_timeout_in_seconds[RW]

@return [Duration] The upgrade timeout. Default value: Date.parse('PT0H0M0S') .

Public Class Methods

mapper() click to toggle source

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

# File lib/6.2.0.9/generated/azure_service_fabric/models/cluster_configuration_upgrade_description.rb, line 65
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ClusterConfigurationUpgradeDescription',
    type: {
      name: 'Composite',
      class_name: 'ClusterConfigurationUpgradeDescription',
      model_properties: {
        cluster_config: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ClusterConfig',
          type: {
            name: 'String'
          }
        },
        health_check_retry_timeout: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HealthCheckRetryTimeout',
          default_value: Date.parse('PT0H0M0S'),
          type: {
            name: 'TimeSpan'
          }
        },
        health_check_wait_duration_in_seconds: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HealthCheckWaitDurationInSeconds',
          default_value: Date.parse('PT0H0M0S'),
          type: {
            name: 'TimeSpan'
          }
        },
        health_check_stable_duration_in_seconds: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HealthCheckStableDurationInSeconds',
          default_value: Date.parse('PT0H0M0S'),
          type: {
            name: 'TimeSpan'
          }
        },
        upgrade_domain_timeout_in_seconds: {
          client_side_validation: true,
          required: false,
          serialized_name: 'UpgradeDomainTimeoutInSeconds',
          default_value: Date.parse('PT0H0M0S'),
          type: {
            name: 'TimeSpan'
          }
        },
        upgrade_timeout_in_seconds: {
          client_side_validation: true,
          required: false,
          serialized_name: 'UpgradeTimeoutInSeconds',
          default_value: Date.parse('PT0H0M0S'),
          type: {
            name: 'TimeSpan'
          }
        },
        max_percent_unhealthy_applications: {
          client_side_validation: true,
          required: false,
          serialized_name: 'MaxPercentUnhealthyApplications',
          default_value: 0,
          type: {
            name: 'Number'
          }
        },
        max_percent_unhealthy_nodes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'MaxPercentUnhealthyNodes',
          default_value: 0,
          type: {
            name: 'Number'
          }
        },
        max_percent_delta_unhealthy_nodes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'MaxPercentDeltaUnhealthyNodes',
          default_value: 0,
          type: {
            name: 'Number'
          }
        },
        max_percent_upgrade_domain_delta_unhealthy_nodes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'MaxPercentUpgradeDomainDeltaUnhealthyNodes',
          default_value: 0,
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end