Source code for azure.mgmt.cdn.models.validate_custom_domain_input

# 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 ValidateCustomDomainInput(Model): """Input of the custom domain to be validated. :param host_name: The host name of the custom domain. Must be a domain name. :type host_name: str """ _validation = { 'host_name': {'required': True}, } _attribute_map = { 'host_name': {'key': 'hostName', 'type': 'str'}, } def __init__(self, host_name): self.host_name = host_name