Class: Azure::Storage::Mgmt::V2015_06_15::Models::StorageAccountKeys

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_keys.rb

Overview

The access keys for the storage account.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#key1String

Returns The value of key 1.

Returns:

  • (String)

    The value of key 1.



16
17
18
# File 'lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_keys.rb', line 16

def key1
  @key1
end

#key2String

Returns The value of key 2.

Returns:

  • (String)

    The value of key 2.



19
20
21
# File 'lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_keys.rb', line 19

def key2
  @key2
end

Class Method Details

.mapperObject

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



26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_keys.rb', line 26

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'StorageAccountKeys',
    type: {
      name: 'Composite',
      class_name: 'StorageAccountKeys',
      model_properties: {
        key1: {
          client_side_validation: true,
          required: false,
          serialized_name: 'key1',
          type: {
            name: 'String'
          }
        },
        key2: {
          client_side_validation: true,
          required: false,
          serialized_name: 'key2',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end