Skip to content

Commit

Permalink
adding test results
Browse files Browse the repository at this point in the history
  • Loading branch information
hiaga committed Dec 22, 2020
1 parent f7e6511 commit deaca5d
Show file tree
Hide file tree
Showing 35 changed files with 63,573 additions and 1,377,065 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,8 @@ public RestAzureNS.AzureOperationResponse TriggerRestore()
string[] restoreDiskList = (string[])ProviderData[RestoreVMBackupItemParams.RestoreDiskList];
SwitchParameter restoreOnlyOSDisk = (SwitchParameter)ProviderData[RestoreVMBackupItemParams.RestoreOnlyOSDisk];
SwitchParameter restoreAsUnmanagedDisks = (SwitchParameter)ProviderData[RestoreVMBackupItemParams.RestoreAsUnmanagedDisks];
String DiskEncryptionSet = (string)ProviderData[RestoreVMBackupItemParams.DiskEncryptionSetId];
String DiskEncryptionSetId = ProviderData.ContainsKey(RestoreVMBackupItemParams.DiskEncryptionSetId) ?
(string)ProviderData[RestoreVMBackupItemParams.DiskEncryptionSetId].ToString() : null;

Dictionary<UriEnums, string> uriDict = HelperUtils.ParseUri(rp.Id);
string containerUri = HelperUtils.GetContainerUri(uriDict, rp.Id);
Expand Down Expand Up @@ -447,7 +448,7 @@ public RestAzureNS.AzureOperationResponse TriggerRestore()
null,
OriginalStorageAccountOption = useOsa,
RestoreDiskLunList = restoreDiskLUNS,
DiskEncryptionSetId = DiskEncryptionSet
DiskEncryptionSetId = DiskEncryptionSetId
};

RestoreRequestResource triggerRestoreRequest = new RestoreRequestResource();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,7 @@ function Test-AzureFSCancelJob
$item = Enable-Protection $vault $fileShareFriendlyName $saName

# Trigger backup and wait for completion
$backupJob = Backup-AzRecoveryServicesBackupItem ` -VaultId $vault.ID -Item $item

Assert-True { $backupJob.Status -eq "InProgress" }
$backupJob = Backup-AzRecoveryServicesBackupItem -VaultId $vault.ID -Item $item

$cancelledJob = Stop-AzRecoveryServicesBackupJob -VaultId $vault.ID -Job $backupJob

Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,256 +1,68 @@
{
"Entries": [
{
"RequestUri": "/subscriptions/f7424430-103b-4ba3-bd9e-b6f0986f848a/resourceGroups/pstestrg/providers/Microsoft.RecoveryServices/vaults?api-version=2016-06-01",
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjc0MjQ0MzAtMTAzYi00YmEzLWJkOWUtYjZmMDk4NmY4NDhhL3Jlc291cmNlR3JvdXBzL3BzdGVzdHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVjb3ZlcnlTZXJ2aWNlcy92YXVsdHM/YXBpLXZlcnNpb249MjAxNi0wNi0wMQ==",
"RequestUri": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstestrg/providers/Microsoft.RecoveryServices/vaults/pstestrsvault?api-version=2016-06-01",
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMzgzMDRlMTMtMzU3ZS00MDVlLTllOWEtMjIwMzUxZGNjZThjL3Jlc291cmNlR3JvdXBzL3BzdGVzdHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVjb3ZlcnlTZXJ2aWNlcy92YXVsdHMvcHN0ZXN0cnN2YXVsdD9hcGktdmVyc2lvbj0yMDE2LTA2LTAx",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
"f5ceb295-329f-4eea-8ad4-3628eaf7dc20-2016-11-17 12:44:31Z-P"
"8ff349b5-7b24-4913-b8d3-d43101a20a5f-2020-12-21 16:16:14Z-P"
],
"x-ms-version": [
"2015-01-01"
"Accept-Language": [
"en-US"
],
"User-Agent": [
"Microsoft.Azure.Management.RecoveryServices.RecoveryServicesManagementClient/3.0.0.0"
"FxVersion/4.6.29321.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
"Microsoft.Azure.Management.RecoveryServices.RecoveryServicesClient/4.3.1.0"
]
},
"ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"pstestrsvault\",\r\n \"etag\": \"W/\\\"datetime'2016-11-10T12%3A32%3A19.0555189Z'\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/f7424430-103b-4ba3-bd9e-b6f0986f848a/resourceGroups/pstestrg/providers/Microsoft.RecoveryServices/vaults/pstestrsvault\",\r\n \"type\": \"Microsoft.RecoveryServices/vaults\",\r\n \"sku\": {\r\n \"name\": \"RS0\",\r\n \"tier\": \"Standard\"\r\n }\r\n }\r\n ]\r\n}",
"ResponseHeaders": {
"Content-Length": [
"384"
],
"Content-Type": [
"application/json"
],
"Expires": [
"-1"
],
"Pragma": [
"no-cache"
],
"x-ms-request-id": [
"a8dbb397-bbac-4b96-939b-486780c9f464"
],
"x-ms-client-request-id": [
"f5ceb295-329f-4eea-8ad4-3628eaf7dc20-2016-11-17 12:44:31Z-P"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14876"
],
"x-ms-correlation-request-id": [
"a8dbb397-bbac-4b96-939b-486780c9f464"
],
"x-ms-routing-request-id": [
"SOUTHINDIA:20161117T124433Z:a8dbb397-bbac-4b96-939b-486780c9f464"
],
"Cache-Control": [
"no-cache"
],
"Date": [
"Thu, 17 Nov 2016 12:44:32 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
]
},
"StatusCode": 200
},
{
"RequestUri": "/subscriptions/f7424430-103b-4ba3-bd9e-b6f0986f848a/resourceGroups/pstestrg/providers/Microsoft.RecoveryServices/vaults/pstestrsvault?api-version=2016-06-01",
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjc0MjQ0MzAtMTAzYi00YmEzLWJkOWUtYjZmMDk4NmY4NDhhL3Jlc291cmNlR3JvdXBzL3BzdGVzdHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVjb3ZlcnlTZXJ2aWNlcy92YXVsdHMvcHN0ZXN0cnN2YXVsdD9hcGktdmVyc2lvbj0yMDE2LTA2LTAx",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
"7bacf3c1-bc82-4801-bfdf-ad92f0cb45f4-2016-11-17 12:44:33Z-P"
],
"x-ms-version": [
"2015-01-01"
],
"User-Agent": [
"Microsoft.Azure.Management.RecoveryServices.RecoveryServicesManagementClient/3.0.0.0"
]
},
"ResponseBody": "{\r\n \"location\": \"westus\",\r\n \"name\": \"pstestrsvault\",\r\n \"etag\": \"W/\\\"datetime'2016-11-10T12%3A32%3A19.0555189Z'\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/f7424430-103b-4ba3-bd9e-b6f0986f848a/resourceGroups/pstestrg/providers/Microsoft.RecoveryServices/vaults/pstestrsvault\",\r\n \"type\": \"Microsoft.RecoveryServices/vaults\",\r\n \"sku\": {\r\n \"name\": \"RS0\",\r\n \"tier\": \"Standard\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"372"
],
"Content-Type": [
"application/json"
],
"Expires": [
"-1"
],
"Pragma": [
"no-cache"
],
"x-ms-request-id": [
"4ef9d399-12a5-4589-a3ea-94b27356b626"
],
"x-ms-client-request-id": [
"7bacf3c1-bc82-4801-bfdf-ad92f0cb45f4-2016-11-17 12:44:33Z-P"
"x-ms-failure-cause": [
"gateway"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14875"
"x-ms-request-id": [
"1aafeb24-08d2-4db2-ad9c-e17374a4aa8c"
],
"x-ms-correlation-request-id": [
"4ef9d399-12a5-4589-a3ea-94b27356b626"
"1aafeb24-08d2-4db2-ad9c-e17374a4aa8c"
],
"x-ms-routing-request-id": [
"SOUTHINDIA:20161117T124433Z:4ef9d399-12a5-4589-a3ea-94b27356b626"
],
"Cache-Control": [
"no-cache"
],
"Date": [
"Thu, 17 Nov 2016 12:44:32 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
]
},
"StatusCode": 200
},
{
"RequestUri": "/Subscriptions/f7424430-103b-4ba3-bd9e-b6f0986f848a/resourceGroups/pstestrg/providers/Microsoft.RecoveryServices/vaults/pstestrsvault/backupEngines?$top=200&api-version=2016-12-01",
"EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjc0MjQ0MzAtMTAzYi00YmEzLWJkOWUtYjZmMDk4NmY4NDhhL3Jlc291cmNlR3JvdXBzL3BzdGVzdHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVjb3ZlcnlTZXJ2aWNlcy92YXVsdHMvcHN0ZXN0cnN2YXVsdC9iYWNrdXBFbmdpbmVzPyR0b3A9MjAwJmFwaS12ZXJzaW9uPTIwMTYtMTItMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
"d2b9f922-4c6d-4ec6-92ae-d87979e4d9ab"
],
"accept-language": [
"en-US"
],
"User-Agent": [
"Microsoft.Azure.Management.RecoveryServices.Backup.RecoveryServicesBackupClient/1.1.2"
]
},
"ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/Subscriptions/f7424430-103b-4ba3-bd9e-b6f0986f848a/resourceGroups/pstestrg/providers/Microsoft.RecoveryServices/vaults/pstestrsvault/backupEngines/PRCHIDEL-VEN2.FAREAST.CORP.MICROSOFT.COM\",\r\n \"name\": \"PRCHIDEL-VEN2.FAREAST.CORP.MICROSOFT.COM\",\r\n \"type\": \"Microsoft.RecoveryServices/vaults/backupEngines\",\r\n \"properties\": {\r\n \"friendlyName\": \"PRCHIDEL-VEN2.FAREAST.CORP.MICROSOFT.COM\",\r\n \"backupManagementType\": \"AzureBackupServer\",\r\n \"registrationStatus\": \"Registered\",\r\n \"healthStatus\": \"Healthy\",\r\n \"backupEngineType\": \"AzureBackupServerEngine\",\r\n \"canReRegister\": true,\r\n \"backupEngineId\": \"638292\"\r\n }\r\n }\r\n ]\r\n}",
"ResponseHeaders": {
"Content-Length": [
"583"
],
"Content-Type": [
"application/json"
],
"Expires": [
"-1"
],
"Pragma": [
"no-cache"
],
"x-ms-request-id": [
"1c8c9e4e-8c80-40dd-944b-d0074072d3e1"
],
"x-ms-client-request-id": [
"d2b9f922-4c6d-4ec6-92ae-d87979e4d9ab",
"d2b9f922-4c6d-4ec6-92ae-d87979e4d9ab"
"CENTRALINDIA:20201221T161615Z:1aafeb24-08d2-4db2-ad9c-e17374a4aa8c"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14869"
],
"x-ms-correlation-request-id": [
"1c8c9e4e-8c80-40dd-944b-d0074072d3e1"
],
"x-ms-routing-request-id": [
"SOUTHINDIA:20161117T124434Z:1c8c9e4e-8c80-40dd-944b-d0074072d3e1"
],
"Cache-Control": [
"no-cache"
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
"Thu, 17 Nov 2016 12:44:33 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
],
"X-Powered-By": [
"ASP.NET"
]
},
"StatusCode": 200
},
{
"RequestUri": "/Subscriptions/f7424430-103b-4ba3-bd9e-b6f0986f848a/resourceGroups/pstestrg/providers/Microsoft.RecoveryServices/vaults/pstestrsvault/backupEngines?$top=200&api-version=2016-12-01",
"EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZjc0MjQ0MzAtMTAzYi00YmEzLWJkOWUtYjZmMDk4NmY4NDhhL3Jlc291cmNlR3JvdXBzL3BzdGVzdHJnL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVjb3ZlcnlTZXJ2aWNlcy92YXVsdHMvcHN0ZXN0cnN2YXVsdC9iYWNrdXBFbmdpbmVzPyR0b3A9MjAwJmFwaS12ZXJzaW9uPTIwMTYtMTItMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
"8646b50e-cba9-4b14-bf37-bfda8db7a29b"
],
"accept-language": [
"en-US"
],
"User-Agent": [
"Microsoft.Azure.Management.RecoveryServices.Backup.RecoveryServicesBackupClient/1.1.2"
]
},
"ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/Subscriptions/f7424430-103b-4ba3-bd9e-b6f0986f848a/resourceGroups/pstestrg/providers/Microsoft.RecoveryServices/vaults/pstestrsvault/backupEngines/PRCHIDEL-VEN2.FAREAST.CORP.MICROSOFT.COM\",\r\n \"name\": \"PRCHIDEL-VEN2.FAREAST.CORP.MICROSOFT.COM\",\r\n \"type\": \"Microsoft.RecoveryServices/vaults/backupEngines\",\r\n \"properties\": {\r\n \"friendlyName\": \"PRCHIDEL-VEN2.FAREAST.CORP.MICROSOFT.COM\",\r\n \"backupManagementType\": \"AzureBackupServer\",\r\n \"registrationStatus\": \"Registered\",\r\n \"healthStatus\": \"Healthy\",\r\n \"backupEngineType\": \"AzureBackupServerEngine\",\r\n \"canReRegister\": true,\r\n \"backupEngineId\": \"638292\"\r\n }\r\n }\r\n ]\r\n}",
"ResponseHeaders": {
"Content-Length": [
"583"
"Mon, 21 Dec 2020 16:16:14 GMT"
],
"Content-Type": [
"application/json"
"application/json; charset=utf-8"
],
"Expires": [
"-1"
],
"Pragma": [
"no-cache"
],
"x-ms-request-id": [
"facb10a8-2213-4079-8705-fb0cc63d135d"
],
"x-ms-client-request-id": [
"8646b50e-cba9-4b14-bf37-bfda8db7a29b",
"8646b50e-cba9-4b14-bf37-bfda8db7a29b"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14868"
],
"x-ms-correlation-request-id": [
"facb10a8-2213-4079-8705-fb0cc63d135d"
],
"x-ms-routing-request-id": [
"SOUTHINDIA:20161117T124434Z:facb10a8-2213-4079-8705-fb0cc63d135d"
],
"Cache-Control": [
"no-cache"
],
"Date": [
"Thu, 17 Nov 2016 12:44:33 GMT"
],
"Server": [
"Microsoft-IIS/8.0"
],
"X-Powered-By": [
"ASP.NET"
"Content-Length": [
"100"
]
},
"StatusCode": 200
"ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'pstestrg' could not be found.\"\r\n }\r\n}",
"StatusCode": 404
}
],
"Names": {},
"Variables": {
"SubscriptionId": "f7424430-103b-4ba3-bd9e-b6f0986f848a"
"SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c"
}
}
Loading

0 comments on commit deaca5d

Please sign in to comment.