Class: Azure::Automation::Mgmt::V2015_10_31::Models::VariableCreateOrUpdateParameters

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

Overview

The parameters supplied to the create or update variable operation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#descriptionString

Returns Gets or sets the description of the variable.

Returns:

  • (String)

    Gets or sets the description of the variable.



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

def description
  @description
end

#is_encryptedBoolean

Returns Gets or sets the encrypted flag of the variable.

Returns:

  • (Boolean)

    Gets or sets the encrypted flag of the variable.



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

def is_encrypted
  @is_encrypted
end

#nameString

Returns Gets or sets the name of the variable.

Returns:

  • (String)

    Gets or sets the name of the variable.



16
17
18
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/variable_create_or_update_parameters.rb', line 16

def name
  @name
end

#valueString

Returns Gets or sets the value of the variable.

Returns:

  • (String)

    Gets or sets the value of the variable.



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

def value
  @value
end

Class Method Details

.mapperObject

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



32
33
34
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
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/variable_create_or_update_parameters.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VariableCreateOrUpdateParameters',
    type: {
      name: 'Composite',
      class_name: 'VariableCreateOrUpdateParameters',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        value: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.value',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        is_encrypted: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.isEncrypted',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end