|
| 1 | +# coding=utf-8 |
| 2 | +# -------------------------------------------------------------------------- |
| 3 | +# Copyright (c) Microsoft Corporation. All rights reserved. |
| 4 | +# Licensed under the MIT License. See License.txt in the project root for |
| 5 | +# license information. |
| 6 | +# |
| 7 | +# Code generated by Microsoft (R) AutoRest Code Generator. |
| 8 | +# Changes may cause incorrect behavior and will be lost if the code is |
| 9 | +# regenerated. |
| 10 | +# -------------------------------------------------------------------------- |
| 11 | + |
| 12 | +from msrest.serialization import Model |
| 13 | + |
| 14 | + |
| 15 | +class ActiveDirectories(Model): |
| 16 | + """Active Directories. |
| 17 | +
|
| 18 | + :param active_directory_id: Id of the active drectory |
| 19 | + :type active_directory_id: str |
| 20 | + :param username: Username of Active Directory domain administrator |
| 21 | + :type username: str |
| 22 | + :param password: Plain text password of Active Directory domain |
| 23 | + administrator |
| 24 | + :type password: str |
| 25 | + :param domain: Name of the Active Directory domain |
| 26 | + :type domain: str |
| 27 | + :param d_ns: Comma separated list of DNS server IP addresses for the |
| 28 | + Active Directory domain |
| 29 | + :type d_ns: str |
| 30 | + :param status: Status of the active drectory |
| 31 | + :type status: str |
| 32 | + :param s_mb_server_name: NetBIOS name of the SMB server. This name will be |
| 33 | + registered as a computer account in the AD and used to mount volumes |
| 34 | + :type s_mb_server_name: str |
| 35 | + :param organizational_unit: The Organizational Unit (OU) within the |
| 36 | + Windows Active Directory |
| 37 | + :type organizational_unit: str |
| 38 | + """ |
| 39 | + |
| 40 | + _attribute_map = { |
| 41 | + 'active_directory_id': {'key': 'activeDirectoryId', 'type': 'str'}, |
| 42 | + 'username': {'key': 'username', 'type': 'str'}, |
| 43 | + 'password': {'key': 'password', 'type': 'str'}, |
| 44 | + 'domain': {'key': 'domain', 'type': 'str'}, |
| 45 | + 'd_ns': {'key': 'dNS', 'type': 'str'}, |
| 46 | + 'status': {'key': 'status', 'type': 'str'}, |
| 47 | + 's_mb_server_name': {'key': 'sMBServerName', 'type': 'str'}, |
| 48 | + 'organizational_unit': {'key': 'organizationalUnit', 'type': 'str'}, |
| 49 | + } |
| 50 | + |
| 51 | + def __init__(self, **kwargs): |
| 52 | + super(ActiveDirectories, self).__init__(**kwargs) |
| 53 | + self.active_directory_id = kwargs.get('active_directory_id', None) |
| 54 | + self.username = kwargs.get('username', None) |
| 55 | + self.password = kwargs.get('password', None) |
| 56 | + self.domain = kwargs.get('domain', None) |
| 57 | + self.d_ns = kwargs.get('d_ns', None) |
| 58 | + self.status = kwargs.get('status', None) |
| 59 | + self.s_mb_server_name = kwargs.get('s_mb_server_name', None) |
| 60 | + self.organizational_unit = kwargs.get('organizational_unit', None) |
0 commit comments