# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ServiceFabric::Mgmt::V2017_07_01_preview module Models # # The policy used for monitoring the application upgrade # class RollingUpgradeMonitoringPolicy include MsRestAzure # @return [String] attr_accessor :health_check_wait_duration # @return [String] attr_accessor :health_check_stable_duration # @return [String] attr_accessor :health_check_retry_timeout # @return [String] attr_accessor :upgrade_timeout # @return [String] attr_accessor :upgrade_domain_timeout # # Mapper for RollingUpgradeMonitoringPolicy class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RollingUpgradeMonitoringPolicy', type: { name: 'Composite', class_name: 'RollingUpgradeMonitoringPolicy', model_properties: { health_check_wait_duration: { client_side_validation: true, required: false, serialized_name: 'healthCheckWaitDuration', type: { name: 'String' } }, health_check_stable_duration: { client_side_validation: true, required: false, serialized_name: 'healthCheckStableDuration', type: { name: 'String' } }, health_check_retry_timeout: { client_side_validation: true, required: false, serialized_name: 'healthCheckRetryTimeout', type: { name: 'String' } }, upgrade_timeout: { client_side_validation: true, required: false, serialized_name: 'upgradeTimeout', type: { name: 'String' } }, upgrade_domain_timeout: { client_side_validation: true, required: false, serialized_name: 'upgradeDomainTimeout', type: { name: 'String' } } } } } end end end end