Share via


WorkloadSqlRestoreContent Class

Definition

AzureWorkload SQL -specific restore. Specifically for full/diff restore Please note WorkloadSqlRestoreContent is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include WorkloadSqlPointInTimeRestoreContent, WorkloadSqlPointInTimeRestoreWithRehydrateContent and WorkloadSqlRestoreWithRehydrateContent.

public class WorkloadSqlRestoreContent : Azure.ResourceManager.RecoveryServicesBackup.Models.WorkloadRestoreContent
type WorkloadSqlRestoreContent = class
    inherit WorkloadRestoreContent
Public Class WorkloadSqlRestoreContent
Inherits WorkloadRestoreContent
Inheritance
WorkloadSqlRestoreContent
Derived

Constructors

WorkloadSqlRestoreContent()

Initializes a new instance of WorkloadSqlRestoreContent.

Properties

AlternateDirectoryPaths

Data directory details.

IsNonRecoverable

SQL specific property where user can chose to set no-recovery when restore operation is tried.

PropertyBag

Workload specific property bag.

(Inherited from WorkloadRestoreContent)
RecoveryMode

Defines whether the current recovery mode is file restore or database restore.

(Inherited from WorkloadRestoreContent)
RecoveryType

Type of this recovery.

(Inherited from WorkloadRestoreContent)
ShouldUseAlternateTargetLocation

Default option set to true. If this is set to false, alternate data directory must be provided.

SnapshotRestoreParameters

Additional details for snapshot recovery Currently used for snapshot for SAP Hana.

(Inherited from WorkloadRestoreContent)
SourceResourceId

Fully qualified ARM ID of the VM on which workload that was running is being recovered.

(Inherited from WorkloadRestoreContent)
TargetInfo

Details of target database.

(Inherited from WorkloadRestoreContent)
TargetResourceGroupName

Defines the Resource group of the Target VM.

(Inherited from WorkloadRestoreContent)
TargetVirtualMachineId

This is the complete ARM Id of the target VM For e.g. /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}

(Inherited from WorkloadRestoreContent)
UserAssignedManagedIdentityDetails

User Assigned managed identity details Currently used for snapshot.

(Inherited from WorkloadRestoreContent)

Applies to