@azure/storage-blob 12.5.1-alpha.20210323.1 → 12.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +57 -51
- package/dist/index.js +8149 -5971
- package/dist/index.js.map +1 -1
- package/dist-esm/storage-blob/src/BlobBatch.js +3 -3
- package/dist-esm/storage-blob/src/BlobBatch.js.map +1 -1
- package/dist-esm/storage-blob/src/BlobBatchClient.js +3 -3
- package/dist-esm/storage-blob/src/BlobBatchClient.js.map +1 -1
- package/dist-esm/storage-blob/src/BlobLeaseClient.js +7 -7
- package/dist-esm/storage-blob/src/BlobLeaseClient.js.map +1 -1
- package/dist-esm/storage-blob/src/BlobServiceClient.js +12 -12
- package/dist-esm/storage-blob/src/BlobServiceClient.js.map +1 -1
- package/dist-esm/storage-blob/src/Clients.js +72 -61
- package/dist-esm/storage-blob/src/Clients.js.map +1 -1
- package/dist-esm/storage-blob/src/ContainerClient.js +18 -18
- package/dist-esm/storage-blob/src/ContainerClient.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/index.js +11 -0
- package/dist-esm/storage-blob/src/generated/src/index.js.map +1 -0
- package/dist-esm/storage-blob/src/generated/src/models/index.js +2 -2
- package/dist-esm/storage-blob/src/generated/src/models/index.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/models/mappers.js +3714 -2267
- package/dist-esm/storage-blob/src/generated/src/models/mappers.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/models/parameters.js +848 -903
- package/dist-esm/storage-blob/src/generated/src/models/parameters.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/operations/appendBlob.js +148 -142
- package/dist-esm/storage-blob/src/generated/src/operations/appendBlob.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/operations/blob.js +675 -592
- package/dist-esm/storage-blob/src/generated/src/operations/blob.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/operations/blockBlob.js +254 -223
- package/dist-esm/storage-blob/src/generated/src/operations/blockBlob.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/operations/container.js +426 -377
- package/dist-esm/storage-blob/src/generated/src/operations/container.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/operations/directory.js +153 -128
- package/dist-esm/storage-blob/src/generated/src/operations/directory.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/operations/index.js +3 -5
- package/dist-esm/storage-blob/src/generated/src/operations/index.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/operations/pageBlob.js +297 -263
- package/dist-esm/storage-blob/src/generated/src/operations/pageBlob.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/operations/service.js +207 -177
- package/dist-esm/storage-blob/src/generated/src/operations/service.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/storageClient.js +14 -20
- package/dist-esm/storage-blob/src/generated/src/storageClient.js.map +1 -1
- package/dist-esm/storage-blob/src/generated/src/storageClientContext.js +13 -12
- package/dist-esm/storage-blob/src/generated/src/storageClientContext.js.map +1 -1
- package/dist-esm/storage-blob/src/generatedModels.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/constants.js +2 -2
- package/dist-esm/storage-blob/src/utils/constants.js.map +1 -1
- package/dist-esm/storage-blob/src/utils/tracing.js +3 -2
- package/dist-esm/storage-blob/src/utils/tracing.js.map +1 -1
- package/package.json +10 -11
- package/typings/3.1/storage-blob.d.ts +888 -3049
- package/typings/latest/storage-blob.d.ts +889 -3049
- package/dist-esm/storage-blob/src/generated/src/models/appendBlobMappers.js +0 -9
- package/dist-esm/storage-blob/src/generated/src/models/appendBlobMappers.js.map +0 -1
- package/dist-esm/storage-blob/src/generated/src/models/blobMappers.js +0 -9
- package/dist-esm/storage-blob/src/generated/src/models/blobMappers.js.map +0 -1
- package/dist-esm/storage-blob/src/generated/src/models/blockBlobMappers.js +0 -9
- package/dist-esm/storage-blob/src/generated/src/models/blockBlobMappers.js.map +0 -1
- package/dist-esm/storage-blob/src/generated/src/models/containerMappers.js +0 -9
- package/dist-esm/storage-blob/src/generated/src/models/containerMappers.js.map +0 -1
- package/dist-esm/storage-blob/src/generated/src/models/directoryMappers.js +0 -9
- package/dist-esm/storage-blob/src/generated/src/models/directoryMappers.js.map +0 -1
- package/dist-esm/storage-blob/src/generated/src/models/pageBlobMappers.js +0 -9
- package/dist-esm/storage-blob/src/generated/src/models/pageBlobMappers.js.map +0 -1
- package/dist-esm/storage-blob/src/generated/src/models/serviceMappers.js +0 -9
- package/dist-esm/storage-blob/src/generated/src/models/serviceMappers.js.map +0 -1
@@ -1,612 +1,654 @@
|
|
1
1
|
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
* license information.
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
5
4
|
*
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
8
|
-
* regenerated.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
9
7
|
*/
|
10
8
|
import * as coreHttp from "@azure/core-http";
|
11
|
-
import * as Mappers from "../models/
|
9
|
+
import * as Mappers from "../models/mappers";
|
12
10
|
import * as Parameters from "../models/parameters";
|
13
11
|
/** Class representing a Container. */
|
14
12
|
var Container = /** @class */ (function () {
|
15
13
|
/**
|
16
|
-
*
|
17
|
-
* @param
|
14
|
+
* Initialize a new instance of the class Container class.
|
15
|
+
* @param client Reference to the service client
|
18
16
|
*/
|
19
17
|
function Container(client) {
|
20
18
|
this.client = client;
|
21
19
|
}
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
20
|
+
/**
|
21
|
+
* creates a new container under the specified account. If the container with the same name already
|
22
|
+
* exists, the operation fails
|
23
|
+
* @param options The options parameters.
|
24
|
+
*/
|
25
|
+
Container.prototype.create = function (options) {
|
26
|
+
var operationArguments = {
|
27
|
+
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
28
|
+
};
|
29
|
+
return this.client.sendOperationRequest(operationArguments, createOperationSpec);
|
26
30
|
};
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
+
/**
|
32
|
+
* returns all user-defined metadata and system properties for the specified container. The data
|
33
|
+
* returned does not include the container's list of blobs
|
34
|
+
* @param options The options parameters.
|
35
|
+
*/
|
36
|
+
Container.prototype.getProperties = function (options) {
|
37
|
+
var operationArguments = {
|
38
|
+
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
39
|
+
};
|
40
|
+
return this.client.sendOperationRequest(operationArguments, getPropertiesOperationSpec);
|
31
41
|
};
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
42
|
+
/**
|
43
|
+
* operation marks the specified container for deletion. The container and any blobs contained within
|
44
|
+
* it are later deleted during garbage collection
|
45
|
+
* @param options The options parameters.
|
46
|
+
*/
|
47
|
+
Container.prototype.delete = function (options) {
|
48
|
+
var operationArguments = {
|
49
|
+
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
50
|
+
};
|
51
|
+
return this.client.sendOperationRequest(operationArguments, deleteOperationSpec);
|
36
52
|
};
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
53
|
+
/**
|
54
|
+
* operation sets one or more user-defined name-value pairs for the specified container.
|
55
|
+
* @param options The options parameters.
|
56
|
+
*/
|
57
|
+
Container.prototype.setMetadata = function (options) {
|
58
|
+
var operationArguments = {
|
59
|
+
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
60
|
+
};
|
61
|
+
return this.client.sendOperationRequest(operationArguments, setMetadataOperationSpec);
|
41
62
|
};
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
63
|
+
/**
|
64
|
+
* gets the permissions for the specified container. The permissions indicate whether container data
|
65
|
+
* may be accessed publicly.
|
66
|
+
* @param options The options parameters.
|
67
|
+
*/
|
68
|
+
Container.prototype.getAccessPolicy = function (options) {
|
69
|
+
var operationArguments = {
|
70
|
+
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
71
|
+
};
|
72
|
+
return this.client.sendOperationRequest(operationArguments, getAccessPolicyOperationSpec);
|
46
73
|
};
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
74
|
+
/**
|
75
|
+
* sets the permissions for the specified container. The permissions indicate whether blobs in a
|
76
|
+
* container may be accessed publicly.
|
77
|
+
* @param options The options parameters.
|
78
|
+
*/
|
79
|
+
Container.prototype.setAccessPolicy = function (options) {
|
80
|
+
var operationArguments = {
|
81
|
+
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
82
|
+
};
|
83
|
+
return this.client.sendOperationRequest(operationArguments, setAccessPolicyOperationSpec);
|
51
84
|
};
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
85
|
+
/**
|
86
|
+
* Restores a previously-deleted container.
|
87
|
+
* @param options The options parameters.
|
88
|
+
*/
|
89
|
+
Container.prototype.restore = function (options) {
|
90
|
+
var operationArguments = {
|
91
|
+
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
92
|
+
};
|
93
|
+
return this.client.sendOperationRequest(operationArguments, restoreOperationSpec);
|
56
94
|
};
|
57
|
-
|
58
|
-
|
95
|
+
/**
|
96
|
+
* Renames an existing container.
|
97
|
+
* @param sourceContainerName Required. Specifies the name of the container to rename.
|
98
|
+
* @param options The options parameters.
|
99
|
+
*/
|
100
|
+
Container.prototype.rename = function (sourceContainerName, options) {
|
101
|
+
var operationArguments = {
|
59
102
|
sourceContainerName: sourceContainerName,
|
60
|
-
options: options
|
61
|
-
}
|
103
|
+
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
104
|
+
};
|
105
|
+
return this.client.sendOperationRequest(operationArguments, renameOperationSpec);
|
62
106
|
};
|
63
|
-
|
64
|
-
|
65
|
-
|
107
|
+
/**
|
108
|
+
* The Batch operation allows multiple API calls to be embedded into a single HTTP request.
|
109
|
+
* @param contentLength The length of the request.
|
110
|
+
* @param multipartContentType Required. The value of this header must be multipart/mixed with a batch
|
111
|
+
* boundary. Example header value: multipart/mixed; boundary=batch_<GUID>
|
112
|
+
* @param body Initial data
|
113
|
+
* @param options The options parameters.
|
114
|
+
*/
|
115
|
+
Container.prototype.submitBatch = function (contentLength, multipartContentType, body, options) {
|
116
|
+
var operationArguments = {
|
66
117
|
contentLength: contentLength,
|
67
118
|
multipartContentType: multipartContentType,
|
68
|
-
|
69
|
-
|
119
|
+
body: body,
|
120
|
+
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
121
|
+
};
|
122
|
+
return this.client.sendOperationRequest(operationArguments, submitBatchOperationSpec);
|
70
123
|
};
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
124
|
+
/**
|
125
|
+
* [Update] establishes and manages a lock on a container for delete operations. The lock duration can
|
126
|
+
* be 15 to 60 seconds, or can be infinite
|
127
|
+
* @param options The options parameters.
|
128
|
+
*/
|
129
|
+
Container.prototype.acquireLease = function (options) {
|
130
|
+
var operationArguments = {
|
131
|
+
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
132
|
+
};
|
133
|
+
return this.client.sendOperationRequest(operationArguments, acquireLeaseOperationSpec);
|
75
134
|
};
|
76
|
-
|
77
|
-
|
135
|
+
/**
|
136
|
+
* [Update] establishes and manages a lock on a container for delete operations. The lock duration can
|
137
|
+
* be 15 to 60 seconds, or can be infinite
|
138
|
+
* @param leaseId Specifies the current lease ID on the resource.
|
139
|
+
* @param options The options parameters.
|
140
|
+
*/
|
141
|
+
Container.prototype.releaseLease = function (leaseId, options) {
|
142
|
+
var operationArguments = {
|
78
143
|
leaseId: leaseId,
|
79
|
-
options: options
|
80
|
-
}
|
144
|
+
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
145
|
+
};
|
146
|
+
return this.client.sendOperationRequest(operationArguments, releaseLeaseOperationSpec);
|
81
147
|
};
|
82
|
-
|
83
|
-
|
148
|
+
/**
|
149
|
+
* [Update] establishes and manages a lock on a container for delete operations. The lock duration can
|
150
|
+
* be 15 to 60 seconds, or can be infinite
|
151
|
+
* @param leaseId Specifies the current lease ID on the resource.
|
152
|
+
* @param options The options parameters.
|
153
|
+
*/
|
154
|
+
Container.prototype.renewLease = function (leaseId, options) {
|
155
|
+
var operationArguments = {
|
84
156
|
leaseId: leaseId,
|
85
|
-
options: options
|
86
|
-
}
|
157
|
+
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
158
|
+
};
|
159
|
+
return this.client.sendOperationRequest(operationArguments, renewLeaseOperationSpec);
|
87
160
|
};
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
161
|
+
/**
|
162
|
+
* [Update] establishes and manages a lock on a container for delete operations. The lock duration can
|
163
|
+
* be 15 to 60 seconds, or can be infinite
|
164
|
+
* @param options The options parameters.
|
165
|
+
*/
|
166
|
+
Container.prototype.breakLease = function (options) {
|
167
|
+
var operationArguments = {
|
168
|
+
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
169
|
+
};
|
170
|
+
return this.client.sendOperationRequest(operationArguments, breakLeaseOperationSpec);
|
92
171
|
};
|
93
|
-
|
94
|
-
|
172
|
+
/**
|
173
|
+
* [Update] establishes and manages a lock on a container for delete operations. The lock duration can
|
174
|
+
* be 15 to 60 seconds, or can be infinite
|
175
|
+
* @param leaseId Specifies the current lease ID on the resource.
|
176
|
+
* @param proposedLeaseId Proposed lease ID, in a GUID string format. The Blob service returns 400
|
177
|
+
* (Invalid request) if the proposed lease ID is not in the correct format. See Guid Constructor
|
178
|
+
* (String) for a list of valid GUID string formats.
|
179
|
+
* @param options The options parameters.
|
180
|
+
*/
|
181
|
+
Container.prototype.changeLease = function (leaseId, proposedLeaseId, options) {
|
182
|
+
var operationArguments = {
|
95
183
|
leaseId: leaseId,
|
96
184
|
proposedLeaseId: proposedLeaseId,
|
97
|
-
options: options
|
98
|
-
}
|
185
|
+
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
186
|
+
};
|
187
|
+
return this.client.sendOperationRequest(operationArguments, changeLeaseOperationSpec);
|
99
188
|
};
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
189
|
+
/**
|
190
|
+
* [Update] The List Blobs operation returns a list of the blobs under the specified container
|
191
|
+
* @param options The options parameters.
|
192
|
+
*/
|
193
|
+
Container.prototype.listBlobFlatSegment = function (options) {
|
194
|
+
var operationArguments = {
|
195
|
+
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
196
|
+
};
|
197
|
+
return this.client.sendOperationRequest(operationArguments, listBlobFlatSegmentOperationSpec);
|
104
198
|
};
|
105
|
-
|
106
|
-
|
199
|
+
/**
|
200
|
+
* [Update] The List Blobs operation returns a list of the blobs under the specified container
|
201
|
+
* @param delimiter When the request includes this parameter, the operation returns a BlobPrefix
|
202
|
+
* element in the response body that acts as a placeholder for all blobs whose names begin with the
|
203
|
+
* same substring up to the appearance of the delimiter character. The delimiter may be a single
|
204
|
+
* character or a string.
|
205
|
+
* @param options The options parameters.
|
206
|
+
*/
|
207
|
+
Container.prototype.listBlobHierarchySegment = function (delimiter, options) {
|
208
|
+
var operationArguments = {
|
107
209
|
delimiter: delimiter,
|
108
|
-
options: options
|
109
|
-
}
|
210
|
+
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
211
|
+
};
|
212
|
+
return this.client.sendOperationRequest(operationArguments, listBlobHierarchySegmentOperationSpec);
|
110
213
|
};
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
214
|
+
/**
|
215
|
+
* Returns the sku name and account kind
|
216
|
+
* @param options The options parameters.
|
217
|
+
*/
|
218
|
+
Container.prototype.getAccountInfo = function (options) {
|
219
|
+
var operationArguments = {
|
220
|
+
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
221
|
+
};
|
222
|
+
return this.client.sendOperationRequest(operationArguments, getAccountInfoOperationSpec);
|
115
223
|
};
|
116
224
|
return Container;
|
117
225
|
}());
|
118
226
|
export { Container };
|
119
227
|
// Operation Specifications
|
120
|
-
var
|
228
|
+
var xmlSerializer = new coreHttp.Serializer(Mappers, /* isXml */ true);
|
121
229
|
var createOperationSpec = {
|
230
|
+
path: "/{containerName}",
|
122
231
|
httpMethod: "PUT",
|
123
|
-
path: "{containerName}",
|
124
|
-
urlParameters: [
|
125
|
-
Parameters.url
|
126
|
-
],
|
127
|
-
queryParameters: [
|
128
|
-
Parameters.timeoutInSeconds,
|
129
|
-
Parameters.restype2
|
130
|
-
],
|
131
|
-
headerParameters: [
|
132
|
-
Parameters.metadata,
|
133
|
-
Parameters.access,
|
134
|
-
Parameters.version,
|
135
|
-
Parameters.requestId,
|
136
|
-
Parameters.defaultEncryptionScope,
|
137
|
-
Parameters.preventEncryptionScopeOverride
|
138
|
-
],
|
139
232
|
responses: {
|
140
233
|
201: {
|
141
234
|
headersMapper: Mappers.ContainerCreateHeaders
|
142
235
|
},
|
143
236
|
default: {
|
144
237
|
bodyMapper: Mappers.StorageError,
|
145
|
-
headersMapper: Mappers.
|
238
|
+
headersMapper: Mappers.ContainerCreateExceptionHeaders
|
146
239
|
}
|
147
240
|
},
|
148
|
-
|
149
|
-
|
150
|
-
};
|
151
|
-
var getPropertiesOperationSpec = {
|
152
|
-
httpMethod: "GET",
|
153
|
-
path: "{containerName}",
|
154
|
-
urlParameters: [
|
155
|
-
Parameters.url
|
156
|
-
],
|
157
|
-
queryParameters: [
|
158
|
-
Parameters.timeoutInSeconds,
|
159
|
-
Parameters.restype2
|
160
|
-
],
|
241
|
+
queryParameters: [Parameters.timeoutInSeconds, Parameters.restype2],
|
242
|
+
urlParameters: [Parameters.url],
|
161
243
|
headerParameters: [
|
162
244
|
Parameters.version,
|
163
245
|
Parameters.requestId,
|
164
|
-
Parameters.
|
246
|
+
Parameters.accept1,
|
247
|
+
Parameters.metadata,
|
248
|
+
Parameters.access,
|
249
|
+
Parameters.defaultEncryptionScope,
|
250
|
+
Parameters.preventEncryptionScopeOverride
|
165
251
|
],
|
252
|
+
isXML: true,
|
253
|
+
serializer: xmlSerializer
|
254
|
+
};
|
255
|
+
var getPropertiesOperationSpec = {
|
256
|
+
path: "/{containerName}",
|
257
|
+
httpMethod: "GET",
|
166
258
|
responses: {
|
167
259
|
200: {
|
168
260
|
headersMapper: Mappers.ContainerGetPropertiesHeaders
|
169
261
|
},
|
170
262
|
default: {
|
171
263
|
bodyMapper: Mappers.StorageError,
|
172
|
-
headersMapper: Mappers.
|
264
|
+
headersMapper: Mappers.ContainerGetPropertiesExceptionHeaders
|
173
265
|
}
|
174
266
|
},
|
175
|
-
|
176
|
-
|
177
|
-
};
|
178
|
-
var deleteMethodOperationSpec = {
|
179
|
-
httpMethod: "DELETE",
|
180
|
-
path: "{containerName}",
|
181
|
-
urlParameters: [
|
182
|
-
Parameters.url
|
183
|
-
],
|
184
|
-
queryParameters: [
|
185
|
-
Parameters.timeoutInSeconds,
|
186
|
-
Parameters.restype2
|
187
|
-
],
|
267
|
+
queryParameters: [Parameters.timeoutInSeconds, Parameters.restype2],
|
268
|
+
urlParameters: [Parameters.url],
|
188
269
|
headerParameters: [
|
189
270
|
Parameters.version,
|
190
271
|
Parameters.requestId,
|
191
|
-
Parameters.
|
192
|
-
Parameters.
|
193
|
-
Parameters.ifUnmodifiedSince
|
272
|
+
Parameters.accept1,
|
273
|
+
Parameters.leaseId
|
194
274
|
],
|
275
|
+
isXML: true,
|
276
|
+
serializer: xmlSerializer
|
277
|
+
};
|
278
|
+
var deleteOperationSpec = {
|
279
|
+
path: "/{containerName}",
|
280
|
+
httpMethod: "DELETE",
|
195
281
|
responses: {
|
196
282
|
202: {
|
197
283
|
headersMapper: Mappers.ContainerDeleteHeaders
|
198
284
|
},
|
199
285
|
default: {
|
200
286
|
bodyMapper: Mappers.StorageError,
|
201
|
-
headersMapper: Mappers.
|
287
|
+
headersMapper: Mappers.ContainerDeleteExceptionHeaders
|
202
288
|
}
|
203
289
|
},
|
204
|
-
|
205
|
-
|
206
|
-
};
|
207
|
-
var setMetadataOperationSpec = {
|
208
|
-
httpMethod: "PUT",
|
209
|
-
path: "{containerName}",
|
210
|
-
urlParameters: [
|
211
|
-
Parameters.url
|
212
|
-
],
|
213
|
-
queryParameters: [
|
214
|
-
Parameters.timeoutInSeconds,
|
215
|
-
Parameters.restype2,
|
216
|
-
Parameters.comp6
|
217
|
-
],
|
290
|
+
queryParameters: [Parameters.timeoutInSeconds, Parameters.restype2],
|
291
|
+
urlParameters: [Parameters.url],
|
218
292
|
headerParameters: [
|
219
|
-
Parameters.metadata,
|
220
293
|
Parameters.version,
|
221
294
|
Parameters.requestId,
|
222
|
-
Parameters.
|
223
|
-
Parameters.
|
295
|
+
Parameters.accept1,
|
296
|
+
Parameters.leaseId,
|
297
|
+
Parameters.ifModifiedSince,
|
298
|
+
Parameters.ifUnmodifiedSince
|
224
299
|
],
|
300
|
+
isXML: true,
|
301
|
+
serializer: xmlSerializer
|
302
|
+
};
|
303
|
+
var setMetadataOperationSpec = {
|
304
|
+
path: "/{containerName}",
|
305
|
+
httpMethod: "PUT",
|
225
306
|
responses: {
|
226
307
|
200: {
|
227
308
|
headersMapper: Mappers.ContainerSetMetadataHeaders
|
228
309
|
},
|
229
310
|
default: {
|
230
311
|
bodyMapper: Mappers.StorageError,
|
231
|
-
headersMapper: Mappers.
|
312
|
+
headersMapper: Mappers.ContainerSetMetadataExceptionHeaders
|
232
313
|
}
|
233
314
|
},
|
234
|
-
isXML: true,
|
235
|
-
serializer: serializer
|
236
|
-
};
|
237
|
-
var getAccessPolicyOperationSpec = {
|
238
|
-
httpMethod: "GET",
|
239
|
-
path: "{containerName}",
|
240
|
-
urlParameters: [
|
241
|
-
Parameters.url
|
242
|
-
],
|
243
315
|
queryParameters: [
|
244
316
|
Parameters.timeoutInSeconds,
|
245
317
|
Parameters.restype2,
|
246
|
-
Parameters.
|
318
|
+
Parameters.comp6
|
247
319
|
],
|
320
|
+
urlParameters: [Parameters.url],
|
248
321
|
headerParameters: [
|
249
322
|
Parameters.version,
|
250
323
|
Parameters.requestId,
|
251
|
-
Parameters.
|
324
|
+
Parameters.accept1,
|
325
|
+
Parameters.metadata,
|
326
|
+
Parameters.leaseId,
|
327
|
+
Parameters.ifModifiedSince
|
252
328
|
],
|
329
|
+
isXML: true,
|
330
|
+
serializer: xmlSerializer
|
331
|
+
};
|
332
|
+
var getAccessPolicyOperationSpec = {
|
333
|
+
path: "/{containerName}",
|
334
|
+
httpMethod: "GET",
|
253
335
|
responses: {
|
254
336
|
200: {
|
255
337
|
bodyMapper: {
|
256
|
-
xmlElementName: "SignedIdentifier",
|
257
|
-
serializedName: "parsedResponse",
|
258
338
|
type: {
|
259
339
|
name: "Sequence",
|
260
340
|
element: {
|
261
|
-
type: {
|
262
|
-
name: "Composite",
|
263
|
-
className: "SignedIdentifier"
|
264
|
-
}
|
341
|
+
type: { name: "Composite", className: "SignedIdentifier" }
|
265
342
|
}
|
266
|
-
}
|
343
|
+
},
|
344
|
+
serializedName: "SignedIdentifiers",
|
345
|
+
xmlName: "SignedIdentifiers",
|
346
|
+
xmlIsWrapped: true,
|
347
|
+
xmlElementName: "SignedIdentifier"
|
267
348
|
},
|
268
349
|
headersMapper: Mappers.ContainerGetAccessPolicyHeaders
|
269
350
|
},
|
270
351
|
default: {
|
271
352
|
bodyMapper: Mappers.StorageError,
|
272
|
-
headersMapper: Mappers.
|
353
|
+
headersMapper: Mappers.ContainerGetAccessPolicyExceptionHeaders
|
273
354
|
}
|
274
355
|
},
|
275
|
-
isXML: true,
|
276
|
-
serializer: serializer
|
277
|
-
};
|
278
|
-
var setAccessPolicyOperationSpec = {
|
279
|
-
httpMethod: "PUT",
|
280
|
-
path: "{containerName}",
|
281
|
-
urlParameters: [
|
282
|
-
Parameters.url
|
283
|
-
],
|
284
356
|
queryParameters: [
|
285
357
|
Parameters.timeoutInSeconds,
|
286
358
|
Parameters.restype2,
|
287
359
|
Parameters.comp7
|
288
360
|
],
|
361
|
+
urlParameters: [Parameters.url],
|
289
362
|
headerParameters: [
|
290
|
-
Parameters.access,
|
291
363
|
Parameters.version,
|
292
364
|
Parameters.requestId,
|
293
|
-
Parameters.
|
294
|
-
Parameters.
|
295
|
-
Parameters.ifUnmodifiedSince
|
365
|
+
Parameters.accept1,
|
366
|
+
Parameters.leaseId
|
296
367
|
],
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
xmlName: "SignedIdentifiers",
|
304
|
-
xmlElementName: "SignedIdentifier",
|
305
|
-
serializedName: "containerAcl",
|
306
|
-
type: {
|
307
|
-
name: "Sequence",
|
308
|
-
element: {
|
309
|
-
type: {
|
310
|
-
name: "Composite",
|
311
|
-
className: "SignedIdentifier"
|
312
|
-
}
|
313
|
-
}
|
314
|
-
}
|
315
|
-
}
|
316
|
-
},
|
317
|
-
contentType: "application/xml; charset=utf-8",
|
368
|
+
isXML: true,
|
369
|
+
serializer: xmlSerializer
|
370
|
+
};
|
371
|
+
var setAccessPolicyOperationSpec = {
|
372
|
+
path: "/{containerName}",
|
373
|
+
httpMethod: "PUT",
|
318
374
|
responses: {
|
319
375
|
200: {
|
320
376
|
headersMapper: Mappers.ContainerSetAccessPolicyHeaders
|
321
377
|
},
|
322
378
|
default: {
|
323
379
|
bodyMapper: Mappers.StorageError,
|
324
|
-
headersMapper: Mappers.
|
380
|
+
headersMapper: Mappers.ContainerSetAccessPolicyExceptionHeaders
|
325
381
|
}
|
326
382
|
},
|
327
|
-
|
328
|
-
serializer: serializer
|
329
|
-
};
|
330
|
-
var restoreOperationSpec = {
|
331
|
-
httpMethod: "PUT",
|
332
|
-
path: "{containerName}",
|
333
|
-
urlParameters: [
|
334
|
-
Parameters.url
|
335
|
-
],
|
383
|
+
requestBody: Parameters.containerAcl,
|
336
384
|
queryParameters: [
|
337
385
|
Parameters.timeoutInSeconds,
|
338
386
|
Parameters.restype2,
|
339
|
-
Parameters.
|
387
|
+
Parameters.comp7
|
340
388
|
],
|
389
|
+
urlParameters: [Parameters.url],
|
341
390
|
headerParameters: [
|
391
|
+
Parameters.contentType,
|
392
|
+
Parameters.accept,
|
342
393
|
Parameters.version,
|
343
394
|
Parameters.requestId,
|
344
|
-
Parameters.
|
345
|
-
Parameters.
|
395
|
+
Parameters.access,
|
396
|
+
Parameters.leaseId,
|
397
|
+
Parameters.ifModifiedSince,
|
398
|
+
Parameters.ifUnmodifiedSince
|
346
399
|
],
|
400
|
+
isXML: true,
|
401
|
+
contentType: "application/xml; charset=utf-8",
|
402
|
+
mediaType: "xml",
|
403
|
+
serializer: xmlSerializer
|
404
|
+
};
|
405
|
+
var restoreOperationSpec = {
|
406
|
+
path: "/{containerName}",
|
407
|
+
httpMethod: "PUT",
|
347
408
|
responses: {
|
348
409
|
201: {
|
349
410
|
headersMapper: Mappers.ContainerRestoreHeaders
|
350
411
|
},
|
351
412
|
default: {
|
352
413
|
bodyMapper: Mappers.StorageError,
|
353
|
-
headersMapper: Mappers.
|
414
|
+
headersMapper: Mappers.ContainerRestoreExceptionHeaders
|
354
415
|
}
|
355
416
|
},
|
356
|
-
isXML: true,
|
357
|
-
serializer: serializer
|
358
|
-
};
|
359
|
-
var renameOperationSpec = {
|
360
|
-
httpMethod: "PUT",
|
361
|
-
path: "{containerName}",
|
362
|
-
urlParameters: [
|
363
|
-
Parameters.url
|
364
|
-
],
|
365
417
|
queryParameters: [
|
366
418
|
Parameters.timeoutInSeconds,
|
367
419
|
Parameters.restype2,
|
368
|
-
Parameters.
|
420
|
+
Parameters.comp8
|
369
421
|
],
|
422
|
+
urlParameters: [Parameters.url],
|
370
423
|
headerParameters: [
|
371
424
|
Parameters.version,
|
372
425
|
Parameters.requestId,
|
373
|
-
Parameters.
|
374
|
-
Parameters.
|
426
|
+
Parameters.accept1,
|
427
|
+
Parameters.deletedContainerName,
|
428
|
+
Parameters.deletedContainerVersion
|
375
429
|
],
|
430
|
+
isXML: true,
|
431
|
+
serializer: xmlSerializer
|
432
|
+
};
|
433
|
+
var renameOperationSpec = {
|
434
|
+
path: "/{containerName}",
|
435
|
+
httpMethod: "PUT",
|
376
436
|
responses: {
|
377
437
|
200: {
|
378
438
|
headersMapper: Mappers.ContainerRenameHeaders
|
379
439
|
},
|
380
440
|
default: {
|
381
441
|
bodyMapper: Mappers.StorageError,
|
382
|
-
headersMapper: Mappers.
|
442
|
+
headersMapper: Mappers.ContainerRenameExceptionHeaders
|
383
443
|
}
|
384
444
|
},
|
385
|
-
isXML: true,
|
386
|
-
serializer: serializer
|
387
|
-
};
|
388
|
-
var submitBatchOperationSpec = {
|
389
|
-
httpMethod: "POST",
|
390
|
-
path: "{containerName}",
|
391
|
-
urlParameters: [
|
392
|
-
Parameters.url
|
393
|
-
],
|
394
445
|
queryParameters: [
|
395
446
|
Parameters.timeoutInSeconds,
|
396
447
|
Parameters.restype2,
|
397
|
-
Parameters.
|
448
|
+
Parameters.comp9
|
398
449
|
],
|
450
|
+
urlParameters: [Parameters.url],
|
399
451
|
headerParameters: [
|
400
|
-
Parameters.contentLength,
|
401
|
-
Parameters.multipartContentType,
|
402
452
|
Parameters.version,
|
403
|
-
Parameters.requestId
|
453
|
+
Parameters.requestId,
|
454
|
+
Parameters.accept1,
|
455
|
+
Parameters.sourceContainerName,
|
456
|
+
Parameters.sourceLeaseId
|
404
457
|
],
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
name: "Stream"
|
412
|
-
}
|
413
|
-
}
|
414
|
-
},
|
415
|
-
contentType: "application/xml; charset=utf-8",
|
458
|
+
isXML: true,
|
459
|
+
serializer: xmlSerializer
|
460
|
+
};
|
461
|
+
var submitBatchOperationSpec = {
|
462
|
+
path: "/{containerName}",
|
463
|
+
httpMethod: "POST",
|
416
464
|
responses: {
|
417
465
|
202: {
|
418
466
|
bodyMapper: {
|
419
|
-
|
420
|
-
|
421
|
-
name: "Stream"
|
422
|
-
}
|
467
|
+
type: { name: "Stream" },
|
468
|
+
serializedName: "parsedResponse"
|
423
469
|
},
|
424
470
|
headersMapper: Mappers.ContainerSubmitBatchHeaders
|
425
471
|
},
|
426
472
|
default: {
|
427
473
|
bodyMapper: Mappers.StorageError,
|
428
|
-
headersMapper: Mappers.
|
474
|
+
headersMapper: Mappers.ContainerSubmitBatchExceptionHeaders
|
429
475
|
}
|
430
476
|
},
|
431
|
-
|
432
|
-
serializer: serializer
|
433
|
-
};
|
434
|
-
var acquireLeaseOperationSpec = {
|
435
|
-
httpMethod: "PUT",
|
436
|
-
path: "{containerName}",
|
437
|
-
urlParameters: [
|
438
|
-
Parameters.url
|
439
|
-
],
|
477
|
+
requestBody: Parameters.body,
|
440
478
|
queryParameters: [
|
441
479
|
Parameters.timeoutInSeconds,
|
442
|
-
Parameters.
|
480
|
+
Parameters.comp4,
|
443
481
|
Parameters.restype2
|
444
482
|
],
|
483
|
+
urlParameters: [Parameters.url],
|
445
484
|
headerParameters: [
|
446
|
-
Parameters.
|
447
|
-
Parameters.
|
485
|
+
Parameters.contentType,
|
486
|
+
Parameters.accept,
|
448
487
|
Parameters.version,
|
449
488
|
Parameters.requestId,
|
450
|
-
Parameters.
|
451
|
-
Parameters.
|
452
|
-
Parameters.ifUnmodifiedSince
|
489
|
+
Parameters.contentLength,
|
490
|
+
Parameters.multipartContentType
|
453
491
|
],
|
492
|
+
isXML: true,
|
493
|
+
contentType: "application/xml; charset=utf-8",
|
494
|
+
mediaType: "xml",
|
495
|
+
serializer: xmlSerializer
|
496
|
+
};
|
497
|
+
var acquireLeaseOperationSpec = {
|
498
|
+
path: "/{containerName}",
|
499
|
+
httpMethod: "PUT",
|
454
500
|
responses: {
|
455
501
|
201: {
|
456
502
|
headersMapper: Mappers.ContainerAcquireLeaseHeaders
|
457
503
|
},
|
458
504
|
default: {
|
459
505
|
bodyMapper: Mappers.StorageError,
|
460
|
-
headersMapper: Mappers.
|
506
|
+
headersMapper: Mappers.ContainerAcquireLeaseExceptionHeaders
|
461
507
|
}
|
462
508
|
},
|
463
|
-
isXML: true,
|
464
|
-
serializer: serializer
|
465
|
-
};
|
466
|
-
var releaseLeaseOperationSpec = {
|
467
|
-
httpMethod: "PUT",
|
468
|
-
path: "{containerName}",
|
469
|
-
urlParameters: [
|
470
|
-
Parameters.url
|
471
|
-
],
|
472
509
|
queryParameters: [
|
473
510
|
Parameters.timeoutInSeconds,
|
474
|
-
Parameters.
|
475
|
-
Parameters.
|
511
|
+
Parameters.restype2,
|
512
|
+
Parameters.comp10
|
476
513
|
],
|
514
|
+
urlParameters: [Parameters.url],
|
477
515
|
headerParameters: [
|
478
|
-
Parameters.leaseId1,
|
479
516
|
Parameters.version,
|
480
517
|
Parameters.requestId,
|
481
|
-
Parameters.
|
518
|
+
Parameters.accept1,
|
482
519
|
Parameters.ifModifiedSince,
|
483
|
-
Parameters.ifUnmodifiedSince
|
520
|
+
Parameters.ifUnmodifiedSince,
|
521
|
+
Parameters.action,
|
522
|
+
Parameters.duration,
|
523
|
+
Parameters.proposedLeaseId
|
484
524
|
],
|
525
|
+
isXML: true,
|
526
|
+
serializer: xmlSerializer
|
527
|
+
};
|
528
|
+
var releaseLeaseOperationSpec = {
|
529
|
+
path: "/{containerName}",
|
530
|
+
httpMethod: "PUT",
|
485
531
|
responses: {
|
486
532
|
200: {
|
487
533
|
headersMapper: Mappers.ContainerReleaseLeaseHeaders
|
488
534
|
},
|
489
535
|
default: {
|
490
536
|
bodyMapper: Mappers.StorageError,
|
491
|
-
headersMapper: Mappers.
|
537
|
+
headersMapper: Mappers.ContainerReleaseLeaseExceptionHeaders
|
492
538
|
}
|
493
539
|
},
|
494
|
-
isXML: true,
|
495
|
-
serializer: serializer
|
496
|
-
};
|
497
|
-
var renewLeaseOperationSpec = {
|
498
|
-
httpMethod: "PUT",
|
499
|
-
path: "{containerName}",
|
500
|
-
urlParameters: [
|
501
|
-
Parameters.url
|
502
|
-
],
|
503
540
|
queryParameters: [
|
504
541
|
Parameters.timeoutInSeconds,
|
505
|
-
Parameters.
|
506
|
-
Parameters.
|
542
|
+
Parameters.restype2,
|
543
|
+
Parameters.comp10
|
507
544
|
],
|
545
|
+
urlParameters: [Parameters.url],
|
508
546
|
headerParameters: [
|
509
|
-
Parameters.leaseId1,
|
510
547
|
Parameters.version,
|
511
548
|
Parameters.requestId,
|
512
|
-
Parameters.
|
549
|
+
Parameters.accept1,
|
513
550
|
Parameters.ifModifiedSince,
|
514
|
-
Parameters.ifUnmodifiedSince
|
551
|
+
Parameters.ifUnmodifiedSince,
|
552
|
+
Parameters.action1,
|
553
|
+
Parameters.leaseId1
|
515
554
|
],
|
555
|
+
isXML: true,
|
556
|
+
serializer: xmlSerializer
|
557
|
+
};
|
558
|
+
var renewLeaseOperationSpec = {
|
559
|
+
path: "/{containerName}",
|
560
|
+
httpMethod: "PUT",
|
516
561
|
responses: {
|
517
562
|
200: {
|
518
563
|
headersMapper: Mappers.ContainerRenewLeaseHeaders
|
519
564
|
},
|
520
565
|
default: {
|
521
566
|
bodyMapper: Mappers.StorageError,
|
522
|
-
headersMapper: Mappers.
|
567
|
+
headersMapper: Mappers.ContainerRenewLeaseExceptionHeaders
|
523
568
|
}
|
524
569
|
},
|
525
|
-
isXML: true,
|
526
|
-
serializer: serializer
|
527
|
-
};
|
528
|
-
var breakLeaseOperationSpec = {
|
529
|
-
httpMethod: "PUT",
|
530
|
-
path: "{containerName}",
|
531
|
-
urlParameters: [
|
532
|
-
Parameters.url
|
533
|
-
],
|
534
570
|
queryParameters: [
|
535
571
|
Parameters.timeoutInSeconds,
|
536
|
-
Parameters.
|
537
|
-
Parameters.
|
572
|
+
Parameters.restype2,
|
573
|
+
Parameters.comp10
|
538
574
|
],
|
575
|
+
urlParameters: [Parameters.url],
|
539
576
|
headerParameters: [
|
540
|
-
Parameters.breakPeriod,
|
541
577
|
Parameters.version,
|
542
578
|
Parameters.requestId,
|
543
|
-
Parameters.
|
579
|
+
Parameters.accept1,
|
544
580
|
Parameters.ifModifiedSince,
|
545
|
-
Parameters.ifUnmodifiedSince
|
581
|
+
Parameters.ifUnmodifiedSince,
|
582
|
+
Parameters.leaseId1,
|
583
|
+
Parameters.action2
|
546
584
|
],
|
585
|
+
isXML: true,
|
586
|
+
serializer: xmlSerializer
|
587
|
+
};
|
588
|
+
var breakLeaseOperationSpec = {
|
589
|
+
path: "/{containerName}",
|
590
|
+
httpMethod: "PUT",
|
547
591
|
responses: {
|
548
592
|
202: {
|
549
593
|
headersMapper: Mappers.ContainerBreakLeaseHeaders
|
550
594
|
},
|
551
595
|
default: {
|
552
596
|
bodyMapper: Mappers.StorageError,
|
553
|
-
headersMapper: Mappers.
|
597
|
+
headersMapper: Mappers.ContainerBreakLeaseExceptionHeaders
|
554
598
|
}
|
555
599
|
},
|
556
|
-
isXML: true,
|
557
|
-
serializer: serializer
|
558
|
-
};
|
559
|
-
var changeLeaseOperationSpec = {
|
560
|
-
httpMethod: "PUT",
|
561
|
-
path: "{containerName}",
|
562
|
-
urlParameters: [
|
563
|
-
Parameters.url
|
564
|
-
],
|
565
600
|
queryParameters: [
|
566
601
|
Parameters.timeoutInSeconds,
|
567
|
-
Parameters.
|
568
|
-
Parameters.
|
602
|
+
Parameters.restype2,
|
603
|
+
Parameters.comp10
|
569
604
|
],
|
605
|
+
urlParameters: [Parameters.url],
|
570
606
|
headerParameters: [
|
571
|
-
Parameters.leaseId1,
|
572
|
-
Parameters.proposedLeaseId1,
|
573
607
|
Parameters.version,
|
574
608
|
Parameters.requestId,
|
575
|
-
Parameters.
|
609
|
+
Parameters.accept1,
|
576
610
|
Parameters.ifModifiedSince,
|
577
|
-
Parameters.ifUnmodifiedSince
|
611
|
+
Parameters.ifUnmodifiedSince,
|
612
|
+
Parameters.action3,
|
613
|
+
Parameters.breakPeriod
|
578
614
|
],
|
615
|
+
isXML: true,
|
616
|
+
serializer: xmlSerializer
|
617
|
+
};
|
618
|
+
var changeLeaseOperationSpec = {
|
619
|
+
path: "/{containerName}",
|
620
|
+
httpMethod: "PUT",
|
579
621
|
responses: {
|
580
622
|
200: {
|
581
623
|
headersMapper: Mappers.ContainerChangeLeaseHeaders
|
582
624
|
},
|
583
625
|
default: {
|
584
626
|
bodyMapper: Mappers.StorageError,
|
585
|
-
headersMapper: Mappers.
|
627
|
+
headersMapper: Mappers.ContainerChangeLeaseExceptionHeaders
|
586
628
|
}
|
587
629
|
},
|
588
|
-
isXML: true,
|
589
|
-
serializer: serializer
|
590
|
-
};
|
591
|
-
var listBlobFlatSegmentOperationSpec = {
|
592
|
-
httpMethod: "GET",
|
593
|
-
path: "{containerName}",
|
594
|
-
urlParameters: [
|
595
|
-
Parameters.url
|
596
|
-
],
|
597
630
|
queryParameters: [
|
598
|
-
Parameters.prefix,
|
599
|
-
Parameters.marker0,
|
600
|
-
Parameters.maxPageSize,
|
601
|
-
Parameters.include1,
|
602
631
|
Parameters.timeoutInSeconds,
|
603
632
|
Parameters.restype2,
|
604
|
-
Parameters.
|
633
|
+
Parameters.comp10
|
605
634
|
],
|
635
|
+
urlParameters: [Parameters.url],
|
606
636
|
headerParameters: [
|
607
637
|
Parameters.version,
|
608
|
-
Parameters.requestId
|
638
|
+
Parameters.requestId,
|
639
|
+
Parameters.accept1,
|
640
|
+
Parameters.ifModifiedSince,
|
641
|
+
Parameters.ifUnmodifiedSince,
|
642
|
+
Parameters.leaseId1,
|
643
|
+
Parameters.action4,
|
644
|
+
Parameters.proposedLeaseId1
|
609
645
|
],
|
646
|
+
isXML: true,
|
647
|
+
serializer: xmlSerializer
|
648
|
+
};
|
649
|
+
var listBlobFlatSegmentOperationSpec = {
|
650
|
+
path: "/{containerName}",
|
651
|
+
httpMethod: "GET",
|
610
652
|
responses: {
|
611
653
|
200: {
|
612
654
|
bodyMapper: Mappers.ListBlobsFlatSegmentResponse,
|
@@ -614,32 +656,30 @@ var listBlobFlatSegmentOperationSpec = {
|
|
614
656
|
},
|
615
657
|
default: {
|
616
658
|
bodyMapper: Mappers.StorageError,
|
617
|
-
headersMapper: Mappers.
|
659
|
+
headersMapper: Mappers.ContainerListBlobFlatSegmentExceptionHeaders
|
618
660
|
}
|
619
661
|
},
|
620
|
-
isXML: true,
|
621
|
-
serializer: serializer
|
622
|
-
};
|
623
|
-
var listBlobHierarchySegmentOperationSpec = {
|
624
|
-
httpMethod: "GET",
|
625
|
-
path: "{containerName}",
|
626
|
-
urlParameters: [
|
627
|
-
Parameters.url
|
628
|
-
],
|
629
662
|
queryParameters: [
|
663
|
+
Parameters.timeoutInSeconds,
|
664
|
+
Parameters.comp2,
|
630
665
|
Parameters.prefix,
|
631
|
-
Parameters.
|
632
|
-
Parameters.marker0,
|
666
|
+
Parameters.marker,
|
633
667
|
Parameters.maxPageSize,
|
634
|
-
Parameters.include1,
|
635
|
-
Parameters.timeoutInSeconds,
|
636
668
|
Parameters.restype2,
|
637
|
-
Parameters.
|
669
|
+
Parameters.include1
|
638
670
|
],
|
671
|
+
urlParameters: [Parameters.url],
|
639
672
|
headerParameters: [
|
640
673
|
Parameters.version,
|
641
|
-
Parameters.requestId
|
674
|
+
Parameters.requestId,
|
675
|
+
Parameters.accept1
|
642
676
|
],
|
677
|
+
isXML: true,
|
678
|
+
serializer: xmlSerializer
|
679
|
+
};
|
680
|
+
var listBlobHierarchySegmentOperationSpec = {
|
681
|
+
path: "/{containerName}",
|
682
|
+
httpMethod: "GET",
|
643
683
|
responses: {
|
644
684
|
200: {
|
645
685
|
bodyMapper: Mappers.ListBlobsHierarchySegmentResponse,
|
@@ -647,35 +687,44 @@ var listBlobHierarchySegmentOperationSpec = {
|
|
647
687
|
},
|
648
688
|
default: {
|
649
689
|
bodyMapper: Mappers.StorageError,
|
650
|
-
headersMapper: Mappers.
|
690
|
+
headersMapper: Mappers.ContainerListBlobHierarchySegmentExceptionHeaders
|
651
691
|
}
|
652
692
|
},
|
653
|
-
isXML: true,
|
654
|
-
serializer: serializer
|
655
|
-
};
|
656
|
-
var getAccountInfoOperationSpec = {
|
657
|
-
httpMethod: "GET",
|
658
|
-
path: "{containerName}",
|
659
|
-
urlParameters: [
|
660
|
-
Parameters.url
|
661
|
-
],
|
662
693
|
queryParameters: [
|
663
|
-
Parameters.
|
664
|
-
Parameters.
|
694
|
+
Parameters.timeoutInSeconds,
|
695
|
+
Parameters.comp2,
|
696
|
+
Parameters.prefix,
|
697
|
+
Parameters.marker,
|
698
|
+
Parameters.maxPageSize,
|
699
|
+
Parameters.restype2,
|
700
|
+
Parameters.include1,
|
701
|
+
Parameters.delimiter
|
665
702
|
],
|
703
|
+
urlParameters: [Parameters.url],
|
666
704
|
headerParameters: [
|
667
|
-
Parameters.version
|
705
|
+
Parameters.version,
|
706
|
+
Parameters.requestId,
|
707
|
+
Parameters.accept1
|
668
708
|
],
|
709
|
+
isXML: true,
|
710
|
+
serializer: xmlSerializer
|
711
|
+
};
|
712
|
+
var getAccountInfoOperationSpec = {
|
713
|
+
path: "/{containerName}",
|
714
|
+
httpMethod: "GET",
|
669
715
|
responses: {
|
670
716
|
200: {
|
671
717
|
headersMapper: Mappers.ContainerGetAccountInfoHeaders
|
672
718
|
},
|
673
719
|
default: {
|
674
720
|
bodyMapper: Mappers.StorageError,
|
675
|
-
headersMapper: Mappers.
|
721
|
+
headersMapper: Mappers.ContainerGetAccountInfoExceptionHeaders
|
676
722
|
}
|
677
723
|
},
|
724
|
+
queryParameters: [Parameters.comp, Parameters.restype1],
|
725
|
+
urlParameters: [Parameters.url],
|
726
|
+
headerParameters: [Parameters.version, Parameters.accept1],
|
678
727
|
isXML: true,
|
679
|
-
serializer:
|
728
|
+
serializer: xmlSerializer
|
680
729
|
};
|
681
730
|
//# sourceMappingURL=container.js.map
|