Class: Azure::Cosmosdb::Mgmt::V2015_04_08::Models::FailoverPolicies
- Inherits:
-
Object
- Object
- Azure::Cosmosdb::Mgmt::V2015_04_08::Models::FailoverPolicies
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/failover_policies.rb
Overview
The list of new failover policies for the failover priority change.
Instance Attribute Summary collapse
-
#failover_policies ⇒ Array<FailoverPolicy>
List of failover policies.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for FailoverPolicies class as Ruby Hash.
Instance Attribute Details
#failover_policies ⇒ Array<FailoverPolicy>
Returns List of failover policies.
16 17 18 |
# File 'lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/failover_policies.rb', line 16 def failover_policies @failover_policies end |
Class Method Details
.mapper ⇒ Object
Mapper for FailoverPolicies class as Ruby Hash. This will be used for serialization/deserialization.
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/2015-04-08/generated/azure_mgmt_cosmosdb/models/failover_policies.rb', line 23 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'FailoverPolicies', type: { name: 'Composite', class_name: 'FailoverPolicies', model_properties: { failover_policies: { client_side_validation: true, required: true, serialized_name: 'failoverPolicies', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'FailoverPolicyElementType', type: { name: 'Composite', class_name: 'FailoverPolicy' } } } } } } } end |