From 38d1a7d842a7659cd62386f649394bec76adc42d Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 17 Oct 2022 05:37:39 +0000 Subject: [PATCH] CodeGen from PR 21142 in Azure/azure-rest-api-specs Merge 8f168aea9475f81fa87f496e8cce8ea80150edfe into 6e2678d484fbfd56296a37eb7fcfb38455e959a2 --- .../DeletedProtectionContainersOperations.cs | 437 ++++++++++++++++++ ...rotectionContainersOperationsExtensions.cs | 108 +++++ .../IDeletedProtectionContainersOperations.cs | 81 ++++ .../IRecoveryServicesBackupClient.cs | 5 + .../Models/AzureFileShareProtectionPolicy.cs | 5 +- .../Models/AzureFileshareProtectedItem.cs | 9 +- .../AzureIaaSClassicComputeVMProtectedItem.cs | 9 +- .../Models/AzureIaaSComputeVMProtectedItem.cs | 9 +- .../Models/AzureIaaSVMProtectedItem.cs | 35 +- ...LAGWorkloadContainerProtectionContainer.cs | 3 +- .../Generated/Models/AzureSqlProtectedItem.cs | 9 +- .../AzureVMAppContainerProtectionContainer.cs | 3 +- .../Models/AzureVmWorkloadProtectedItem.cs | 18 +- .../Models/AzureVmWorkloadProtectionPolicy.cs | 5 +- ...reVmWorkloadSAPAseDatabaseProtectedItem.cs | 9 +- .../AzureVmWorkloadSAPHanaDBInstance.cs | 74 +++ ...mWorkloadSAPHanaDBInstanceProtectedItem.cs | 120 +++++ ...eVmWorkloadSAPHanaDatabaseProtectedItem.cs | 9 +- .../Models/AzureVmWorkloadSAPHanaHSR.cs | 72 +++ ...AzureVmWorkloadSQLDatabaseProtectedItem.cs | 9 +- .../Models/AzureWorkloadBackupRequest.cs | 6 +- .../Models/AzureWorkloadContainer.cs | 6 +- .../AzureWorkloadPointInTimeRecoveryPoint.cs | 3 +- .../Models/AzureWorkloadRecoveryPoint.cs | 6 +- ...WorkloadSAPHanaPointInTimeRecoveryPoint.cs | 3 +- .../AzureWorkloadSAPHanaRecoveryPoint.cs | 3 +- .../AzureWorkloadSQLAutoProtectionIntent.cs | 4 +- ...zureWorkloadSQLPointInTimeRecoveryPoint.cs | 3 +- .../Models/AzureWorkloadSQLRecoveryPoint.cs | 3 +- .../Models/BMSContainerQueryObject.cs | 6 +- .../Models/BMSContainersInquiryQueryObject.cs | 5 +- .../Generated/Models/BMSPOQueryObject.cs | 4 +- .../Generated/Models/BMSRPQueryObject.cs | 5 +- .../Models/BMSWorkloadItemQueryObject.cs | 10 +- .../Generated/Models/BackupItemType.cs | 1 + .../Generated/Models/BackupStatusRequest.cs | 5 +- .../Generated/Models/BackupType.cs | 2 + .../Generated/Models/ContainerType.cs | 1 + .../Generated/Models/DPMProtectedItem.cs | 9 +- .../Generated/Models/DataSourceType.cs | 1 + .../Generated/Models/GenericProtectedItem.cs | 9 +- .../Models/MabContainerExtendedInfo.cs | 5 +- .../Models/MabFileFolderProtectedItem.cs | 9 +- .../Generated/Models/MabJob.cs | 4 +- .../Generated/Models/PolicyType.cs | 2 + .../Models/PreValidateEnableBackupRequest.cs | 5 +- .../Generated/Models/ProtectedItem.cs | 26 +- .../Models/ProtectedItemQueryObject.cs | 5 +- .../Models/ProtectionPolicyQueryObject.cs | 5 +- .../Generated/Models/RestorePointQueryType.cs | 2 + .../Generated/Models/RestorePointType.cs | 2 + .../Generated/Models/SubProtectionPolicy.cs | 5 +- .../Generated/Models/WorkloadItemType.cs | 1 + .../Generated/Models/WorkloadType.cs | 1 + .../Generated/RecoveryServicesBackupClient.cs | 8 +- .../SdkInfo_RecoveryServicesBackupClient.cs | 116 +++-- 56 files changed, 1147 insertions(+), 173 deletions(-) create mode 100644 sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/DeletedProtectionContainersOperations.cs create mode 100644 sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/DeletedProtectionContainersOperationsExtensions.cs create mode 100644 sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/IDeletedProtectionContainersOperations.cs create mode 100644 sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadSAPHanaDBInstance.cs create mode 100644 sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadSAPHanaDBInstanceProtectedItem.cs create mode 100644 sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadSAPHanaHSR.cs diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/DeletedProtectionContainersOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/DeletedProtectionContainersOperations.cs new file mode 100644 index 000000000000..7f3f42adaaf5 --- /dev/null +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/DeletedProtectionContainersOperations.cs @@ -0,0 +1,437 @@ +// +// 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 +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// DeletedProtectionContainersOperations operations. + /// + internal partial class DeletedProtectionContainersOperations : IServiceOperations, IDeletedProtectionContainersOperations + { + /// + /// Initializes a new instance of the DeletedProtectionContainersOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal DeletedProtectionContainersOperations(RecoveryServicesBackupClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the RecoveryServicesBackupClient + /// + public RecoveryServicesBackupClient Client { get; private set; } + + /// + /// Lists the soft deleted containers registered to Recovery Services Vault. + /// + /// + /// The name of the resource group where the recovery services vault is + /// present. + /// + /// + /// The name of the recovery services vault. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListWithHttpMessagesAsync(string resourceGroupName, string vaultName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (vaultName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "vaultName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("odataQuery", odataQuery); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("vaultName", vaultName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupDeletedProtectionContainers").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{vaultName}", System.Uri.EscapeDataString(vaultName)); + List _queryParameters = new List(); + if (odataQuery != null) + { + var _odataFilter = odataQuery.ToString(); + if (!string.IsNullOrEmpty(_odataFilter)) + { + _queryParameters.Add(_odataFilter); + } + } + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Lists the soft deleted containers registered to Recovery Services Vault. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/DeletedProtectionContainersOperationsExtensions.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/DeletedProtectionContainersOperationsExtensions.cs new file mode 100644 index 000000000000..bf8b93d20657 --- /dev/null +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/DeletedProtectionContainersOperationsExtensions.cs @@ -0,0 +1,108 @@ +// +// 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 +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for DeletedProtectionContainersOperations. + /// + public static partial class DeletedProtectionContainersOperationsExtensions + { + /// + /// Lists the soft deleted containers registered to Recovery Services Vault. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group where the recovery services vault is + /// present. + /// + /// + /// The name of the recovery services vault. + /// + /// + /// OData parameters to apply to the operation. + /// + public static IPage List(this IDeletedProtectionContainersOperations operations, string resourceGroupName, string vaultName, ODataQuery odataQuery = default(ODataQuery)) + { + return operations.ListAsync(resourceGroupName, vaultName, odataQuery).GetAwaiter().GetResult(); + } + + /// + /// Lists the soft deleted containers registered to Recovery Services Vault. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group where the recovery services vault is + /// present. + /// + /// + /// The name of the recovery services vault. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListAsync(this IDeletedProtectionContainersOperations operations, string resourceGroupName, string vaultName, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, vaultName, odataQuery, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Lists the soft deleted containers registered to Recovery Services Vault. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListNext(this IDeletedProtectionContainersOperations operations, string nextPageLink) + { + return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists the soft deleted containers registered to Recovery Services Vault. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListNextAsync(this IDeletedProtectionContainersOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/IDeletedProtectionContainersOperations.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/IDeletedProtectionContainersOperations.cs new file mode 100644 index 000000000000..5a5a0a4faebf --- /dev/null +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/IDeletedProtectionContainersOperations.cs @@ -0,0 +1,81 @@ +// +// 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 +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// DeletedProtectionContainersOperations operations. + /// + public partial interface IDeletedProtectionContainersOperations + { + /// + /// Lists the soft deleted containers registered to Recovery Services + /// Vault. + /// + /// + /// The name of the resource group where the recovery services vault is + /// present. + /// + /// + /// The name of the recovery services vault. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListWithHttpMessagesAsync(string resourceGroupName, string vaultName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists the soft deleted containers registered to Recovery Services + /// Vault. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/IRecoveryServicesBackupClient.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/IRecoveryServicesBackupClient.cs index 472257ccabf6..5133344e98e1 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/IRecoveryServicesBackupClient.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/IRecoveryServicesBackupClient.cs @@ -293,6 +293,11 @@ public partial interface IRecoveryServicesBackupClient : System.IDisposable /// IBackupProtectionContainersOperations BackupProtectionContainers { get; } + /// + /// Gets the IDeletedProtectionContainersOperations. + /// + IDeletedProtectionContainersOperations DeletedProtectionContainers { get; } + /// /// Gets the ISecurityPINsOperations. /// diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureFileShareProtectionPolicy.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureFileShareProtectionPolicy.cs index 30e44d17d939..f107e2e14be6 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureFileShareProtectionPolicy.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureFileShareProtectionPolicy.cs @@ -42,7 +42,8 @@ public AzureFileShareProtectionPolicy() /// management. Possible values include: 'Invalid', 'VM', 'FileFolder', /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' /// Backup schedule specified as part of /// backup policy. /// Retention policy with the details on @@ -69,7 +70,7 @@ public AzureFileShareProtectionPolicy() /// values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', /// 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', /// 'Client', 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', - /// 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'SAPHanaDatabase', 'SAPAseDatabase', 'SAPHanaDBInstance' /// [JsonProperty(PropertyName = "workLoadType")] public string WorkLoadType { get; set; } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureFileshareProtectedItem.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureFileshareProtectedItem.cs index 0b68140c1e37..c8018ef6f5df 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureFileshareProtectedItem.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureFileshareProtectedItem.cs @@ -42,7 +42,8 @@ public AzureFileshareProtectedItem() /// Possible values include: 'Invalid', 'VM', 'FileFolder', /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' /// Unique name of container /// ARM ID of the resource to be backed /// up. @@ -72,6 +73,8 @@ public AzureFileshareProtectedItem() /// is protected in archive /// Name of the policy used for /// protection + /// Soft delete retention + /// period in days /// Friendly name of the fileshare /// represented by this backup item. /// Backup status of this backup @@ -86,8 +89,8 @@ public AzureFileshareProtectedItem() /// Health details of different KPIs /// Additional information with this backup /// item. - public AzureFileshareProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime? lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime? deferredDeleteTimeInUTC = default(System.DateTime?), bool? isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool? isDeferredDeleteScheduleUpcoming = default(bool?), bool? isRehydrate = default(bool?), IList resourceGuardOperationRequests = default(IList), bool? isArchiveEnabled = default(bool?), string policyName = default(string), string friendlyName = default(string), string protectionStatus = default(string), string protectionState = default(string), string lastBackupStatus = default(string), System.DateTime? lastBackupTime = default(System.DateTime?), IDictionary kpisHealths = default(IDictionary), AzureFileshareProtectedItemExtendedInfo extendedInfo = default(AzureFileshareProtectedItemExtendedInfo)) - : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests, isArchiveEnabled, policyName) + public AzureFileshareProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime? lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime? deferredDeleteTimeInUTC = default(System.DateTime?), bool? isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool? isDeferredDeleteScheduleUpcoming = default(bool?), bool? isRehydrate = default(bool?), IList resourceGuardOperationRequests = default(IList), bool? isArchiveEnabled = default(bool?), string policyName = default(string), int? softDeleteRetentionPeriod = default(int?), string friendlyName = default(string), string protectionStatus = default(string), string protectionState = default(string), string lastBackupStatus = default(string), System.DateTime? lastBackupTime = default(System.DateTime?), IDictionary kpisHealths = default(IDictionary), AzureFileshareProtectedItemExtendedInfo extendedInfo = default(AzureFileshareProtectedItemExtendedInfo)) + : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests, isArchiveEnabled, policyName, softDeleteRetentionPeriod) { FriendlyName = friendlyName; ProtectionStatus = protectionStatus; diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureIaaSClassicComputeVMProtectedItem.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureIaaSClassicComputeVMProtectedItem.cs index e5974333d78a..ce5802f8cf40 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureIaaSClassicComputeVMProtectedItem.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureIaaSClassicComputeVMProtectedItem.cs @@ -43,7 +43,8 @@ public AzureIaaSClassicComputeVMProtectedItem() /// Possible values include: 'Invalid', 'VM', 'FileFolder', /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' /// Unique name of container /// ARM ID of the resource to be backed /// up. @@ -73,6 +74,8 @@ public AzureIaaSClassicComputeVMProtectedItem() /// is protected in archive /// Name of the policy used for /// protection + /// Soft delete retention + /// period in days /// Friendly name of the VM represented by /// this backup item. /// Fully qualified ARM ID of the @@ -96,8 +99,8 @@ public AzureIaaSClassicComputeVMProtectedItem() /// item. /// Additional information for this backup /// item. - public AzureIaaSClassicComputeVMProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime? lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime? deferredDeleteTimeInUTC = default(System.DateTime?), bool? isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool? isDeferredDeleteScheduleUpcoming = default(bool?), bool? isRehydrate = default(bool?), IList resourceGuardOperationRequests = default(IList), bool? isArchiveEnabled = default(bool?), string policyName = default(string), string friendlyName = default(string), string virtualMachineId = default(string), string protectionStatus = default(string), string protectionState = default(string), string healthStatus = default(string), IList healthDetails = default(IList), IDictionary kpisHealths = default(IDictionary), string lastBackupStatus = default(string), System.DateTime? lastBackupTime = default(System.DateTime?), string protectedItemDataId = default(string), AzureIaaSVMProtectedItemExtendedInfo extendedInfo = default(AzureIaaSVMProtectedItemExtendedInfo), ExtendedProperties extendedProperties = default(ExtendedProperties)) - : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests, isArchiveEnabled, policyName, friendlyName, virtualMachineId, protectionStatus, protectionState, healthStatus, healthDetails, kpisHealths, lastBackupStatus, lastBackupTime, protectedItemDataId, extendedInfo, extendedProperties) + public AzureIaaSClassicComputeVMProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime? lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime? deferredDeleteTimeInUTC = default(System.DateTime?), bool? isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool? isDeferredDeleteScheduleUpcoming = default(bool?), bool? isRehydrate = default(bool?), IList resourceGuardOperationRequests = default(IList), bool? isArchiveEnabled = default(bool?), string policyName = default(string), int? softDeleteRetentionPeriod = default(int?), string friendlyName = default(string), string virtualMachineId = default(string), string protectionStatus = default(string), string protectionState = default(string), string healthStatus = default(string), IList healthDetails = default(IList), IDictionary kpisHealths = default(IDictionary), string lastBackupStatus = default(string), System.DateTime? lastBackupTime = default(System.DateTime?), string protectedItemDataId = default(string), AzureIaaSVMProtectedItemExtendedInfo extendedInfo = default(AzureIaaSVMProtectedItemExtendedInfo), ExtendedProperties extendedProperties = default(ExtendedProperties)) + : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests, isArchiveEnabled, policyName, softDeleteRetentionPeriod, friendlyName, virtualMachineId, protectionStatus, protectionState, healthStatus, healthDetails, kpisHealths, lastBackupStatus, lastBackupTime, protectedItemDataId, extendedInfo, extendedProperties) { CustomInit(); } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureIaaSComputeVMProtectedItem.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureIaaSComputeVMProtectedItem.cs index 3f2dcc8302b7..76700f308662 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureIaaSComputeVMProtectedItem.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureIaaSComputeVMProtectedItem.cs @@ -43,7 +43,8 @@ public AzureIaaSComputeVMProtectedItem() /// Possible values include: 'Invalid', 'VM', 'FileFolder', /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' /// Unique name of container /// ARM ID of the resource to be backed /// up. @@ -73,6 +74,8 @@ public AzureIaaSComputeVMProtectedItem() /// is protected in archive /// Name of the policy used for /// protection + /// Soft delete retention + /// period in days /// Friendly name of the VM represented by /// this backup item. /// Fully qualified ARM ID of the @@ -96,8 +99,8 @@ public AzureIaaSComputeVMProtectedItem() /// item. /// Additional information for this backup /// item. - public AzureIaaSComputeVMProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime? lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime? deferredDeleteTimeInUTC = default(System.DateTime?), bool? isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool? isDeferredDeleteScheduleUpcoming = default(bool?), bool? isRehydrate = default(bool?), IList resourceGuardOperationRequests = default(IList), bool? isArchiveEnabled = default(bool?), string policyName = default(string), string friendlyName = default(string), string virtualMachineId = default(string), string protectionStatus = default(string), string protectionState = default(string), string healthStatus = default(string), IList healthDetails = default(IList), IDictionary kpisHealths = default(IDictionary), string lastBackupStatus = default(string), System.DateTime? lastBackupTime = default(System.DateTime?), string protectedItemDataId = default(string), AzureIaaSVMProtectedItemExtendedInfo extendedInfo = default(AzureIaaSVMProtectedItemExtendedInfo), ExtendedProperties extendedProperties = default(ExtendedProperties)) - : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests, isArchiveEnabled, policyName, friendlyName, virtualMachineId, protectionStatus, protectionState, healthStatus, healthDetails, kpisHealths, lastBackupStatus, lastBackupTime, protectedItemDataId, extendedInfo, extendedProperties) + public AzureIaaSComputeVMProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime? lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime? deferredDeleteTimeInUTC = default(System.DateTime?), bool? isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool? isDeferredDeleteScheduleUpcoming = default(bool?), bool? isRehydrate = default(bool?), IList resourceGuardOperationRequests = default(IList), bool? isArchiveEnabled = default(bool?), string policyName = default(string), int? softDeleteRetentionPeriod = default(int?), string friendlyName = default(string), string virtualMachineId = default(string), string protectionStatus = default(string), string protectionState = default(string), string healthStatus = default(string), IList healthDetails = default(IList), IDictionary kpisHealths = default(IDictionary), string lastBackupStatus = default(string), System.DateTime? lastBackupTime = default(System.DateTime?), string protectedItemDataId = default(string), AzureIaaSVMProtectedItemExtendedInfo extendedInfo = default(AzureIaaSVMProtectedItemExtendedInfo), ExtendedProperties extendedProperties = default(ExtendedProperties)) + : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests, isArchiveEnabled, policyName, softDeleteRetentionPeriod, friendlyName, virtualMachineId, protectionStatus, protectionState, healthStatus, healthDetails, kpisHealths, lastBackupStatus, lastBackupTime, protectedItemDataId, extendedInfo, extendedProperties) { CustomInit(); } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureIaaSVMProtectedItem.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureIaaSVMProtectedItem.cs index 556646ec9781..4324c9ee18a6 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureIaaSVMProtectedItem.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureIaaSVMProtectedItem.cs @@ -39,7 +39,8 @@ public AzureIaaSVMProtectedItem() /// Possible values include: 'Invalid', 'VM', 'FileFolder', /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' /// Unique name of container /// ARM ID of the resource to be backed /// up. @@ -69,6 +70,8 @@ public AzureIaaSVMProtectedItem() /// is protected in archive /// Name of the policy used for /// protection + /// Soft delete retention + /// period in days /// Friendly name of the VM represented by /// this backup item. /// Fully qualified ARM ID of the @@ -92,8 +95,8 @@ public AzureIaaSVMProtectedItem() /// item. /// Additional information for this backup /// item. - public AzureIaaSVMProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime? lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime? deferredDeleteTimeInUTC = default(System.DateTime?), bool? isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool? isDeferredDeleteScheduleUpcoming = default(bool?), bool? isRehydrate = default(bool?), IList resourceGuardOperationRequests = default(IList), bool? isArchiveEnabled = default(bool?), string policyName = default(string), string friendlyName = default(string), string virtualMachineId = default(string), string protectionStatus = default(string), string protectionState = default(string), string healthStatus = default(string), IList healthDetails = default(IList), IDictionary kpisHealths = default(IDictionary), string lastBackupStatus = default(string), System.DateTime? lastBackupTime = default(System.DateTime?), string protectedItemDataId = default(string), AzureIaaSVMProtectedItemExtendedInfo extendedInfo = default(AzureIaaSVMProtectedItemExtendedInfo), ExtendedProperties extendedProperties = default(ExtendedProperties)) - : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests, isArchiveEnabled, policyName) + public AzureIaaSVMProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime? lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime? deferredDeleteTimeInUTC = default(System.DateTime?), bool? isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool? isDeferredDeleteScheduleUpcoming = default(bool?), bool? isRehydrate = default(bool?), IList resourceGuardOperationRequests = default(IList), bool? isArchiveEnabled = default(bool?), string policyName = default(string), int? softDeleteRetentionPeriod = default(int?), string friendlyName = default(string), string virtualMachineId = default(string), string protectionStatus = default(string), string protectionState = default(string), string healthStatus = default(string), IList healthDetails = default(IList), IDictionary kpisHealths = default(IDictionary), string lastBackupStatus = default(string), System.DateTime? lastBackupTime = default(System.DateTime?), string protectedItemDataId = default(string), AzureIaaSVMProtectedItemExtendedInfo extendedInfo = default(AzureIaaSVMProtectedItemExtendedInfo), ExtendedProperties extendedProperties = default(ExtendedProperties)) + : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests, isArchiveEnabled, policyName, softDeleteRetentionPeriod) { FriendlyName = friendlyName; VirtualMachineId = virtualMachineId; @@ -116,18 +119,17 @@ public AzureIaaSVMProtectedItem() partial void CustomInit(); /// - /// Gets or sets friendly name of the VM represented by this backup - /// item. + /// Gets friendly name of the VM represented by this backup item. /// [JsonProperty(PropertyName = "friendlyName")] - public string FriendlyName { get; set; } + public string FriendlyName { get; private set; } /// - /// Gets or sets fully qualified ARM ID of the virtual machine - /// represented by this item. + /// Gets fully qualified ARM ID of the virtual machine represented by + /// this item. /// [JsonProperty(PropertyName = "virtualMachineId")] - public string VirtualMachineId { get; set; } + public string VirtualMachineId { get; private set; } /// /// Gets or sets backup status of this backup item. @@ -144,11 +146,11 @@ public AzureIaaSVMProtectedItem() public string ProtectionState { get; set; } /// - /// Gets or sets health status of protected item. Possible values - /// include: 'Passed', 'ActionRequired', 'ActionSuggested', 'Invalid' + /// Gets health status of protected item. Possible values include: + /// 'Passed', 'ActionRequired', 'ActionSuggested', 'Invalid' /// [JsonProperty(PropertyName = "healthStatus")] - public string HealthStatus { get; set; } + public string HealthStatus { get; private set; } /// /// Gets or sets health details on this backup item. @@ -169,17 +171,16 @@ public AzureIaaSVMProtectedItem() public string LastBackupStatus { get; set; } /// - /// Gets or sets timestamp of the last backup operation on this backup - /// item. + /// Gets timestamp of the last backup operation on this backup item. /// [JsonProperty(PropertyName = "lastBackupTime")] - public System.DateTime? LastBackupTime { get; set; } + public System.DateTime? LastBackupTime { get; private set; } /// - /// Gets or sets data ID of the protected item. + /// Gets data ID of the protected item. /// [JsonProperty(PropertyName = "protectedItemDataId")] - public string ProtectedItemDataId { get; set; } + public string ProtectedItemDataId { get; private set; } /// /// Gets or sets additional information for this backup item. diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureSQLAGWorkloadContainerProtectionContainer.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureSQLAGWorkloadContainerProtectionContainer.cs index 0a150f02a155..e3657272c67f 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureSQLAGWorkloadContainerProtectionContainer.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureSQLAGWorkloadContainerProtectionContainer.cs @@ -53,7 +53,8 @@ public AzureSQLAGWorkloadContainerProtectionContainer() /// sent. Possible values include: 'Invalid', 'VM', 'FileFolder', /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' /// Re-Do Operation. Possible values /// include: 'Invalid', 'Register', 'Reregister' public AzureSQLAGWorkloadContainerProtectionContainer(string friendlyName = default(string), string backupManagementType = default(string), string registrationStatus = default(string), string healthStatus = default(string), string protectableObjectType = default(string), string sourceResourceId = default(string), System.DateTime? lastUpdatedTime = default(System.DateTime?), AzureWorkloadContainerExtendedInfo extendedInfo = default(AzureWorkloadContainerExtendedInfo), string workloadType = default(string), string operationType = default(string)) diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureSqlProtectedItem.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureSqlProtectedItem.cs index c9027795bbe9..cc8b0b8f4c2f 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureSqlProtectedItem.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureSqlProtectedItem.cs @@ -40,7 +40,8 @@ public AzureSqlProtectedItem() /// Possible values include: 'Invalid', 'VM', 'FileFolder', /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' /// Unique name of container /// ARM ID of the resource to be backed /// up. @@ -70,6 +71,8 @@ public AzureSqlProtectedItem() /// is protected in archive /// Name of the policy used for /// protection + /// Soft delete retention + /// period in days /// Internal ID of a backup item. /// Used by Azure SQL Backup engine to contact Recovery /// Services. @@ -78,8 +81,8 @@ public AzureSqlProtectedItem() /// 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused' /// Additional information for this backup /// item. - public AzureSqlProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime? lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime? deferredDeleteTimeInUTC = default(System.DateTime?), bool? isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool? isDeferredDeleteScheduleUpcoming = default(bool?), bool? isRehydrate = default(bool?), IList resourceGuardOperationRequests = default(IList), bool? isArchiveEnabled = default(bool?), string policyName = default(string), string protectedItemDataId = default(string), string protectionState = default(string), AzureSqlProtectedItemExtendedInfo extendedInfo = default(AzureSqlProtectedItemExtendedInfo)) - : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests, isArchiveEnabled, policyName) + public AzureSqlProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime? lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime? deferredDeleteTimeInUTC = default(System.DateTime?), bool? isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool? isDeferredDeleteScheduleUpcoming = default(bool?), bool? isRehydrate = default(bool?), IList resourceGuardOperationRequests = default(IList), bool? isArchiveEnabled = default(bool?), string policyName = default(string), int? softDeleteRetentionPeriod = default(int?), string protectedItemDataId = default(string), string protectionState = default(string), AzureSqlProtectedItemExtendedInfo extendedInfo = default(AzureSqlProtectedItemExtendedInfo)) + : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests, isArchiveEnabled, policyName, softDeleteRetentionPeriod) { ProtectedItemDataId = protectedItemDataId; ProtectionState = protectionState; diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVMAppContainerProtectionContainer.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVMAppContainerProtectionContainer.cs index eb5b47f92c7b..f832b9c6e721 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVMAppContainerProtectionContainer.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVMAppContainerProtectionContainer.cs @@ -53,7 +53,8 @@ public AzureVMAppContainerProtectionContainer() /// sent. Possible values include: 'Invalid', 'VM', 'FileFolder', /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' /// Re-Do Operation. Possible values /// include: 'Invalid', 'Register', 'Reregister' public AzureVMAppContainerProtectionContainer(string friendlyName = default(string), string backupManagementType = default(string), string registrationStatus = default(string), string healthStatus = default(string), string protectableObjectType = default(string), string sourceResourceId = default(string), System.DateTime? lastUpdatedTime = default(System.DateTime?), AzureWorkloadContainerExtendedInfo extendedInfo = default(AzureWorkloadContainerExtendedInfo), string workloadType = default(string), string operationType = default(string)) diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadProtectedItem.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadProtectedItem.cs index 7255fcdf032b..a95bc9a7918d 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadProtectedItem.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadProtectedItem.cs @@ -41,7 +41,8 @@ public AzureVmWorkloadProtectedItem() /// Possible values include: 'Invalid', 'VM', 'FileFolder', /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' /// Unique name of container /// ARM ID of the resource to be backed /// up. @@ -71,6 +72,8 @@ public AzureVmWorkloadProtectedItem() /// is protected in archive /// Name of the policy used for /// protection + /// Soft delete retention + /// period in days /// Friendly name of the DB represented by /// this backup item. /// Host/Cluster Name for instance or @@ -100,8 +103,8 @@ public AzureVmWorkloadProtectedItem() /// Additional information for this backup /// item. /// Health details of different KPIs - public AzureVmWorkloadProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime? lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime? deferredDeleteTimeInUTC = default(System.DateTime?), bool? isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool? isDeferredDeleteScheduleUpcoming = default(bool?), bool? isRehydrate = default(bool?), IList resourceGuardOperationRequests = default(IList), bool? isArchiveEnabled = default(bool?), string policyName = default(string), string friendlyName = default(string), string serverName = default(string), string parentName = default(string), string parentType = default(string), string protectionStatus = default(string), string protectionState = default(string), string lastBackupStatus = default(string), System.DateTime? lastBackupTime = default(System.DateTime?), ErrorDetail lastBackupErrorDetail = default(ErrorDetail), string protectedItemDataSourceId = default(string), string protectedItemHealthStatus = default(string), AzureVmWorkloadProtectedItemExtendedInfo extendedInfo = default(AzureVmWorkloadProtectedItemExtendedInfo), IDictionary kpisHealths = default(IDictionary)) - : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests, isArchiveEnabled, policyName) + public AzureVmWorkloadProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime? lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime? deferredDeleteTimeInUTC = default(System.DateTime?), bool? isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool? isDeferredDeleteScheduleUpcoming = default(bool?), bool? isRehydrate = default(bool?), IList resourceGuardOperationRequests = default(IList), bool? isArchiveEnabled = default(bool?), string policyName = default(string), int? softDeleteRetentionPeriod = default(int?), string friendlyName = default(string), string serverName = default(string), string parentName = default(string), string parentType = default(string), string protectionStatus = default(string), string protectionState = default(string), string lastBackupStatus = default(string), System.DateTime? lastBackupTime = default(System.DateTime?), ErrorDetail lastBackupErrorDetail = default(ErrorDetail), string protectedItemDataSourceId = default(string), string protectedItemHealthStatus = default(string), AzureVmWorkloadProtectedItemExtendedInfo extendedInfo = default(AzureVmWorkloadProtectedItemExtendedInfo), IDictionary kpisHealths = default(IDictionary)) + : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests, isArchiveEnabled, policyName, softDeleteRetentionPeriod) { FriendlyName = friendlyName; ServerName = serverName; @@ -125,11 +128,10 @@ public AzureVmWorkloadProtectedItem() partial void CustomInit(); /// - /// Gets or sets friendly name of the DB represented by this backup - /// item. + /// Gets friendly name of the DB represented by this backup item. /// [JsonProperty(PropertyName = "friendlyName")] - public string FriendlyName { get; set; } + public string FriendlyName { get; private set; } /// /// Gets or sets host/Cluster Name for instance or AG @@ -152,10 +154,10 @@ public AzureVmWorkloadProtectedItem() public string ParentType { get; set; } /// - /// Gets or sets backup status of this backup item. + /// Gets backup status of this backup item. /// [JsonProperty(PropertyName = "protectionStatus")] - public string ProtectionStatus { get; set; } + public string ProtectionStatus { get; private set; } /// /// Gets or sets backup state of this backup item. Possible values diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadProtectionPolicy.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadProtectionPolicy.cs index dd52d76f2873..494e75d2de42 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadProtectionPolicy.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadProtectionPolicy.cs @@ -42,7 +42,8 @@ public AzureVmWorkloadProtectionPolicy() /// management. Possible values include: 'Invalid', 'VM', 'FileFolder', /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' /// Common settings for the backup /// management /// List of sub-protection policies @@ -69,7 +70,7 @@ public AzureVmWorkloadProtectionPolicy() /// values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', /// 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', /// 'Client', 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', - /// 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'SAPHanaDatabase', 'SAPAseDatabase', 'SAPHanaDBInstance' /// [JsonProperty(PropertyName = "workLoadType")] public string WorkLoadType { get; set; } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadSAPAseDatabaseProtectedItem.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadSAPAseDatabaseProtectedItem.cs index 8056ef7ed245..187ed218ebed 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadSAPAseDatabaseProtectedItem.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadSAPAseDatabaseProtectedItem.cs @@ -43,7 +43,8 @@ public AzureVmWorkloadSAPAseDatabaseProtectedItem() /// Possible values include: 'Invalid', 'VM', 'FileFolder', /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' /// Unique name of container /// ARM ID of the resource to be backed /// up. @@ -73,6 +74,8 @@ public AzureVmWorkloadSAPAseDatabaseProtectedItem() /// is protected in archive /// Name of the policy used for /// protection + /// Soft delete retention + /// period in days /// Friendly name of the DB represented by /// this backup item. /// Host/Cluster Name for instance or @@ -102,8 +105,8 @@ public AzureVmWorkloadSAPAseDatabaseProtectedItem() /// Additional information for this backup /// item. /// Health details of different KPIs - public AzureVmWorkloadSAPAseDatabaseProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime? lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime? deferredDeleteTimeInUTC = default(System.DateTime?), bool? isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool? isDeferredDeleteScheduleUpcoming = default(bool?), bool? isRehydrate = default(bool?), IList resourceGuardOperationRequests = default(IList), bool? isArchiveEnabled = default(bool?), string policyName = default(string), string friendlyName = default(string), string serverName = default(string), string parentName = default(string), string parentType = default(string), string protectionStatus = default(string), string protectionState = default(string), string lastBackupStatus = default(string), System.DateTime? lastBackupTime = default(System.DateTime?), ErrorDetail lastBackupErrorDetail = default(ErrorDetail), string protectedItemDataSourceId = default(string), string protectedItemHealthStatus = default(string), AzureVmWorkloadProtectedItemExtendedInfo extendedInfo = default(AzureVmWorkloadProtectedItemExtendedInfo), IDictionary kpisHealths = default(IDictionary)) - : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests, isArchiveEnabled, policyName, friendlyName, serverName, parentName, parentType, protectionStatus, protectionState, lastBackupStatus, lastBackupTime, lastBackupErrorDetail, protectedItemDataSourceId, protectedItemHealthStatus, extendedInfo, kpisHealths) + public AzureVmWorkloadSAPAseDatabaseProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime? lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime? deferredDeleteTimeInUTC = default(System.DateTime?), bool? isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool? isDeferredDeleteScheduleUpcoming = default(bool?), bool? isRehydrate = default(bool?), IList resourceGuardOperationRequests = default(IList), bool? isArchiveEnabled = default(bool?), string policyName = default(string), int? softDeleteRetentionPeriod = default(int?), string friendlyName = default(string), string serverName = default(string), string parentName = default(string), string parentType = default(string), string protectionStatus = default(string), string protectionState = default(string), string lastBackupStatus = default(string), System.DateTime? lastBackupTime = default(System.DateTime?), ErrorDetail lastBackupErrorDetail = default(ErrorDetail), string protectedItemDataSourceId = default(string), string protectedItemHealthStatus = default(string), AzureVmWorkloadProtectedItemExtendedInfo extendedInfo = default(AzureVmWorkloadProtectedItemExtendedInfo), IDictionary kpisHealths = default(IDictionary)) + : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests, isArchiveEnabled, policyName, softDeleteRetentionPeriod, friendlyName, serverName, parentName, parentType, protectionStatus, protectionState, lastBackupStatus, lastBackupTime, lastBackupErrorDetail, protectedItemDataSourceId, protectedItemHealthStatus, extendedInfo, kpisHealths) { CustomInit(); } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadSAPHanaDBInstance.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadSAPHanaDBInstance.cs new file mode 100644 index 000000000000..c47ea6435a93 --- /dev/null +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadSAPHanaDBInstance.cs @@ -0,0 +1,74 @@ +// +// 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; + + /// + /// Azure VM workload-specific protectable item representing SAP HANA + /// Dbinstance. + /// + [Newtonsoft.Json.JsonObject("SAPHanaDBInstance")] + public partial class AzureVmWorkloadSAPHanaDBInstance : AzureVmWorkloadProtectableItem + { + /// + /// Initializes a new instance of the AzureVmWorkloadSAPHanaDBInstance + /// class. + /// + public AzureVmWorkloadSAPHanaDBInstance() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the AzureVmWorkloadSAPHanaDBInstance + /// class. + /// + /// Type of backup management to + /// backup an item. + /// Type of workload for the backup + /// management + /// Friendly name of the backup + /// item. + /// State of the back up item. Possible + /// values include: 'Invalid', 'NotProtected', 'Protecting', + /// 'Protected', 'ProtectionFailed' + /// Name for instance or AG + /// Parent Unique Name is added to + /// provide the service formatted URI Name of the Parent + /// Only Applicable for data bases where the parent would be either + /// Instance or a SQL AG. + /// Host/Cluster Name for instance or + /// AG + /// Indicates if protectable item is + /// auto-protectable + /// Indicates if protectable item is + /// auto-protected + /// For instance or AG, indicates + /// number of DB's present + /// For instance or AG, indicates + /// number of DB's to be protected + /// Pre-backup validation for + /// protectable objects + public AzureVmWorkloadSAPHanaDBInstance(string backupManagementType = default(string), string workloadType = default(string), string friendlyName = default(string), string protectionState = default(string), string parentName = default(string), string parentUniqueName = default(string), string serverName = default(string), bool? isAutoProtectable = default(bool?), bool? isAutoProtected = default(bool?), int? subinquireditemcount = default(int?), int? subprotectableitemcount = default(int?), PreBackupValidation prebackupvalidation = default(PreBackupValidation)) + : base(backupManagementType, workloadType, friendlyName, protectionState, parentName, parentUniqueName, serverName, isAutoProtectable, isAutoProtected, subinquireditemcount, subprotectableitemcount, prebackupvalidation) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + } +} diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadSAPHanaDBInstanceProtectedItem.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadSAPHanaDBInstanceProtectedItem.cs new file mode 100644 index 000000000000..77d609815598 --- /dev/null +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadSAPHanaDBInstanceProtectedItem.cs @@ -0,0 +1,120 @@ +// +// 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.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Azure VM workload-specific protected item representing SAP HANA + /// DBInstance. + /// + [Newtonsoft.Json.JsonObject("AzureVmWorkloadSAPHanaDBInstance")] + public partial class AzureVmWorkloadSAPHanaDBInstanceProtectedItem : AzureVmWorkloadProtectedItem + { + /// + /// Initializes a new instance of the + /// AzureVmWorkloadSAPHanaDBInstanceProtectedItem class. + /// + public AzureVmWorkloadSAPHanaDBInstanceProtectedItem() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// AzureVmWorkloadSAPHanaDBInstanceProtectedItem class. + /// + /// Type of backup management for + /// the backed up item. Possible values include: 'Invalid', + /// 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', + /// 'AzureStorage', 'AzureWorkload', 'DefaultBackup' + /// Type of workload this item represents. + /// Possible values include: 'Invalid', 'VM', 'FileFolder', + /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', + /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', + /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' + /// Unique name of container + /// ARM ID of the resource to be backed + /// up. + /// ID of the backup policy with which this item + /// is backed up. + /// Timestamp when the last (latest) + /// backup copy was created for this backup item. + /// Name of the backup set the backup item + /// belongs to + /// Create mode to indicate recovery of + /// existing soft deleted data source or creation of new data source. + /// Possible values include: 'Invalid', 'Default', 'Recover' + /// Time for deferred deletion in + /// UTC + /// Flag to identify whether + /// the DS is scheduled for deferred delete + /// Time remaining before the + /// DS marked for deferred delete is permanently deleted + /// Flag to identify + /// whether the deferred deleted DS is to be purged soon + /// Flag to identify that deferred deleted DS + /// is to be moved into Pause state + /// ResourceGuardOperationRequests + /// on which LAC check will be performed + /// Flag to identify whether datasource + /// is protected in archive + /// Name of the policy used for + /// protection + /// Soft delete retention + /// period in days + /// Friendly name of the DB represented by + /// this backup item. + /// Host/Cluster Name for instance or + /// AG + /// Parent name of the DB such as Instance or + /// Availability Group. + /// Parent type of protected item, example: + /// for a DB, standalone server or distributed + /// Backup status of this backup + /// item. + /// Backup state of this backup item. + /// Possible values include: 'Invalid', 'IRPending', 'Protected', + /// 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused' + /// Last backup operation status. + /// Possible values: Healthy, Unhealthy. Possible values include: + /// 'Invalid', 'Healthy', 'Unhealthy', 'IRPending' + /// Timestamp of the last backup operation + /// on this backup item. + /// Error details in last + /// backup + /// Data ID of the protected + /// item. + /// Health status of the backup + /// item, evaluated based on last heartbeat received. Possible values + /// include: 'Invalid', 'Healthy', 'Unhealthy', 'NotReachable', + /// 'IRPending' + /// Additional information for this backup + /// item. + /// Health details of different KPIs + public AzureVmWorkloadSAPHanaDBInstanceProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime? lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime? deferredDeleteTimeInUTC = default(System.DateTime?), bool? isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool? isDeferredDeleteScheduleUpcoming = default(bool?), bool? isRehydrate = default(bool?), IList resourceGuardOperationRequests = default(IList), bool? isArchiveEnabled = default(bool?), string policyName = default(string), int? softDeleteRetentionPeriod = default(int?), string friendlyName = default(string), string serverName = default(string), string parentName = default(string), string parentType = default(string), string protectionStatus = default(string), string protectionState = default(string), string lastBackupStatus = default(string), System.DateTime? lastBackupTime = default(System.DateTime?), ErrorDetail lastBackupErrorDetail = default(ErrorDetail), string protectedItemDataSourceId = default(string), string protectedItemHealthStatus = default(string), AzureVmWorkloadProtectedItemExtendedInfo extendedInfo = default(AzureVmWorkloadProtectedItemExtendedInfo), IDictionary kpisHealths = default(IDictionary)) + : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests, isArchiveEnabled, policyName, softDeleteRetentionPeriod, friendlyName, serverName, parentName, parentType, protectionStatus, protectionState, lastBackupStatus, lastBackupTime, lastBackupErrorDetail, protectedItemDataSourceId, protectedItemHealthStatus, extendedInfo, kpisHealths) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + } +} diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadSAPHanaDatabaseProtectedItem.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadSAPHanaDatabaseProtectedItem.cs index 3112f2899d78..45da2b464212 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadSAPHanaDatabaseProtectedItem.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadSAPHanaDatabaseProtectedItem.cs @@ -43,7 +43,8 @@ public AzureVmWorkloadSAPHanaDatabaseProtectedItem() /// Possible values include: 'Invalid', 'VM', 'FileFolder', /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' /// Unique name of container /// ARM ID of the resource to be backed /// up. @@ -73,6 +74,8 @@ public AzureVmWorkloadSAPHanaDatabaseProtectedItem() /// is protected in archive /// Name of the policy used for /// protection + /// Soft delete retention + /// period in days /// Friendly name of the DB represented by /// this backup item. /// Host/Cluster Name for instance or @@ -102,8 +105,8 @@ public AzureVmWorkloadSAPHanaDatabaseProtectedItem() /// Additional information for this backup /// item. /// Health details of different KPIs - public AzureVmWorkloadSAPHanaDatabaseProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime? lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime? deferredDeleteTimeInUTC = default(System.DateTime?), bool? isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool? isDeferredDeleteScheduleUpcoming = default(bool?), bool? isRehydrate = default(bool?), IList resourceGuardOperationRequests = default(IList), bool? isArchiveEnabled = default(bool?), string policyName = default(string), string friendlyName = default(string), string serverName = default(string), string parentName = default(string), string parentType = default(string), string protectionStatus = default(string), string protectionState = default(string), string lastBackupStatus = default(string), System.DateTime? lastBackupTime = default(System.DateTime?), ErrorDetail lastBackupErrorDetail = default(ErrorDetail), string protectedItemDataSourceId = default(string), string protectedItemHealthStatus = default(string), AzureVmWorkloadProtectedItemExtendedInfo extendedInfo = default(AzureVmWorkloadProtectedItemExtendedInfo), IDictionary kpisHealths = default(IDictionary)) - : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests, isArchiveEnabled, policyName, friendlyName, serverName, parentName, parentType, protectionStatus, protectionState, lastBackupStatus, lastBackupTime, lastBackupErrorDetail, protectedItemDataSourceId, protectedItemHealthStatus, extendedInfo, kpisHealths) + public AzureVmWorkloadSAPHanaDatabaseProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime? lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime? deferredDeleteTimeInUTC = default(System.DateTime?), bool? isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool? isDeferredDeleteScheduleUpcoming = default(bool?), bool? isRehydrate = default(bool?), IList resourceGuardOperationRequests = default(IList), bool? isArchiveEnabled = default(bool?), string policyName = default(string), int? softDeleteRetentionPeriod = default(int?), string friendlyName = default(string), string serverName = default(string), string parentName = default(string), string parentType = default(string), string protectionStatus = default(string), string protectionState = default(string), string lastBackupStatus = default(string), System.DateTime? lastBackupTime = default(System.DateTime?), ErrorDetail lastBackupErrorDetail = default(ErrorDetail), string protectedItemDataSourceId = default(string), string protectedItemHealthStatus = default(string), AzureVmWorkloadProtectedItemExtendedInfo extendedInfo = default(AzureVmWorkloadProtectedItemExtendedInfo), IDictionary kpisHealths = default(IDictionary)) + : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests, isArchiveEnabled, policyName, softDeleteRetentionPeriod, friendlyName, serverName, parentName, parentType, protectionStatus, protectionState, lastBackupStatus, lastBackupTime, lastBackupErrorDetail, protectedItemDataSourceId, protectedItemHealthStatus, extendedInfo, kpisHealths) { CustomInit(); } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadSAPHanaHSR.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadSAPHanaHSR.cs new file mode 100644 index 000000000000..31ca60fa9a83 --- /dev/null +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadSAPHanaHSR.cs @@ -0,0 +1,72 @@ +// +// 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; + + /// + /// Azure VM workload-specific protectable item representing SAP HANA + /// Dbinstance. + /// + [Newtonsoft.Json.JsonObject("SAPHanaHSR")] + public partial class AzureVmWorkloadSAPHanaHSR : AzureVmWorkloadProtectableItem + { + /// + /// Initializes a new instance of the AzureVmWorkloadSAPHanaHSR class. + /// + public AzureVmWorkloadSAPHanaHSR() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the AzureVmWorkloadSAPHanaHSR class. + /// + /// Type of backup management to + /// backup an item. + /// Type of workload for the backup + /// management + /// Friendly name of the backup + /// item. + /// State of the back up item. Possible + /// values include: 'Invalid', 'NotProtected', 'Protecting', + /// 'Protected', 'ProtectionFailed' + /// Name for instance or AG + /// Parent Unique Name is added to + /// provide the service formatted URI Name of the Parent + /// Only Applicable for data bases where the parent would be either + /// Instance or a SQL AG. + /// Host/Cluster Name for instance or + /// AG + /// Indicates if protectable item is + /// auto-protectable + /// Indicates if protectable item is + /// auto-protected + /// For instance or AG, indicates + /// number of DB's present + /// For instance or AG, indicates + /// number of DB's to be protected + /// Pre-backup validation for + /// protectable objects + public AzureVmWorkloadSAPHanaHSR(string backupManagementType = default(string), string workloadType = default(string), string friendlyName = default(string), string protectionState = default(string), string parentName = default(string), string parentUniqueName = default(string), string serverName = default(string), bool? isAutoProtectable = default(bool?), bool? isAutoProtected = default(bool?), int? subinquireditemcount = default(int?), int? subprotectableitemcount = default(int?), PreBackupValidation prebackupvalidation = default(PreBackupValidation)) + : base(backupManagementType, workloadType, friendlyName, protectionState, parentName, parentUniqueName, serverName, isAutoProtectable, isAutoProtected, subinquireditemcount, subprotectableitemcount, prebackupvalidation) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + } +} diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadSQLDatabaseProtectedItem.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadSQLDatabaseProtectedItem.cs index 7bbf79ddb147..0cbae4f0a24f 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadSQLDatabaseProtectedItem.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureVmWorkloadSQLDatabaseProtectedItem.cs @@ -42,7 +42,8 @@ public AzureVmWorkloadSQLDatabaseProtectedItem() /// Possible values include: 'Invalid', 'VM', 'FileFolder', /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' /// Unique name of container /// ARM ID of the resource to be backed /// up. @@ -72,6 +73,8 @@ public AzureVmWorkloadSQLDatabaseProtectedItem() /// is protected in archive /// Name of the policy used for /// protection + /// Soft delete retention + /// period in days /// Friendly name of the DB represented by /// this backup item. /// Host/Cluster Name for instance or @@ -101,8 +104,8 @@ public AzureVmWorkloadSQLDatabaseProtectedItem() /// Additional information for this backup /// item. /// Health details of different KPIs - public AzureVmWorkloadSQLDatabaseProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime? lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime? deferredDeleteTimeInUTC = default(System.DateTime?), bool? isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool? isDeferredDeleteScheduleUpcoming = default(bool?), bool? isRehydrate = default(bool?), IList resourceGuardOperationRequests = default(IList), bool? isArchiveEnabled = default(bool?), string policyName = default(string), string friendlyName = default(string), string serverName = default(string), string parentName = default(string), string parentType = default(string), string protectionStatus = default(string), string protectionState = default(string), string lastBackupStatus = default(string), System.DateTime? lastBackupTime = default(System.DateTime?), ErrorDetail lastBackupErrorDetail = default(ErrorDetail), string protectedItemDataSourceId = default(string), string protectedItemHealthStatus = default(string), AzureVmWorkloadProtectedItemExtendedInfo extendedInfo = default(AzureVmWorkloadProtectedItemExtendedInfo), IDictionary kpisHealths = default(IDictionary)) - : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests, isArchiveEnabled, policyName, friendlyName, serverName, parentName, parentType, protectionStatus, protectionState, lastBackupStatus, lastBackupTime, lastBackupErrorDetail, protectedItemDataSourceId, protectedItemHealthStatus, extendedInfo, kpisHealths) + public AzureVmWorkloadSQLDatabaseProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime? lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime? deferredDeleteTimeInUTC = default(System.DateTime?), bool? isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool? isDeferredDeleteScheduleUpcoming = default(bool?), bool? isRehydrate = default(bool?), IList resourceGuardOperationRequests = default(IList), bool? isArchiveEnabled = default(bool?), string policyName = default(string), int? softDeleteRetentionPeriod = default(int?), string friendlyName = default(string), string serverName = default(string), string parentName = default(string), string parentType = default(string), string protectionStatus = default(string), string protectionState = default(string), string lastBackupStatus = default(string), System.DateTime? lastBackupTime = default(System.DateTime?), ErrorDetail lastBackupErrorDetail = default(ErrorDetail), string protectedItemDataSourceId = default(string), string protectedItemHealthStatus = default(string), AzureVmWorkloadProtectedItemExtendedInfo extendedInfo = default(AzureVmWorkloadProtectedItemExtendedInfo), IDictionary kpisHealths = default(IDictionary)) + : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests, isArchiveEnabled, policyName, softDeleteRetentionPeriod, friendlyName, serverName, parentName, parentType, protectionStatus, protectionState, lastBackupStatus, lastBackupTime, lastBackupErrorDetail, protectedItemDataSourceId, protectedItemHealthStatus, extendedInfo, kpisHealths) { CustomInit(); } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadBackupRequest.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadBackupRequest.cs index 1f6361bac454..f0a1778ebd78 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadBackupRequest.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadBackupRequest.cs @@ -31,7 +31,8 @@ public AzureWorkloadBackupRequest() /// /// Type of backup, viz. Full, Differential, /// Log or CopyOnlyFull. Possible values include: 'Invalid', 'Full', - /// 'Differential', 'Log', 'CopyOnlyFull', 'Incremental' + /// 'Differential', 'Log', 'CopyOnlyFull', 'Incremental', + /// 'SnapshotFull', 'SnapshotCopyOnlyFull' /// Bool for Compression /// setting /// Backup copy will expire @@ -52,7 +53,8 @@ public AzureWorkloadBackupRequest() /// /// Gets or sets type of backup, viz. Full, Differential, Log or /// CopyOnlyFull. Possible values include: 'Invalid', 'Full', - /// 'Differential', 'Log', 'CopyOnlyFull', 'Incremental' + /// 'Differential', 'Log', 'CopyOnlyFull', 'Incremental', + /// 'SnapshotFull', 'SnapshotCopyOnlyFull' /// [JsonProperty(PropertyName = "backupType")] public string BackupType { get; set; } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadContainer.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadContainer.cs index cca4ae003405..a691be881150 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadContainer.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadContainer.cs @@ -51,7 +51,8 @@ public AzureWorkloadContainer() /// sent. Possible values include: 'Invalid', 'VM', 'FileFolder', /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' /// Re-Do Operation. Possible values /// include: 'Invalid', 'Register', 'Reregister' public AzureWorkloadContainer(string friendlyName = default(string), string backupManagementType = default(string), string registrationStatus = default(string), string healthStatus = default(string), string protectableObjectType = default(string), string sourceResourceId = default(string), System.DateTime? lastUpdatedTime = default(System.DateTime?), AzureWorkloadContainerExtendedInfo extendedInfo = default(AzureWorkloadContainerExtendedInfo), string workloadType = default(string), string operationType = default(string)) @@ -94,7 +95,8 @@ public AzureWorkloadContainer() /// Possible values include: 'Invalid', 'VM', 'FileFolder', /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' /// [JsonProperty(PropertyName = "workloadType")] public string WorkloadType { get; set; } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadPointInTimeRecoveryPoint.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadPointInTimeRecoveryPoint.cs index e1b2405cf12d..d382b8df4679 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadPointInTimeRecoveryPoint.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadPointInTimeRecoveryPoint.cs @@ -36,7 +36,8 @@ public AzureWorkloadPointInTimeRecoveryPoint() /// UTC time at which recovery /// point was created /// Type of restore point. Possible values include: - /// 'Invalid', 'Full', 'Log', 'Differential', 'Incremental' + /// 'Invalid', 'Full', 'Log', 'Differential', 'Incremental', + /// 'SnapshotFull', 'SnapshotCopyOnlyFull' /// Recovery point tier /// information. /// Eligibility of RP to diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadRecoveryPoint.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadRecoveryPoint.cs index 35558c50b9a8..d98f34a531e4 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadRecoveryPoint.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadRecoveryPoint.cs @@ -35,7 +35,8 @@ public AzureWorkloadRecoveryPoint() /// UTC time at which recovery /// point was created /// Type of restore point. Possible values include: - /// 'Invalid', 'Full', 'Log', 'Differential', 'Incremental' + /// 'Invalid', 'Full', 'Log', 'Differential', 'Incremental', + /// 'SnapshotFull', 'SnapshotCopyOnlyFull' /// Recovery point tier /// information. /// Eligibility of RP to @@ -62,7 +63,8 @@ public AzureWorkloadRecoveryPoint() /// /// Gets or sets type of restore point. Possible values include: - /// 'Invalid', 'Full', 'Log', 'Differential', 'Incremental' + /// 'Invalid', 'Full', 'Log', 'Differential', 'Incremental', + /// 'SnapshotFull', 'SnapshotCopyOnlyFull' /// [JsonProperty(PropertyName = "type")] public string Type { get; set; } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadSAPHanaPointInTimeRecoveryPoint.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadSAPHanaPointInTimeRecoveryPoint.cs index f46462eedc30..a2ec5e6d291e 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadSAPHanaPointInTimeRecoveryPoint.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadSAPHanaPointInTimeRecoveryPoint.cs @@ -35,7 +35,8 @@ public AzureWorkloadSAPHanaPointInTimeRecoveryPoint() /// UTC time at which recovery /// point was created /// Type of restore point. Possible values include: - /// 'Invalid', 'Full', 'Log', 'Differential', 'Incremental' + /// 'Invalid', 'Full', 'Log', 'Differential', 'Incremental', + /// 'SnapshotFull', 'SnapshotCopyOnlyFull' /// Recovery point tier /// information. /// Eligibility of RP to diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadSAPHanaRecoveryPoint.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadSAPHanaRecoveryPoint.cs index 28ec04fcb4b7..d527c2399e64 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadSAPHanaRecoveryPoint.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadSAPHanaRecoveryPoint.cs @@ -36,7 +36,8 @@ public AzureWorkloadSAPHanaRecoveryPoint() /// UTC time at which recovery /// point was created /// Type of restore point. Possible values include: - /// 'Invalid', 'Full', 'Log', 'Differential', 'Incremental' + /// 'Invalid', 'Full', 'Log', 'Differential', 'Incremental', + /// 'SnapshotFull', 'SnapshotCopyOnlyFull' /// Recovery point tier /// information. /// Eligibility of RP to diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadSQLAutoProtectionIntent.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadSQLAutoProtectionIntent.cs index 532ecd989de4..0bc81bd34ebd 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadSQLAutoProtectionIntent.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadSQLAutoProtectionIntent.cs @@ -47,7 +47,7 @@ public AzureWorkloadSQLAutoProtectionIntent() /// Workload item type of the item for /// which intent is to be set. Possible values include: 'Invalid', /// 'SQLInstance', 'SQLDataBase', 'SAPHanaSystem', 'SAPHanaDatabase', - /// 'SAPAseSystem', 'SAPAseDatabase' + /// 'SAPAseSystem', 'SAPAseDatabase', 'SAPHanaDBInstance' public AzureWorkloadSQLAutoProtectionIntent(string backupManagementType = default(string), string sourceResourceId = default(string), string itemId = default(string), string policyId = default(string), string protectionState = default(string), string workloadItemType = default(string)) : base(backupManagementType, sourceResourceId, itemId, policyId, protectionState) { @@ -64,7 +64,7 @@ public AzureWorkloadSQLAutoProtectionIntent() /// Gets or sets workload item type of the item for which intent is to /// be set. Possible values include: 'Invalid', 'SQLInstance', /// 'SQLDataBase', 'SAPHanaSystem', 'SAPHanaDatabase', 'SAPAseSystem', - /// 'SAPAseDatabase' + /// 'SAPAseDatabase', 'SAPHanaDBInstance' /// [JsonProperty(PropertyName = "workloadItemType")] public string WorkloadItemType { get; set; } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadSQLPointInTimeRecoveryPoint.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadSQLPointInTimeRecoveryPoint.cs index 1f8071787b13..fb0371aa4b89 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadSQLPointInTimeRecoveryPoint.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadSQLPointInTimeRecoveryPoint.cs @@ -36,7 +36,8 @@ public AzureWorkloadSQLPointInTimeRecoveryPoint() /// UTC time at which recovery /// point was created /// Type of restore point. Possible values include: - /// 'Invalid', 'Full', 'Log', 'Differential', 'Incremental' + /// 'Invalid', 'Full', 'Log', 'Differential', 'Incremental', + /// 'SnapshotFull', 'SnapshotCopyOnlyFull' /// Recovery point tier /// information. /// Eligibility of RP to diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadSQLRecoveryPoint.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadSQLRecoveryPoint.cs index a51438a58e93..a6673fb9a318 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadSQLRecoveryPoint.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/AzureWorkloadSQLRecoveryPoint.cs @@ -37,7 +37,8 @@ public AzureWorkloadSQLRecoveryPoint() /// UTC time at which recovery /// point was created /// Type of restore point. Possible values include: - /// 'Invalid', 'Full', 'Log', 'Differential', 'Incremental' + /// 'Invalid', 'Full', 'Log', 'Differential', 'Incremental', + /// 'SnapshotFull', 'SnapshotCopyOnlyFull' /// Recovery point tier /// information. /// Eligibility of RP to diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BMSContainerQueryObject.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BMSContainerQueryObject.cs index f1dbf46a143c..b425ac197530 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BMSContainerQueryObject.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BMSContainerQueryObject.cs @@ -39,8 +39,8 @@ public BMSContainerQueryObject() /// 'IaasVMServiceContainer', 'DPMContainer', /// 'AzureBackupServerContainer', 'MABContainer', 'Cluster', /// 'AzureSqlContainer', 'Windows', 'VCenter', 'VMAppContainer', - /// 'SQLAGWorkLoadContainer', 'StorageContainer', - /// 'GenericContainer' + /// 'SQLAGWorkLoadContainer', 'StorageContainer', 'GenericContainer', + /// 'HanaHSRContainer' /// Backup engine name /// Fabric name for filter /// Status of registration of this container with @@ -77,7 +77,7 @@ public BMSContainerQueryObject() /// 'DPMContainer', 'AzureBackupServerContainer', 'MABContainer', /// 'Cluster', 'AzureSqlContainer', 'Windows', 'VCenter', /// 'VMAppContainer', 'SQLAGWorkLoadContainer', 'StorageContainer', - /// 'GenericContainer' + /// 'GenericContainer', 'HanaHSRContainer' /// [JsonProperty(PropertyName = "containerType")] public string ContainerType { get; set; } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BMSContainersInquiryQueryObject.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BMSContainersInquiryQueryObject.cs index 8759af3f090b..7ce7dd4fae49 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BMSContainersInquiryQueryObject.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BMSContainersInquiryQueryObject.cs @@ -39,7 +39,8 @@ public BMSContainersInquiryQueryObject() /// Possible values include: 'Invalid', 'VM', 'FileFolder', /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' public BMSContainersInquiryQueryObject(string backupManagementType = default(string), string workloadType = default(string)) { BackupManagementType = backupManagementType; @@ -66,7 +67,7 @@ public BMSContainersInquiryQueryObject() /// include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', /// 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', /// 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', - /// 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'SAPHanaDatabase', 'SAPAseDatabase', 'SAPHanaDBInstance' /// [JsonProperty(PropertyName = "workloadType")] public string WorkloadType { get; set; } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BMSPOQueryObject.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BMSPOQueryObject.cs index 839eb471e800..37e9152fb658 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BMSPOQueryObject.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BMSPOQueryObject.cs @@ -37,7 +37,7 @@ public BMSPOQueryObject() /// 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', /// 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', /// 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', - /// 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'SAPHanaDatabase', 'SAPAseDatabase', 'SAPHanaDBInstance' /// Full name of the container whose /// Protectable Objects should be returned. /// Backup status query parameter. @@ -70,7 +70,7 @@ public BMSPOQueryObject() /// 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', /// 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', /// 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', - /// 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'SAPHanaDatabase', 'SAPAseDatabase', 'SAPHanaDBInstance' /// [JsonProperty(PropertyName = "workloadType")] public string WorkloadType { get; set; } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BMSRPQueryObject.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BMSRPQueryObject.cs index 49bd970a4025..6d0cc2c17958 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BMSRPQueryObject.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BMSRPQueryObject.cs @@ -35,7 +35,8 @@ public BMSRPQueryObject() /// time. /// RestorePoint type. Possible /// values include: 'Invalid', 'Full', 'Log', 'Differential', - /// 'FullAndDifferential', 'All', 'Incremental' + /// 'FullAndDifferential', 'All', 'Incremental', 'SnapshotFull', + /// 'SnapshotCopyOnlyFull' /// In Get Recovery Point, it tells whether /// extended information about recovery point is asked. /// Whether the RP can be moved to @@ -70,7 +71,7 @@ public BMSRPQueryObject() /// /// Gets or sets restorePoint type. Possible values include: 'Invalid', /// 'Full', 'Log', 'Differential', 'FullAndDifferential', 'All', - /// 'Incremental' + /// 'Incremental', 'SnapshotFull', 'SnapshotCopyOnlyFull' /// [JsonProperty(PropertyName = "restorePointQueryType")] public string RestorePointQueryType { get; set; } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BMSWorkloadItemQueryObject.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BMSWorkloadItemQueryObject.cs index 833036bb3fbc..626521d97fde 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BMSWorkloadItemQueryObject.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BMSWorkloadItemQueryObject.cs @@ -35,12 +35,13 @@ public BMSWorkloadItemQueryObject() /// 'DefaultBackup' /// Workload Item type. Possible values /// include: 'Invalid', 'SQLInstance', 'SQLDataBase', 'SAPHanaSystem', - /// 'SAPHanaDatabase', 'SAPAseSystem', 'SAPAseDatabase' + /// 'SAPHanaDatabase', 'SAPAseSystem', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' /// Workload type. Possible values include: /// 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', /// 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', /// 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', - /// 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'SAPHanaDatabase', 'SAPAseDatabase', 'SAPHanaDBInstance' /// Backup status query parameter. /// Possible values include: 'Invalid', 'NotProtected', 'Protecting', /// 'Protected', 'ProtectionFailed' @@ -69,7 +70,8 @@ public BMSWorkloadItemQueryObject() /// /// Gets or sets workload Item type. Possible values include: /// 'Invalid', 'SQLInstance', 'SQLDataBase', 'SAPHanaSystem', - /// 'SAPHanaDatabase', 'SAPAseSystem', 'SAPAseDatabase' + /// 'SAPHanaDatabase', 'SAPAseSystem', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' /// [JsonProperty(PropertyName = "workloadItemType")] public string WorkloadItemType { get; set; } @@ -79,7 +81,7 @@ public BMSWorkloadItemQueryObject() /// 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', /// 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', /// 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', - /// 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'SAPHanaDatabase', 'SAPAseDatabase', 'SAPHanaDBInstance' /// [JsonProperty(PropertyName = "workloadType")] public string WorkloadType { get; set; } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BackupItemType.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BackupItemType.cs index 3b150acd6d47..889eac8337da 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BackupItemType.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BackupItemType.cs @@ -31,5 +31,6 @@ public static class BackupItemType public const string AzureFileShare = "AzureFileShare"; public const string SAPHanaDatabase = "SAPHanaDatabase"; public const string SAPAseDatabase = "SAPAseDatabase"; + public const string SAPHanaDBInstance = "SAPHanaDBInstance"; } } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BackupStatusRequest.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BackupStatusRequest.cs index 984715254126..0b6bbe7d182d 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BackupStatusRequest.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BackupStatusRequest.cs @@ -34,7 +34,7 @@ public BackupStatusRequest() /// 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', /// 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', /// 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', - /// 'SAPAseDatabase' + /// 'SAPAseDatabase', 'SAPHanaDBInstance' /// Entire ARM resource id of the /// resource /// Protectable Item Logical Name @@ -56,7 +56,8 @@ public BackupStatusRequest() /// Possible values include: 'Invalid', 'VM', 'FileFolder', /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' /// [JsonProperty(PropertyName = "resourceType")] public string ResourceType { get; set; } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BackupType.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BackupType.cs index f7cfbbbbe983..560082731e80 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BackupType.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BackupType.cs @@ -22,5 +22,7 @@ public static class BackupType public const string Log = "Log"; public const string CopyOnlyFull = "CopyOnlyFull"; public const string Incremental = "Incremental"; + public const string SnapshotFull = "SnapshotFull"; + public const string SnapshotCopyOnlyFull = "SnapshotCopyOnlyFull"; } } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/ContainerType.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/ContainerType.cs index 42c9c54f6210..e24f1e71a315 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/ContainerType.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/ContainerType.cs @@ -31,5 +31,6 @@ public static class ContainerType public const string SQLAGWorkLoadContainer = "SQLAGWorkLoadContainer"; public const string StorageContainer = "StorageContainer"; public const string GenericContainer = "GenericContainer"; + public const string HanaHSRContainer = "HanaHSRContainer"; } } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/DPMProtectedItem.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/DPMProtectedItem.cs index d2ede5aba6b7..0ef4433f5ad4 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/DPMProtectedItem.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/DPMProtectedItem.cs @@ -39,7 +39,8 @@ public DPMProtectedItem() /// Possible values include: 'Invalid', 'VM', 'FileFolder', /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' /// Unique name of container /// ARM ID of the resource to be backed /// up. @@ -69,6 +70,8 @@ public DPMProtectedItem() /// is protected in archive /// Name of the policy used for /// protection + /// Soft delete retention + /// period in days /// Friendly name of the managed /// item /// Backup Management server protecting @@ -79,8 +82,8 @@ public DPMProtectedItem() /// 'ProtectionPaused' /// Extended info of the backup /// item. - public DPMProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime? lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime? deferredDeleteTimeInUTC = default(System.DateTime?), bool? isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool? isDeferredDeleteScheduleUpcoming = default(bool?), bool? isRehydrate = default(bool?), IList resourceGuardOperationRequests = default(IList), bool? isArchiveEnabled = default(bool?), string policyName = default(string), string friendlyName = default(string), string backupEngineName = default(string), string protectionState = default(string), DPMProtectedItemExtendedInfo extendedInfo = default(DPMProtectedItemExtendedInfo)) - : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests, isArchiveEnabled, policyName) + public DPMProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime? lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime? deferredDeleteTimeInUTC = default(System.DateTime?), bool? isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool? isDeferredDeleteScheduleUpcoming = default(bool?), bool? isRehydrate = default(bool?), IList resourceGuardOperationRequests = default(IList), bool? isArchiveEnabled = default(bool?), string policyName = default(string), int? softDeleteRetentionPeriod = default(int?), string friendlyName = default(string), string backupEngineName = default(string), string protectionState = default(string), DPMProtectedItemExtendedInfo extendedInfo = default(DPMProtectedItemExtendedInfo)) + : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests, isArchiveEnabled, policyName, softDeleteRetentionPeriod) { FriendlyName = friendlyName; BackupEngineName = backupEngineName; diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/DataSourceType.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/DataSourceType.cs index 7617c2109941..e2fdc89c87cc 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/DataSourceType.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/DataSourceType.cs @@ -31,5 +31,6 @@ public static class DataSourceType public const string AzureFileShare = "AzureFileShare"; public const string SAPHanaDatabase = "SAPHanaDatabase"; public const string SAPAseDatabase = "SAPAseDatabase"; + public const string SAPHanaDBInstance = "SAPHanaDBInstance"; } } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/GenericProtectedItem.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/GenericProtectedItem.cs index 46c8a5c18c7d..41501232894b 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/GenericProtectedItem.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/GenericProtectedItem.cs @@ -39,7 +39,8 @@ public GenericProtectedItem() /// Possible values include: 'Invalid', 'VM', 'FileFolder', /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' /// Unique name of container /// ARM ID of the resource to be backed /// up. @@ -69,6 +70,8 @@ public GenericProtectedItem() /// is protected in archive /// Name of the policy used for /// protection + /// Soft delete retention + /// period in days /// Friendly name of the container. /// Indicates consistency of policy object /// and policy applied to this backup item. @@ -80,8 +83,8 @@ public GenericProtectedItem() /// Loosely coupled (type, value) /// associations (example - parent of a protected item) /// Name of this backup item's fabric. - public GenericProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime? lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime? deferredDeleteTimeInUTC = default(System.DateTime?), bool? isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool? isDeferredDeleteScheduleUpcoming = default(bool?), bool? isRehydrate = default(bool?), IList resourceGuardOperationRequests = default(IList), bool? isArchiveEnabled = default(bool?), string policyName = default(string), string friendlyName = default(string), string policyState = default(string), string protectionState = default(string), long? protectedItemId = default(long?), IDictionary sourceAssociations = default(IDictionary), string fabricName = default(string)) - : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests, isArchiveEnabled, policyName) + public GenericProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime? lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime? deferredDeleteTimeInUTC = default(System.DateTime?), bool? isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool? isDeferredDeleteScheduleUpcoming = default(bool?), bool? isRehydrate = default(bool?), IList resourceGuardOperationRequests = default(IList), bool? isArchiveEnabled = default(bool?), string policyName = default(string), int? softDeleteRetentionPeriod = default(int?), string friendlyName = default(string), string policyState = default(string), string protectionState = default(string), long? protectedItemId = default(long?), IDictionary sourceAssociations = default(IDictionary), string fabricName = default(string)) + : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests, isArchiveEnabled, policyName, softDeleteRetentionPeriod) { FriendlyName = friendlyName; PolicyState = policyState; diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/MabContainerExtendedInfo.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/MabContainerExtendedInfo.cs index 72b3f3a066d7..acf15da58d01 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/MabContainerExtendedInfo.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/MabContainerExtendedInfo.cs @@ -38,7 +38,7 @@ public MabContainerExtendedInfo() /// 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', /// 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', /// 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', - /// 'SAPAseDatabase' + /// 'SAPAseDatabase', 'SAPHanaDBInstance' /// List of backup items associated with this /// container. /// Backup policy associated with this @@ -71,7 +71,8 @@ public MabContainerExtendedInfo() /// Possible values include: 'Invalid', 'VM', 'FileFolder', /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' /// [JsonProperty(PropertyName = "backupItemType")] public string BackupItemType { get; set; } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/MabFileFolderProtectedItem.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/MabFileFolderProtectedItem.cs index e4a7acb9c5ff..0b4e2c483a2c 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/MabFileFolderProtectedItem.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/MabFileFolderProtectedItem.cs @@ -39,7 +39,8 @@ public MabFileFolderProtectedItem() /// Possible values include: 'Invalid', 'VM', 'FileFolder', /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' /// Unique name of container /// ARM ID of the resource to be backed /// up. @@ -69,6 +70,8 @@ public MabFileFolderProtectedItem() /// is protected in archive /// Name of the policy used for /// protection + /// Soft delete retention + /// period in days /// Friendly name of this backup /// item. /// Name of the computer associated with @@ -83,8 +86,8 @@ public MabFileFolderProtectedItem() /// deletion in UTC /// Additional information with this backup /// item. - public MabFileFolderProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime? lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime? deferredDeleteTimeInUTC = default(System.DateTime?), bool? isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool? isDeferredDeleteScheduleUpcoming = default(bool?), bool? isRehydrate = default(bool?), IList resourceGuardOperationRequests = default(IList), bool? isArchiveEnabled = default(bool?), string policyName = default(string), string friendlyName = default(string), string computerName = default(string), string lastBackupStatus = default(string), System.DateTime? lastBackupTime = default(System.DateTime?), string protectionState = default(string), long? deferredDeleteSyncTimeInUTC = default(long?), MabFileFolderProtectedItemExtendedInfo extendedInfo = default(MabFileFolderProtectedItemExtendedInfo)) - : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests, isArchiveEnabled, policyName) + public MabFileFolderProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime? lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime? deferredDeleteTimeInUTC = default(System.DateTime?), bool? isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool? isDeferredDeleteScheduleUpcoming = default(bool?), bool? isRehydrate = default(bool?), IList resourceGuardOperationRequests = default(IList), bool? isArchiveEnabled = default(bool?), string policyName = default(string), int? softDeleteRetentionPeriod = default(int?), string friendlyName = default(string), string computerName = default(string), string lastBackupStatus = default(string), System.DateTime? lastBackupTime = default(System.DateTime?), string protectionState = default(string), long? deferredDeleteSyncTimeInUTC = default(long?), MabFileFolderProtectedItemExtendedInfo extendedInfo = default(MabFileFolderProtectedItemExtendedInfo)) + : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests, isArchiveEnabled, policyName, softDeleteRetentionPeriod) { FriendlyName = friendlyName; ComputerName = computerName; diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/MabJob.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/MabJob.cs index d4256be83cff..4947c41c6bcf 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/MabJob.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/MabJob.cs @@ -58,7 +58,7 @@ public MabJob() /// values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', /// 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', /// 'Client', 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', - /// 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'SAPHanaDatabase', 'SAPAseDatabase', 'SAPHanaDBInstance' /// The errors. /// Additional information on the /// job. @@ -115,7 +115,7 @@ public MabJob() /// 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', /// 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', /// 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', - /// 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'SAPHanaDatabase', 'SAPAseDatabase', 'SAPHanaDBInstance' /// [JsonProperty(PropertyName = "workloadType")] public string WorkloadType { get; set; } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/PolicyType.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/PolicyType.cs index e3135724a356..0d6a54c09ecb 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/PolicyType.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/PolicyType.cs @@ -22,5 +22,7 @@ public static class PolicyType public const string Log = "Log"; public const string CopyOnlyFull = "CopyOnlyFull"; public const string Incremental = "Incremental"; + public const string SnapshotFull = "SnapshotFull"; + public const string SnapshotCopyOnlyFull = "SnapshotCopyOnlyFull"; } } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/PreValidateEnableBackupRequest.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/PreValidateEnableBackupRequest.cs index 310da786f3e2..bef073f4e584 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/PreValidateEnableBackupRequest.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/PreValidateEnableBackupRequest.cs @@ -41,7 +41,7 @@ public PreValidateEnableBackupRequest() /// 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', /// 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', /// 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', - /// 'SAPAseDatabase' + /// 'SAPAseDatabase', 'SAPHanaDBInstance' /// ARM Virtual Machine Id /// ARM id of the Recovery Services Vault /// Configuration of VM if any needs to be @@ -65,7 +65,8 @@ public PreValidateEnableBackupRequest() /// etc. Possible values include: 'Invalid', 'VM', 'FileFolder', /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' /// [JsonProperty(PropertyName = "resourceType")] public string ResourceType { get; set; } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/ProtectedItem.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/ProtectedItem.cs index 5b3d042654d2..99edabdb5843 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/ProtectedItem.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/ProtectedItem.cs @@ -39,7 +39,8 @@ public ProtectedItem() /// Possible values include: 'Invalid', 'VM', 'FileFolder', /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' /// Unique name of container /// ARM ID of the resource to be backed /// up. @@ -69,7 +70,9 @@ public ProtectedItem() /// is protected in archive /// Name of the policy used for /// protection - public ProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime? lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime? deferredDeleteTimeInUTC = default(System.DateTime?), bool? isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool? isDeferredDeleteScheduleUpcoming = default(bool?), bool? isRehydrate = default(bool?), IList resourceGuardOperationRequests = default(IList), bool? isArchiveEnabled = default(bool?), string policyName = default(string)) + /// Soft delete retention + /// period in days + public ProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime? lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime? deferredDeleteTimeInUTC = default(System.DateTime?), bool? isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool? isDeferredDeleteScheduleUpcoming = default(bool?), bool? isRehydrate = default(bool?), IList resourceGuardOperationRequests = default(IList), bool? isArchiveEnabled = default(bool?), string policyName = default(string), int? softDeleteRetentionPeriod = default(int?)) { BackupManagementType = backupManagementType; WorkloadType = workloadType; @@ -87,6 +90,7 @@ public ProtectedItem() ResourceGuardOperationRequests = resourceGuardOperationRequests; IsArchiveEnabled = isArchiveEnabled; PolicyName = policyName; + SoftDeleteRetentionPeriod = softDeleteRetentionPeriod; CustomInit(); } @@ -96,23 +100,23 @@ public ProtectedItem() partial void CustomInit(); /// - /// Gets or sets type of backup management for the backed up item. - /// Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', + /// Gets type of backup management 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; } + public string BackupManagementType { get; private set; } /// - /// Gets or sets type of workload this item represents. Possible values + /// Gets type of workload this item represents. Possible values /// include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', /// 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', /// 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', - /// 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'SAPHanaDatabase', 'SAPAseDatabase', 'SAPHanaDBInstance' /// [JsonProperty(PropertyName = "workloadType")] - public string WorkloadType { get; set; } + public string WorkloadType { get; private set; } /// /// Gets or sets unique name of container @@ -208,5 +212,11 @@ public ProtectedItem() [JsonProperty(PropertyName = "policyName")] public string PolicyName { get; set; } + /// + /// Gets or sets soft delete retention period in days + /// + [JsonProperty(PropertyName = "softDeleteRetentionPeriod")] + public int? SoftDeleteRetentionPeriod { get; set; } + } } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/ProtectedItemQueryObject.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/ProtectedItemQueryObject.cs index 3e2d464bdc71..d0247bde3c29 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/ProtectedItemQueryObject.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/ProtectedItemQueryObject.cs @@ -40,7 +40,8 @@ public ProtectedItemQueryObject() /// Possible values include: 'Invalid', 'VM', 'FileFolder', /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' /// Backup policy name associated with the /// backup item. /// Name of the container. @@ -88,7 +89,7 @@ public ProtectedItemQueryObject() /// include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', /// 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', /// 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', - /// 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'SAPHanaDatabase', 'SAPAseDatabase', 'SAPHanaDBInstance' /// [JsonProperty(PropertyName = "itemType")] public string ItemType { get; set; } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/ProtectionPolicyQueryObject.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/ProtectionPolicyQueryObject.cs index bfef470ee6b3..6954c1049736 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/ProtectionPolicyQueryObject.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/ProtectionPolicyQueryObject.cs @@ -40,7 +40,8 @@ public ProtectionPolicyQueryObject() /// Possible values include: 'Invalid', 'VM', 'FileFolder', /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase', + /// 'SAPHanaDBInstance' public ProtectionPolicyQueryObject(string backupManagementType = default(string), string fabricName = default(string), string workloadType = default(string)) { BackupManagementType = backupManagementType; @@ -74,7 +75,7 @@ public ProtectionPolicyQueryObject() /// include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', /// 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', /// 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', - /// 'SAPHanaDatabase', 'SAPAseDatabase' + /// 'SAPHanaDatabase', 'SAPAseDatabase', 'SAPHanaDBInstance' /// [JsonProperty(PropertyName = "workloadType")] public string WorkloadType { get; set; } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/RestorePointQueryType.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/RestorePointQueryType.cs index ccbc6286ec78..9641dfa036b4 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/RestorePointQueryType.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/RestorePointQueryType.cs @@ -23,5 +23,7 @@ public static class RestorePointQueryType public const string FullAndDifferential = "FullAndDifferential"; public const string All = "All"; public const string Incremental = "Incremental"; + public const string SnapshotFull = "SnapshotFull"; + public const string SnapshotCopyOnlyFull = "SnapshotCopyOnlyFull"; } } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/RestorePointType.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/RestorePointType.cs index f1cbe18d8dcf..383cec9cdd7d 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/RestorePointType.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/RestorePointType.cs @@ -21,5 +21,7 @@ public static class RestorePointType public const string Log = "Log"; public const string Differential = "Differential"; public const string Incremental = "Incremental"; + public const string SnapshotFull = "SnapshotFull"; + public const string SnapshotCopyOnlyFull = "SnapshotCopyOnlyFull"; } } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/SubProtectionPolicy.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/SubProtectionPolicy.cs index a7889be16995..a50e6c80fbd1 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/SubProtectionPolicy.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/SubProtectionPolicy.cs @@ -33,7 +33,8 @@ public SubProtectionPolicy() /// /// Type of backup policy type. Possible /// values include: 'Invalid', 'Full', 'Differential', 'Log', - /// 'CopyOnlyFull', 'Incremental' + /// 'CopyOnlyFull', 'Incremental', 'SnapshotFull', + /// 'SnapshotCopyOnlyFull' /// Backup schedule specified as part of /// backup policy. /// Retention policy with the details on @@ -60,7 +61,7 @@ public SubProtectionPolicy() /// /// Gets or sets type of backup policy type. Possible values include: /// 'Invalid', 'Full', 'Differential', 'Log', 'CopyOnlyFull', - /// 'Incremental' + /// 'Incremental', 'SnapshotFull', 'SnapshotCopyOnlyFull' /// [JsonProperty(PropertyName = "policyType")] public string PolicyType { get; set; } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/WorkloadItemType.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/WorkloadItemType.cs index 4abc640e6037..a47101941de8 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/WorkloadItemType.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/WorkloadItemType.cs @@ -23,5 +23,6 @@ public static class WorkloadItemType public const string SAPHanaDatabase = "SAPHanaDatabase"; public const string SAPAseSystem = "SAPAseSystem"; public const string SAPAseDatabase = "SAPAseDatabase"; + public const string SAPHanaDBInstance = "SAPHanaDBInstance"; } } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/WorkloadType.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/WorkloadType.cs index 2865294a819a..20236448815e 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/WorkloadType.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/WorkloadType.cs @@ -31,5 +31,6 @@ public static class WorkloadType public const string AzureFileShare = "AzureFileShare"; public const string SAPHanaDatabase = "SAPHanaDatabase"; public const string SAPAseDatabase = "SAPAseDatabase"; + public const string SAPHanaDBInstance = "SAPHanaDBInstance"; } } diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/RecoveryServicesBackupClient.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/RecoveryServicesBackupClient.cs index fecdf2d38feb..13f683b08a17 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/RecoveryServicesBackupClient.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/RecoveryServicesBackupClient.cs @@ -296,6 +296,11 @@ public partial class RecoveryServicesBackupClient : ServiceClient public virtual IBackupProtectionContainersOperations BackupProtectionContainers { get; private set; } + /// + /// Gets the IDeletedProtectionContainersOperations. + /// + public virtual IDeletedProtectionContainersOperations DeletedProtectionContainers { get; private set; } + /// /// Gets the ISecurityPINsOperations. /// @@ -601,12 +606,13 @@ private void Initialize() ProtectionPolicyOperationStatuses = new ProtectionPolicyOperationStatusesOperations(this); BackupProtectableItems = new BackupProtectableItemsOperations(this); BackupProtectionContainers = new BackupProtectionContainersOperations(this); + DeletedProtectionContainers = new DeletedProtectionContainersOperations(this); SecurityPINs = new SecurityPINsOperations(this); RecoveryPointsRecommendedForMove = new RecoveryPointsRecommendedForMoveOperations(this); ResourceGuardProxies = new ResourceGuardProxiesOperations(this); ResourceGuardProxy = new ResourceGuardProxyOperations(this); BaseUri = new System.Uri("https://management.azure.com"); - ApiVersion = "2022-02-01"; + ApiVersion = "2022-09-01-preview"; AcceptLanguage = "en-US"; LongRunningOperationRetryTimeout = 30; GenerateClientRequestId = true; diff --git a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/SdkInfo_RecoveryServicesBackupClient.cs b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/SdkInfo_RecoveryServicesBackupClient.cs index 5b8677e57a40..93b2b35a609f 100644 --- a/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/SdkInfo_RecoveryServicesBackupClient.cs +++ b/sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/SdkInfo_RecoveryServicesBackupClient.cs @@ -19,71 +19,61 @@ public static IEnumerable> ApiInfo_RecoveryService { return new Tuple[] { - new Tuple("RecoveryServices", "BMSPrepareDataMove", "2022-02-01"), - new Tuple("RecoveryServices", "BMSPrepareDataMoveOperationResult", "2022-02-01"), - new Tuple("RecoveryServices", "BMSTriggerDataMove", "2022-02-01"), - new Tuple("RecoveryServices", "BackupEngines", "2022-02-01"), - new Tuple("RecoveryServices", "BackupJobs", "2022-02-01"), - new Tuple("RecoveryServices", "BackupOperationResults", "2022-02-01"), - new Tuple("RecoveryServices", "BackupOperationStatuses", "2022-02-01"), - new Tuple("RecoveryServices", "BackupPolicies", "2022-02-01"), - new Tuple("RecoveryServices", "BackupProtectableItems", "2022-02-01"), - new Tuple("RecoveryServices", "BackupProtectedItems", "2022-02-01"), - new Tuple("RecoveryServices", "BackupProtectionContainers", "2022-02-01"), - new Tuple("RecoveryServices", "BackupProtectionIntent", "2022-02-01"), - new Tuple("RecoveryServices", "BackupResourceEncryptionConfigs", "2022-02-01"), - new Tuple("RecoveryServices", "BackupResourceStorageConfigsNonCRR", "2022-02-01"), - new Tuple("RecoveryServices", "BackupResourceVaultConfigs", "2022-02-01"), - new Tuple("RecoveryServices", "BackupStatus", "2022-02-01"), - new Tuple("RecoveryServices", "BackupUsageSummaries", "2022-02-01"), - new Tuple("RecoveryServices", "BackupWorkloadItems", "2022-02-01"), - new Tuple("RecoveryServices", "Backups", "2022-02-01"), - new Tuple("RecoveryServices", "ExportJobsOperationResults", "2022-02-01"), - new Tuple("RecoveryServices", "FeatureSupport", "2022-02-01"), - new Tuple("RecoveryServices", "GetOperationStatus", "2022-02-01"), - new Tuple("RecoveryServices", "ItemLevelRecoveryConnections", "2022-02-01"), - new Tuple("RecoveryServices", "JobCancellations", "2022-02-01"), - new Tuple("RecoveryServices", "JobDetails", "2022-02-01"), - new Tuple("RecoveryServices", "JobOperationResults", "2022-02-01"), - new Tuple("RecoveryServices", "Jobs", "2022-02-01"), - new Tuple("RecoveryServices", "MoveRecoveryPoint", "2022-02-01"), - new Tuple("RecoveryServices", "Operation", "2022-02-01"), - new Tuple("RecoveryServices", "Operations", "2022-02-01"), - new Tuple("RecoveryServices", "PrivateEndpoint", "2022-02-01"), - new Tuple("RecoveryServices", "PrivateEndpointConnection", "2022-02-01"), - new Tuple("RecoveryServices", "ProtectableContainers", "2022-02-01"), - new Tuple("RecoveryServices", "ProtectedItemOperationResults", "2022-02-01"), - new Tuple("RecoveryServices", "ProtectedItemOperationStatuses", "2022-02-01"), - new Tuple("RecoveryServices", "ProtectedItems", "2022-02-01"), - new Tuple("RecoveryServices", "ProtectionContainerOperationResults", "2022-02-01"), - new Tuple("RecoveryServices", "ProtectionContainerRefreshOperationResults", "2022-02-01"), - new Tuple("RecoveryServices", "ProtectionContainers", "2022-02-01"), - new Tuple("RecoveryServices", "ProtectionIntent", "2022-02-01"), - new Tuple("RecoveryServices", "ProtectionPolicies", "2022-02-01"), - new Tuple("RecoveryServices", "ProtectionPolicyOperationResults", "2022-02-01"), - new Tuple("RecoveryServices", "ProtectionPolicyOperationStatuses", "2022-02-01"), - new Tuple("RecoveryServices", "RecoveryPoints", "2022-02-01"), - new Tuple("RecoveryServices", "RecoveryPointsRecommendedForMove", "2022-02-01"), - new Tuple("RecoveryServices", "ResourceGuardProxies", "2022-02-01"), - new Tuple("RecoveryServices", "ResourceGuardProxy", "2022-02-01"), - new Tuple("RecoveryServices", "Restores", "2022-02-01"), - new Tuple("RecoveryServices", "SecurityPINs", "2022-02-01"), - new Tuple("RecoveryServices", "ValidateOperation", "2022-02-01"), - new Tuple("RecoveryServices", "ValidateOperationResults", "2022-02-01"), - new Tuple("RecoveryServices", "ValidateOperationStatuses", "2022-02-01"), + new Tuple("RecoveryServices", "BMSPrepareDataMove", "2022-09-01-preview"), + new Tuple("RecoveryServices", "BMSPrepareDataMoveOperationResult", "2022-09-01-preview"), + new Tuple("RecoveryServices", "BMSTriggerDataMove", "2022-09-01-preview"), + new Tuple("RecoveryServices", "BackupEngines", "2022-09-01-preview"), + new Tuple("RecoveryServices", "BackupJobs", "2022-09-01-preview"), + new Tuple("RecoveryServices", "BackupOperationResults", "2022-09-01-preview"), + new Tuple("RecoveryServices", "BackupOperationStatuses", "2022-09-01-preview"), + new Tuple("RecoveryServices", "BackupPolicies", "2022-09-01-preview"), + new Tuple("RecoveryServices", "BackupProtectableItems", "2022-09-01-preview"), + new Tuple("RecoveryServices", "BackupProtectedItems", "2022-09-01-preview"), + new Tuple("RecoveryServices", "BackupProtectionContainers", "2022-09-01-preview"), + new Tuple("RecoveryServices", "BackupProtectionIntent", "2022-09-01-preview"), + new Tuple("RecoveryServices", "BackupResourceEncryptionConfigs", "2022-09-01-preview"), + new Tuple("RecoveryServices", "BackupResourceStorageConfigsNonCRR", "2022-09-01-preview"), + new Tuple("RecoveryServices", "BackupResourceVaultConfigs", "2022-09-01-preview"), + new Tuple("RecoveryServices", "BackupStatus", "2022-09-01-preview"), + new Tuple("RecoveryServices", "BackupUsageSummaries", "2022-09-01-preview"), + new Tuple("RecoveryServices", "BackupWorkloadItems", "2022-09-01-preview"), + new Tuple("RecoveryServices", "Backups", "2022-09-01-preview"), + new Tuple("RecoveryServices", "DeletedProtectionContainers", "2022-09-01-preview"), + new Tuple("RecoveryServices", "ExportJobsOperationResults", "2022-09-01-preview"), + new Tuple("RecoveryServices", "FeatureSupport", "2022-09-01-preview"), + new Tuple("RecoveryServices", "GetOperationStatus", "2022-09-01-preview"), + new Tuple("RecoveryServices", "ItemLevelRecoveryConnections", "2022-09-01-preview"), + new Tuple("RecoveryServices", "JobCancellations", "2022-09-01-preview"), + new Tuple("RecoveryServices", "JobDetails", "2022-09-01-preview"), + new Tuple("RecoveryServices", "JobOperationResults", "2022-09-01-preview"), + new Tuple("RecoveryServices", "Jobs", "2022-09-01-preview"), + new Tuple("RecoveryServices", "MoveRecoveryPoint", "2022-09-01-preview"), + new Tuple("RecoveryServices", "Operation", "2022-09-01-preview"), + new Tuple("RecoveryServices", "Operations", "2022-09-01-preview"), + new Tuple("RecoveryServices", "PrivateEndpoint", "2022-09-01-preview"), + new Tuple("RecoveryServices", "PrivateEndpointConnection", "2022-09-01-preview"), + new Tuple("RecoveryServices", "ProtectableContainers", "2022-09-01-preview"), + new Tuple("RecoveryServices", "ProtectedItemOperationResults", "2022-09-01-preview"), + new Tuple("RecoveryServices", "ProtectedItemOperationStatuses", "2022-09-01-preview"), + new Tuple("RecoveryServices", "ProtectedItems", "2022-09-01-preview"), + new Tuple("RecoveryServices", "ProtectionContainerOperationResults", "2022-09-01-preview"), + new Tuple("RecoveryServices", "ProtectionContainerRefreshOperationResults", "2022-09-01-preview"), + new Tuple("RecoveryServices", "ProtectionContainers", "2022-09-01-preview"), + new Tuple("RecoveryServices", "ProtectionIntent", "2022-09-01-preview"), + new Tuple("RecoveryServices", "ProtectionPolicies", "2022-09-01-preview"), + new Tuple("RecoveryServices", "ProtectionPolicyOperationResults", "2022-09-01-preview"), + new Tuple("RecoveryServices", "ProtectionPolicyOperationStatuses", "2022-09-01-preview"), + new Tuple("RecoveryServices", "RecoveryPoints", "2022-09-01-preview"), + new Tuple("RecoveryServices", "RecoveryPointsRecommendedForMove", "2022-09-01-preview"), + new Tuple("RecoveryServices", "ResourceGuardProxies", "2022-09-01-preview"), + new Tuple("RecoveryServices", "ResourceGuardProxy", "2022-09-01-preview"), + new Tuple("RecoveryServices", "Restores", "2022-09-01-preview"), + new Tuple("RecoveryServices", "SecurityPINs", "2022-09-01-preview"), + new Tuple("RecoveryServices", "ValidateOperation", "2022-09-01-preview"), + new Tuple("RecoveryServices", "ValidateOperationResults", "2022-09-01-preview"), + new Tuple("RecoveryServices", "ValidateOperationStatuses", "2022-09-01-preview"), }.AsEnumerable(); } } - // BEGIN: Code Generation Metadata Section - public static readonly String AutoRestVersion = "2.0.4421"; - public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/main/specification/recoveryservicesbackup/resource-manager/readme.md --csharp --version=2.0.4421 --reflect-api-versions --csharp.namespace=Microsoft.Azure.Management.RecoveryServices.Backup --tag=package-2022-02 --csharp.output-folder=C:\\Code\\azure-sdk-for-net\\sdk\\recoveryservices-backup\\Microsoft.Azure.Management.RecoveryServices.Backup\\src\\recoveryservicesbackup\\Generated"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "main"; - public static readonly String GithubCommidId = "1278b951080f769d400bb5d03090de8bc21dc355"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } -