class Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReadWriteEndpoint
Read-write endpoint of the failover group instance.
Attributes
failover_policy[RW]
@return [ReadWriteEndpointFailoverPolicy] Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required. Possible values include: 'Manual', 'Automatic'
failover_with_data_loss_grace_period_minutes[RW]
@return [Integer] Grace period before failover with data loss is attempted for the read-write endpoint. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.
Private Class Methods
mapper()
click to toggle source
Mapper for FailoverGroupReadWriteEndpoint
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2015-05-01-preview/generated/azure_mgmt_sql/models/failover_group_read_write_endpoint.rb, line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'FailoverGroupReadWriteEndpoint', type: { name: 'Composite', class_name: 'FailoverGroupReadWriteEndpoint', model_properties: { failover_policy: { client_side_validation: true, required: true, serialized_name: 'failoverPolicy', type: { name: 'String' } }, failover_with_data_loss_grace_period_minutes: { client_side_validation: true, required: false, serialized_name: 'failoverWithDataLossGracePeriodMinutes', type: { name: 'Number' } } } } } end