Sha256: 3d806d40926aec7f6093f2ba4ec7f5cd89a3eca7211011392abc0bef8c0a4ba1

Contents?: true

Size: 1.57 KB

Versions: 5

Compression:

Stored size: 1.57 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::ServiceFabric::V6_2_0_9
  module Models
    #
    # Describes the parameters for the backup storage.
    #
    class BackupStorageDescription

      include MsRestAzure

      @@discriminatorMap = Hash.new
      @@discriminatorMap["AzureBlobStore"] = "AzureBlobBackupStorageDescription"
      @@discriminatorMap["FileShare"] = "FileShareBackupStorageDescription"

      def initialize
        @StorageKind = "BackupStorageDescription"
      end

      attr_accessor :StorageKind

      # @return [String] Friendly name for this backup storage.
      attr_accessor :friendly_name


      #
      # Mapper for BackupStorageDescription class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'BackupStorageDescription',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'StorageKind',
            uber_parent: 'BackupStorageDescription',
            class_name: 'BackupStorageDescription',
            model_properties: {
              friendly_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'FriendlyName',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.2.0.9/generated/azure_service_fabric/models/backup_storage_description.rb
azure_service_fabric-0.18.0 lib/6.2.0.9/generated/azure_service_fabric/models/backup_storage_description.rb
azure_service_fabric-0.17.2 lib/6.2.0.9/generated/azure_service_fabric/models/backup_storage_description.rb
azure_service_fabric-0.17.1 lib/6.2.0.9/generated/azure_service_fabric/models/backup_storage_description.rb
azure_service_fabric-0.17.0 lib/6.2.0.9/generated/azure_service_fabric/models/backup_storage_description.rb