Skip to content

Commit 9dd6c1b

Browse files
author
Samuel Anudeep
committed
Merge pull request #128 from MabOneSdk/dev1
FI from dev1 into release
2 parents be0c203 + 3db2904 commit 9dd6c1b

File tree

15 files changed

+63
-41
lines changed

15 files changed

+63
-41
lines changed

ChangeLog.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,23 @@
2727
* Added Restart-AzureRemoteAppVm cmdlet
2828
* Azure HDInsight cmdlets
2929
* Added cmdlet help
30+
* Azure Backup - added the following cmdlets
31+
* Backup-AzureRMBackupItem
32+
* Register-AzureRMBackupContainer
33+
* Disable-AzureRMBackupProtection
34+
* Enable-AzureRMBackupProtection
35+
* Get-AzureRMBackupItem
36+
* Get-AzureRMBackupJob
37+
* Get-AzureRMBackupJobDetails
38+
* Stop-AzureRMBackupJob
39+
* Wait-AzureRMBackupJob
40+
* Get-AzureRMBackupProtectionPolicy
41+
* New-AzureRMBackupProtectionPolicy
42+
* New-AzureRMBackupRetentionPolicyObject
43+
* Remove-AzureRMBackupProtectionPolicy
44+
* Set-AzureRMBackupProtectionPolicy
45+
* Get-AzureRMBackupRecoveryPoint
46+
* Restore-AzureRMBackupItem
3047

3148
## 2015.08.07 version 0.9.6
3249
* Azure Batch cmdlets

src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/Commands.AzureBackup.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
</Reference>
4242
<Reference Include="Microsoft.Azure.Management.BackupServicesManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
4343
<SpecificVersion>False</SpecificVersion>
44-
<HintPath>..\Commands.AzureBackup\Resources\Microsoft.Azure.Management.BackupServicesManagement.dll</HintPath>
44+
<HintPath>..\..\..\packages\Microsoft.Azure.Management.BackupServices.1.0.3-preview\lib\net40\Microsoft.Azure.Management.BackupServicesManagement.dll</HintPath>
4545
</Reference>
4646
<Reference Include="Microsoft.Azure.ResourceManager, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
4747
<SpecificVersion>False</SpecificVersion>

src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupContainerTests/AzureBackupRegisterContainerScenarioTests.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@
326326
"Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
327327
]
328328
},
329-
"ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"powershellbvt\",\r\n \"Cloud Service\": \"powershellbvt\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"VM\",\r\n \"operation\": \"Register\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-18T15:40:36.3766125Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:02.8034889\",\r\n \"entityFriendlyName\": \"powershellbvt\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/2df287f4-5ba0-4530-b7bd-f78c34bace8a\",\r\n \"name\": \"2df287f4-5ba0-4530-b7bd-f78c34bace8a\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
329+
"ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"powershellbvt\",\r\n \"Cloud Service\": \"powershellbvt\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Register\",\r\n \"status\": \"InProgress\",\r\n \"startTimestamp\": \"2015-08-18T15:40:36.3766125Z\",\r\n \"endTimestamp\": \"2001-01-01T00:00:00Z\",\r\n \"duration\": \"00:00:02.8034889\",\r\n \"entityFriendlyName\": \"powershellbvt\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/2df287f4-5ba0-4530-b7bd-f78c34bace8a\",\r\n \"name\": \"2df287f4-5ba0-4530-b7bd-f78c34bace8a\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
330330
"ResponseHeaders": {
331331
"Content-Length": [
332332
"677"

src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupContainerTests/AzureBackupUnregisterContainerScenarioTests.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@
323323
"Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
324324
]
325325
},
326-
"ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"VM\",\r\n \"operation\": \"UnRegister\",\r\n \"status\": \"Failed\",\r\n \"startTimestamp\": \"2015-08-14T11:07:47.5082523Z\",\r\n \"endTimestamp\": \"2015-08-14T11:07:47.5082523Z\",\r\n \"duration\": \"00:00:00\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": [\r\n {\r\n \"errorCode\": 134607755,\r\n \"errorTitle\": \"\",\r\n \"errorString\": \"Failed to unregister a registered item.\",\r\n \"recommendations\": [\r\n \"This item contains protected child items. Please stop protection and then delete the protected child items before attempting to unregister the parent item.\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/15ba1ed4-4d41-478f-aca7-63eaef3435fe\",\r\n \"name\": \"15ba1ed4-4d41-478f-aca7-63eaef3435fe\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
326+
"ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Cloud Service\": \"hydrarecordvm\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"UnRegister\",\r\n \"status\": \"Failed\",\r\n \"startTimestamp\": \"2015-08-14T11:07:47.5082523Z\",\r\n \"endTimestamp\": \"2015-08-14T11:07:47.5082523Z\",\r\n \"duration\": \"00:00:00\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": [\r\n {\r\n \"errorCode\": 134607755,\r\n \"errorTitle\": \"\",\r\n \"errorString\": \"Failed to unregister a registered item.\",\r\n \"recommendations\": [\r\n \"This item contains protected child items. Please stop protection and then delete the protected child items before attempting to unregister the parent item.\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/15ba1ed4-4d41-478f-aca7-63eaef3435fe\",\r\n \"name\": \"15ba1ed4-4d41-478f-aca7-63eaef3435fe\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
327327
"ResponseHeaders": {
328328
"Content-Length": [
329329
"946"

src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupItemTestCases/DisableAzureBackupProtectionTest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
"Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
151151
]
152152
},
153-
"ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Delete Backup Data\": \"False\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"VM\",\r\n \"operation\": \"Unprotect\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T11:05:48.2402923Z\",\r\n \"endTimestamp\": \"2015-08-14T11:05:51.2752133Z\",\r\n \"duration\": \"00:00:03.0349210\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/f0e97977-1d36-4c5c-b20e-a83ca4a9a126\",\r\n \"name\": \"f0e97977-1d36-4c5c-b20e-a83ca4a9a126\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
153+
"ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Delete Backup Data\": \"False\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"Unprotect\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T11:05:48.2402923Z\",\r\n \"endTimestamp\": \"2015-08-14T11:05:51.2752133Z\",\r\n \"duration\": \"00:00:03.0349210\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/f0e97977-1d36-4c5c-b20e-a83ca4a9a126\",\r\n \"name\": \"f0e97977-1d36-4c5c-b20e-a83ca4a9a126\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
154154
"ResponseHeaders": {
155155
"Content-Length": [
156156
"682"

src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupItemTestCases/EnableAzureBackupProtectionTest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@
329329
"Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
330330
]
331331
},
332-
"ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Policy Name\": \"DefaultPolicy\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"VM\",\r\n \"operation\": \"ConfigureBackup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T09:44:53.0040851Z\",\r\n \"endTimestamp\": \"2015-08-14T09:44:55.3374369Z\",\r\n \"duration\": \"00:00:02.3333518\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/a9a103da-2f6c-41c9-8462-f4627facdddc\",\r\n \"name\": \"a9a103da-2f6c-41c9-8462-f4627facdddc\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
332+
"ResponseBody": "{\r\n \"properties\": {\r\n \"tasksList\": [],\r\n \"propertyBag\": {\r\n \"VM Name\": \"hydrarecordvm\",\r\n \"Policy Name\": \"DefaultPolicy\"\r\n },\r\n \"progressPercentage\": null,\r\n \"dynamicErrorMessage\": null,\r\n \"workloadType\": \"IaasVM\",\r\n \"operation\": \"ConfigureBackup\",\r\n \"status\": \"Completed\",\r\n \"startTimestamp\": \"2015-08-14T09:44:53.0040851Z\",\r\n \"endTimestamp\": \"2015-08-14T09:44:55.3374369Z\",\r\n \"duration\": \"00:00:02.3333518\",\r\n \"entityFriendlyName\": \"hydrarecordvm\",\r\n \"actionsInfo\": null,\r\n \"errorDetails\": null\r\n },\r\n \"id\": \"/subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/backuprg/providers/Microsoft.Backup/BackupVault/backuprn/jobs/a9a103da-2f6c-41c9-8462-f4627facdddc\",\r\n \"name\": \"a9a103da-2f6c-41c9-8462-f4627facdddc\",\r\n \"type\": \"Microsoft.Backup/BackupVault/jobs\"\r\n}",
333333
"ResponseHeaders": {
334334
"Content-Length": [
335335
"689"

src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/SessionRecords/Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupJobTests/GetAzureRMBackupJobTests.json

Lines changed: 24 additions & 24 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)