azure-storage
Version:
Microsoft Azure Storage Client Library for Node.js
1,020 lines (1,018 loc) • 62.6 kB
JavaScript
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_STORAGE_CONNECTION_STRING'] = 'TableEndpoint=http://yaxiatest.table.testch1.dnsdemo4.com/;QueueEndpoint=http://yaxiatest.queue.testch1.dnsdemo4.com/;FileEndpoint=http://yaxiatest.file.testch1.dnsdemo4.com/;BlobEndpoint=http://yaxiatest.blob.testch1.dnsdemo4.com/;AccountName=yaxiatest;AccountKey=null';
}
exports.scopes = [[function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata0?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'e6d82994-001a-0004-1a6f-6b4e43000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:30 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.put('/share-test-share-testdata0?restype=share')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:02:32 GMT',
etag: '"0x8D2398707B104EC"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '422a9035-001a-0001-296f-6bbf9a000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:31 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata0?restype=share')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:02:32 GMT',
etag: '"0x8D2398707B104EC"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'e6d829a9-001a-0004-2d6f-6b4e43000000',
'x-ms-version': '2015-02-21',
'x-ms-share-quota': '5120',
date: 'Tue, 31 Mar 2015 05:02:32 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata0?restype=share')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:02:32 GMT',
etag: '"0x8D2398707B104EC"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '422a9036-001a-0001-2a6f-6bbf9a000000',
'x-ms-version': '2015-02-21',
'x-ms-share-quota': '5120',
date: 'Tue, 31 Mar 2015 05:02:32 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.delete('/share-test-share-testdata0?restype=share')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'f9a04e51-001a-0002-116f-6b10d2000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:33 GMT',
connection: 'close' });
return result; }],
[function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata1?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'c0d06128-001a-0003-4c6f-6b75ea000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:34 GMT',
connection: 'close' });
return result; }],
[function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.put('/share-test-share-testdata2?restype=share')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:02:36 GMT',
etag: '"0x8D2398709D52A86"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '8bb75a8c-001a-0000-586f-6bdaa2000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:35 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.put('/share-test-share-testdata2?restype=share')
.reply(409, "<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>ShareAlreadyExists</Code><Message>The specified share already exists.\nRequestId:e6d829d2-001a-0004-526f-6b4e43000000\nTime:2015-03-31T05:02:35.4936236Z</Message><ExceptionDetails><ExceptionMessage>Container 'share-test-share-testdata2' already exists</ExceptionMessage><StackTrace>Microsoft.Cis.Services.Nephos.Common.Storage.ContainerAlreadyExistsException: Container 'share-test-share-testdata2' already exists ---> Microsoft.Cis.Services.Nephos.Common.Storage.ContainerAlreadyExistsException: Container 'share-test-share-testdata2' already exists ---> Microsoft.Cis.Services.Nephos.Common.Storage.ContainerAlreadyExistsException: Container 'share-test-share-testdata2' already exists\r\n at Microsoft.Cis.Services.Nephos.FileService.FileServiceManager.<CreateContainerImpl>d__1.MoveNext()\r\n at AsyncHelper.AsyncIteratorContextBase.ExecuteIterator(Boolean inBegin) in x:\\btsdx\\459377\\services\\xstore\\XFE\\external\\AsyncHelper\\src\\AsyncIteratorContextBase.cs:line 100\r\n --- End of inner exception stack trace ---\r\n at AsyncHelper.AsyncIteratorContextExtensions.End[TResultData](IAsyncResult asyncResult, RethrowableWrapperBehavior wrapperBehavior) in x:\\btsdx\\459377\\services\\xstore\\XFE\\common\\src\\Extensions\\AsyncIteratorContextExtensions.cs:line 56\r\n at Microsoft.Cis.Services.Nephos.FileService.FileHttpRestProcessor.<CreateContainerImpl>d__31.MoveNext()\r\n at AsyncHelper.AsyncIteratorContextBase.ExecuteIterator(Boolean inBegin) in x:\\btsdx\\459377\\services\\xstore\\XFE\\external\\AsyncHelper\\src\\AsyncIteratorContextBase.cs:line 100\r\n --- End of inner exception stack trace ---\r\n at Microsoft.Cis.Services.Nephos.Common.Protocols.Rest.BasicHttpProcessorWithAuthAndAccountContainer`1.EndPerformOperation(IAsyncResult ar) in x:\\btsdx\\459377\\services\\xstore\\XFE\\common\\Protocols\\REST\\src\\BasicHttpProcessorWithAuthAndAccountContainerBase.cs:line 3654\r\n at Microsoft.Cis.Services.Nephos.Common.Protocols.Rest.BasicHttpProcessorWithAuthAndAccountContainer`1.<ProcessImpl>d__0.MoveNext() in x:\\btsdx\\459377\\services\\xstore\\XFE\\common\\Protocols\\REST\\src\\BasicHttpProcessorWithAuthAndAccountContainerBase.cs:line 2601</StackTrace></ExceptionDetails></Error>", { 'content-length': '2243',
'content-type': 'application/xml',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'e6d829d2-001a-0004-526f-6b4e43000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:34 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata2?restype=share')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:02:36 GMT',
etag: '"0x8D2398709D52A86"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '422a9038-001a-0001-2b6f-6bbf9a000000',
'x-ms-version': '2015-02-21',
'x-ms-share-quota': '10',
date: 'Tue, 31 Mar 2015 05:02:35 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.delete('/share-test-share-testdata2?restype=share')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'f9a04eb1-001a-0002-6e6f-6b10d2000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:36 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata2?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'e6d829ee-001a-0004-6e6f-6b4e43000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:36 GMT',
connection: 'close' });
return result; }],
[function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata3?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '422a903b-001a-0001-2c6f-6bbf9a000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:37 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.put('/share-test-share-testdata3?restype=share')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:02:38 GMT',
etag: '"0x8D239870B7E25AE"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'f9a04ee6-001a-0002-236f-6b10d2000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:38 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata3?restype=share')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:02:38 GMT',
etag: '"0x8D239870B7E25AE"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'c0d061ae-001a-0003-4f6f-6b75ea000000',
'x-ms-version': '2015-02-21',
'x-ms-share-quota': '5120',
date: 'Tue, 31 Mar 2015 05:02:38 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata3?restype=share')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:02:38 GMT',
etag: '"0x8D239870B7E25AE"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '8bb75a90-001a-0000-596f-6bdaa2000000',
'x-ms-version': '2015-02-21',
'x-ms-share-quota': '5120',
date: 'Tue, 31 Mar 2015 05:02:40 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.delete('/share-test-share-testdata3?restype=share')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'e6d82a17-001a-0004-156f-6b4e43000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:38 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata3?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '422a9040-001a-0001-2d6f-6bbf9a000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:39 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.put('/share-test-share-testdata3?restype=share')
.reply(409, "<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>ShareBeingDeleted</Code><Message>The specified share is being deleted. Try operation later.\nRequestId:f9a04f52-001a-0002-0d6f-6b10d2000000\nTime:2015-03-31T05:02:41.4885998Z</Message><ExceptionDetails><ExceptionMessage>Exception of type 'Microsoft.Cis.Services.Nephos.Common.Storage.ContainerBeingDeletedException' was thrown.</ExceptionMessage><StackTrace>Microsoft.Cis.Services.Nephos.Common.Storage.ContainerBeingDeletedException: Exception of type 'Microsoft.Cis.Services.Nephos.Common.Storage.ContainerBeingDeletedException' was thrown. ---> Microsoft.Cis.Services.Nephos.Common.Storage.ContainerBeingDeletedException: Exception of type 'Microsoft.Cis.Services.Nephos.Common.Storage.ContainerBeingDeletedException' was thrown. ---> Microsoft.Cis.Services.Nephos.Common.Storage.ContainerBeingDeletedException: Exception of type 'Microsoft.Cis.Services.Nephos.Common.Storage.ContainerBeingDeletedException' was thrown. ---> Microsoft.Cis.Services.Nephos.Common.Storage.ContainerBeingDeletedException: Exception of type 'Microsoft.Cis.Services.Nephos.Common.Storage.ContainerBeingDeletedException' was thrown. ---> Microsoft.XStore.XContainerException: \"Container is being deleted.\"\r\n at Microsoft.XStore.XBlob.XContainer.EndCreateContainerInTable(IAsyncResult asyncResult) in x:\\btsdx\\459377\\services\\xstore\\xtable\\api\\managed\\xcontainer.cpp:line 886\r\n at Microsoft.Cis.Services.Nephos.Common.Storage.BaseBlobContainer.<CreateContainerImpl>d__19.MoveNext() in x:\\btsdx\\459377\\services\\xstore\\XFE\\providers\\xstore\\Blob\\BaseBlobContainer.cs:line 122\r\n --- End of inner exception stack trace ---\r\n at Microsoft.Cis.Services.Nephos.Common.Storage.ExceptionManager.ReThrowIfXStoreException(Exception e) in x:\\btsdx\\459377\\services\\xstore\\XFE\\providers\\xstore\\Blob\\ExceptionManager.cs:line 481\r\n at Microsoft.Cis.Services.Nephos.Common.Storage.BaseBlobContainer.<CreateContainerImpl>d__19.MoveNext() in x:\\btsdx\\459377\\services\\xstore\\XFE\\providers\\xstore\\Blob\\BaseBlobContainer.cs:line 127\r\n at AsyncHelper.AsyncIteratorContextBase.ExecuteIterator(Boolean inBegin) in x:\\btsdx\\459377\\services\\xstore\\XFE\\external\\AsyncHelper\\src\\AsyncIteratorContextBase.cs:line 100\r\n --- End of inner exception stack trace ---\r\n at Microsoft.Cis.Services.Nephos.Common.Storage.BaseBlobContainer.EndCreateContainer(IAsyncResult asyncResult) in x:\\btsdx\\459377\\services\\xstore\\XFE\\providers\\xstore\\Blob\\BaseBlobContainer.cs:line 86\r\n at Microsoft.Cis.Services.Nephos.FileService.FileServiceManager.<CreateContainerImpl>d__1.MoveNext()\r\n at AsyncHelper.AsyncIteratorContextBase.ExecuteIterator(Boolean inBegin) in x:\\btsdx\\459377\\services\\xstore\\XFE\\external\\AsyncHelper\\src\\AsyncIteratorContextBase.cs:line 100\r\n --- End of inner exception stack trace ---\r\n at AsyncHelper.AsyncIteratorContextExtensions.End[TResultData](IAsyncResult asyncResult, RethrowableWrapperBehavior wrapperBehavior) in x:\\btsdx\\459377\\services\\xstore\\XFE\\common\\src\\Extensions\\AsyncIteratorContextExtensions.cs:line 56\r\n at Microsoft.Cis.Services.Nephos.FileService.FileHttpRestProcessor.<CreateContainerImpl>d__31.MoveNext()\r\n at AsyncHelper.AsyncIteratorContextBase.ExecuteIterator(Boolean inBegin) in x:\\btsdx\\459377\\services\\xstore\\XFE\\external\\AsyncHelper\\src\\AsyncIteratorContextBase.cs:line 100\r\n --- End of inner exception stack trace ---\r\n at Microsoft.Cis.Services.Nephos.Common.Protocols.Rest.BasicHttpProcessorWithAuthAndAccountContainer`1.EndPerformOperation(IAsyncResult ar) in x:\\btsdx\\459377\\services\\xstore\\XFE\\common\\Protocols\\REST\\src\\BasicHttpProcessorWithAuthAndAccountContainerBase.cs:line 3654\r\n at Microsoft.Cis.Services.Nephos.Common.Protocols.Rest.BasicHttpProcessorWithAuthAndAccountContainer`1.<ProcessImpl>d__0.MoveNext() in x:\\btsdx\\459377\\services\\xstore\\XFE\\common\\Protocols\\REST\\src\\BasicHttpProcessorWithAuthAndAccountContainerBase.cs:line 2601</StackTrace></ExceptionDetails></Error>", { 'content-length': '4002',
'content-type': 'application/xml',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'f9a04f52-001a-0002-0d6f-6b10d2000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:40 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata3?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'c0d061f5-001a-0003-156f-6b75ea000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:41 GMT',
connection: 'close' });
return result; }],
[function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata4?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '8bb75a93-001a-0000-5a6f-6bdaa2000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:42 GMT',
connection: 'close' });
return result; }],
[function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata5?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'e6d82a3f-001a-0004-3b6f-6b4e43000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:41 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata5?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '422a9043-001a-0001-2e6f-6bbf9a000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:42 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.put('/share-test-share-testdata5?restype=share')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:02:44 GMT',
etag: '"0x8D239870E9B23A8"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'c0d0622c-001a-0003-4a6f-6b75ea000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:43 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata5?restype=share')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:02:44 GMT',
etag: '"0x8D239870E9B23A8"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '8bb75a95-001a-0000-5b6f-6bdaa2000000',
'x-ms-version': '2015-02-21',
'x-ms-share-quota': '5120',
date: 'Tue, 31 Mar 2015 05:02:44 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.delete('/share-test-share-testdata5?restype=share')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'e6d82a5c-001a-0004-576f-6b4e43000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:43 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata5?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '422a9045-001a-0001-2f6f-6bbf9a000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:44 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata5?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'f9a05004-001a-0002-3a6f-6b10d2000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:45 GMT',
connection: 'close' });
return result; }],
[function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata6?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'c0d06271-001a-0003-0c6f-6b75ea000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:45 GMT',
connection: 'close' });
return result; }],
[function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata7?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '8bb75a98-001a-0000-5c6f-6bdaa2000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:47 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.put('/share-test-share-testdata7?restype=share')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:02:47 GMT',
etag: '"0x8D239871060F650"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'e6d82a81-001a-0004-7b6f-6b4e43000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:47 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.put('/share-test-share-testdata7?restype=share&comp=properties')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:02:48 GMT',
etag: '"0x8D2398711642106"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '422a9049-001a-0001-306f-6bbf9a000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:47 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata7?restype=share')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:02:48 GMT',
etag: '"0x8D2398711642106"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'f9a05057-001a-0002-0b6f-6b10d2000000',
'x-ms-version': '2015-02-21',
'x-ms-share-quota': '30',
date: 'Tue, 31 Mar 2015 05:02:48 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.delete('/share-test-share-testdata7?restype=share')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'c0d062be-001a-0003-566f-6b75ea000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:48 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata7?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '8bb75a9a-001a-0000-5d6f-6bdaa2000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:49 GMT',
connection: 'close' });
return result; }],
[function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata8?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'e6d82aa3-001a-0004-1b6f-6b4e43000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:49 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.put('/share-test-share-testdata8?restype=share')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:02:50 GMT',
etag: '"0x8D239871271A514"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '422a904b-001a-0001-316f-6bbf9a000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:50 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.put('/share-test-share-testdata8?restype=share&comp=metadata')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:02:51 GMT',
etag: '"0x8D239871341604E"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'f9a050a7-001a-0002-596f-6b10d2000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:50 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata8?restype=share')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:02:51 GMT',
etag: '"0x8D239871341604E"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'c0d062ff-001a-0003-156f-6b75ea000000',
'x-ms-version': '2015-02-21',
'x-ms-meta-color': 'Blue',
'x-ms-share-quota': '5120',
date: 'Tue, 31 Mar 2015 05:02:51 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.delete('/share-test-share-testdata8?restype=share')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '8bb75a9d-001a-0000-5e6f-6bdaa2000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:52 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata8?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '422a904f-001a-0001-326f-6bbf9a000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:52 GMT',
connection: 'close' });
return result; }],
[function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata9?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'f9a050f2-001a-0002-236f-6b10d2000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:52 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.put('/share-test-share-testdata9?restype=share')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:02:54 GMT',
etag: '"0x8D23987148DF768"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'c0d0633f-001a-0003-536f-6b75ea000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:53 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.put('/share-test-share-testdata9?restype=share&comp=metadata')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:02:55 GMT',
etag: '"0x8D23987151F3BD2"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '8bb75a9f-001a-0000-5f6f-6bdaa2000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:54 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata9?restype=share&comp=metadata')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:02:55 GMT',
etag: '"0x8D23987151F3BD2"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'e6d82af1-001a-0004-646f-6b4e43000000',
'x-ms-version': '2015-02-21',
'x-ms-meta-class': 'test',
date: 'Tue, 31 Mar 2015 05:02:54 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.delete('/share-test-share-testdata9?restype=share')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '422a9052-001a-0001-336f-6bbf9a000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:55 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata9?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'f9a05157-001a-0002-066f-6b10d2000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:55 GMT',
connection: 'close' });
return result; }],
[function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata10?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'c0d06399-001a-0003-2c6f-6b75ea000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:55 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.put('/share-test-share-testdata10?restype=share')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:02:57 GMT',
etag: '"0x8D2398716BDC316"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '8bb75aa4-001a-0000-606f-6bdaa2000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:57 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.put('/share-test-share-testdata10?restype=share&comp=metadata')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:02:58 GMT',
etag: '"0x8D2398717109ED6"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'e6d82b1c-001a-0004-0b6f-6b4e43000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:57 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata10?restype=share&comp=metadata')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:02:58 GMT',
etag: '"0x8D2398717109ED6"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '422a9055-001a-0001-346f-6bbf9a000000',
'x-ms-version': '2015-02-21',
'x-ms-meta-color': 'blue,Orange,Red',
date: 'Tue, 31 Mar 2015 05:02:57 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.delete('/share-test-share-testdata10?restype=share')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'f9a051b2-001a-0002-5f6f-6b10d2000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:58 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata10?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'c0d063e5-001a-0003-756f-6b75ea000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:58 GMT',
connection: 'close' });
return result; }],
[function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata11?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '8bb75aa7-001a-0000-616f-6bdaa2000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:59 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.put('/share-test-share-testdata11?restype=share')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:02:59 GMT',
etag: '"0x8D2398717F50C20"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'e6d82b46-001a-0004-346f-6b4e43000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:02:59 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.put('/share-test-share-testdata11?restype=share&comp=metadata')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:03:01 GMT',
etag: '"0x8D2398718FA39DD"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '422a9059-001a-0001-356f-6bbf9a000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:00 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata11?restype=share&comp=metadata')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:03:01 GMT',
etag: '"0x8D2398718FA39DD"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'f9a05223-001a-0002-4e6f-6b10d2000000',
'x-ms-version': '2015-02-21',
'x-ms-meta-color': 'blue,Orange,Red',
date: 'Tue, 31 Mar 2015 05:03:00 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.delete('/share-test-share-testdata11?restype=share')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'c0d06431-001a-0003-406f-6b75ea000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:01 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata11?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '8bb75aaa-001a-0000-626f-6bdaa2000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:02 GMT',
connection: 'close' });
return result; }],
[function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata12?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'e6d82b74-001a-0004-606f-6b4e43000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:02 GMT',
connection: 'close' });
return result; }],
[function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.put('/share-test-share-testdata14?restype=share')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:03:03 GMT',
etag: '"0x8D239871A0DD19E"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '422a905c-001a-0001-366f-6bbf9a000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:03 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.put('/share-test-share-testdata15?restype=share')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:03:04 GMT',
etag: '"0x8D239871AA69C1E"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'f9a0528d-001a-0002-356f-6b10d2000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:03 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.put('/share-test-share-testdata16?restype=share')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:03:04 GMT',
etag: '"0x8D239871AF3FF58"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'c0d06493-001a-0003-1e6f-6b75ea000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:03 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.put('/share-test-share-testdata17?restype=share')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:03:05 GMT',
etag: '"0x8D239871B838886"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '8bb75aac-001a-0000-636f-6bdaa2000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:05 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.get('/?comp=list&maxresults=3&include=metadata&prefix=share-test-share-')
.reply(200, "<?xml version=\"1.0\" encoding=\"utf-8\"?><EnumerationResults ServiceEndpoint=\"http://yaxiatest.file.testch1.dnsdemo4.com/\"><Prefix>share-test-share-</Prefix><MaxResults>3</MaxResults><Shares><Share><Name>share-test-share-testdata14</Name><Properties><Last-Modified>Tue, 31 Mar 2015 05:03:03 GMT</Last-Modified><Etag>\"0x8D239871A0DD19E\"</Etag><Quota>5120</Quota></Properties><Metadata><color>orange</color><sharenumber>01</sharenumber><somemetadataname>SomeMetadataValue</somemetadataname></Metadata></Share><Share><Name>share-test-share-testdata15</Name><Properties><Last-Modified>Tue, 31 Mar 2015 05:03:04 GMT</Last-Modified><Etag>\"0x8D239871AA69C1E\"</Etag><Quota>5120</Quota></Properties><Metadata><color>pink</color><sharenumber>02</sharenumber><somemetadataname>SomeMetadataValue</somemetadataname></Metadata></Share><Share><Name>share-test-share-testdata16</Name><Properties><Last-Modified>Tue, 31 Mar 2015 05:03:04 GMT</Last-Modified><Etag>\"0x8D239871AF3FF58\"</Etag><Quota>5120</Quota></Properties><Metadata><color>brown</color><sharenumber>03</sharenumber><somemetadataname>SomeMetadataValue</somemetadataname></Metadata></Share></Shares><NextMarker>/yaxiatest/share-test-share-testdata17</NextMarker></EnumerationResults>", { 'transfer-encoding': 'chunked',
'content-type': 'application/xml',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'e6d82ba3-001a-0004-0d6f-6b4e43000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:05 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.get('/?comp=list&maxresults=3&include=metadata&marker=%2Fyaxiatest%2Fshare-test-share-testdata17&prefix=share-test-share-')
.reply(200, "<?xml version=\"1.0\" encoding=\"utf-8\"?><EnumerationResults ServiceEndpoint=\"http://yaxiatest.file.testch1.dnsdemo4.com/\"><Prefix>share-test-share-</Prefix><Marker>/yaxiatest/share-test-share-testdata17</Marker><MaxResults>3</MaxResults><Shares><Share><Name>share-test-share-testdata17</Name><Properties><Last-Modified>Tue, 31 Mar 2015 05:03:05 GMT</Last-Modified><Etag>\"0x8D239871B838886\"</Etag><Quota>5120</Quota></Properties><Metadata><color>blue</color><sharenumber>04</sharenumber><somemetadataname>SomeMetadataValue</somemetadataname></Metadata></Share></Shares><NextMarker /></EnumerationResults>", { 'transfer-encoding': 'chunked',
'content-type': 'application/xml',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '422a905e-001a-0001-376f-6bbf9a000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:05 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.delete('/share-test-share-testdata14?restype=share')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'f9a052f6-001a-0002-1c6f-6b10d2000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:06 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.delete('/share-test-share-testdata15?restype=share')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'c0d064da-001a-0003-646f-6b75ea000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:06 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.delete('/share-test-share-testdata16?restype=share')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '8bb75ab3-001a-0000-686f-6bdaa2000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:06 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.delete('/share-test-share-testdata17?restype=share')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'e6d82bb5-001a-0004-1f6f-6b4e43000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:06 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata13?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '422a9061-001a-0001-386f-6bbf9a000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:07 GMT',
connection: 'close' });
return result; }],
[function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.get('/?comp=list')
.reply(200, "<?xml version=\"1.0\" encoding=\"utf-8\"?><EnumerationResults ServiceEndpoint=\"http://yaxiatest.file.testch1.dnsdemo4.com/\"><Shares /><NextMarker /></EnumerationResults>", { 'transfer-encoding': 'chunked',
'content-type': 'application/xml',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '8bb75ac2-001a-0000-766f-6bdaa2000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:08 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata18?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'e6d82bdf-001a-0004-476f-6b4e43000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:08 GMT',
connection: 'close' });
return result; }],
[function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.get('/?comp=list&prefix=%E4%B8%AD%E6%96%87')
.reply(200, "<?xml version=\"1.0\" encoding=\"utf-8\"?><EnumerationResults ServiceEndpoint=\"http://yaxiatest.file.testch1.dnsdemo4.com/\"><Prefix>中文</Prefix><Shares /><NextMarker /></EnumerationResults>", { 'transfer-encoding': 'chunked',
'content-type': 'application/xml',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '422a9062-001a-0001-396f-6bbf9a000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:08 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata19?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'f9a05350-001a-0002-736f-6b10d2000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:10 GMT',
connection: 'close' });
return result; }],
[function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata20?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'c0d0653e-001a-0003-436f-6b75ea000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:10 GMT',
connection: 'close' });
return result; }],
[function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata21?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '8bb75ade-001a-0000-106f-6bdaa2000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:10 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.put('/share-test-share-testdata21?restype=share')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:03:10 GMT',
etag: '"0x8D239871E8A6996"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'e6d82c13-001a-0004-7a6f-6b4e43000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:10 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.get('/share-test-share-testdata21?restype=share&comp=acl')
.reply(200, "<?xml version=\"1.0\" encoding=\"utf-8\"?><SignedIdentifiers />", { 'transfer-encoding': 'chunked',
'content-type': 'application/xml',
'last-modified': 'Tue, 31 Mar 2015 05:03:10 GMT',
etag: '"0x8D239871E8A6996"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '422a9064-001a-0001-3a6f-6bbf9a000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:11 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata21?restype=share')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:03:10 GMT',
etag: '"0x8D239871E8A6996"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'f9a053b5-001a-0002-566f-6b10d2000000',
'x-ms-version': '2015-02-21',
'x-ms-share-quota': '5120',
date: 'Tue, 31 Mar 2015 05:03:12 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.delete('/share-test-share-testdata21?restype=share')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'c0d06596-001a-0003-1a6f-6b75ea000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:13 GMT',
connection: 'close' });
return result; }],
[function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata22?restype=share')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '8bb75af4-001a-0000-256f-6bdaa2000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:13 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.put('/share-test-share-testdata22?restype=share')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:03:13 GMT',
etag: '"0x8D2398720282934"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'e6d82c4c-001a-0004-316f-6b4e43000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:13 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.head('/share-test-share-testdata22/dir-testdata23?restype=directory')
.reply(404, "", { 'transfer-encoding': 'chunked',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': '422a9067-001a-0001-3b6f-6bbf9a000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:14 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://yaxiatest.file.testch1.dnsdemo4.com:80')
.put('/share-test-share-testdata22/dir-testdata23?restype=directory')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 31 Mar 2015 05:03:15 GMT',
etag: '"0x8D23987219734A9"',
server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id': 'f9a05427-001a-0002-466f-6b10d2000000',
'x-ms-version': '2015-02-21',
date: 'Tue, 31 Mar 2015 05:03:15 GMT',
connection: 'close' });
return result; },
function (nock) {
var