Class: Azure::SQL::Mgmt::V2017_10_01_preview::Models::PartnerRegionInfo
- Inherits:
-
Object
- Object
- Azure::SQL::Mgmt::V2017_10_01_preview::Models::PartnerRegionInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-10-01-preview/generated/azure_mgmt_sql/models/partner_region_info.rb
Overview
Partner region information for the failover group.
Instance Attribute Summary collapse
-
#location ⇒ String
Geo location of the partner managed instances.
-
#replication_role ⇒ InstanceFailoverGroupReplicationRole
partner managed instances.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PartnerRegionInfo class as Ruby Hash.
Instance Attribute Details
#location ⇒ String
Returns Geo location of the partner managed instances.
16 17 18 |
# File 'lib/2017-10-01-preview/generated/azure_mgmt_sql/models/partner_region_info.rb', line 16 def location @location end |
#replication_role ⇒ InstanceFailoverGroupReplicationRole
partner managed instances. Possible values include: ‘Primary’, ‘Secondary’
21 22 23 |
# File 'lib/2017-10-01-preview/generated/azure_mgmt_sql/models/partner_region_info.rb', line 21 def replication_role @replication_role end |
Class Method Details
.mapper ⇒ Object
Mapper for PartnerRegionInfo class as Ruby Hash. This will be used for serialization/deserialization.
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 53 54 55 56 57 |
# File 'lib/2017-10-01-preview/generated/azure_mgmt_sql/models/partner_region_info.rb', line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PartnerRegionInfo', type: { name: 'Composite', class_name: 'PartnerRegionInfo', model_properties: { location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, replication_role: { client_side_validation: true, required: false, read_only: true, serialized_name: 'replicationRole', type: { name: 'String' } } } } } end |