diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/AadPropertiesOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/AadPropertiesOperations.cs
index 7eb122888486..e43eaf043044 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/AadPropertiesOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/AadPropertiesOperations.cs
@@ -12,6 +12,7 @@ namespace Microsoft.Azure.Management.RecoveryServices.Backup
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
+ using Microsoft.Rest.Azure.OData;
using Models;
using Newtonsoft.Json;
using System.Collections;
@@ -56,6 +57,9 @@ internal AadPropertiesOperations(RecoveryServicesBackupClient client)
///
/// Azure region to hit Api
///
+ ///
+ /// OData parameters to apply to the operation.
+ ///
///
/// Headers that will be added to request.
///
@@ -77,7 +81,7 @@ internal AadPropertiesOperations(RecoveryServicesBackupClient client)
///
/// A response object containing the response body and response headers.
///
- public async Task> GetWithHttpMessagesAsync(string azureRegion, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ public async Task> GetWithHttpMessagesAsync(string azureRegion, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
if (azureRegion == null)
{
@@ -95,6 +99,7 @@ internal AadPropertiesOperations(RecoveryServicesBackupClient client)
{
_invocationId = ServiceClientTracing.NextInvocationId.ToString();
Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("odataQuery", odataQuery);
tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("azureRegion", azureRegion);
tracingParameters.Add("cancellationToken", cancellationToken);
@@ -106,6 +111,14 @@ internal AadPropertiesOperations(RecoveryServicesBackupClient client)
_url = _url.Replace("{azureRegion}", System.Uri.EscapeDataString(azureRegion));
_url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
List _queryParameters = new List();
+ if (odataQuery != null)
+ {
+ var _odataFilter = odataQuery.ToString();
+ if (!string.IsNullOrEmpty(_odataFilter))
+ {
+ _queryParameters.Add(_odataFilter);
+ }
+ }
if (apiVersion != null)
{
_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/AadPropertiesOperationsExtensions.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/AadPropertiesOperationsExtensions.cs
index c7f381cb17b1..29a4693a1035 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/AadPropertiesOperationsExtensions.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/AadPropertiesOperationsExtensions.cs
@@ -12,6 +12,7 @@ namespace Microsoft.Azure.Management.RecoveryServices.Backup
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
+ using Microsoft.Rest.Azure.OData;
using Models;
using System.Threading;
using System.Threading.Tasks;
@@ -30,9 +31,12 @@ public static partial class AadPropertiesOperationsExtensions
///
/// Azure region to hit Api
///
- public static AADPropertiesResource Get(this IAadPropertiesOperations operations, string azureRegion)
+ ///
+ /// OData parameters to apply to the operation.
+ ///
+ public static AADPropertiesResource Get(this IAadPropertiesOperations operations, string azureRegion, ODataQuery odataQuery = default(ODataQuery))
{
- return operations.GetAsync(azureRegion).GetAwaiter().GetResult();
+ return operations.GetAsync(azureRegion, odataQuery).GetAwaiter().GetResult();
}
///
@@ -44,12 +48,15 @@ public static AADPropertiesResource Get(this IAadPropertiesOperations operations
///
/// Azure region to hit Api
///
+ ///
+ /// OData parameters to apply to the operation.
+ ///
///
/// The cancellation token.
///
- public static async Task GetAsync(this IAadPropertiesOperations operations, string azureRegion, CancellationToken cancellationToken = default(CancellationToken))
+ public static async Task GetAsync(this IAadPropertiesOperations operations, string azureRegion, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken))
{
- using (var _result = await operations.GetWithHttpMessagesAsync(azureRegion, null, cancellationToken).ConfigureAwait(false))
+ using (var _result = await operations.GetWithHttpMessagesAsync(azureRegion, odataQuery, null, cancellationToken).ConfigureAwait(false))
{
return _result.Body;
}
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BMSPrepareDataMoveOperationResultOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BMSPrepareDataMoveOperationResultOperations.cs
index 8e6dcec3adf9..81190a2d8d4f 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BMSPrepareDataMoveOperationResultOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BMSPrepareDataMoveOperationResultOperations.cs
@@ -101,7 +101,7 @@ internal BMSPrepareDataMoveOperationResultOperations(RecoveryServicesBackupClien
{
throw new ValidationException(ValidationRules.CannotBeNull, "operationId");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupEnginesOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupEnginesOperations.cs
index aa0d41ab7362..04026b2826e0 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupEnginesOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupEnginesOperations.cs
@@ -103,7 +103,7 @@ internal BackupEnginesOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -325,7 +325,7 @@ internal BackupEnginesOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "backupEngineName");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupJobsOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupJobsOperations.cs
index 325e0c2c479e..49a3e30789a6 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupJobsOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupJobsOperations.cs
@@ -102,7 +102,7 @@ internal BackupJobsOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupOperationResultsOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupOperationResultsOperations.cs
index 3e0cf9d3e411..e635a3ae65c6 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupOperationResultsOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupOperationResultsOperations.cs
@@ -105,7 +105,7 @@ internal BackupOperationResultsOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "operationId");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupOperationStatusesOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupOperationStatusesOperations.cs
index fcabc33934ac..d612fbc95b24 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupOperationStatusesOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupOperationStatusesOperations.cs
@@ -107,7 +107,7 @@ internal BackupOperationStatusesOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "operationId");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupPoliciesOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupPoliciesOperations.cs
index d521831b3833..c3aca9487649 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupPoliciesOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupPoliciesOperations.cs
@@ -101,7 +101,7 @@ internal BackupPoliciesOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupProtectableItemsOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupProtectableItemsOperations.cs
index ba1fc04a613a..16262a187f61 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupProtectableItemsOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupProtectableItemsOperations.cs
@@ -104,7 +104,7 @@ internal BackupProtectableItemsOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupProtectedItemsOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupProtectedItemsOperations.cs
index 2ff4756898ad..2e1eaa5edbb6 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupProtectedItemsOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupProtectedItemsOperations.cs
@@ -102,7 +102,7 @@ internal BackupProtectedItemsOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupProtectionContainersOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupProtectionContainersOperations.cs
index ef3aaefea831..e6bec3f2a3a4 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupProtectionContainersOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupProtectionContainersOperations.cs
@@ -99,7 +99,7 @@ internal BackupProtectionContainersOperations(RecoveryServicesBackupClient clien
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupProtectionIntentOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupProtectionIntentOperations.cs
index 9984c253d874..1fc5a55f1371 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupProtectionIntentOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupProtectionIntentOperations.cs
@@ -102,7 +102,7 @@ internal BackupProtectionIntentOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2017-07-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupResourceEncryptionConfigsOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupResourceEncryptionConfigsOperations.cs
index 1510b5277661..aa2b2d460c79 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupResourceEncryptionConfigsOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupResourceEncryptionConfigsOperations.cs
@@ -95,7 +95,7 @@ internal BackupResourceEncryptionConfigsOperations(RecoveryServicesBackupClient
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -289,7 +289,7 @@ internal BackupResourceEncryptionConfigsOperations(RecoveryServicesBackupClient
{
throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupResourceVaultConfigsOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupResourceVaultConfigsOperations.cs
index 6fa1a2f690fa..567d836165eb 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupResourceVaultConfigsOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupResourceVaultConfigsOperations.cs
@@ -95,7 +95,7 @@ internal BackupResourceVaultConfigsOperations(RecoveryServicesBackupClient clien
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -292,7 +292,7 @@ internal BackupResourceVaultConfigsOperations(RecoveryServicesBackupClient clien
{
throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -496,7 +496,7 @@ internal BackupResourceVaultConfigsOperations(RecoveryServicesBackupClient clien
{
throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupStatusOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupStatusOperations.cs
index e25d662f9422..14da7d8daa1d 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupStatusOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupStatusOperations.cs
@@ -94,7 +94,7 @@ internal BackupStatusOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
}
- string apiVersion = "2017-07-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupUsageSummariesOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupUsageSummariesOperations.cs
index f63aca0080e3..11531eb4f494 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupUsageSummariesOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupUsageSummariesOperations.cs
@@ -102,7 +102,7 @@ internal BackupUsageSummariesOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2017-07-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupWorkloadItemsOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupWorkloadItemsOperations.cs
index 690368c31da2..71d6bcdac0ab 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupWorkloadItemsOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupWorkloadItemsOperations.cs
@@ -118,7 +118,7 @@ internal BackupWorkloadItemsOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "containerName");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupsOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupsOperations.cs
index e2266da0a8c3..38de0293e606 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupsOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/BackupsOperations.cs
@@ -122,7 +122,7 @@ internal BackupsOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ExportJobsOperationResultsOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ExportJobsOperationResultsOperations.cs
index 44fc630bfe99..addf7593646f 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ExportJobsOperationResultsOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ExportJobsOperationResultsOperations.cs
@@ -105,7 +105,7 @@ internal ExportJobsOperationResultsOperations(RecoveryServicesBackupClient clien
{
throw new ValidationException(ValidationRules.CannotBeNull, "operationId");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/FeatureSupportOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/FeatureSupportOperations.cs
index 8cb9093f481d..ef77b0889bb4 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/FeatureSupportOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/FeatureSupportOperations.cs
@@ -95,7 +95,7 @@ internal FeatureSupportOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
}
- string apiVersion = "2017-07-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/IAadPropertiesOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/IAadPropertiesOperations.cs
index 72e09b07f0d0..d3edd8c01ec0 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/IAadPropertiesOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/IAadPropertiesOperations.cs
@@ -12,6 +12,7 @@ namespace Microsoft.Azure.Management.RecoveryServices.Backup
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
+ using Microsoft.Rest.Azure.OData;
using Models;
using System.Collections;
using System.Collections.Generic;
@@ -29,6 +30,9 @@ public partial interface IAadPropertiesOperations
///
/// Azure region to hit Api
///
+ ///
+ /// OData parameters to apply to the operation.
+ ///
///
/// The headers that will be added to request.
///
@@ -44,6 +48,6 @@ public partial interface IAadPropertiesOperations
///
/// Thrown when a required parameter is null
///
- Task> GetWithHttpMessagesAsync(string azureRegion, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> GetWithHttpMessagesAsync(string azureRegion, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
}
}
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/IRecoveryServicesBackupClient.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/IRecoveryServicesBackupClient.cs
index 3bd92ffc82b0..d8d0e0e940a3 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/IRecoveryServicesBackupClient.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/IRecoveryServicesBackupClient.cs
@@ -68,6 +68,36 @@ public partial interface IRecoveryServicesBackupClient : System.IDisposable
bool? GenerateClientRequestId { get; set; }
+ ///
+ /// Gets the IProtectionIntentOperations.
+ ///
+ IProtectionIntentOperations ProtectionIntent { get; }
+
+ ///
+ /// Gets the IBackupStatusOperations.
+ ///
+ IBackupStatusOperations BackupStatus { get; }
+
+ ///
+ /// Gets the IFeatureSupportOperations.
+ ///
+ IFeatureSupportOperations FeatureSupport { get; }
+
+ ///
+ /// Gets the IBackupProtectionIntentOperations.
+ ///
+ IBackupProtectionIntentOperations BackupProtectionIntent { get; }
+
+ ///
+ /// Gets the IBackupUsageSummariesOperations.
+ ///
+ IBackupUsageSummariesOperations BackupUsageSummaries { get; }
+
+ ///
+ /// Gets the IOperations.
+ ///
+ IOperations Operations { get; }
+
///
/// Gets the IBackupResourceVaultConfigsOperations.
///
@@ -293,36 +323,6 @@ public partial interface IRecoveryServicesBackupClient : System.IDisposable
///
IBackupProtectedItemsCrrOperations BackupProtectedItemsCrr { get; }
- ///
- /// Gets the IProtectionIntentOperations.
- ///
- IProtectionIntentOperations ProtectionIntent { get; }
-
- ///
- /// Gets the IBackupStatusOperations.
- ///
- IBackupStatusOperations BackupStatus { get; }
-
- ///
- /// Gets the IFeatureSupportOperations.
- ///
- IFeatureSupportOperations FeatureSupport { get; }
-
- ///
- /// Gets the IBackupProtectionIntentOperations.
- ///
- IBackupProtectionIntentOperations BackupProtectionIntent { get; }
-
- ///
- /// Gets the IBackupUsageSummariesOperations.
- ///
- IBackupUsageSummariesOperations BackupUsageSummaries { get; }
-
- ///
- /// Gets the IOperations.
- ///
- IOperations Operations { get; }
-
///
/// Fetches operation status for data move operation on vault
///
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ItemLevelRecoveryConnectionsOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ItemLevelRecoveryConnectionsOperations.cs
index 6d1a3b04cc8f..86254fc463ae 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ItemLevelRecoveryConnectionsOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ItemLevelRecoveryConnectionsOperations.cs
@@ -133,7 +133,7 @@ internal ItemLevelRecoveryConnectionsOperations(RecoveryServicesBackupClient cli
{
throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -355,7 +355,7 @@ internal ItemLevelRecoveryConnectionsOperations(RecoveryServicesBackupClient cli
{
throw new ValidationException(ValidationRules.CannotBeNull, "recoveryPointId");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/JobCancellationsOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/JobCancellationsOperations.cs
index 18f0c68f093f..bf9916766374 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/JobCancellationsOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/JobCancellationsOperations.cs
@@ -101,7 +101,7 @@ internal JobCancellationsOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "jobName");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/JobDetailsOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/JobDetailsOperations.cs
index 67eed4eea170..23c37c970a49 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/JobDetailsOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/JobDetailsOperations.cs
@@ -102,7 +102,7 @@ internal JobDetailsOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "jobName");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/JobOperationResultsOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/JobOperationResultsOperations.cs
index fc060e77380c..0e1c798ed672 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/JobOperationResultsOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/JobOperationResultsOperations.cs
@@ -106,7 +106,7 @@ internal JobOperationResultsOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "operationId");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/JobsOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/JobsOperations.cs
index 3f3dce695832..ac0d65383de3 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/JobsOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/JobsOperations.cs
@@ -97,7 +97,7 @@ internal JobsOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadPointInTimeRestoreRequest.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadPointInTimeRestoreRequest.cs
index 52b6dc24599b..18fb153b3c84 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadPointInTimeRestoreRequest.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadPointInTimeRestoreRequest.cs
@@ -44,9 +44,13 @@ public AzureWorkloadPointInTimeRestoreRequest()
/// Defines whether the current recovery
/// mode is file restore or database restore. Possible values include:
/// 'Invalid', 'FileRecovery', 'WorkloadRecovery'
+ /// This is the complete ARM Id of
+ /// the target VM
+ /// For e.g.
+ /// /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
/// PointInTime value
- public AzureWorkloadPointInTimeRestoreRequest(string recoveryType = default(string), string sourceResourceId = default(string), IDictionary propertyBag = default(IDictionary), TargetRestoreInfo targetInfo = default(TargetRestoreInfo), string recoveryMode = default(string), System.DateTime? pointInTime = default(System.DateTime?))
- : base(recoveryType, sourceResourceId, propertyBag, targetInfo, recoveryMode)
+ public AzureWorkloadPointInTimeRestoreRequest(string recoveryType = default(string), string sourceResourceId = default(string), IDictionary propertyBag = default(IDictionary), TargetRestoreInfo targetInfo = default(TargetRestoreInfo), string recoveryMode = default(string), string targetVirtualMachineId = default(string), System.DateTime? pointInTime = default(System.DateTime?))
+ : base(recoveryType, sourceResourceId, propertyBag, targetInfo, recoveryMode, targetVirtualMachineId)
{
PointInTime = pointInTime;
CustomInit();
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadRestoreRequest.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadRestoreRequest.cs
index 7b0a4b3d120b..ee14ca1580ee 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadRestoreRequest.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadRestoreRequest.cs
@@ -43,13 +43,18 @@ public AzureWorkloadRestoreRequest()
/// Defines whether the current recovery
/// mode is file restore or database restore. Possible values include:
/// 'Invalid', 'FileRecovery', 'WorkloadRecovery'
- public AzureWorkloadRestoreRequest(string recoveryType = default(string), string sourceResourceId = default(string), IDictionary propertyBag = default(IDictionary), TargetRestoreInfo targetInfo = default(TargetRestoreInfo), string recoveryMode = default(string))
+ /// This is the complete ARM Id of
+ /// the target VM
+ /// For e.g.
+ /// /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
+ public AzureWorkloadRestoreRequest(string recoveryType = default(string), string sourceResourceId = default(string), IDictionary propertyBag = default(IDictionary), TargetRestoreInfo targetInfo = default(TargetRestoreInfo), string recoveryMode = default(string), string targetVirtualMachineId = default(string))
{
RecoveryType = recoveryType;
SourceResourceId = sourceResourceId;
PropertyBag = propertyBag;
TargetInfo = targetInfo;
RecoveryMode = recoveryMode;
+ TargetVirtualMachineId = targetVirtualMachineId;
CustomInit();
}
@@ -93,5 +98,13 @@ public AzureWorkloadRestoreRequest()
[JsonProperty(PropertyName = "recoveryMode")]
public string RecoveryMode { get; set; }
+ ///
+ /// Gets or sets this is the complete ARM Id of the target VM
+ /// For e.g.
+ /// /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
+ ///
+ [JsonProperty(PropertyName = "targetVirtualMachineId")]
+ public string TargetVirtualMachineId { get; set; }
+
}
}
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSAPHanaPointInTimeRestoreRequest.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSAPHanaPointInTimeRestoreRequest.cs
index e48e13beb8c0..965ff511c0bd 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSAPHanaPointInTimeRestoreRequest.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSAPHanaPointInTimeRestoreRequest.cs
@@ -44,9 +44,13 @@ public AzureWorkloadSAPHanaPointInTimeRestoreRequest()
/// Defines whether the current recovery
/// mode is file restore or database restore. Possible values include:
/// 'Invalid', 'FileRecovery', 'WorkloadRecovery'
+ /// This is the complete ARM Id of
+ /// the target VM
+ /// For e.g.
+ /// /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
/// PointInTime value
- public AzureWorkloadSAPHanaPointInTimeRestoreRequest(string recoveryType = default(string), string sourceResourceId = default(string), IDictionary propertyBag = default(IDictionary), TargetRestoreInfo targetInfo = default(TargetRestoreInfo), string recoveryMode = default(string), System.DateTime? pointInTime = default(System.DateTime?))
- : base(recoveryType, sourceResourceId, propertyBag, targetInfo, recoveryMode)
+ public AzureWorkloadSAPHanaPointInTimeRestoreRequest(string recoveryType = default(string), string sourceResourceId = default(string), IDictionary propertyBag = default(IDictionary), TargetRestoreInfo targetInfo = default(TargetRestoreInfo), string recoveryMode = default(string), string targetVirtualMachineId = default(string), System.DateTime? pointInTime = default(System.DateTime?))
+ : base(recoveryType, sourceResourceId, propertyBag, targetInfo, recoveryMode, targetVirtualMachineId)
{
PointInTime = pointInTime;
CustomInit();
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest.cs
index a7ee5cdfa05a..bbdc0ab7536b 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest.cs
@@ -44,11 +44,15 @@ public AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest()
/// Defines whether the current recovery
/// mode is file restore or database restore. Possible values include:
/// 'Invalid', 'FileRecovery', 'WorkloadRecovery'
+ /// This is the complete ARM Id of
+ /// the target VM
+ /// For e.g.
+ /// /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
/// PointInTime value
/// RP Rehydration
/// Info
- public AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest(string recoveryType = default(string), string sourceResourceId = default(string), IDictionary propertyBag = default(IDictionary), TargetRestoreInfo targetInfo = default(TargetRestoreInfo), string recoveryMode = default(string), System.DateTime? pointInTime = default(System.DateTime?), RecoveryPointRehydrationInfo recoveryPointRehydrationInfo = default(RecoveryPointRehydrationInfo))
- : base(recoveryType, sourceResourceId, propertyBag, targetInfo, recoveryMode, pointInTime)
+ public AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest(string recoveryType = default(string), string sourceResourceId = default(string), IDictionary propertyBag = default(IDictionary), TargetRestoreInfo targetInfo = default(TargetRestoreInfo), string recoveryMode = default(string), string targetVirtualMachineId = default(string), System.DateTime? pointInTime = default(System.DateTime?), RecoveryPointRehydrationInfo recoveryPointRehydrationInfo = default(RecoveryPointRehydrationInfo))
+ : base(recoveryType, sourceResourceId, propertyBag, targetInfo, recoveryMode, targetVirtualMachineId, pointInTime)
{
RecoveryPointRehydrationInfo = recoveryPointRehydrationInfo;
CustomInit();
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSAPHanaRestoreRequest.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSAPHanaRestoreRequest.cs
index 36d2944c0bef..9c9eb53ba5a0 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSAPHanaRestoreRequest.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSAPHanaRestoreRequest.cs
@@ -42,8 +42,12 @@ public AzureWorkloadSAPHanaRestoreRequest()
/// Defines whether the current recovery
/// mode is file restore or database restore. Possible values include:
/// 'Invalid', 'FileRecovery', 'WorkloadRecovery'
- public AzureWorkloadSAPHanaRestoreRequest(string recoveryType = default(string), string sourceResourceId = default(string), IDictionary propertyBag = default(IDictionary), TargetRestoreInfo targetInfo = default(TargetRestoreInfo), string recoveryMode = default(string))
- : base(recoveryType, sourceResourceId, propertyBag, targetInfo, recoveryMode)
+ /// This is the complete ARM Id of
+ /// the target VM
+ /// For e.g.
+ /// /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
+ public AzureWorkloadSAPHanaRestoreRequest(string recoveryType = default(string), string sourceResourceId = default(string), IDictionary propertyBag = default(IDictionary), TargetRestoreInfo targetInfo = default(TargetRestoreInfo), string recoveryMode = default(string), string targetVirtualMachineId = default(string))
+ : base(recoveryType, sourceResourceId, propertyBag, targetInfo, recoveryMode, targetVirtualMachineId)
{
CustomInit();
}
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSAPHanaRestoreWithRehydrateRequest.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSAPHanaRestoreWithRehydrateRequest.cs
index 1d025ff50fb1..a6550871ea0c 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSAPHanaRestoreWithRehydrateRequest.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSAPHanaRestoreWithRehydrateRequest.cs
@@ -44,10 +44,14 @@ public AzureWorkloadSAPHanaRestoreWithRehydrateRequest()
/// Defines whether the current recovery
/// mode is file restore or database restore. Possible values include:
/// 'Invalid', 'FileRecovery', 'WorkloadRecovery'
+ /// This is the complete ARM Id of
+ /// the target VM
+ /// For e.g.
+ /// /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
/// RP Rehydration
/// Info
- public AzureWorkloadSAPHanaRestoreWithRehydrateRequest(string recoveryType = default(string), string sourceResourceId = default(string), IDictionary propertyBag = default(IDictionary), TargetRestoreInfo targetInfo = default(TargetRestoreInfo), string recoveryMode = default(string), RecoveryPointRehydrationInfo recoveryPointRehydrationInfo = default(RecoveryPointRehydrationInfo))
- : base(recoveryType, sourceResourceId, propertyBag, targetInfo, recoveryMode)
+ public AzureWorkloadSAPHanaRestoreWithRehydrateRequest(string recoveryType = default(string), string sourceResourceId = default(string), IDictionary propertyBag = default(IDictionary), TargetRestoreInfo targetInfo = default(TargetRestoreInfo), string recoveryMode = default(string), string targetVirtualMachineId = default(string), RecoveryPointRehydrationInfo recoveryPointRehydrationInfo = default(RecoveryPointRehydrationInfo))
+ : base(recoveryType, sourceResourceId, propertyBag, targetInfo, recoveryMode, targetVirtualMachineId)
{
RecoveryPointRehydrationInfo = recoveryPointRehydrationInfo;
CustomInit();
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSQLPointInTimeRestoreRequest.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSQLPointInTimeRestoreRequest.cs
index a03627545aab..6820893f24a0 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSQLPointInTimeRestoreRequest.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSQLPointInTimeRestoreRequest.cs
@@ -44,6 +44,10 @@ public AzureWorkloadSQLPointInTimeRestoreRequest()
/// Defines whether the current recovery
/// mode is file restore or database restore. Possible values include:
/// 'Invalid', 'FileRecovery', 'WorkloadRecovery'
+ /// This is the complete ARM Id of
+ /// the target VM
+ /// For e.g.
+ /// /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
/// Default option set
/// to true. If this is set to false, alternate data directory must be
/// provided
@@ -52,8 +56,8 @@ public AzureWorkloadSQLPointInTimeRestoreRequest()
/// Data directory
/// details
/// PointInTime value
- public AzureWorkloadSQLPointInTimeRestoreRequest(string recoveryType = default(string), string sourceResourceId = default(string), IDictionary propertyBag = default(IDictionary), TargetRestoreInfo targetInfo = default(TargetRestoreInfo), string recoveryMode = default(string), bool? shouldUseAlternateTargetLocation = default(bool?), bool? isNonRecoverable = default(bool?), IList alternateDirectoryPaths = default(IList), System.DateTime? pointInTime = default(System.DateTime?))
- : base(recoveryType, sourceResourceId, propertyBag, targetInfo, recoveryMode, shouldUseAlternateTargetLocation, isNonRecoverable, alternateDirectoryPaths)
+ public AzureWorkloadSQLPointInTimeRestoreRequest(string recoveryType = default(string), string sourceResourceId = default(string), IDictionary propertyBag = default(IDictionary), TargetRestoreInfo targetInfo = default(TargetRestoreInfo), string recoveryMode = default(string), string targetVirtualMachineId = default(string), bool? shouldUseAlternateTargetLocation = default(bool?), bool? isNonRecoverable = default(bool?), IList alternateDirectoryPaths = default(IList), System.DateTime? pointInTime = default(System.DateTime?))
+ : base(recoveryType, sourceResourceId, propertyBag, targetInfo, recoveryMode, targetVirtualMachineId, shouldUseAlternateTargetLocation, isNonRecoverable, alternateDirectoryPaths)
{
PointInTime = pointInTime;
CustomInit();
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest.cs
index 9b1a5cc844c7..99090a935043 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest.cs
@@ -44,6 +44,10 @@ public AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest()
/// Defines whether the current recovery
/// mode is file restore or database restore. Possible values include:
/// 'Invalid', 'FileRecovery', 'WorkloadRecovery'
+ /// This is the complete ARM Id of
+ /// the target VM
+ /// For e.g.
+ /// /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
/// Default option set
/// to true. If this is set to false, alternate data directory must be
/// provided
@@ -54,8 +58,8 @@ public AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest()
/// PointInTime value
/// RP Rehydration
/// Info
- public AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest(string recoveryType = default(string), string sourceResourceId = default(string), IDictionary propertyBag = default(IDictionary), TargetRestoreInfo targetInfo = default(TargetRestoreInfo), string recoveryMode = default(string), bool? shouldUseAlternateTargetLocation = default(bool?), bool? isNonRecoverable = default(bool?), IList alternateDirectoryPaths = default(IList), System.DateTime? pointInTime = default(System.DateTime?), RecoveryPointRehydrationInfo recoveryPointRehydrationInfo = default(RecoveryPointRehydrationInfo))
- : base(recoveryType, sourceResourceId, propertyBag, targetInfo, recoveryMode, shouldUseAlternateTargetLocation, isNonRecoverable, alternateDirectoryPaths, pointInTime)
+ public AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest(string recoveryType = default(string), string sourceResourceId = default(string), IDictionary propertyBag = default(IDictionary), TargetRestoreInfo targetInfo = default(TargetRestoreInfo), string recoveryMode = default(string), string targetVirtualMachineId = default(string), bool? shouldUseAlternateTargetLocation = default(bool?), bool? isNonRecoverable = default(bool?), IList alternateDirectoryPaths = default(IList), System.DateTime? pointInTime = default(System.DateTime?), RecoveryPointRehydrationInfo recoveryPointRehydrationInfo = default(RecoveryPointRehydrationInfo))
+ : base(recoveryType, sourceResourceId, propertyBag, targetInfo, recoveryMode, targetVirtualMachineId, shouldUseAlternateTargetLocation, isNonRecoverable, alternateDirectoryPaths, pointInTime)
{
RecoveryPointRehydrationInfo = recoveryPointRehydrationInfo;
CustomInit();
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSQLRestoreRequest.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSQLRestoreRequest.cs
index 3ed8fb67a017..fb153fbcda13 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSQLRestoreRequest.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSQLRestoreRequest.cs
@@ -43,6 +43,10 @@ public AzureWorkloadSQLRestoreRequest()
/// Defines whether the current recovery
/// mode is file restore or database restore. Possible values include:
/// 'Invalid', 'FileRecovery', 'WorkloadRecovery'
+ /// This is the complete ARM Id of
+ /// the target VM
+ /// For e.g.
+ /// /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
/// Default option set
/// to true. If this is set to false, alternate data directory must be
/// provided
@@ -50,8 +54,8 @@ public AzureWorkloadSQLRestoreRequest()
/// chose to set no-recovery when restore operation is tried
/// Data directory
/// details
- public AzureWorkloadSQLRestoreRequest(string recoveryType = default(string), string sourceResourceId = default(string), IDictionary propertyBag = default(IDictionary), TargetRestoreInfo targetInfo = default(TargetRestoreInfo), string recoveryMode = default(string), bool? shouldUseAlternateTargetLocation = default(bool?), bool? isNonRecoverable = default(bool?), IList alternateDirectoryPaths = default(IList))
- : base(recoveryType, sourceResourceId, propertyBag, targetInfo, recoveryMode)
+ public AzureWorkloadSQLRestoreRequest(string recoveryType = default(string), string sourceResourceId = default(string), IDictionary propertyBag = default(IDictionary), TargetRestoreInfo targetInfo = default(TargetRestoreInfo), string recoveryMode = default(string), string targetVirtualMachineId = default(string), bool? shouldUseAlternateTargetLocation = default(bool?), bool? isNonRecoverable = default(bool?), IList alternateDirectoryPaths = default(IList))
+ : base(recoveryType, sourceResourceId, propertyBag, targetInfo, recoveryMode, targetVirtualMachineId)
{
ShouldUseAlternateTargetLocation = shouldUseAlternateTargetLocation;
IsNonRecoverable = isNonRecoverable;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSQLRestoreWithRehydrateRequest.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSQLRestoreWithRehydrateRequest.cs
index fb64162f18e2..89d0b14d0aab 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSQLRestoreWithRehydrateRequest.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/AzureWorkloadSQLRestoreWithRehydrateRequest.cs
@@ -44,6 +44,10 @@ public AzureWorkloadSQLRestoreWithRehydrateRequest()
/// Defines whether the current recovery
/// mode is file restore or database restore. Possible values include:
/// 'Invalid', 'FileRecovery', 'WorkloadRecovery'
+ /// This is the complete ARM Id of
+ /// the target VM
+ /// For e.g.
+ /// /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
/// Default option set
/// to true. If this is set to false, alternate data directory must be
/// provided
@@ -53,8 +57,8 @@ public AzureWorkloadSQLRestoreWithRehydrateRequest()
/// details
/// RP Rehydration
/// Info
- public AzureWorkloadSQLRestoreWithRehydrateRequest(string recoveryType = default(string), string sourceResourceId = default(string), IDictionary propertyBag = default(IDictionary), TargetRestoreInfo targetInfo = default(TargetRestoreInfo), string recoveryMode = default(string), bool? shouldUseAlternateTargetLocation = default(bool?), bool? isNonRecoverable = default(bool?), IList alternateDirectoryPaths = default(IList), RecoveryPointRehydrationInfo recoveryPointRehydrationInfo = default(RecoveryPointRehydrationInfo))
- : base(recoveryType, sourceResourceId, propertyBag, targetInfo, recoveryMode, shouldUseAlternateTargetLocation, isNonRecoverable, alternateDirectoryPaths)
+ public AzureWorkloadSQLRestoreWithRehydrateRequest(string recoveryType = default(string), string sourceResourceId = default(string), IDictionary propertyBag = default(IDictionary), TargetRestoreInfo targetInfo = default(TargetRestoreInfo), string recoveryMode = default(string), string targetVirtualMachineId = default(string), bool? shouldUseAlternateTargetLocation = default(bool?), bool? isNonRecoverable = default(bool?), IList alternateDirectoryPaths = default(IList), RecoveryPointRehydrationInfo recoveryPointRehydrationInfo = default(RecoveryPointRehydrationInfo))
+ : base(recoveryType, sourceResourceId, propertyBag, targetInfo, recoveryMode, targetVirtualMachineId, shouldUseAlternateTargetLocation, isNonRecoverable, alternateDirectoryPaths)
{
RecoveryPointRehydrationInfo = recoveryPointRehydrationInfo;
CustomInit();
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/BMSAADPropertiesQueryObject.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/BMSAADPropertiesQueryObject.cs
new file mode 100644
index 000000000000..268ef8831a97
--- /dev/null
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Models/BMSAADPropertiesQueryObject.cs
@@ -0,0 +1,59 @@
+//
+// 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.Backup.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Filters to list backup items.
+ ///
+ public partial class BMSAADPropertiesQueryObject
+ {
+ ///
+ /// Initializes a new instance of the BMSAADPropertiesQueryObject
+ /// class.
+ ///
+ public BMSAADPropertiesQueryObject()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the BMSAADPropertiesQueryObject
+ /// class.
+ ///
+ /// Backup management type for the
+ /// backed up item. Possible values include: 'Invalid', 'AzureIaasVM',
+ /// 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage',
+ /// 'AzureWorkload', 'DefaultBackup'
+ public BMSAADPropertiesQueryObject(string backupManagementType = default(string))
+ {
+ BackupManagementType = backupManagementType;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets backup management type for the backed up item.
+ /// Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM',
+ /// 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload',
+ /// 'DefaultBackup'
+ ///
+ [JsonProperty(PropertyName = "backupManagementType")]
+ public string BackupManagementType { get; set; }
+
+ }
+}
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/OperationOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/OperationOperations.cs
index e48e46d8020a..ef3a815304c8 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/OperationOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/OperationOperations.cs
@@ -103,7 +103,7 @@ internal OperationOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Operations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Operations.cs
index 19c3574b3b70..c624d2211e8c 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Operations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/Operations.cs
@@ -70,7 +70,7 @@ internal Operations(RecoveryServicesBackupClient client)
///
public async Task>> ListWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
- string apiVersion = "2016-08-10";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/PrivateEndpointConnectionOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/PrivateEndpointConnectionOperations.cs
index 67f5f42b8240..5f78fafc011d 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/PrivateEndpointConnectionOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/PrivateEndpointConnectionOperations.cs
@@ -102,7 +102,7 @@ internal PrivateEndpointConnectionOperations(RecoveryServicesBackupClient client
{
throw new ValidationException(ValidationRules.CannotBeNull, "privateEndpointConnectionName");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -365,7 +365,7 @@ internal PrivateEndpointConnectionOperations(RecoveryServicesBackupClient client
{
throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -591,7 +591,7 @@ internal PrivateEndpointConnectionOperations(RecoveryServicesBackupClient client
{
throw new ValidationException(ValidationRules.CannotBeNull, "privateEndpointConnectionName");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/PrivateEndpointOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/PrivateEndpointOperations.cs
index 7448879eab5c..1334551531d1 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/PrivateEndpointOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/PrivateEndpointOperations.cs
@@ -109,7 +109,7 @@ internal PrivateEndpointOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "operationId");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectableContainersOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectableContainersOperations.cs
index f5489ccda286..b94819a84dfc 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectableContainersOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectableContainersOperations.cs
@@ -105,7 +105,7 @@ internal ProtectableContainersOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "fabricName");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectedItemOperationResultsOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectedItemOperationResultsOperations.cs
index 065e73108383..9238032cee36 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectedItemOperationResultsOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectedItemOperationResultsOperations.cs
@@ -124,7 +124,7 @@ internal ProtectedItemOperationResultsOperations(RecoveryServicesBackupClient cl
{
throw new ValidationException(ValidationRules.CannotBeNull, "operationId");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectedItemOperationStatusesOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectedItemOperationStatusesOperations.cs
index bb13aaaec7da..890054428e66 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectedItemOperationStatusesOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectedItemOperationStatusesOperations.cs
@@ -128,7 +128,7 @@ internal ProtectedItemOperationStatusesOperations(RecoveryServicesBackupClient c
{
throw new ValidationException(ValidationRules.CannotBeNull, "operationId");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectedItemsOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectedItemsOperations.cs
index 0174d8bfab6f..3e4408928af8 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectedItemsOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectedItemsOperations.cs
@@ -122,7 +122,7 @@ internal ProtectedItemsOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "protectedItemName");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -363,7 +363,7 @@ internal ProtectedItemsOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -591,7 +591,7 @@ internal ProtectedItemsOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "protectedItemName");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionContainerOperationResultsOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionContainerOperationResultsOperations.cs
index 0344bf105adf..ca83ad0a436a 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionContainerOperationResultsOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionContainerOperationResultsOperations.cs
@@ -117,7 +117,7 @@ internal ProtectionContainerOperationResultsOperations(RecoveryServicesBackupCli
{
throw new ValidationException(ValidationRules.CannotBeNull, "operationId");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionContainerRefreshOperationResultsOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionContainerRefreshOperationResultsOperations.cs
index cb21f08f6cdf..96df8ede760c 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionContainerRefreshOperationResultsOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionContainerRefreshOperationResultsOperations.cs
@@ -108,7 +108,7 @@ internal ProtectionContainerRefreshOperationResultsOperations(RecoveryServicesBa
{
throw new ValidationException(ValidationRules.CannotBeNull, "operationId");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionContainersOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionContainersOperations.cs
index 5549178e56ee..f4fe1709d415 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionContainersOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionContainersOperations.cs
@@ -111,7 +111,7 @@ internal ProtectionContainersOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "containerName");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -334,7 +334,7 @@ internal ProtectionContainersOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -555,7 +555,7 @@ internal ProtectionContainersOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "containerName");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -754,7 +754,7 @@ internal ProtectionContainersOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "containerName");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -954,7 +954,7 @@ internal ProtectionContainersOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "fabricName");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionIntentOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionIntentOperations.cs
index 8baa11915a1e..25d2acf10968 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionIntentOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionIntentOperations.cs
@@ -97,7 +97,7 @@ internal ProtectionIntentOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
}
- string apiVersion = "2017-07-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -313,7 +313,7 @@ internal ProtectionIntentOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "intentObjectName");
}
- string apiVersion = "2017-07-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -534,7 +534,7 @@ internal ProtectionIntentOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
}
- string apiVersion = "2017-07-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -751,7 +751,7 @@ internal ProtectionIntentOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "intentObjectName");
}
- string apiVersion = "2017-07-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionPoliciesOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionPoliciesOperations.cs
index 6d6281cc59de..9d856b5da401 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionPoliciesOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionPoliciesOperations.cs
@@ -105,7 +105,7 @@ internal ProtectionPoliciesOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "policyName");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -318,7 +318,7 @@ internal ProtectionPoliciesOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -556,7 +556,7 @@ internal ProtectionPoliciesOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "policyName");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionPolicyOperationResultsOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionPolicyOperationResultsOperations.cs
index 3614268c3f68..ec5354886c79 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionPolicyOperationResultsOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionPolicyOperationResultsOperations.cs
@@ -110,7 +110,7 @@ internal ProtectionPolicyOperationResultsOperations(RecoveryServicesBackupClient
{
throw new ValidationException(ValidationRules.CannotBeNull, "operationId");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionPolicyOperationStatusesOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionPolicyOperationStatusesOperations.cs
index c114caef31f2..22e938846715 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionPolicyOperationStatusesOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectionPolicyOperationStatusesOperations.cs
@@ -115,7 +115,7 @@ internal ProtectionPolicyOperationStatusesOperations(RecoveryServicesBackupClien
{
throw new ValidationException(ValidationRules.CannotBeNull, "operationId");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/RecoveryPointsOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/RecoveryPointsOperations.cs
index 18f6e75b70b1..adc036b5b5b0 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/RecoveryPointsOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/RecoveryPointsOperations.cs
@@ -120,7 +120,7 @@ internal RecoveryPointsOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "protectedItemName");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -361,7 +361,7 @@ internal RecoveryPointsOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "recoveryPointId");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/RecoveryPointsRecommendedForMoveOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/RecoveryPointsRecommendedForMoveOperations.cs
index d319ba607dae..6d4ad5cdd421 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/RecoveryPointsRecommendedForMoveOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/RecoveryPointsRecommendedForMoveOperations.cs
@@ -120,7 +120,7 @@ internal RecoveryPointsRecommendedForMoveOperations(RecoveryServicesBackupClient
{
throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/RecoveryServicesBackupClient.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/RecoveryServicesBackupClient.cs
index e0afd4d33811..515bf429c7cc 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/RecoveryServicesBackupClient.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/RecoveryServicesBackupClient.cs
@@ -71,6 +71,36 @@ public partial class RecoveryServicesBackupClient : ServiceClient
public bool? GenerateClientRequestId { get; set; }
+ ///
+ /// Gets the IProtectionIntentOperations.
+ ///
+ public virtual IProtectionIntentOperations ProtectionIntent { get; private set; }
+
+ ///
+ /// Gets the IBackupStatusOperations.
+ ///
+ public virtual IBackupStatusOperations BackupStatus { get; private set; }
+
+ ///
+ /// Gets the IFeatureSupportOperations.
+ ///
+ public virtual IFeatureSupportOperations FeatureSupport { get; private set; }
+
+ ///
+ /// Gets the IBackupProtectionIntentOperations.
+ ///
+ public virtual IBackupProtectionIntentOperations BackupProtectionIntent { get; private set; }
+
+ ///
+ /// Gets the IBackupUsageSummariesOperations.
+ ///
+ public virtual IBackupUsageSummariesOperations BackupUsageSummaries { get; private set; }
+
+ ///
+ /// Gets the IOperations.
+ ///
+ public virtual IOperations Operations { get; private set; }
+
///
/// Gets the IBackupResourceVaultConfigsOperations.
///
@@ -296,36 +326,6 @@ public partial class RecoveryServicesBackupClient : ServiceClient
public virtual IBackupProtectedItemsCrrOperations BackupProtectedItemsCrr { get; private set; }
- ///
- /// Gets the IProtectionIntentOperations.
- ///
- public virtual IProtectionIntentOperations ProtectionIntent { get; private set; }
-
- ///
- /// Gets the IBackupStatusOperations.
- ///
- public virtual IBackupStatusOperations BackupStatus { get; private set; }
-
- ///
- /// Gets the IFeatureSupportOperations.
- ///
- public virtual IFeatureSupportOperations FeatureSupport { get; private set; }
-
- ///
- /// Gets the IBackupProtectionIntentOperations.
- ///
- public virtual IBackupProtectionIntentOperations BackupProtectionIntent { get; private set; }
-
- ///
- /// Gets the IBackupUsageSummariesOperations.
- ///
- public virtual IBackupUsageSummariesOperations BackupUsageSummaries { get; private set; }
-
- ///
- /// Gets the IOperations.
- ///
- public virtual IOperations Operations { get; private set; }
-
///
/// Initializes a new instance of the RecoveryServicesBackupClient class.
///
@@ -567,6 +567,12 @@ public RecoveryServicesBackupClient(System.Uri baseUri, ServiceClientCredentials
///
private void Initialize()
{
+ ProtectionIntent = new ProtectionIntentOperations(this);
+ BackupStatus = new BackupStatusOperations(this);
+ FeatureSupport = new FeatureSupportOperations(this);
+ BackupProtectionIntent = new BackupProtectionIntentOperations(this);
+ BackupUsageSummaries = new BackupUsageSummariesOperations(this);
+ Operations = new Operations(this);
BackupResourceVaultConfigs = new BackupResourceVaultConfigsOperations(this);
BackupResourceEncryptionConfigs = new BackupResourceEncryptionConfigsOperations(this);
PrivateEndpointConnection = new PrivateEndpointConnectionOperations(this);
@@ -612,12 +618,6 @@ private void Initialize()
BackupResourceStorageConfigs = new BackupResourceStorageConfigsOperations(this);
RecoveryPointsCrr = new RecoveryPointsCrrOperations(this);
BackupProtectedItemsCrr = new BackupProtectedItemsCrrOperations(this);
- ProtectionIntent = new ProtectionIntentOperations(this);
- BackupStatus = new BackupStatusOperations(this);
- FeatureSupport = new FeatureSupportOperations(this);
- BackupProtectionIntent = new BackupProtectionIntentOperations(this);
- BackupUsageSummaries = new BackupUsageSummariesOperations(this);
- Operations = new Operations(this);
BaseUri = new System.Uri("https://management.azure.com");
AcceptLanguage = "en-US";
LongRunningOperationRetryTimeout = 30;
@@ -667,6 +667,10 @@ private void Initialize()
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("objectType"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("objectType"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("objectType"));
+ SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("featureType"));
+ DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("featureType"));
+ SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("protectionIntentItemType"));
+ DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("protectionIntentItemType"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("backupEngineType"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("backupEngineType"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("objectType"));
@@ -685,10 +689,6 @@ private void Initialize()
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("protectableItemType"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("objectType"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("objectType"));
- SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("featureType"));
- DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("featureType"));
- SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("protectionIntentItemType"));
- DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("protectionIntentItemType"));
CustomInitialize();
DeserializationSettings.Converters.Add(new CloudErrorJsonConverter());
}
@@ -743,7 +743,7 @@ private void Initialize()
{
throw new ValidationException(ValidationRules.CannotBeNull, "operationId");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1029,7 +1029,7 @@ private void Initialize()
{
parameters.Validate();
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1216,7 +1216,7 @@ private void Initialize()
{
parameters.Validate();
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1423,7 +1423,7 @@ private void Initialize()
{
throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/RestoresOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/RestoresOperations.cs
index 78bd545ffd4e..26995e828f2e 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/RestoresOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/RestoresOperations.cs
@@ -169,7 +169,7 @@ internal RestoresOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "parameters");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/SdkInfo_RecoveryServicesBackupClient.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/SdkInfo_RecoveryServicesBackupClient.cs
index 8a80ea1c2a8d..b4a993a6fcbc 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/SdkInfo_RecoveryServicesBackupClient.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/SdkInfo_RecoveryServicesBackupClient.cs
@@ -20,61 +20,61 @@ public static IEnumerable> ApiInfo_RecoveryService
return new Tuple[]
{
new Tuple("RecoveryServices", "AadProperties", "2018-12-20"),
- new Tuple("RecoveryServices", "BMSPrepareDataMove", "2021-01-01"),
- new Tuple("RecoveryServices", "BMSPrepareDataMoveOperationResult", "2021-01-01"),
- new Tuple("RecoveryServices", "BMSTriggerDataMove", "2021-01-01"),
+ new Tuple("RecoveryServices", "BMSPrepareDataMove", "2021-03-01"),
+ new Tuple("RecoveryServices", "BMSPrepareDataMoveOperationResult", "2021-03-01"),
+ new Tuple("RecoveryServices", "BMSTriggerDataMove", "2021-03-01"),
new Tuple("RecoveryServices", "BackupCrrJobDetails", "2018-12-20"),
new Tuple("RecoveryServices", "BackupCrrJobs", "2018-12-20"),
- new Tuple("RecoveryServices", "BackupEngines", "2021-01-01"),
- new Tuple("RecoveryServices", "BackupJobs", "2021-01-01"),
- new Tuple("RecoveryServices", "BackupOperationResults", "2021-01-01"),
- new Tuple("RecoveryServices", "BackupOperationStatuses", "2021-01-01"),
- new Tuple("RecoveryServices", "BackupPolicies", "2021-01-01"),
- new Tuple("RecoveryServices", "BackupProtectableItems", "2021-01-01"),
- new Tuple("RecoveryServices", "BackupProtectedItems", "2021-01-01"),
+ new Tuple("RecoveryServices", "BackupEngines", "2021-03-01"),
+ new Tuple("RecoveryServices", "BackupJobs", "2021-03-01"),
+ new Tuple("RecoveryServices", "BackupOperationResults", "2021-03-01"),
+ new Tuple("RecoveryServices", "BackupOperationStatuses", "2021-03-01"),
+ new Tuple("RecoveryServices", "BackupPolicies", "2021-03-01"),
+ new Tuple("RecoveryServices", "BackupProtectableItems", "2021-03-01"),
+ new Tuple("RecoveryServices", "BackupProtectedItems", "2021-03-01"),
new Tuple("RecoveryServices", "BackupProtectedItemsCrr", "2018-12-20"),
- new Tuple("RecoveryServices", "BackupProtectionContainers", "2021-01-01"),
- new Tuple("RecoveryServices", "BackupProtectionIntent", "2017-07-01"),
- new Tuple("RecoveryServices", "BackupResourceEncryptionConfigs", "2021-01-01"),
+ new Tuple("RecoveryServices", "BackupProtectionContainers", "2021-03-01"),
+ new Tuple("RecoveryServices", "BackupProtectionIntent", "2021-03-01"),
+ new Tuple("RecoveryServices", "BackupResourceEncryptionConfigs", "2021-03-01"),
new Tuple("RecoveryServices", "BackupResourceStorageConfigs", "2018-12-20"),
- new Tuple("RecoveryServices", "BackupResourceVaultConfigs", "2021-01-01"),
- new Tuple("RecoveryServices", "BackupStatus", "2017-07-01"),
- new Tuple("RecoveryServices", "BackupUsageSummaries", "2017-07-01"),
- new Tuple("RecoveryServices", "BackupWorkloadItems", "2021-01-01"),
- new Tuple("RecoveryServices", "Backups", "2021-01-01"),
+ new Tuple("RecoveryServices", "BackupResourceVaultConfigs", "2021-03-01"),
+ new Tuple("RecoveryServices", "BackupStatus", "2021-03-01"),
+ new Tuple("RecoveryServices", "BackupUsageSummaries", "2021-03-01"),
+ new Tuple("RecoveryServices", "BackupWorkloadItems", "2021-03-01"),
+ new Tuple("RecoveryServices", "Backups", "2021-03-01"),
new Tuple("RecoveryServices", "CrossRegionRestore", "2018-12-20"),
new Tuple("RecoveryServices", "CrrOperationResults", "2018-12-20"),
new Tuple("RecoveryServices", "CrrOperationStatus", "2018-12-20"),
- new Tuple("RecoveryServices", "ExportJobsOperationResults", "2021-01-01"),
- new Tuple("RecoveryServices", "FeatureSupport", "2017-07-01"),
- new Tuple("RecoveryServices", "GetOperationStatus", "2021-01-01"),
- new Tuple("RecoveryServices", "ItemLevelRecoveryConnections", "2021-01-01"),
- new Tuple("RecoveryServices", "JobCancellations", "2021-01-01"),
- new Tuple("RecoveryServices", "JobDetails", "2021-01-01"),
- new Tuple("RecoveryServices", "JobOperationResults", "2021-01-01"),
- new Tuple("RecoveryServices", "Jobs", "2021-01-01"),
- new Tuple("RecoveryServices", "MoveRecoveryPoint", "2021-01-01"),
- new Tuple("RecoveryServices", "Operation", "2021-01-01"),
- new Tuple("RecoveryServices", "Operations", "2016-08-10"),
- new Tuple("RecoveryServices", "PrivateEndpoint", "2021-01-01"),
- new Tuple("RecoveryServices", "PrivateEndpointConnection", "2021-01-01"),
- new Tuple("RecoveryServices", "ProtectableContainers", "2021-01-01"),
- new Tuple("RecoveryServices", "ProtectedItemOperationResults", "2021-01-01"),
- new Tuple("RecoveryServices", "ProtectedItemOperationStatuses", "2021-01-01"),
- new Tuple("RecoveryServices", "ProtectedItems", "2021-01-01"),
- new Tuple("RecoveryServices", "ProtectionContainerOperationResults", "2021-01-01"),
- new Tuple("RecoveryServices", "ProtectionContainerRefreshOperationResults", "2021-01-01"),
- new Tuple("RecoveryServices", "ProtectionContainers", "2021-01-01"),
- new Tuple("RecoveryServices", "ProtectionIntent", "2017-07-01"),
- new Tuple("RecoveryServices", "ProtectionPolicies", "2021-01-01"),
- new Tuple("RecoveryServices", "ProtectionPolicyOperationResults", "2021-01-01"),
- new Tuple("RecoveryServices", "ProtectionPolicyOperationStatuses", "2021-01-01"),
+ new Tuple("RecoveryServices", "ExportJobsOperationResults", "2021-03-01"),
+ new Tuple("RecoveryServices", "FeatureSupport", "2021-03-01"),
+ new Tuple("RecoveryServices", "GetOperationStatus", "2021-03-01"),
+ new Tuple("RecoveryServices", "ItemLevelRecoveryConnections", "2021-03-01"),
+ new Tuple("RecoveryServices", "JobCancellations", "2021-03-01"),
+ new Tuple("RecoveryServices", "JobDetails", "2021-03-01"),
+ new Tuple("RecoveryServices", "JobOperationResults", "2021-03-01"),
+ new Tuple("RecoveryServices", "Jobs", "2021-03-01"),
+ new Tuple("RecoveryServices", "MoveRecoveryPoint", "2021-03-01"),
+ new Tuple("RecoveryServices", "Operation", "2021-03-01"),
+ new Tuple("RecoveryServices", "Operations", "2021-03-01"),
+ new Tuple("RecoveryServices", "PrivateEndpoint", "2021-03-01"),
+ new Tuple("RecoveryServices", "PrivateEndpointConnection", "2021-03-01"),
+ new Tuple("RecoveryServices", "ProtectableContainers", "2021-03-01"),
+ new Tuple("RecoveryServices", "ProtectedItemOperationResults", "2021-03-01"),
+ new Tuple("RecoveryServices", "ProtectedItemOperationStatuses", "2021-03-01"),
+ new Tuple("RecoveryServices", "ProtectedItems", "2021-03-01"),
+ new Tuple("RecoveryServices", "ProtectionContainerOperationResults", "2021-03-01"),
+ new Tuple("RecoveryServices", "ProtectionContainerRefreshOperationResults", "2021-03-01"),
+ new Tuple("RecoveryServices", "ProtectionContainers", "2021-03-01"),
+ new Tuple("RecoveryServices", "ProtectionIntent", "2021-03-01"),
+ new Tuple("RecoveryServices", "ProtectionPolicies", "2021-03-01"),
+ new Tuple("RecoveryServices", "ProtectionPolicyOperationResults", "2021-03-01"),
+ new Tuple("RecoveryServices", "ProtectionPolicyOperationStatuses", "2021-03-01"),
new Tuple("RecoveryServices", "RecoveryPoints", "2018-12-20"),
- new Tuple("RecoveryServices", "RecoveryPoints", "2021-01-01"),
+ new Tuple("RecoveryServices", "RecoveryPoints", "2021-03-01"),
new Tuple("RecoveryServices", "RecoveryPointsCrr", "2018-12-20"),
- new Tuple("RecoveryServices", "RecoveryPointsRecommendedForMove", "2021-01-01"),
- new Tuple("RecoveryServices", "Restores", "2021-01-01"),
- new Tuple("RecoveryServices", "SecurityPINs", "2021-01-01"),
+ new Tuple("RecoveryServices", "RecoveryPointsRecommendedForMove", "2021-03-01"),
+ new Tuple("RecoveryServices", "Restores", "2021-03-01"),
+ new Tuple("RecoveryServices", "SecurityPINs", "2021-03-01"),
}.AsEnumerable();
}
}
diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/SecurityPINsOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/SecurityPINsOperations.cs
index dda432125095..8be985597931 100644
--- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/SecurityPINsOperations.cs
+++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/SecurityPINsOperations.cs
@@ -95,7 +95,7 @@ internal SecurityPINsOperations(RecoveryServicesBackupClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- string apiVersion = "2021-01-01";
+ string apiVersion = "2021-03-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;