Sha256: 16705d3f07c3aca065ce303589b822a8324885e3b6bebc545ffda2b874755a08

Contents?: true

Size: 1.96 KB

Versions: 27

Compression:

Stored size: 1.96 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Storage::Mgmt::V2018_03_01_preview
  module Models
    #
    # An access key for the storage account.
    #
    class StorageAccountKey

      include MsRestAzure

      # @return [String] Name of the key.
      attr_accessor :key_name

      # @return [String] Base 64-encoded value of the key.
      attr_accessor :value

      # @return [KeyPermission] Permissions for the key -- read-only or full
      # permissions. Possible values include: 'Read', 'Full'
      attr_accessor :permissions


      #
      # Mapper for StorageAccountKey class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'StorageAccountKey',
          type: {
            name: 'Composite',
            class_name: 'StorageAccountKey',
            model_properties: {
              key_name: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'keyName',
                type: {
                  name: 'String'
                }
              },
              value: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'value',
                type: {
                  name: 'String'
                }
              },
              permissions: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'permissions',
                type: {
                  name: 'Enum',
                  module: 'KeyPermission'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
azure_mgmt_storage-0.23.0 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_key.rb
azure_mgmt_storage-0.22.0 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_key.rb
azure_mgmt_storage-0.21.2 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_key.rb
azure_mgmt_storage-0.21.1 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_key.rb
azure_mgmt_storage-0.21.0 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_key.rb
azure_mgmt_storage-0.20.1 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_key.rb
azure_mgmt_storage-0.20.0 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_key.rb
azure_mgmt_storage-0.19.3 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_key.rb
azure_mgmt_storage-0.19.2 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_key.rb
azure_mgmt_storage-0.19.1 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_key.rb
azure_mgmt_storage-0.19.0 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_key.rb
azure_mgmt_storage-0.18.2 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_key.rb
azure_mgmt_storage-0.18.1 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_key.rb
azure_mgmt_storage-0.18.0 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_key.rb
azure_mgmt_storage-0.17.10 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_key.rb
azure_mgmt_storage-0.17.9 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_key.rb
azure_mgmt_storage-0.17.8 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_key.rb
azure_mgmt_storage-0.17.7 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_key.rb
azure_mgmt_storage-0.17.6 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_key.rb
azure_mgmt_storage-0.17.5 lib/2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_key.rb