Sha256: b149343623646de159c4029175fca595b918ac1739a176c4060c4bf288dc9472

Contents?: true

Size: 1.73 KB

Versions: 1

Compression:

Stored size: 1.73 KB

Contents

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

module Azure::ARM::MediaServices
  module Models
    #
    # The properties of a storage account associated with this resource.
    #
    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 (isPrimary false).
      attr_accessor :id

      # @return [Boolean] Is this storage account resource the primary storage
      # account for the Media Service resource. Blob only storage must set this
      # to false.
      attr_accessor :is_primary


      #
      # Mapper for StorageAccount class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'StorageAccount',
          type: {
            name: 'Composite',
            class_name: 'StorageAccount',
            model_properties: {
              id: {
                required: true,
                serialized_name: 'id',
                type: {
                  name: 'String'
                }
              },
              is_primary: {
                required: true,
                serialized_name: 'isPrimary',
                type: {
                  name: 'Boolean'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_media_services-0.10.0 lib/generated/azure_mgmt_media_services/models/storage_account.rb