# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Automation::Mgmt::V2015_10_31 module Models # # The parameters supplied to the regenerate keys operation. # class AgentRegistrationRegenerateKeyParameter include MsRestAzure # @return [AgentRegistrationKeyName] Gets or sets the agent registration # key name - primary or secondary. Possible values include: 'primary', # 'secondary' attr_accessor :key_name # @return [String] Gets or sets the name of the resource. attr_accessor :name # @return [String] Gets or sets the location of the resource. attr_accessor :location # @return [Hash{String => String}] Gets or sets the tags attached to the # resource. attr_accessor :tags # # Mapper for AgentRegistrationRegenerateKeyParameter class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AgentRegistrationRegenerateKeyParameter', type: { name: 'Composite', class_name: 'AgentRegistrationRegenerateKeyParameter', model_properties: { key_name: { client_side_validation: true, required: true, serialized_name: 'keyName', type: { name: 'String' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end end end end