Class: Azure::KeyVault::V2016_10_01::Models::StorageAccountItem

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-10-01/generated/azure_key_vault/models/storage_account_item.rb

Overview

The storage account item containing storage account metadata.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#attributesStorageAccountAttributes

attributes.

Returns:



23
24
25
# File 'lib/2016-10-01/generated/azure_key_vault/models/storage_account_item.rb', line 23

def attributes
  @attributes
end

#idString

Returns Storage identifier.

Returns:

  • (String)

    Storage identifier.



16
17
18
# File 'lib/2016-10-01/generated/azure_key_vault/models/storage_account_item.rb', line 16

def id
  @id
end

#resource_idString

Returns Storage account resource Id.

Returns:

  • (String)

    Storage account resource Id.



19
20
21
# File 'lib/2016-10-01/generated/azure_key_vault/models/storage_account_item.rb', line 19

def resource_id
  @resource_id
end

#tagsHash{String => String}

form of key-value pairs.

Returns:

  • (Hash{String => String})

    Application specific metadata in the



27
28
29
# File 'lib/2016-10-01/generated/azure_key_vault/models/storage_account_item.rb', line 27

def tags
  @tags
end

Class Method Details

.mapperObject

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



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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# File 'lib/2016-10-01/generated/azure_key_vault/models/storage_account_item.rb', line 34

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'StorageAccountItem',
    type: {
      name: 'Composite',
      class_name: 'StorageAccountItem',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        resource_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'resourceId',
          type: {
            name: 'String'
          }
        },
        attributes: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'attributes',
          type: {
            name: 'Composite',
            class_name: 'StorageAccountAttributes'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end