Source code for azure.mgmt.edgegateway.models.authentication_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 Authentication(Model): """Authentication mechanism for IoT devices. :param symmetric_key: Symmetric key for authentication. :type symmetric_key: ~azure.mgmt.edgegateway.models.SymmetricKey """ _attribute_map = { 'symmetric_key': {'key': 'symmetricKey', 'type': 'SymmetricKey'}, } def __init__(self, *, symmetric_key=None, **kwargs) -> None: super(Authentication, self).__init__(**kwargs) self.symmetric_key = symmetric_key