class Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLink
Represents a database replication link.
Attributes
@return [Boolean] Legacy value indicating whether termination is allowed. Currently always returns true.
@return [String] Location of the server that contains this firewall rule.
@return [String] The name of the partner database.
@return [String] The Azure
Region of the partner database.
@return [ReplicationRole] The role of the partner database in the replication link. Possible values include: 'Primary', 'Secondary', 'NonReadableSecondary', 'Source', 'Copy'
@return [String] The name of the server hosting the partner database.
@return [Integer] The percentage of seeding complete for the replication link.
@return [String] Replication mode of this replication link.
@return [ReplicationState] The replication state for the replication link. Possible values include: 'PENDING', 'SEEDING', 'CATCH_UP', 'SUSPENDED'
@return [ReplicationRole] The role of the database in the replication link. Possible values include: 'Primary', 'Secondary', 'NonReadableSecondary', 'Source', 'Copy'
@return [DateTime] The start time for the replication link.
Private Class Methods
Mapper for ReplicationLink
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2014-04-01/generated/azure_mgmt_sql/models/replication_link.rb, line 62 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ReplicationLink', type: { name: 'Composite', class_name: 'ReplicationLink', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, location: { client_side_validation: true, required: false, read_only: true, serialized_name: 'location', type: { name: 'String' } }, is_termination_allowed: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.isTerminationAllowed', type: { name: 'Boolean' } }, replication_mode: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.replicationMode', type: { name: 'String' } }, partner_server: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.partnerServer', type: { name: 'String' } }, partner_database: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.partnerDatabase', type: { name: 'String' } }, partner_location: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.partnerLocation', type: { name: 'String' } }, role: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.role', type: { name: 'Enum', module: 'ReplicationRole' } }, partner_role: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.partnerRole', type: { name: 'Enum', module: 'ReplicationRole' } }, start_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.startTime', type: { name: 'DateTime' } }, percent_complete: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.percentComplete', type: { name: 'Number' } }, replication_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.replicationState', type: { name: 'String' } } } } } end