Class: Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationDeltaHealthPolicy
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationDeltaHealthPolicy
- 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
-
#default_service_type_delta_health_policy ⇒ ServiceTypeDeltaHealthPolicy
default to evaluate the health of a service type when upgrading the cluster.
-
#service_type_delta_health_policies ⇒ Hash{String => ServiceTypeDeltaHealthPolicy}
service type delta health policy per service type name.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ApplicationDeltaHealthPolicy class as Ruby Hash.
Instance Attribute Details
#default_service_type_delta_health_policy ⇒ ServiceTypeDeltaHealthPolicy
default to evaluate the health of a service type when upgrading the cluster.
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_policies ⇒ Hash{String => ServiceTypeDeltaHealthPolicy}
service type delta health policy per service type name. The map is empty by default.
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
.mapper ⇒ Object
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 |