Source code for azure.mgmt.containerservice.models.container_service_ssh_configuration_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 ContainerServiceSshConfiguration(Model): """SSH configuration for Linux-based VMs running on Azure. All required parameters must be populated in order to send to Azure. :param public_keys: Required. The list of SSH public keys used to authenticate with Linux-based VMs. Only expect one key specified. :type public_keys: list[~azure.mgmt.containerservice.models.ContainerServiceSshPublicKey] """ _validation = { 'public_keys': {'required': True}, } _attribute_map = { 'public_keys': {'key': 'publicKeys', 'type': '[ContainerServiceSshPublicKey]'}, } def __init__(self, *, public_keys, **kwargs) -> None: super(ContainerServiceSshConfiguration, self).__init__(**kwargs) self.public_keys = public_keys