Class: Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationRegenerateKeyParameter

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb

Overview

The parameters supplied to the regenerate keys operation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#key_nameAgentRegistrationKeyName

key name - primary or secondary. Possible values include: ‘primary’, ‘secondary’

Returns:



18
19
20
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb', line 18

def key_name
  @key_name
end

#locationString

Returns Gets or sets the location of the resource.

Returns:

  • (String)

    Gets or sets the location of the resource.



24
25
26
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb', line 24

def location
  @location
end

#nameString

Returns Gets or sets the name of the resource.

Returns:

  • (String)

    Gets or sets the name of the resource.



21
22
23
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb', line 21

def name
  @name
end

#tagsHash{String => String}

resource.

Returns:

  • (Hash{String => String})

    Gets or sets the tags attached to the



28
29
30
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb', line 28

def tags
  @tags
end

Class Method Details

.mapperObject

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



35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# 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