Source code for azure.mgmt.datalake.analytics.account.models.add_storage_account_parameters_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 AddStorageAccountParameters(Model): """The parameters used to add a new Azure Storage account. All required parameters must be populated in order to send to Azure. :param access_key: Required. The access key associated with this Azure Storage account that will be used to connect to it. :type access_key: str :param suffix: The optional suffix for the storage account. :type suffix: str """ _validation = { 'access_key': {'required': True}, } _attribute_map = { 'access_key': {'key': 'properties.accessKey', 'type': 'str'}, 'suffix': {'key': 'properties.suffix', 'type': 'str'}, } def __init__(self, *, access_key: str, suffix: str=None, **kwargs) -> None: super(AddStorageAccountParameters, self).__init__(**kwargs) self.access_key = access_key self.suffix = suffix