class Azure::ServiceFabric::V6_5_0_36::Models::RestorePartitionDescription

Specifies the parameters needed to trigger a restore of a specific partition.

Attributes

backup_id[RW]

@return Unique backup ID.

backup_location[RW]

@return [String] Location of the backup relative to the backup storage specified/ configured.

backup_storage[RW]

@return [BackupStorageDescription] Location of the backup from where the partition will be restored.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.5.0.36/generated/azure_service_fabric/models/restore_partition_description.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RestorePartitionDescription',
    type: {
      name: 'Composite',
      class_name: 'RestorePartitionDescription',
      model_properties: {
        backup_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'BackupId',
          type: {
            name: 'String'
          }
        },
        backup_location: {
          client_side_validation: true,
          required: true,
          serialized_name: 'BackupLocation',
          type: {
            name: 'String'
          }
        },
        backup_storage: {
          client_side_validation: true,
          required: false,
          serialized_name: 'BackupStorage',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'StorageKind',
            uber_parent: 'BackupStorageDescription',
            class_name: 'BackupStorageDescription'
          }
        }
      }
    }
  }
end