diff --git a/src/RecoveryServices/RecoveryServices.Backup.Models/AzureVmWorkloadModels/AzureWorkloadProtectableItem.cs b/src/RecoveryServices/RecoveryServices.Backup.Models/AzureVmWorkloadModels/AzureWorkloadProtectableItem.cs
index 3b2e95b2df89..af1fecc054cc 100644
--- a/src/RecoveryServices/RecoveryServices.Backup.Models/AzureVmWorkloadModels/AzureWorkloadProtectableItem.cs
+++ b/src/RecoveryServices/RecoveryServices.Backup.Models/AzureVmWorkloadModels/AzureWorkloadProtectableItem.cs
@@ -93,7 +93,7 @@ public class AzureWorkloadProtectableItem : ProtectableItemBase
/// Constructor. Takes the service client object representing the protected item
/// and converts it in to the PS protected item model
///
- ///
+ /// Service client object representing the protected item resource
/// Name of the container associated with this protected item
/// Type of the container associated with this protected item
public AzureWorkloadProtectableItem(WorkloadProtectableItemResource workloadProtectableItemResource,
@@ -111,7 +111,7 @@ public AzureWorkloadProtectableItem(WorkloadProtectableItemResource workloadProt
Subinquireditemcount = protectedItem.Subinquireditemcount;
Subprotectableitemcount = protectedItem.Subprotectableitemcount;
Prebackupvalidation = protectedItem.Prebackupvalidation;
- ProtectableItemType = workloadProtectableItemResource.Properties.GetType().ToString();
+ ProtectableItemType = workloadProtectableItemResource.Properties.GetType().ToString();
if (workloadProtectableItemResource.Properties.GetType() == typeof(AzureVmWorkloadSQLAvailabilityGroupProtectableItem))
{
@@ -124,7 +124,7 @@ public AzureWorkloadProtectableItem(WorkloadProtectableItemResource workloadProt
else if (workloadProtectableItemResource.Properties.GetType() == typeof(AzureVmWorkloadSQLDatabaseProtectableItem))
{
ProtectableItemType = CmdletModel.ProtectableItemType.SQLDataBase.ToString();
- }
+ }
}
}
}
\ No newline at end of file
diff --git a/src/RecoveryServices/RecoveryServices.Backup.Providers/AzureWorkloadProviderHelper.cs b/src/RecoveryServices/RecoveryServices.Backup.Providers/AzureWorkloadProviderHelper.cs
index a8fd8d70dd3e..a5277d59dbe0 100644
--- a/src/RecoveryServices/RecoveryServices.Backup.Providers/AzureWorkloadProviderHelper.cs
+++ b/src/RecoveryServices/RecoveryServices.Backup.Providers/AzureWorkloadProviderHelper.cs
@@ -532,7 +532,7 @@ public List GetSubProtectionPolicyOfType(IList
- {
+ {
return (newSubProtectionPolicy.PolicyType == policyType);
}).ToList();
}
@@ -546,8 +546,8 @@ public bool checkInstantRpRetentionRange(int? oldSnapshotRetention, int? newSnap
/// checks if daily retention is reduced first, then weekly, then monthly and then yearly; breaks and return true whenever it finds retention is reduced in any schedule.
/// if retention is not reduced in any schedule, returns false at the end.
///
- ///
///
+ ///
///
public bool checkMUAForLongTermRetentionPolicy(ServiceClientModel.LongTermRetentionPolicy oldRetentionPolicy, ServiceClientModel.LongTermRetentionPolicy newRetentionPolicy)
{
@@ -578,7 +578,7 @@ public bool checkMUAForLongTermRetentionPolicy(ServiceClientModel.LongTermRetent
{
return true;
}
- }
+ }
return false;
}
@@ -600,13 +600,13 @@ public bool checkMUAForSimpleRetentionPolicy(ServiceClientModel.SimpleRetentionP
///
///
public bool checkMUAForMSSQLPolicy(ServiceClientModel.AzureVmWorkloadProtectionPolicy oldRetentionPolicy, ServiceClientModel.AzureVmWorkloadProtectionPolicy newRetentionPolicy)
- {
+ {
IList oldSubProtectionPolicies = oldRetentionPolicy.SubProtectionPolicy;
IList newSubProtectionPolicies = newRetentionPolicy.SubProtectionPolicy;
foreach (SubProtectionPolicy oldSubProtectionPolicy in oldSubProtectionPolicies)
{
- string policyType = oldSubProtectionPolicy.PolicyType;
+ string policyType = oldSubProtectionPolicy.PolicyType;
List newSubProtectionPolicy = GetSubProtectionPolicyOfType(newSubProtectionPolicies, policyType);
if(newSubProtectionPolicy == null || newSubProtectionPolicy.Count == 0) return true;
else
@@ -616,7 +616,7 @@ public bool checkMUAForMSSQLPolicy(ServiceClientModel.AzureVmWorkloadProtectionP
if(checkMUAForSimpleRetentionPolicy((ServiceClientModel.SimpleRetentionPolicy)oldSubProtectionPolicy.RetentionPolicy, (ServiceClientModel.SimpleRetentionPolicy)newSubProtectionPolicy[0].RetentionPolicy))
{
return true;
- }
+ }
}
else if (oldSubProtectionPolicy.RetentionPolicy.GetType() == typeof(ServiceClientModel.LongTermRetentionPolicy))
{
@@ -654,7 +654,7 @@ public bool checkMUAForRetentionPolicy(ProtectionPolicyResource oldPolicy, Prote
}
else if (newPolicy.Properties.GetType() == typeof(ServiceClientModel.AzureVmWorkloadProtectionPolicy))
- {
+ {
return checkMUAForMSSQLPolicy((ServiceClientModel.AzureVmWorkloadProtectionPolicy)oldPolicy.Properties, (ServiceClientModel.AzureVmWorkloadProtectionPolicy)newPolicy.Properties);
}
@@ -662,7 +662,7 @@ public bool checkMUAForRetentionPolicy(ProtectionPolicyResource oldPolicy, Prote
}
public bool checkMUAForModifyPolicy(ProtectionPolicyResource oldPolicy, ProtectionPolicyResource newPolicy, bool enableMUA = false)
- {
+ {
if( enableMUA && (checkMUAForSchedulePolicy(oldPolicy, newPolicy) || checkMUAForRetentionPolicy(oldPolicy, newPolicy)))
{
return true;
@@ -706,7 +706,7 @@ public void CopyScheduleTimeToRetentionTimes(CmdletModel.LongTermRetentionPolicy
// schedule runTimes is already validated if in UTC/not during validate()
// now copy times from schedule to retention policy
-
+
List hourlyWindowStartTime = (schPolicyV2.HourlySchedule != null) ? new List{(DateTime)schPolicyV2.HourlySchedule.WindowStartTime} : null;
if (retPolicy.IsDailyScheduleEnabled && retPolicy.DailySchedule != null)
diff --git a/src/RecoveryServices/RecoveryServices.Backup.ServiceClientAdapter/BMSAPIs/ItemAPIs.cs b/src/RecoveryServices/RecoveryServices.Backup.ServiceClientAdapter/BMSAPIs/ItemAPIs.cs
index 8adf8ffacbf5..a4ab3283f7af 100644
--- a/src/RecoveryServices/RecoveryServices.Backup.ServiceClientAdapter/BMSAPIs/ItemAPIs.cs
+++ b/src/RecoveryServices/RecoveryServices.Backup.ServiceClientAdapter/BMSAPIs/ItemAPIs.cs
@@ -73,7 +73,7 @@ public RestAzureNS.AzureOperationResponse CreateOrUpdateP
customHeaders.Add("x-ms-authorization-auxiliary", new List { "Bearer " + auxiliaryAccessToken });
}
else
- {
+ {
throw new ArgumentException(String.Format(Resources.UnexpectedParameterToken, "ModifyProtection"));
}
}
@@ -116,25 +116,25 @@ public RestAzureNS.AzureOperationResponse DeleteProtectedItem(
string operationRequest = null;
- // unlock
- UnlockDeleteRequest unlockDeleteRequest = new UnlockDeleteRequest();
+ // unlock
+ UnlockDeleteRequest unlockDeleteRequest = new UnlockDeleteRequest();
List resourceGuardMapping = ListResourceGuardMapping(vaultName, resourceGroupName);
if (resourceGuardMapping != null && resourceGuardMapping.Count != 0)
- {
+ {
foreach (ResourceGuardOperationDetail operationDetail in resourceGuardMapping[0].Properties.ResourceGuardOperationDetails)
{
if (operationDetail.VaultCriticalOperation == "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/delete") operationRequest = operationDetail.DefaultResourceRequest;
}
-
+
if(operationRequest != null)
{
unlockDeleteRequest.ResourceGuardOperationRequests = new List();
unlockDeleteRequest.ResourceGuardOperationRequests.Add(operationRequest);
if(protectedItemUri == null)
- {
+ {
throw new ArgumentException(String.Format(Resources.ProtectedItemURICantBeNull));
}
@@ -142,7 +142,7 @@ public RestAzureNS.AzureOperationResponse DeleteProtectedItem(
UnlockDeleteResponse unlockDeleteResponse = BmsAdapter.Client.ResourceGuardProxy.UnlockDeleteWithHttpMessagesAsync(vaultName ?? BmsAdapter.GetResourceName(), resourceGroupName ?? BmsAdapter.GetResourceGroupName(), resourceGuardMapping[0].Name, unlockDeleteRequest, customHeaders).Result.Body;
}
else if (auxiliaryAccessToken != null && auxiliaryAccessToken != "")
- {
+ {
throw new ArgumentException(String.Format(Resources.UnexpectedParameterToken, "Delete protection with DeleteBackupData"));
}
}
@@ -156,7 +156,7 @@ public RestAzureNS.AzureOperationResponse DeleteProtectedItem(
resourceGroupName ?? BmsAdapter.GetResourceGroupName(),
AzureFabricName,
containerName,
- protectedItemName,
+ protectedItemName,
cancellationToken: BmsAdapter.CmdletCancellationToken).Result;
}
@@ -231,7 +231,7 @@ public List ListProtectedItem(
string skipToken = default(string),
string vaultName = null,
string resourceGroupName = null)
- {
+ {
Func> listAsync =
() => CrrAdapter.Client.BackupProtectedItemsCrr.ListWithHttpMessagesAsync(
vaultName ?? BmsAdapter.GetResourceName(),
@@ -383,7 +383,7 @@ public List ListProtectionIntent(
///
/// Lists workload items according to the query filter and the pagination params
///
- ///
+ /// Name of the container which this item belongs to
/// Query filter
/// Skip token for pagination
///
diff --git a/src/RecoveryServices/RecoveryServices.Backup.ServiceClientAdapter/BMSAPIs/OperationStatusAPIs.cs b/src/RecoveryServices/RecoveryServices.Backup.ServiceClientAdapter/BMSAPIs/OperationStatusAPIs.cs
index 677881b4da18..1adb70811025 100644
--- a/src/RecoveryServices/RecoveryServices.Backup.ServiceClientAdapter/BMSAPIs/OperationStatusAPIs.cs
+++ b/src/RecoveryServices/RecoveryServices.Backup.ServiceClientAdapter/BMSAPIs/OperationStatusAPIs.cs
@@ -44,7 +44,7 @@ public RestAzureNS.AzureOperationResponse
///
/// Gets status of a generic operation on the protected item using the operation ID
///
- ///
+ /// secondary region where to trigger the restore
/// ID of the operation in progress
/// Operation status response returned by the service
public RestAzureNS.AzureOperationResponse
@@ -105,7 +105,7 @@ public RestAzureNS.AzureOperationResponse GetContainerRefreshOrInquiryOperationR
/// Gets result of the refresh operation on the protection container using the operation ID
///
/// ID of the operation in progress
- ///
+ /// Name of the container which this item belongs to
///
///
///
diff --git a/src/RecoveryServices/RecoveryServices.Backup.ServiceClientAdapter/BMSAPIs/RecoveryPointsAPIs.cs b/src/RecoveryServices/RecoveryServices.Backup.ServiceClientAdapter/BMSAPIs/RecoveryPointsAPIs.cs
index 6757ccc0046f..0a2ce2b5cf32 100644
--- a/src/RecoveryServices/RecoveryServices.Backup.ServiceClientAdapter/BMSAPIs/RecoveryPointsAPIs.cs
+++ b/src/RecoveryServices/RecoveryServices.Backup.ServiceClientAdapter/BMSAPIs/RecoveryPointsAPIs.cs
@@ -127,7 +127,7 @@ public List GetRecoveryPoints(
///
/// Name of the container which the item belongs to
/// Name of the item
- ///
+ /// List Recovery points Recommended for Move Request
///
///
/// List of recovery points
@@ -145,7 +145,7 @@ public List GetMoveRecommendedRecoveryPoints(
AzureFabricName,
containerName,
protectedItemName,
- moveRequest
+ moveRequest
).Result.Body;
Func> listNextAsync =
@@ -162,7 +162,7 @@ public List GetMoveRecommendedRecoveryPoints(
///
/// Name of the container which the item belongs to
/// Name of the item
- ///
+ /// Move Resource Across Tiers Request
///
///
///
diff --git a/src/RecoveryServices/RecoveryServices.Backup/RSBackupVaultCmdletBase.cs b/src/RecoveryServices/RecoveryServices.Backup/RSBackupVaultCmdletBase.cs
index cf1a6da1c5c1..559e85b5f999 100644
--- a/src/RecoveryServices/RecoveryServices.Backup/RSBackupVaultCmdletBase.cs
+++ b/src/RecoveryServices/RecoveryServices.Backup/RSBackupVaultCmdletBase.cs
@@ -59,8 +59,8 @@ public CmdletModel.JobBase GetJobObject(string jobId, string vaultName = null, s
///
/// Get the job PS model after fetching the job object from the service given the job ID.
///
- ///
- ///
+ /// secondaryRegion for the vault
+ /// ResourceId of the vault to be fetched
/// ID of the job to be fetched
///
public CmdletModel.JobBase GetCrrJobObject(string secondaryRegion, string vaultId, string jobId)
@@ -68,7 +68,7 @@ public CmdletModel.JobBase GetCrrJobObject(string secondaryRegion, string vaultI
CrrModel.CrrJobRequest jobRequest = new CrrModel.CrrJobRequest();
jobRequest.JobName = jobId;
jobRequest.ResourceId = vaultId;
-
+
JobBase job = JobConversions.GetPSJobCrr(ServiceClientAdapter.GetCRRJobDetails(
secondaryRegion,
jobRequest));
diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrClient.cs b/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrClient.cs
index feca29838b58..7b8f8f11d922 100644
--- a/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrClient.cs
+++ b/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrClient.cs
@@ -82,7 +82,7 @@ public partial class PSRecoveryServicesClient
/// Initializes a new instance of the class with
/// required current subscription.
///
- ///
+ /// Azure context.
public PSRecoveryServicesClient(
IAzureContextContainer azureProfile)
{
diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrComputeManagementClient.cs b/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrComputeManagementClient.cs
index d881f1750fd4..d821df729b2b 100644
--- a/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrComputeManagementClient.cs
+++ b/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrComputeManagementClient.cs
@@ -54,7 +54,7 @@ public partial class PSAsrComputeManagementClient
/// Initializes a new instance of the class with
/// required current subscription.
///
- ///
+ /// Azure context.
public PSAsrComputeManagementClient(
IAzureContextContainer azureProfile)
{
diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrEventClient.cs b/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrEventClient.cs
index 435adaf58b8d..c0e82292ef2f 100644
--- a/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrEventClient.cs
+++ b/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrEventClient.cs
@@ -26,7 +26,7 @@ public partial class PSRecoveryServicesClient
///
/// Gets the events.
///
- ///
+ /// The name of the Azure Site Recovery event.
///
public EventModel GetAzureRmSiteRecoveryEvent(string eventName)
{
diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrNetworkClient.cs b/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrNetworkClient.cs
index facafe08c2a5..a1b3c6e19052 100644
--- a/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrNetworkClient.cs
+++ b/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrNetworkClient.cs
@@ -68,7 +68,7 @@ public List GetAzureSiteRecoveryNetworks()
///
/// Gets all Azure Site Recovery Networks under a Server
///
- ///
+ /// Fabric name
/// Network list response
public List GetAzureSiteRecoveryNetworks(
string fabricName)
diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrNetworkMappingClient.cs b/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrNetworkMappingClient.cs
index 3f64eaf2a0df..4c983495e146 100644
--- a/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrNetworkMappingClient.cs
+++ b/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrNetworkMappingClient.cs
@@ -105,7 +105,7 @@ public NetworkMapping GetAzureSiteRecoveryNetworkMappings(
/// Primary fabric name
/// Primary network name
/// Mapping name
- ///
+ /// Input data to be passed as request body.
/// Long running operation response
public PSSiteRecoveryLongRunningOperation NewAzureSiteRecoveryNetworkMapping(
string primaryFabricName,
diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrPolicyClient.cs b/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrPolicyClient.cs
index 2c3b51f70645..a39a22840ed7 100644
--- a/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrPolicyClient.cs
+++ b/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrPolicyClient.cs
@@ -26,7 +26,7 @@ public partial class PSRecoveryServicesClient
///
/// Creates Azure Site Recovery Policy.
///
- /// Policy name
+ /// Policy Name
/// Policy Input
/// Long operation response
public PSSiteRecoveryLongRunningOperation CreatePolicy(
@@ -47,7 +47,7 @@ public PSSiteRecoveryLongRunningOperation CreatePolicy(
///
/// Deletes Azure Site Recovery Policy.
///
- ///
+ /// Policy Name
/// Long operation response
public PSSiteRecoveryLongRunningOperation DeletePolicy(
string policyName)
diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrProtectionContainerClient.cs b/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrProtectionContainerClient.cs
index 7cd63a80cfce..120805f72885 100644
--- a/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrProtectionContainerClient.cs
+++ b/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrProtectionContainerClient.cs
@@ -100,6 +100,7 @@ public List GetAzureSiteRecoveryProtectionContainer()
///
/// Gets Azure Site Recovery Protection Container.
///
+ /// Fabric Name
/// Protection Container list response
public List GetAzureSiteRecoveryProtectionContainer(
string fabricName)
@@ -127,7 +128,7 @@ public List GetAzureSiteRecoveryProtectionContainer(
///
/// Gets Azure Site Recovery Protection Container.
///
- ///
+ /// Fabric Name
/// Protection Container ID
/// Protection Container response
public ProtectionContainer GetAzureSiteRecoveryProtectionContainer(
diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSEvent.cs b/src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSEvent.cs
index da75e31cc5d7..4a42f32b5985 100644
--- a/src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSEvent.cs
+++ b/src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSEvent.cs
@@ -145,7 +145,7 @@ private IList TranslateHealthErrors(IList healthErr
///
/// Translate Health errors to Powershell object.
///
- /// Rest API ASREventSpecificDetails object.
+ /// Rest API EventSpecificDetails object.
///
private ASREventSpecificDetails TranslateEventSpecificDetails(
EventSpecificDetails eventSpecificDetails)
@@ -160,7 +160,7 @@ private ASREventSpecificDetails TranslateEventSpecificDetails(
///
/// Translate Health errors to Powershell object.
///
- /// Rest API ASREventSpecificDetails object.
+ /// Rest API EventProviderSpecificDetails object.
///
private ASREventProviderSpecificDetails TranslateProviderSpecificEventDetails(
EventProviderSpecificDetails eventSpecificDetails)
@@ -319,7 +319,7 @@ public class ASRHyperVReplicaAzureEventDetails : ASREventProviderSpecificDetails
///
/// Converts REST API object to Powershell object.
///
- ///
+ /// Internal object for a monitoring event.
///
/// REST API object for HyperVReplica E2A event provider specific
/// details.
diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSObjects.cs b/src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSObjects.cs
index af810cf5025b..f7117e766078 100644
--- a/src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSObjects.cs
+++ b/src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSObjects.cs
@@ -94,7 +94,7 @@ public ASRRecoveryServicesProvider()
/// required
/// parameters.
///
- ///
+ /// Recovery Service Provider object
public ASRRecoveryServicesProvider(
RecoveryServicesProvider provider)
{
@@ -132,7 +132,7 @@ public ASRRecoveryServicesProvider(
public string ID { get; set; }
///
- /// Gets or sets the Type of Management entity ?VMM, V-Center.
+ /// Gets or sets the Type of Management entity - VMM, V-Center.
///
public string Type { get; set; }
@@ -181,6 +181,7 @@ public ASRFabric()
///
/// Initializes a new instance of the class.
///
+ /// Fabric object
public ASRFabric(
Fabric fabric)
{
@@ -1445,6 +1446,7 @@ private void UpdateDiskDetails(
public class ASRFabricSpecificVMDetails
{
}
+
///
/// Azure Site Recovery Replication Protected Item.
///
@@ -2014,7 +2016,7 @@ public ASRGroupTaskDetails()
///
/// Initializes a new instance of the class.
///
- ///
+ /// Task details to load values from.
public ASRGroupTaskDetails(
GroupTaskDetails groupTaskDetails)
{
@@ -2743,9 +2745,6 @@ public ASRAzuretoAzureDiskReplicationConfig()
{
}
- ///
- /// Initializes a new instance of the class.
- ///
///
/// Gets or sets the disk uri.
///
diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery/Utilities/Utilities.cs b/src/RecoveryServices/RecoveryServices.SiteRecovery/Utilities/Utilities.cs
index 91d279fac2f8..e14ba78de615 100644
--- a/src/RecoveryServices/RecoveryServices.SiteRecovery/Utilities/Utilities.cs
+++ b/src/RecoveryServices/RecoveryServices.SiteRecovery/Utilities/Utilities.cs
@@ -169,7 +169,7 @@ public static string GetProviderNameSpaceFromArmId(
///
/// Get Value from ARM ID
///
- ///
+ /// ARM Id.
///
/// the key
public static string GetValueFromArmId(
diff --git a/src/RecoveryServices/RecoveryServices/Common/PSRecoveryServicesClient.cs b/src/RecoveryServices/RecoveryServices/Common/PSRecoveryServicesClient.cs
index 4fb7b8a5bbbf..34bd496370cf 100644
--- a/src/RecoveryServices/RecoveryServices/Common/PSRecoveryServicesClient.cs
+++ b/src/RecoveryServices/RecoveryServices/Common/PSRecoveryServicesClient.cs
@@ -97,7 +97,7 @@ public ResourceManagementClient RmClient
/// Initializes a new instance of the class with
/// required current subscription.
///
- ///
+ /// Azure context.
public PSRecoveryServicesClient(IAzureContext defaultContext)
{
string resourceType = string.Empty;
diff --git a/src/RecoveryServices/RecoveryServices/Common/PSRecoveryServicesVaultClient.cs b/src/RecoveryServices/RecoveryServices/Common/PSRecoveryServicesVaultClient.cs
index 9d0fec32d464..7bf70cbfca71 100644
--- a/src/RecoveryServices/RecoveryServices/Common/PSRecoveryServicesVaultClient.cs
+++ b/src/RecoveryServices/RecoveryServices/Common/PSRecoveryServicesVaultClient.cs
@@ -63,13 +63,13 @@ public Vault CreateVault(string resouceGroupName, string vaultName, Vault vault)
resouceGroupName, vaultName, vault, GetRequestHeaders()).Result.Body;
}
- ///
+ ///
/// Method to create or update Recovery Services Vault.
- ///
- /// Name of the resouce group
- /// Name of the vault
+ ///
+ /// Name of the resouce group
+ /// Name of the vault
/// patch vault object to patch the recovery services Vault
- /// Azure Recovery Services Vault.
+ /// Azure Recovery Services Vault.
public Vault UpdateRSVault(string resouceGroupName, string vaultName, PatchVault vault)
{
var response = GetRecoveryServicesClient.Vaults.UpdateWithHttpMessagesAsync(resouceGroupName, vaultName, vault).Result;
@@ -105,13 +105,13 @@ public Rest.Azure.AzureOperationResponse DeleteVault(string resouceGroupName, st
}
- ///
- /// Method to Update Azure Recovery Services Vault Backup Properties
- ///
- /// Name of the resouce group
+ ///
+ /// Method to Update Azure Recovery Services Vault Backup Properties
+ ///
+ /// Name of the resouce group
/// Name of the vault
- ///
- /// Azure Operation response object.
+ /// Backup Properties Update
+ /// Azure Operation response object.
public void UpdateVaultStorageType(string resouceGroupName, string vaultName,
BackupResourceConfigResource backupStorageConfig)
{
@@ -119,13 +119,13 @@ public void UpdateVaultStorageType(string resouceGroupName, string vaultName,
vaultName, resouceGroupName, backupStorageConfig, GetRequestHeaders());
}
- ///
- /// Method to Patch Azure Recovery Services Vault Backup Properties
- ///
- /// Name of the resouce group
+ ///
+ /// Method to Patch Azure Recovery Services Vault Backup Properties
+ ///
+ /// Name of the resouce group
/// Name of the vault
- ///
- /// Azure Operation response object.
+ /// Backup Properties Update
+ /// Azure Operation response object.
public void PatchVaultStorageConfigProperties(string resouceGroupName, string vaultName,
BackupResourceConfigResource backupStorageConfig)
{
@@ -133,12 +133,12 @@ public void PatchVaultStorageConfigProperties(string resouceGroupName, string va
vaultName, resouceGroupName, backupStorageConfig, GetRequestHeaders());
}
- ///
- /// Method to Get Azure Recovery Services Vault Backup Properties
- ///
- /// Name of the resouce group
- /// Name of the vault
- /// Azure Resource Storage response object.
+ ///
+ /// Method to Get Azure Recovery Services Vault Backup Properties
+ ///
+ /// Name of the resouce group
+ /// Name of the vault
+ /// Azure Resource Storage response object.
public BackupResourceConfigResource GetVaultStorageConfig(string resouceGroupName, string vaultName)
{
return GetRecoveryServicesBackupClient.BackupResourceStorageConfigsNonCRR.GetWithHttpMessagesAsync(
diff --git a/src/RecoveryServices/RecoveryServices/Common/PSRecoveryServicesVaultExtendedInfoClient.cs b/src/RecoveryServices/RecoveryServices/Common/PSRecoveryServicesVaultExtendedInfoClient.cs
index c53f5e4f3b35..555bdc47a6e2 100644
--- a/src/RecoveryServices/RecoveryServices/Common/PSRecoveryServicesVaultExtendedInfoClient.cs
+++ b/src/RecoveryServices/RecoveryServices/Common/PSRecoveryServicesVaultExtendedInfoClient.cs
@@ -240,8 +240,8 @@ public ASRVaultCreds ChangeVaultContext(ARSVault vault)
///
/// Changes the Vault context
///
- /// Name of the vault
/// Name of the resouce group
+ /// Name of the vault
/// credential object
public long? getVaultAuthType(string resourceGroupName, string vaultName)
{
diff --git a/src/RecoveryServices/RecoveryServices/Models/PSContracts.cs b/src/RecoveryServices/RecoveryServices/Models/PSContracts.cs
index 10b584b0fe61..8a484f2ae0ec 100644
--- a/src/RecoveryServices/RecoveryServices/Models/PSContracts.cs
+++ b/src/RecoveryServices/RecoveryServices/Models/PSContracts.cs
@@ -380,14 +380,14 @@ public ASRVaultCreds()
/// subscription Id
/// resource name
/// management cert
- /// authenticating service namespace
+ /// authenticating service namespace
/// Agent Channel Integrity Key
/// cloud service name
/// custom site Id
/// custom site name
- /// Name of the resouce group
- ///
- ///
+ /// resource namespace
+ /// resource type
+ /// vault location
public ASRVaultCreds(
string subscriptionId,
string resourceName,
diff --git a/src/RecoveryServices/RecoveryServices/Utilities/Utilities.cs b/src/RecoveryServices/RecoveryServices/Utilities/Utilities.cs
index 2ddf41805dd1..2b5db78fd767 100644
--- a/src/RecoveryServices/RecoveryServices/Utilities/Utilities.cs
+++ b/src/RecoveryServices/RecoveryServices/Utilities/Utilities.cs
@@ -157,7 +157,7 @@ public static string GenerateRandomKey(int size)
///
/// Get Value from ARM ID
///
- ///
+ /// ARM Id.
///
/// the key
public static string GetValueFromArmId(string armId, string key)
diff --git a/src/RecoveryServices/RecoveryServices/Vault/GetAzureRMRecoveryServicesVaultSettingsFile.cs b/src/RecoveryServices/RecoveryServices/Vault/GetAzureRMRecoveryServicesVaultSettingsFile.cs
index 372382356387..4564c174a66d 100644
--- a/src/RecoveryServices/RecoveryServices/Vault/GetAzureRMRecoveryServicesVaultSettingsFile.cs
+++ b/src/RecoveryServices/RecoveryServices/Vault/GetAzureRMRecoveryServicesVaultSettingsFile.cs
@@ -559,7 +559,7 @@ private string GenerateVaultCreds(X509Certificate2 cert, string subscriptionId,
///
/// Generates vault creds file content for backup Vault
///
- ///
+ /// management certificate
/// subscription Id
///
/// xml file in string format