Source code for azure.mgmt.automation.models.agent_registration_regenerate_key_parameter_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 AgentRegistrationRegenerateKeyParameter(Model): """The parameters supplied to the regenerate keys operation. All required parameters must be populated in order to send to Azure. :param key_name: Required. Gets or sets the agent registration key name - primary or secondary. Possible values include: 'primary', 'secondary' :type key_name: str or ~azure.mgmt.automation.models.AgentRegistrationKeyName """ _validation = { 'key_name': {'required': True}, } _attribute_map = { 'key_name': {'key': 'keyName', 'type': 'str'}, } def __init__(self, *, key_name, **kwargs) -> None: super(AgentRegistrationRegenerateKeyParameter, self).__init__(**kwargs) self.key_name = key_name