# 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 StreamingEndpointAccessControl(Model):
"""StreamingEndpoint access control definition.
:param akamai: The access control of Akamai
:type akamai: ~azure.mgmt.media.models.AkamaiAccessControl
:param ip: The IP access control of the StreamingEndpoint.
:type ip: ~azure.mgmt.media.models.IPAccessControl
"""
_attribute_map = {
'akamai': {'key': 'akamai', 'type': 'AkamaiAccessControl'},
'ip': {'key': 'ip', 'type': 'IPAccessControl'},
}
def __init__(self, *, akamai=None, ip=None, **kwargs) -> None:
super(StreamingEndpointAccessControl, self).__init__(**kwargs)
self.akamai = akamai
self.ip = ip