Source code for azure.mgmt.sql.models.server_dns_alias_acquisition_py3

# 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


[docs]class ServerDnsAliasAcquisition(Model): """A server DNS alias acquisition request. :param old_server_dns_alias_id: The id of the server alias that will be acquired to point to this server instead. :type old_server_dns_alias_id: str """ _attribute_map = { 'old_server_dns_alias_id': {'key': 'oldServerDnsAliasId', 'type': 'str'}, } def __init__(self, *, old_server_dns_alias_id: str=None, **kwargs) -> None: super(ServerDnsAliasAcquisition, self).__init__(**kwargs) self.old_server_dns_alias_id = old_server_dns_alias_id