Source code for azure.mgmt.hdinsight.models.linux_operating_system_profile_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 LinuxOperatingSystemProfile(Model): """The ssh username, password, and ssh public key. :param username: The username. :type username: str :param password: The password. :type password: str :param ssh_profile: The SSH profile. :type ssh_profile: ~azure.mgmt.hdinsight.models.SshProfile """ _attribute_map = { 'username': {'key': 'username', 'type': 'str'}, 'password': {'key': 'password', 'type': 'str'}, 'ssh_profile': {'key': 'sshProfile', 'type': 'SshProfile'}, } def __init__(self, *, username: str=None, password: str=None, ssh_profile=None, **kwargs) -> None: super(LinuxOperatingSystemProfile, self).__init__(**kwargs) self.username = username self.password = password self.ssh_profile = ssh_profile