Class: Azure::Network::Mgmt::V2017_11_01::Models::ConnectionResetSharedKey

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-11-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb

Overview

The virtual network connection reset shared key

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#key_lengthInteger

length, should between 1 and 128.

Returns:

  • (Integer)

    The virtual network connection reset shared key


17
18
19
# File 'lib/2017-11-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb', line 17

def key_length
  @key_length
end

Class Method Details

.mapperObject

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


24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'lib/2017-11-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb', line 24

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ConnectionResetSharedKey',
    type: {
      name: 'Composite',
      class_name: 'ConnectionResetSharedKey',
      model_properties: {
        key_length: {
          client_side_validation: true,
          required: true,
          serialized_name: 'keyLength',
          constraints: {
            InclusiveMaximum: 128,
            InclusiveMinimum: 1
          },
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end