class Azure::Synapse::Mgmt::V2019_06_01_preview::Models::ReplicationLink

Represents a Sql pool replication link.

Attributes

is_termination_allowed[RW]

@return [Boolean] Legacy value indicating whether termination is allowed. Currently always returns true.

location[RW]

@return [String] Location of the workspace that contains this firewall rule.

partner_database[RW]

@return [String] The name of the partner Sql pool.

partner_location[RW]

@return [String] The Azure Region of the partner Sql pool.

partner_role[RW]

@return [ReplicationRole] The role of the partner Sql pool in the replication link. Possible values include: 'Primary', 'Secondary', 'NonReadableSecondary', 'Source', 'Copy'

partner_server[RW]

@return [String] The name of the workspace hosting the partner Sql pool.

percent_complete[RW]

@return [Integer] The percentage of seeding complete for the replication link.

replication_mode[RW]

@return [String] Replication mode of this replication link.

replication_state[RW]

@return [ReplicationState] The replication state for the replication link. Possible values include: 'PENDING', 'SEEDING', 'CATCH_UP', 'SUSPENDED'

role[RW]

@return [ReplicationRole] The role of the Sql pool in the replication link. Possible values include: 'Primary', 'Secondary', 'NonReadableSecondary', 'Source', 'Copy'

start_time[RW]

@return [DateTime] The start time for the replication link.

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/replication_link.rb, line 63
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