@azure/arm-maps 2.1.1 → 3.0.0-alpha.20220208.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/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,427 @@
|
|
|
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 Accounts operations. */
|
|
14
|
+
export class AccountsImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class Accounts class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Get all Maps Accounts in a Resource Group
|
|
24
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
25
|
+
* @param options The options parameters.
|
|
26
|
+
*/
|
|
27
|
+
listByResourceGroup(resourceGroupName, options) {
|
|
28
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
29
|
+
return {
|
|
30
|
+
next() {
|
|
31
|
+
return iter.next();
|
|
32
|
+
},
|
|
33
|
+
[Symbol.asyncIterator]() {
|
|
34
|
+
return this;
|
|
35
|
+
},
|
|
36
|
+
byPage: () => {
|
|
37
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options);
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
listByResourceGroupPagingPage(resourceGroupName, options) {
|
|
42
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
43
|
+
let result = yield __await(this._listByResourceGroup(resourceGroupName, options));
|
|
44
|
+
yield yield __await(result.value || []);
|
|
45
|
+
let continuationToken = result.nextLink;
|
|
46
|
+
while (continuationToken) {
|
|
47
|
+
result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
48
|
+
continuationToken = result.nextLink;
|
|
49
|
+
yield yield __await(result.value || []);
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
54
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
55
|
+
var e_1, _a;
|
|
56
|
+
try {
|
|
57
|
+
for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
58
|
+
const page = _c.value;
|
|
59
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
63
|
+
finally {
|
|
64
|
+
try {
|
|
65
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
66
|
+
}
|
|
67
|
+
finally { if (e_1) throw e_1.error; }
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Get all Maps Accounts in a Subscription
|
|
73
|
+
* @param options The options parameters.
|
|
74
|
+
*/
|
|
75
|
+
listBySubscription(options) {
|
|
76
|
+
const iter = this.listBySubscriptionPagingAll(options);
|
|
77
|
+
return {
|
|
78
|
+
next() {
|
|
79
|
+
return iter.next();
|
|
80
|
+
},
|
|
81
|
+
[Symbol.asyncIterator]() {
|
|
82
|
+
return this;
|
|
83
|
+
},
|
|
84
|
+
byPage: () => {
|
|
85
|
+
return this.listBySubscriptionPagingPage(options);
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
listBySubscriptionPagingPage(options) {
|
|
90
|
+
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
91
|
+
let result = yield __await(this._listBySubscription(options));
|
|
92
|
+
yield yield __await(result.value || []);
|
|
93
|
+
let continuationToken = result.nextLink;
|
|
94
|
+
while (continuationToken) {
|
|
95
|
+
result = yield __await(this._listBySubscriptionNext(continuationToken, options));
|
|
96
|
+
continuationToken = result.nextLink;
|
|
97
|
+
yield yield __await(result.value || []);
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
listBySubscriptionPagingAll(options) {
|
|
102
|
+
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
103
|
+
var e_2, _a;
|
|
104
|
+
try {
|
|
105
|
+
for (var _b = __asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
106
|
+
const page = _c.value;
|
|
107
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
111
|
+
finally {
|
|
112
|
+
try {
|
|
113
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
114
|
+
}
|
|
115
|
+
finally { if (e_2) throw e_2.error; }
|
|
116
|
+
}
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Create or update a Maps Account. A Maps Account holds the keys which allow access to the Maps REST
|
|
121
|
+
* APIs.
|
|
122
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
123
|
+
* @param accountName The name of the Maps Account.
|
|
124
|
+
* @param mapsAccount The new or updated parameters for the Maps Account.
|
|
125
|
+
* @param options The options parameters.
|
|
126
|
+
*/
|
|
127
|
+
createOrUpdate(resourceGroupName, accountName, mapsAccount, options) {
|
|
128
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, mapsAccount, options }, createOrUpdateOperationSpec);
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Updates a Maps Account. Only a subset of the parameters may be updated after creation, such as Sku,
|
|
132
|
+
* Tags, Properties.
|
|
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 mapsAccountUpdateParameters The updated parameters for the Maps Account.
|
|
136
|
+
* @param options The options parameters.
|
|
137
|
+
*/
|
|
138
|
+
update(resourceGroupName, accountName, mapsAccountUpdateParameters, options) {
|
|
139
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, mapsAccountUpdateParameters, options }, updateOperationSpec);
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Delete a Maps Account.
|
|
143
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
144
|
+
* @param accountName The name of the Maps Account.
|
|
145
|
+
* @param options The options parameters.
|
|
146
|
+
*/
|
|
147
|
+
delete(resourceGroupName, accountName, options) {
|
|
148
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, deleteOperationSpec);
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Get a Maps Account.
|
|
152
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
153
|
+
* @param accountName The name of the Maps Account.
|
|
154
|
+
* @param options The options parameters.
|
|
155
|
+
*/
|
|
156
|
+
get(resourceGroupName, accountName, options) {
|
|
157
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, getOperationSpec);
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Get all Maps Accounts in a Resource Group
|
|
161
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
162
|
+
* @param options The options parameters.
|
|
163
|
+
*/
|
|
164
|
+
_listByResourceGroup(resourceGroupName, options) {
|
|
165
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* Get all Maps Accounts in a Subscription
|
|
169
|
+
* @param options The options parameters.
|
|
170
|
+
*/
|
|
171
|
+
_listBySubscription(options) {
|
|
172
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Get the keys to use with the Maps APIs. A key is used to authenticate and authorize access to the
|
|
176
|
+
* Maps REST APIs. Only one key is needed at a time; two are given to provide seamless key
|
|
177
|
+
* regeneration.
|
|
178
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
179
|
+
* @param accountName The name of the Maps Account.
|
|
180
|
+
* @param options The options parameters.
|
|
181
|
+
*/
|
|
182
|
+
listKeys(resourceGroupName, accountName, options) {
|
|
183
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listKeysOperationSpec);
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* Regenerate either the primary or secondary key for use with the Maps APIs. The old key will stop
|
|
187
|
+
* working immediately.
|
|
188
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
189
|
+
* @param accountName The name of the Maps Account.
|
|
190
|
+
* @param keySpecification Which key to regenerate: primary or secondary.
|
|
191
|
+
* @param options The options parameters.
|
|
192
|
+
*/
|
|
193
|
+
regenerateKeys(resourceGroupName, accountName, keySpecification, options) {
|
|
194
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, keySpecification, options }, regenerateKeysOperationSpec);
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* ListByResourceGroupNext
|
|
198
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
199
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
200
|
+
* @param options The options parameters.
|
|
201
|
+
*/
|
|
202
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
203
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* ListBySubscriptionNext
|
|
207
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
208
|
+
* @param options The options parameters.
|
|
209
|
+
*/
|
|
210
|
+
_listBySubscriptionNext(nextLink, options) {
|
|
211
|
+
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
// Operation Specifications
|
|
215
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
216
|
+
const createOrUpdateOperationSpec = {
|
|
217
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}",
|
|
218
|
+
httpMethod: "PUT",
|
|
219
|
+
responses: {
|
|
220
|
+
200: {
|
|
221
|
+
bodyMapper: Mappers.MapsAccount
|
|
222
|
+
},
|
|
223
|
+
201: {
|
|
224
|
+
bodyMapper: Mappers.MapsAccount
|
|
225
|
+
},
|
|
226
|
+
default: {
|
|
227
|
+
bodyMapper: Mappers.ErrorResponse
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
requestBody: Parameters.mapsAccount,
|
|
231
|
+
queryParameters: [Parameters.apiVersion],
|
|
232
|
+
urlParameters: [
|
|
233
|
+
Parameters.$host,
|
|
234
|
+
Parameters.subscriptionId,
|
|
235
|
+
Parameters.resourceGroupName,
|
|
236
|
+
Parameters.accountName
|
|
237
|
+
],
|
|
238
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
239
|
+
mediaType: "json",
|
|
240
|
+
serializer
|
|
241
|
+
};
|
|
242
|
+
const updateOperationSpec = {
|
|
243
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}",
|
|
244
|
+
httpMethod: "PATCH",
|
|
245
|
+
responses: {
|
|
246
|
+
200: {
|
|
247
|
+
bodyMapper: Mappers.MapsAccount
|
|
248
|
+
},
|
|
249
|
+
default: {
|
|
250
|
+
bodyMapper: Mappers.ErrorResponse
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
requestBody: Parameters.mapsAccountUpdateParameters,
|
|
254
|
+
queryParameters: [Parameters.apiVersion],
|
|
255
|
+
urlParameters: [
|
|
256
|
+
Parameters.$host,
|
|
257
|
+
Parameters.subscriptionId,
|
|
258
|
+
Parameters.resourceGroupName,
|
|
259
|
+
Parameters.accountName
|
|
260
|
+
],
|
|
261
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
262
|
+
mediaType: "json",
|
|
263
|
+
serializer
|
|
264
|
+
};
|
|
265
|
+
const deleteOperationSpec = {
|
|
266
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}",
|
|
267
|
+
httpMethod: "DELETE",
|
|
268
|
+
responses: {
|
|
269
|
+
200: {},
|
|
270
|
+
204: {},
|
|
271
|
+
default: {
|
|
272
|
+
bodyMapper: Mappers.ErrorResponse
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
queryParameters: [Parameters.apiVersion],
|
|
276
|
+
urlParameters: [
|
|
277
|
+
Parameters.$host,
|
|
278
|
+
Parameters.subscriptionId,
|
|
279
|
+
Parameters.resourceGroupName,
|
|
280
|
+
Parameters.accountName
|
|
281
|
+
],
|
|
282
|
+
headerParameters: [Parameters.accept],
|
|
283
|
+
serializer
|
|
284
|
+
};
|
|
285
|
+
const getOperationSpec = {
|
|
286
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}",
|
|
287
|
+
httpMethod: "GET",
|
|
288
|
+
responses: {
|
|
289
|
+
200: {
|
|
290
|
+
bodyMapper: Mappers.MapsAccount
|
|
291
|
+
},
|
|
292
|
+
default: {
|
|
293
|
+
bodyMapper: Mappers.ErrorResponse
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
queryParameters: [Parameters.apiVersion],
|
|
297
|
+
urlParameters: [
|
|
298
|
+
Parameters.$host,
|
|
299
|
+
Parameters.subscriptionId,
|
|
300
|
+
Parameters.resourceGroupName,
|
|
301
|
+
Parameters.accountName
|
|
302
|
+
],
|
|
303
|
+
headerParameters: [Parameters.accept],
|
|
304
|
+
serializer
|
|
305
|
+
};
|
|
306
|
+
const listByResourceGroupOperationSpec = {
|
|
307
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts",
|
|
308
|
+
httpMethod: "GET",
|
|
309
|
+
responses: {
|
|
310
|
+
200: {
|
|
311
|
+
bodyMapper: Mappers.MapsAccounts
|
|
312
|
+
},
|
|
313
|
+
default: {
|
|
314
|
+
bodyMapper: Mappers.ErrorResponse
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
queryParameters: [Parameters.apiVersion],
|
|
318
|
+
urlParameters: [
|
|
319
|
+
Parameters.$host,
|
|
320
|
+
Parameters.subscriptionId,
|
|
321
|
+
Parameters.resourceGroupName
|
|
322
|
+
],
|
|
323
|
+
headerParameters: [Parameters.accept],
|
|
324
|
+
serializer
|
|
325
|
+
};
|
|
326
|
+
const listBySubscriptionOperationSpec = {
|
|
327
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Maps/accounts",
|
|
328
|
+
httpMethod: "GET",
|
|
329
|
+
responses: {
|
|
330
|
+
200: {
|
|
331
|
+
bodyMapper: Mappers.MapsAccounts
|
|
332
|
+
},
|
|
333
|
+
default: {
|
|
334
|
+
bodyMapper: Mappers.ErrorResponse
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
queryParameters: [Parameters.apiVersion],
|
|
338
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
339
|
+
headerParameters: [Parameters.accept],
|
|
340
|
+
serializer
|
|
341
|
+
};
|
|
342
|
+
const listKeysOperationSpec = {
|
|
343
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/listKeys",
|
|
344
|
+
httpMethod: "POST",
|
|
345
|
+
responses: {
|
|
346
|
+
200: {
|
|
347
|
+
bodyMapper: Mappers.MapsAccountKeys
|
|
348
|
+
},
|
|
349
|
+
default: {
|
|
350
|
+
bodyMapper: Mappers.ErrorResponse
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
queryParameters: [Parameters.apiVersion],
|
|
354
|
+
urlParameters: [
|
|
355
|
+
Parameters.$host,
|
|
356
|
+
Parameters.subscriptionId,
|
|
357
|
+
Parameters.resourceGroupName,
|
|
358
|
+
Parameters.accountName
|
|
359
|
+
],
|
|
360
|
+
headerParameters: [Parameters.accept],
|
|
361
|
+
serializer
|
|
362
|
+
};
|
|
363
|
+
const regenerateKeysOperationSpec = {
|
|
364
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/regenerateKey",
|
|
365
|
+
httpMethod: "POST",
|
|
366
|
+
responses: {
|
|
367
|
+
200: {
|
|
368
|
+
bodyMapper: Mappers.MapsAccountKeys
|
|
369
|
+
},
|
|
370
|
+
default: {
|
|
371
|
+
bodyMapper: Mappers.ErrorResponse
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
requestBody: Parameters.keySpecification,
|
|
375
|
+
queryParameters: [Parameters.apiVersion],
|
|
376
|
+
urlParameters: [
|
|
377
|
+
Parameters.$host,
|
|
378
|
+
Parameters.subscriptionId,
|
|
379
|
+
Parameters.resourceGroupName,
|
|
380
|
+
Parameters.accountName
|
|
381
|
+
],
|
|
382
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
383
|
+
mediaType: "json",
|
|
384
|
+
serializer
|
|
385
|
+
};
|
|
386
|
+
const listByResourceGroupNextOperationSpec = {
|
|
387
|
+
path: "{nextLink}",
|
|
388
|
+
httpMethod: "GET",
|
|
389
|
+
responses: {
|
|
390
|
+
200: {
|
|
391
|
+
bodyMapper: Mappers.MapsAccounts
|
|
392
|
+
},
|
|
393
|
+
default: {
|
|
394
|
+
bodyMapper: Mappers.ErrorResponse
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
queryParameters: [Parameters.apiVersion],
|
|
398
|
+
urlParameters: [
|
|
399
|
+
Parameters.$host,
|
|
400
|
+
Parameters.subscriptionId,
|
|
401
|
+
Parameters.resourceGroupName,
|
|
402
|
+
Parameters.nextLink
|
|
403
|
+
],
|
|
404
|
+
headerParameters: [Parameters.accept],
|
|
405
|
+
serializer
|
|
406
|
+
};
|
|
407
|
+
const listBySubscriptionNextOperationSpec = {
|
|
408
|
+
path: "{nextLink}",
|
|
409
|
+
httpMethod: "GET",
|
|
410
|
+
responses: {
|
|
411
|
+
200: {
|
|
412
|
+
bodyMapper: Mappers.MapsAccounts
|
|
413
|
+
},
|
|
414
|
+
default: {
|
|
415
|
+
bodyMapper: Mappers.ErrorResponse
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
queryParameters: [Parameters.apiVersion],
|
|
419
|
+
urlParameters: [
|
|
420
|
+
Parameters.$host,
|
|
421
|
+
Parameters.subscriptionId,
|
|
422
|
+
Parameters.nextLink
|
|
423
|
+
],
|
|
424
|
+
headerParameters: [Parameters.accept],
|
|
425
|
+
serializer
|
|
426
|
+
};
|
|
427
|
+
//# sourceMappingURL=accounts.js.map
|
|
@@ -0,0 +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AAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,YAAY;SACjC;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,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,YAAY;SACjC;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,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Creators } from "../operationsInterfaces";
|
|
3
|
+
import { AzureMapsManagementClient } from "../azureMapsManagementClient";
|
|
4
|
+
import { Creator, CreatorsListByAccountOptionalParams, CreatorsCreateOrUpdateOptionalParams, CreatorsCreateOrUpdateResponse, CreatorUpdateParameters, CreatorsUpdateOptionalParams, CreatorsUpdateResponse, CreatorsDeleteOptionalParams, CreatorsGetOptionalParams, CreatorsGetResponse } from "../models";
|
|
5
|
+
/** Class containing Creators operations. */
|
|
6
|
+
export declare class CreatorsImpl implements Creators {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class Creators class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: AzureMapsManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* Get all Creator instances for an Azure Maps Account
|
|
15
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
16
|
+
* @param accountName The name of the Maps Account.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
listByAccount(resourceGroupName: string, accountName: string, options?: CreatorsListByAccountOptionalParams): PagedAsyncIterableIterator<Creator>;
|
|
20
|
+
private listByAccountPagingPage;
|
|
21
|
+
private listByAccountPagingAll;
|
|
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
|
+
private _listByAccount;
|
|
29
|
+
/**
|
|
30
|
+
* Create or update a Maps Creator resource. Creator resource will manage Azure resources required to
|
|
31
|
+
* populate a custom set of mapping data. It requires an account to exist before it can be created.
|
|
32
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
33
|
+
* @param accountName The name of the Maps Account.
|
|
34
|
+
* @param creatorName The name of the Maps Creator instance.
|
|
35
|
+
* @param creatorResource The new or updated parameters for the Creator resource.
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
createOrUpdate(resourceGroupName: string, accountName: string, creatorName: string, creatorResource: Creator, options?: CreatorsCreateOrUpdateOptionalParams): Promise<CreatorsCreateOrUpdateResponse>;
|
|
39
|
+
/**
|
|
40
|
+
* Updates the Maps Creator resource. Only a subset of the parameters may be updated after creation,
|
|
41
|
+
* such as Tags.
|
|
42
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
43
|
+
* @param accountName The name of the Maps Account.
|
|
44
|
+
* @param creatorName The name of the Maps Creator instance.
|
|
45
|
+
* @param creatorUpdateParameters The update parameters for Maps Creator.
|
|
46
|
+
* @param options The options parameters.
|
|
47
|
+
*/
|
|
48
|
+
update(resourceGroupName: string, accountName: string, creatorName: string, creatorUpdateParameters: CreatorUpdateParameters, options?: CreatorsUpdateOptionalParams): Promise<CreatorsUpdateResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* Delete a Maps Creator resource.
|
|
51
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
52
|
+
* @param accountName The name of the Maps Account.
|
|
53
|
+
* @param creatorName The name of the Maps Creator instance.
|
|
54
|
+
* @param options The options parameters.
|
|
55
|
+
*/
|
|
56
|
+
delete(resourceGroupName: string, accountName: string, creatorName: string, options?: CreatorsDeleteOptionalParams): Promise<void>;
|
|
57
|
+
/**
|
|
58
|
+
* Get a Maps Creator resource.
|
|
59
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
60
|
+
* @param accountName The name of the Maps Account.
|
|
61
|
+
* @param creatorName The name of the Maps Creator instance.
|
|
62
|
+
* @param options The options parameters.
|
|
63
|
+
*/
|
|
64
|
+
get(resourceGroupName: string, accountName: string, creatorName: string, options?: CreatorsGetOptionalParams): Promise<CreatorsGetResponse>;
|
|
65
|
+
/**
|
|
66
|
+
* ListByAccountNext
|
|
67
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
68
|
+
* @param accountName The name of the Maps Account.
|
|
69
|
+
* @param nextLink The nextLink from the previous successful call to the ListByAccount method.
|
|
70
|
+
* @param options The options parameters.
|
|
71
|
+
*/
|
|
72
|
+
private _listByAccountNext;
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=creators.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"creators.d.ts","sourceRoot":"","sources":["../../../src/operations/creators.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAInD,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EACL,OAAO,EAEP,mCAAmC,EAEnC,oCAAoC,EACpC,8BAA8B,EAC9B,uBAAuB,EACvB,4BAA4B,EAC5B,sBAAsB,EACtB,4BAA4B,EAC5B,yBAAyB,EACzB,mBAAmB,EAEpB,MAAM,WAAW,CAAC;AAGnB,4CAA4C;AAC5C,qBAAa,YAAa,YAAW,QAAQ;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA4B;IAEnD;;;OAGG;gBACS,MAAM,EAAE,yBAAyB;IAI7C;;;;;OAKG;IACI,aAAa,CAClB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,0BAA0B,CAAC,OAAO,CAAC;YAuBvB,uBAAuB;YAwBvB,sBAAsB;IAcrC;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAWtB;;;;;;;;OAQG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,eAAe,EAAE,OAAO,EACxB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC;IAO1C;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,uBAAuB,EAAE,uBAAuB,EAChD,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;IAalC;;;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