Sha256: 7eb56142fefd2f87b43c4a631e540b26e47e81fd251802fca5bdddf24944a198

Contents?: true

Size: 1.74 KB

Versions: 8

Compression:

Stored size: 1.74 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::MediaServices::Mgmt::V2018_07_01
  module Models
    #
    # The storage account details.
    #
    class StorageAccount

      include MsRestAzure

      # @return [String] The ID of the storage account resource. Media Services
      # relies on tables and queues as well as blobs, so the primary storage
      # account must be a Standard Storage account (either
      # Microsoft.ClassicStorage or Microsoft.Storage). Blob only storage
      # accounts can be added as secondary storage accounts.
      attr_accessor :id

      # @return [StorageAccountType] The type of the storage account. Possible
      # values include: 'Primary', 'Secondary'
      attr_accessor :type


      #
      # Mapper for StorageAccount class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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,
                serialized_name: 'id',
                type: {
                  name: 'String'
                }
              },
              type: {
                client_side_validation: true,
                required: true,
                serialized_name: 'type',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
azure_mgmt_media_services-0.21.1 lib/2018-07-01/generated/azure_mgmt_media_services/models/storage_account.rb
azure_mgmt_media_services-0.21.0 lib/2018-07-01/generated/azure_mgmt_media_services/models/storage_account.rb
azure_mgmt_media_services-0.20.1 lib/2018-07-01/generated/azure_mgmt_media_services/models/storage_account.rb
azure_mgmt_media_services-0.20.0 lib/2018-07-01/generated/azure_mgmt_media_services/models/storage_account.rb
azure_mgmt_media_services-0.19.1 lib/2018-07-01/generated/azure_mgmt_media_services/models/storage_account.rb
azure_mgmt_media_services-0.19.0 lib/2018-07-01/generated/azure_mgmt_media_services/models/storage_account.rb
azure_mgmt_media_services-0.18.1 lib/2018-07-01/generated/azure_mgmt_media_services/models/storage_account.rb
azure_mgmt_media_services-0.18.0 lib/2018-07-01/generated/azure_mgmt_media_services/models/storage_account.rb