class Azure::SQL::Mgmt::V2017_10_01_preview::Models::PartnerRegionInfo

Partner region information for the failover group.

Attributes

location[RW]

@return [String] Geo location of the partner managed instances.

replication_role[RW]

@return [InstanceFailoverGroupReplicationRole] Replication role of the partner managed instances. Possible values include: 'Primary', 'Secondary'

Private Class Methods

mapper() click to toggle source

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

# 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