Sha256: c01cca6256f8487f6b265fa2a737040abe2cb9294f6be8ba7bff75edf5d53aaa

Contents?: true

Size: 1.72 KB

Versions: 1

Compression:

Stored size: 1.72 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::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.14.0 lib/generated/azure_mgmt_media_services/models/storage_account.rb