-
Notifications
You must be signed in to change notification settings - Fork 2
ADE OnePass changes #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: Az.RecoveryServices_preview
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1195,6 +1195,10 @@ public ASRAzureToAzureSpecificRPIDetails(A2AReplicationDetails details) | |
this.LastRpoCalculatedTime = details.LastRpoCalculatedTime; | ||
this.RpoInSeconds = details.RpoInSeconds; | ||
this.IsReplicationAgentUpdateRequired = details.IsReplicationAgentUpdateRequired; | ||
this.VmEncryptionType = details.VmEncryptionType; | ||
this.InitialPrimaryFabricLocation = details.InitialPrimaryFabricLocation; | ||
this.InitialRecoveryFabricLocation = details.InitialRecoveryFabricLocation; | ||
this.LifecycleId = details.LifecycleId; | ||
|
||
if (details.LastHeartbeat != null) | ||
{ | ||
|
@@ -1346,10 +1350,26 @@ public ASRAzureToAzureSpecificRPIDetails(A2AReplicationDetails details) | |
/// </summary> | ||
public bool? IsReplicationAgentUpdateRequired; | ||
|
||
// check do we need to expoxed these 2 (TODO) | ||
// public string RecoveryFabricObjectId; //how it is different from parent RecoveryFabricId | ||
// public string LifecycleId; | ||
// public string managementId; | ||
/// <summary> | ||
/// Gets or sets the VM encryption type. | ||
/// </summary> | ||
public string VmEncryptionType { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the initial primary fabric location. | ||
/// </summary> | ||
public string InitialPrimaryFabricLocation { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the initial recovery fabric location. | ||
/// </summary> | ||
public string InitialRecoveryFabricLocation { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the only constant ID throught out the enable disable cycle. | ||
/// (with multiple switch protections in the middle) - Recovery Plans refer this ID. | ||
/// </summary> | ||
public string LifecycleId { get; set; } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we want to expose it ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, this is required for any pre/post scripts on the ReplicationProtectedItem. |
||
} | ||
|
||
// | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2345,17 +2345,12 @@ public class AsrInMageAzureV2DiskInput | |
public class ASRAzuretoAzureDiskReplicationConfig | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="ASRAzuretoAzureDiskReplicationConfig" /> class. | ||
/// Initializes a new instance of the <see cref="ASRAzuretoAzureDiskReplicationConfig" /> class. | ||
/// </summary> | ||
public ASRAzuretoAzureDiskReplicationConfig() | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the <see cref="ASRRunAsAccount" /> class. | ||
/// </summary> | ||
/// <param name="runAsAccountDetails">Run as account object.</param> | ||
/// | ||
/// <summary> | ||
/// Gets or sets the disk uri. | ||
/// </summary> | ||
|
@@ -2395,6 +2390,26 @@ public ASRAzuretoAzureDiskReplicationConfig() | |
/// Gets or sets RecoveryTargetDiskAccountType. | ||
/// </summary> | ||
public string RecoveryTargetDiskAccountType; | ||
|
||
/// <summary> | ||
/// Gets or sets DiskEncryptionVaultId. | ||
/// </summary> | ||
public string DiskEncryptionVaultId { get; set; } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. keep name aligned with ASRAzureToAzureProtectedDiskDetails |
||
|
||
/// <summary> | ||
/// Gets or sets DiskEncryptionSecretUrl. | ||
/// </summary> | ||
public string DiskEncryptionSecretUrl { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets KeyEncryptionKeyUrl. | ||
/// </summary> | ||
public string KeyEncryptionKeyUrl { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets KeyEncryptionVaultId. | ||
/// </summary> | ||
public string KeyEncryptionVaultId { get; set; } | ||
} | ||
|
||
/// <summary> | ||
|
@@ -2468,30 +2483,34 @@ public ASRAzureToAzureProtectedDiskDetails(A2AProtectedManagedDiskDetails disk) | |
this.KeyIdentifier = disk.KeyIdentifier; | ||
} | ||
|
||
// | ||
// Summary: | ||
// Gets or sets a value indicating whether disk key got encrypted or not. | ||
/// <summary> | ||
/// Gets or sets a value indicating whether disk key got encrypted or not. | ||
/// </summary> | ||
public bool? IsDiskKeyEncrypted { get; set; } | ||
// | ||
// Summary: | ||
// Gets or sets the KeyVault resource id for secret (BEK). | ||
|
||
/// <summary> | ||
/// Gets or sets the KeyVault resource id for secret (BEK). | ||
/// </summary> | ||
public string DekKeyVaultArmId { get; set; } | ||
// | ||
// Summary: | ||
// Gets or sets the secret URL / identifier (BEK). | ||
|
||
/// <summary> | ||
/// Gets or sets the secret URL / identifier (BEK). | ||
/// </summary> | ||
public string SecretIdentifier { get; set; } | ||
// | ||
// Summary: | ||
// Gets or sets a value indicating whether vm has encrypted os disk or not. | ||
|
||
/// <summary> | ||
/// Gets or sets a value indicating whether vm has encrypted os disk or not. | ||
/// </summary> | ||
public bool? IsDiskEncrypted { get; set; } | ||
|
||
// | ||
// Summary: | ||
// Gets or sets the key URL / identifier (KEK). | ||
/// <summary> | ||
/// Gets or sets the key URL / identifier (KEK). | ||
/// </summary> | ||
public string KeyIdentifier { get; set; } | ||
// | ||
// Summary: | ||
// Gets or sets the KeyVault resource id for key (KEK). | ||
|
||
/// <summary> | ||
/// Gets or sets the KeyVault resource id for key (KEK). | ||
/// </summary> | ||
public string KekKeyVaultArmId { get; set; } | ||
|
||
/// <summary> | ||
|
@@ -2759,41 +2778,4 @@ public override string ToString() | |
return sb.ToString(); | ||
} | ||
} | ||
|
||
/// <summary> | ||
/// Encryption types for VM. | ||
/// </summary> | ||
public enum AzureDiskEncryptionType | ||
{ | ||
/// <summary> | ||
/// VM not encrypted. | ||
/// </summary> | ||
NotEncrypted, | ||
|
||
/// <summary> | ||
/// VM encrypted using one pass ADE flow. | ||
/// </summary> | ||
OnePassEncrypted, | ||
|
||
/// <summary> | ||
/// VM encrypted using two pass ADE flow. | ||
/// </summary> | ||
TwoPassEncrypted | ||
} | ||
|
||
/// <summary> | ||
/// Azure Disk Encryption extension types for VMs. | ||
/// </summary> | ||
public enum AzureDiskEncryptionExtensionType | ||
{ | ||
/// <summary> | ||
/// ADE extension for Windows VM. | ||
/// </summary> | ||
AzureDiskEncryption, | ||
|
||
/// <summary> | ||
/// ADE extension for Linux VM. | ||
/// </summary> | ||
AzureDiskEncryptionForLinux | ||
} | ||
} |
Uh oh!
There was an error while loading. Please reload this page.