Skip to content

Commit 70030fd

Browse files
authored
Azure backup documentation update (#13947)
* Azure backup documentation update * removing changeLog as per review
1 parent 51bcb4a commit 70030fd

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

src/RecoveryServices/RecoveryServices.Backup/Cmdlets/Item/EnableAzureRmRecoveryServicesBackupProtection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public class EnableAzureRmRecoveryServicesBackupProtection : RSBackupVaultCmdlet
4343
/// <summary>
4444
/// Policy to be associated with this item as part of the protection operation.
4545
/// </summary>
46-
[Parameter(Position = 1, Mandatory = false, HelpMessage = ParamHelpMsgs.Policy.ProtectionPolicy)]
46+
[Parameter(Position = 1, Mandatory = false, HelpMessage = ParamHelpMsgs.Policy.EnableProtectionPolicy)]
4747
[ValidateNotNullOrEmpty]
4848
public PolicyBase Policy { get; set; }
4949

src/RecoveryServices/RecoveryServices.Backup/ParamHelpMsgs.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ internal static class Policy
5757
public const string SchedulePolicy = "Schedule Policy object for the policy.";
5858
public const string ProtectionPolicy = "Protection policy object.";
5959
public const string FixForInConsistentItems = "Switch Parameter indicating whether or not to retry Policy Update for failed items.";
60+
public const string EnableProtectionPolicy = "Protection policy object. If policy ID is not present or the backup item is not associated with any" +
61+
" policy, then this command will expect a policyID.";
6062
}
6163

6264
internal static class Job

src/RecoveryServices/RecoveryServices/help/Enable-AzRecoveryServicesBackupProtection.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ Enable-AzRecoveryServicesBackupProtection [[-Policy] <PolicyBase>] [-Item] <Item
5151

5252
## DESCRIPTION
5353
The **Enable-AzRecoveryServicesBackupProtection** cmdlet enables the backup by associating a protection policy with the item.
54+
If policy ID is not present or the backup item is not associated with any policy, then this command will expect a policyID.
5455
Set the vault context by using the Set-AzRecoveryServicesVaultContext cmdlet before you use the current cmdlet.
5556

5657
## EXAMPLES

src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesBackupContainer.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ Get-AzRecoveryServicesBackupContainer [-ContainerType] <ContainerType> [[-Backup
2222

2323
## DESCRIPTION
2424

25-
The **Get-AzRecoveryServicesBackupContainer** cmdlet gets a backup container.
26-
A Backup container encapsulates data sources that are modelled as backup items.
25+
The **Get-AzRecoveryServicesBackupContainer** cmdlet gets a backup container. A Backup container encapsulates data sources that are modelled as backup items.
26+
For Container type "Azure VM" , the output lists all the containers whose name exactly matches to the one passed as the value for Friendly Name parameter.
27+
For other container types, output gives a list of containers with name similar to the value passed for Friendly name parameter.
2728
Set the vault context by using the -VaultId parameter.
2829

2930
## EXAMPLES

0 commit comments

Comments
 (0)