Source code for azure.mgmt.notificationhubs.models.resource_list_keys_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 ResourceListKeys(Model): """Namespace/NotificationHub Connection String. :param primary_connection_string: PrimaryConnectionString of the AuthorizationRule. :type primary_connection_string: str :param secondary_connection_string: SecondaryConnectionString of the created AuthorizationRule :type secondary_connection_string: str :param primary_key: PrimaryKey of the created AuthorizationRule. :type primary_key: str :param secondary_key: SecondaryKey of the created AuthorizationRule :type secondary_key: str :param key_name: KeyName of the created AuthorizationRule :type key_name: str """ _attribute_map = { 'primary_connection_string': {'key': 'primaryConnectionString', 'type': 'str'}, 'secondary_connection_string': {'key': 'secondaryConnectionString', 'type': 'str'}, 'primary_key': {'key': 'primaryKey', 'type': 'str'}, 'secondary_key': {'key': 'secondaryKey', 'type': 'str'}, 'key_name': {'key': 'keyName', 'type': 'str'}, } def __init__(self, *, primary_connection_string: str=None, secondary_connection_string: str=None, primary_key: str=None, secondary_key: str=None, key_name: str=None, **kwargs) -> None: super(ResourceListKeys, self).__init__(**kwargs) self.primary_connection_string = primary_connection_string self.secondary_connection_string = secondary_connection_string self.primary_key = primary_key self.secondary_key = secondary_key self.key_name = key_name