diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IRecoveryPointsOperations.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IRecoveryPointsOperations.cs
index be42896c0d22..0a7be56ab715 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IRecoveryPointsOperations.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IRecoveryPointsOperations.cs
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery
public partial interface IRecoveryPointsOperations
{
///
- /// Gets the list of recovery points for a replication protected item.
+ /// Get recovery points for a replication protected item.
///
///
/// Lists the available recovery points for a replication protected
@@ -37,7 +37,7 @@ public partial interface IRecoveryPointsOperations
/// The protection container name.
///
///
- /// The replication protected item name.
+ /// The replication protected item's name.
///
///
/// The headers that will be added to request.
@@ -56,7 +56,7 @@ public partial interface IRecoveryPointsOperations
///
Task>> ListByReplicationProtectedItemsWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets a recovery point.
+ /// Get a recovery point.
///
///
/// Get the details of specified recovery point.
@@ -68,7 +68,7 @@ public partial interface IRecoveryPointsOperations
/// The protection container name.
///
///
- /// The replication protected item name.
+ /// The replication protected item's name.
///
///
/// The recovery point name.
@@ -90,7 +90,7 @@ public partial interface IRecoveryPointsOperations
///
Task> GetWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, string recoveryPointName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets the list of recovery points for a replication protected item.
+ /// Get recovery points for a replication protected item.
///
///
/// Lists the available recovery points for a replication protected
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationFabricsOperations.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationFabricsOperations.cs
index 93e7890c23c0..3e2da5975552 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationFabricsOperations.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationFabricsOperations.cs
@@ -12,7 +12,6 @@ namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
- using Microsoft.Rest.Azure.OData;
using Models;
using System.Collections;
using System.Collections.Generic;
@@ -25,7 +24,7 @@ namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery
public partial interface IReplicationFabricsOperations
{
///
- /// Gets the list of ASR fabrics.
+ /// Gets the list of ASR fabrics
///
///
/// Gets a list of the Azure Site Recovery fabrics in the vault.
@@ -55,9 +54,6 @@ public partial interface IReplicationFabricsOperations
///
/// Fabric name.
///
- ///
- /// OData parameters to apply to the operation.
- ///
///
/// The headers that will be added to request.
///
@@ -73,13 +69,13 @@ public partial interface IReplicationFabricsOperations
///
/// Thrown when a required parameter is null
///
- Task> GetWithHttpMessagesAsync(string fabricName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> GetWithHttpMessagesAsync(string fabricName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Creates an Azure Site Recovery fabric.
///
///
/// The operation to create an Azure Site Recovery fabric (for e.g.
- /// Hyper-V site).
+ /// Hyper-V site)
///
///
/// Name of the ASR fabric.
@@ -208,7 +204,7 @@ public partial interface IReplicationFabricsOperations
/// The operation to delete or remove an Azure Site Recovery fabric.
///
///
- /// ASR fabric to delete.
+ /// ASR fabric to delete
///
///
/// The headers that will be added to request.
@@ -256,7 +252,7 @@ public partial interface IReplicationFabricsOperations
///
///
/// The operation to create an Azure Site Recovery fabric (for e.g.
- /// Hyper-V site).
+ /// Hyper-V site)
///
///
/// Name of the ASR fabric.
@@ -385,7 +381,7 @@ public partial interface IReplicationFabricsOperations
/// The operation to delete or remove an Azure Site Recovery fabric.
///
///
- /// ASR fabric to delete.
+ /// ASR fabric to delete
///
///
/// The headers that will be added to request.
@@ -429,7 +425,7 @@ public partial interface IReplicationFabricsOperations
///
Task> BeginRenewCertificateWithHttpMessagesAsync(string fabricName, RenewCertificateInput renewCertificate, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets the list of ASR fabrics.
+ /// Gets the list of ASR fabrics
///
///
/// Gets a list of the Azure Site Recovery fabrics in the vault.
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationJobsOperations.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationJobsOperations.cs
index ba0c3ad02473..cf37e77d059e 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationJobsOperations.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationJobsOperations.cs
@@ -56,7 +56,7 @@ public partial interface IReplicationJobsOperations
/// Get the details of an Azure Site Recovery job.
///
///
- /// Job identifier.
+ /// Job identifier
///
///
/// The headers that will be added to request.
@@ -128,7 +128,7 @@ public partial interface IReplicationJobsOperations
/// Resumes the specified job.
///
///
- /// The operation to resume an Azure Site Recovery job.
+ /// The operation to resume an Azure Site Recovery job
///
///
/// Job identifier.
@@ -232,7 +232,7 @@ public partial interface IReplicationJobsOperations
/// Resumes the specified job.
///
///
- /// The operation to resume an Azure Site Recovery job.
+ /// The operation to resume an Azure Site Recovery job
///
///
/// Job identifier.
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationLogicalNetworksOperations.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationLogicalNetworksOperations.cs
index b3e43325a496..66550876136b 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationLogicalNetworksOperations.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationLogicalNetworksOperations.cs
@@ -27,7 +27,7 @@ public partial interface IReplicationLogicalNetworksOperations
/// Gets the list of logical networks under a fabric.
///
///
- /// Lists all the logical networks of the Azure Site Recovery fabric.
+ /// Lists all the logical networks of the Azure Site Recovery fabric
///
///
/// Server Id.
@@ -81,7 +81,7 @@ public partial interface IReplicationLogicalNetworksOperations
/// Gets the list of logical networks under a fabric.
///
///
- /// Lists all the logical networks of the Azure Site Recovery fabric.
+ /// Lists all the logical networks of the Azure Site Recovery fabric
///
///
/// The NextLink from the previous successful call to List operation.
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationMigrationItemsOperations.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationMigrationItemsOperations.cs
index 5a6bb86e7d90..f4378a19f71b 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationMigrationItemsOperations.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationMigrationItemsOperations.cs
@@ -36,15 +36,6 @@ public partial interface IReplicationMigrationItemsOperations
///
/// Protection container name.
///
- ///
- /// OData parameters to apply to the operation.
- ///
- ///
- /// The pagination token.
- ///
- ///
- /// The page size.
- ///
///
/// The headers that will be added to request.
///
@@ -60,7 +51,7 @@ public partial interface IReplicationMigrationItemsOperations
///
/// Thrown when a required parameter is null
///
- Task>> ListByReplicationProtectionContainersWithHttpMessagesAsync(string fabricName, string protectionContainerName, ODataQuery odataQuery = default(ODataQuery), string skipToken = default(string), string takeToken = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task>> ListByReplicationProtectionContainersWithHttpMessagesAsync(string fabricName, string protectionContainerName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Gets the details of a migration item.
///
@@ -224,41 +215,6 @@ public partial interface IReplicationMigrationItemsOperations
///
Task> MigrateWithHttpMessagesAsync(string fabricName, string protectionContainerName, string migrationItemName, MigrateInput migrateInput, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Resynchronizes replication.
- ///
- ///
- /// The operation to resynchronize replication of an ASR migration
- /// item.
- ///
- ///
- /// Fabric name.
- ///
- ///
- /// Protection container name.
- ///
- ///
- /// Migration item name.
- ///
- ///
- /// Resync input.
- ///
- ///
- /// The headers that will be added to request.
- ///
- ///
- /// The cancellation token.
- ///
- ///
- /// Thrown when the operation returned an invalid status code
- ///
- ///
- /// Thrown when unable to deserialize the response
- ///
- ///
- /// Thrown when a required parameter is null
- ///
- Task> ResyncWithHttpMessagesAsync(string fabricName, string protectionContainerName, string migrationItemName, ResyncInput input, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
- ///
/// Test migrate item.
///
///
@@ -335,9 +291,6 @@ public partial interface IReplicationMigrationItemsOperations
///
/// The pagination token.
///
- ///
- /// The page size.
- ///
///
/// The headers that will be added to request.
///
@@ -353,7 +306,7 @@ public partial interface IReplicationMigrationItemsOperations
///
/// Thrown when a required parameter is null
///
- Task>> ListWithHttpMessagesAsync(ODataQuery odataQuery = default(ODataQuery), string skipToken = default(string), string takeToken = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task>> ListWithHttpMessagesAsync(ODataQuery odataQuery = default(ODataQuery), string skipToken = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Enables migration.
///
@@ -489,41 +442,6 @@ public partial interface IReplicationMigrationItemsOperations
///
Task> BeginMigrateWithHttpMessagesAsync(string fabricName, string protectionContainerName, string migrationItemName, MigrateInput migrateInput, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Resynchronizes replication.
- ///
- ///
- /// The operation to resynchronize replication of an ASR migration
- /// item.
- ///
- ///
- /// Fabric name.
- ///
- ///
- /// Protection container name.
- ///
- ///
- /// Migration item name.
- ///
- ///
- /// Resync input.
- ///
- ///
- /// The headers that will be added to request.
- ///
- ///
- /// The cancellation token.
- ///
- ///
- /// Thrown when the operation returned an invalid status code
- ///
- ///
- /// Thrown when unable to deserialize the response
- ///
- ///
- /// Thrown when a required parameter is null
- ///
- Task> BeginResyncWithHttpMessagesAsync(string fabricName, string protectionContainerName, string migrationItemName, ResyncInput input, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
- ///
/// Test migrate item.
///
///
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationNetworkMappingsOperations.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationNetworkMappingsOperations.cs
index a3fbae4e2caa..47f696e21ce9 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationNetworkMappingsOperations.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationNetworkMappingsOperations.cs
@@ -55,7 +55,7 @@ public partial interface IReplicationNetworkMappingsOperations
/// Gets network mapping by name.
///
///
- /// Gets the details of an ASR network mapping.
+ /// Gets the details of an ASR network mapping
///
///
/// Primary fabric name.
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationNetworksOperations.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationNetworksOperations.cs
index 4d3b1d05978d..fbe4773a1bbe 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationNetworksOperations.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationNetworksOperations.cs
@@ -30,7 +30,7 @@ public partial interface IReplicationNetworksOperations
/// Lists the networks available for a fabric.
///
///
- /// Fabric name.
+ /// Fabric name
///
///
/// The headers that will be added to request.
@@ -80,7 +80,7 @@ public partial interface IReplicationNetworksOperations
/// Gets the list of networks. View-only API.
///
///
- /// Lists the networks available in a vault.
+ /// Lists the networks available in a vault
///
///
/// The headers that will be added to request.
@@ -127,7 +127,7 @@ public partial interface IReplicationNetworksOperations
/// Gets the list of networks. View-only API.
///
///
- /// Lists the networks available in a vault.
+ /// Lists the networks available in a vault
///
///
/// The NextLink from the previous successful call to List operation.
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationPoliciesOperations.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationPoliciesOperations.cs
index a434a03034da..7433ff25f6f2 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationPoliciesOperations.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationPoliciesOperations.cs
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery
public partial interface IReplicationPoliciesOperations
{
///
- /// Gets the list of replication policies.
+ /// Gets the list of replication policies
///
///
/// Lists the replication policies for a vault.
@@ -74,13 +74,13 @@ public partial interface IReplicationPoliciesOperations
/// Creates the policy.
///
///
- /// The operation to create a replication policy.
+ /// The operation to create a replication policy
///
///
- /// Replication policy name.
+ /// Replication policy name
///
///
- /// Create policy input.
+ /// Create policy input
///
///
/// The headers that will be added to request.
@@ -130,7 +130,7 @@ public partial interface IReplicationPoliciesOperations
/// Policy Id.
///
///
- /// Update Policy Input.
+ /// Update Policy Input
///
///
/// The headers that will be added to request.
@@ -152,13 +152,13 @@ public partial interface IReplicationPoliciesOperations
/// Creates the policy.
///
///
- /// The operation to create a replication policy.
+ /// The operation to create a replication policy
///
///
- /// Replication policy name.
+ /// Replication policy name
///
///
- /// Create policy input.
+ /// Create policy input
///
///
/// The headers that will be added to request.
@@ -208,7 +208,7 @@ public partial interface IReplicationPoliciesOperations
/// Policy Id.
///
///
- /// Update Policy Input.
+ /// Update Policy Input
///
///
/// The headers that will be added to request.
@@ -227,7 +227,7 @@ public partial interface IReplicationPoliciesOperations
///
Task> BeginUpdateWithHttpMessagesAsync(string policyName, UpdatePolicyInput input, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets the list of replication policies.
+ /// Gets the list of replication policies
///
///
/// Lists the replication policies for a vault.
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationProtectableItemsOperations.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationProtectableItemsOperations.cs
index c3d1f02a9257..6afea5879b22 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationProtectableItemsOperations.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationProtectableItemsOperations.cs
@@ -39,12 +39,6 @@ public partial interface IReplicationProtectableItemsOperations
///
/// OData parameters to apply to the operation.
///
- ///
- /// take OData query parameter.
- ///
- ///
- /// skipToken OData query parameter.
- ///
///
/// The headers that will be added to request.
///
@@ -60,7 +54,7 @@ public partial interface IReplicationProtectableItemsOperations
///
/// Thrown when a required parameter is null
///
- Task>> ListByReplicationProtectionContainersWithHttpMessagesAsync(string fabricName, string protectionContainerName, ODataQuery odataQuery = default(ODataQuery), string take = default(string), string skipToken = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task>> ListByReplicationProtectionContainersWithHttpMessagesAsync(string fabricName, string protectionContainerName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Gets the details of a protectable item.
///
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationProtectedItemsOperations.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationProtectedItemsOperations.cs
index 40238e79fe92..cae8f52a553e 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationProtectedItemsOperations.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationProtectedItemsOperations.cs
@@ -151,7 +151,7 @@ public partial interface IReplicationProtectedItemsOperations
///
Task PurgeWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Updates the replication protected item settings.
+ /// Updates protection.
///
///
/// The operation to update the recovery settings of an ASR replication
@@ -233,7 +233,7 @@ public partial interface IReplicationProtectedItemsOperations
/// The protection container name.
///
///
- /// The replicated protected item name.
+ /// The replicated protected item's name.
///
///
/// The ApplyRecoveryPointInput.
@@ -255,38 +255,7 @@ public partial interface IReplicationProtectedItemsOperations
///
Task> ApplyRecoveryPointWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, ApplyRecoveryPointInput applyRecoveryPointInput, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Execute cancel failover.
- ///
- ///
- /// Operation to cancel the failover of the replication protected item.
- ///
- ///
- /// Unique fabric name.
- ///
- ///
- /// Protection container name.
- ///
- ///
- /// Replication protected item name.
- ///
- ///
- /// The headers that will be added to request.
- ///
- ///
- /// The cancellation token.
- ///
- ///
- /// Thrown when the operation returned an invalid status code
- ///
- ///
- /// Thrown when unable to deserialize the response
- ///
- ///
- /// Thrown when a required parameter is null
- ///
- Task> FailoverCancelWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
- ///
- /// Execute commit failover.
+ /// Execute commit failover
///
///
/// Operation to commit the failover of the replication protected item.
@@ -317,7 +286,7 @@ public partial interface IReplicationProtectedItemsOperations
///
Task> FailoverCommitWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Execute planned failover.
+ /// Execute planned failover
///
///
/// Operation to initiate a planned failover of the replication
@@ -333,7 +302,7 @@ public partial interface IReplicationProtectedItemsOperations
/// Replication protected item name.
///
///
- /// Planned failover input.
+ /// Disable protection input.
///
///
/// The headers that will be added to request.
@@ -450,7 +419,7 @@ public partial interface IReplicationProtectedItemsOperations
///
Task> RepairReplicationWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Execute Reverse Replication\Reprotect.
+ /// Execute Reverse Replication\Reprotect
///
///
/// Operation to reprotect or reverse replicate a failed over
@@ -465,8 +434,8 @@ public partial interface IReplicationProtectedItemsOperations
///
/// Replication protected item name.
///
- ///
- /// Reverse replication input.
+ ///
+ /// Disable protection input.
///
///
/// The headers that will be added to request.
@@ -483,7 +452,7 @@ public partial interface IReplicationProtectedItemsOperations
///
/// Thrown when a required parameter is null
///
- Task> ReprotectWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, ReverseReplicationInput reprotectInput, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> ReprotectWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, ReverseReplicationInput rrInput, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Resolve health errors.
///
@@ -520,7 +489,7 @@ public partial interface IReplicationProtectedItemsOperations
///
Task> ResolveHealthErrorsWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, ResolveHealthInput resolveHealthInput, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Execute test failover.
+ /// Execute test failover
///
///
/// Operation to perform a test failover of the replication protected
@@ -535,7 +504,7 @@ public partial interface IReplicationProtectedItemsOperations
///
/// Replication protected item name.
///
- ///
+ ///
/// Test failover input.
///
///
@@ -553,7 +522,7 @@ public partial interface IReplicationProtectedItemsOperations
///
/// Thrown when a required parameter is null
///
- Task> TestFailoverWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, TestFailoverInput testfailoverInput, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> TestFailoverWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, TestFailoverInput failoverInput, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Execute test failover cleanup.
///
@@ -590,7 +559,7 @@ public partial interface IReplicationProtectedItemsOperations
///
Task> TestFailoverCleanupWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, TestFailoverCleanupInput cleanupInput, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Execute unplanned failover.
+ /// Execute unplanned failover
///
///
/// Operation to initiate a failover of the replication protected item.
@@ -605,7 +574,7 @@ public partial interface IReplicationProtectedItemsOperations
/// Replication protected item name.
///
///
- /// Failover input.
+ /// Disable protection input.
///
///
/// The headers that will be added to request.
@@ -670,7 +639,7 @@ public partial interface IReplicationProtectedItemsOperations
///
///
/// The pagination token. Possible values: "FabricId" or
- /// "FabricId_CloudId" or null.
+ /// "FabricId_CloudId" or null
///
///
/// The headers that will be added to request.
@@ -755,7 +724,7 @@ public partial interface IReplicationProtectedItemsOperations
///
Task BeginPurgeWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Updates the replication protected item settings.
+ /// Updates protection.
///
///
/// The operation to update the recovery settings of an ASR replication
@@ -837,7 +806,7 @@ public partial interface IReplicationProtectedItemsOperations
/// The protection container name.
///
///
- /// The replicated protected item name.
+ /// The replicated protected item's name.
///
///
/// The ApplyRecoveryPointInput.
@@ -859,38 +828,7 @@ public partial interface IReplicationProtectedItemsOperations
///
Task> BeginApplyRecoveryPointWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, ApplyRecoveryPointInput applyRecoveryPointInput, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Execute cancel failover.
- ///
- ///
- /// Operation to cancel the failover of the replication protected item.
- ///
- ///
- /// Unique fabric name.
- ///
- ///
- /// Protection container name.
- ///
- ///
- /// Replication protected item name.
- ///
- ///
- /// The headers that will be added to request.
- ///
- ///
- /// The cancellation token.
- ///
- ///
- /// Thrown when the operation returned an invalid status code
- ///
- ///
- /// Thrown when unable to deserialize the response
- ///
- ///
- /// Thrown when a required parameter is null
- ///
- Task> BeginFailoverCancelWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
- ///
- /// Execute commit failover.
+ /// Execute commit failover
///
///
/// Operation to commit the failover of the replication protected item.
@@ -921,7 +859,7 @@ public partial interface IReplicationProtectedItemsOperations
///
Task> BeginFailoverCommitWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Execute planned failover.
+ /// Execute planned failover
///
///
/// Operation to initiate a planned failover of the replication
@@ -937,7 +875,7 @@ public partial interface IReplicationProtectedItemsOperations
/// Replication protected item name.
///
///
- /// Planned failover input.
+ /// Disable protection input.
///
///
/// The headers that will be added to request.
@@ -1054,7 +992,7 @@ public partial interface IReplicationProtectedItemsOperations
///
Task> BeginRepairReplicationWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Execute Reverse Replication\Reprotect.
+ /// Execute Reverse Replication\Reprotect
///
///
/// Operation to reprotect or reverse replicate a failed over
@@ -1069,8 +1007,8 @@ public partial interface IReplicationProtectedItemsOperations
///
/// Replication protected item name.
///
- ///
- /// Reverse replication input.
+ ///
+ /// Disable protection input.
///
///
/// The headers that will be added to request.
@@ -1087,7 +1025,7 @@ public partial interface IReplicationProtectedItemsOperations
///
/// Thrown when a required parameter is null
///
- Task> BeginReprotectWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, ReverseReplicationInput reprotectInput, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> BeginReprotectWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, ReverseReplicationInput rrInput, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Resolve health errors.
///
@@ -1124,7 +1062,7 @@ public partial interface IReplicationProtectedItemsOperations
///
Task> BeginResolveHealthErrorsWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, ResolveHealthInput resolveHealthInput, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Execute test failover.
+ /// Execute test failover
///
///
/// Operation to perform a test failover of the replication protected
@@ -1139,7 +1077,7 @@ public partial interface IReplicationProtectedItemsOperations
///
/// Replication protected item name.
///
- ///
+ ///
/// Test failover input.
///
///
@@ -1157,7 +1095,7 @@ public partial interface IReplicationProtectedItemsOperations
///
/// Thrown when a required parameter is null
///
- Task> BeginTestFailoverWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, TestFailoverInput testfailoverInput, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> BeginTestFailoverWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, TestFailoverInput failoverInput, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Execute test failover cleanup.
///
@@ -1194,7 +1132,7 @@ public partial interface IReplicationProtectedItemsOperations
///
Task> BeginTestFailoverCleanupWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, TestFailoverCleanupInput cleanupInput, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Execute unplanned failover.
+ /// Execute unplanned failover
///
///
/// Operation to initiate a failover of the replication protected item.
@@ -1209,7 +1147,7 @@ public partial interface IReplicationProtectedItemsOperations
/// Replication protected item name.
///
///
- /// Failover input.
+ /// Disable protection input.
///
///
/// The headers that will be added to request.
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationProtectionContainerMappingsOperations.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationProtectionContainerMappingsOperations.cs
index e3953baf00ec..bd9b10550cae 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationProtectionContainerMappingsOperations.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationProtectionContainerMappingsOperations.cs
@@ -53,7 +53,7 @@ public partial interface IReplicationProtectionContainerMappingsOperations
///
Task>> ListByReplicationProtectionContainersWithHttpMessagesAsync(string fabricName, string protectionContainerName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Gets a protection container mapping.
+ /// Gets a protection container mapping/
///
///
/// Gets the details of a protection container mapping.
@@ -121,8 +121,7 @@ public partial interface IReplicationProtectionContainerMappingsOperations
/// Purge protection container mapping.
///
///
- /// The operation to purge(force delete) a protection container
- /// mapping.
+ /// The operation to purge(force delete) a protection container mapping
///
///
/// Fabric name.
@@ -271,8 +270,7 @@ public partial interface IReplicationProtectionContainerMappingsOperations
/// Purge protection container mapping.
///
///
- /// The operation to purge(force delete) a protection container
- /// mapping.
+ /// The operation to purge(force delete) a protection container mapping
///
///
/// Fabric name.
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationProtectionContainersOperations.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationProtectionContainersOperations.cs
index d1161aedf309..c41da22e4dd0 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationProtectionContainersOperations.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationProtectionContainersOperations.cs
@@ -112,7 +112,7 @@ public partial interface IReplicationProtectionContainersOperations
///
///
/// The operation to a add a protectable item to a protection
- /// container(Add physical server).
+ /// container(Add physical server.)
///
///
/// The name of the fabric.
@@ -255,7 +255,7 @@ public partial interface IReplicationProtectionContainersOperations
///
///
/// The operation to a add a protectable item to a protection
- /// container(Add physical server).
+ /// container(Add physical server.)
///
///
/// The name of the fabric.
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationProtectionIntentsOperations.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationProtectionIntentsOperations.cs
index 9ba188e1d974..a6641317ab29 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationProtectionIntentsOperations.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationProtectionIntentsOperations.cs
@@ -30,12 +30,6 @@ public partial interface IReplicationProtectionIntentsOperations
/// Gets the list of ASR replication protection intent objects in the
/// vault.
///
- ///
- /// The pagination token.
- ///
- ///
- /// The page size.
- ///
///
/// The headers that will be added to request.
///
@@ -51,7 +45,7 @@ public partial interface IReplicationProtectionIntentsOperations
///
/// Thrown when a required parameter is null
///
- Task>> ListWithHttpMessagesAsync(string skipToken = default(string), string takeToken = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task>> ListWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Gets the details of a Replication protection intent item.
///
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationRecoveryPlansOperations.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationRecoveryPlansOperations.cs
index b8efc1feaad1..a6f740db6a3b 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationRecoveryPlansOperations.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationRecoveryPlansOperations.cs
@@ -130,7 +130,7 @@ public partial interface IReplicationRecoveryPlansOperations
/// Recovery plan name.
///
///
- /// Update recovery plan input.
+ /// Update recovery plan input
///
///
/// The headers that will be added to request.
@@ -149,35 +149,10 @@ public partial interface IReplicationRecoveryPlansOperations
///
Task> UpdateWithHttpMessagesAsync(string recoveryPlanName, UpdateRecoveryPlanInput input, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Execute cancel failover of the recovery plan.
- ///
- ///
- /// The operation to cancel the failover of a recovery plan.
- ///
- ///
- /// Recovery plan name.
- ///
- ///
- /// The headers that will be added to request.
- ///
- ///
- /// The cancellation token.
- ///
- ///
- /// Thrown when the operation returned an invalid status code
- ///
- ///
- /// Thrown when unable to deserialize the response
- ///
- ///
- /// Thrown when a required parameter is null
- ///
- Task> FailoverCancelWithHttpMessagesAsync(string recoveryPlanName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
- ///
/// Execute commit failover of the recovery plan.
///
///
- /// The operation to commit the failover of a recovery plan.
+ /// The operation to commit the fail over of a recovery plan.
///
///
/// Recovery plan name.
@@ -261,7 +236,7 @@ public partial interface IReplicationRecoveryPlansOperations
/// Recovery plan name.
///
///
- /// Recovery plan test failover input.
+ /// Failover input.
///
///
/// The headers that will be added to request.
@@ -289,7 +264,7 @@ public partial interface IReplicationRecoveryPlansOperations
/// Recovery plan name.
///
///
- /// Recovery plan test failover cleanup input.
+ /// Test failover cleanup input.
///
///
/// The headers that will be added to request.
@@ -311,13 +286,13 @@ public partial interface IReplicationRecoveryPlansOperations
/// Execute unplanned failover of the recovery plan.
///
///
- /// The operation to start the unplanned failover of a recovery plan.
+ /// The operation to start the failover of a recovery plan.
///
///
/// Recovery plan name.
///
///
- /// Recovery plan unplanned failover input.
+ /// Failover input.
///
///
/// The headers that will be added to request.
@@ -395,7 +370,7 @@ public partial interface IReplicationRecoveryPlansOperations
/// Recovery plan name.
///
///
- /// Update recovery plan input.
+ /// Update recovery plan input
///
///
/// The headers that will be added to request.
@@ -414,35 +389,10 @@ public partial interface IReplicationRecoveryPlansOperations
///
Task> BeginUpdateWithHttpMessagesAsync(string recoveryPlanName, UpdateRecoveryPlanInput input, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Execute cancel failover of the recovery plan.
- ///
- ///
- /// The operation to cancel the failover of a recovery plan.
- ///
- ///
- /// Recovery plan name.
- ///
- ///
- /// The headers that will be added to request.
- ///
- ///
- /// The cancellation token.
- ///
- ///
- /// Thrown when the operation returned an invalid status code
- ///
- ///
- /// Thrown when unable to deserialize the response
- ///
- ///
- /// Thrown when a required parameter is null
- ///
- Task> BeginFailoverCancelWithHttpMessagesAsync(string recoveryPlanName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
- ///
/// Execute commit failover of the recovery plan.
///
///
- /// The operation to commit the failover of a recovery plan.
+ /// The operation to commit the fail over of a recovery plan.
///
///
/// Recovery plan name.
@@ -526,7 +476,7 @@ public partial interface IReplicationRecoveryPlansOperations
/// Recovery plan name.
///
///
- /// Recovery plan test failover input.
+ /// Failover input.
///
///
/// The headers that will be added to request.
@@ -554,7 +504,7 @@ public partial interface IReplicationRecoveryPlansOperations
/// Recovery plan name.
///
///
- /// Recovery plan test failover cleanup input.
+ /// Test failover cleanup input.
///
///
/// The headers that will be added to request.
@@ -576,13 +526,13 @@ public partial interface IReplicationRecoveryPlansOperations
/// Execute unplanned failover of the recovery plan.
///
///
- /// The operation to start the unplanned failover of a recovery plan.
+ /// The operation to start the failover of a recovery plan.
///
///
/// Recovery plan name.
///
///
- /// Recovery plan unplanned failover input.
+ /// Failover input.
///
///
/// The headers that will be added to request.
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationRecoveryServicesProvidersOperations.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationRecoveryServicesProvidersOperations.cs
index 414b076e4b5e..4b5a376d3b21 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationRecoveryServicesProvidersOperations.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationRecoveryServicesProvidersOperations.cs
@@ -32,7 +32,7 @@ public partial interface IReplicationRecoveryServicesProvidersOperations
/// fabric.
///
///
- /// Fabric name.
+ /// Fabric name
///
///
/// The headers that will be added to request.
@@ -60,7 +60,7 @@ public partial interface IReplicationRecoveryServicesProvidersOperations
/// Fabric name.
///
///
- /// Recovery services provider name.
+ /// Recovery services provider name
///
///
/// The headers that will be added to request.
@@ -110,7 +110,7 @@ public partial interface IReplicationRecoveryServicesProvidersOperations
///
Task> CreateWithHttpMessagesAsync(string fabricName, string providerName, AddRecoveryServicesProviderInput addProviderInput, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Purges recovery service provider from fabric.
+ /// Purges recovery service provider from fabric
///
///
/// The operation to purge(force delete) a recovery services provider
@@ -173,7 +173,7 @@ public partial interface IReplicationRecoveryServicesProvidersOperations
///
///
/// The operation to removes/delete(unregister) a recovery services
- /// provider from the vault.
+ /// provider from the vault
///
///
/// Fabric name.
@@ -199,7 +199,7 @@ public partial interface IReplicationRecoveryServicesProvidersOperations
/// vault. This is a view only api.
///
///
- /// Lists the registered recovery services providers in the vault.
+ /// Lists the registered recovery services providers in the vault
///
///
/// The headers that will be added to request.
@@ -249,7 +249,7 @@ public partial interface IReplicationRecoveryServicesProvidersOperations
///
Task> BeginCreateWithHttpMessagesAsync(string fabricName, string providerName, AddRecoveryServicesProviderInput addProviderInput, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Purges recovery service provider from fabric.
+ /// Purges recovery service provider from fabric
///
///
/// The operation to purge(force delete) a recovery services provider
@@ -312,7 +312,7 @@ public partial interface IReplicationRecoveryServicesProvidersOperations
///
///
/// The operation to removes/delete(unregister) a recovery services
- /// provider from the vault.
+ /// provider from the vault
///
///
/// Fabric name.
@@ -365,7 +365,7 @@ public partial interface IReplicationRecoveryServicesProvidersOperations
/// vault. This is a view only api.
///
///
- /// Lists the registered recovery services providers in the vault.
+ /// Lists the registered recovery services providers in the vault
///
///
/// The NextLink from the previous successful call to List operation.
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationVaultSettingOperations.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationVaultSettingOperations.cs
index b7609aec84db..5312e4f78158 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationVaultSettingOperations.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationVaultSettingOperations.cs
@@ -102,35 +102,6 @@ public partial interface IReplicationVaultSettingOperations
///
Task> CreateWithHttpMessagesAsync(string vaultSettingName, VaultSettingCreationInput input, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Updates vault setting. A vault setting object is a singleton per
- /// vault and it is always present by default.
- ///
- ///
- /// The operation to configure vault setting.
- ///
- ///
- /// Vault setting name.
- ///
- ///
- /// Vault setting creation input.
- ///
- ///
- /// The headers that will be added to request.
- ///
- ///
- /// The cancellation token.
- ///
- ///
- /// Thrown when the operation returned an invalid status code
- ///
- ///
- /// Thrown when unable to deserialize the response
- ///
- ///
- /// Thrown when a required parameter is null
- ///
- Task> BeginCreateWithHttpMessagesAsync(string vaultSettingName, VaultSettingCreationInput input, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
- ///
/// Gets the list of vault setting.
///
///
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationvCentersOperations.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationvCentersOperations.cs
index 1c473d5a0632..d9552f54967f 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationvCentersOperations.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/IReplicationvCentersOperations.cs
@@ -53,13 +53,13 @@ public partial interface IReplicationvCentersOperations
///
///
/// Gets the details of a registered vCenter server(Add vCenter
- /// server).
+ /// server.)
///
///
/// Fabric name.
///
- ///
- /// vcenter name.
+ ///
+ /// vCenter name.
///
///
/// The headers that will be added to request.
@@ -76,7 +76,7 @@ public partial interface IReplicationvCentersOperations
///
/// Thrown when a required parameter is null
///
- Task> GetWithHttpMessagesAsync(string fabricName, string vcenterName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> GetWithHttpMessagesAsync(string fabricName, string vCenterName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Add vCenter.
///
@@ -86,8 +86,8 @@ public partial interface IReplicationvCentersOperations
///
/// Fabric name.
///
- ///
- /// vcenter name.
+ ///
+ /// vCenter name.
///
///
/// The input to the add vCenter operation.
@@ -107,9 +107,9 @@ public partial interface IReplicationvCentersOperations
///
/// Thrown when a required parameter is null
///
- Task> CreateWithHttpMessagesAsync(string fabricName, string vcenterName, AddVCenterRequest addVCenterRequest, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> CreateWithHttpMessagesAsync(string fabricName, string vCenterName, AddVCenterRequest addVCenterRequest, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Remove vcenter operation.
+ /// Remove vCenter operation.
///
///
/// The operation to remove(unregister) a registered vCenter server
@@ -118,8 +118,8 @@ public partial interface IReplicationvCentersOperations
///
/// Fabric name.
///
- ///
- /// vcenter name.
+ ///
+ /// vCenter name.
///
///
/// The headers that will be added to request.
@@ -133,7 +133,7 @@ public partial interface IReplicationvCentersOperations
///
/// Thrown when a required parameter is null
///
- Task DeleteWithHttpMessagesAsync(string fabricName, string vcenterName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task DeleteWithHttpMessagesAsync(string fabricName, string vCenterName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Update vCenter operation.
///
@@ -143,8 +143,8 @@ public partial interface IReplicationvCentersOperations
///
/// Fabric name.
///
- ///
- /// vcenter name.
+ ///
+ /// vCenter name
///
///
/// The input to the update vCenter operation.
@@ -164,7 +164,7 @@ public partial interface IReplicationvCentersOperations
///
/// Thrown when a required parameter is null
///
- Task> UpdateWithHttpMessagesAsync(string fabricName, string vcenterName, UpdateVCenterRequest updateVCenterRequest, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> UpdateWithHttpMessagesAsync(string fabricName, string vCenterName, UpdateVCenterRequest updateVCenterRequest, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Gets the list of vCenter registered under the vault.
///
@@ -196,8 +196,8 @@ public partial interface IReplicationvCentersOperations
///
/// Fabric name.
///
- ///
- /// vcenter name.
+ ///
+ /// vCenter name.
///
///
/// The input to the add vCenter operation.
@@ -217,9 +217,9 @@ public partial interface IReplicationvCentersOperations
///
/// Thrown when a required parameter is null
///
- Task> BeginCreateWithHttpMessagesAsync(string fabricName, string vcenterName, AddVCenterRequest addVCenterRequest, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> BeginCreateWithHttpMessagesAsync(string fabricName, string vCenterName, AddVCenterRequest addVCenterRequest, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Remove vcenter operation.
+ /// Remove vCenter operation.
///
///
/// The operation to remove(unregister) a registered vCenter server
@@ -228,8 +228,8 @@ public partial interface IReplicationvCentersOperations
///
/// Fabric name.
///
- ///
- /// vcenter name.
+ ///
+ /// vCenter name.
///
///
/// The headers that will be added to request.
@@ -243,7 +243,7 @@ public partial interface IReplicationvCentersOperations
///
/// Thrown when a required parameter is null
///
- Task BeginDeleteWithHttpMessagesAsync(string fabricName, string vcenterName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task BeginDeleteWithHttpMessagesAsync(string fabricName, string vCenterName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Update vCenter operation.
///
@@ -253,8 +253,8 @@ public partial interface IReplicationvCentersOperations
///
/// Fabric name.
///
- ///
- /// vcenter name.
+ ///
+ /// vCenter name
///
///
/// The input to the update vCenter operation.
@@ -274,7 +274,7 @@ public partial interface IReplicationvCentersOperations
///
/// Thrown when a required parameter is null
///
- Task> BeginUpdateWithHttpMessagesAsync(string fabricName, string vcenterName, UpdateVCenterRequest updateVCenterRequest, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> BeginUpdateWithHttpMessagesAsync(string fabricName, string vCenterName, UpdateVCenterRequest updateVCenterRequest, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Gets the list of vCenter registered under a fabric.
///
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/ISiteRecoveryManagementClient.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/ISiteRecoveryManagementClient.cs
index edfade7bbef0..4d4591e05625 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/ISiteRecoveryManagementClient.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/ISiteRecoveryManagementClient.cs
@@ -159,6 +159,11 @@ public partial interface ISiteRecoveryManagementClient : System.IDisposable
///
IReplicationProtectionContainerMappingsOperations ReplicationProtectionContainerMappings { get; }
+ ///
+ /// Gets the IReplicationProtectionIntentsOperations.
+ ///
+ IReplicationProtectionIntentsOperations ReplicationProtectionIntents { get; }
+
///
/// Gets the IReplicationRecoveryServicesProvidersOperations.
///
@@ -189,11 +194,6 @@ public partial interface ISiteRecoveryManagementClient : System.IDisposable
///
IReplicationPoliciesOperations ReplicationPolicies { get; }
- ///
- /// Gets the IReplicationProtectionIntentsOperations.
- ///
- IReplicationProtectionIntentsOperations ReplicationProtectionIntents { get; }
-
///
/// Gets the IReplicationRecoveryPlansOperations.
///
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/ISupportedOperatingSystemsOperations.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/ISupportedOperatingSystemsOperations.cs
index 65506bd98c71..d785646ce58a 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/ISupportedOperatingSystemsOperations.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/ISupportedOperatingSystemsOperations.cs
@@ -24,11 +24,8 @@ namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery
public partial interface ISupportedOperatingSystemsOperations
{
///
- /// Gets the data of supported operating systems by SRS.
+ /// Gets the data of supported OSes by SRS.
///
- ///
- /// The instance type.
- ///
///
/// The headers that will be added to request.
///
@@ -44,6 +41,6 @@ public partial interface ISupportedOperatingSystemsOperations
///
/// Thrown when a required parameter is null
///
- Task> GetWithHttpMessagesAsync(string instanceType = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> GetWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/MigrationRecoveryPointsOperations.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/MigrationRecoveryPointsOperations.cs
index 9a3b242620dd..6af1fea3048d 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/MigrationRecoveryPointsOperations.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/MigrationRecoveryPointsOperations.cs
@@ -128,7 +128,7 @@ internal MigrationRecoveryPointsOperations(SiteRecoveryManagementClient client)
}
// Construct URL
var _baseUrl = Client.BaseUri.AbsoluteUri;
- var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/migrationRecoveryPoints").ToString();
+ var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/migrationRecoveryPoints").ToString();
_url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(Client.ResourceName));
_url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(Client.ResourceGroupName));
_url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
@@ -351,7 +351,7 @@ internal MigrationRecoveryPointsOperations(SiteRecoveryManagementClient client)
}
// Construct URL
var _baseUrl = Client.BaseUri.AbsoluteUri;
- var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/migrationRecoveryPoints/{migrationRecoveryPointName}").ToString();
+ var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/migrationRecoveryPoints/{migrationRecoveryPointName}").ToString();
_url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(Client.ResourceName));
_url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(Client.ResourceGroupName));
_url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2ACrossClusterMigrationApplyRecoveryPointInput.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2ACrossClusterMigrationApplyRecoveryPointInput.cs
deleted file mode 100644
index 4fb0b5ba8844..000000000000
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2ACrossClusterMigrationApplyRecoveryPointInput.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// ApplyRecoveryPoint input specific to A2ACrossClusterMigration provider.
- ///
- [Newtonsoft.Json.JsonObject("A2ACrossClusterMigration")]
- public partial class A2ACrossClusterMigrationApplyRecoveryPointInput : ApplyRecoveryPointProviderSpecificInput
- {
- ///
- /// Initializes a new instance of the
- /// A2ACrossClusterMigrationApplyRecoveryPointInput class.
- ///
- public A2ACrossClusterMigrationApplyRecoveryPointInput()
- {
- CustomInit();
- }
-
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- }
-}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2ACrossClusterMigrationContainerCreationInput.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2ACrossClusterMigrationContainerCreationInput.cs
deleted file mode 100644
index a89c59d5a4bd..000000000000
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2ACrossClusterMigrationContainerCreationInput.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// A2ACrossClusterMigration cloud creation input.
- ///
- [Newtonsoft.Json.JsonObject("A2ACrossClusterMigration")]
- public partial class A2ACrossClusterMigrationContainerCreationInput : ReplicationProviderSpecificContainerCreationInput
- {
- ///
- /// Initializes a new instance of the
- /// A2ACrossClusterMigrationContainerCreationInput class.
- ///
- public A2ACrossClusterMigrationContainerCreationInput()
- {
- CustomInit();
- }
-
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- }
-}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2ACrossClusterMigrationEnableProtectionInput.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2ACrossClusterMigrationEnableProtectionInput.cs
deleted file mode 100644
index fb608a110a9e..000000000000
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2ACrossClusterMigrationEnableProtectionInput.cs
+++ /dev/null
@@ -1,64 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// A2A Cross-Cluster Migration enable protection input.
- ///
- [Newtonsoft.Json.JsonObject("A2ACrossClusterMigration")]
- public partial class A2ACrossClusterMigrationEnableProtectionInput : EnableProtectionProviderSpecificInput
- {
- ///
- /// Initializes a new instance of the
- /// A2ACrossClusterMigrationEnableProtectionInput class.
- ///
- public A2ACrossClusterMigrationEnableProtectionInput()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// A2ACrossClusterMigrationEnableProtectionInput class.
- ///
- /// The fabric specific object Id of the
- /// virtual machine.
- /// The recovery container
- /// Id.
- public A2ACrossClusterMigrationEnableProtectionInput(string fabricObjectId = default(string), string recoveryContainerId = default(string))
- {
- FabricObjectId = fabricObjectId;
- RecoveryContainerId = recoveryContainerId;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the fabric specific object Id of the virtual machine.
- ///
- [JsonProperty(PropertyName = "fabricObjectId")]
- public string FabricObjectId { get; set; }
-
- ///
- /// Gets or sets the recovery container Id.
- ///
- [JsonProperty(PropertyName = "recoveryContainerId")]
- public string RecoveryContainerId { get; set; }
-
- }
-}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2ACrossClusterMigrationPolicyCreationInput.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2ACrossClusterMigrationPolicyCreationInput.cs
deleted file mode 100644
index 911c7a212b93..000000000000
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2ACrossClusterMigrationPolicyCreationInput.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// A2A Cross-Cluster Migration Policy creation input.
- ///
- [Newtonsoft.Json.JsonObject("A2ACrossClusterMigration")]
- public partial class A2ACrossClusterMigrationPolicyCreationInput : PolicyProviderSpecificInput
- {
- ///
- /// Initializes a new instance of the
- /// A2ACrossClusterMigrationPolicyCreationInput class.
- ///
- public A2ACrossClusterMigrationPolicyCreationInput()
- {
- CustomInit();
- }
-
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- }
-}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2ACrossClusterMigrationReplicationDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2ACrossClusterMigrationReplicationDetails.cs
deleted file mode 100644
index d05d6117f7ba..000000000000
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2ACrossClusterMigrationReplicationDetails.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// A2A provider specific settings.
- ///
- [Newtonsoft.Json.JsonObject("A2ACrossClusterMigration")]
- public partial class A2ACrossClusterMigrationReplicationDetails : ReplicationProviderSpecificSettings
- {
- ///
- /// Initializes a new instance of the
- /// A2ACrossClusterMigrationReplicationDetails class.
- ///
- public A2ACrossClusterMigrationReplicationDetails()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// A2ACrossClusterMigrationReplicationDetails class.
- ///
- /// The fabric specific object Id of the
- /// virtual machine.
- /// Primary fabric
- /// location.
- /// The type of operating system.
- /// The protection state for the
- /// vm.
- /// The protection state
- /// description for the vm.
- /// An id associated with the PE that
- /// survives actions like switch protection which change the backing
- /// PE/CPE objects internally.The lifecycle id gets carried forward to
- /// have a link/continuity in being able to have an Id that denotes the
- /// "same" protected item even though other internal Ids/ARM Id might
- /// be changing.
- public A2ACrossClusterMigrationReplicationDetails(string fabricObjectId = default(string), string primaryFabricLocation = default(string), string osType = default(string), string vmProtectionState = default(string), string vmProtectionStateDescription = default(string), string lifecycleId = default(string))
- {
- FabricObjectId = fabricObjectId;
- PrimaryFabricLocation = primaryFabricLocation;
- OsType = osType;
- VmProtectionState = vmProtectionState;
- VmProtectionStateDescription = vmProtectionStateDescription;
- LifecycleId = lifecycleId;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the fabric specific object Id of the virtual machine.
- ///
- [JsonProperty(PropertyName = "fabricObjectId")]
- public string FabricObjectId { get; set; }
-
- ///
- /// Gets or sets primary fabric location.
- ///
- [JsonProperty(PropertyName = "primaryFabricLocation")]
- public string PrimaryFabricLocation { get; set; }
-
- ///
- /// Gets or sets the type of operating system.
- ///
- [JsonProperty(PropertyName = "osType")]
- public string OsType { get; set; }
-
- ///
- /// Gets or sets the protection state for the vm.
- ///
- [JsonProperty(PropertyName = "vmProtectionState")]
- public string VmProtectionState { get; set; }
-
- ///
- /// Gets or sets the protection state description for the vm.
- ///
- [JsonProperty(PropertyName = "vmProtectionStateDescription")]
- public string VmProtectionStateDescription { get; set; }
-
- ///
- /// Gets or sets an id associated with the PE that survives actions
- /// like switch protection which change the backing PE/CPE objects
- /// internally.The lifecycle id gets carried forward to have a
- /// link/continuity in being able to have an Id that denotes the "same"
- /// protected item even though other internal Ids/ARM Id might be
- /// changing.
- ///
- [JsonProperty(PropertyName = "lifecycleId")]
- public string LifecycleId { get; set; }
-
- }
-}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AEnableProtectionInput.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AEnableProtectionInput.cs
index 2e4eabe9f745..05570464ebc8 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AEnableProtectionInput.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AEnableProtectionInput.cs
@@ -10,7 +10,6 @@
namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
{
- using Microsoft.Rest;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
@@ -49,19 +48,16 @@ public A2AEnableProtectionInput()
/// The list of vm managed disk
/// details.
/// The multi vm group name.
- /// The multi vm group id.
/// The boot diagnostic
/// storage account.
/// The recovery disk encryption
- /// information (for two pass flows).
+ /// information.
/// The recovery availability
/// zone.
/// The recovery Azure virtual
/// network ARM id.
/// The recovery subnet name.
- /// The virtual machine
- /// scale set Id.
- public A2AEnableProtectionInput(string fabricObjectId, string recoveryContainerId = default(string), string recoveryResourceGroupId = default(string), string recoveryCloudServiceId = default(string), string recoveryAvailabilitySetId = default(string), string recoveryProximityPlacementGroupId = default(string), IList vmDisks = default(IList), IList vmManagedDisks = default(IList), string multiVmGroupName = default(string), string multiVmGroupId = default(string), string recoveryBootDiagStorageAccountId = default(string), DiskEncryptionInfo diskEncryptionInfo = default(DiskEncryptionInfo), string recoveryAvailabilityZone = default(string), string recoveryAzureNetworkId = default(string), string recoverySubnetName = default(string), string recoveryVirtualMachineScaleSetId = default(string))
+ public A2AEnableProtectionInput(string fabricObjectId = default(string), string recoveryContainerId = default(string), string recoveryResourceGroupId = default(string), string recoveryCloudServiceId = default(string), string recoveryAvailabilitySetId = default(string), string recoveryProximityPlacementGroupId = default(string), IList vmDisks = default(IList), IList vmManagedDisks = default(IList), string multiVmGroupName = default(string), string recoveryBootDiagStorageAccountId = default(string), DiskEncryptionInfo diskEncryptionInfo = default(DiskEncryptionInfo), string recoveryAvailabilityZone = default(string), string recoveryAzureNetworkId = default(string), string recoverySubnetName = default(string))
{
FabricObjectId = fabricObjectId;
RecoveryContainerId = recoveryContainerId;
@@ -72,13 +68,11 @@ public A2AEnableProtectionInput()
VmDisks = vmDisks;
VmManagedDisks = vmManagedDisks;
MultiVmGroupName = multiVmGroupName;
- MultiVmGroupId = multiVmGroupId;
RecoveryBootDiagStorageAccountId = recoveryBootDiagStorageAccountId;
DiskEncryptionInfo = diskEncryptionInfo;
RecoveryAvailabilityZone = recoveryAvailabilityZone;
RecoveryAzureNetworkId = recoveryAzureNetworkId;
RecoverySubnetName = recoverySubnetName;
- RecoveryVirtualMachineScaleSetId = recoveryVirtualMachineScaleSetId;
CustomInit();
}
@@ -142,12 +136,6 @@ public A2AEnableProtectionInput()
[JsonProperty(PropertyName = "multiVmGroupName")]
public string MultiVmGroupName { get; set; }
- ///
- /// Gets or sets the multi vm group id.
- ///
- [JsonProperty(PropertyName = "multiVmGroupId")]
- public string MultiVmGroupId { get; set; }
-
///
/// Gets or sets the boot diagnostic storage account.
///
@@ -155,8 +143,7 @@ public A2AEnableProtectionInput()
public string RecoveryBootDiagStorageAccountId { get; set; }
///
- /// Gets or sets the recovery disk encryption information (for two pass
- /// flows).
+ /// Gets or sets the recovery disk encryption information.
///
[JsonProperty(PropertyName = "diskEncryptionInfo")]
public DiskEncryptionInfo DiskEncryptionInfo { get; set; }
@@ -179,44 +166,5 @@ public A2AEnableProtectionInput()
[JsonProperty(PropertyName = "recoverySubnetName")]
public string RecoverySubnetName { get; set; }
- ///
- /// Gets or sets the virtual machine scale set Id.
- ///
- [JsonProperty(PropertyName = "recoveryVirtualMachineScaleSetId")]
- public string RecoveryVirtualMachineScaleSetId { get; set; }
-
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
- if (FabricObjectId == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "FabricObjectId");
- }
- if (VmDisks != null)
- {
- foreach (var element in VmDisks)
- {
- if (element != null)
- {
- element.Validate();
- }
- }
- }
- if (VmManagedDisks != null)
- {
- foreach (var element1 in VmManagedDisks)
- {
- if (element1 != null)
- {
- element1.Validate();
- }
- }
- }
- }
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AFailoverProviderInput.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AFailoverProviderInput.cs
new file mode 100644
index 000000000000..1e9ed33b28e9
--- /dev/null
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AFailoverProviderInput.cs
@@ -0,0 +1,66 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// A2A provider specific input for failover.
+ ///
+ [Newtonsoft.Json.JsonObject("A2A")]
+ public partial class A2AFailoverProviderInput : ProviderSpecificFailoverInput
+ {
+ ///
+ /// Initializes a new instance of the A2AFailoverProviderInput class.
+ ///
+ public A2AFailoverProviderInput()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the A2AFailoverProviderInput class.
+ ///
+ /// The recovery point id to be passed to
+ /// failover to a particular recovery point. In case of latest recovery
+ /// point, null should be passed.
+ /// A value indicating whether
+ /// to use recovery cloud service for TFO or not.
+ public A2AFailoverProviderInput(string recoveryPointId = default(string), string cloudServiceCreationOption = default(string))
+ {
+ RecoveryPointId = recoveryPointId;
+ CloudServiceCreationOption = cloudServiceCreationOption;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets the recovery point id to be passed to failover to a
+ /// particular recovery point. In case of latest recovery point, null
+ /// should be passed.
+ ///
+ [JsonProperty(PropertyName = "recoveryPointId")]
+ public string RecoveryPointId { get; set; }
+
+ ///
+ /// Gets or sets a value indicating whether to use recovery cloud
+ /// service for TFO or not.
+ ///
+ [JsonProperty(PropertyName = "cloudServiceCreationOption")]
+ public string CloudServiceCreationOption { get; set; }
+
+ }
+}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AProtectedDiskDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AProtectedDiskDetails.cs
index 22b27bfa76d4..ba81eb50cad4 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AProtectedDiskDetails.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AProtectedDiskDetails.cs
@@ -69,11 +69,7 @@ public A2AProtectedDiskDetails()
/// The key URL / identifier (KEK).
/// The KeyVault resource id for key
/// (KEK).
- /// The failover name for the managed
- /// disk.
- /// The test failover name for the managed
- /// disk.
- public A2AProtectedDiskDetails(string diskUri = default(string), string recoveryAzureStorageAccountId = default(string), string primaryDiskAzureStorageAccountId = default(string), string recoveryDiskUri = default(string), string diskName = default(string), long? diskCapacityInBytes = default(long?), string primaryStagingAzureStorageAccountId = default(string), string diskType = default(string), bool? resyncRequired = default(bool?), int? monitoringPercentageCompletion = default(int?), string monitoringJobType = default(string), double? dataPendingInStagingStorageAccountInMB = default(double?), double? dataPendingAtSourceAgentInMB = default(double?), string diskState = default(string), IList allowedDiskLevelOperation = default(IList), bool? isDiskEncrypted = default(bool?), string secretIdentifier = default(string), string dekKeyVaultArmId = default(string), bool? isDiskKeyEncrypted = default(bool?), string keyIdentifier = default(string), string kekKeyVaultArmId = default(string), string failoverDiskName = default(string), string tfoDiskName = default(string))
+ public A2AProtectedDiskDetails(string diskUri = default(string), string recoveryAzureStorageAccountId = default(string), string primaryDiskAzureStorageAccountId = default(string), string recoveryDiskUri = default(string), string diskName = default(string), long? diskCapacityInBytes = default(long?), string primaryStagingAzureStorageAccountId = default(string), string diskType = default(string), bool? resyncRequired = default(bool?), int? monitoringPercentageCompletion = default(int?), string monitoringJobType = default(string), double? dataPendingInStagingStorageAccountInMB = default(double?), double? dataPendingAtSourceAgentInMB = default(double?), string diskState = default(string), IList allowedDiskLevelOperation = default(IList), bool? isDiskEncrypted = default(bool?), string secretIdentifier = default(string), string dekKeyVaultArmId = default(string), bool? isDiskKeyEncrypted = default(bool?), string keyIdentifier = default(string), string kekKeyVaultArmId = default(string))
{
DiskUri = diskUri;
RecoveryAzureStorageAccountId = recoveryAzureStorageAccountId;
@@ -96,8 +92,6 @@ public A2AProtectedDiskDetails()
IsDiskKeyEncrypted = isDiskKeyEncrypted;
KeyIdentifier = keyIdentifier;
KekKeyVaultArmId = kekKeyVaultArmId;
- FailoverDiskName = failoverDiskName;
- TfoDiskName = tfoDiskName;
CustomInit();
}
@@ -238,17 +232,5 @@ public A2AProtectedDiskDetails()
[JsonProperty(PropertyName = "kekKeyVaultArmId")]
public string KekKeyVaultArmId { get; set; }
- ///
- /// Gets or sets the failover name for the managed disk.
- ///
- [JsonProperty(PropertyName = "failoverDiskName")]
- public string FailoverDiskName { get; set; }
-
- ///
- /// Gets or sets the test failover name for the managed disk.
- ///
- [JsonProperty(PropertyName = "tfoDiskName")]
- public string TfoDiskName { get; set; }
-
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AProtectedManagedDiskDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AProtectedManagedDiskDetails.cs
index c2825bfc962d..b774d7a56957 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AProtectedManagedDiskDetails.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AProtectedManagedDiskDetails.cs
@@ -40,8 +40,6 @@ public A2AProtectedManagedDiskDetails()
/// Id.
/// Recovery replica disk Arm
/// Id.
- /// Recovery original target
- /// disk Arm Id.
/// The replica disk type.
/// Its an optional value and will be same as source disk type if not
/// user provided.
@@ -50,8 +48,6 @@ public A2AProtectedManagedDiskDetails()
/// disk type if not user provided.
/// The recovery disk
/// encryption set Id.
- /// The primary disk
- /// encryption set Id.
/// The disk name.
/// The disk capacity in
/// bytes.
@@ -88,17 +84,15 @@ public A2AProtectedManagedDiskDetails()
/// disk.
/// The test failover name for the managed
/// disk.
- public A2AProtectedManagedDiskDetails(string diskId = default(string), string recoveryResourceGroupId = default(string), string recoveryTargetDiskId = default(string), string recoveryReplicaDiskId = default(string), string recoveryOrignalTargetDiskId = default(string), string recoveryReplicaDiskAccountType = default(string), string recoveryTargetDiskAccountType = default(string), string recoveryDiskEncryptionSetId = default(string), string primaryDiskEncryptionSetId = default(string), string diskName = default(string), long? diskCapacityInBytes = default(long?), string primaryStagingAzureStorageAccountId = default(string), string diskType = default(string), bool? resyncRequired = default(bool?), int? monitoringPercentageCompletion = default(int?), string monitoringJobType = default(string), double? dataPendingInStagingStorageAccountInMB = default(double?), double? dataPendingAtSourceAgentInMB = default(double?), string diskState = default(string), IList allowedDiskLevelOperation = default(IList), bool? isDiskEncrypted = default(bool?), string secretIdentifier = default(string), string dekKeyVaultArmId = default(string), bool? isDiskKeyEncrypted = default(bool?), string keyIdentifier = default(string), string kekKeyVaultArmId = default(string), string failoverDiskName = default(string), string tfoDiskName = default(string))
+ public A2AProtectedManagedDiskDetails(string diskId = default(string), string recoveryResourceGroupId = default(string), string recoveryTargetDiskId = default(string), string recoveryReplicaDiskId = default(string), string recoveryReplicaDiskAccountType = default(string), string recoveryTargetDiskAccountType = default(string), string recoveryDiskEncryptionSetId = default(string), string diskName = default(string), long? diskCapacityInBytes = default(long?), string primaryStagingAzureStorageAccountId = default(string), string diskType = default(string), bool? resyncRequired = default(bool?), int? monitoringPercentageCompletion = default(int?), string monitoringJobType = default(string), double? dataPendingInStagingStorageAccountInMB = default(double?), double? dataPendingAtSourceAgentInMB = default(double?), string diskState = default(string), IList allowedDiskLevelOperation = default(IList), bool? isDiskEncrypted = default(bool?), string secretIdentifier = default(string), string dekKeyVaultArmId = default(string), bool? isDiskKeyEncrypted = default(bool?), string keyIdentifier = default(string), string kekKeyVaultArmId = default(string), string failoverDiskName = default(string), string tfoDiskName = default(string))
{
DiskId = diskId;
RecoveryResourceGroupId = recoveryResourceGroupId;
RecoveryTargetDiskId = recoveryTargetDiskId;
RecoveryReplicaDiskId = recoveryReplicaDiskId;
- RecoveryOrignalTargetDiskId = recoveryOrignalTargetDiskId;
RecoveryReplicaDiskAccountType = recoveryReplicaDiskAccountType;
RecoveryTargetDiskAccountType = recoveryTargetDiskAccountType;
RecoveryDiskEncryptionSetId = recoveryDiskEncryptionSetId;
- PrimaryDiskEncryptionSetId = primaryDiskEncryptionSetId;
DiskName = diskName;
DiskCapacityInBytes = diskCapacityInBytes;
PrimaryStagingAzureStorageAccountId = primaryStagingAzureStorageAccountId;
@@ -150,12 +144,6 @@ public A2AProtectedManagedDiskDetails()
[JsonProperty(PropertyName = "recoveryReplicaDiskId")]
public string RecoveryReplicaDiskId { get; set; }
- ///
- /// Gets or sets recovery original target disk Arm Id.
- ///
- [JsonProperty(PropertyName = "recoveryOrignalTargetDiskId")]
- public string RecoveryOrignalTargetDiskId { get; set; }
-
///
/// Gets or sets the replica disk type. Its an optional value and will
/// be same as source disk type if not user provided.
@@ -176,12 +164,6 @@ public A2AProtectedManagedDiskDetails()
[JsonProperty(PropertyName = "recoveryDiskEncryptionSetId")]
public string RecoveryDiskEncryptionSetId { get; set; }
- ///
- /// Gets or sets the primary disk encryption set Id.
- ///
- [JsonProperty(PropertyName = "primaryDiskEncryptionSetId")]
- public string PrimaryDiskEncryptionSetId { get; set; }
-
///
/// Gets or sets the disk name.
///
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AProtectionIntentDiskInputDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AProtectionIntentDiskInputDetails.cs
index 7a654e3f1803..59a7d16d9e55 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AProtectionIntentDiskInputDetails.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AProtectionIntentDiskInputDetails.cs
@@ -15,7 +15,7 @@ namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
using System.Linq;
///
- /// Azure VM unmanaged disk input details.
+ /// Azure VM disk input details.
///
public partial class A2AProtectionIntentDiskInputDetails
{
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AReplicationDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AReplicationDetails.cs
index 00cbb73d00d4..84b86fb23e4d 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AReplicationDetails.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AReplicationDetails.cs
@@ -34,14 +34,14 @@ public A2AReplicationDetails()
///
/// The fabric specific object Id of the
/// virtual machine.
- /// The initial primary availability
- /// zone.
/// The initial primary
/// fabric location.
- /// The initial recovery availability
- /// zone.
/// The initial recovery
/// fabric location.
+ /// The initial primary availability
+ /// zone.
+ /// The initial recovery availability
+ /// zone.
/// The multi vm group Id.
/// The multi vm group name.
/// Whether Multi VM group is
@@ -86,13 +86,8 @@ public A2AReplicationDetails()
/// The last heartbeat received from the
/// source server.
/// The agent version.
- /// Agent expiry date.
/// A value indicating
/// whether replication agent update is required.
- /// Agent certificate expiry
- /// date.
- /// A value
- /// indicating whether agent certificate update is required.
/// The recovery fabric object
/// Id.
/// The protection state for the
@@ -110,30 +105,21 @@ public A2AReplicationDetails()
/// The last RPO value in seconds.
/// The time (in UTC) when the last
/// RPO value was calculated by Protection Service.
- /// The primary availability
- /// zone.
/// The recovery availability
/// zone.
/// The encryption type of the VM.
/// Possible values include: 'NotEncrypted', 'OnePassEncrypted',
/// 'TwoPassEncrypted'
- /// The test failover vm name.
- /// The recovery azure
- /// generation.
+ /// The test failover VM name.
/// The recovery
/// proximity placement group Id.
- /// A value indicating whether
- /// the auto protection is enabled. Possible values include:
- /// 'Disabled', 'Enabled'
- /// The recovery virtual
- /// machine scale set id.
- public A2AReplicationDetails(string fabricObjectId = default(string), string initialPrimaryZone = default(string), string initialPrimaryFabricLocation = default(string), string initialRecoveryZone = default(string), string initialRecoveryFabricLocation = default(string), string multiVmGroupId = default(string), string multiVmGroupName = default(string), string multiVmGroupCreateOption = default(string), string managementId = default(string), IList protectedDisks = default(IList), IList unprotectedDisks = default(IList), IList protectedManagedDisks = default(IList), string recoveryBootDiagStorageAccountId = default(string), string primaryFabricLocation = default(string), string recoveryFabricLocation = default(string), string osType = default(string), string recoveryAzureVMSize = default(string), string recoveryAzureVMName = default(string), string recoveryAzureResourceGroupId = default(string), string recoveryCloudService = default(string), string recoveryAvailabilitySet = default(string), string selectedRecoveryAzureNetworkId = default(string), string selectedTfoAzureNetworkId = default(string), IList vmNics = default(IList), AzureToAzureVmSyncedConfigDetails vmSyncedConfigDetails = default(AzureToAzureVmSyncedConfigDetails), int? monitoringPercentageCompletion = default(int?), string monitoringJobType = default(string), System.DateTime? lastHeartbeat = default(System.DateTime?), string agentVersion = default(string), System.DateTime? agentExpiryDate = default(System.DateTime?), bool? isReplicationAgentUpdateRequired = default(bool?), System.DateTime? agentCertificateExpiryDate = default(System.DateTime?), bool? isReplicationAgentCertificateUpdateRequired = default(bool?), string recoveryFabricObjectId = default(string), string vmProtectionState = default(string), string vmProtectionStateDescription = default(string), string lifecycleId = default(string), string testFailoverRecoveryFabricObjectId = default(string), long? rpoInSeconds = default(long?), System.DateTime? lastRpoCalculatedTime = default(System.DateTime?), string primaryAvailabilityZone = default(string), string recoveryAvailabilityZone = default(string), string vmEncryptionType = default(string), string tfoAzureVMName = default(string), string recoveryAzureGeneration = default(string), string recoveryProximityPlacementGroupId = default(string), string autoProtectionOfDataDisk = default(string), string recoveryVirtualMachineScaleSetId = default(string))
+ public A2AReplicationDetails(string fabricObjectId = default(string), string initialPrimaryFabricLocation = default(string), string initialRecoveryFabricLocation = default(string), string initialPrimaryZone = default(string), string initialRecoveryZone = default(string), string multiVmGroupId = default(string), string multiVmGroupName = default(string), string multiVmGroupCreateOption = default(string), string managementId = default(string), IList protectedDisks = default(IList), IList unprotectedDisks = default(IList), IList protectedManagedDisks = default(IList), string recoveryBootDiagStorageAccountId = default(string), string primaryFabricLocation = default(string), string recoveryFabricLocation = default(string), string osType = default(string), string recoveryAzureVMSize = default(string), string recoveryAzureVMName = default(string), string recoveryAzureResourceGroupId = default(string), string recoveryCloudService = default(string), string recoveryAvailabilitySet = default(string), string selectedRecoveryAzureNetworkId = default(string), string selectedTfoAzureNetworkId = default(string), IList vmNics = default(IList), AzureToAzureVmSyncedConfigDetails vmSyncedConfigDetails = default(AzureToAzureVmSyncedConfigDetails), int? monitoringPercentageCompletion = default(int?), string monitoringJobType = default(string), System.DateTime? lastHeartbeat = default(System.DateTime?), string agentVersion = default(string), bool? isReplicationAgentUpdateRequired = default(bool?), string recoveryFabricObjectId = default(string), string vmProtectionState = default(string), string vmProtectionStateDescription = default(string), string lifecycleId = default(string), string testFailoverRecoveryFabricObjectId = default(string), long? rpoInSeconds = default(long?), System.DateTime? lastRpoCalculatedTime = default(System.DateTime?), string recoveryAvailabilityZone = default(string), string vmEncryptionType = default(string), string tfoAzureVMName = default(string), string recoveryProximityPlacementGroupId = default(string))
{
FabricObjectId = fabricObjectId;
- InitialPrimaryZone = initialPrimaryZone;
InitialPrimaryFabricLocation = initialPrimaryFabricLocation;
- InitialRecoveryZone = initialRecoveryZone;
InitialRecoveryFabricLocation = initialRecoveryFabricLocation;
+ InitialPrimaryZone = initialPrimaryZone;
+ InitialRecoveryZone = initialRecoveryZone;
MultiVmGroupId = multiVmGroupId;
MultiVmGroupName = multiVmGroupName;
MultiVmGroupCreateOption = multiVmGroupCreateOption;
@@ -158,10 +144,7 @@ public A2AReplicationDetails()
MonitoringJobType = monitoringJobType;
LastHeartbeat = lastHeartbeat;
AgentVersion = agentVersion;
- AgentExpiryDate = agentExpiryDate;
IsReplicationAgentUpdateRequired = isReplicationAgentUpdateRequired;
- AgentCertificateExpiryDate = agentCertificateExpiryDate;
- IsReplicationAgentCertificateUpdateRequired = isReplicationAgentCertificateUpdateRequired;
RecoveryFabricObjectId = recoveryFabricObjectId;
VmProtectionState = vmProtectionState;
VmProtectionStateDescription = vmProtectionStateDescription;
@@ -169,14 +152,10 @@ public A2AReplicationDetails()
TestFailoverRecoveryFabricObjectId = testFailoverRecoveryFabricObjectId;
RpoInSeconds = rpoInSeconds;
LastRpoCalculatedTime = lastRpoCalculatedTime;
- PrimaryAvailabilityZone = primaryAvailabilityZone;
RecoveryAvailabilityZone = recoveryAvailabilityZone;
VmEncryptionType = vmEncryptionType;
TfoAzureVMName = tfoAzureVMName;
- RecoveryAzureGeneration = recoveryAzureGeneration;
RecoveryProximityPlacementGroupId = recoveryProximityPlacementGroupId;
- AutoProtectionOfDataDisk = autoProtectionOfDataDisk;
- RecoveryVirtualMachineScaleSetId = recoveryVirtualMachineScaleSetId;
CustomInit();
}
@@ -191,30 +170,30 @@ public A2AReplicationDetails()
[JsonProperty(PropertyName = "fabricObjectId")]
public string FabricObjectId { get; set; }
- ///
- /// Gets the initial primary availability zone.
- ///
- [JsonProperty(PropertyName = "initialPrimaryZone")]
- public string InitialPrimaryZone { get; private set; }
-
///
/// Gets the initial primary fabric location.
///
[JsonProperty(PropertyName = "initialPrimaryFabricLocation")]
public string InitialPrimaryFabricLocation { get; private set; }
- ///
- /// Gets the initial recovery availability zone.
- ///
- [JsonProperty(PropertyName = "initialRecoveryZone")]
- public string InitialRecoveryZone { get; private set; }
-
///
/// Gets the initial recovery fabric location.
///
[JsonProperty(PropertyName = "initialRecoveryFabricLocation")]
public string InitialRecoveryFabricLocation { get; private set; }
+ ///
+ /// Gets the initial primary availability zone.
+ ///
+ [JsonProperty(PropertyName = "initialPrimaryZone")]
+ public string InitialPrimaryZone { get; private set; }
+
+ ///
+ /// Gets the initial recovery availability zone.
+ ///
+ [JsonProperty(PropertyName = "initialRecoveryZone")]
+ public string InitialRecoveryZone { get; private set; }
+
///
/// Gets or sets the multi vm group Id.
///
@@ -362,12 +341,6 @@ public A2AReplicationDetails()
[JsonProperty(PropertyName = "agentVersion")]
public string AgentVersion { get; set; }
- ///
- /// Gets or sets agent expiry date.
- ///
- [JsonProperty(PropertyName = "agentExpiryDate")]
- public System.DateTime? AgentExpiryDate { get; set; }
-
///
/// Gets or sets a value indicating whether replication agent update is
/// required.
@@ -375,19 +348,6 @@ public A2AReplicationDetails()
[JsonProperty(PropertyName = "isReplicationAgentUpdateRequired")]
public bool? IsReplicationAgentUpdateRequired { get; set; }
- ///
- /// Gets agent certificate expiry date.
- ///
- [JsonProperty(PropertyName = "agentCertificateExpiryDate")]
- public System.DateTime? AgentCertificateExpiryDate { get; private set; }
-
- ///
- /// Gets or sets a value indicating whether agent certificate update is
- /// required.
- ///
- [JsonProperty(PropertyName = "isReplicationAgentCertificateUpdateRequired")]
- public bool? IsReplicationAgentCertificateUpdateRequired { get; set; }
-
///
/// Gets or sets the recovery fabric object Id.
///
@@ -436,12 +396,6 @@ public A2AReplicationDetails()
[JsonProperty(PropertyName = "lastRpoCalculatedTime")]
public System.DateTime? LastRpoCalculatedTime { get; set; }
- ///
- /// Gets or sets the primary availability zone.
- ///
- [JsonProperty(PropertyName = "primaryAvailabilityZone")]
- public string PrimaryAvailabilityZone { get; set; }
-
///
/// Gets or sets the recovery availability zone.
///
@@ -456,35 +410,16 @@ public A2AReplicationDetails()
public string VmEncryptionType { get; private set; }
///
- /// Gets or sets the test failover vm name.
+ /// Gets or sets the test failover VM name.
///
[JsonProperty(PropertyName = "tfoAzureVMName")]
public string TfoAzureVMName { get; set; }
- ///
- /// Gets the recovery azure generation.
- ///
- [JsonProperty(PropertyName = "recoveryAzureGeneration")]
- public string RecoveryAzureGeneration { get; private set; }
-
///
/// Gets or sets the recovery proximity placement group Id.
///
[JsonProperty(PropertyName = "recoveryProximityPlacementGroupId")]
public string RecoveryProximityPlacementGroupId { get; set; }
- ///
- /// Gets or sets a value indicating whether the auto protection is
- /// enabled. Possible values include: 'Disabled', 'Enabled'
- ///
- [JsonProperty(PropertyName = "autoProtectionOfDataDisk")]
- public string AutoProtectionOfDataDisk { get; set; }
-
- ///
- /// Gets or sets the recovery virtual machine scale set id.
- ///
- [JsonProperty(PropertyName = "recoveryVirtualMachineScaleSetId")]
- public string RecoveryVirtualMachineScaleSetId { get; set; }
-
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AReplicationIntentDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AReplicationIntentDetails.cs
index acec692bd0de..72259d74920f 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AReplicationIntentDetails.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AReplicationIntentDetails.cs
@@ -10,7 +10,6 @@
namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
{
- using Microsoft.Rest;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
@@ -35,63 +34,71 @@ public A2AReplicationIntentDetails()
/// Initializes a new instance of the A2AReplicationIntentDetails
/// class.
///
- /// The recovery availability
- /// type of the virtual machine.
/// The fabric specific object Id of the
/// virtual machine.
+ /// The ID of Policy governing this PE.
/// The primary location for the virtual
/// machine.
/// The recovery location for the
/// virtual machine.
/// The recovery subscription Id
/// of the virtual machine.
+ /// The recovery fabric
+ /// Name.
+ /// The recovery fabric
+ /// Name.
+ /// The primary container
+ /// Name.
+ /// The recovery container
+ /// Name.
+ /// The recovery availability
+ /// type of the virtual machine.
/// The list of vm disk details.
/// The list of vm managed disk
/// details.
/// The recovery resource group
/// id.
- /// The protection profile custom
- /// details.
- /// The primary staging
- /// storage account details.
- /// The recovery availability set
- /// details.
- /// The recovery virtual network
- /// details.
- /// The recovery
+ /// The recovery availability
+ /// set Id.
+ /// The recovery virtual network
+ /// Id.
+ /// The recovery
/// proximity placement group custom details.
- /// A value indicating whether
- /// the auto protection is enabled. Possible values include:
+ /// A value indicating
+ /// whether the auto protection is enabled. Possible values include:
/// 'Disabled', 'Enabled'
/// The multi vm group name.
/// The multi vm group id.
- /// The boot diagnostic
+ /// The boot diagnostic
/// storage account.
/// The recovery disk encryption
/// information (for two pass flows).
/// The recovery availability
/// zone.
- public A2AReplicationIntentDetails(string recoveryAvailabilityType, string fabricObjectId = default(string), string primaryLocation = default(string), string recoveryLocation = default(string), string recoverySubscriptionId = default(string), IList vmDisks = default(IList), IList vmManagedDisks = default(IList), string recoveryResourceGroupId = default(string), ProtectionProfileCustomDetails protectionProfile = default(ProtectionProfileCustomDetails), StorageAccountCustomDetails primaryStagingStorageAccount = default(StorageAccountCustomDetails), RecoveryAvailabilitySetCustomDetails recoveryAvailabilitySet = default(RecoveryAvailabilitySetCustomDetails), RecoveryVirtualNetworkCustomDetails recoveryVirtualNetwork = default(RecoveryVirtualNetworkCustomDetails), RecoveryProximityPlacementGroupCustomDetails recoveryProximityPlacementGroup = default(RecoveryProximityPlacementGroupCustomDetails), string autoProtectionOfDataDisk = default(string), string multiVmGroupName = default(string), string multiVmGroupId = default(string), StorageAccountCustomDetails recoveryBootDiagStorageAccount = default(StorageAccountCustomDetails), DiskEncryptionInfo diskEncryptionInfo = default(DiskEncryptionInfo), string recoveryAvailabilityZone = default(string))
+ public A2AReplicationIntentDetails(string fabricObjectId = default(string), string policyId = default(string), string primaryLocation = default(string), string recoveryLocation = default(string), string recoverySubscriptionId = default(string), string primaryFabricFriendlyName = default(string), string recoveryFabricFriendlyName = default(string), string primaryContainerFriendlyName = default(string), string recoveryContainerFriendlyName = default(string), string recoveryAvailabilityType = default(string), IList vmDisks = default(IList), IList vmManagedDisks = default(IList), string recoveryResourceGroupId = default(string), string recoveryAvailabilitySetId = default(string), string recoveryVirtualNetworkId = default(string), string recoveryProximityPlacementGroupId = default(string), string autoProtectionOfDataDiskStatus = default(string), string multiVmGroupName = default(string), string multiVmGroupId = default(string), string recoveryBootDiagStorageAccountId = default(string), DiskEncryptionInfo diskEncryptionInfo = default(DiskEncryptionInfo), string recoveryAvailabilityZone = default(string))
{
FabricObjectId = fabricObjectId;
+ PolicyId = policyId;
PrimaryLocation = primaryLocation;
RecoveryLocation = recoveryLocation;
RecoverySubscriptionId = recoverySubscriptionId;
+ PrimaryFabricFriendlyName = primaryFabricFriendlyName;
+ RecoveryFabricFriendlyName = recoveryFabricFriendlyName;
+ PrimaryContainerFriendlyName = primaryContainerFriendlyName;
+ RecoveryContainerFriendlyName = recoveryContainerFriendlyName;
+ RecoveryAvailabilityType = recoveryAvailabilityType;
VmDisks = vmDisks;
VmManagedDisks = vmManagedDisks;
RecoveryResourceGroupId = recoveryResourceGroupId;
- ProtectionProfile = protectionProfile;
- PrimaryStagingStorageAccount = primaryStagingStorageAccount;
- RecoveryAvailabilitySet = recoveryAvailabilitySet;
- RecoveryVirtualNetwork = recoveryVirtualNetwork;
- RecoveryProximityPlacementGroup = recoveryProximityPlacementGroup;
- AutoProtectionOfDataDisk = autoProtectionOfDataDisk;
+ RecoveryAvailabilitySetId = recoveryAvailabilitySetId;
+ RecoveryVirtualNetworkId = recoveryVirtualNetworkId;
+ RecoveryProximityPlacementGroupId = recoveryProximityPlacementGroupId;
+ AutoProtectionOfDataDiskStatus = autoProtectionOfDataDiskStatus;
MultiVmGroupName = multiVmGroupName;
MultiVmGroupId = multiVmGroupId;
- RecoveryBootDiagStorageAccount = recoveryBootDiagStorageAccount;
+ RecoveryBootDiagStorageAccountId = recoveryBootDiagStorageAccountId;
DiskEncryptionInfo = diskEncryptionInfo;
RecoveryAvailabilityZone = recoveryAvailabilityZone;
- RecoveryAvailabilityType = recoveryAvailabilityType;
CustomInit();
}
@@ -106,6 +113,12 @@ public A2AReplicationIntentDetails()
[JsonProperty(PropertyName = "fabricObjectId")]
public string FabricObjectId { get; set; }
+ ///
+ /// Gets or sets the ID of Policy governing this PE.
+ ///
+ [JsonProperty(PropertyName = "policyId")]
+ public string PolicyId { get; set; }
+
///
/// Gets or sets the primary location for the virtual machine.
///
@@ -124,17 +137,47 @@ public A2AReplicationIntentDetails()
[JsonProperty(PropertyName = "recoverySubscriptionId")]
public string RecoverySubscriptionId { get; set; }
+ ///
+ /// Gets or sets the recovery fabric Name.
+ ///
+ [JsonProperty(PropertyName = "primaryFabricFriendlyName")]
+ public string PrimaryFabricFriendlyName { get; set; }
+
+ ///
+ /// Gets or sets the recovery fabric Name.
+ ///
+ [JsonProperty(PropertyName = "recoveryFabricFriendlyName")]
+ public string RecoveryFabricFriendlyName { get; set; }
+
+ ///
+ /// Gets or sets the primary container Name.
+ ///
+ [JsonProperty(PropertyName = "primaryContainerFriendlyName")]
+ public string PrimaryContainerFriendlyName { get; set; }
+
+ ///
+ /// Gets or sets the recovery container Name.
+ ///
+ [JsonProperty(PropertyName = "recoveryContainerFriendlyName")]
+ public string RecoveryContainerFriendlyName { get; set; }
+
+ ///
+ /// Gets or sets the recovery availability type of the virtual machine.
+ ///
+ [JsonProperty(PropertyName = "recoveryAvailabilityType")]
+ public string RecoveryAvailabilityType { get; set; }
+
///
/// Gets or sets the list of vm disk details.
///
[JsonProperty(PropertyName = "vmDisks")]
- public IList VmDisks { get; set; }
+ public IList VmDisks { get; set; }
///
/// Gets or sets the list of vm managed disk details.
///
[JsonProperty(PropertyName = "vmManagedDisks")]
- public IList VmManagedDisks { get; set; }
+ public IList VmManagedDisks { get; set; }
///
/// Gets or sets the recovery resource group id.
@@ -143,41 +186,29 @@ public A2AReplicationIntentDetails()
public string RecoveryResourceGroupId { get; set; }
///
- /// Gets or sets the protection profile custom details.
- ///
- [JsonProperty(PropertyName = "protectionProfile")]
- public ProtectionProfileCustomDetails ProtectionProfile { get; set; }
-
- ///
- /// Gets or sets the primary staging storage account details.
+ /// Gets or sets the recovery availability set Id.
///
- [JsonProperty(PropertyName = "primaryStagingStorageAccount")]
- public StorageAccountCustomDetails PrimaryStagingStorageAccount { get; set; }
+ [JsonProperty(PropertyName = "recoveryAvailabilitySetId")]
+ public string RecoveryAvailabilitySetId { get; set; }
///
- /// Gets or sets the recovery availability set details.
+ /// Gets or sets the recovery virtual network Id.
///
- [JsonProperty(PropertyName = "recoveryAvailabilitySet")]
- public RecoveryAvailabilitySetCustomDetails RecoveryAvailabilitySet { get; set; }
-
- ///
- /// Gets or sets the recovery virtual network details.
- ///
- [JsonProperty(PropertyName = "recoveryVirtualNetwork")]
- public RecoveryVirtualNetworkCustomDetails RecoveryVirtualNetwork { get; set; }
+ [JsonProperty(PropertyName = "recoveryVirtualNetworkId")]
+ public string RecoveryVirtualNetworkId { get; set; }
///
/// Gets or sets the recovery proximity placement group custom details.
///
- [JsonProperty(PropertyName = "recoveryProximityPlacementGroup")]
- public RecoveryProximityPlacementGroupCustomDetails RecoveryProximityPlacementGroup { get; set; }
+ [JsonProperty(PropertyName = "recoveryProximityPlacementGroupId")]
+ public string RecoveryProximityPlacementGroupId { get; set; }
///
/// Gets or sets a value indicating whether the auto protection is
/// enabled. Possible values include: 'Disabled', 'Enabled'
///
- [JsonProperty(PropertyName = "autoProtectionOfDataDisk")]
- public string AutoProtectionOfDataDisk { get; set; }
+ [JsonProperty(PropertyName = "autoProtectionOfDataDiskStatus")]
+ public string AutoProtectionOfDataDiskStatus { get; set; }
///
/// Gets or sets the multi vm group name.
@@ -194,8 +225,8 @@ public A2AReplicationIntentDetails()
///
/// Gets or sets the boot diagnostic storage account.
///
- [JsonProperty(PropertyName = "recoveryBootDiagStorageAccount")]
- public StorageAccountCustomDetails RecoveryBootDiagStorageAccount { get; set; }
+ [JsonProperty(PropertyName = "recoveryBootDiagStorageAccountId")]
+ public string RecoveryBootDiagStorageAccountId { get; set; }
///
/// Gets or sets the recovery disk encryption information (for two pass
@@ -210,44 +241,5 @@ public A2AReplicationIntentDetails()
[JsonProperty(PropertyName = "recoveryAvailabilityZone")]
public string RecoveryAvailabilityZone { get; set; }
- ///
- /// Gets or sets the recovery availability type of the virtual machine.
- ///
- [JsonProperty(PropertyName = "recoveryAvailabilityType")]
- public string RecoveryAvailabilityType { get; set; }
-
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
- if (RecoveryAvailabilityType == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "RecoveryAvailabilityType");
- }
- if (VmDisks != null)
- {
- foreach (var element in VmDisks)
- {
- if (element != null)
- {
- element.Validate();
- }
- }
- }
- if (VmManagedDisks != null)
- {
- foreach (var element1 in VmManagedDisks)
- {
- if (element1 != null)
- {
- element1.Validate();
- }
- }
- }
- }
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2ASwitchProtectionInput.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2ASwitchProtectionInput.cs
index 7ba42f8e95e9..12342f4c29be 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2ASwitchProtectionInput.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2ASwitchProtectionInput.cs
@@ -43,18 +43,14 @@ public A2ASwitchProtectionInput()
/// Valid for V1 scenarios.
/// The recovery availability
/// set.
+ /// The recovery
+ /// proximity placement group Id.
/// The Policy Id.
/// The boot diagnostic
/// storage account.
- /// The recovery availability
- /// zone.
- /// The recovery
- /// proximity placement group Id.
- /// The virtual machine
- /// scale set id.
/// The recovery disk encryption
/// information.
- public A2ASwitchProtectionInput(string recoveryContainerId = default(string), IList vmDisks = default(IList), IList vmManagedDisks = default(IList), string recoveryResourceGroupId = default(string), string recoveryCloudServiceId = default(string), string recoveryAvailabilitySetId = default(string), string policyId = default(string), string recoveryBootDiagStorageAccountId = default(string), string recoveryAvailabilityZone = default(string), string recoveryProximityPlacementGroupId = default(string), string recoveryVirtualMachineScaleSetId = default(string), DiskEncryptionInfo diskEncryptionInfo = default(DiskEncryptionInfo))
+ public A2ASwitchProtectionInput(string recoveryContainerId = default(string), IList vmDisks = default(IList), IList vmManagedDisks = default(IList), string recoveryResourceGroupId = default(string), string recoveryCloudServiceId = default(string), string recoveryAvailabilitySetId = default(string), string recoveryProximityPlacementGroupId = default(string), string policyId = default(string), string recoveryBootDiagStorageAccountId = default(string), DiskEncryptionInfo diskEncryptionInfo = default(DiskEncryptionInfo))
{
RecoveryContainerId = recoveryContainerId;
VmDisks = vmDisks;
@@ -62,11 +58,9 @@ public A2ASwitchProtectionInput()
RecoveryResourceGroupId = recoveryResourceGroupId;
RecoveryCloudServiceId = recoveryCloudServiceId;
RecoveryAvailabilitySetId = recoveryAvailabilitySetId;
+ RecoveryProximityPlacementGroupId = recoveryProximityPlacementGroupId;
PolicyId = policyId;
RecoveryBootDiagStorageAccountId = recoveryBootDiagStorageAccountId;
- RecoveryAvailabilityZone = recoveryAvailabilityZone;
- RecoveryProximityPlacementGroupId = recoveryProximityPlacementGroupId;
- RecoveryVirtualMachineScaleSetId = recoveryVirtualMachineScaleSetId;
DiskEncryptionInfo = diskEncryptionInfo;
CustomInit();
}
@@ -113,6 +107,12 @@ public A2ASwitchProtectionInput()
[JsonProperty(PropertyName = "recoveryAvailabilitySetId")]
public string RecoveryAvailabilitySetId { get; set; }
+ ///
+ /// Gets or sets the recovery proximity placement group Id.
+ ///
+ [JsonProperty(PropertyName = "recoveryProximityPlacementGroupId")]
+ public string RecoveryProximityPlacementGroupId { get; set; }
+
///
/// Gets or sets the Policy Id.
///
@@ -125,24 +125,6 @@ public A2ASwitchProtectionInput()
[JsonProperty(PropertyName = "recoveryBootDiagStorageAccountId")]
public string RecoveryBootDiagStorageAccountId { get; set; }
- ///
- /// Gets or sets the recovery availability zone.
- ///
- [JsonProperty(PropertyName = "recoveryAvailabilityZone")]
- public string RecoveryAvailabilityZone { get; set; }
-
- ///
- /// Gets or sets the recovery proximity placement group Id.
- ///
- [JsonProperty(PropertyName = "recoveryProximityPlacementGroupId")]
- public string RecoveryProximityPlacementGroupId { get; set; }
-
- ///
- /// Gets or sets the virtual machine scale set id.
- ///
- [JsonProperty(PropertyName = "recoveryVirtualMachineScaleSetId")]
- public string RecoveryVirtualMachineScaleSetId { get; set; }
-
///
/// Gets or sets the recovery disk encryption information.
///
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AUnprotectedDiskDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AUnprotectedDiskDetails.cs
index 62057a109977..2619ca0075e7 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AUnprotectedDiskDetails.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AUnprotectedDiskDetails.cs
@@ -31,13 +31,9 @@ public A2AUnprotectedDiskDetails()
///
/// The source lun Id for the data
/// disk.
- /// A value indicating whether
- /// the disk auto protection is enabled. Possible values include:
- /// 'Disabled', 'Enabled'
- public A2AUnprotectedDiskDetails(int? diskLunId = default(int?), string diskAutoProtectionStatus = default(string))
+ public A2AUnprotectedDiskDetails(int? diskLunId = default(int?))
{
DiskLunId = diskLunId;
- DiskAutoProtectionStatus = diskAutoProtectionStatus;
CustomInit();
}
@@ -52,12 +48,5 @@ public A2AUnprotectedDiskDetails()
[JsonProperty(PropertyName = "diskLunId")]
public int? DiskLunId { get; set; }
- ///
- /// Gets or sets a value indicating whether the disk auto protection is
- /// enabled. Possible values include: 'Disabled', 'Enabled'
- ///
- [JsonProperty(PropertyName = "diskAutoProtectionStatus")]
- public string DiskAutoProtectionStatus { get; set; }
-
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AUpdateReplicationProtectedItemInput.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AUpdateReplicationProtectedItemInput.cs
index cc5ef32cffaa..4045a71afb7e 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AUpdateReplicationProtectedItemInput.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AUpdateReplicationProtectedItemInput.cs
@@ -44,22 +44,19 @@ public A2AUpdateReplicationProtectedItemInput()
/// storage account.
/// The recovery os disk encryption
/// information.
- /// The user given name for Test Failover
- /// VM.
/// The recovery
/// proximity placement group Id.
- /// The recovery virtual
- /// machine scale set Id.
- public A2AUpdateReplicationProtectedItemInput(string recoveryCloudServiceId = default(string), string recoveryResourceGroupId = default(string), IList managedDiskUpdateDetails = default(IList), string recoveryBootDiagStorageAccountId = default(string), DiskEncryptionInfo diskEncryptionInfo = default(DiskEncryptionInfo), string tfoAzureVMName = default(string), string recoveryProximityPlacementGroupId = default(string), string recoveryVirtualMachineScaleSetId = default(string))
+ /// The user given name for test failover
+ /// VM.
+ public A2AUpdateReplicationProtectedItemInput(string recoveryCloudServiceId = default(string), string recoveryResourceGroupId = default(string), IList managedDiskUpdateDetails = default(IList), string recoveryBootDiagStorageAccountId = default(string), DiskEncryptionInfo diskEncryptionInfo = default(DiskEncryptionInfo), string recoveryProximityPlacementGroupId = default(string), string tfoAzureVMName = default(string))
{
RecoveryCloudServiceId = recoveryCloudServiceId;
RecoveryResourceGroupId = recoveryResourceGroupId;
ManagedDiskUpdateDetails = managedDiskUpdateDetails;
RecoveryBootDiagStorageAccountId = recoveryBootDiagStorageAccountId;
DiskEncryptionInfo = diskEncryptionInfo;
- TfoAzureVMName = tfoAzureVMName;
RecoveryProximityPlacementGroupId = recoveryProximityPlacementGroupId;
- RecoveryVirtualMachineScaleSetId = recoveryVirtualMachineScaleSetId;
+ TfoAzureVMName = tfoAzureVMName;
CustomInit();
}
@@ -98,12 +95,6 @@ public A2AUpdateReplicationProtectedItemInput()
[JsonProperty(PropertyName = "diskEncryptionInfo")]
public DiskEncryptionInfo DiskEncryptionInfo { get; set; }
- ///
- /// Gets or sets the user given name for Test Failover VM.
- ///
- [JsonProperty(PropertyName = "tfoAzureVMName")]
- public string TfoAzureVMName { get; set; }
-
///
/// Gets or sets the recovery proximity placement group Id.
///
@@ -111,10 +102,10 @@ public A2AUpdateReplicationProtectedItemInput()
public string RecoveryProximityPlacementGroupId { get; set; }
///
- /// Gets or sets the recovery virtual machine scale set Id.
+ /// Gets or sets the user given name for test failover VM.
///
- [JsonProperty(PropertyName = "recoveryVirtualMachineScaleSetId")]
- public string RecoveryVirtualMachineScaleSetId { get; set; }
+ [JsonProperty(PropertyName = "tfoAzureVMName")]
+ public string TfoAzureVMName { get; set; }
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AVmDiskDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AVmDiskDetails.cs
new file mode 100644
index 000000000000..c6558a3746c4
--- /dev/null
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AVmDiskDetails.cs
@@ -0,0 +1,69 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Azure VM disk details.
+ ///
+ public partial class A2AVmDiskDetails
+ {
+ ///
+ /// Initializes a new instance of the A2AVmDiskDetails class.
+ ///
+ public A2AVmDiskDetails()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the A2AVmDiskDetails class.
+ ///
+ /// The disk Uri.
+ /// The recovery VHD
+ /// storage account Id.
+ /// The primary
+ /// staging storage account Id.
+ public A2AVmDiskDetails(string diskUri = default(string), string recoveryAzureStorageAccountId = default(string), string primaryStagingAzureStorageAccountId = default(string))
+ {
+ DiskUri = diskUri;
+ RecoveryAzureStorageAccountId = recoveryAzureStorageAccountId;
+ PrimaryStagingAzureStorageAccountId = primaryStagingAzureStorageAccountId;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets the disk Uri.
+ ///
+ [JsonProperty(PropertyName = "diskUri")]
+ public string DiskUri { get; set; }
+
+ ///
+ /// Gets or sets the recovery VHD storage account Id.
+ ///
+ [JsonProperty(PropertyName = "recoveryAzureStorageAccountId")]
+ public string RecoveryAzureStorageAccountId { get; set; }
+
+ ///
+ /// Gets or sets the primary staging storage account Id.
+ ///
+ [JsonProperty(PropertyName = "primaryStagingAzureStorageAccountId")]
+ public string PrimaryStagingAzureStorageAccountId { get; set; }
+
+ }
+}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AVmDiskInputDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AVmDiskInputDetails.cs
index 2eba97ba3c0e..c3cda59a247b 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AVmDiskInputDetails.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AVmDiskInputDetails.cs
@@ -10,12 +10,11 @@
namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
{
- using Microsoft.Rest;
using Newtonsoft.Json;
using System.Linq;
///
- /// A2A disk input details.
+ /// Azure VM disk input details.
///
public partial class A2AVmDiskInputDetails
{
@@ -35,7 +34,7 @@ public A2AVmDiskInputDetails()
/// storage account Id.
/// The primary
/// staging storage account Id.
- public A2AVmDiskInputDetails(string diskUri, string recoveryAzureStorageAccountId, string primaryStagingAzureStorageAccountId)
+ public A2AVmDiskInputDetails(string diskUri = default(string), string recoveryAzureStorageAccountId = default(string), string primaryStagingAzureStorageAccountId = default(string))
{
DiskUri = diskUri;
RecoveryAzureStorageAccountId = recoveryAzureStorageAccountId;
@@ -66,26 +65,5 @@ public A2AVmDiskInputDetails(string diskUri, string recoveryAzureStorageAccountI
[JsonProperty(PropertyName = "primaryStagingAzureStorageAccountId")]
public string PrimaryStagingAzureStorageAccountId { get; set; }
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
- if (DiskUri == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "DiskUri");
- }
- if (RecoveryAzureStorageAccountId == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "RecoveryAzureStorageAccountId");
- }
- if (PrimaryStagingAzureStorageAccountId == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "PrimaryStagingAzureStorageAccountId");
- }
- }
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AVmManagedDiskDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AVmManagedDiskDetails.cs
new file mode 100644
index 000000000000..a228b6e9e6dc
--- /dev/null
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AVmManagedDiskDetails.cs
@@ -0,0 +1,106 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Azure VM managed disk input details.
+ ///
+ public partial class A2AVmManagedDiskDetails
+ {
+ ///
+ /// Initializes a new instance of the A2AVmManagedDiskDetails class.
+ ///
+ public A2AVmManagedDiskDetails()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the A2AVmManagedDiskDetails class.
+ ///
+ /// The disk Id.
+ /// The primary
+ /// staging storage account Arm Id.
+ /// The target resource group Arm
+ /// Id.
+ /// The replica disk
+ /// type.
+ /// The target disk type
+ /// after failover.
+ /// The recovery disk
+ /// encryption set Id.
+ /// The recovery disk encryption
+ /// information (for one / single pass flows).
+ public A2AVmManagedDiskDetails(string diskId = default(string), string primaryStagingAzureStorageAccountId = default(string), string recoveryResourceGroupId = default(string), string recoveryReplicaDiskAccountType = default(string), string recoveryTargetDiskAccountType = default(string), string recoveryDiskEncryptionSetId = default(string), DiskEncryptionInfo diskEncryptionInfo = default(DiskEncryptionInfo))
+ {
+ DiskId = diskId;
+ PrimaryStagingAzureStorageAccountId = primaryStagingAzureStorageAccountId;
+ RecoveryResourceGroupId = recoveryResourceGroupId;
+ RecoveryReplicaDiskAccountType = recoveryReplicaDiskAccountType;
+ RecoveryTargetDiskAccountType = recoveryTargetDiskAccountType;
+ RecoveryDiskEncryptionSetId = recoveryDiskEncryptionSetId;
+ DiskEncryptionInfo = diskEncryptionInfo;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets the disk Id.
+ ///
+ [JsonProperty(PropertyName = "diskId")]
+ public string DiskId { get; set; }
+
+ ///
+ /// Gets or sets the primary staging storage account Arm Id.
+ ///
+ [JsonProperty(PropertyName = "primaryStagingAzureStorageAccountId")]
+ public string PrimaryStagingAzureStorageAccountId { get; set; }
+
+ ///
+ /// Gets or sets the target resource group Arm Id.
+ ///
+ [JsonProperty(PropertyName = "recoveryResourceGroupId")]
+ public string RecoveryResourceGroupId { get; set; }
+
+ ///
+ /// Gets or sets the replica disk type.
+ ///
+ [JsonProperty(PropertyName = "recoveryReplicaDiskAccountType")]
+ public string RecoveryReplicaDiskAccountType { get; set; }
+
+ ///
+ /// Gets or sets the target disk type after failover.
+ ///
+ [JsonProperty(PropertyName = "recoveryTargetDiskAccountType")]
+ public string RecoveryTargetDiskAccountType { get; set; }
+
+ ///
+ /// Gets or sets the recovery disk encryption set Id.
+ ///
+ [JsonProperty(PropertyName = "recoveryDiskEncryptionSetId")]
+ public string RecoveryDiskEncryptionSetId { get; set; }
+
+ ///
+ /// Gets or sets the recovery disk encryption information (for one /
+ /// single pass flows).
+ ///
+ [JsonProperty(PropertyName = "diskEncryptionInfo")]
+ public DiskEncryptionInfo DiskEncryptionInfo { get; set; }
+
+ }
+}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AVmManagedDiskInputDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AVmManagedDiskInputDetails.cs
index 1348e6c18055..e6006fabbafc 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AVmManagedDiskInputDetails.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AVmManagedDiskInputDetails.cs
@@ -10,12 +10,11 @@
namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
{
- using Microsoft.Rest;
using Newtonsoft.Json;
using System.Linq;
///
- /// A2A managed disk input details.
+ /// Azure VM managed disk input details.
///
public partial class A2AVmManagedDiskInputDetails
{
@@ -47,7 +46,7 @@ public A2AVmManagedDiskInputDetails()
/// encryption set Id.
/// The recovery disk encryption
/// information (for one / single pass flows).
- public A2AVmManagedDiskInputDetails(string diskId, string primaryStagingAzureStorageAccountId, string recoveryResourceGroupId, string recoveryReplicaDiskAccountType = default(string), string recoveryTargetDiskAccountType = default(string), string recoveryDiskEncryptionSetId = default(string), DiskEncryptionInfo diskEncryptionInfo = default(DiskEncryptionInfo))
+ public A2AVmManagedDiskInputDetails(string diskId = default(string), string primaryStagingAzureStorageAccountId = default(string), string recoveryResourceGroupId = default(string), string recoveryReplicaDiskAccountType = default(string), string recoveryTargetDiskAccountType = default(string), string recoveryDiskEncryptionSetId = default(string), DiskEncryptionInfo diskEncryptionInfo = default(DiskEncryptionInfo))
{
DiskId = diskId;
PrimaryStagingAzureStorageAccountId = primaryStagingAzureStorageAccountId;
@@ -109,26 +108,5 @@ public A2AVmManagedDiskInputDetails()
[JsonProperty(PropertyName = "diskEncryptionInfo")]
public DiskEncryptionInfo DiskEncryptionInfo { get; set; }
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
- if (DiskId == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "DiskId");
- }
- if (PrimaryStagingAzureStorageAccountId == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "PrimaryStagingAzureStorageAccountId");
- }
- if (RecoveryResourceGroupId == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "RecoveryResourceGroupId");
- }
- }
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AVmManagedDiskUpdateDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AVmManagedDiskUpdateDetails.cs
index 918a8de29bb5..fa03585d2cfd 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AVmManagedDiskUpdateDetails.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AVmManagedDiskUpdateDetails.cs
@@ -14,7 +14,7 @@ namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
using System.Linq;
///
- /// A2A Vm managed disk update details.
+ /// Azure VM managed disk update input details.
///
public partial class A2AVmManagedDiskUpdateDetails
{
@@ -36,8 +36,8 @@ public A2AVmManagedDiskUpdateDetails()
/// before failover.
/// The replica disk type
/// before failover.
- /// The recovery os disk encryption
- /// information.
+ /// The recovery disk encryption
+ /// information (for one / single pass flows).
/// The target disk name for unplanned
/// failover operation.
/// The target disk name for test failover
@@ -77,7 +77,8 @@ public A2AVmManagedDiskUpdateDetails()
public string RecoveryReplicaDiskAccountType { get; set; }
///
- /// Gets or sets the recovery os disk encryption information.
+ /// Gets or sets the recovery disk encryption information (for one /
+ /// single pass flows).
///
[JsonProperty(PropertyName = "diskEncryptionInfo")]
public DiskEncryptionInfo DiskEncryptionInfo { get; set; }
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AZoneDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AZoneDetails.cs
deleted file mode 100644
index b4bc38b6a84a..000000000000
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/A2AZoneDetails.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Zone details data.
- ///
- public partial class A2AZoneDetails
- {
- ///
- /// Initializes a new instance of the A2AZoneDetails class.
- ///
- public A2AZoneDetails()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the A2AZoneDetails class.
- ///
- /// Source zone info.
- /// The target zone info.
- public A2AZoneDetails(string source = default(string), string target = default(string))
- {
- Source = source;
- Target = target;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets source zone info.
- ///
- [JsonProperty(PropertyName = "source")]
- public string Source { get; set; }
-
- ///
- /// Gets or sets the target zone info.
- ///
- [JsonProperty(PropertyName = "target")]
- public string Target { get; set; }
-
- }
-}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AddDisksInput.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AddDisksInput.cs
index a0e278f9ee47..4e6224bb5085 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AddDisksInput.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AddDisksInput.cs
@@ -47,18 +47,5 @@ public AddDisksInput()
[JsonProperty(PropertyName = "properties")]
public AddDisksInputProperties Properties { get; set; }
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
- if (Properties != null)
- {
- Properties.Validate();
- }
- }
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AddDisksInputProperties.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AddDisksInputProperties.cs
index d9baff412a2f..65a8fcffe6e2 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AddDisksInputProperties.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AddDisksInputProperties.cs
@@ -10,7 +10,6 @@
namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
{
- using Microsoft.Rest;
using Newtonsoft.Json;
using System.Linq;
@@ -35,7 +34,7 @@ public AddDisksInputProperties()
/// AzureEnableProtectionInput object. For San provider, it will be
/// SanEnableProtectionInput object. For HyperVReplicaAzure provider,
/// it can be null.
- public AddDisksInputProperties(AddDisksProviderSpecificInput providerSpecificDetails)
+ public AddDisksInputProperties(AddDisksProviderSpecificInput providerSpecificDetails = default(AddDisksProviderSpecificInput))
{
ProviderSpecificDetails = providerSpecificDetails;
CustomInit();
@@ -55,18 +54,5 @@ public AddDisksInputProperties(AddDisksProviderSpecificInput providerSpecificDet
[JsonProperty(PropertyName = "providerSpecificDetails")]
public AddDisksProviderSpecificInput ProviderSpecificDetails { get; set; }
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
- if (ProviderSpecificDetails == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "ProviderSpecificDetails");
- }
- }
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AddRecoveryServicesProviderInputProperties.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AddRecoveryServicesProviderInputProperties.cs
index 021833f83923..e310cb899312 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AddRecoveryServicesProviderInputProperties.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AddRecoveryServicesProviderInputProperties.cs
@@ -40,14 +40,12 @@ public AddRecoveryServicesProviderInputProperties()
/// input for resource access.
/// The Id of the machine where the provider is
/// getting added.
- /// The Bios Id of the machine.
/// The identity
/// provider input for data plane authentication.
- public AddRecoveryServicesProviderInputProperties(string machineName, IdentityProviderInput authenticationIdentityInput, IdentityProviderInput resourceAccessIdentityInput, string machineId = default(string), string biosId = default(string), IdentityProviderInput dataPlaneAuthenticationIdentityInput = default(IdentityProviderInput))
+ public AddRecoveryServicesProviderInputProperties(string machineName, IdentityProviderInput authenticationIdentityInput, IdentityProviderInput resourceAccessIdentityInput, string machineId = default(string), IdentityProviderInput dataPlaneAuthenticationIdentityInput = default(IdentityProviderInput))
{
MachineName = machineName;
MachineId = machineId;
- BiosId = biosId;
AuthenticationIdentityInput = authenticationIdentityInput;
ResourceAccessIdentityInput = resourceAccessIdentityInput;
DataPlaneAuthenticationIdentityInput = dataPlaneAuthenticationIdentityInput;
@@ -73,12 +71,6 @@ public AddRecoveryServicesProviderInputProperties()
[JsonProperty(PropertyName = "machineId")]
public string MachineId { get; set; }
- ///
- /// Gets or sets the Bios Id of the machine.
- ///
- [JsonProperty(PropertyName = "biosId")]
- public string BiosId { get; set; }
-
///
/// Gets or sets the identity provider input for DRA authentication.
///
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AgentDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AgentDetails.cs
index 129b8b99e431..a5fab74cfd38 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AgentDetails.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AgentDetails.cs
@@ -37,7 +37,7 @@ public AgentDetails()
/// registered.
/// The machine BIOS Id.
/// The machine FQDN.
- /// The disks.
+ /// The details of agent disks.
public AgentDetails(string agentId = default(string), string machineId = default(string), string biosId = default(string), string fqdn = default(string), IList disks = default(IList))
{
AgentId = agentId;
@@ -78,7 +78,7 @@ public AgentDetails()
public string Fqdn { get; private set; }
///
- /// Gets the disks.
+ /// Gets the details of agent disks.
///
[JsonProperty(PropertyName = "disks")]
public IList Disks { get; private set; }
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/ApplyRecoveryPointInput.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/ApplyRecoveryPointInput.cs
index ef7dabd5a7a6..f7ad85e5a4fa 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/ApplyRecoveryPointInput.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/ApplyRecoveryPointInput.cs
@@ -10,7 +10,6 @@
namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
{
- using Microsoft.Rest;
using Newtonsoft.Json;
using System.Linq;
@@ -32,7 +31,7 @@ public ApplyRecoveryPointInput()
///
/// The input properties to apply recovery
/// point.
- public ApplyRecoveryPointInput(ApplyRecoveryPointInputProperties properties)
+ public ApplyRecoveryPointInput(ApplyRecoveryPointInputProperties properties = default(ApplyRecoveryPointInputProperties))
{
Properties = properties;
CustomInit();
@@ -49,22 +48,5 @@ public ApplyRecoveryPointInput(ApplyRecoveryPointInputProperties properties)
[JsonProperty(PropertyName = "properties")]
public ApplyRecoveryPointInputProperties Properties { get; set; }
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
- if (Properties == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "Properties");
- }
- if (Properties != null)
- {
- Properties.Validate();
- }
- }
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/ApplyRecoveryPointInputProperties.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/ApplyRecoveryPointInputProperties.cs
index 8bc21a6c0104..6a036a119d23 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/ApplyRecoveryPointInputProperties.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/ApplyRecoveryPointInputProperties.cs
@@ -10,7 +10,6 @@
namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
{
- using Microsoft.Rest;
using Newtonsoft.Json;
using System.Linq;
@@ -32,10 +31,10 @@ public ApplyRecoveryPointInputProperties()
/// Initializes a new instance of the ApplyRecoveryPointInputProperties
/// class.
///
+ /// The recovery point Id.
/// Provider specific input for
/// applying recovery point.
- /// The recovery point Id.
- public ApplyRecoveryPointInputProperties(ApplyRecoveryPointProviderSpecificInput providerSpecificDetails, string recoveryPointId = default(string))
+ public ApplyRecoveryPointInputProperties(string recoveryPointId = default(string), ApplyRecoveryPointProviderSpecificInput providerSpecificDetails = default(ApplyRecoveryPointProviderSpecificInput))
{
RecoveryPointId = recoveryPointId;
ProviderSpecificDetails = providerSpecificDetails;
@@ -59,18 +58,5 @@ public ApplyRecoveryPointInputProperties()
[JsonProperty(PropertyName = "providerSpecificDetails")]
public ApplyRecoveryPointProviderSpecificInput ProviderSpecificDetails { get; set; }
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
- if (ProviderSpecificDetails == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "ProviderSpecificDetails");
- }
- }
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/ExportJobOutputSerializationType.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AutoProtectionOfDataDiskStatus.cs
similarity index 66%
rename from sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/ExportJobOutputSerializationType.cs
rename to sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AutoProtectionOfDataDiskStatus.cs
index 560f3b988ffc..a9452a9297e2 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/ExportJobOutputSerializationType.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AutoProtectionOfDataDiskStatus.cs
@@ -12,12 +12,11 @@ namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
{
///
- /// Defines values for ExportJobOutputSerializationType.
+ /// Defines values for AutoProtectionOfDataDiskStatus.
///
- public static class ExportJobOutputSerializationType
+ public static class AutoProtectionOfDataDiskStatus
{
- public const string Json = "Json";
- public const string Xml = "Xml";
- public const string Excel = "Excel";
+ public const string Disabled = "Disabled";
+ public const string Enabled = "Enabled";
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AzureFabricSpecificDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AzureFabricSpecificDetails.cs
index a2393d0986ff..ac72ec3fd2ae 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AzureFabricSpecificDetails.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AzureFabricSpecificDetails.cs
@@ -35,12 +35,10 @@ public AzureFabricSpecificDetails()
/// The Location for the Azure fabric.
/// The container Ids for the Azure
/// fabric.
- /// The zones.
- public AzureFabricSpecificDetails(string location = default(string), IList containerIds = default(IList), IList zones = default(IList))
+ public AzureFabricSpecificDetails(string location = default(string), IList containerIds = default(IList))
{
Location = location;
ContainerIds = containerIds;
- Zones = zones;
CustomInit();
}
@@ -61,11 +59,5 @@ public AzureFabricSpecificDetails()
[JsonProperty(PropertyName = "containerIds")]
public IList ContainerIds { get; set; }
- ///
- /// Gets or sets the zones.
- ///
- [JsonProperty(PropertyName = "zones")]
- public IList Zones { get; set; }
-
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AzureToAzureCreateNetworkMappingInput.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AzureToAzureCreateNetworkMappingInput.cs
index 1a71a3e954b5..179ca4b57249 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AzureToAzureCreateNetworkMappingInput.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/AzureToAzureCreateNetworkMappingInput.cs
@@ -10,7 +10,6 @@
namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
{
- using Microsoft.Rest;
using Newtonsoft.Json;
using System.Linq;
@@ -35,7 +34,7 @@ public AzureToAzureCreateNetworkMappingInput()
/// AzureToAzureCreateNetworkMappingInput class.
///
/// The primary azure vnet Id.
- public AzureToAzureCreateNetworkMappingInput(string primaryNetworkId)
+ public AzureToAzureCreateNetworkMappingInput(string primaryNetworkId = default(string))
{
PrimaryNetworkId = primaryNetworkId;
CustomInit();
@@ -52,18 +51,5 @@ public AzureToAzureCreateNetworkMappingInput(string primaryNetworkId)
[JsonProperty(PropertyName = "primaryNetworkId")]
public string PrimaryNetworkId { get; set; }
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
- if (PrimaryNetworkId == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "PrimaryNetworkId");
- }
- }
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/CreateNetworkMappingInput.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/CreateNetworkMappingInput.cs
index 6c7b8d441086..a6f336202d27 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/CreateNetworkMappingInput.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/CreateNetworkMappingInput.cs
@@ -10,7 +10,6 @@
namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
{
- using Microsoft.Rest;
using Newtonsoft.Json;
using System.Linq;
@@ -32,7 +31,7 @@ public CreateNetworkMappingInput()
///
/// Input properties for creating network
/// mapping.
- public CreateNetworkMappingInput(CreateNetworkMappingInputProperties properties)
+ public CreateNetworkMappingInput(CreateNetworkMappingInputProperties properties = default(CreateNetworkMappingInputProperties))
{
Properties = properties;
CustomInit();
@@ -49,22 +48,5 @@ public CreateNetworkMappingInput(CreateNetworkMappingInputProperties properties)
[JsonProperty(PropertyName = "properties")]
public CreateNetworkMappingInputProperties Properties { get; set; }
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
- if (Properties == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "Properties");
- }
- if (Properties != null)
- {
- Properties.Validate();
- }
- }
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/CreateNetworkMappingInputProperties.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/CreateNetworkMappingInputProperties.cs
index c76cabe16b55..c4c45f44896e 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/CreateNetworkMappingInputProperties.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/CreateNetworkMappingInputProperties.cs
@@ -10,7 +10,6 @@
namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
{
- using Microsoft.Rest;
using Newtonsoft.Json;
using System.Linq;
@@ -32,11 +31,11 @@ public CreateNetworkMappingInputProperties()
/// Initializes a new instance of the
/// CreateNetworkMappingInputProperties class.
///
- /// Recovery network Id.
/// Recovery fabric Name.
+ /// Recovery network Id.
/// Fabric specific input
/// properties.
- public CreateNetworkMappingInputProperties(string recoveryNetworkId, string recoveryFabricName = default(string), FabricSpecificCreateNetworkMappingInput fabricSpecificDetails = default(FabricSpecificCreateNetworkMappingInput))
+ public CreateNetworkMappingInputProperties(string recoveryFabricName = default(string), string recoveryNetworkId = default(string), FabricSpecificCreateNetworkMappingInput fabricSpecificDetails = default(FabricSpecificCreateNetworkMappingInput))
{
RecoveryFabricName = recoveryFabricName;
RecoveryNetworkId = recoveryNetworkId;
@@ -67,18 +66,5 @@ public CreateNetworkMappingInputProperties()
[JsonProperty(PropertyName = "fabricSpecificDetails")]
public FabricSpecificCreateNetworkMappingInput FabricSpecificDetails { get; set; }
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
- if (RecoveryNetworkId == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "RecoveryNetworkId");
- }
- }
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/CreateProtectionIntentProperties.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/CreateProtectionIntentProperties.cs
index 7a410208e8b7..ae2f0e3f4872 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/CreateProtectionIntentProperties.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/CreateProtectionIntentProperties.cs
@@ -32,8 +32,8 @@ public CreateProtectionIntentProperties()
/// class.
///
/// The ReplicationProviderInput.
- /// For A2A provider, it will be A2ACreateProtectionIntentInput
- /// object.
+ /// For A2A provider, it will be A2ACreateProtectionIntentInput object.
+ /// For other providers, it can be null.
public CreateProtectionIntentProperties(CreateProtectionIntentProviderSpecificDetails providerSpecificDetails = default(CreateProtectionIntentProviderSpecificDetails))
{
ProviderSpecificDetails = providerSpecificDetails;
@@ -47,7 +47,8 @@ public CreateProtectionIntentProperties()
///
/// Gets or sets the ReplicationProviderInput. For A2A provider, it
- /// will be A2ACreateProtectionIntentInput object.
+ /// will be A2ACreateProtectionIntentInput object. For other providers,
+ /// it can be null.
///
[JsonProperty(PropertyName = "providerSpecificDetails")]
public CreateProtectionIntentProviderSpecificDetails ProviderSpecificDetails { get; set; }
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/CurrentJobDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/CurrentJobDetails.cs
index 33fa95e5e0f3..28c33e434630 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/CurrentJobDetails.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/CurrentJobDetails.cs
@@ -46,22 +46,22 @@ public CurrentJobDetails()
partial void CustomInit();
///
- /// Gets the job name.
+ /// Gets or sets the job name.
///
[JsonProperty(PropertyName = "jobName")]
- public string JobName { get; private set; }
+ public string JobName { get; set; }
///
- /// Gets the ARM Id of the job being executed.
+ /// Gets or sets the ARM Id of the job being executed.
///
[JsonProperty(PropertyName = "jobId")]
- public string JobId { get; private set; }
+ public string JobId { get; set; }
///
- /// Gets the start time of the job.
+ /// Gets or sets the start time of the job.
///
[JsonProperty(PropertyName = "startTime")]
- public System.DateTime? StartTime { get; private set; }
+ public System.DateTime? StartTime { get; set; }
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/DataStore.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/DataStore.cs
index 7709f66edcfc..3d9aae721cea 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/DataStore.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/DataStore.cs
@@ -14,7 +14,7 @@ namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
using System.Linq;
///
- /// The datastore details of the MT.
+ /// The data store details of the MT.
///
public partial class DataStore
{
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/DisableProtectionInput.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/DisableProtectionInput.cs
index 4705b72d94e8..1c00d9046f7d 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/DisableProtectionInput.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/DisableProtectionInput.cs
@@ -10,7 +10,6 @@
namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
{
- using Microsoft.Rest;
using Newtonsoft.Json;
using System.Linq;
@@ -32,7 +31,7 @@ public DisableProtectionInput()
///
/// Disable protection input
/// properties.
- public DisableProtectionInput(DisableProtectionInputProperties properties)
+ public DisableProtectionInput(DisableProtectionInputProperties properties = default(DisableProtectionInputProperties))
{
Properties = properties;
CustomInit();
@@ -49,18 +48,5 @@ public DisableProtectionInput(DisableProtectionInputProperties properties)
[JsonProperty(PropertyName = "properties")]
public DisableProtectionInputProperties Properties { get; set; }
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
- if (Properties == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "Properties");
- }
- }
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/DiskDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/DiskDetails.cs
index cc40139a924d..891e90ea5809 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/DiskDetails.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/DiskDetails.cs
@@ -14,7 +14,7 @@ namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
using System.Linq;
///
- /// Onprem disk details data.
+ /// On-prem disk details data.
///
public partial class DiskDetails
{
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/DiskEncryptionKeyInfo.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/DiskEncryptionKeyInfo.cs
index 9125876971ce..8df13c8d8744 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/DiskEncryptionKeyInfo.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/DiskEncryptionKeyInfo.cs
@@ -30,8 +30,8 @@ public DiskEncryptionKeyInfo()
///
/// Initializes a new instance of the DiskEncryptionKeyInfo class.
///
- /// The secret url / identifier.
- /// The KeyVault resource ARM id
+ /// The secret URL / identifier.
+ /// The KeyVault resource ARM Id
/// for secret.
public DiskEncryptionKeyInfo(string secretIdentifier = default(string), string keyVaultResourceArmId = default(string))
{
@@ -46,13 +46,13 @@ public DiskEncryptionKeyInfo()
partial void CustomInit();
///
- /// Gets or sets the secret url / identifier.
+ /// Gets or sets the secret URL / identifier.
///
[JsonProperty(PropertyName = "secretIdentifier")]
public string SecretIdentifier { get; set; }
///
- /// Gets or sets the KeyVault resource ARM id for secret.
+ /// Gets or sets the KeyVault resource ARM Id for secret.
///
[JsonProperty(PropertyName = "keyVaultResourceArmId")]
public string KeyVaultResourceArmId { get; set; }
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/DiskReplicationProgressHealth.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/DiskReplicationProgressHealth.cs
deleted file mode 100644
index f610ba6cec09..000000000000
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/DiskReplicationProgressHealth.cs
+++ /dev/null
@@ -1,25 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
-{
-
- ///
- /// Defines values for DiskReplicationProgressHealth.
- ///
- public static class DiskReplicationProgressHealth
- {
- public const string None = "None";
- public const string InProgress = "InProgress";
- public const string SlowProgress = "SlowProgress";
- public const string NoProgress = "NoProgress";
- public const string Queued = "Queued";
- }
-}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/InMageRcmFailbackRecoveryPointType.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/DiskType.cs
similarity index 64%
rename from sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/InMageRcmFailbackRecoveryPointType.cs
rename to sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/DiskType.cs
index ea82a305b682..2aa4481dc01b 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/InMageRcmFailbackRecoveryPointType.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/DiskType.cs
@@ -12,11 +12,12 @@ namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
{
///
- /// Defines values for InMageRcmFailbackRecoveryPointType.
+ /// Defines values for DiskType.
///
- public static class InMageRcmFailbackRecoveryPointType
+ public static class DiskType
{
- public const string ApplicationConsistent = "ApplicationConsistent";
- public const string CrashConsistent = "CrashConsistent";
+ public const string StandardLRS = "Standard_LRS";
+ public const string PremiumLRS = "Premium_LRS";
+ public const string StandardSSDLRS = "StandardSSD_LRS";
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/Display.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/Display.cs
index 9ab745cb4930..4997e3127dfb 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/Display.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/Display.cs
@@ -34,32 +34,32 @@ public Display()
/// Initializes a new instance of the Display class.
///
/// The provider. The localized friendly form of
- /// the resource provider name - it is expected to also include the
+ /// the resource provider name – it is expected to also include the
/// publisher/company responsible. It should use Title Casing and begin
/// with "Microsoft" for 1st party services. e.g. "Microsoft Monitoring
- /// Insights" or "Microsoft Compute.".
+ /// Insights" or "Microsoft Compute."
/// The resource. The localized friendly form of
- /// the resource related to this action/operation - it should match the
+ /// the resource related to this action/operation – it should match the
/// public documentation for the resource provider. It should use Title
/// Casing. This value should be unique for a particular URL type (e.g.
- /// nested types should *not* reuse their parent's display.resource
+ /// nested types should *not* reuse their parent’s display.resource
/// field). e.g. "Virtual Machines" or "Scheduler Job Collections", or
- /// "Virtual Machine VM Sizes" or "Scheduler Jobs".
+ /// "Virtual Machine VM Sizes" or "Scheduler Jobs"
/// The operation. The localized friendly name
/// for the operation, as it should be shown to the user. It should be
/// concise (to fit in drop downs) but clear (i.e. self-documenting).
/// It should use Title Casing. Prescriptive guidance: Read Create or
- /// Update Delete 'ActionName'.
+ /// Update Delete 'ActionName'
/// The description. The localized friendly
/// description for the operation, as it should be shown to the user.
- /// It should be thorough, yet concise - it will be used in tool tips
+ /// It should be thorough, yet concise – it will be used in tool tips
/// and detailed views. Prescriptive guidance for namespaces: Read any
/// 'display.provider' resource Create or Update any 'display.provider'
/// resource Delete any 'display.provider' resource Perform any other
/// action on any 'display.provider' resource Prescriptive guidance for
/// namespaces: Read any 'display.resource' Create or Update any
/// 'display.resource' Delete any 'display.resource' 'ActionName' any
- /// 'display.resources'.
+ /// 'display.resources'
public Display(string provider = default(string), string resource = default(string), string operation = default(string), string description = default(string))
{
Provider = provider;
@@ -76,22 +76,22 @@ public Display()
///
/// Gets or sets the provider. The localized friendly form of the
- /// resource provider name - it is expected to also include the
+ /// resource provider name – it is expected to also include the
/// publisher/company responsible. It should use Title Casing and begin
/// with "Microsoft" for 1st party services. e.g. "Microsoft Monitoring
- /// Insights" or "Microsoft Compute.".
+ /// Insights" or "Microsoft Compute."
///
[JsonProperty(PropertyName = "provider")]
public string Provider { get; set; }
///
/// Gets or sets the resource. The localized friendly form of the
- /// resource related to this action/operation - it should match the
+ /// resource related to this action/operation – it should match the
/// public documentation for the resource provider. It should use Title
/// Casing. This value should be unique for a particular URL type (e.g.
- /// nested types should *not* reuse their parent's display.resource
+ /// nested types should *not* reuse their parent’s display.resource
/// field). e.g. "Virtual Machines" or "Scheduler Job Collections", or
- /// "Virtual Machine VM Sizes" or "Scheduler Jobs".
+ /// "Virtual Machine VM Sizes" or "Scheduler Jobs"
///
[JsonProperty(PropertyName = "resource")]
public string Resource { get; set; }
@@ -101,7 +101,7 @@ public Display()
/// operation, as it should be shown to the user. It should be concise
/// (to fit in drop downs) but clear (i.e. self-documenting). It should
/// use Title Casing. Prescriptive guidance: Read Create or Update
- /// Delete 'ActionName'.
+ /// Delete 'ActionName'
///
[JsonProperty(PropertyName = "operation")]
public string Operation { get; set; }
@@ -109,14 +109,14 @@ public Display()
///
/// Gets or sets the description. The localized friendly description
/// for the operation, as it should be shown to the user. It should be
- /// thorough, yet concise - it will be used in tool tips and detailed
+ /// thorough, yet concise – it will be used in tool tips and detailed
/// views. Prescriptive guidance for namespaces: Read any
/// 'display.provider' resource Create or Update any 'display.provider'
/// resource Delete any 'display.provider' resource Perform any other
/// action on any 'display.provider' resource Prescriptive guidance for
/// namespaces: Read any 'display.resource' Create or Update any
/// 'display.resource' Delete any 'display.resource' 'ActionName' any
- /// 'display.resources'.
+ /// 'display.resources'
///
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/DraDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/DraDetails.cs
index 560d1348b316..07a274a1eff9 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/DraDetails.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/DraDetails.cs
@@ -33,18 +33,16 @@ public DraDetails()
///
/// The DRA Id.
/// The DRA name.
- /// The DRA Bios Id.
- /// The version.
+ /// The DRA version.
/// The last heartbeat received from the
/// DRA.
- /// The health. Possible values include: 'None',
- /// 'Normal', 'Warning', 'Critical'
+ /// The health of the DRA. Possible values
+ /// include: 'None', 'Normal', 'Warning', 'Critical'
/// The health errors.
- public DraDetails(string id = default(string), string name = default(string), string biosId = default(string), string version = default(string), System.DateTime? lastHeartbeatUtc = default(System.DateTime?), string health = default(string), IList healthErrors = default(IList))
+ public DraDetails(string id = default(string), string name = default(string), string version = default(string), System.DateTime? lastHeartbeatUtc = default(System.DateTime?), string health = default(string), IList healthErrors = default(IList))
{
Id = id;
Name = name;
- BiosId = biosId;
Version = version;
LastHeartbeatUtc = lastHeartbeatUtc;
Health = health;
@@ -70,13 +68,7 @@ public DraDetails()
public string Name { get; private set; }
///
- /// Gets the DRA Bios Id.
- ///
- [JsonProperty(PropertyName = "biosId")]
- public string BiosId { get; private set; }
-
- ///
- /// Gets the version.
+ /// Gets the DRA version.
///
[JsonProperty(PropertyName = "version")]
public string Version { get; private set; }
@@ -88,8 +80,8 @@ public DraDetails()
public System.DateTime? LastHeartbeatUtc { get; private set; }
///
- /// Gets the health. Possible values include: 'None', 'Normal',
- /// 'Warning', 'Critical'
+ /// Gets the health of the DRA. Possible values include: 'None',
+ /// 'Normal', 'Warning', 'Critical'
///
[JsonProperty(PropertyName = "health")]
public string Health { get; private set; }
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/EventProperties.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/EventProperties.cs
index b909833a5f6d..fcdd2597b959 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/EventProperties.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/EventProperties.cs
@@ -38,8 +38,6 @@ public EventProperties()
/// The friendly name of the
/// source of the event on which it is raised (for example, VM, VMM
/// etc).
- /// The affected object
- /// correlationId for the event.
/// The severity of the event.
/// The time of occurrence of the
/// event.
@@ -50,13 +48,12 @@ public EventProperties()
/// settings.
/// The list of errors / warnings capturing
/// details associated with the issue(s).
- public EventProperties(string eventCode = default(string), string description = default(string), string eventType = default(string), string affectedObjectFriendlyName = default(string), string affectedObjectCorrelationId = default(string), string severity = default(string), System.DateTime? timeOfOccurrence = default(System.DateTime?), string fabricId = default(string), EventProviderSpecificDetails providerSpecificDetails = default(EventProviderSpecificDetails), EventSpecificDetails eventSpecificDetails = default(EventSpecificDetails), IList healthErrors = default(IList))
+ public EventProperties(string eventCode = default(string), string description = default(string), string eventType = default(string), string affectedObjectFriendlyName = default(string), string severity = default(string), System.DateTime? timeOfOccurrence = default(System.DateTime?), string fabricId = default(string), EventProviderSpecificDetails providerSpecificDetails = default(EventProviderSpecificDetails), EventSpecificDetails eventSpecificDetails = default(EventSpecificDetails), IList healthErrors = default(IList))
{
EventCode = eventCode;
Description = description;
EventType = eventType;
AffectedObjectFriendlyName = affectedObjectFriendlyName;
- AffectedObjectCorrelationId = affectedObjectCorrelationId;
Severity = severity;
TimeOfOccurrence = timeOfOccurrence;
FabricId = fabricId;
@@ -97,12 +94,6 @@ public EventProperties()
[JsonProperty(PropertyName = "affectedObjectFriendlyName")]
public string AffectedObjectFriendlyName { get; set; }
- ///
- /// Gets or sets the affected object correlationId for the event.
- ///
- [JsonProperty(PropertyName = "affectedObjectCorrelationId")]
- public string AffectedObjectCorrelationId { get; set; }
-
///
/// Gets or sets the severity of the event.
///
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/EventQueryParameter.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/EventQueryParameter.cs
index 28caa55702a7..b57897b9c72c 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/EventQueryParameter.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/EventQueryParameter.cs
@@ -39,20 +39,17 @@ public EventQueryParameter()
/// events to be queried.
/// The affected object name
/// of the events to be queried.
- /// The affected object
- /// correlationId for the events to be queried.
/// The start time of the time range within
/// which the events are to be queried.
/// The end time of the time range within which
/// the events are to be queried.
- public EventQueryParameter(string eventCode = default(string), string severity = default(string), string eventType = default(string), string fabricName = default(string), string affectedObjectFriendlyName = default(string), string affectedObjectCorrelationId = default(string), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?))
+ public EventQueryParameter(string eventCode = default(string), string severity = default(string), string eventType = default(string), string fabricName = default(string), string affectedObjectFriendlyName = default(string), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?))
{
EventCode = eventCode;
Severity = severity;
EventType = eventType;
FabricName = fabricName;
AffectedObjectFriendlyName = affectedObjectFriendlyName;
- AffectedObjectCorrelationId = affectedObjectCorrelationId;
StartTime = startTime;
EndTime = endTime;
CustomInit();
@@ -94,13 +91,6 @@ public EventQueryParameter()
[JsonProperty(PropertyName = "affectedObjectFriendlyName")]
public string AffectedObjectFriendlyName { get; set; }
- ///
- /// Gets or sets the affected object correlationId for the events to be
- /// queried.
- ///
- [JsonProperty(PropertyName = "affectedObjectCorrelationId")]
- public string AffectedObjectCorrelationId { get; set; }
-
///
/// Gets or sets the start time of the time range within which the
/// events are to be queried.
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/FabricCreationInput.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/FabricCreationInput.cs
index 7713b2b2bb0c..29392ec792b3 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/FabricCreationInput.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/FabricCreationInput.cs
@@ -14,7 +14,7 @@ namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
using System.Linq;
///
- /// Site details provided during the time of site creation.
+ /// Site details provided during the time of site creation
///
public partial class FabricCreationInput
{
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/FabricCreationInputProperties.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/FabricCreationInputProperties.cs
index c8cd9243bc37..68e71c51c0a2 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/FabricCreationInputProperties.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/FabricCreationInputProperties.cs
@@ -14,7 +14,7 @@ namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
using System.Linq;
///
- /// Properties of site details provided during the time of site creation.
+ /// Properties of site details provided during the time of site creation
///
public partial class FabricCreationInputProperties
{
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/FabricQueryParameter.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/FabricQueryParameter.cs
deleted file mode 100644
index 4aaa041d2388..000000000000
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/FabricQueryParameter.cs
+++ /dev/null
@@ -1,100 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Query parameter to get fabric.
- ///
- public partial class FabricQueryParameter
- {
- ///
- /// Initializes a new instance of the FabricQueryParameter class.
- ///
- public FabricQueryParameter()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the FabricQueryParameter class.
- ///
- /// A value indicating whether the
- /// zone to zone mappings are to be returned.
- /// A value indicating whether the
- /// agent details are to be fetched.
- /// The BIOS Id to be used for fetching agent
- /// details.
- /// The FQDN to be used for fetching agent
- /// details.
- /// The type of the discovered machine to
- /// be used for fetching agent details.
- /// The OS type to be used for fetching agent
- /// details.
- public FabricQueryParameter(string zoneToZoneMappings = default(string), string fetchAgentDetails = default(string), string biosId = default(string), string fqdn = default(string), string discoveryType = default(string), string osType = default(string))
- {
- ZoneToZoneMappings = zoneToZoneMappings;
- FetchAgentDetails = fetchAgentDetails;
- BiosId = biosId;
- Fqdn = fqdn;
- DiscoveryType = discoveryType;
- OsType = osType;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets a value indicating whether the zone to zone mappings
- /// are to be returned.
- ///
- [JsonProperty(PropertyName = "zoneToZoneMappings")]
- public string ZoneToZoneMappings { get; set; }
-
- ///
- /// Gets or sets a value indicating whether the agent details are to be
- /// fetched.
- ///
- [JsonProperty(PropertyName = "fetchAgentDetails")]
- public string FetchAgentDetails { get; set; }
-
- ///
- /// Gets or sets the BIOS Id to be used for fetching agent details.
- ///
- [JsonProperty(PropertyName = "biosId")]
- public string BiosId { get; set; }
-
- ///
- /// Gets or sets the FQDN to be used for fetching agent details.
- ///
- [JsonProperty(PropertyName = "fqdn")]
- public string Fqdn { get; set; }
-
- ///
- /// Gets or sets the type of the discovered machine to be used for
- /// fetching agent details.
- ///
- [JsonProperty(PropertyName = "discoveryType")]
- public string DiscoveryType { get; set; }
-
- ///
- /// Gets or sets the OS type to be used for fetching agent details.
- ///
- [JsonProperty(PropertyName = "osType")]
- public string OsType { get; set; }
-
- }
-}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/FabricReplicationGroupTaskDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/FabricReplicationGroupTaskDetails.cs
index 24227296ae39..1401afb8af60 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/FabricReplicationGroupTaskDetails.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/FabricReplicationGroupTaskDetails.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
///
/// This class represents the fabric replication group task details.
///
- public partial class FabricReplicationGroupTaskDetails : JobTaskDetails
+ public partial class FabricReplicationGroupTaskDetails : TaskTypeDetails
{
///
/// Initializes a new instance of the FabricReplicationGroupTaskDetails
@@ -31,15 +31,15 @@ public FabricReplicationGroupTaskDetails()
/// Initializes a new instance of the FabricReplicationGroupTaskDetails
/// class.
///
- /// The job entity.
/// The skipped reason.
/// The skipped reason
/// string.
- public FabricReplicationGroupTaskDetails(JobEntity jobTask = default(JobEntity), string skippedReason = default(string), string skippedReasonString = default(string))
- : base(jobTask)
+ /// The job entity.
+ public FabricReplicationGroupTaskDetails(string skippedReason = default(string), string skippedReasonString = default(string), JobEntity jobTask = default(JobEntity))
{
SkippedReason = skippedReason;
SkippedReasonString = skippedReasonString;
+ JobTask = jobTask;
CustomInit();
}
@@ -60,5 +60,11 @@ public FabricReplicationGroupTaskDetails()
[JsonProperty(PropertyName = "skippedReasonString")]
public string SkippedReasonString { get; set; }
+ ///
+ /// Gets or sets the job entity.
+ ///
+ [JsonProperty(PropertyName = "jobTask")]
+ public JobEntity JobTask { get; set; }
+
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/FailoverProcessServerRequestProperties.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/FailoverProcessServerRequestProperties.cs
index fde7cacddb45..4ab02f1d1364 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/FailoverProcessServerRequestProperties.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/FailoverProcessServerRequestProperties.cs
@@ -39,7 +39,7 @@ public FailoverProcessServerRequestProperties()
/// The new process server.
/// The VMS to migrate.
/// A value for failover type. It can be
- /// systemlevel/serverlevel.
+ /// systemlevel/serverlevel
public FailoverProcessServerRequestProperties(string containerName = default(string), string sourceProcessServerId = default(string), string targetProcessServerId = default(string), IList vmsToMigrate = default(IList), string updateType = default(string))
{
ContainerName = containerName;
@@ -81,7 +81,7 @@ public FailoverProcessServerRequestProperties()
///
/// Gets or sets a value for failover type. It can be
- /// systemlevel/serverlevel.
+ /// systemlevel/serverlevel
///
[JsonProperty(PropertyName = "updateType")]
public string UpdateType { get; set; }
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HealthError.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HealthError.cs
index a32264840521..95e259191e4f 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HealthError.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HealthError.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
using System.Linq;
///
- /// Health Error.
+ /// Health Error
///
public partial class HealthError
{
@@ -48,7 +48,7 @@ public HealthError()
/// Possible causes of error.
/// Recommended action to resolve
/// error.
- /// Error creation time (UTC).
+ /// Error creation time (UTC)
/// DRA error
/// message.
/// ID of the entity.
@@ -148,7 +148,7 @@ public HealthError()
public string RecommendedAction { get; set; }
///
- /// Gets or sets error creation time (UTC).
+ /// Gets or sets error creation time (UTC)
///
[JsonProperty(PropertyName = "creationTimeUtc")]
public System.DateTime? CreationTimeUtc { get; set; }
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HealthErrorCategory.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HealthErrorCategory.cs
index 6b3558c8aea0..2209e474dc61 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HealthErrorCategory.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HealthErrorCategory.cs
@@ -22,10 +22,6 @@ public static class HealthErrorCategory
public const string Configuration = "Configuration";
public const string FabricInfrastructure = "FabricInfrastructure";
public const string VersionExpiry = "VersionExpiry";
- public const string AgentAutoUpdateInfra = "AgentAutoUpdateInfra";
- public const string AgentAutoUpdateArtifactDeleted = "AgentAutoUpdateArtifactDeleted";
- public const string AgentAutoUpdateRunAsAccount = "AgentAutoUpdateRunAsAccount";
- public const string AgentAutoUpdateRunAsAccountExpiry = "AgentAutoUpdateRunAsAccountExpiry";
- public const string AgentAutoUpdateRunAsAccountExpired = "AgentAutoUpdateRunAsAccountExpired";
+ public const string AgentAutoUpdate = "AgentAutoUpdate";
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HealthErrorSummary.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HealthErrorSummary.cs
index 55f84d81c49e..5cadc82904b1 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HealthErrorSummary.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HealthErrorSummary.cs
@@ -35,9 +35,7 @@ public HealthErrorSummary()
/// The category of the health error. Possible
/// values include: 'None', 'Replication', 'TestFailover',
/// 'Configuration', 'FabricInfrastructure', 'VersionExpiry',
- /// 'AgentAutoUpdateInfra', 'AgentAutoUpdateArtifactDeleted',
- /// 'AgentAutoUpdateRunAsAccount', 'AgentAutoUpdateRunAsAccountExpiry',
- /// 'AgentAutoUpdateRunAsAccountExpired'
+ /// 'AgentAutoUpdate'
/// Severity of error. Possible values include:
/// 'NONE', 'Warning', 'Error', 'Info'
/// The summary message of the health
@@ -77,10 +75,7 @@ public HealthErrorSummary()
///
/// Gets or sets the category of the health error. Possible values
/// include: 'None', 'Replication', 'TestFailover', 'Configuration',
- /// 'FabricInfrastructure', 'VersionExpiry', 'AgentAutoUpdateInfra',
- /// 'AgentAutoUpdateArtifactDeleted', 'AgentAutoUpdateRunAsAccount',
- /// 'AgentAutoUpdateRunAsAccountExpiry',
- /// 'AgentAutoUpdateRunAsAccountExpired'
+ /// 'FabricInfrastructure', 'VersionExpiry', 'AgentAutoUpdate'
///
[JsonProperty(PropertyName = "category")]
public string Category { get; set; }
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVHostDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVHostDetails.cs
deleted file mode 100644
index 572622f14b34..000000000000
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVHostDetails.cs
+++ /dev/null
@@ -1,67 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Hyper-V host details.
- ///
- public partial class HyperVHostDetails
- {
- ///
- /// Initializes a new instance of the HyperVHostDetails class.
- ///
- public HyperVHostDetails()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the HyperVHostDetails class.
- ///
- /// The Hyper-V host Id.
- /// The Hyper-V host name.
- /// The Mars agent version.
- public HyperVHostDetails(string id = default(string), string name = default(string), string marsAgentVersion = default(string))
- {
- Id = id;
- Name = name;
- MarsAgentVersion = marsAgentVersion;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets the Hyper-V host Id.
- ///
- [JsonProperty(PropertyName = "id")]
- public string Id { get; private set; }
-
- ///
- /// Gets the Hyper-V host name.
- ///
- [JsonProperty(PropertyName = "name")]
- public string Name { get; private set; }
-
- ///
- /// Gets the Mars agent version.
- ///
- [JsonProperty(PropertyName = "marsAgentVersion")]
- public string MarsAgentVersion { get; private set; }
-
- }
-}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureApplyRecoveryPointInput.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureApplyRecoveryPointInput.cs
index b550e4d11242..dadbaed4144c 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureApplyRecoveryPointInput.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureApplyRecoveryPointInput.cs
@@ -32,12 +32,15 @@ public HyperVReplicaAzureApplyRecoveryPointInput()
/// Initializes a new instance of the
/// HyperVReplicaAzureApplyRecoveryPointInput class.
///
+ /// The vault location where the recovery
+ /// Vm resides.
/// The primary kek certificate
/// pfx.
/// The secondary kek
/// certificate pfx.
- public HyperVReplicaAzureApplyRecoveryPointInput(string primaryKekCertificatePfx = default(string), string secondaryKekCertificatePfx = default(string))
+ public HyperVReplicaAzureApplyRecoveryPointInput(string vaultLocation = default(string), string primaryKekCertificatePfx = default(string), string secondaryKekCertificatePfx = default(string))
{
+ VaultLocation = vaultLocation;
PrimaryKekCertificatePfx = primaryKekCertificatePfx;
SecondaryKekCertificatePfx = secondaryKekCertificatePfx;
CustomInit();
@@ -48,6 +51,12 @@ public HyperVReplicaAzureApplyRecoveryPointInput()
///
partial void CustomInit();
+ ///
+ /// Gets or sets the vault location where the recovery Vm resides.
+ ///
+ [JsonProperty(PropertyName = "vaultLocation")]
+ public string VaultLocation { get; set; }
+
///
/// Gets or sets the primary kek certificate pfx.
///
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureDiskInputDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureDiskInputDetails.cs
deleted file mode 100644
index 0a2bb08d58c9..000000000000
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureDiskInputDetails.cs
+++ /dev/null
@@ -1,80 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Disk input details.
- ///
- public partial class HyperVReplicaAzureDiskInputDetails
- {
- ///
- /// Initializes a new instance of the
- /// HyperVReplicaAzureDiskInputDetails class.
- ///
- public HyperVReplicaAzureDiskInputDetails()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// HyperVReplicaAzureDiskInputDetails class.
- ///
- /// The DiskId.
- /// The LogStorageAccountId.
- /// The DiskType. Possible values include:
- /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
- /// The DiskEncryptionSet ARM
- /// ID.
- public HyperVReplicaAzureDiskInputDetails(string diskId = default(string), string logStorageAccountId = default(string), string diskType = default(string), string diskEncryptionSetId = default(string))
- {
- DiskId = diskId;
- LogStorageAccountId = logStorageAccountId;
- DiskType = diskType;
- DiskEncryptionSetId = diskEncryptionSetId;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the DiskId.
- ///
- [JsonProperty(PropertyName = "diskId")]
- public string DiskId { get; set; }
-
- ///
- /// Gets or sets the LogStorageAccountId.
- ///
- [JsonProperty(PropertyName = "logStorageAccountId")]
- public string LogStorageAccountId { get; set; }
-
- ///
- /// Gets or sets the DiskType. Possible values include: 'Standard_LRS',
- /// 'Premium_LRS', 'StandardSSD_LRS'
- ///
- [JsonProperty(PropertyName = "diskType")]
- public string DiskType { get; set; }
-
- ///
- /// Gets or sets the DiskEncryptionSet ARM ID.
- ///
- [JsonProperty(PropertyName = "diskEncryptionSetId")]
- public string DiskEncryptionSetId { get; set; }
-
- }
-}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureEnableProtectionInput.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureEnableProtectionInput.cs
index b7273b5dcdb2..794c8aa4d691 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureEnableProtectionInput.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureEnableProtectionInput.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
using System.Linq;
///
- /// HyperVReplicaAzure specific enable protection input.
+ /// Azure specific enable protection input.
///
[Newtonsoft.Json.JsonObject("HyperVReplicaAzure")]
public partial class HyperVReplicaAzureEnableProtectionInput : EnableProtectionProviderSpecificInput
@@ -34,23 +34,23 @@ public HyperVReplicaAzureEnableProtectionInput()
/// Initializes a new instance of the
/// HyperVReplicaAzureEnableProtectionInput class.
///
- /// The Hyper-V host VM Id.
- /// The VM Name.
- /// The OS type associated with VM.
- /// The OS disk VHD id associated with VM.
+ /// The Hyper-V host Vm Id.
+ /// The Vm Name.
+ /// The OS type associated with vm.
+ /// The OS disk VHD id associated with vm.
/// The storage account
- /// Id.
+ /// name.
/// The selected target Azure
/// network Id.
/// The selected target Azure subnet
/// Id.
/// The selected option to enable
/// RDP\SSH on target vm after failover. String value of
- /// SrsDataContract.EnableRDPOnTargetOption enum.
- /// The target azure VM Name.
+ /// {SrsDataContract.EnableRDPOnTargetOption} enum.
+ /// The target azure Vm Name.
/// The storage account to be used
/// for logging during replication.
- /// The list of VHD Ids of disks to be
+ /// The list of VHD IDs of disks to be
/// protected.
/// The Id of the target
/// resource group (for classic deployment) in which the failover VM is
@@ -60,33 +60,14 @@ public HyperVReplicaAzureEnableProtectionInput()
/// failover VM is to be created.
/// A value indicating whether managed
/// disks should be used during failover.
- /// The target availability set
- /// ARM Id for resource manager deployment.
/// The target availability
/// zone.
- /// License type. Possible values include:
- /// 'NotSpecified', 'NoLicenseType', 'WindowsServer'
- /// The SQL Server license type.
- /// Possible values include: 'NotSpecified', 'NoLicenseType', 'PAYG',
- /// 'AHUB'
- /// The target VM size.
/// The proximity
/// placement group ARM Id.
- /// A value indicating
- /// whether managed disks should be used during replication.
- /// The DiskType. Possible values include:
- /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'
- /// The disks to include
- /// list for managed disks.
- /// The DiskEncryptionSet ARM
+ /// The availability set ARM
/// Id.
- /// The target VM tags.
- /// The tags for the seed managed
- /// disks.
- /// The tags for the target managed
- /// disks.
- /// The tags for the target NICs.
- public HyperVReplicaAzureEnableProtectionInput(string hvHostVmId = default(string), string vmName = default(string), string osType = default(string), string vhdId = default(string), string targetStorageAccountId = default(string), string targetAzureNetworkId = default(string), string targetAzureSubnetId = default(string), string enableRdpOnTargetOption = default(string), string targetAzureVmName = default(string), string logStorageAccountId = default(string), IList disksToInclude = default(IList), string targetAzureV1ResourceGroupId = default(string), string targetAzureV2ResourceGroupId = default(string), string useManagedDisks = default(string), string targetAvailabilitySetId = default(string), string targetAvailabilityZone = default(string), string licenseType = default(string), string sqlServerLicenseType = default(string), string targetVmSize = default(string), string targetProximityPlacementGroupId = default(string), string useManagedDisksForReplication = default(string), string diskType = default(string), IList disksToIncludeForManagedDisks = default(IList), string diskEncryptionSetId = default(string), IDictionary targetVmTags = default(IDictionary), IDictionary seedManagedDiskTags = default(IDictionary), IDictionary targetManagedDiskTags = default(IDictionary), IDictionary targetNicTags = default(IDictionary))
+ /// The target VM size.
+ public HyperVReplicaAzureEnableProtectionInput(string hvHostVmId = default(string), string vmName = default(string), string osType = default(string), string vhdId = default(string), string targetStorageAccountId = default(string), string targetAzureNetworkId = default(string), string targetAzureSubnetId = default(string), string enableRdpOnTargetOption = default(string), string targetAzureVmName = default(string), string logStorageAccountId = default(string), IList disksToInclude = default(IList), string targetAzureV1ResourceGroupId = default(string), string targetAzureV2ResourceGroupId = default(string), string useManagedDisks = default(string), string targetAvailabilityZone = default(string), string targetProximityPlacementGroupId = default(string), string targetAvailabilitySetId = default(string), string targetVmSize = default(string))
{
HvHostVmId = hvHostVmId;
VmName = vmName;
@@ -102,20 +83,10 @@ public HyperVReplicaAzureEnableProtectionInput()
TargetAzureV1ResourceGroupId = targetAzureV1ResourceGroupId;
TargetAzureV2ResourceGroupId = targetAzureV2ResourceGroupId;
UseManagedDisks = useManagedDisks;
- TargetAvailabilitySetId = targetAvailabilitySetId;
TargetAvailabilityZone = targetAvailabilityZone;
- LicenseType = licenseType;
- SqlServerLicenseType = sqlServerLicenseType;
- TargetVmSize = targetVmSize;
TargetProximityPlacementGroupId = targetProximityPlacementGroupId;
- UseManagedDisksForReplication = useManagedDisksForReplication;
- DiskType = diskType;
- DisksToIncludeForManagedDisks = disksToIncludeForManagedDisks;
- DiskEncryptionSetId = diskEncryptionSetId;
- TargetVmTags = targetVmTags;
- SeedManagedDiskTags = seedManagedDiskTags;
- TargetManagedDiskTags = targetManagedDiskTags;
- TargetNicTags = targetNicTags;
+ TargetAvailabilitySetId = targetAvailabilitySetId;
+ TargetVmSize = targetVmSize;
CustomInit();
}
@@ -125,31 +96,31 @@ public HyperVReplicaAzureEnableProtectionInput()
partial void CustomInit();
///
- /// Gets or sets the Hyper-V host VM Id.
+ /// Gets or sets the Hyper-V host Vm Id.
///
[JsonProperty(PropertyName = "hvHostVmId")]
public string HvHostVmId { get; set; }
///
- /// Gets or sets the VM Name.
+ /// Gets or sets the Vm Name.
///
[JsonProperty(PropertyName = "vmName")]
public string VmName { get; set; }
///
- /// Gets or sets the OS type associated with VM.
+ /// Gets or sets the OS type associated with vm.
///
[JsonProperty(PropertyName = "osType")]
public string OsType { get; set; }
///
- /// Gets or sets the OS disk VHD id associated with VM.
+ /// Gets or sets the OS disk VHD id associated with vm.
///
[JsonProperty(PropertyName = "vhdId")]
public string VhdId { get; set; }
///
- /// Gets or sets the storage account Id.
+ /// Gets or sets the storage account name.
///
[JsonProperty(PropertyName = "targetStorageAccountId")]
public string TargetStorageAccountId { get; set; }
@@ -169,13 +140,13 @@ public HyperVReplicaAzureEnableProtectionInput()
///
/// Gets or sets the selected option to enable RDP\SSH on target vm
/// after failover. String value of
- /// SrsDataContract.EnableRDPOnTargetOption enum.
+ /// {SrsDataContract.EnableRDPOnTargetOption} enum.
///
[JsonProperty(PropertyName = "enableRdpOnTargetOption")]
public string EnableRdpOnTargetOption { get; set; }
///
- /// Gets or sets the target azure VM Name.
+ /// Gets or sets the target azure Vm Name.
///
[JsonProperty(PropertyName = "targetAzureVmName")]
public string TargetAzureVmName { get; set; }
@@ -188,7 +159,7 @@ public HyperVReplicaAzureEnableProtectionInput()
public string LogStorageAccountId { get; set; }
///
- /// Gets or sets the list of VHD Ids of disks to be protected.
+ /// Gets or sets the list of VHD IDs of disks to be protected.
///
[JsonProperty(PropertyName = "disksToInclude")]
public IList DisksToInclude { get; set; }
@@ -214,39 +185,12 @@ public HyperVReplicaAzureEnableProtectionInput()
[JsonProperty(PropertyName = "useManagedDisks")]
public string UseManagedDisks { get; set; }
- ///
- /// Gets or sets the target availability set ARM Id for resource
- /// manager deployment.
- ///
- [JsonProperty(PropertyName = "targetAvailabilitySetId")]
- public string TargetAvailabilitySetId { get; set; }
-
///
/// Gets or sets the target availability zone.
///
[JsonProperty(PropertyName = "targetAvailabilityZone")]
public string TargetAvailabilityZone { get; set; }
- ///
- /// Gets or sets license type. Possible values include: 'NotSpecified',
- /// 'NoLicenseType', 'WindowsServer'
- ///
- [JsonProperty(PropertyName = "licenseType")]
- public string LicenseType { get; set; }
-
- ///
- /// Gets or sets the SQL Server license type. Possible values include:
- /// 'NotSpecified', 'NoLicenseType', 'PAYG', 'AHUB'
- ///
- [JsonProperty(PropertyName = "sqlServerLicenseType")]
- public string SqlServerLicenseType { get; set; }
-
- ///
- /// Gets or sets the target VM size.
- ///
- [JsonProperty(PropertyName = "targetVmSize")]
- public string TargetVmSize { get; set; }
-
///
/// Gets or sets the proximity placement group ARM Id.
///
@@ -254,54 +198,16 @@ public HyperVReplicaAzureEnableProtectionInput()
public string TargetProximityPlacementGroupId { get; set; }
///
- /// Gets or sets a value indicating whether managed disks should be
- /// used during replication.
- ///
- [JsonProperty(PropertyName = "useManagedDisksForReplication")]
- public string UseManagedDisksForReplication { get; set; }
-
- ///
- /// Gets or sets the DiskType. Possible values include: 'Standard_LRS',
- /// 'Premium_LRS', 'StandardSSD_LRS'
- ///
- [JsonProperty(PropertyName = "diskType")]
- public string DiskType { get; set; }
-
- ///
- /// Gets or sets the disks to include list for managed disks.
- ///
- [JsonProperty(PropertyName = "disksToIncludeForManagedDisks")]
- public IList DisksToIncludeForManagedDisks { get; set; }
-
- ///
- /// Gets or sets the DiskEncryptionSet ARM Id.
- ///
- [JsonProperty(PropertyName = "diskEncryptionSetId")]
- public string DiskEncryptionSetId { get; set; }
-
- ///
- /// Gets or sets the target VM tags.
- ///
- [JsonProperty(PropertyName = "targetVmTags")]
- public IDictionary TargetVmTags { get; set; }
-
- ///
- /// Gets or sets the tags for the seed managed disks.
- ///
- [JsonProperty(PropertyName = "seedManagedDiskTags")]
- public IDictionary SeedManagedDiskTags { get; set; }
-
- ///
- /// Gets or sets the tags for the target managed disks.
+ /// Gets or sets the availability set ARM Id.
///
- [JsonProperty(PropertyName = "targetManagedDiskTags")]
- public IDictionary TargetManagedDiskTags { get; set; }
+ [JsonProperty(PropertyName = "targetAvailabilitySetId")]
+ public string TargetAvailabilitySetId { get; set; }
///
- /// Gets or sets the tags for the target NICs.
+ /// Gets or sets the target VM size.
///
- [JsonProperty(PropertyName = "targetNicTags")]
- public IDictionary TargetNicTags { get; set; }
+ [JsonProperty(PropertyName = "targetVmSize")]
+ public string TargetVmSize { get; set; }
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureFailbackProviderInput.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureFailbackProviderInput.cs
index 33398747c760..111d38fa9cc8 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureFailbackProviderInput.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureFailbackProviderInput.cs
@@ -14,10 +14,10 @@ namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
using System.Linq;
///
- /// HyperVReplicaAzureFailback specific planned failover input.
+ /// HvrA provider specific input for failback.
///
[Newtonsoft.Json.JsonObject("HyperVReplicaAzureFailback")]
- public partial class HyperVReplicaAzureFailbackProviderInput : PlannedFailoverProviderSpecificFailoverInput
+ public partial class HyperVReplicaAzureFailbackProviderInput : ProviderSpecificFailoverInput
{
///
/// Initializes a new instance of the
@@ -35,8 +35,8 @@ public HyperVReplicaAzureFailbackProviderInput()
/// Data sync option.
/// ALR options to create
/// alternate recovery.
- /// Provider Id for
- /// alternate location.
+ /// Provider ID for
+ /// alternate location
public HyperVReplicaAzureFailbackProviderInput(string dataSyncOption = default(string), string recoveryVmCreationOption = default(string), string providerIdForAlternateRecovery = default(string))
{
DataSyncOption = dataSyncOption;
@@ -63,7 +63,7 @@ public HyperVReplicaAzureFailbackProviderInput()
public string RecoveryVmCreationOption { get; set; }
///
- /// Gets or sets provider Id for alternate location.
+ /// Gets or sets provider ID for alternate location
///
[JsonProperty(PropertyName = "providerIdForAlternateRecovery")]
public string ProviderIdForAlternateRecovery { get; set; }
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzurePlannedFailoverProviderInput.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureFailoverProviderInput.cs
similarity index 73%
rename from sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzurePlannedFailoverProviderInput.cs
rename to sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureFailoverProviderInput.cs
index 4018e7885c5d..7eca2a0f399c 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzurePlannedFailoverProviderInput.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureFailoverProviderInput.cs
@@ -14,24 +14,25 @@ namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
using System.Linq;
///
- /// HyperVReplicaAzure specific planned failover input.
+ /// HvrA provider specific input for failover.
///
[Newtonsoft.Json.JsonObject("HyperVReplicaAzure")]
- public partial class HyperVReplicaAzurePlannedFailoverProviderInput : PlannedFailoverProviderSpecificFailoverInput
+ public partial class HyperVReplicaAzureFailoverProviderInput : ProviderSpecificFailoverInput
{
///
/// Initializes a new instance of the
- /// HyperVReplicaAzurePlannedFailoverProviderInput class.
+ /// HyperVReplicaAzureFailoverProviderInput class.
///
- public HyperVReplicaAzurePlannedFailoverProviderInput()
+ public HyperVReplicaAzureFailoverProviderInput()
{
CustomInit();
}
///
/// Initializes a new instance of the
- /// HyperVReplicaAzurePlannedFailoverProviderInput class.
+ /// HyperVReplicaAzureFailoverProviderInput class.
///
+ /// Location of the vault.
/// Primary kek certificate
/// pfx.
/// Secondary kek certificate
@@ -39,8 +40,9 @@ public HyperVReplicaAzurePlannedFailoverProviderInput()
/// The recovery point id to be passed to
/// failover to a particular recovery point. In case of latest recovery
/// point, null should be passed.
- public HyperVReplicaAzurePlannedFailoverProviderInput(string primaryKekCertificatePfx = default(string), string secondaryKekCertificatePfx = default(string), string recoveryPointId = default(string))
+ public HyperVReplicaAzureFailoverProviderInput(string vaultLocation = default(string), string primaryKekCertificatePfx = default(string), string secondaryKekCertificatePfx = default(string), string recoveryPointId = default(string))
{
+ VaultLocation = vaultLocation;
PrimaryKekCertificatePfx = primaryKekCertificatePfx;
SecondaryKekCertificatePfx = secondaryKekCertificatePfx;
RecoveryPointId = recoveryPointId;
@@ -52,6 +54,12 @@ public HyperVReplicaAzurePlannedFailoverProviderInput()
///
partial void CustomInit();
+ ///
+ /// Gets or sets location of the vault.
+ ///
+ [JsonProperty(PropertyName = "vaultLocation")]
+ public string VaultLocation { get; set; }
+
///
/// Gets or sets primary kek certificate pfx.
///
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureManagedDiskDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureManagedDiskDetails.cs
deleted file mode 100644
index b98bd5790f55..000000000000
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureManagedDiskDetails.cs
+++ /dev/null
@@ -1,78 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Hyper-V Managed disk details.
- ///
- public partial class HyperVReplicaAzureManagedDiskDetails
- {
- ///
- /// Initializes a new instance of the
- /// HyperVReplicaAzureManagedDiskDetails class.
- ///
- public HyperVReplicaAzureManagedDiskDetails()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the
- /// HyperVReplicaAzureManagedDiskDetails class.
- ///
- /// The disk Id.
- /// Seed managed disk Id.
- /// The replica disk type.
- /// The disk encryption set ARM
- /// Id.
- public HyperVReplicaAzureManagedDiskDetails(string diskId = default(string), string seedManagedDiskId = default(string), string replicaDiskType = default(string), string diskEncryptionSetId = default(string))
- {
- DiskId = diskId;
- SeedManagedDiskId = seedManagedDiskId;
- ReplicaDiskType = replicaDiskType;
- DiskEncryptionSetId = diskEncryptionSetId;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the disk Id.
- ///
- [JsonProperty(PropertyName = "diskId")]
- public string DiskId { get; set; }
-
- ///
- /// Gets or sets seed managed disk Id.
- ///
- [JsonProperty(PropertyName = "seedManagedDiskId")]
- public string SeedManagedDiskId { get; set; }
-
- ///
- /// Gets or sets the replica disk type.
- ///
- [JsonProperty(PropertyName = "replicaDiskType")]
- public string ReplicaDiskType { get; set; }
-
- ///
- /// Gets or sets the disk encryption set ARM Id.
- ///
- [JsonProperty(PropertyName = "diskEncryptionSetId")]
- public string DiskEncryptionSetId { get; set; }
-
- }
-}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureReplicationDetails.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureReplicationDetails.cs
index 697b99c10322..31a33960bb80 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureReplicationDetails.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureReplicationDetails.cs
@@ -69,7 +69,7 @@ public HyperVReplicaAzureReplicationDetails()
/// primary side.
/// The selected option to enable
/// RDP\SSH on target vm after failover. String value of
- /// SrsDataContract.EnableRDPOnTargetOption enum.
+ /// {SrsDataContract.EnableRDPOnTargetOption} enum.
/// The target resource
/// group Id.
/// The recovery availability
@@ -82,19 +82,7 @@ public HyperVReplicaAzureReplicationDetails()
/// disks should be used during failover.
/// License Type of the VM to be
/// used.
- /// The SQL Server license
- /// type.
- /// The last recovery point
- /// received time.
- /// The target VM tags.
- /// The tags for the seed managed
- /// disks.
- /// The tags for the target managed
- /// disks.
- /// The tags for the target NICs.
- /// The list of protected managed
- /// disks.
- public HyperVReplicaAzureReplicationDetails(IList azureVmDiskDetails = default(IList), string recoveryAzureVmName = default(string), string recoveryAzureVMSize = default(string), string recoveryAzureStorageAccount = default(string), string recoveryAzureLogStorageAccountId = default(string), System.DateTime? lastReplicatedTime = default(System.DateTime?), long? rpoInSeconds = default(long?), System.DateTime? lastRpoCalculatedTime = default(System.DateTime?), string vmId = default(string), string vmProtectionState = default(string), string vmProtectionStateDescription = default(string), InitialReplicationDetails initialReplicationDetails = default(InitialReplicationDetails), IList vmNics = default(IList), string selectedRecoveryAzureNetworkId = default(string), string selectedSourceNicId = default(string), string encryption = default(string), OSDetails oSDetails = default(OSDetails), int? sourceVmRamSizeInMB = default(int?), int? sourceVmCpuCount = default(int?), string enableRdpOnTargetOption = default(string), string recoveryAzureResourceGroupId = default(string), string recoveryAvailabilitySetId = default(string), string targetAvailabilityZone = default(string), string targetProximityPlacementGroupId = default(string), string useManagedDisks = default(string), string licenseType = default(string), string sqlServerLicenseType = default(string), System.DateTime? lastRecoveryPointReceived = default(System.DateTime?), IDictionary targetVmTags = default(IDictionary), IDictionary seedManagedDiskTags = default(IDictionary), IDictionary targetManagedDiskTags = default(IDictionary), IDictionary targetNicTags = default(IDictionary), IList protectedManagedDisks = default(IList))
+ public HyperVReplicaAzureReplicationDetails(IList azureVmDiskDetails = default(IList), string recoveryAzureVmName = default(string), string recoveryAzureVMSize = default(string), string recoveryAzureStorageAccount = default(string), string recoveryAzureLogStorageAccountId = default(string), System.DateTime? lastReplicatedTime = default(System.DateTime?), long? rpoInSeconds = default(long?), System.DateTime? lastRpoCalculatedTime = default(System.DateTime?), string vmId = default(string), string vmProtectionState = default(string), string vmProtectionStateDescription = default(string), InitialReplicationDetails initialReplicationDetails = default(InitialReplicationDetails), IList vmNics = default(IList), string selectedRecoveryAzureNetworkId = default(string), string selectedSourceNicId = default(string), string encryption = default(string), OSDetails oSDetails = default(OSDetails), int? sourceVmRamSizeInMB = default(int?), int? sourceVmCpuCount = default(int?), string enableRdpOnTargetOption = default(string), string recoveryAzureResourceGroupId = default(string), string recoveryAvailabilitySetId = default(string), string targetAvailabilityZone = default(string), string targetProximityPlacementGroupId = default(string), string useManagedDisks = default(string), string licenseType = default(string))
{
AzureVmDiskDetails = azureVmDiskDetails;
RecoveryAzureVmName = recoveryAzureVmName;
@@ -122,13 +110,6 @@ public HyperVReplicaAzureReplicationDetails()
TargetProximityPlacementGroupId = targetProximityPlacementGroupId;
UseManagedDisks = useManagedDisks;
LicenseType = licenseType;
- SqlServerLicenseType = sqlServerLicenseType;
- LastRecoveryPointReceived = lastRecoveryPointReceived;
- TargetVmTags = targetVmTags;
- SeedManagedDiskTags = seedManagedDiskTags;
- TargetManagedDiskTags = targetManagedDiskTags;
- TargetNicTags = targetNicTags;
- ProtectedManagedDisks = protectedManagedDisks;
CustomInit();
}
@@ -257,7 +238,7 @@ public HyperVReplicaAzureReplicationDetails()
///
/// Gets or sets the selected option to enable RDP\SSH on target vm
/// after failover. String value of
- /// SrsDataContract.EnableRDPOnTargetOption enum.
+ /// {SrsDataContract.EnableRDPOnTargetOption} enum.
///
[JsonProperty(PropertyName = "enableRdpOnTargetOption")]
public string EnableRdpOnTargetOption { get; set; }
@@ -299,47 +280,5 @@ public HyperVReplicaAzureReplicationDetails()
[JsonProperty(PropertyName = "licenseType")]
public string LicenseType { get; set; }
- ///
- /// Gets or sets the SQL Server license type.
- ///
- [JsonProperty(PropertyName = "sqlServerLicenseType")]
- public string SqlServerLicenseType { get; set; }
-
- ///
- /// Gets the last recovery point received time.
- ///
- [JsonProperty(PropertyName = "lastRecoveryPointReceived")]
- public System.DateTime? LastRecoveryPointReceived { get; private set; }
-
- ///
- /// Gets or sets the target VM tags.
- ///
- [JsonProperty(PropertyName = "targetVmTags")]
- public IDictionary TargetVmTags { get; set; }
-
- ///
- /// Gets or sets the tags for the seed managed disks.
- ///
- [JsonProperty(PropertyName = "seedManagedDiskTags")]
- public IDictionary SeedManagedDiskTags { get; set; }
-
- ///
- /// Gets or sets the tags for the target managed disks.
- ///
- [JsonProperty(PropertyName = "targetManagedDiskTags")]
- public IDictionary TargetManagedDiskTags { get; set; }
-
- ///
- /// Gets or sets the tags for the target NICs.
- ///
- [JsonProperty(PropertyName = "targetNicTags")]
- public IDictionary TargetNicTags { get; set; }
-
- ///
- /// Gets or sets the list of protected managed disks.
- ///
- [JsonProperty(PropertyName = "protectedManagedDisks")]
- public IList ProtectedManagedDisks { get; set; }
-
}
}
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureTestFailoverInput.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureTestFailoverInput.cs
index 5598ecda4c2e..9ef12dafa808 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureTestFailoverInput.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureTestFailoverInput.cs
@@ -32,6 +32,7 @@ public HyperVReplicaAzureTestFailoverInput()
/// Initializes a new instance of the
/// HyperVReplicaAzureTestFailoverInput class.
///
+ /// Location of the vault.
/// Primary kek certificate
/// pfx.
/// Secondary kek certificate
@@ -39,8 +40,9 @@ public HyperVReplicaAzureTestFailoverInput()
/// The recovery point id to be passed to
/// test failover to a particular recovery point. In case of latest
/// recovery point, null should be passed.
- public HyperVReplicaAzureTestFailoverInput(string primaryKekCertificatePfx = default(string), string secondaryKekCertificatePfx = default(string), string recoveryPointId = default(string))
+ public HyperVReplicaAzureTestFailoverInput(string vaultLocation = default(string), string primaryKekCertificatePfx = default(string), string secondaryKekCertificatePfx = default(string), string recoveryPointId = default(string))
{
+ VaultLocation = vaultLocation;
PrimaryKekCertificatePfx = primaryKekCertificatePfx;
SecondaryKekCertificatePfx = secondaryKekCertificatePfx;
RecoveryPointId = recoveryPointId;
@@ -52,6 +54,12 @@ public HyperVReplicaAzureTestFailoverInput()
///
partial void CustomInit();
+ ///
+ /// Gets or sets location of the vault.
+ ///
+ [JsonProperty(PropertyName = "vaultLocation")]
+ public string VaultLocation { get; set; }
+
///
/// Gets or sets primary kek certificate pfx.
///
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureUnplannedFailoverInput.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureUnplannedFailoverInput.cs
index 150bf3a29304..1c3612e7956b 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureUnplannedFailoverInput.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureUnplannedFailoverInput.cs
@@ -32,6 +32,7 @@ public HyperVReplicaAzureUnplannedFailoverInput()
/// Initializes a new instance of the
/// HyperVReplicaAzureUnplannedFailoverInput class.
///
+ /// Location of the vault.
/// Primary kek certificate
/// pfx.
/// Secondary kek certificate
@@ -39,8 +40,9 @@ public HyperVReplicaAzureUnplannedFailoverInput()
/// The recovery point id to be passed to
/// failover to a particular recovery point. In case of latest recovery
/// point, null should be passed.
- public HyperVReplicaAzureUnplannedFailoverInput(string primaryKekCertificatePfx = default(string), string secondaryKekCertificatePfx = default(string), string recoveryPointId = default(string))
+ public HyperVReplicaAzureUnplannedFailoverInput(string vaultLocation = default(string), string primaryKekCertificatePfx = default(string), string secondaryKekCertificatePfx = default(string), string recoveryPointId = default(string))
{
+ VaultLocation = vaultLocation;
PrimaryKekCertificatePfx = primaryKekCertificatePfx;
SecondaryKekCertificatePfx = secondaryKekCertificatePfx;
RecoveryPointId = recoveryPointId;
@@ -52,6 +54,12 @@ public HyperVReplicaAzureUnplannedFailoverInput()
///
partial void CustomInit();
+ ///
+ /// Gets or sets location of the vault.
+ ///
+ [JsonProperty(PropertyName = "vaultLocation")]
+ public string VaultLocation { get; set; }
+
///
/// Gets or sets primary kek certificate pfx.
///
diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureUpdateReplicationProtectedItemInput.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureUpdateReplicationProtectedItemInput.cs
index 38cdd9a0ba30..70c905f587c6 100644
--- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureUpdateReplicationProtectedItemInput.cs
+++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/HyperVReplicaAzureUpdateReplicationProtectedItemInput.cs
@@ -46,14 +46,7 @@ public HyperVReplicaAzureUpdateReplicationProtectedItemInput()
/// placement group Id.
/// The target availability
/// zone.
- /// The target VM tags.
- /// The tags for the target managed
- /// disks.
- /// The tags for the target NICs.
- /// The SQL Server license type.
- /// Possible values include: 'NotSpecified', 'NoLicenseType', 'PAYG',
- /// 'AHUB'
- public HyperVReplicaAzureUpdateReplicationProtectedItemInput(string recoveryAzureV1ResourceGroupId = default(string), string recoveryAzureV2ResourceGroupId = default(string), string useManagedDisks = default(string), IDictionary diskIdToDiskEncryptionMap = default(IDictionary), string targetProximityPlacementGroupId = default(string), string targetAvailabilityZone = default(string), IDictionary targetVmTags = default(IDictionary), IDictionary targetManagedDiskTags = default(IDictionary), IDictionary targetNicTags = default(IDictionary), string sqlServerLicenseType = default(string))
+ public HyperVReplicaAzureUpdateReplicationProtectedItemInput(string recoveryAzureV1ResourceGroupId = default(string), string recoveryAzureV2ResourceGroupId = default(string), string useManagedDisks = default(string), IDictionary