Class: Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationDeltaHealthPolicy

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-02-01/generated/azure_mgmt_service_fabric/models/application_delta_health_policy.rb

Overview

Defines a delta health policy used to evaluate the health of an application or one of its child entities when upgrading the cluster.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#default_service_type_delta_health_policyServiceTypeDeltaHealthPolicy

default to evaluate the health of a service type when upgrading the cluster.

Returns:



20
21
22
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/application_delta_health_policy.rb', line 20

def default_service_type_delta_health_policy
  @default_service_type_delta_health_policy
end

#service_type_delta_health_policiesHash{String => ServiceTypeDeltaHealthPolicy}

service type delta health policy per service type name. The map is empty by default.

Returns:



25
26
27
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/application_delta_health_policy.rb', line 25

def service_type_delta_health_policies
  @service_type_delta_health_policies
end

Class Method Details

.mapperObject

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



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/application_delta_health_policy.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationDeltaHealthPolicy',
    type: {
      name: 'Composite',
      class_name: 'ApplicationDeltaHealthPolicy',
      model_properties: {
        default_service_type_delta_health_policy: {
          client_side_validation: true,
          required: false,
          serialized_name: 'defaultServiceTypeDeltaHealthPolicy',
          type: {
            name: 'Composite',
            class_name: 'ServiceTypeDeltaHealthPolicy'
          }
        },
        service_type_delta_health_policies: {
          client_side_validation: true,
          required: false,
          serialized_name: 'serviceTypeDeltaHealthPolicies',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ServiceTypeDeltaHealthPolicyElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ServiceTypeDeltaHealthPolicy'
                }
            }
          }
        }
      }
    }
  }
end