# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


class FailoverGroupReadOnlyEndpoint(Model):
    """Read-only endpoint of the failover group instance.

    :param failover_policy: Failover policy of the read-only endpoint for the
     failover group. Possible values include: 'Disabled', 'Enabled'
    :type failover_policy: str or :class:`ReadOnlyEndpointFailoverPolicy
     <azure.mgmt.sql.models.ReadOnlyEndpointFailoverPolicy>`
    """

    _attribute_map = {
        'failover_policy': {'key': 'failoverPolicy', 'type': 'str'},
    }

    def __init__(self, failover_policy=None):
        self.failover_policy = failover_policy
