@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,223 +1,211 @@
|
|
|
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 coreClient from "@azure/core-client";
|
|
2
9
|
import * as Mappers from "../models/mappers.js";
|
|
3
10
|
import * as Parameters from "../models/parameters.js";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
)
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
{ keyInfo, options },
|
|
57
|
-
getUserDelegationKeyOperationSpec
|
|
58
|
-
);
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* The List Queues Segment operation returns a list of the queues under the specified account
|
|
62
|
-
* @param options The options parameters.
|
|
63
|
-
*/
|
|
64
|
-
listQueuesSegment(options) {
|
|
65
|
-
return this.client.sendOperationRequest(
|
|
66
|
-
{ options },
|
|
67
|
-
listQueuesSegmentOperationSpec
|
|
68
|
-
);
|
|
69
|
-
}
|
|
11
|
+
/** Class containing Service operations. */
|
|
12
|
+
export class ServiceImpl {
|
|
13
|
+
client;
|
|
14
|
+
/**
|
|
15
|
+
* Initialize a new instance of the class Service class.
|
|
16
|
+
* @param client Reference to the service client
|
|
17
|
+
*/
|
|
18
|
+
constructor(client) {
|
|
19
|
+
this.client = client;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Sets properties for a storage account's Queue service endpoint, including properties for Storage
|
|
23
|
+
* Analytics and CORS (Cross-Origin Resource Sharing) rules
|
|
24
|
+
* @param properties The StorageService properties.
|
|
25
|
+
* @param options The options parameters.
|
|
26
|
+
*/
|
|
27
|
+
setProperties(properties, options) {
|
|
28
|
+
return this.client.sendOperationRequest({ properties, options }, setPropertiesOperationSpec);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* gets the properties of a storage account's Queue service, including properties for Storage Analytics
|
|
32
|
+
* and CORS (Cross-Origin Resource Sharing) rules.
|
|
33
|
+
* @param options The options parameters.
|
|
34
|
+
*/
|
|
35
|
+
getProperties(options) {
|
|
36
|
+
return this.client.sendOperationRequest({ options }, getPropertiesOperationSpec);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Retrieves statistics related to replication for the Queue service. It is only available on the
|
|
40
|
+
* secondary location endpoint when read-access geo-redundant replication is enabled for the storage
|
|
41
|
+
* account.
|
|
42
|
+
* @param options The options parameters.
|
|
43
|
+
*/
|
|
44
|
+
getStatistics(options) {
|
|
45
|
+
return this.client.sendOperationRequest({ options }, getStatisticsOperationSpec);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Retrieves a user delegation key for the Queue service. This is only a valid operation when using
|
|
49
|
+
* bearer token authentication.
|
|
50
|
+
* @param keyInfo Key information
|
|
51
|
+
* @param options The options parameters.
|
|
52
|
+
*/
|
|
53
|
+
getUserDelegationKey(keyInfo, options) {
|
|
54
|
+
return this.client.sendOperationRequest({ keyInfo, options }, getUserDelegationKeyOperationSpec);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* The List Queues Segment operation returns a list of the queues under the specified account
|
|
58
|
+
* @param options The options parameters.
|
|
59
|
+
*/
|
|
60
|
+
listQueuesSegment(options) {
|
|
61
|
+
return this.client.sendOperationRequest({ options }, listQueuesSegmentOperationSpec);
|
|
62
|
+
}
|
|
70
63
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
/* isXml */
|
|
74
|
-
true
|
|
75
|
-
);
|
|
64
|
+
// Operation Specifications
|
|
65
|
+
const xmlSerializer = coreClient.createSerializer(Mappers, /* isXml */ true);
|
|
76
66
|
const setPropertiesOperationSpec = {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
67
|
+
path: "/",
|
|
68
|
+
httpMethod: "PUT",
|
|
69
|
+
responses: {
|
|
70
|
+
202: {
|
|
71
|
+
headersMapper: Mappers.ServiceSetPropertiesHeaders,
|
|
72
|
+
},
|
|
73
|
+
default: {
|
|
74
|
+
bodyMapper: Mappers.StorageError,
|
|
75
|
+
headersMapper: Mappers.ServiceSetPropertiesExceptionHeaders,
|
|
76
|
+
},
|
|
82
77
|
},
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
],
|
|
101
|
-
isXML: true,
|
|
102
|
-
contentType: "application/xml; charset=utf-8",
|
|
103
|
-
mediaType: "xml",
|
|
104
|
-
serializer: xmlSerializer
|
|
78
|
+
requestBody: Parameters.properties,
|
|
79
|
+
queryParameters: [
|
|
80
|
+
Parameters.restype,
|
|
81
|
+
Parameters.comp,
|
|
82
|
+
Parameters.timeoutInSeconds,
|
|
83
|
+
],
|
|
84
|
+
urlParameters: [Parameters.url],
|
|
85
|
+
headerParameters: [
|
|
86
|
+
Parameters.contentType,
|
|
87
|
+
Parameters.accept,
|
|
88
|
+
Parameters.version,
|
|
89
|
+
Parameters.requestId,
|
|
90
|
+
],
|
|
91
|
+
isXML: true,
|
|
92
|
+
contentType: "application/xml; charset=utf-8",
|
|
93
|
+
mediaType: "xml",
|
|
94
|
+
serializer: xmlSerializer,
|
|
105
95
|
};
|
|
106
96
|
const getPropertiesOperationSpec = {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
97
|
+
path: "/",
|
|
98
|
+
httpMethod: "GET",
|
|
99
|
+
responses: {
|
|
100
|
+
200: {
|
|
101
|
+
bodyMapper: Mappers.QueueServiceProperties,
|
|
102
|
+
headersMapper: Mappers.ServiceGetPropertiesHeaders,
|
|
103
|
+
},
|
|
104
|
+
default: {
|
|
105
|
+
bodyMapper: Mappers.StorageError,
|
|
106
|
+
headersMapper: Mappers.ServiceGetPropertiesExceptionHeaders,
|
|
107
|
+
},
|
|
113
108
|
},
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
Parameters.requestId,
|
|
128
|
-
Parameters.accept1
|
|
129
|
-
],
|
|
130
|
-
isXML: true,
|
|
131
|
-
serializer: xmlSerializer
|
|
109
|
+
queryParameters: [
|
|
110
|
+
Parameters.restype,
|
|
111
|
+
Parameters.comp,
|
|
112
|
+
Parameters.timeoutInSeconds,
|
|
113
|
+
],
|
|
114
|
+
urlParameters: [Parameters.url],
|
|
115
|
+
headerParameters: [
|
|
116
|
+
Parameters.version,
|
|
117
|
+
Parameters.requestId,
|
|
118
|
+
Parameters.accept1,
|
|
119
|
+
],
|
|
120
|
+
isXML: true,
|
|
121
|
+
serializer: xmlSerializer,
|
|
132
122
|
};
|
|
133
123
|
const getStatisticsOperationSpec = {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
124
|
+
path: "/",
|
|
125
|
+
httpMethod: "GET",
|
|
126
|
+
responses: {
|
|
127
|
+
200: {
|
|
128
|
+
bodyMapper: Mappers.QueueServiceStatistics,
|
|
129
|
+
headersMapper: Mappers.ServiceGetStatisticsHeaders,
|
|
130
|
+
},
|
|
131
|
+
default: {
|
|
132
|
+
bodyMapper: Mappers.StorageError,
|
|
133
|
+
headersMapper: Mappers.ServiceGetStatisticsExceptionHeaders,
|
|
134
|
+
},
|
|
140
135
|
},
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
Parameters.requestId,
|
|
155
|
-
Parameters.accept1
|
|
156
|
-
],
|
|
157
|
-
isXML: true,
|
|
158
|
-
serializer: xmlSerializer
|
|
136
|
+
queryParameters: [
|
|
137
|
+
Parameters.restype,
|
|
138
|
+
Parameters.timeoutInSeconds,
|
|
139
|
+
Parameters.comp1,
|
|
140
|
+
],
|
|
141
|
+
urlParameters: [Parameters.url],
|
|
142
|
+
headerParameters: [
|
|
143
|
+
Parameters.version,
|
|
144
|
+
Parameters.requestId,
|
|
145
|
+
Parameters.accept1,
|
|
146
|
+
],
|
|
147
|
+
isXML: true,
|
|
148
|
+
serializer: xmlSerializer,
|
|
159
149
|
};
|
|
160
150
|
const getUserDelegationKeyOperationSpec = {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
151
|
+
path: "/",
|
|
152
|
+
httpMethod: "POST",
|
|
153
|
+
responses: {
|
|
154
|
+
200: {
|
|
155
|
+
bodyMapper: Mappers.UserDelegationKey,
|
|
156
|
+
headersMapper: Mappers.ServiceGetUserDelegationKeyHeaders,
|
|
157
|
+
},
|
|
158
|
+
default: {
|
|
159
|
+
bodyMapper: Mappers.StorageError,
|
|
160
|
+
headersMapper: Mappers.ServiceGetUserDelegationKeyExceptionHeaders,
|
|
161
|
+
},
|
|
167
162
|
},
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
],
|
|
186
|
-
isXML: true,
|
|
187
|
-
contentType: "application/xml; charset=utf-8",
|
|
188
|
-
mediaType: "xml",
|
|
189
|
-
serializer: xmlSerializer
|
|
163
|
+
requestBody: Parameters.keyInfo,
|
|
164
|
+
queryParameters: [
|
|
165
|
+
Parameters.restype,
|
|
166
|
+
Parameters.timeoutInSeconds,
|
|
167
|
+
Parameters.comp2,
|
|
168
|
+
],
|
|
169
|
+
urlParameters: [Parameters.url],
|
|
170
|
+
headerParameters: [
|
|
171
|
+
Parameters.contentType,
|
|
172
|
+
Parameters.accept,
|
|
173
|
+
Parameters.version,
|
|
174
|
+
Parameters.requestId,
|
|
175
|
+
],
|
|
176
|
+
isXML: true,
|
|
177
|
+
contentType: "application/xml; charset=utf-8",
|
|
178
|
+
mediaType: "xml",
|
|
179
|
+
serializer: xmlSerializer,
|
|
190
180
|
};
|
|
191
181
|
const listQueuesSegmentOperationSpec = {
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
182
|
+
path: "/",
|
|
183
|
+
httpMethod: "GET",
|
|
184
|
+
responses: {
|
|
185
|
+
200: {
|
|
186
|
+
bodyMapper: Mappers.ListQueuesSegmentResponse,
|
|
187
|
+
headersMapper: Mappers.ServiceListQueuesSegmentHeaders,
|
|
188
|
+
},
|
|
189
|
+
default: {
|
|
190
|
+
bodyMapper: Mappers.StorageError,
|
|
191
|
+
headersMapper: Mappers.ServiceListQueuesSegmentExceptionHeaders,
|
|
192
|
+
},
|
|
198
193
|
},
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
Parameters.
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
Parameters.requestId,
|
|
216
|
-
Parameters.accept1
|
|
217
|
-
],
|
|
218
|
-
isXML: true,
|
|
219
|
-
serializer: xmlSerializer
|
|
220
|
-
};
|
|
221
|
-
export {
|
|
222
|
-
ServiceImpl
|
|
194
|
+
queryParameters: [
|
|
195
|
+
Parameters.timeoutInSeconds,
|
|
196
|
+
Parameters.comp3,
|
|
197
|
+
Parameters.prefix,
|
|
198
|
+
Parameters.marker,
|
|
199
|
+
Parameters.maxPageSize,
|
|
200
|
+
Parameters.include,
|
|
201
|
+
],
|
|
202
|
+
urlParameters: [Parameters.url],
|
|
203
|
+
headerParameters: [
|
|
204
|
+
Parameters.version,
|
|
205
|
+
Parameters.requestId,
|
|
206
|
+
Parameters.accept1,
|
|
207
|
+
],
|
|
208
|
+
isXML: true,
|
|
209
|
+
serializer: xmlSerializer,
|
|
223
210
|
};
|
|
211
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["/mnt/vss/_work/1/s/sdk/storage/storage-queue/src/generated/src/operations/service.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 { Service } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { StorageClient } from \"../storageClient.js\";\nimport {\n QueueServiceProperties,\n ServiceSetPropertiesOptionalParams,\n ServiceSetPropertiesResponse,\n ServiceGetPropertiesOptionalParams,\n ServiceGetPropertiesResponse,\n ServiceGetStatisticsOptionalParams,\n ServiceGetStatisticsResponse,\n KeyInfo,\n ServiceGetUserDelegationKeyOptionalParams,\n ServiceGetUserDelegationKeyResponse,\n ServiceListQueuesSegmentOptionalParams,\n ServiceListQueuesSegmentResponse,\n} from \"../models/index.js\";\n\n/** Class containing Service operations. */\nexport class ServiceImpl implements Service {\n private readonly client: StorageClient;\n\n /**\n * Initialize a new instance of the class Service class.\n * @param client Reference to the service client\n */\n constructor(client: StorageClient) {\n this.client = client;\n }\n\n /**\n * Sets properties for a storage account's Queue service endpoint, including properties for Storage\n * Analytics and CORS (Cross-Origin Resource Sharing) rules\n * @param properties The StorageService properties.\n * @param options The options parameters.\n */\n setProperties(\n properties: QueueServiceProperties,\n options?: ServiceSetPropertiesOptionalParams,\n ): Promise<ServiceSetPropertiesResponse> {\n return this.client.sendOperationRequest(\n { properties, options },\n setPropertiesOperationSpec,\n );\n }\n\n /**\n * gets the properties of a storage account's Queue service, including properties for Storage Analytics\n * and CORS (Cross-Origin Resource Sharing) rules.\n * @param options The options parameters.\n */\n getProperties(\n options?: ServiceGetPropertiesOptionalParams,\n ): Promise<ServiceGetPropertiesResponse> {\n return this.client.sendOperationRequest(\n { options },\n getPropertiesOperationSpec,\n );\n }\n\n /**\n * Retrieves statistics related to replication for the Queue service. It is only available on the\n * secondary location endpoint when read-access geo-redundant replication is enabled for the storage\n * account.\n * @param options The options parameters.\n */\n getStatistics(\n options?: ServiceGetStatisticsOptionalParams,\n ): Promise<ServiceGetStatisticsResponse> {\n return this.client.sendOperationRequest(\n { options },\n getStatisticsOperationSpec,\n );\n }\n\n /**\n * Retrieves a user delegation key for the Queue service. This is only a valid operation when using\n * bearer token authentication.\n * @param keyInfo Key information\n * @param options The options parameters.\n */\n getUserDelegationKey(\n keyInfo: KeyInfo,\n options?: ServiceGetUserDelegationKeyOptionalParams,\n ): Promise<ServiceGetUserDelegationKeyResponse> {\n return this.client.sendOperationRequest(\n { keyInfo, options },\n getUserDelegationKeyOperationSpec,\n );\n }\n\n /**\n * The List Queues Segment operation returns a list of the queues under the specified account\n * @param options The options parameters.\n */\n listQueuesSegment(\n options?: ServiceListQueuesSegmentOptionalParams,\n ): Promise<ServiceListQueuesSegmentResponse> {\n return this.client.sendOperationRequest(\n { options },\n listQueuesSegmentOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst xmlSerializer = coreClient.createSerializer(Mappers, /* isXml */ true);\n\nconst setPropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/\",\n httpMethod: \"PUT\",\n responses: {\n 202: {\n headersMapper: Mappers.ServiceSetPropertiesHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceSetPropertiesExceptionHeaders,\n },\n },\n requestBody: Parameters.properties,\n queryParameters: [\n Parameters.restype,\n Parameters.comp,\n Parameters.timeoutInSeconds,\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.version,\n Parameters.requestId,\n ],\n isXML: true,\n contentType: \"application/xml; charset=utf-8\",\n mediaType: \"xml\",\n serializer: xmlSerializer,\n};\nconst getPropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.QueueServiceProperties,\n headersMapper: Mappers.ServiceGetPropertiesHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceGetPropertiesExceptionHeaders,\n },\n },\n queryParameters: [\n Parameters.restype,\n Parameters.comp,\n Parameters.timeoutInSeconds,\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n ],\n isXML: true,\n serializer: xmlSerializer,\n};\nconst getStatisticsOperationSpec: coreClient.OperationSpec = {\n path: \"/\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.QueueServiceStatistics,\n headersMapper: Mappers.ServiceGetStatisticsHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceGetStatisticsExceptionHeaders,\n },\n },\n queryParameters: [\n Parameters.restype,\n Parameters.timeoutInSeconds,\n Parameters.comp1,\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n ],\n isXML: true,\n serializer: xmlSerializer,\n};\nconst getUserDelegationKeyOperationSpec: coreClient.OperationSpec = {\n path: \"/\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.UserDelegationKey,\n headersMapper: Mappers.ServiceGetUserDelegationKeyHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceGetUserDelegationKeyExceptionHeaders,\n },\n },\n requestBody: Parameters.keyInfo,\n queryParameters: [\n Parameters.restype,\n Parameters.timeoutInSeconds,\n Parameters.comp2,\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.version,\n Parameters.requestId,\n ],\n isXML: true,\n contentType: \"application/xml; charset=utf-8\",\n mediaType: \"xml\",\n serializer: xmlSerializer,\n};\nconst listQueuesSegmentOperationSpec: coreClient.OperationSpec = {\n path: \"/\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListQueuesSegmentResponse,\n headersMapper: Mappers.ServiceListQueuesSegmentHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceListQueuesSegmentExceptionHeaders,\n },\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.comp3,\n Parameters.prefix,\n Parameters.marker,\n Parameters.maxPageSize,\n Parameters.include,\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n ],\n isXML: true,\n serializer: xmlSerializer,\n};\n"],
|
|
5
|
-
"mappings": "AASA,YAAY,gBAAgB;AAC5B,YAAY,aAAa;AACzB,YAAY,gBAAgB;AAkBrB,MAAM,YAA+B;AAAA,EACzB;AAAA;AAAA;AAAA;AAAA;AAAA,EAMjB,YAAY,QAAuB;AACjC,SAAK,SAAS;AAAA,EAChB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,cACE,YACA,SACuC;AACvC,WAAO,KAAK,OAAO;AAAA,MACjB,EAAE,YAAY,QAAQ;AAAA,MACtB;AAAA,IACF;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,cACE,SACuC;AACvC,WAAO,KAAK,OAAO;AAAA,MACjB,EAAE,QAAQ;AAAA,MACV;AAAA,IACF;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,cACE,SACuC;AACvC,WAAO,KAAK,OAAO;AAAA,MACjB,EAAE,QAAQ;AAAA,MACV;AAAA,IACF;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQ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Q;AAAA,MACpB,eAAe,QAAQ;AAAA,IACzB;AAAA,IACA,SAAS;AAAA,MACP,YAAY,QAAQ;AAAA,MACpB,eAAe,QAAQ;AAAA,IACzB;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,WAAW;AAAA,IACX,WAAW;AAAA,IACX,WAAW;AAAA,IACX,WAAW;AAAA,IACX,WAAW;AAAA,IACX,WAAW;AAAA,EACb;AAAA,EACA,eAAe,CAAC,WAAW,GAAG;AAAA,EAC9B,kBAAkB;AAAA,IAChB,WAAW;AAAA,IACX,WAAW;AAAA,IACX,WAAW;AAAA,EACb;AAAA,EACA,OAAO;AAAA,EACP,YAAY;AACd;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/service.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAiBtD,2CAA2C;AAC3C,MAAM,OAAO,WAAW;IACL,MAAM,CAAgB;IAEvC;;;OAGG;IACH,YAAY,MAAqB;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,aAAa,CACX,UAAkC,EAClC,OAA4C;QAE5C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,UAAU,EAAE,OAAO,EAAE,EACvB,0BAA0B,CAC3B,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,aAAa,CACX,OAA4C;QAE5C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,OAAO,EAAE,EACX,0BAA0B,CAC3B,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,aAAa,CACX,OAA4C;QAE5C,OAAO,IAAI,CAAC,MAAM,CAAC,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AAK,EAAE,IAAI;IACX,UAAU,EAAE,aAAa;CAC1B,CAAC","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 { Service } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { StorageClient } from \"../storageClient.js\";\nimport {\n QueueServiceProperties,\n ServiceSetPropertiesOptionalParams,\n ServiceSetPropertiesResponse,\n ServiceGetPropertiesOptionalParams,\n ServiceGetPropertiesResponse,\n ServiceGetStatisticsOptionalParams,\n ServiceGetStatisticsResponse,\n KeyInfo,\n ServiceGetUserDelegationKeyOptionalParams,\n ServiceGetUserDelegationKeyResponse,\n ServiceListQueuesSegmentOptionalParams,\n ServiceListQueuesSegmentResponse,\n} from \"../models/index.js\";\n\n/** Class containing Service operations. */\nexport class ServiceImpl implements Service {\n private readonly client: StorageClient;\n\n /**\n * Initialize a new instance of the class Service class.\n * @param client Reference to the service client\n */\n constructor(client: StorageClient) {\n this.client = client;\n }\n\n /**\n * Sets properties for a storage account's Queue service endpoint, including properties for Storage\n * Analytics and CORS (Cross-Origin Resource Sharing) rules\n * @param properties The StorageService properties.\n * @param options The options parameters.\n */\n setProperties(\n properties: QueueServiceProperties,\n options?: ServiceSetPropertiesOptionalParams,\n ): Promise<ServiceSetPropertiesResponse> {\n return this.client.sendOperationRequest(\n { properties, options },\n setPropertiesOperationSpec,\n );\n }\n\n /**\n * gets the properties of a storage account's Queue service, including properties for Storage Analytics\n * and CORS (Cross-Origin Resource Sharing) rules.\n * @param options The options parameters.\n */\n getProperties(\n options?: ServiceGetPropertiesOptionalParams,\n ): Promise<ServiceGetPropertiesResponse> {\n return this.client.sendOperationRequest(\n { options },\n getPropertiesOperationSpec,\n );\n }\n\n /**\n * Retrieves statistics related to replication for the Queue service. It is only available on the\n * secondary location endpoint when read-access geo-redundant replication is enabled for the storage\n * account.\n * @param options The options parameters.\n */\n getStatistics(\n options?: ServiceGetStatisticsOptionalParams,\n ): Promise<ServiceGetStatisticsResponse> {\n return this.client.sendOperationRequest(\n { options },\n getStatisticsOperationSpec,\n );\n }\n\n /**\n * Retrieves a user delegation key for the Queue service. This is only a valid operation when using\n * bearer token authentication.\n * @param keyInfo Key information\n * @param options The options parameters.\n */\n getUserDelegationKey(\n keyInfo: KeyInfo,\n options?: ServiceGetUserDelegationKeyOptionalParams,\n ): Promise<ServiceGetUserDelegationKeyResponse> {\n return this.client.sendOperationRequest(\n { keyInfo, options },\n getUserDelegationKeyOperationSpec,\n );\n }\n\n /**\n * The List Queues Segment operation returns a list of the queues under the specified account\n * @param options The options parameters.\n */\n listQueuesSegment(\n options?: ServiceListQueuesSegmentOptionalParams,\n ): Promise<ServiceListQueuesSegmentResponse> {\n return this.client.sendOperationRequest(\n { options },\n listQueuesSegmentOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst xmlSerializer = coreClient.createSerializer(Mappers, /* isXml */ true);\n\nconst setPropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/\",\n httpMethod: \"PUT\",\n responses: {\n 202: {\n headersMapper: Mappers.ServiceSetPropertiesHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceSetPropertiesExceptionHeaders,\n },\n },\n requestBody: Parameters.properties,\n queryParameters: [\n Parameters.restype,\n Parameters.comp,\n Parameters.timeoutInSeconds,\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.version,\n Parameters.requestId,\n ],\n isXML: true,\n contentType: \"application/xml; charset=utf-8\",\n mediaType: \"xml\",\n serializer: xmlSerializer,\n};\nconst getPropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.QueueServiceProperties,\n headersMapper: Mappers.ServiceGetPropertiesHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceGetPropertiesExceptionHeaders,\n },\n },\n queryParameters: [\n Parameters.restype,\n Parameters.comp,\n Parameters.timeoutInSeconds,\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n ],\n isXML: true,\n serializer: xmlSerializer,\n};\nconst getStatisticsOperationSpec: coreClient.OperationSpec = {\n path: \"/\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.QueueServiceStatistics,\n headersMapper: Mappers.ServiceGetStatisticsHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceGetStatisticsExceptionHeaders,\n },\n },\n queryParameters: [\n Parameters.restype,\n Parameters.timeoutInSeconds,\n Parameters.comp1,\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n ],\n isXML: true,\n serializer: xmlSerializer,\n};\nconst getUserDelegationKeyOperationSpec: coreClient.OperationSpec = {\n path: \"/\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.UserDelegationKey,\n headersMapper: Mappers.ServiceGetUserDelegationKeyHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceGetUserDelegationKeyExceptionHeaders,\n },\n },\n requestBody: Parameters.keyInfo,\n queryParameters: [\n Parameters.restype,\n Parameters.timeoutInSeconds,\n Parameters.comp2,\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.version,\n Parameters.requestId,\n ],\n isXML: true,\n contentType: \"application/xml; charset=utf-8\",\n mediaType: \"xml\",\n serializer: xmlSerializer,\n};\nconst listQueuesSegmentOperationSpec: coreClient.OperationSpec = {\n path: \"/\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListQueuesSegmentResponse,\n headersMapper: Mappers.ServiceListQueuesSegmentHeaders,\n },\n default: {\n bodyMapper: Mappers.StorageError,\n headersMapper: Mappers.ServiceListQueuesSegmentExceptionHeaders,\n },\n },\n queryParameters: [\n Parameters.timeoutInSeconds,\n Parameters.comp3,\n Parameters.prefix,\n Parameters.marker,\n Parameters.maxPageSize,\n Parameters.include,\n ],\n urlParameters: [Parameters.url],\n headerParameters: [\n Parameters.version,\n Parameters.requestId,\n Parameters.accept1,\n ],\n isXML: true,\n serializer: xmlSerializer,\n};\n"]}
|
|
@@ -1,4 +1,12 @@
|
|
|
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
|
export * from "./service.js";
|
|
2
9
|
export * from "./queue.js";
|
|
3
10
|
export * from "./messages.js";
|
|
4
11
|
export * from "./messageId.js";
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["/mnt/vss/_work/1/s/sdk/storage/storage-queue/src/generated/src/operationsInterfaces/index.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\nexport * from \"./service.js\";\nexport * from \"./queue.js\";\nexport * from \"./messages.js\";\nexport * from \"./messageId.js\";\n"],
|
|
5
|
-
"mappings": "AAQA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC","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\nexport * from \"./service.js\";\nexport * from \"./queue.js\";\nexport * from \"./messages.js\";\nexport * from \"./messageId.js\";\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
*/
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=messageId.js.map
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": [],
|
|
4
|
-
"sourcesContent": [],
|
|
5
|
-
"mappings": "",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
1
|
+
{"version":3,"file":"messageId.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/messageId.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 {\n MessageIdUpdateOptionalParams,\n MessageIdUpdateResponse,\n MessageIdDeleteOptionalParams,\n MessageIdDeleteResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a MessageId. */\nexport interface MessageId {\n /**\n * The Update operation was introduced with version 2011-08-18 of the Queue service API. The Update\n * Message operation updates the visibility timeout of a message. You can also use this operation to\n * update the contents of a message. A message must be in a format that can be included in an XML\n * request with UTF-8 encoding, and the encoded message can be up to 64KB in size.\n * @param popReceipt Required. Specifies the valid pop receipt value returned from an earlier call to\n * the Get Messages or Update Message operation.\n * @param visibilityTimeout Optional. Specifies the new visibility timeout value, in seconds, relative\n * to server time. The default value is 30 seconds. A specified value must be larger than or equal to 1\n * second, and cannot be larger than 7 days, or larger than 2 hours on REST protocol versions prior to\n * version 2011-08-18. The visibility timeout of a message can be set to a value later than the expiry\n * time.\n * @param options The options parameters.\n */\n update(\n popReceipt: string,\n visibilityTimeout: number,\n options?: MessageIdUpdateOptionalParams,\n ): Promise<MessageIdUpdateResponse>;\n /**\n * The Delete operation deletes the specified message.\n * @param popReceipt Required. Specifies the valid pop receipt value returned from an earlier call to\n * the Get Messages or Update Message operation.\n * @param options The options parameters.\n */\n delete(\n popReceipt: string,\n options?: MessageIdDeleteOptionalParams,\n ): Promise<MessageIdDeleteResponse>;\n}\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
*/
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=messages.js.map
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": [],
|
|
4
|
-
"sourcesContent": [],
|
|
5
|
-
"mappings": "",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
1
|
+
{"version":3,"file":"messages.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/messages.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 {\n MessagesDequeueOptionalParams,\n MessagesDequeueResponse,\n MessagesClearOptionalParams,\n MessagesClearResponse,\n QueueMessage,\n MessagesEnqueueOptionalParams,\n MessagesEnqueueResponse,\n MessagesPeekOptionalParams,\n MessagesPeekResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a Messages. */\nexport interface Messages {\n /**\n * The Dequeue operation retrieves one or more messages from the front of the queue.\n * @param options The options parameters.\n */\n dequeue(\n options?: MessagesDequeueOptionalParams,\n ): Promise<MessagesDequeueResponse>;\n /**\n * The Clear operation deletes all messages from the specified queue.\n * @param options The options parameters.\n */\n clear(options?: MessagesClearOptionalParams): Promise<MessagesClearResponse>;\n /**\n * The Enqueue operation adds a new message to the back of the message queue. A visibility timeout can\n * also be specified to make the message invisible until the visibility timeout expires. A message must\n * be in a format that can be included in an XML request with UTF-8 encoding. The encoded message can\n * be up to 64 KB in size for versions 2011-08-18 and newer, or 8 KB in size for previous versions.\n * @param queueMessage A Message object which can be stored in a Queue\n * @param options The options parameters.\n */\n enqueue(\n queueMessage: QueueMessage,\n options?: MessagesEnqueueOptionalParams,\n ): Promise<MessagesEnqueueResponse>;\n /**\n * The Peek operation retrieves one or more messages from the front of the queue, but does not alter\n * the visibility of the message.\n * @param options The options parameters.\n */\n peek(options?: MessagesPeekOptionalParams): Promise<MessagesPeekResponse>;\n}\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
*/
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=queue.js.map
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": [],
|
|
4
|
-
"sourcesContent": [],
|
|
5
|
-
"mappings": "",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
1
|
+
{"version":3,"file":"queue.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/queue.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 {\n QueueCreateOptionalParams,\n QueueCreateResponse,\n QueueDeleteOptionalParams,\n QueueDeleteResponse,\n QueueGetPropertiesOptionalParams,\n QueueGetPropertiesResponse,\n QueueSetMetadataOptionalParams,\n QueueSetMetadataResponse,\n QueueGetAccessPolicyOptionalParams,\n QueueGetAccessPolicyResponse,\n QueueSetAccessPolicyOptionalParams,\n QueueSetAccessPolicyResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a Queue. */\nexport interface Queue {\n /**\n * creates a new queue under the given account.\n * @param options The options parameters.\n */\n create(options?: QueueCreateOptionalParams): Promise<QueueCreateResponse>;\n /**\n * operation permanently deletes the specified queue\n * @param options The options parameters.\n */\n delete(options?: QueueDeleteOptionalParams): Promise<QueueDeleteResponse>;\n /**\n * Retrieves user-defined metadata and queue properties on the specified queue. Metadata is associated\n * with the queue as name-values pairs.\n * @param options The options parameters.\n */\n getProperties(\n options?: QueueGetPropertiesOptionalParams,\n ): Promise<QueueGetPropertiesResponse>;\n /**\n * sets user-defined metadata on the specified queue. Metadata is associated with the queue as\n * name-value pairs.\n * @param options The options parameters.\n */\n setMetadata(\n options?: QueueSetMetadataOptionalParams,\n ): Promise<QueueSetMetadataResponse>;\n /**\n * returns details about any stored access policies specified on the queue that may be used with Shared\n * Access Signatures.\n * @param options The options parameters.\n */\n getAccessPolicy(\n options?: QueueGetAccessPolicyOptionalParams,\n ): Promise<QueueGetAccessPolicyResponse>;\n /**\n * sets stored access policies for the queue that may be used with Shared Access Signatures\n * @param options The options parameters.\n */\n setAccessPolicy(\n options?: QueueSetAccessPolicyOptionalParams,\n ): Promise<QueueSetAccessPolicyResponse>;\n}\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
*/
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": [],
|
|
4
|
-
"sourcesContent": [],
|
|
5
|
-
"mappings": "",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/service.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 {\n QueueServiceProperties,\n ServiceSetPropertiesOptionalParams,\n ServiceSetPropertiesResponse,\n ServiceGetPropertiesOptionalParams,\n ServiceGetPropertiesResponse,\n ServiceGetStatisticsOptionalParams,\n ServiceGetStatisticsResponse,\n KeyInfo,\n ServiceGetUserDelegationKeyOptionalParams,\n ServiceGetUserDelegationKeyResponse,\n ServiceListQueuesSegmentOptionalParams,\n ServiceListQueuesSegmentResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a Service. */\nexport interface Service {\n /**\n * Sets properties for a storage account's Queue service endpoint, including properties for Storage\n * Analytics and CORS (Cross-Origin Resource Sharing) rules\n * @param properties The StorageService properties.\n * @param options The options parameters.\n */\n setProperties(\n properties: QueueServiceProperties,\n options?: ServiceSetPropertiesOptionalParams,\n ): Promise<ServiceSetPropertiesResponse>;\n /**\n * gets the properties of a storage account's Queue service, including properties for Storage Analytics\n * and CORS (Cross-Origin Resource Sharing) rules.\n * @param options The options parameters.\n */\n getProperties(\n options?: ServiceGetPropertiesOptionalParams,\n ): Promise<ServiceGetPropertiesResponse>;\n /**\n * Retrieves statistics related to replication for the Queue service. It is only available on the\n * secondary location endpoint when read-access geo-redundant replication is enabled for the storage\n * account.\n * @param options The options parameters.\n */\n getStatistics(\n options?: ServiceGetStatisticsOptionalParams,\n ): Promise<ServiceGetStatisticsResponse>;\n /**\n * Retrieves a user delegation key for the Queue service. This is only a valid operation when using\n * bearer token authentication.\n * @param keyInfo Key information\n * @param options The options parameters.\n */\n getUserDelegationKey(\n keyInfo: KeyInfo,\n options?: ServiceGetUserDelegationKeyOptionalParams,\n ): Promise<ServiceGetUserDelegationKeyResponse>;\n /**\n * The List Queues Segment operation returns a list of the queues under the specified account\n * @param options The options parameters.\n */\n listQueuesSegment(\n options?: ServiceListQueuesSegmentOptionalParams,\n ): Promise<ServiceListQueuesSegmentResponse>;\n}\n"]}
|