Skip to content

Commit ba4dc16

Browse files
committed
Adding session records
1 parent 03248ab commit ba4dc16

File tree

3 files changed

+146
-0
lines changed

3 files changed

+146
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,12 @@
155155
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
156156
</None>
157157
<None Include="SessionRecords\Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupTests\BackUpAzureBackUpItem.json" />
158+
<None Include="SessionRecords\Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupTests\GetAzureBackupJobTests.json" />
158159
<None Include="SessionRecords\Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupTests\GetRecoveryPointTests.json" />
159160
<None Include="SessionRecords\Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupTests\ListProtectionPolicyTests.json">
160161
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
161162
</None>
163+
<None Include="SessionRecords\Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests.AzureBackupTests\StopAzureBackupJobTests.json" />
162164
</ItemGroup>
163165
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
164166
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"Entries": [
3+
{
4+
"RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/swatirg1/providers/Microsoft.Backupseadev01/BackupVault/swatirn1/jobs?api-version=2014-09-01&StartTime=2015-05-16%2008:56:56%20AM&EndTime=2015-06-15%2008:56:56%20AM",
5+
"EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL3N3YXRpcmcxL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3Vwc2VhZGV2MDEvQmFja3VwVmF1bHQvc3dhdGlybjEvam9icz9hcGktdmVyc2lvbj0yMDE0LTA5LTAxJlN0YXJ0VGltZT0yMDE1LTA1LTE2JTIwMDglM0E1NiUzQTU2JTIwQU0mRW5kVGltZT0yMDE1LTA2LTE1JTIwMDglM0E1NiUzQTU2JTIwQU0=",
6+
"RequestMethod": "GET",
7+
"RequestBody": "",
8+
"RequestHeaders": {
9+
"Accept-Language": [
10+
"en-us"
11+
],
12+
"x-ms-client-request-id": [
13+
"7d6be94c-d6a6-442d-8f7b-c5670524e7f4-2015-06-15 08:56:56Z-PS"
14+
],
15+
"User-Agent": [
16+
"Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
17+
]
18+
},
19+
"ResponseBody": "{\r\n \"Objects\": [],\r\n \"ResultCount\": 0,\r\n \"Skiptoken\": \"-1\"\r\n}",
20+
"ResponseHeaders": {
21+
"Content-Length": [
22+
"47"
23+
],
24+
"Content-Type": [
25+
"application/json"
26+
],
27+
"Expires": [
28+
"-1"
29+
],
30+
"Pragma": [
31+
"no-cache"
32+
],
33+
"x-ms-request-id": [
34+
"4b0b4398-2544-445f-b7a9-43e4cc035097"
35+
],
36+
"x-ms-client-request-id": [
37+
"7d6be94c-d6a6-442d-8f7b-c5670524e7f4-2015-06-15 08:56:56Z-PS",
38+
"7d6be94c-d6a6-442d-8f7b-c5670524e7f4-2015-06-15 08:56:56Z-PS"
39+
],
40+
"Strict-Transport-Security": [
41+
"max-age=31536000; includeSubDomains"
42+
],
43+
"x-ms-ratelimit-remaining-subscription-reads": [
44+
"14999"
45+
],
46+
"x-ms-correlation-request-id": [
47+
"4b0b4398-2544-445f-b7a9-43e4cc035097"
48+
],
49+
"x-ms-routing-request-id": [
50+
"CENTRALUS:20150615T085659Z:4b0b4398-2544-445f-b7a9-43e4cc035097"
51+
],
52+
"Cache-Control": [
53+
"no-cache"
54+
],
55+
"Date": [
56+
"Mon, 15 Jun 2015 08:56:58 GMT"
57+
],
58+
"Server": [
59+
"Microsoft-IIS/8.0"
60+
],
61+
"X-Powered-By": [
62+
"ASP.NET"
63+
]
64+
},
65+
"StatusCode": 200
66+
}
67+
],
68+
"Names": {},
69+
"Variables": {
70+
"SubscriptionId": "f5303a0b-fae4-4cdb-b44d-0e4c032dde26"
71+
}
72+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"Entries": [
3+
{
4+
"RequestUri": "/Subscriptions/f5303a0b-fae4-4cdb-b44d-0e4c032dde26/resourceGroups/swatirg1/providers/Microsoft.Backupseadev01/BackupVault/swatirn1/jobs?api-version=2014-09-01&StartTime=2015-05-16%2007:32:11%20AM&EndTime=2015-06-15%2007:32:11%20AM",
5+
"EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjUzMDNhMGItZmFlNC00Y2RiLWI0NGQtMGU0YzAzMmRkZTI2L3Jlc291cmNlR3JvdXBzL3N3YXRpcmcxL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmFja3Vwc2VhZGV2MDEvQmFja3VwVmF1bHQvc3dhdGlybjEvam9icz9hcGktdmVyc2lvbj0yMDE0LTA5LTAxJlN0YXJ0VGltZT0yMDE1LTA1LTE2JTIwMDclM0EzMiUzQTExJTIwQU0mRW5kVGltZT0yMDE1LTA2LTE1JTIwMDclM0EzMiUzQTExJTIwQU0=",
6+
"RequestMethod": "GET",
7+
"RequestBody": "",
8+
"RequestHeaders": {
9+
"Accept-Language": [
10+
"en-us"
11+
],
12+
"x-ms-client-request-id": [
13+
"c7f3adaa-253e-4a49-a60a-725648ca5ea0-2015-06-15 07:32:11Z-PS"
14+
],
15+
"User-Agent": [
16+
"Microsoft.Azure.Management.BackupServices.BackupServicesManagementClient/0.0.0.0"
17+
]
18+
},
19+
"ResponseBody": "{\r\n \"Objects\": [],\r\n \"ResultCount\": 0,\r\n \"Skiptoken\": \"-1\"\r\n}",
20+
"ResponseHeaders": {
21+
"Content-Length": [
22+
"47"
23+
],
24+
"Content-Type": [
25+
"application/json"
26+
],
27+
"Expires": [
28+
"-1"
29+
],
30+
"Pragma": [
31+
"no-cache"
32+
],
33+
"x-ms-request-id": [
34+
"e6bf8224-c66c-4ff3-a777-8c41c378e687"
35+
],
36+
"x-ms-client-request-id": [
37+
"c7f3adaa-253e-4a49-a60a-725648ca5ea0-2015-06-15 07:32:11Z-PS",
38+
"c7f3adaa-253e-4a49-a60a-725648ca5ea0-2015-06-15 07:32:11Z-PS"
39+
],
40+
"Strict-Transport-Security": [
41+
"max-age=31536000; includeSubDomains"
42+
],
43+
"x-ms-ratelimit-remaining-subscription-reads": [
44+
"14999"
45+
],
46+
"x-ms-correlation-request-id": [
47+
"e6bf8224-c66c-4ff3-a777-8c41c378e687"
48+
],
49+
"x-ms-routing-request-id": [
50+
"CENTRALUS:20150615T073214Z:e6bf8224-c66c-4ff3-a777-8c41c378e687"
51+
],
52+
"Cache-Control": [
53+
"no-cache"
54+
],
55+
"Date": [
56+
"Mon, 15 Jun 2015 07:32:14 GMT"
57+
],
58+
"Server": [
59+
"Microsoft-IIS/8.0"
60+
],
61+
"X-Powered-By": [
62+
"ASP.NET"
63+
]
64+
},
65+
"StatusCode": 200
66+
}
67+
],
68+
"Names": {},
69+
"Variables": {
70+
"SubscriptionId": "f5303a0b-fae4-4cdb-b44d-0e4c032dde26"
71+
}
72+
}

0 commit comments

Comments
 (0)