class Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationRegenerateKeyParameter

The parameters supplied to the regenerate keys operation.

Attributes

key_name[RW]

@return [AgentRegistrationKeyName] Gets or sets the agent registration key name - primary or secondary. Possible values include: 'primary', 'secondary'

location[RW]

@return [String] Gets or sets the location of the resource.

name[RW]

@return [String] Gets or sets the name of the resource.

tags[RW]

@return [Hash{String => String}] Gets or sets the tags attached to the resource.

Private Class Methods

mapper() click to toggle source

Mapper for AgentRegistrationRegenerateKeyParameter class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb, line 35
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