@azure/storage-queue 12.30.0-beta.1 → 12.31.0-beta.1
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/dist/browser/generated/src/storageClient.js +2 -2
- package/dist/browser/generated/src/storageClient.js.map +1 -1
- package/dist/browser/utils/constants.js +2 -2
- package/dist/browser/utils/constants.js.map +1 -1
- package/dist/browser/utils/utils.common.d.ts.map +1 -1
- package/dist/browser/utils/utils.common.js +14 -0
- package/dist/browser/utils/utils.common.js.map +1 -1
- package/dist/commonjs/AccountSASPermissions.js +1 -0
- package/dist/commonjs/AccountSASPermissions.js.map +1 -1
- package/dist/commonjs/AccountSASResourceTypes.js +1 -0
- package/dist/commonjs/AccountSASResourceTypes.js.map +1 -1
- package/dist/commonjs/AccountSASServices.js +1 -0
- package/dist/commonjs/AccountSASServices.js.map +1 -1
- package/dist/commonjs/AccountSASSignatureValues.js +1 -0
- package/dist/commonjs/AccountSASSignatureValues.js.map +1 -1
- package/dist/commonjs/Pipeline.js +1 -0
- package/dist/commonjs/Pipeline.js.map +1 -1
- package/dist/commonjs/QueueClient.js +1 -0
- package/dist/commonjs/QueueClient.js.map +1 -1
- package/dist/commonjs/QueueSASPermissions.js +1 -0
- package/dist/commonjs/QueueSASPermissions.js.map +1 -1
- package/dist/commonjs/QueueSASSignatureValues.js +1 -0
- package/dist/commonjs/QueueSASSignatureValues.js.map +1 -1
- package/dist/commonjs/QueueServiceClient.js +1 -0
- package/dist/commonjs/QueueServiceClient.js.map +1 -1
- package/dist/commonjs/SASQueryParameters.js +1 -0
- package/dist/commonjs/SASQueryParameters.js.map +1 -1
- package/dist/commonjs/SasIPRange.js +1 -0
- package/dist/commonjs/SasIPRange.js.map +1 -1
- package/dist/commonjs/StorageClient.js +1 -0
- package/dist/commonjs/StorageClient.js.map +1 -1
- package/dist/commonjs/StorageContextClient.js +1 -0
- package/dist/commonjs/StorageContextClient.js.map +1 -1
- package/dist/commonjs/generated/src/index.js +1 -0
- package/dist/commonjs/generated/src/index.js.map +1 -1
- package/dist/commonjs/generated/src/models/index.js +1 -0
- package/dist/commonjs/generated/src/models/index.js.map +1 -1
- package/dist/commonjs/generated/src/models/mappers.js +1 -0
- package/dist/commonjs/generated/src/models/mappers.js.map +1 -1
- package/dist/commonjs/generated/src/models/parameters.js +1 -0
- package/dist/commonjs/generated/src/models/parameters.js.map +1 -1
- package/dist/commonjs/generated/src/operations/index.js +1 -0
- package/dist/commonjs/generated/src/operations/index.js.map +1 -1
- package/dist/commonjs/generated/src/operations/messageId.js +1 -0
- package/dist/commonjs/generated/src/operations/messageId.js.map +1 -1
- package/dist/commonjs/generated/src/operations/messages.js +1 -0
- package/dist/commonjs/generated/src/operations/messages.js.map +1 -1
- package/dist/commonjs/generated/src/operations/queue.js +1 -0
- package/dist/commonjs/generated/src/operations/queue.js.map +1 -1
- package/dist/commonjs/generated/src/operations/service.js +1 -0
- package/dist/commonjs/generated/src/operations/service.js.map +1 -1
- package/dist/commonjs/generated/src/operationsInterfaces/index.js +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/generated/src/operationsInterfaces/messageId.js +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/messageId.js.map +1 -1
- package/dist/commonjs/generated/src/operationsInterfaces/messages.js +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/messages.js.map +1 -1
- package/dist/commonjs/generated/src/operationsInterfaces/queue.js +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/queue.js.map +1 -1
- package/dist/commonjs/generated/src/operationsInterfaces/service.js +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/service.js.map +1 -1
- package/dist/commonjs/generated/src/storageClient.js +3 -2
- package/dist/commonjs/generated/src/storageClient.js.map +2 -2
- package/dist/commonjs/generatedModels.js +1 -0
- package/dist/commonjs/generatedModels.js.map +1 -1
- package/dist/commonjs/index.js +1 -0
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/log.js +1 -0
- package/dist/commonjs/log.js.map +1 -1
- package/dist/commonjs/models.js +1 -0
- package/dist/commonjs/models.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/commonjs/utils/constants.js +3 -2
- package/dist/commonjs/utils/constants.js.map +2 -2
- package/dist/commonjs/utils/tracing.js +1 -0
- package/dist/commonjs/utils/tracing.js.map +1 -1
- package/dist/commonjs/utils/utils.common.d.ts.map +1 -1
- package/dist/commonjs/utils/utils.common.js +14 -0
- package/dist/commonjs/utils/utils.common.js.map +3 -3
- package/dist/esm/AccountSASPermissions.js +123 -111
- package/dist/esm/AccountSASPermissions.js.map +1 -7
- package/dist/esm/AccountSASResourceTypes.js +67 -58
- package/dist/esm/AccountSASResourceTypes.js.map +1 -7
- package/dist/esm/AccountSASServices.js +75 -66
- package/dist/esm/AccountSASServices.js.map +1 -7
- package/dist/esm/AccountSASSignatureValues.js +63 -62
- package/dist/esm/AccountSASSignatureValues.js.map +1 -7
- package/dist/esm/Pipeline.js +239 -239
- package/dist/esm/Pipeline.js.map +1 -7
- package/dist/esm/QueueClient.js +671 -689
- package/dist/esm/QueueClient.js.map +1 -7
- package/dist/esm/QueueSASPermissions.js +77 -68
- package/dist/esm/QueueSASPermissions.js.map +1 -7
- package/dist/esm/QueueSASSignatureValues.js +103 -123
- package/dist/esm/QueueSASSignatureValues.js.map +1 -7
- package/dist/esm/QueueServiceClient.js +463 -505
- package/dist/esm/QueueServiceClient.js.map +1 -7
- package/dist/esm/SASQueryParameters.js +272 -283
- package/dist/esm/SASQueryParameters.js.map +1 -7
- package/dist/esm/SasIPRange.js +12 -5
- package/dist/esm/SasIPRange.js.map +1 -7
- package/dist/esm/StorageClient.js +59 -50
- package/dist/esm/StorageClient.js.map +1 -7
- package/dist/esm/StorageContextClient.js +15 -10
- package/dist/esm/StorageContextClient.js.map +1 -7
- package/dist/esm/generated/src/index.js +9 -4
- package/dist/esm/generated/src/index.js.map +1 -7
- package/dist/esm/generated/src/models/index.js +126 -63
- package/dist/esm/generated/src/models/index.js.map +1 -7
- package/dist/esm/generated/src/models/mappers.js +1827 -1873
- package/dist/esm/generated/src/models/mappers.js.map +1 -7
- package/dist/esm/generated/src/models/parameters.js +302 -330
- package/dist/esm/generated/src/models/parameters.js.map +1 -7
- package/dist/esm/generated/src/operations/index.js +8 -0
- package/dist/esm/generated/src/operations/index.js.map +1 -7
- package/dist/esm/generated/src/operations/messageId.js +92 -95
- package/dist/esm/generated/src/operations/messageId.js.map +1 -7
- package/dist/esm/generated/src/operations/messages.js +178 -178
- package/dist/esm/generated/src/operations/messages.js.map +1 -7
- package/dist/esm/generated/src/operations/queue.js +199 -208
- package/dist/esm/generated/src/operations/queue.js.map +1 -7
- package/dist/esm/generated/src/operations/service.js +192 -204
- package/dist/esm/generated/src/operations/service.js.map +1 -7
- package/dist/esm/generated/src/operationsInterfaces/index.js +8 -0
- package/dist/esm/generated/src/operationsInterfaces/index.js.map +1 -7
- package/dist/esm/generated/src/operationsInterfaces/messageId.js +9 -0
- package/dist/esm/generated/src/operationsInterfaces/messageId.js.map +1 -7
- package/dist/esm/generated/src/operationsInterfaces/messages.js +9 -0
- package/dist/esm/generated/src/operationsInterfaces/messages.js.map +1 -7
- package/dist/esm/generated/src/operationsInterfaces/queue.js +9 -0
- package/dist/esm/generated/src/operationsInterfaces/queue.js.map +1 -7
- package/dist/esm/generated/src/operationsInterfaces/service.js +9 -0
- package/dist/esm/generated/src/operationsInterfaces/service.js.map +1 -7
- package/dist/esm/generated/src/storageClient.js +54 -49
- package/dist/esm/generated/src/storageClient.js.map +1 -7
- package/dist/esm/generatedModels.js +4 -0
- package/dist/esm/generatedModels.js.map +1 -7
- package/dist/esm/index.js +10 -50
- package/dist/esm/index.js.map +1 -7
- package/dist/esm/log.js +7 -4
- package/dist/esm/log.js.map +1 -7
- package/dist/esm/models.js +18 -10
- package/dist/esm/models.js.map +1 -7
- package/dist/esm/utils/constants.js +111 -117
- package/dist/esm/utils/constants.js.map +1 -7
- package/dist/esm/utils/tracing.js +11 -7
- package/dist/esm/utils/tracing.js.map +1 -7
- package/dist/esm/utils/utils.common.d.ts.map +1 -1
- package/dist/esm/utils/utils.common.js +372 -247
- package/dist/esm/utils/utils.common.js.map +1 -7
- package/dist/react-native/generated/src/storageClient.js +2 -2
- package/dist/react-native/generated/src/storageClient.js.map +1 -1
- package/dist/react-native/utils/constants.js +2 -2
- package/dist/react-native/utils/constants.js.map +1 -1
- package/dist/react-native/utils/utils.common.d.ts.map +1 -1
- package/dist/react-native/utils/utils.common.js +14 -0
- package/dist/react-native/utils/utils.common.js.map +1 -1
- package/package.json +13 -9
|
@@ -1,52 +1,57 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
1
8
|
import * as coreHttpCompat from "@azure/core-http-compat";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
9
|
+
import { ServiceImpl, QueueImpl, MessagesImpl, MessageIdImpl, } from "./operations/index.js";
|
|
10
|
+
export class StorageClient extends coreHttpCompat.ExtendedServiceClient {
|
|
11
|
+
url;
|
|
12
|
+
version;
|
|
13
|
+
/**
|
|
14
|
+
* Initializes a new instance of the StorageClient class.
|
|
15
|
+
* @param url The URL of the service account, queue or message that is the target of the desired
|
|
16
|
+
* operation.
|
|
17
|
+
* @param options The parameter options
|
|
18
|
+
*/
|
|
19
|
+
constructor(url, options) {
|
|
20
|
+
if (url === undefined) {
|
|
21
|
+
throw new Error("'url' cannot be null");
|
|
22
|
+
}
|
|
23
|
+
// Initializing default values for options
|
|
24
|
+
if (!options) {
|
|
25
|
+
options = {};
|
|
26
|
+
}
|
|
27
|
+
const defaults = {
|
|
28
|
+
requestContentType: "application/json; charset=utf-8",
|
|
29
|
+
};
|
|
30
|
+
const packageDetails = `azsdk-js-azure-storage-queue/12.31.0-beta.1`;
|
|
31
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
32
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
33
|
+
: `${packageDetails}`;
|
|
34
|
+
const optionsWithDefaults = {
|
|
35
|
+
...defaults,
|
|
36
|
+
...options,
|
|
37
|
+
userAgentOptions: {
|
|
38
|
+
userAgentPrefix,
|
|
39
|
+
},
|
|
40
|
+
endpoint: options.endpoint ?? options.baseUri ?? "{url}",
|
|
41
|
+
};
|
|
42
|
+
super(optionsWithDefaults);
|
|
43
|
+
// Parameter assignments
|
|
44
|
+
this.url = url;
|
|
45
|
+
// Assigning values to Constant parameters
|
|
46
|
+
this.version = options.version || "2026-06-06";
|
|
47
|
+
this.service = new ServiceImpl(this);
|
|
48
|
+
this.queue = new QueueImpl(this);
|
|
49
|
+
this.messages = new MessagesImpl(this);
|
|
50
|
+
this.messageId = new MessageIdImpl(this);
|
|
20
51
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
requestContentType: "application/json; charset=utf-8"
|
|
26
|
-
};
|
|
27
|
-
const packageDetails = `azsdk-js-azure-storage-queue/12.30.0-beta.1`;
|
|
28
|
-
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` : `${packageDetails}`;
|
|
29
|
-
const optionsWithDefaults = {
|
|
30
|
-
...defaults,
|
|
31
|
-
...options,
|
|
32
|
-
userAgentOptions: {
|
|
33
|
-
userAgentPrefix
|
|
34
|
-
},
|
|
35
|
-
endpoint: options.endpoint ?? options.baseUri ?? "{url}"
|
|
36
|
-
};
|
|
37
|
-
super(optionsWithDefaults);
|
|
38
|
-
this.url = url;
|
|
39
|
-
this.version = options.version || "2026-04-06";
|
|
40
|
-
this.service = new ServiceImpl(this);
|
|
41
|
-
this.queue = new QueueImpl(this);
|
|
42
|
-
this.messages = new MessagesImpl(this);
|
|
43
|
-
this.messageId = new MessageIdImpl(this);
|
|
44
|
-
}
|
|
45
|
-
service;
|
|
46
|
-
queue;
|
|
47
|
-
messages;
|
|
48
|
-
messageId;
|
|
52
|
+
service;
|
|
53
|
+
queue;
|
|
54
|
+
messages;
|
|
55
|
+
messageId;
|
|
49
56
|
}
|
|
50
|
-
|
|
51
|
-
StorageClient
|
|
52
|
-
};
|
|
57
|
+
//# sourceMappingURL=storageClient.js.map
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["/mnt/vss/_work/1/s/sdk/storage/storage-queue/src/generated/src/storageClient.ts"],
|
|
4
|
-
"sourcesContent": ["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttpCompat from \"@azure/core-http-compat\";\nimport {\n ServiceImpl,\n QueueImpl,\n MessagesImpl,\n MessageIdImpl,\n} from \"./operations/index.js\";\nimport {\n Service,\n Queue,\n Messages,\n MessageId,\n} from \"./operationsInterfaces/index.js\";\nimport { StorageClientOptionalParams } from \"./models/index.js\";\n\nexport class StorageClient extends coreHttpCompat.ExtendedServiceClient {\n url: string;\n version: string;\n\n /**\n * Initializes a new instance of the StorageClient class.\n * @param url The URL of the service account, queue or message that is the target of the desired\n * operation.\n * @param options The parameter options\n */\n constructor(url: string, options?: StorageClientOptionalParams) {\n if (url === undefined) {\n throw new Error(\"'url' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: StorageClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n };\n\n const packageDetails = `azsdk-js-azure-storage-queue/12.30.0-beta.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"{url}\",\n };\n super(optionsWithDefaults);\n // Parameter assignments\n this.url = url;\n\n // Assigning values to Constant parameters\n this.version = options.version || \"2026-04-06\";\n this.service = new ServiceImpl(this);\n this.queue = new QueueImpl(this);\n this.messages = new MessagesImpl(this);\n this.messageId = new MessageIdImpl(this);\n }\n\n service: Service;\n queue: Queue;\n messages: Messages;\n messageId: MessageId;\n}\n"],
|
|
5
|
-
"mappings": "AAQA,YAAY,oBAAoB;AAChC;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AASA,MAAM,sBAAsB,eAAe,sBAAsB;AAAA,EACtE;AAAA,EACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,YAAY,KAAa,SAAuC;AAC9D,QAAI,QAAQ,QAAW;AACrB,YAAM,IAAI,MAAM,sBAAsB;AAAA,IACxC;AAGA,QAAI,CAAC,SAAS;AACZ,gBAAU,CAAC;AAAA,IACb;AACA,UAAM,WAAwC;AAAA,MAC5C,oBAAoB;AAAA,IACtB;AAEA,UAAM,iBAAiB;AACvB,UAAM,kBACJ,QAAQ,oBAAoB,QAAQ,iBAAiB,kBACjD,GAAG,QAAQ,iBAAiB,eAAe,IAAI,cAAc,KAC7D,GAAG,cAAc;AAEvB,UAAM,sBAAsB;AAAA,MAC1B,GAAG;AAAA,MACH,GAAG;AAAA,MACH,kBAAkB;AAAA,QAChB;AAAA,MACF;AAAA,MACA,UAAU,QAAQ,YAAY,QAAQ,WAAW;AAAA,IACnD;AACA,UAAM,mBAAmB;AAEzB,SAAK,MAAM;AAGX,SAAK,UAAU,QAAQ,WAAW;AAClC,SAAK,UAAU,IAAI,YAAY,IAAI;AACnC,SAAK,QAAQ,IAAI,UAAU,IAAI;AAC/B,SAAK,WAAW,IAAI,aAAa,IAAI;AACrC,SAAK,YAAY,IAAI,cAAc,IAAI;AAAA,EACzC;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
1
|
+
{"version":3,"file":"storageClient.js","sourceRoot":"","sources":["../../../../src/generated/src/storageClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EACL,WAAW,EACX,SAAS,EACT,YAAY,EACZ,aAAa,GACd,MAAM,uBAAuB,CAAC;AAS/B,MAAM,OAAO,aAAc,SAAQ,cAAc,CAAC,qBAAqB;IACrE,GAAG,CAAS;IACZ,OAAO,CAAS;IAEhB;;;;;OAKG;IACH,YAAY,GAAW,EAAE,OAAqC;QAC5D,IAAI,GAAG,KAAK,SAAS,EAAE,CAAC;YACtB,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAC;QAC1C,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAgC;YAC5C,kBAAkB,EAAE,iCAAiC;SACtD,CAAC;QAEF,MAAM,cAAc,GAAG,6CAA6C,CAAC;QACrE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,GAAG;YAC1B,GAAG,QAAQ;YACX,GAAG,OAAO;YACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB;YACD,QAAQ,EAAE,OAAO,CAAC,QAAQ,IAAI,OAAO,CAAC,OAAO,IAAI,OAAO;SACzD,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAC3B,wBAAwB;QACxB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QAEf,0CAA0C;QAC1C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,YAAY,CAAC;QAC/C,IAAI,CAAC,OAAO,GAAG,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,KAAK,GAAG,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,QAAQ,GAAG,IAAI,YAAY,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,SAAS,GAAG,IAAI,aAAa,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC;IAED,OAAO,CAAU;IACjB,KAAK,CAAQ;IACb,QAAQ,CAAW;IACnB,SAAS,CAAY;CACtB","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttpCompat from \"@azure/core-http-compat\";\nimport {\n ServiceImpl,\n QueueImpl,\n MessagesImpl,\n MessageIdImpl,\n} from \"./operations/index.js\";\nimport {\n Service,\n Queue,\n Messages,\n MessageId,\n} from \"./operationsInterfaces/index.js\";\nimport { StorageClientOptionalParams } from \"./models/index.js\";\n\nexport class StorageClient extends coreHttpCompat.ExtendedServiceClient {\n url: string;\n version: string;\n\n /**\n * Initializes a new instance of the StorageClient class.\n * @param url The URL of the service account, queue or message that is the target of the desired\n * operation.\n * @param options The parameter options\n */\n constructor(url: string, options?: StorageClientOptionalParams) {\n if (url === undefined) {\n throw new Error(\"'url' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: StorageClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n };\n\n const packageDetails = `azsdk-js-azure-storage-queue/12.31.0-beta.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"{url}\",\n };\n super(optionsWithDefaults);\n // Parameter assignments\n this.url = url;\n\n // Assigning values to Constant parameters\n this.version = options.version || \"2026-06-06\";\n this.service = new ServiceImpl(this);\n this.queue = new QueueImpl(this);\n this.messages = new MessagesImpl(this);\n this.messageId = new MessageIdImpl(this);\n }\n\n service: Service;\n queue: Queue;\n messages: Messages;\n messageId: MessageId;\n}\n"]}
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": [],
|
|
4
|
-
"sourcesContent": [],
|
|
5
|
-
"mappings": "",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
1
|
+
{"version":3,"file":"generatedModels.js","sourceRoot":"","sources":["../../src/generatedModels.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { WithResponse } from \"./utils/utils.common.js\";\nimport type {\n ListQueuesSegmentResponse,\n MessageIdDeleteHeaders,\n MessageIdUpdateHeaders,\n MessagesClearHeaders,\n QueueCreateHeaders,\n QueueDeleteHeaders,\n QueueGetPropertiesHeaders,\n QueueServiceProperties,\n QueueServiceStatistics,\n QueueSetAccessPolicyHeaders,\n QueueSetMetadataHeaders,\n ServiceGetPropertiesHeaders,\n ServiceGetStatisticsHeaders,\n ServiceGetUserDelegationKeyHeaders,\n ServiceListQueuesSegmentHeaders,\n ServiceSetPropertiesHeaders,\n UserDelegationKey as UserDelegationKeyModel,\n} from \"./generated/src/index.js\";\nimport type { UserDelegationKey } from \"@azure/storage-common\";\n\nexport type {\n AccessPolicy,\n CorsRule,\n DequeuedMessageItem,\n EnqueuedMessage,\n GeoReplication,\n GeoReplicationStatusType,\n ListQueuesSegmentResponse,\n Logging,\n MessagesDequeueHeaders,\n MessagesEnqueueHeaders,\n MessageIdDeleteHeaders,\n MessageIdUpdateHeaders,\n MessagesClearHeaders,\n MessagesPeekHeaders,\n Metrics,\n PeekedMessageItem,\n QueueCreateHeaders,\n QueueDeleteHeaders,\n QueueGetAccessPolicyHeaders,\n QueueGetPropertiesHeaders,\n QueueItem,\n QueueServiceProperties,\n QueueServiceStatistics,\n QueueSetAccessPolicyHeaders,\n QueueSetMetadataHeaders,\n RetentionPolicy,\n ServiceGetPropertiesHeaders,\n ServiceGetStatisticsHeaders,\n ServiceGetUserDelegationKeyHeaders,\n ServiceListQueuesSegmentHeaders,\n ServiceSetPropertiesHeaders,\n SignedIdentifier as SignedIdentifierModel,\n UserDelegationKey as UserDelegationKeyModel,\n} from \"./generated/src/models/index.js\";\n\n/** Contains response data for the getProperties operation. */\nexport type ServiceGetPropertiesResponse = WithResponse<\n ServiceGetPropertiesHeaders & QueueServiceProperties,\n ServiceGetPropertiesHeaders,\n QueueServiceProperties\n>;\n\n/**\n * Contains response data for the create operation.\n */\nexport declare type QueueCreateResponse = WithResponse<QueueCreateHeaders, QueueCreateHeaders>;\n\n/** Contains response data for the listQueuesSegment operation. */\nexport type ServiceListQueuesSegmentResponse = WithResponse<\n ServiceListQueuesSegmentHeaders & ListQueuesSegmentResponse,\n ServiceListQueuesSegmentHeaders,\n ListQueuesSegmentResponse\n>;\n\n/** Contains response data for the setProperties operation. */\nexport type ServiceSetPropertiesResponse = WithResponse<\n ServiceSetPropertiesHeaders,\n ServiceSetPropertiesHeaders\n>;\n\n/** Contains response data for the getStatistics operation. */\nexport type ServiceGetStatisticsResponse = WithResponse<\n ServiceGetStatisticsHeaders & QueueServiceStatistics,\n ServiceGetStatisticsHeaders,\n QueueServiceStatistics\n>;\n\n/** Contains response data for the setMetadata operation. */\nexport type QueueSetMetadataResponse = WithResponse<\n QueueSetMetadataHeaders,\n QueueSetMetadataHeaders\n>;\n\n/** Contains response data for the setAccessPolicy operation. */\nexport type QueueSetAccessPolicyResponse = WithResponse<\n QueueSetAccessPolicyHeaders,\n QueueSetAccessPolicyHeaders\n>;\n\n/** Contains response data for the getProperties operation. */\nexport type QueueGetPropertiesResponse = WithResponse<\n QueueGetPropertiesHeaders,\n QueueGetPropertiesHeaders\n>;\n\n/** Contains response data for the delete operation. */\nexport type QueueDeleteResponse = WithResponse<QueueDeleteHeaders, QueueDeleteHeaders>;\n\n/** Contains response data for the clear operation. */\nexport type MessagesClearResponse = WithResponse<MessagesClearHeaders, MessagesClearHeaders>;\n\n/** Contains response data for the update operation. */\nexport type MessageIdUpdateResponse = WithResponse<MessageIdUpdateHeaders, MessageIdUpdateHeaders>;\n\n/** Contains response data for the delete operation. */\nexport type MessageIdDeleteResponse = WithResponse<MessageIdDeleteHeaders, MessageIdDeleteHeaders>;\n\n/**\n * Contains response data for the {@link getUserDelegationKey} operation.\n */\nexport declare type ServiceGetUserDelegationKeyResponse = WithResponse<\n UserDelegationKey & ServiceGetUserDelegationKeyHeaders,\n ServiceGetUserDelegationKeyHeaders,\n UserDelegationKeyModel\n>;\n"]}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,58 +1,18 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
1
3
|
import { RestError } from "@azure/core-rest-pipeline";
|
|
2
4
|
export * from "./AccountSASPermissions.js";
|
|
3
5
|
export * from "./AccountSASResourceTypes.js";
|
|
4
6
|
export * from "./AccountSASServices.js";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
8
|
-
|
|
9
|
-
AnonymousCredential,
|
|
10
|
-
Credential,
|
|
11
|
-
StorageSharedKeyCredential,
|
|
12
|
-
BaseRequestPolicy,
|
|
13
|
-
AnonymousCredentialPolicy,
|
|
14
|
-
CredentialPolicy,
|
|
15
|
-
StorageRetryPolicyType,
|
|
16
|
-
StorageRetryPolicy,
|
|
17
|
-
StorageRetryPolicyFactory,
|
|
18
|
-
StorageSharedKeyCredentialPolicy,
|
|
19
|
-
StorageBrowserPolicyFactory
|
|
20
|
-
} from "@azure/storage-common";
|
|
21
|
-
import {
|
|
22
|
-
Pipeline,
|
|
23
|
-
isPipelineLike,
|
|
24
|
-
newPipeline,
|
|
25
|
-
StorageOAuthScopes
|
|
26
|
-
} from "./Pipeline.js";
|
|
27
|
-
import { StorageQueueAudience, getQueueServiceAccountAudience } from "./models.js";
|
|
7
|
+
export { generateAccountSASQueryParameters, } from "./AccountSASSignatureValues.js";
|
|
8
|
+
export { AnonymousCredential, Credential, StorageSharedKeyCredential, BaseRequestPolicy, AnonymousCredentialPolicy, CredentialPolicy, StorageRetryPolicyType, StorageRetryPolicy, StorageRetryPolicyFactory, StorageSharedKeyCredentialPolicy, StorageBrowserPolicyFactory, } from "@azure/storage-common";
|
|
9
|
+
export { Pipeline, isPipelineLike, newPipeline, StorageOAuthScopes, } from "./Pipeline.js";
|
|
10
|
+
export { StorageQueueAudience, getQueueServiceAccountAudience } from "./models.js";
|
|
28
11
|
export * from "./QueueClient.js";
|
|
29
12
|
export * from "./QueueSASPermissions.js";
|
|
30
|
-
|
|
31
|
-
generateQueueSASQueryParameters
|
|
32
|
-
} from "./QueueSASSignatureValues.js";
|
|
13
|
+
export { generateQueueSASQueryParameters, } from "./QueueSASSignatureValues.js";
|
|
33
14
|
export * from "./QueueServiceClient.js";
|
|
34
15
|
export * from "./SASQueryParameters.js";
|
|
35
|
-
|
|
36
|
-
export {
|
|
37
|
-
|
|
38
|
-
AnonymousCredentialPolicy,
|
|
39
|
-
BaseRequestPolicy,
|
|
40
|
-
Credential,
|
|
41
|
-
CredentialPolicy,
|
|
42
|
-
Pipeline,
|
|
43
|
-
RestError,
|
|
44
|
-
StorageBrowserPolicyFactory,
|
|
45
|
-
StorageOAuthScopes,
|
|
46
|
-
StorageQueueAudience,
|
|
47
|
-
StorageRetryPolicy,
|
|
48
|
-
StorageRetryPolicyFactory,
|
|
49
|
-
StorageRetryPolicyType,
|
|
50
|
-
StorageSharedKeyCredential,
|
|
51
|
-
StorageSharedKeyCredentialPolicy,
|
|
52
|
-
generateAccountSASQueryParameters,
|
|
53
|
-
generateQueueSASQueryParameters,
|
|
54
|
-
getQueueServiceAccountAudience,
|
|
55
|
-
isPipelineLike,
|
|
56
|
-
logger,
|
|
57
|
-
newPipeline
|
|
58
|
-
};
|
|
16
|
+
export { RestError };
|
|
17
|
+
export { logger } from "./log.js";
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1,7 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["/mnt/vss/_work/1/s/sdk/storage/storage-queue/src/index.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { RestError } from \"@azure/core-rest-pipeline\";\n\nexport * from \"./AccountSASPermissions.js\";\nexport * from \"./AccountSASResourceTypes.js\";\nexport * from \"./AccountSASServices.js\";\nexport {\n type AccountSASSignatureValues,\n generateAccountSASQueryParameters,\n} from \"./AccountSASSignatureValues.js\";\nexport type { SasIPRange } from \"./SasIPRange.js\";\n\nexport {\n AnonymousCredential,\n Credential,\n StorageSharedKeyCredential,\n BaseRequestPolicy,\n AnonymousCredentialPolicy,\n CredentialPolicy,\n type StorageRetryOptions,\n StorageRetryPolicyType,\n StorageRetryPolicy,\n StorageRetryPolicyFactory,\n StorageSharedKeyCredentialPolicy,\n StorageBrowserPolicyFactory,\n type UserDelegationKey,\n type CredentialPolicyCreator,\n} from \"@azure/storage-common\";\n\nexport {\n Pipeline,\n type PipelineLike,\n type PipelineOptions,\n isPipelineLike,\n newPipeline,\n type StoragePipelineOptions,\n type RequestPolicyFactory,\n type RequestPolicy,\n type RequestPolicyOptions,\n type WebResource,\n type HttpOperationResponse,\n type HttpHeaders,\n type HttpRequestBody,\n type IHttpClient,\n StorageOAuthScopes,\n type ServiceClientOptions,\n} from \"./Pipeline.js\";\n\nexport { type Metadata, StorageQueueAudience, getQueueServiceAccountAudience } from \"./models.js\";\nexport * from \"./QueueClient.js\";\nexport * from \"./QueueSASPermissions.js\";\nexport {\n type QueueSASSignatureValues,\n generateQueueSASQueryParameters,\n} from \"./QueueSASSignatureValues.js\";\nexport * from \"./QueueServiceClient.js\";\nexport * from \"./SASQueryParameters.js\";\nexport type { CommonOptions, ListQueuesIncludeType } from \"./StorageClient.js\";\nexport type * from \"./generatedModels.js\";\nexport type {\n WithResponse,\n ResponseLike,\n ResponseWithBody,\n ResponseWithHeaders,\n HttpResponse,\n} from \"./utils/utils.common.js\";\nexport { RestError };\nexport { logger } from \"./log.js\";\n"],
|
|
5
|
-
"mappings": "AAGA,SAAS,iBAAiB;AAE1B,cAAc;AACd,cAAc;AACd,cAAc;AACd;AAAA,EAEE;AAAA,OACK;AAGP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAGK;AAEP;AAAA,EACE;AAAA,EAGA;AAAA,EACA;AAAA,EAUA;AAAA,OAEK;AAEP,SAAwB,sBAAsB,sCAAsC;AACpF,cAAc;AACd,cAAc;AACd;AAAA,EAEE;AAAA,OACK;AACP,cAAc;AACd,cAAc;AAWd,SAAS,cAAc;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAEL,iCAAiC,GAClC,MAAM,gCAAgC,CAAC;AAGxC,OAAO,EACL,mBAAmB,EACnB,UAAU,EACV,0BAA0B,EAC1B,iBAAiB,EACjB,yBAAyB,EACzB,gBAAgB,EAEhB,sBAAsB,EACtB,kBAAkB,EAClB,yBAAyB,EACzB,gCAAgC,EAChC,2BAA2B,GAG5B,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,QAAQ,EAGR,cAAc,EACd,WAAW,EAUX,kBAAkB,GAEnB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAiB,oBAAoB,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAC;AAClG,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAEL,+BAA+B,GAChC,MAAM,8BAA8B,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AAUxC,OAAO,EAAE,SAAS,EAAE,CAAC;AACrB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { RestError } from \"@azure/core-rest-pipeline\";\n\nexport * from \"./AccountSASPermissions.js\";\nexport * from \"./AccountSASResourceTypes.js\";\nexport * from \"./AccountSASServices.js\";\nexport {\n type AccountSASSignatureValues,\n generateAccountSASQueryParameters,\n} from \"./AccountSASSignatureValues.js\";\nexport type { SasIPRange } from \"./SasIPRange.js\";\n\nexport {\n AnonymousCredential,\n Credential,\n StorageSharedKeyCredential,\n BaseRequestPolicy,\n AnonymousCredentialPolicy,\n CredentialPolicy,\n type StorageRetryOptions,\n StorageRetryPolicyType,\n StorageRetryPolicy,\n StorageRetryPolicyFactory,\n StorageSharedKeyCredentialPolicy,\n StorageBrowserPolicyFactory,\n type UserDelegationKey,\n type CredentialPolicyCreator,\n} from \"@azure/storage-common\";\n\nexport {\n Pipeline,\n type PipelineLike,\n type PipelineOptions,\n isPipelineLike,\n newPipeline,\n type StoragePipelineOptions,\n type RequestPolicyFactory,\n type RequestPolicy,\n type RequestPolicyOptions,\n type WebResource,\n type HttpOperationResponse,\n type HttpHeaders,\n type HttpRequestBody,\n type IHttpClient,\n StorageOAuthScopes,\n type ServiceClientOptions,\n} from \"./Pipeline.js\";\n\nexport { type Metadata, StorageQueueAudience, getQueueServiceAccountAudience } from \"./models.js\";\nexport * from \"./QueueClient.js\";\nexport * from \"./QueueSASPermissions.js\";\nexport {\n type QueueSASSignatureValues,\n generateQueueSASQueryParameters,\n} from \"./QueueSASSignatureValues.js\";\nexport * from \"./QueueServiceClient.js\";\nexport * from \"./SASQueryParameters.js\";\nexport type { CommonOptions, ListQueuesIncludeType } from \"./StorageClient.js\";\nexport type * from \"./generatedModels.js\";\nexport type {\n WithResponse,\n ResponseLike,\n ResponseWithBody,\n ResponseWithHeaders,\n HttpResponse,\n} from \"./utils/utils.common.js\";\nexport { RestError };\nexport { logger } from \"./log.js\";\n"]}
|
package/dist/esm/log.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
1
3
|
import { createClientLogger } from "@azure/logger";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
/**
|
|
5
|
+
* The `@azure/logger` configuration for this package.
|
|
6
|
+
*/
|
|
7
|
+
export const logger = createClientLogger("storage-queue");
|
|
8
|
+
//# sourceMappingURL=log.js.map
|
package/dist/esm/log.js.map
CHANGED
|
@@ -1,7 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["/mnt/vss/_work/1/s/sdk/storage/storage-queue/src/log.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createClientLogger } from \"@azure/logger\";\n\n/**\n * The `@azure/logger` configuration for this package.\n */\nexport const logger = createClientLogger(\"storage-queue\");\n"],
|
|
5
|
-
"mappings": "AAGA,SAAS,0BAA0B;AAK5B,MAAM,SAAS,mBAAmB,eAAe;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
1
|
+
{"version":3,"file":"log.js","sourceRoot":"","sources":["../../src/log.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEnD;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,kBAAkB,CAAC,eAAe,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createClientLogger } from \"@azure/logger\";\n\n/**\n * The `@azure/logger` configuration for this package.\n */\nexport const logger = createClientLogger(\"storage-queue\");\n"]}
|
package/dist/esm/models.js
CHANGED
|
@@ -1,11 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
/**
|
|
4
|
+
* Defines the known cloud audiences for Storage.
|
|
5
|
+
*/
|
|
6
|
+
export var StorageQueueAudience;
|
|
7
|
+
(function (StorageQueueAudience) {
|
|
8
|
+
/**
|
|
9
|
+
* The OAuth scope to use to retrieve an AAD token for Azure Storage.
|
|
10
|
+
*/
|
|
11
|
+
StorageQueueAudience["StorageOAuthScopes"] = "https://storage.azure.com/.default";
|
|
12
|
+
})(StorageQueueAudience || (StorageQueueAudience = {}));
|
|
13
|
+
/**
|
|
14
|
+
* To get OAuth audience for a storage account for queue service.
|
|
15
|
+
*/
|
|
16
|
+
export function getQueueServiceAccountAudience(storageAccountName) {
|
|
17
|
+
return `https://${storageAccountName}.queue.core.windows.net/.default`;
|
|
7
18
|
}
|
|
8
|
-
|
|
9
|
-
StorageQueueAudience,
|
|
10
|
-
getQueueServiceAccountAudience
|
|
11
|
-
};
|
|
19
|
+
//# sourceMappingURL=models.js.map
|
package/dist/esm/models.js.map
CHANGED
|
@@ -1,7 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["/mnt/vss/_work/1/s/sdk/storage/storage-queue/src/models.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * A collection of key-value string pairs.\n */\nexport interface Metadata {\n /**\n * A key-value string pair.\n */\n [propertyName: string]: string;\n}\n\n/**\n * Defines the known cloud audiences for Storage.\n */\nexport enum StorageQueueAudience {\n /**\n * The OAuth scope to use to retrieve an AAD token for Azure Storage.\n */\n StorageOAuthScopes = \"https://storage.azure.com/.default\",\n}\n\n/**\n * To get OAuth audience for a storage account for queue service.\n */\nexport function getQueueServiceAccountAudience(storageAccountName: string): string {\n return `https://${storageAccountName}.queue.core.windows.net/.default`;\n}\n"],
|
|
5
|
-
"mappings": "AAgBO,IAAK,uBAAL,kBAAKA,0BAAL;AAIL,EAAAA,sBAAA,wBAAqB;AAJX,SAAAA;AAAA,GAAA;AAUL,SAAS,+BAA+B,oBAAoC;AACjF,SAAO,WAAW,kBAAkB;AACtC;",
|
|
6
|
-
"names": ["StorageQueueAudience"]
|
|
7
|
-
}
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../src/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAYlC;;GAEG;AACH,MAAM,CAAN,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B;;OAEG;IACH,iFAAyD,CAAA;AAC3D,CAAC,EALW,oBAAoB,KAApB,oBAAoB,QAK/B;AAED;;GAEG;AACH,MAAM,UAAU,8BAA8B,CAAC,kBAA0B;IACvE,OAAO,WAAW,kBAAkB,kCAAkC,CAAC;AACzE,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * A collection of key-value string pairs.\n */\nexport interface Metadata {\n /**\n * A key-value string pair.\n */\n [propertyName: string]: string;\n}\n\n/**\n * Defines the known cloud audiences for Storage.\n */\nexport enum StorageQueueAudience {\n /**\n * The OAuth scope to use to retrieve an AAD token for Azure Storage.\n */\n StorageOAuthScopes = \"https://storage.azure.com/.default\",\n}\n\n/**\n * To get OAuth audience for a storage account for queue service.\n */\nexport function getQueueServiceAccountAudience(storageAccountName: string): string {\n return `https://${storageAccountName}.queue.core.windows.net/.default`;\n}\n"]}
|
|
@@ -1,125 +1,119 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
export const SDK_VERSION = "12.31.0-beta.1";
|
|
4
|
+
export const SERVICE_VERSION = "2026-06-06";
|
|
5
|
+
/**
|
|
6
|
+
* The OAuth scope to use with Azure Storage.
|
|
7
|
+
*/
|
|
8
|
+
export const StorageOAuthScopes = "https://storage.azure.com/.default";
|
|
9
|
+
export const URLConstants = {
|
|
10
|
+
Parameters: {
|
|
11
|
+
FORCE_BROWSER_NO_CACHE: "_",
|
|
12
|
+
SIGNATURE: "sig",
|
|
13
|
+
TIMEOUT: "timeout",
|
|
14
|
+
},
|
|
10
15
|
};
|
|
11
|
-
const HttpUrlConnection = {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
+
export const HttpUrlConnection = {
|
|
17
|
+
HTTP_CONFLICT: 409,
|
|
18
|
+
HTTP_NOT_FOUND: 404,
|
|
19
|
+
HTTP_PRECON_FAILED: 412,
|
|
20
|
+
HTTP_RANGE_NOT_SATISFIABLE: 416,
|
|
16
21
|
};
|
|
17
|
-
const HeaderConstants = {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
22
|
+
export const HeaderConstants = {
|
|
23
|
+
AUTHORIZATION: "authorization",
|
|
24
|
+
AUTHORIZATION_SCHEME: "Bearer",
|
|
25
|
+
CONTENT_ENCODING: "content-encoding",
|
|
26
|
+
CONTENT_LANGUAGE: "content-language",
|
|
27
|
+
CONTENT_LENGTH: "content-length",
|
|
28
|
+
CONTENT_MD5: "content-md5",
|
|
29
|
+
CONTENT_TYPE: "content-type",
|
|
30
|
+
COOKIE: "Cookie",
|
|
31
|
+
DATE: "date",
|
|
32
|
+
IF_MATCH: "if-match",
|
|
33
|
+
IF_MODIFIED_SINCE: "if-modified-since",
|
|
34
|
+
IF_NONE_MATCH: "if-none-match",
|
|
35
|
+
IF_UNMODIFIED_SINCE: "if-unmodified-since",
|
|
36
|
+
PREFIX_FOR_STORAGE: "x-ms-",
|
|
37
|
+
RANGE: "Range",
|
|
38
|
+
USER_AGENT: "User-Agent",
|
|
39
|
+
X_MS_CLIENT_REQUEST_ID: "x-ms-client-request-id",
|
|
40
|
+
X_MS_COPY_SOURCE: "x-ms-copy-source",
|
|
41
|
+
X_MS_DATE: "x-ms-date",
|
|
37
42
|
};
|
|
38
|
-
const ETagNone = "";
|
|
39
|
-
const ETagAny = "*";
|
|
40
|
-
const DevelopmentConnectionString = `DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;
|
|
43
|
+
export const ETagNone = "";
|
|
44
|
+
export const ETagAny = "*";
|
|
45
|
+
export const DevelopmentConnectionString = `DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;
|
|
41
46
|
AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;
|
|
42
47
|
QueueEndpoint=http://127.0.0.1:10001/devstoreaccount1;`;
|
|
43
|
-
const StorageQueueLoggingAllowedHeaderNames = [
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
48
|
+
export const StorageQueueLoggingAllowedHeaderNames = [
|
|
49
|
+
"Access-Control-Allow-Origin",
|
|
50
|
+
"Cache-Control",
|
|
51
|
+
"Content-Length",
|
|
52
|
+
"Content-Type",
|
|
53
|
+
"Date",
|
|
54
|
+
"Request-Id",
|
|
55
|
+
"traceparent",
|
|
56
|
+
"Transfer-Encoding",
|
|
57
|
+
"User-Agent",
|
|
58
|
+
"x-ms-client-request-id",
|
|
59
|
+
"x-ms-date",
|
|
60
|
+
"x-ms-error-code",
|
|
61
|
+
"x-ms-request-id",
|
|
62
|
+
"x-ms-return-client-request-id",
|
|
63
|
+
"x-ms-version",
|
|
64
|
+
"x-ms-approximate-messages-count",
|
|
65
|
+
"x-ms-popreceipt",
|
|
66
|
+
"x-ms-time-next-visible",
|
|
62
67
|
];
|
|
63
|
-
const StorageQueueLoggingAllowedQueryParameters = [
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
68
|
+
export const StorageQueueLoggingAllowedQueryParameters = [
|
|
69
|
+
"comp",
|
|
70
|
+
"maxresults",
|
|
71
|
+
"rscc",
|
|
72
|
+
"rscd",
|
|
73
|
+
"rsce",
|
|
74
|
+
"rscl",
|
|
75
|
+
"rsct",
|
|
76
|
+
"se",
|
|
77
|
+
"si",
|
|
78
|
+
"sip",
|
|
79
|
+
"sp",
|
|
80
|
+
"spr",
|
|
81
|
+
"sr",
|
|
82
|
+
"srt",
|
|
83
|
+
"ss",
|
|
84
|
+
"st",
|
|
85
|
+
"sv",
|
|
86
|
+
"include",
|
|
87
|
+
"marker",
|
|
88
|
+
"prefix",
|
|
89
|
+
"messagettl",
|
|
90
|
+
"numofmessages",
|
|
91
|
+
"peekonly",
|
|
92
|
+
"popreceipt",
|
|
93
|
+
"visibilitytimeout",
|
|
89
94
|
];
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
95
|
+
/// List of ports used for path style addressing.
|
|
96
|
+
/// Path style addressing means that storage account is put in URI's Path segment in instead of in host.
|
|
97
|
+
export const PathStylePorts = [
|
|
98
|
+
"10000",
|
|
99
|
+
"10001",
|
|
100
|
+
"10002",
|
|
101
|
+
"10003",
|
|
102
|
+
"10004",
|
|
103
|
+
"10100",
|
|
104
|
+
"10101",
|
|
105
|
+
"10102",
|
|
106
|
+
"10103",
|
|
107
|
+
"10104",
|
|
108
|
+
"11000",
|
|
109
|
+
"11001",
|
|
110
|
+
"11002",
|
|
111
|
+
"11003",
|
|
112
|
+
"11004",
|
|
113
|
+
"11100",
|
|
114
|
+
"11101",
|
|
115
|
+
"11102",
|
|
116
|
+
"11103",
|
|
117
|
+
"11104",
|
|
111
118
|
];
|
|
112
|
-
|
|
113
|
-
DevelopmentConnectionString,
|
|
114
|
-
ETagAny,
|
|
115
|
-
ETagNone,
|
|
116
|
-
HeaderConstants,
|
|
117
|
-
HttpUrlConnection,
|
|
118
|
-
PathStylePorts,
|
|
119
|
-
SDK_VERSION,
|
|
120
|
-
SERVICE_VERSION,
|
|
121
|
-
StorageOAuthScopes,
|
|
122
|
-
StorageQueueLoggingAllowedHeaderNames,
|
|
123
|
-
StorageQueueLoggingAllowedQueryParameters,
|
|
124
|
-
URLConstants
|
|
125
|
-
};
|
|
119
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["/mnt/vss/_work/1/s/sdk/storage/storage-queue/src/utils/constants.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport const SDK_VERSION: string = \"12.30.0-beta.1\";\nexport const SERVICE_VERSION: string = \"2026-04-06\";\n\n/**\n * The OAuth scope to use with Azure Storage.\n */\nexport const StorageOAuthScopes: string | string[] = \"https://storage.azure.com/.default\";\n\nexport const URLConstants = {\n Parameters: {\n FORCE_BROWSER_NO_CACHE: \"_\",\n SIGNATURE: \"sig\",\n TIMEOUT: \"timeout\",\n },\n};\n\nexport const HttpUrlConnection = {\n HTTP_CONFLICT: 409,\n HTTP_NOT_FOUND: 404,\n HTTP_PRECON_FAILED: 412,\n HTTP_RANGE_NOT_SATISFIABLE: 416,\n};\n\nexport const HeaderConstants = {\n AUTHORIZATION: \"authorization\",\n AUTHORIZATION_SCHEME: \"Bearer\",\n CONTENT_ENCODING: \"content-encoding\",\n CONTENT_LANGUAGE: \"content-language\",\n CONTENT_LENGTH: \"content-length\",\n CONTENT_MD5: \"content-md5\",\n CONTENT_TYPE: \"content-type\",\n COOKIE: \"Cookie\",\n DATE: \"date\",\n IF_MATCH: \"if-match\",\n IF_MODIFIED_SINCE: \"if-modified-since\",\n IF_NONE_MATCH: \"if-none-match\",\n IF_UNMODIFIED_SINCE: \"if-unmodified-since\",\n PREFIX_FOR_STORAGE: \"x-ms-\",\n RANGE: \"Range\",\n USER_AGENT: \"User-Agent\",\n X_MS_CLIENT_REQUEST_ID: \"x-ms-client-request-id\",\n X_MS_COPY_SOURCE: \"x-ms-copy-source\",\n X_MS_DATE: \"x-ms-date\",\n};\n\nexport const ETagNone = \"\";\nexport const ETagAny = \"*\";\n\nexport const DevelopmentConnectionString = `DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;\n AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;\n QueueEndpoint=http://127.0.0.1:10001/devstoreaccount1;`;\n\nexport const StorageQueueLoggingAllowedHeaderNames = [\n \"Access-Control-Allow-Origin\",\n \"Cache-Control\",\n \"Content-Length\",\n \"Content-Type\",\n \"Date\",\n \"Request-Id\",\n \"traceparent\",\n \"Transfer-Encoding\",\n \"User-Agent\",\n \"x-ms-client-request-id\",\n \"x-ms-date\",\n \"x-ms-error-code\",\n \"x-ms-request-id\",\n \"x-ms-return-client-request-id\",\n \"x-ms-version\",\n \"x-ms-approximate-messages-count\",\n \"x-ms-popreceipt\",\n \"x-ms-time-next-visible\",\n];\n\nexport const StorageQueueLoggingAllowedQueryParameters = [\n \"comp\",\n \"maxresults\",\n \"rscc\",\n \"rscd\",\n \"rsce\",\n \"rscl\",\n \"rsct\",\n \"se\",\n \"si\",\n \"sip\",\n \"sp\",\n \"spr\",\n \"sr\",\n \"srt\",\n \"ss\",\n \"st\",\n \"sv\",\n \"include\",\n \"marker\",\n \"prefix\",\n \"messagettl\",\n \"numofmessages\",\n \"peekonly\",\n \"popreceipt\",\n \"visibilitytimeout\",\n];\n\n/// List of ports used for path style addressing.\n/// Path style addressing means that storage account is put in URI's Path segment in instead of in host.\nexport const PathStylePorts = [\n \"10000\",\n \"10001\",\n \"10002\",\n \"10003\",\n \"10004\",\n \"10100\",\n \"10101\",\n \"10102\",\n \"10103\",\n \"10104\",\n \"11000\",\n \"11001\",\n \"11002\",\n \"11003\",\n \"11004\",\n \"11100\",\n \"11101\",\n \"11102\",\n \"11103\",\n \"11104\",\n];\n"],
|
|
5
|
-
"mappings": "AAGO,MAAM,cAAsB;AAC5B,MAAM,kBAA0B;AAKhC,MAAM,qBAAwC;AAE9C,MAAM,eAAe;AAAA,EAC1B,YAAY;AAAA,IACV,wBAAwB;AAAA,IACxB,WAAW;AAAA,IACX,SAAS;AAAA,EACX;AACF;AAEO,MAAM,oBAAoB;AAAA,EAC/B,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,oBAAoB;AAAA,EACpB,4BAA4B;AAC9B;AAEO,MAAM,kBAAkB;AAAA,EAC7B,eAAe;AAAA,EACf,sBAAsB;AAAA,EACtB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,gBAAgB;AAAA,EAChB,aAAa;AAAA,EACb,cAAc;AAAA,EACd,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,UAAU;AAAA,EACV,mBAAmB;AAAA,EACnB,eAAe;AAAA,EACf,qBAAqB;AAAA,EACrB,oBAAoB;AAAA,EACpB,OAAO;AAAA,EACP,YAAY;AAAA,EACZ,wBAAwB;AAAA,EACxB,kBAAkB;AAAA,EAClB,WAAW;AACb;AAEO,MAAM,WAAW;AACjB,MAAM,UAAU;AAEhB,MAAM,8BAA8B;AAAA;AAAA;AAIpC,MAAM,wCAAwC;AAAA,EACnD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEO,MAAM,4CAA4C;AAAA,EACvD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAIO,MAAM,iBAAiB;AAAA,EAC5B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,CAAC,MAAM,WAAW,GAAW,gBAAgB,CAAC;AACpD,MAAM,CAAC,MAAM,eAAe,GAAW,YAAY,CAAC;AAEpD;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAsB,oCAAoC,CAAC;AAE1F,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,UAAU,EAAE;QACV,sBAAsB,EAAE,GAAG;QAC3B,SAAS,EAAE,KAAK;QAChB,OAAO,EAAE,SAAS;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,aAAa,EAAE,GAAG;IAClB,cAAc,EAAE,GAAG;IACnB,kBAAkB,EAAE,GAAG;IACvB,0BAA0B,EAAE,GAAG;CAChC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,aAAa,EAAE,eAAe;IAC9B,oBAAoB,EAAE,QAAQ;IAC9B,gBAAgB,EAAE,kBAAkB;IACpC,gBAAgB,EAAE,kBAAkB;IACpC,cAAc,EAAE,gBAAgB;IAChC,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,cAAc;IAC5B,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,UAAU;IACpB,iBAAiB,EAAE,mBAAmB;IACtC,aAAa,EAAE,eAAe;IAC9B,mBAAmB,EAAE,qBAAqB;IAC1C,kBAAkB,EAAE,OAAO;IAC3B,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,YAAY;IACxB,sBAAsB,EAAE,wBAAwB;IAChD,gBAAgB,EAAE,kBAAkB;IACpC,SAAS,EAAE,WAAW;CACvB,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,EAAE,CAAC;AAC3B,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CAAC;AAE3B,MAAM,CAAC,MAAM,2BAA2B,GAAG;;yDAEc,CAAC;AAE1D,MAAM,CAAC,MAAM,qCAAqC,GAAG;IACnD,6BAA6B;IAC7B,eAAe;IACf,gBAAgB;IAChB,cAAc;IACd,MAAM;IACN,YAAY;IACZ,aAAa;IACb,mBAAmB;IACnB,YAAY;IACZ,wBAAwB;IACxB,WAAW;IACX,iBAAiB;IACjB,iBAAiB;IACjB,+BAA+B;IAC/B,cAAc;IACd,iCAAiC;IACjC,iBAAiB;IACjB,wBAAwB;CACzB,CAAC;AAEF,MAAM,CAAC,MAAM,yCAAyC,GAAG;IACvD,MAAM;IACN,YAAY;IACZ,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,SAAS;IACT,QAAQ;IACR,QAAQ;IACR,YAAY;IACZ,eAAe;IACf,UAAU;IACV,YAAY;IACZ,mBAAmB;CACpB,CAAC;AAEF,iDAAiD;AACjD,wGAAwG;AACxG,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;CACR,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport const SDK_VERSION: string = \"12.31.0-beta.1\";\nexport const SERVICE_VERSION: string = \"2026-06-06\";\n\n/**\n * The OAuth scope to use with Azure Storage.\n */\nexport const StorageOAuthScopes: string | string[] = \"https://storage.azure.com/.default\";\n\nexport const URLConstants = {\n Parameters: {\n FORCE_BROWSER_NO_CACHE: \"_\",\n SIGNATURE: \"sig\",\n TIMEOUT: \"timeout\",\n },\n};\n\nexport const HttpUrlConnection = {\n HTTP_CONFLICT: 409,\n HTTP_NOT_FOUND: 404,\n HTTP_PRECON_FAILED: 412,\n HTTP_RANGE_NOT_SATISFIABLE: 416,\n};\n\nexport const HeaderConstants = {\n AUTHORIZATION: \"authorization\",\n AUTHORIZATION_SCHEME: \"Bearer\",\n CONTENT_ENCODING: \"content-encoding\",\n CONTENT_LANGUAGE: \"content-language\",\n CONTENT_LENGTH: \"content-length\",\n CONTENT_MD5: \"content-md5\",\n CONTENT_TYPE: \"content-type\",\n COOKIE: \"Cookie\",\n DATE: \"date\",\n IF_MATCH: \"if-match\",\n IF_MODIFIED_SINCE: \"if-modified-since\",\n IF_NONE_MATCH: \"if-none-match\",\n IF_UNMODIFIED_SINCE: \"if-unmodified-since\",\n PREFIX_FOR_STORAGE: \"x-ms-\",\n RANGE: \"Range\",\n USER_AGENT: \"User-Agent\",\n X_MS_CLIENT_REQUEST_ID: \"x-ms-client-request-id\",\n X_MS_COPY_SOURCE: \"x-ms-copy-source\",\n X_MS_DATE: \"x-ms-date\",\n};\n\nexport const ETagNone = \"\";\nexport const ETagAny = \"*\";\n\nexport const DevelopmentConnectionString = `DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;\n AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;\n QueueEndpoint=http://127.0.0.1:10001/devstoreaccount1;`;\n\nexport const StorageQueueLoggingAllowedHeaderNames = [\n \"Access-Control-Allow-Origin\",\n \"Cache-Control\",\n \"Content-Length\",\n \"Content-Type\",\n \"Date\",\n \"Request-Id\",\n \"traceparent\",\n \"Transfer-Encoding\",\n \"User-Agent\",\n \"x-ms-client-request-id\",\n \"x-ms-date\",\n \"x-ms-error-code\",\n \"x-ms-request-id\",\n \"x-ms-return-client-request-id\",\n \"x-ms-version\",\n \"x-ms-approximate-messages-count\",\n \"x-ms-popreceipt\",\n \"x-ms-time-next-visible\",\n];\n\nexport const StorageQueueLoggingAllowedQueryParameters = [\n \"comp\",\n \"maxresults\",\n \"rscc\",\n \"rscd\",\n \"rsce\",\n \"rscl\",\n \"rsct\",\n \"se\",\n \"si\",\n \"sip\",\n \"sp\",\n \"spr\",\n \"sr\",\n \"srt\",\n \"ss\",\n \"st\",\n \"sv\",\n \"include\",\n \"marker\",\n \"prefix\",\n \"messagettl\",\n \"numofmessages\",\n \"peekonly\",\n \"popreceipt\",\n \"visibilitytimeout\",\n];\n\n/// List of ports used for path style addressing.\n/// Path style addressing means that storage account is put in URI's Path segment in instead of in host.\nexport const PathStylePorts = [\n \"10000\",\n \"10001\",\n \"10002\",\n \"10003\",\n \"10004\",\n \"10100\",\n \"10101\",\n \"10102\",\n \"10103\",\n \"10104\",\n \"11000\",\n \"11001\",\n \"11002\",\n \"11003\",\n \"11004\",\n \"11100\",\n \"11101\",\n \"11102\",\n \"11103\",\n \"11104\",\n];\n"]}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
1
3
|
import { createTracingClient } from "@azure/core-tracing";
|
|
2
4
|
import { SDK_VERSION } from "./constants.js";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Creates a span using the global tracer.
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
export const tracingClient = createTracingClient({
|
|
10
|
+
packageName: "@azure/storage-queue",
|
|
11
|
+
packageVersion: SDK_VERSION,
|
|
12
|
+
namespace: "Microsoft.Storage",
|
|
7
13
|
});
|
|
8
|
-
|
|
9
|
-
tracingClient
|
|
10
|
-
};
|
|
14
|
+
//# sourceMappingURL=tracing.js.map
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["/mnt/vss/_work/1/s/sdk/storage/storage-queue/src/utils/tracing.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createTracingClient } from \"@azure/core-tracing\";\nimport { SDK_VERSION } from \"./constants.js\";\n\n/**\n * Creates a span using the global tracer.\n * @internal\n */\nexport const tracingClient = createTracingClient({\n packageName: \"@azure/storage-queue\",\n packageVersion: SDK_VERSION,\n namespace: \"Microsoft.Storage\",\n});\n"],
|
|
5
|
-
"mappings": "AAGA,SAAS,2BAA2B;AACpC,SAAS,mBAAmB;AAMrB,MAAM,gBAAgB,oBAAoB;AAAA,EAC/C,aAAa;AAAA,EACb,gBAAgB;AAAA,EAChB,WAAW;AACb,CAAC;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
1
|
+
{"version":3,"file":"tracing.js","sourceRoot":"","sources":["../../../src/utils/tracing.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,mBAAmB,CAAC;IAC/C,WAAW,EAAE,sBAAsB;IACnC,cAAc,EAAE,WAAW;IAC3B,SAAS,EAAE,mBAAmB;CAC/B,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createTracingClient } from \"@azure/core-tracing\";\nimport { SDK_VERSION } from \"./constants.js\";\n\n/**\n * Creates a span using the global tracer.\n * @internal\n */\nexport const tracingClient = createTracingClient({\n packageName: \"@azure/storage-queue\",\n packageVersion: SDK_VERSION,\n namespace: \"Microsoft.Storage\",\n});\n"]}
|