class Azure::ServiceFabric::V7_0_0_42::Models::BackupStorageDescription

Describes the parameters for the backup storage.

Attributes

StorageKind[RW]
friendly_name[RW]

@return [String] Friendly name for this backup storage.

Private Class Methods

mapper() click to toggle source

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

# File lib/7.0.0.42/generated/azure_service_fabric/models/backup_storage_description.rb, line 33
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
new() click to toggle source
# File lib/7.0.0.42/generated/azure_service_fabric/models/backup_storage_description.rb, line 19
def initialize
  @StorageKind = "BackupStorageDescription"
end