class Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::StorageAccount

Represents a Storage Account on the Data Box Edge/Gateway device.

Attributes

blob_endpoint[RW]

@return [String] BlobEndpoint of Storage Account

container_count[RW]

@return [Integer] The Container Count. Present only for Storage Accounts with DataPolicy set to Cloud.

data_policy[RW]

@return [DataPolicy] Data policy of the storage Account. Possible values include: 'Cloud', 'Local'

description[RW]

@return [String] Description for the storage Account.

storage_account_credential_id[RW]

@return [String] Storage Account Credential Id

storage_account_status[RW]

@return [StorageAccountStatus] Current status of the storage account. Possible values include: 'OK', 'Offline', 'Unknown', 'Updating', 'NeedsAttention'

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-08-01/generated/azure_mgmt_databoxedge/models/storage_account.rb, line 42
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'StorageAccount',
    type: {
      name: 'Composite',
      class_name: 'StorageAccount',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        storage_account_status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.storageAccountStatus',
          type: {
            name: 'String'
          }
        },
        data_policy: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.dataPolicy',
          type: {
            name: 'String'
          }
        },
        storage_account_credential_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.storageAccountCredentialId',
          type: {
            name: 'String'
          }
        },
        blob_endpoint: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.blobEndpoint',
          type: {
            name: 'String'
          }
        },
        container_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.containerCount',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end