Source code for azure.mgmt.media.models.ip_access_control_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 IPAccessControl(Model): """The IP access control. :param allow: The IP allow list. :type allow: list[~azure.mgmt.media.models.IPRange] """ _attribute_map = { 'allow': {'key': 'allow', 'type': '[IPRange]'}, } def __init__(self, *, allow=None, **kwargs) -> None: super(IPAccessControl, self).__init__(**kwargs) self.allow = allow