@azure/arm-maps 2.1.1 → 3.0.0-alpha.20220119.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +69 -83
- package/dist/index.js +1892 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/azureMapsManagementClient.d.ts +20 -0
- package/dist-esm/src/azureMapsManagementClient.d.ts.map +1 -0
- package/dist-esm/src/azureMapsManagementClient.js +53 -0
- package/dist-esm/src/azureMapsManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/{esm/models/mapsMappers.js → dist-esm/src/index.js} +5 -2
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +480 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +35 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +25 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +332 -379
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +16 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +131 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/accounts.d.ts +103 -0
- package/dist-esm/src/operations/accounts.d.ts.map +1 -0
- package/dist-esm/src/operations/accounts.js +427 -0
- package/dist-esm/src/operations/accounts.js.map +1 -0
- package/dist-esm/src/operations/creators.d.ts +74 -0
- package/dist-esm/src/operations/creators.d.ts.map +1 -0
- package/dist-esm/src/operations/creators.js +281 -0
- package/dist-esm/src/operations/creators.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/maps.d.ts +51 -0
- package/dist-esm/src/operations/maps.d.ts.map +1 -0
- package/dist-esm/src/operations/maps.js +220 -0
- package/dist-esm/src/operations/maps.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/accounts.d.ts +67 -0
- package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/accounts.js +9 -0
- package/dist-esm/src/operationsInterfaces/accounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/creators.d.ts +49 -0
- package/dist-esm/src/operationsInterfaces/creators.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/creators.js +9 -0
- package/dist-esm/src/operationsInterfaces/creators.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +11 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/maps.d.ts +16 -0
- package/dist-esm/src/operationsInterfaces/maps.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/maps.js} +2 -1
- package/dist-esm/src/operationsInterfaces/maps.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +71 -22
- package/review/arm-maps.api.md +423 -0
- package/rollup.config.js +181 -24
- package/src/azureMapsManagementClient.ts +61 -36
- package/src/{models/mapsMappers.ts → index.ts} +4 -11
- package/src/models/index.ts +380 -684
- package/src/models/mappers.ts +333 -378
- package/src/models/parameters.ts +99 -36
- package/src/operations/accounts.ts +315 -502
- package/src/operations/creators.ts +202 -341
- package/src/operations/index.ts +1 -2
- package/src/operations/maps.ts +196 -77
- package/src/operationsInterfaces/accounts.ts +125 -0
- package/src/operationsInterfaces/creators.ts +95 -0
- package/src/operationsInterfaces/index.ts +11 -0
- package/src/operationsInterfaces/maps.ts +33 -0
- package/tsconfig.json +3 -3
- package/types/arm-maps.d.ts +696 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-maps.js +0 -1671
- package/dist/arm-maps.js.map +0 -1
- package/dist/arm-maps.min.js +0 -1
- package/dist/arm-maps.min.js.map +0 -1
- package/esm/azureMapsManagementClient.d.ts +0 -26
- package/esm/azureMapsManagementClient.d.ts.map +0 -1
- package/esm/azureMapsManagementClient.js +0 -39
- package/esm/azureMapsManagementClient.js.map +0 -1
- package/esm/azureMapsManagementClientContext.d.ts +0 -22
- package/esm/azureMapsManagementClientContext.d.ts.map +0 -1
- package/esm/azureMapsManagementClientContext.js +0 -61
- package/esm/azureMapsManagementClientContext.js.map +0 -1
- package/esm/models/accountsMappers.d.ts +0 -2
- package/esm/models/accountsMappers.d.ts.map +0 -1
- package/esm/models/accountsMappers.js +0 -9
- package/esm/models/accountsMappers.js.map +0 -1
- package/esm/models/creatorsMappers.d.ts +0 -2
- package/esm/models/creatorsMappers.d.ts.map +0 -1
- package/esm/models/creatorsMappers.js +0 -9
- package/esm/models/creatorsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -793
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -29
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/mapsMappers.d.ts +0 -2
- package/esm/models/mapsMappers.d.ts.map +0 -1
- package/esm/models/mapsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -9
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -91
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/accounts.d.ts +0 -222
- package/esm/operations/accounts.d.ts.map +0 -1
- package/esm/operations/accounts.js +0 -271
- package/esm/operations/accounts.js.map +0 -1
- package/esm/operations/creators.d.ts +0 -157
- package/esm/operations/creators.d.ts.map +0 -1
- package/esm/operations/creators.js +0 -201
- package/esm/operations/creators.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/maps.d.ts +0 -46
- package/esm/operations/maps.d.ts.map +0 -1
- package/esm/operations/maps.js +0 -69
- package/esm/operations/maps.js.map +0 -1
- package/src/azureMapsManagementClientContext.ts +0 -74
- package/src/models/accountsMappers.ts +0 -28
- package/src/models/creatorsMappers.ts +0 -26
|
@@ -0,0 +1,281 @@
|
|
|
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
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing Creators operations. */
|
|
14
|
+
export class CreatorsImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class Creators class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Get all Creator instances for an Azure Maps Account
|
|
24
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
25
|
+
* @param accountName The name of the Maps Account.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
listByAccount(resourceGroupName, accountName, options) {
|
|
29
|
+
const iter = this.listByAccountPagingAll(resourceGroupName, accountName, options);
|
|
30
|
+
return {
|
|
31
|
+
next() {
|
|
32
|
+
return iter.next();
|
|
33
|
+
},
|
|
34
|
+
[Symbol.asyncIterator]() {
|
|
35
|
+
return this;
|
|
36
|
+
},
|
|
37
|
+
byPage: () => {
|
|
38
|
+
return this.listByAccountPagingPage(resourceGroupName, accountName, options);
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
listByAccountPagingPage(resourceGroupName, accountName, options) {
|
|
43
|
+
return __asyncGenerator(this, arguments, function* listByAccountPagingPage_1() {
|
|
44
|
+
let result = yield __await(this._listByAccount(resourceGroupName, accountName, options));
|
|
45
|
+
yield yield __await(result.value || []);
|
|
46
|
+
let continuationToken = result.nextLink;
|
|
47
|
+
while (continuationToken) {
|
|
48
|
+
result = yield __await(this._listByAccountNext(resourceGroupName, accountName, continuationToken, options));
|
|
49
|
+
continuationToken = result.nextLink;
|
|
50
|
+
yield yield __await(result.value || []);
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
listByAccountPagingAll(resourceGroupName, accountName, options) {
|
|
55
|
+
return __asyncGenerator(this, arguments, function* listByAccountPagingAll_1() {
|
|
56
|
+
var e_1, _a;
|
|
57
|
+
try {
|
|
58
|
+
for (var _b = __asyncValues(this.listByAccountPagingPage(resourceGroupName, accountName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
59
|
+
const page = _c.value;
|
|
60
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
64
|
+
finally {
|
|
65
|
+
try {
|
|
66
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
67
|
+
}
|
|
68
|
+
finally { if (e_1) throw e_1.error; }
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Get all Creator instances for an Azure Maps Account
|
|
74
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
75
|
+
* @param accountName The name of the Maps Account.
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
_listByAccount(resourceGroupName, accountName, options) {
|
|
79
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listByAccountOperationSpec);
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Create or update a Maps Creator resource. Creator resource will manage Azure resources required to
|
|
83
|
+
* populate a custom set of mapping data. It requires an account to exist before it can be created.
|
|
84
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
85
|
+
* @param accountName The name of the Maps Account.
|
|
86
|
+
* @param creatorName The name of the Maps Creator instance.
|
|
87
|
+
* @param creatorResource The new or updated parameters for the Creator resource.
|
|
88
|
+
* @param options The options parameters.
|
|
89
|
+
*/
|
|
90
|
+
createOrUpdate(resourceGroupName, accountName, creatorName, creatorResource, options) {
|
|
91
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, creatorName, creatorResource, options }, createOrUpdateOperationSpec);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Updates the Maps Creator resource. Only a subset of the parameters may be updated after creation,
|
|
95
|
+
* such as Tags.
|
|
96
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
97
|
+
* @param accountName The name of the Maps Account.
|
|
98
|
+
* @param creatorName The name of the Maps Creator instance.
|
|
99
|
+
* @param creatorUpdateParameters The update parameters for Maps Creator.
|
|
100
|
+
* @param options The options parameters.
|
|
101
|
+
*/
|
|
102
|
+
update(resourceGroupName, accountName, creatorName, creatorUpdateParameters, options) {
|
|
103
|
+
return this.client.sendOperationRequest({
|
|
104
|
+
resourceGroupName,
|
|
105
|
+
accountName,
|
|
106
|
+
creatorName,
|
|
107
|
+
creatorUpdateParameters,
|
|
108
|
+
options
|
|
109
|
+
}, updateOperationSpec);
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Delete a Maps Creator resource.
|
|
113
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
114
|
+
* @param accountName The name of the Maps Account.
|
|
115
|
+
* @param creatorName The name of the Maps Creator instance.
|
|
116
|
+
* @param options The options parameters.
|
|
117
|
+
*/
|
|
118
|
+
delete(resourceGroupName, accountName, creatorName, options) {
|
|
119
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, creatorName, options }, deleteOperationSpec);
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Get a Maps Creator resource.
|
|
123
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
124
|
+
* @param accountName The name of the Maps Account.
|
|
125
|
+
* @param creatorName The name of the Maps Creator instance.
|
|
126
|
+
* @param options The options parameters.
|
|
127
|
+
*/
|
|
128
|
+
get(resourceGroupName, accountName, creatorName, options) {
|
|
129
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, creatorName, options }, getOperationSpec);
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* ListByAccountNext
|
|
133
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
134
|
+
* @param accountName The name of the Maps Account.
|
|
135
|
+
* @param nextLink The nextLink from the previous successful call to the ListByAccount method.
|
|
136
|
+
* @param options The options parameters.
|
|
137
|
+
*/
|
|
138
|
+
_listByAccountNext(resourceGroupName, accountName, nextLink, options) {
|
|
139
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listByAccountNextOperationSpec);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
// Operation Specifications
|
|
143
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
144
|
+
const listByAccountOperationSpec = {
|
|
145
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/creators",
|
|
146
|
+
httpMethod: "GET",
|
|
147
|
+
responses: {
|
|
148
|
+
200: {
|
|
149
|
+
bodyMapper: Mappers.CreatorList
|
|
150
|
+
},
|
|
151
|
+
default: {
|
|
152
|
+
bodyMapper: Mappers.ErrorResponse
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
queryParameters: [Parameters.apiVersion],
|
|
156
|
+
urlParameters: [
|
|
157
|
+
Parameters.$host,
|
|
158
|
+
Parameters.subscriptionId,
|
|
159
|
+
Parameters.resourceGroupName,
|
|
160
|
+
Parameters.accountName
|
|
161
|
+
],
|
|
162
|
+
headerParameters: [Parameters.accept],
|
|
163
|
+
serializer
|
|
164
|
+
};
|
|
165
|
+
const createOrUpdateOperationSpec = {
|
|
166
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/creators/{creatorName}",
|
|
167
|
+
httpMethod: "PUT",
|
|
168
|
+
responses: {
|
|
169
|
+
200: {
|
|
170
|
+
bodyMapper: Mappers.Creator
|
|
171
|
+
},
|
|
172
|
+
201: {
|
|
173
|
+
bodyMapper: Mappers.Creator
|
|
174
|
+
},
|
|
175
|
+
default: {
|
|
176
|
+
bodyMapper: Mappers.ErrorResponse
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
requestBody: Parameters.creatorResource,
|
|
180
|
+
queryParameters: [Parameters.apiVersion],
|
|
181
|
+
urlParameters: [
|
|
182
|
+
Parameters.$host,
|
|
183
|
+
Parameters.subscriptionId,
|
|
184
|
+
Parameters.resourceGroupName,
|
|
185
|
+
Parameters.accountName,
|
|
186
|
+
Parameters.creatorName
|
|
187
|
+
],
|
|
188
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
189
|
+
mediaType: "json",
|
|
190
|
+
serializer
|
|
191
|
+
};
|
|
192
|
+
const updateOperationSpec = {
|
|
193
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/creators/{creatorName}",
|
|
194
|
+
httpMethod: "PATCH",
|
|
195
|
+
responses: {
|
|
196
|
+
200: {
|
|
197
|
+
bodyMapper: Mappers.Creator
|
|
198
|
+
},
|
|
199
|
+
default: {
|
|
200
|
+
bodyMapper: Mappers.ErrorResponse
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
requestBody: Parameters.creatorUpdateParameters,
|
|
204
|
+
queryParameters: [Parameters.apiVersion],
|
|
205
|
+
urlParameters: [
|
|
206
|
+
Parameters.$host,
|
|
207
|
+
Parameters.subscriptionId,
|
|
208
|
+
Parameters.resourceGroupName,
|
|
209
|
+
Parameters.accountName,
|
|
210
|
+
Parameters.creatorName
|
|
211
|
+
],
|
|
212
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
213
|
+
mediaType: "json",
|
|
214
|
+
serializer
|
|
215
|
+
};
|
|
216
|
+
const deleteOperationSpec = {
|
|
217
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/creators/{creatorName}",
|
|
218
|
+
httpMethod: "DELETE",
|
|
219
|
+
responses: {
|
|
220
|
+
200: {},
|
|
221
|
+
204: {},
|
|
222
|
+
default: {
|
|
223
|
+
bodyMapper: Mappers.ErrorResponse
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
queryParameters: [Parameters.apiVersion],
|
|
227
|
+
urlParameters: [
|
|
228
|
+
Parameters.$host,
|
|
229
|
+
Parameters.subscriptionId,
|
|
230
|
+
Parameters.resourceGroupName,
|
|
231
|
+
Parameters.accountName,
|
|
232
|
+
Parameters.creatorName
|
|
233
|
+
],
|
|
234
|
+
headerParameters: [Parameters.accept],
|
|
235
|
+
serializer
|
|
236
|
+
};
|
|
237
|
+
const getOperationSpec = {
|
|
238
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/creators/{creatorName}",
|
|
239
|
+
httpMethod: "GET",
|
|
240
|
+
responses: {
|
|
241
|
+
200: {
|
|
242
|
+
bodyMapper: Mappers.Creator
|
|
243
|
+
},
|
|
244
|
+
default: {
|
|
245
|
+
bodyMapper: Mappers.ErrorResponse
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
queryParameters: [Parameters.apiVersion],
|
|
249
|
+
urlParameters: [
|
|
250
|
+
Parameters.$host,
|
|
251
|
+
Parameters.subscriptionId,
|
|
252
|
+
Parameters.resourceGroupName,
|
|
253
|
+
Parameters.accountName,
|
|
254
|
+
Parameters.creatorName
|
|
255
|
+
],
|
|
256
|
+
headerParameters: [Parameters.accept],
|
|
257
|
+
serializer
|
|
258
|
+
};
|
|
259
|
+
const listByAccountNextOperationSpec = {
|
|
260
|
+
path: "{nextLink}",
|
|
261
|
+
httpMethod: "GET",
|
|
262
|
+
responses: {
|
|
263
|
+
200: {
|
|
264
|
+
bodyMapper: Mappers.CreatorList
|
|
265
|
+
},
|
|
266
|
+
default: {
|
|
267
|
+
bodyMapper: Mappers.ErrorResponse
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
queryParameters: [Parameters.apiVersion],
|
|
271
|
+
urlParameters: [
|
|
272
|
+
Parameters.$host,
|
|
273
|
+
Parameters.subscriptionId,
|
|
274
|
+
Parameters.resourceGroupName,
|
|
275
|
+
Parameters.accountName,
|
|
276
|
+
Parameters.nextLink
|
|
277
|
+
],
|
|
278
|
+
headerParameters: [Parameters.accept],
|
|
279
|
+
serializer
|
|
280
|
+
};
|
|
281
|
+
//# sourceMappingURL=creators.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"creators.js","sourceRoot":"","sources":["../../../src/operations/creators.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAkBnD,4CAA4C;AAC5C,4CAA4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;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EACF,2IAA2I;IAC7I,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,OAAO;SAC5B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,8BAA8B,GAA6B;IAC/D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC"}
|
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
7
|
*/
|
|
9
8
|
export * from "./accounts";
|
|
10
9
|
export * from "./maps";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Maps } from "../operationsInterfaces";
|
|
3
|
+
import { AzureMapsManagementClient } from "../azureMapsManagementClient";
|
|
4
|
+
import { OperationDetail, MapsListOperationsOptionalParams, MapsListSubscriptionOperationsOptionalParams } from "../models";
|
|
5
|
+
/** Class containing Maps operations. */
|
|
6
|
+
export declare class MapsImpl implements Maps {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class Maps class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: AzureMapsManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* List operations available for the Maps Resource Provider
|
|
15
|
+
* @param options The options parameters.
|
|
16
|
+
*/
|
|
17
|
+
listOperations(options?: MapsListOperationsOptionalParams): PagedAsyncIterableIterator<OperationDetail>;
|
|
18
|
+
private listOperationsPagingPage;
|
|
19
|
+
private listOperationsPagingAll;
|
|
20
|
+
/**
|
|
21
|
+
* List operations available for the Maps Resource Provider
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
listSubscriptionOperations(options?: MapsListSubscriptionOperationsOptionalParams): PagedAsyncIterableIterator<OperationDetail>;
|
|
25
|
+
private listSubscriptionOperationsPagingPage;
|
|
26
|
+
private listSubscriptionOperationsPagingAll;
|
|
27
|
+
/**
|
|
28
|
+
* List operations available for the Maps Resource Provider
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
private _listOperations;
|
|
32
|
+
/**
|
|
33
|
+
* List operations available for the Maps Resource Provider
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
private _listSubscriptionOperations;
|
|
37
|
+
/**
|
|
38
|
+
* ListOperationsNext
|
|
39
|
+
* @param nextLink The nextLink from the previous successful call to the ListOperations method.
|
|
40
|
+
* @param options The options parameters.
|
|
41
|
+
*/
|
|
42
|
+
private _listOperationsNext;
|
|
43
|
+
/**
|
|
44
|
+
* ListSubscriptionOperationsNext
|
|
45
|
+
* @param nextLink The nextLink from the previous successful call to the ListSubscriptionOperations
|
|
46
|
+
* method.
|
|
47
|
+
* @param options The options parameters.
|
|
48
|
+
*/
|
|
49
|
+
private _listSubscriptionOperationsNext;
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=maps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"maps.d.ts","sourceRoot":"","sources":["../../../src/operations/maps.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAI/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EACL,eAAe,EAEf,gCAAgC,EAEhC,4CAA4C,EAK7C,MAAM,WAAW,CAAC;AAGnB,wCAAwC;AACxC,qBAAa,QAAS,YAAW,IAAI;IACnC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA4B;IAEnD;;;OAGG;gBACS,MAAM,EAAE,yBAAyB;IAI7C;;;OAGG;IACI,cAAc,CACnB,OAAO,CAAC,EAAE,gCAAgC,GACzC,0BAA0B,CAAC,eAAe,CAAC;YAe/B,wBAAwB;YAaxB,uBAAuB;IAQtC;;;OAGG;IACI,0BAA0B,CAC/B,OAAO,CAAC,EAAE,4CAA4C,GACrD,0BAA0B,CAAC,eAAe,CAAC;YAe/B,oCAAoC;YAgBpC,mCAAmC;IAUlD;;;OAGG;IACH,OAAO,CAAC,eAAe;IASvB;;;OAGG;IACH,OAAO,CAAC,2BAA2B;IASnC;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAU3B;;;;;OAKG;IACH,OAAO,CAAC,+BAA+B;CASxC"}
|
|
@@ -0,0 +1,220 @@
|
|
|
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
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing Maps operations. */
|
|
14
|
+
export class MapsImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class Maps class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* List operations available for the Maps Resource Provider
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
listOperations(options) {
|
|
27
|
+
const iter = this.listOperationsPagingAll(options);
|
|
28
|
+
return {
|
|
29
|
+
next() {
|
|
30
|
+
return iter.next();
|
|
31
|
+
},
|
|
32
|
+
[Symbol.asyncIterator]() {
|
|
33
|
+
return this;
|
|
34
|
+
},
|
|
35
|
+
byPage: () => {
|
|
36
|
+
return this.listOperationsPagingPage(options);
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
listOperationsPagingPage(options) {
|
|
41
|
+
return __asyncGenerator(this, arguments, function* listOperationsPagingPage_1() {
|
|
42
|
+
let result = yield __await(this._listOperations(options));
|
|
43
|
+
yield yield __await(result.value || []);
|
|
44
|
+
let continuationToken = result.nextLink;
|
|
45
|
+
while (continuationToken) {
|
|
46
|
+
result = yield __await(this._listOperationsNext(continuationToken, options));
|
|
47
|
+
continuationToken = result.nextLink;
|
|
48
|
+
yield yield __await(result.value || []);
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
listOperationsPagingAll(options) {
|
|
53
|
+
return __asyncGenerator(this, arguments, function* listOperationsPagingAll_1() {
|
|
54
|
+
var e_1, _a;
|
|
55
|
+
try {
|
|
56
|
+
for (var _b = __asyncValues(this.listOperationsPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
57
|
+
const page = _c.value;
|
|
58
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
62
|
+
finally {
|
|
63
|
+
try {
|
|
64
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
65
|
+
}
|
|
66
|
+
finally { if (e_1) throw e_1.error; }
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* List operations available for the Maps Resource Provider
|
|
72
|
+
* @param options The options parameters.
|
|
73
|
+
*/
|
|
74
|
+
listSubscriptionOperations(options) {
|
|
75
|
+
const iter = this.listSubscriptionOperationsPagingAll(options);
|
|
76
|
+
return {
|
|
77
|
+
next() {
|
|
78
|
+
return iter.next();
|
|
79
|
+
},
|
|
80
|
+
[Symbol.asyncIterator]() {
|
|
81
|
+
return this;
|
|
82
|
+
},
|
|
83
|
+
byPage: () => {
|
|
84
|
+
return this.listSubscriptionOperationsPagingPage(options);
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
listSubscriptionOperationsPagingPage(options) {
|
|
89
|
+
return __asyncGenerator(this, arguments, function* listSubscriptionOperationsPagingPage_1() {
|
|
90
|
+
let result = yield __await(this._listSubscriptionOperations(options));
|
|
91
|
+
yield yield __await(result.value || []);
|
|
92
|
+
let continuationToken = result.nextLink;
|
|
93
|
+
while (continuationToken) {
|
|
94
|
+
result = yield __await(this._listSubscriptionOperationsNext(continuationToken, options));
|
|
95
|
+
continuationToken = result.nextLink;
|
|
96
|
+
yield yield __await(result.value || []);
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
listSubscriptionOperationsPagingAll(options) {
|
|
101
|
+
return __asyncGenerator(this, arguments, function* listSubscriptionOperationsPagingAll_1() {
|
|
102
|
+
var e_2, _a;
|
|
103
|
+
try {
|
|
104
|
+
for (var _b = __asyncValues(this.listSubscriptionOperationsPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
105
|
+
const page = _c.value;
|
|
106
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
110
|
+
finally {
|
|
111
|
+
try {
|
|
112
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
113
|
+
}
|
|
114
|
+
finally { if (e_2) throw e_2.error; }
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* List operations available for the Maps Resource Provider
|
|
120
|
+
* @param options The options parameters.
|
|
121
|
+
*/
|
|
122
|
+
_listOperations(options) {
|
|
123
|
+
return this.client.sendOperationRequest({ options }, listOperationsOperationSpec);
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* List operations available for the Maps Resource Provider
|
|
127
|
+
* @param options The options parameters.
|
|
128
|
+
*/
|
|
129
|
+
_listSubscriptionOperations(options) {
|
|
130
|
+
return this.client.sendOperationRequest({ options }, listSubscriptionOperationsOperationSpec);
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* ListOperationsNext
|
|
134
|
+
* @param nextLink The nextLink from the previous successful call to the ListOperations method.
|
|
135
|
+
* @param options The options parameters.
|
|
136
|
+
*/
|
|
137
|
+
_listOperationsNext(nextLink, options) {
|
|
138
|
+
return this.client.sendOperationRequest({ nextLink, options }, listOperationsNextOperationSpec);
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* ListSubscriptionOperationsNext
|
|
142
|
+
* @param nextLink The nextLink from the previous successful call to the ListSubscriptionOperations
|
|
143
|
+
* method.
|
|
144
|
+
* @param options The options parameters.
|
|
145
|
+
*/
|
|
146
|
+
_listSubscriptionOperationsNext(nextLink, options) {
|
|
147
|
+
return this.client.sendOperationRequest({ nextLink, options }, listSubscriptionOperationsNextOperationSpec);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
// Operation Specifications
|
|
151
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
152
|
+
const listOperationsOperationSpec = {
|
|
153
|
+
path: "/providers/Microsoft.Maps/operations",
|
|
154
|
+
httpMethod: "GET",
|
|
155
|
+
responses: {
|
|
156
|
+
200: {
|
|
157
|
+
bodyMapper: Mappers.MapsOperations
|
|
158
|
+
},
|
|
159
|
+
default: {
|
|
160
|
+
bodyMapper: Mappers.ErrorResponse
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
queryParameters: [Parameters.apiVersion],
|
|
164
|
+
urlParameters: [Parameters.$host],
|
|
165
|
+
headerParameters: [Parameters.accept],
|
|
166
|
+
serializer
|
|
167
|
+
};
|
|
168
|
+
const listSubscriptionOperationsOperationSpec = {
|
|
169
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Maps/operations",
|
|
170
|
+
httpMethod: "GET",
|
|
171
|
+
responses: {
|
|
172
|
+
200: {
|
|
173
|
+
bodyMapper: Mappers.MapsOperations
|
|
174
|
+
},
|
|
175
|
+
default: {
|
|
176
|
+
bodyMapper: Mappers.ErrorResponse
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
queryParameters: [Parameters.apiVersion],
|
|
180
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
181
|
+
headerParameters: [Parameters.accept],
|
|
182
|
+
serializer
|
|
183
|
+
};
|
|
184
|
+
const listOperationsNextOperationSpec = {
|
|
185
|
+
path: "{nextLink}",
|
|
186
|
+
httpMethod: "GET",
|
|
187
|
+
responses: {
|
|
188
|
+
200: {
|
|
189
|
+
bodyMapper: Mappers.MapsOperations
|
|
190
|
+
},
|
|
191
|
+
default: {
|
|
192
|
+
bodyMapper: Mappers.ErrorResponse
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
queryParameters: [Parameters.apiVersion],
|
|
196
|
+
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
197
|
+
headerParameters: [Parameters.accept],
|
|
198
|
+
serializer
|
|
199
|
+
};
|
|
200
|
+
const listSubscriptionOperationsNextOperationSpec = {
|
|
201
|
+
path: "{nextLink}",
|
|
202
|
+
httpMethod: "GET",
|
|
203
|
+
responses: {
|
|
204
|
+
200: {
|
|
205
|
+
bodyMapper: Mappers.MapsOperations
|
|
206
|
+
},
|
|
207
|
+
default: {
|
|
208
|
+
bodyMapper: Mappers.ErrorResponse
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
queryParameters: [Parameters.apiVersion],
|
|
212
|
+
urlParameters: [
|
|
213
|
+
Parameters.$host,
|
|
214
|
+
Parameters.subscriptionId,
|
|
215
|
+
Parameters.nextLink
|
|
216
|
+
],
|
|
217
|
+
headerParameters: [Parameters.accept],
|
|
218
|
+
serializer
|
|
219
|
+
};
|
|
220
|
+
//# sourceMappingURL=maps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"maps.js","sourceRoot":"","sources":["../../../src/operations/maps.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAcnD,4CAA4C;AAC5C,wCAAwC;AACxC,MAAM,OAAO,QAAQ;IAGnB;;;OAGG;IACH,YAAY,MAAiC;QAC3C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,cAAc,CACnB,OAA0C;QAE1C,MAAM,IAAI,GAAG,IAAI,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC;QACnD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,wBAAwB,CAAC,OAAO,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,wBAAwB,CACrC,OAA0C;;YAE1C,IAAI,MAAM,GAAG,cAAM,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,CAAA,CAAC;YACjD,oBAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAA,CAAC;YACzB,IAAI,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;YACxC,OAAO,iBAAiB,EAAE;gBACxB,MAAM,GAAG,cAAM,IAAI,CAAC,mBAAmB,CAAC,iBAAiB,EAAE,OA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AC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { MapsAccount, AccountsListByResourceGroupOptionalParams, AccountsListBySubscriptionOptionalParams, AccountsCreateOrUpdateOptionalParams, AccountsCreateOrUpdateResponse, MapsAccountUpdateParameters, AccountsUpdateOptionalParams, AccountsUpdateResponse, AccountsDeleteOptionalParams, AccountsGetOptionalParams, AccountsGetResponse, AccountsListKeysOptionalParams, AccountsListKeysResponse, MapsKeySpecification, AccountsRegenerateKeysOptionalParams, AccountsRegenerateKeysResponse } from "../models";
|
|
3
|
+
/** Interface representing a Accounts. */
|
|
4
|
+
export interface Accounts {
|
|
5
|
+
/**
|
|
6
|
+
* Get all Maps Accounts in a Resource Group
|
|
7
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
8
|
+
* @param options The options parameters.
|
|
9
|
+
*/
|
|
10
|
+
listByResourceGroup(resourceGroupName: string, options?: AccountsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<MapsAccount>;
|
|
11
|
+
/**
|
|
12
|
+
* Get all Maps Accounts in a Subscription
|
|
13
|
+
* @param options The options parameters.
|
|
14
|
+
*/
|
|
15
|
+
listBySubscription(options?: AccountsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<MapsAccount>;
|
|
16
|
+
/**
|
|
17
|
+
* Create or update a Maps Account. A Maps Account holds the keys which allow access to the Maps REST
|
|
18
|
+
* APIs.
|
|
19
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
20
|
+
* @param accountName The name of the Maps Account.
|
|
21
|
+
* @param mapsAccount The new or updated parameters for the Maps Account.
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
createOrUpdate(resourceGroupName: string, accountName: string, mapsAccount: MapsAccount, options?: AccountsCreateOrUpdateOptionalParams): Promise<AccountsCreateOrUpdateResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* Updates a Maps Account. Only a subset of the parameters may be updated after creation, such as Sku,
|
|
27
|
+
* Tags, Properties.
|
|
28
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
29
|
+
* @param accountName The name of the Maps Account.
|
|
30
|
+
* @param mapsAccountUpdateParameters The updated parameters for the Maps Account.
|
|
31
|
+
* @param options The options parameters.
|
|
32
|
+
*/
|
|
33
|
+
update(resourceGroupName: string, accountName: string, mapsAccountUpdateParameters: MapsAccountUpdateParameters, options?: AccountsUpdateOptionalParams): Promise<AccountsUpdateResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* Delete a Maps Account.
|
|
36
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
37
|
+
* @param accountName The name of the Maps Account.
|
|
38
|
+
* @param options The options parameters.
|
|
39
|
+
*/
|
|
40
|
+
delete(resourceGroupName: string, accountName: string, options?: AccountsDeleteOptionalParams): Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
* Get a Maps Account.
|
|
43
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
44
|
+
* @param accountName The name of the Maps Account.
|
|
45
|
+
* @param options The options parameters.
|
|
46
|
+
*/
|
|
47
|
+
get(resourceGroupName: string, accountName: string, options?: AccountsGetOptionalParams): Promise<AccountsGetResponse>;
|
|
48
|
+
/**
|
|
49
|
+
* Get the keys to use with the Maps APIs. A key is used to authenticate and authorize access to the
|
|
50
|
+
* Maps REST APIs. Only one key is needed at a time; two are given to provide seamless key
|
|
51
|
+
* regeneration.
|
|
52
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
53
|
+
* @param accountName The name of the Maps Account.
|
|
54
|
+
* @param options The options parameters.
|
|
55
|
+
*/
|
|
56
|
+
listKeys(resourceGroupName: string, accountName: string, options?: AccountsListKeysOptionalParams): Promise<AccountsListKeysResponse>;
|
|
57
|
+
/**
|
|
58
|
+
* Regenerate either the primary or secondary key for use with the Maps APIs. The old key will stop
|
|
59
|
+
* working immediately.
|
|
60
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
61
|
+
* @param accountName The name of the Maps Account.
|
|
62
|
+
* @param keySpecification Which key to regenerate: primary or secondary.
|
|
63
|
+
* @param options The options parameters.
|
|
64
|
+
*/
|
|
65
|
+
regenerateKeys(resourceGroupName: string, accountName: string, keySpecification: MapsKeySpecification, options?: AccountsRegenerateKeysOptionalParams): Promise<AccountsRegenerateKeysResponse>;
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=accounts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accounts.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/accounts.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,WAAW,EACX,yCAAyC,EACzC,wCAAwC,EACxC,oCAAoC,EACpC,8BAA8B,EAC9B,2BAA2B,EAC3B,4BAA4B,EAC5B,sBAAsB,EACtB,4BAA4B,EAC5B,yBAAyB,EACzB,mBAAmB,EACnB,8BAA8B,EAC9B,wBAAwB,EACxB,oBAAoB,EACpB,oCAAoC,EACpC,8BAA8B,EAC/B,MAAM,WAAW,CAAC;AAGnB,yCAAyC;AACzC,MAAM,WAAW,QAAQ;IACvB;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,yCAAyC,GAClD,0BAA0B,CAAC,WAAW,CAAC,CAAC;IAC3C;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,WAAW,CAAC,CAAC;IAC3C;;;;;;;OAOG;IAC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