class Azure::ServiceFabric::V6_3_0_9::Models::BackupInfo

Represents a backup point which can be used to trigger a restore.

Attributes

application_name[RW]

@return [String] Name of the Service Fabric application this partition backup belongs to.

backup_chain_id[RW]

@return Unique backup chain ID. All backups part of the same chain has the same backup chain id. A backup chain is comprised of 1 full backup and multiple incremental backups.

backup_id[RW]

@return Unique backup ID .

backup_location[RW]

@return [String] Location of the backup, relative to the backup store.

backup_type[RW]

@return [BackupType] Describes the type of backup, whether its full or incremental. Possible values include: 'Invalid', 'Full', 'Incremental'

creation_time_utc[RW]

@return [DateTime] The date time when this backup was taken.

epoch_of_last_backup_record[RW]

@return [BackupEpoch] Epoch of the last record in this backup.

failure_error[RW]

@return [FabricErrorError] Denotes the failure encountered in getting backup point information.

lsn_of_last_backup_record[RW]

@return [String] LSN of the last record in this backup.

partition_information[RW]

@return [PartitionInformation] Information about the partition to which this backup belongs to

service_name[RW]

@return [String] Name of the Service Fabric service this partition backup belongs to.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.3.0.9/generated/azure_service_fabric/models/backup_info.rb, line 60
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'BackupInfo',
    type: {
      name: 'Composite',
      class_name: 'BackupInfo',
      model_properties: {
        backup_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'BackupId',
          type: {
            name: 'String'
          }
        },
        backup_chain_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'BackupChainId',
          type: {
            name: 'String'
          }
        },
        application_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ApplicationName',
          type: {
            name: 'String'
          }
        },
        service_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServiceName',
          type: {
            name: 'String'
          }
        },
        partition_information: {
          client_side_validation: true,
          required: false,
          serialized_name: 'PartitionInformation',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'ServicePartitionKind',
            uber_parent: 'PartitionInformation',
            class_name: 'PartitionInformation'
          }
        },
        backup_location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'BackupLocation',
          type: {
            name: 'String'
          }
        },
        backup_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'BackupType',
          type: {
            name: 'String'
          }
        },
        epoch_of_last_backup_record: {
          client_side_validation: true,
          required: false,
          serialized_name: 'EpochOfLastBackupRecord',
          type: {
            name: 'Composite',
            class_name: 'BackupEpoch'
          }
        },
        lsn_of_last_backup_record: {
          client_side_validation: true,
          required: false,
          serialized_name: 'LsnOfLastBackupRecord',
          type: {
            name: 'String'
          }
        },
        creation_time_utc: {
          client_side_validation: true,
          required: false,
          serialized_name: 'CreationTimeUtc',
          type: {
            name: 'DateTime'
          }
        },
        failure_error: {
          client_side_validation: true,
          required: false,
          serialized_name: 'FailureError',
          type: {
            name: 'Composite',
            class_name: 'FabricErrorError'
          }
        }
      }
    }
  }
end