class Azure::Hdinsight::Mgmt::V2015_03_01_preview::Models::StorageAccount

The storage Account.

Attributes

container[RW]

@return [String] The container in the storage account, only to be specified for WASB storage accounts.

file_system[RW]

@return [String] The filesystem, only to be specified for Azure Data Lake Storage Gen 2.

is_default[RW]

@return [Boolean] Whether or not the storage account is the default storage account.

key[RW]

@return [String] The storage account access key.

msi_resource_id[RW]

@return [String] The managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2.

name[RW]

@return [String] The name of the storage account.

resource_id[RW]

@return [String] The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2.

Public Class Methods

mapper() click to toggle source

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

# File lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/storage_account.rb, line 47
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'StorageAccount',
    type: {
      name: 'Composite',
      class_name: 'StorageAccount',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        is_default: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isDefault',
          type: {
            name: 'Boolean'
          }
        },
        container: {
          client_side_validation: true,
          required: false,
          serialized_name: 'container',
          type: {
            name: 'String'
          }
        },
        file_system: {
          client_side_validation: true,
          required: false,
          serialized_name: 'fileSystem',
          type: {
            name: 'String'
          }
        },
        key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'key',
          type: {
            name: 'String'
          }
        },
        resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'resourceId',
          type: {
            name: 'String'
          }
        },
        msi_resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'msiResourceId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end