-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
WorkloadSqlPointInTimeRestoreWithRehydrateContent.cs
57 lines (51 loc) · 4.03 KB
/
WorkloadSqlPointInTimeRestoreWithRehydrateContent.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.RecoveryServicesBackup.Models
{
/// <summary> AzureWorkload SQL-specific restore with integrated rehydration of recovery point. </summary>
public partial class WorkloadSqlPointInTimeRestoreWithRehydrateContent : WorkloadSqlPointInTimeRestoreContent
{
/// <summary> Initializes a new instance of <see cref="WorkloadSqlPointInTimeRestoreWithRehydrateContent"/>. </summary>
public WorkloadSqlPointInTimeRestoreWithRehydrateContent()
{
ObjectType = "AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest";
}
/// <summary> Initializes a new instance of <see cref="WorkloadSqlPointInTimeRestoreWithRehydrateContent"/>. </summary>
/// <param name="objectType"> This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. </param>
/// <param name="recoveryType"> Type of this recovery. </param>
/// <param name="sourceResourceId"> Fully qualified ARM ID of the VM on which workload that was running is being recovered. </param>
/// <param name="propertyBag"> Workload specific property bag. </param>
/// <param name="targetInfo"> Details of target database. </param>
/// <param name="recoveryMode"> Defines whether the current recovery mode is file restore or database restore. </param>
/// <param name="targetResourceGroupName"> Defines the Resource group of the Target VM. </param>
/// <param name="userAssignedManagedIdentityDetails">
/// User Assigned managed identity details
/// Currently used for snapshot.
/// </param>
/// <param name="snapshotRestoreParameters">
/// Additional details for snapshot recovery
/// Currently used for snapshot for SAP Hana.
/// </param>
/// <param name="targetVirtualMachineId">
/// This is the complete ARM Id of the target VM
/// For e.g. /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
/// </param>
/// <param name="shouldUseAlternateTargetLocation"> Default option set to true. If this is set to false, alternate data directory must be provided. </param>
/// <param name="isNonRecoverable"> SQL specific property where user can chose to set no-recovery when restore operation is tried. </param>
/// <param name="alternateDirectoryPaths"> Data directory details. </param>
/// <param name="pointInTime"> PointInTime value. </param>
/// <param name="recoveryPointRehydrationInfo"> RP Rehydration Info. </param>
internal WorkloadSqlPointInTimeRestoreWithRehydrateContent(string objectType, FileShareRecoveryType? recoveryType, ResourceIdentifier sourceResourceId, IDictionary<string, string> propertyBag, TargetRestoreInfo targetInfo, RecoveryMode? recoveryMode, string targetResourceGroupName, UserAssignedManagedIdentityDetails userAssignedManagedIdentityDetails, SnapshotRestoreContent snapshotRestoreParameters, ResourceIdentifier targetVirtualMachineId, bool? shouldUseAlternateTargetLocation, bool? isNonRecoverable, IList<SqlDataDirectoryMapping> alternateDirectoryPaths, DateTimeOffset? pointInTime, RecoveryPointRehydrationInfo recoveryPointRehydrationInfo) : base(objectType, recoveryType, sourceResourceId, propertyBag, targetInfo, recoveryMode, targetResourceGroupName, userAssignedManagedIdentityDetails, snapshotRestoreParameters, targetVirtualMachineId, shouldUseAlternateTargetLocation, isNonRecoverable, alternateDirectoryPaths, pointInTime)
{
RecoveryPointRehydrationInfo = recoveryPointRehydrationInfo;
ObjectType = objectType ?? "AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest";
}
/// <summary> RP Rehydration Info. </summary>
public RecoveryPointRehydrationInfo RecoveryPointRehydrationInfo { get; set; }
}
}