@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
package/dist/arm-maps.js
DELETED
|
@@ -1,1671 +0,0 @@
|
|
|
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
|
-
(function (global, factory) {
|
|
9
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@azure/ms-rest-azure-js'), require('@azure/ms-rest-js')) :
|
|
10
|
-
typeof define === 'function' && define.amd ? define(['exports', '@azure/ms-rest-azure-js', '@azure/ms-rest-js'], factory) :
|
|
11
|
-
(global = global || self, factory((global.Azure = global.Azure || {}, global.Azure.ArmMaps = {}), global.msRestAzure, global.msRest));
|
|
12
|
-
}(this, (function (exports, msRestAzure, msRest) { 'use strict';
|
|
13
|
-
|
|
14
|
-
/*! *****************************************************************************
|
|
15
|
-
Copyright (c) Microsoft Corporation.
|
|
16
|
-
|
|
17
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
18
|
-
purpose with or without fee is hereby granted.
|
|
19
|
-
|
|
20
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
21
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
22
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
23
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
24
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
25
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
26
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
27
|
-
***************************************************************************** */
|
|
28
|
-
/* global Reflect, Promise */
|
|
29
|
-
|
|
30
|
-
var extendStatics = function(d, b) {
|
|
31
|
-
extendStatics = Object.setPrototypeOf ||
|
|
32
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
33
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
34
|
-
return extendStatics(d, b);
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
function __extends(d, b) {
|
|
38
|
-
extendStatics(d, b);
|
|
39
|
-
function __() { this.constructor = d; }
|
|
40
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
var __assign = function() {
|
|
44
|
-
__assign = Object.assign || function __assign(t) {
|
|
45
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
46
|
-
s = arguments[i];
|
|
47
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
48
|
-
}
|
|
49
|
-
return t;
|
|
50
|
-
};
|
|
51
|
-
return __assign.apply(this, arguments);
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
/*
|
|
55
|
-
* Copyright (c) Microsoft Corporation.
|
|
56
|
-
* Licensed under the MIT License.
|
|
57
|
-
*
|
|
58
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
59
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
60
|
-
*/
|
|
61
|
-
|
|
62
|
-
var index = /*#__PURE__*/Object.freeze({
|
|
63
|
-
__proto__: null
|
|
64
|
-
});
|
|
65
|
-
|
|
66
|
-
/*
|
|
67
|
-
* Copyright (c) Microsoft Corporation.
|
|
68
|
-
* Licensed under the MIT License.
|
|
69
|
-
*
|
|
70
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
71
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
72
|
-
*/
|
|
73
|
-
var CloudError = msRestAzure.CloudErrorMapper;
|
|
74
|
-
var BaseResource = msRestAzure.BaseResourceMapper;
|
|
75
|
-
var CreatorProperties = {
|
|
76
|
-
serializedName: "CreatorProperties",
|
|
77
|
-
type: {
|
|
78
|
-
name: "Composite",
|
|
79
|
-
className: "CreatorProperties",
|
|
80
|
-
modelProperties: {
|
|
81
|
-
provisioningState: {
|
|
82
|
-
readOnly: true,
|
|
83
|
-
serializedName: "provisioningState",
|
|
84
|
-
type: {
|
|
85
|
-
name: "String"
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
storageUnits: {
|
|
89
|
-
required: true,
|
|
90
|
-
serializedName: "storageUnits",
|
|
91
|
-
constraints: {
|
|
92
|
-
InclusiveMaximum: 100,
|
|
93
|
-
InclusiveMinimum: 1
|
|
94
|
-
},
|
|
95
|
-
type: {
|
|
96
|
-
name: "Number"
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
var Creator = {
|
|
103
|
-
serializedName: "Creator",
|
|
104
|
-
type: {
|
|
105
|
-
name: "Composite",
|
|
106
|
-
className: "Creator",
|
|
107
|
-
modelProperties: {
|
|
108
|
-
properties: {
|
|
109
|
-
required: true,
|
|
110
|
-
serializedName: "properties",
|
|
111
|
-
type: {
|
|
112
|
-
name: "Composite",
|
|
113
|
-
className: "CreatorProperties"
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
};
|
|
119
|
-
var Sku = {
|
|
120
|
-
serializedName: "Sku",
|
|
121
|
-
type: {
|
|
122
|
-
name: "Composite",
|
|
123
|
-
className: "Sku",
|
|
124
|
-
modelProperties: {
|
|
125
|
-
name: {
|
|
126
|
-
required: true,
|
|
127
|
-
serializedName: "name",
|
|
128
|
-
type: {
|
|
129
|
-
name: "String"
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
tier: {
|
|
133
|
-
readOnly: true,
|
|
134
|
-
serializedName: "tier",
|
|
135
|
-
type: {
|
|
136
|
-
name: "String"
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
};
|
|
142
|
-
var SystemData = {
|
|
143
|
-
serializedName: "systemData",
|
|
144
|
-
type: {
|
|
145
|
-
name: "Composite",
|
|
146
|
-
className: "SystemData",
|
|
147
|
-
modelProperties: {
|
|
148
|
-
createdBy: {
|
|
149
|
-
serializedName: "createdBy",
|
|
150
|
-
type: {
|
|
151
|
-
name: "String"
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
createdByType: {
|
|
155
|
-
serializedName: "createdByType",
|
|
156
|
-
type: {
|
|
157
|
-
name: "String"
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
createdAt: {
|
|
161
|
-
serializedName: "createdAt",
|
|
162
|
-
type: {
|
|
163
|
-
name: "DateTime"
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
lastModifiedBy: {
|
|
167
|
-
serializedName: "lastModifiedBy",
|
|
168
|
-
type: {
|
|
169
|
-
name: "String"
|
|
170
|
-
}
|
|
171
|
-
},
|
|
172
|
-
lastModifiedByType: {
|
|
173
|
-
serializedName: "lastModifiedByType",
|
|
174
|
-
type: {
|
|
175
|
-
name: "String"
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
lastModifiedAt: {
|
|
179
|
-
serializedName: "lastModifiedAt",
|
|
180
|
-
type: {
|
|
181
|
-
name: "DateTime"
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
};
|
|
187
|
-
var MapsAccountProperties = {
|
|
188
|
-
serializedName: "MapsAccountProperties",
|
|
189
|
-
type: {
|
|
190
|
-
name: "Composite",
|
|
191
|
-
className: "MapsAccountProperties",
|
|
192
|
-
modelProperties: {
|
|
193
|
-
uniqueId: {
|
|
194
|
-
readOnly: true,
|
|
195
|
-
serializedName: "uniqueId",
|
|
196
|
-
type: {
|
|
197
|
-
name: "String"
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
disableLocalAuth: {
|
|
201
|
-
serializedName: "disableLocalAuth",
|
|
202
|
-
defaultValue: false,
|
|
203
|
-
type: {
|
|
204
|
-
name: "Boolean"
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
provisioningState: {
|
|
208
|
-
readOnly: true,
|
|
209
|
-
serializedName: "provisioningState",
|
|
210
|
-
type: {
|
|
211
|
-
name: "String"
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
};
|
|
217
|
-
var MapsAccount = {
|
|
218
|
-
serializedName: "MapsAccount",
|
|
219
|
-
type: {
|
|
220
|
-
name: "Composite",
|
|
221
|
-
className: "MapsAccount",
|
|
222
|
-
modelProperties: {
|
|
223
|
-
sku: {
|
|
224
|
-
required: true,
|
|
225
|
-
serializedName: "sku",
|
|
226
|
-
type: {
|
|
227
|
-
name: "Composite",
|
|
228
|
-
className: "Sku"
|
|
229
|
-
}
|
|
230
|
-
},
|
|
231
|
-
kind: {
|
|
232
|
-
serializedName: "kind",
|
|
233
|
-
defaultValue: "Gen1",
|
|
234
|
-
type: {
|
|
235
|
-
name: "String"
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
|
-
systemData: {
|
|
239
|
-
readOnly: true,
|
|
240
|
-
serializedName: "systemData",
|
|
241
|
-
type: {
|
|
242
|
-
name: "Composite",
|
|
243
|
-
className: "SystemData"
|
|
244
|
-
}
|
|
245
|
-
},
|
|
246
|
-
properties: {
|
|
247
|
-
serializedName: "properties",
|
|
248
|
-
type: {
|
|
249
|
-
name: "Composite",
|
|
250
|
-
className: "MapsAccountProperties"
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
};
|
|
256
|
-
var MapsAccountUpdateParameters = {
|
|
257
|
-
serializedName: "MapsAccountUpdateParameters",
|
|
258
|
-
type: {
|
|
259
|
-
name: "Composite",
|
|
260
|
-
className: "MapsAccountUpdateParameters",
|
|
261
|
-
modelProperties: {
|
|
262
|
-
tags: {
|
|
263
|
-
serializedName: "tags",
|
|
264
|
-
type: {
|
|
265
|
-
name: "Dictionary",
|
|
266
|
-
value: {
|
|
267
|
-
type: {
|
|
268
|
-
name: "String"
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
},
|
|
273
|
-
kind: {
|
|
274
|
-
serializedName: "kind",
|
|
275
|
-
defaultValue: "Gen1",
|
|
276
|
-
type: {
|
|
277
|
-
name: "String"
|
|
278
|
-
}
|
|
279
|
-
},
|
|
280
|
-
sku: {
|
|
281
|
-
serializedName: "sku",
|
|
282
|
-
type: {
|
|
283
|
-
name: "Composite",
|
|
284
|
-
className: "Sku"
|
|
285
|
-
}
|
|
286
|
-
},
|
|
287
|
-
uniqueId: {
|
|
288
|
-
readOnly: true,
|
|
289
|
-
serializedName: "properties.uniqueId",
|
|
290
|
-
type: {
|
|
291
|
-
name: "String"
|
|
292
|
-
}
|
|
293
|
-
},
|
|
294
|
-
disableLocalAuth: {
|
|
295
|
-
serializedName: "properties.disableLocalAuth",
|
|
296
|
-
defaultValue: false,
|
|
297
|
-
type: {
|
|
298
|
-
name: "Boolean"
|
|
299
|
-
}
|
|
300
|
-
},
|
|
301
|
-
provisioningState: {
|
|
302
|
-
readOnly: true,
|
|
303
|
-
serializedName: "properties.provisioningState",
|
|
304
|
-
type: {
|
|
305
|
-
name: "String"
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
};
|
|
311
|
-
var CreatorUpdateParameters = {
|
|
312
|
-
serializedName: "CreatorUpdateParameters",
|
|
313
|
-
type: {
|
|
314
|
-
name: "Composite",
|
|
315
|
-
className: "CreatorUpdateParameters",
|
|
316
|
-
modelProperties: {
|
|
317
|
-
tags: {
|
|
318
|
-
serializedName: "tags",
|
|
319
|
-
type: {
|
|
320
|
-
name: "Dictionary",
|
|
321
|
-
value: {
|
|
322
|
-
type: {
|
|
323
|
-
name: "String"
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
},
|
|
328
|
-
provisioningState: {
|
|
329
|
-
readOnly: true,
|
|
330
|
-
serializedName: "properties.provisioningState",
|
|
331
|
-
type: {
|
|
332
|
-
name: "String"
|
|
333
|
-
}
|
|
334
|
-
},
|
|
335
|
-
storageUnits: {
|
|
336
|
-
required: true,
|
|
337
|
-
serializedName: "properties.storageUnits",
|
|
338
|
-
constraints: {
|
|
339
|
-
InclusiveMaximum: 100,
|
|
340
|
-
InclusiveMinimum: 1
|
|
341
|
-
},
|
|
342
|
-
type: {
|
|
343
|
-
name: "Number"
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
};
|
|
349
|
-
var MapsKeySpecification = {
|
|
350
|
-
serializedName: "MapsKeySpecification",
|
|
351
|
-
type: {
|
|
352
|
-
name: "Composite",
|
|
353
|
-
className: "MapsKeySpecification",
|
|
354
|
-
modelProperties: {
|
|
355
|
-
keyType: {
|
|
356
|
-
required: true,
|
|
357
|
-
serializedName: "keyType",
|
|
358
|
-
type: {
|
|
359
|
-
name: "String"
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
};
|
|
365
|
-
var MapsAccountKeys = {
|
|
366
|
-
serializedName: "MapsAccountKeys",
|
|
367
|
-
type: {
|
|
368
|
-
name: "Composite",
|
|
369
|
-
className: "MapsAccountKeys",
|
|
370
|
-
modelProperties: {
|
|
371
|
-
primaryKeyLastUpdated: {
|
|
372
|
-
readOnly: true,
|
|
373
|
-
serializedName: "primaryKeyLastUpdated",
|
|
374
|
-
type: {
|
|
375
|
-
name: "String"
|
|
376
|
-
}
|
|
377
|
-
},
|
|
378
|
-
primaryKey: {
|
|
379
|
-
readOnly: true,
|
|
380
|
-
serializedName: "primaryKey",
|
|
381
|
-
type: {
|
|
382
|
-
name: "String"
|
|
383
|
-
}
|
|
384
|
-
},
|
|
385
|
-
secondaryKey: {
|
|
386
|
-
readOnly: true,
|
|
387
|
-
serializedName: "secondaryKey",
|
|
388
|
-
type: {
|
|
389
|
-
name: "String"
|
|
390
|
-
}
|
|
391
|
-
},
|
|
392
|
-
secondaryKeyLastUpdated: {
|
|
393
|
-
readOnly: true,
|
|
394
|
-
serializedName: "secondaryKeyLastUpdated",
|
|
395
|
-
type: {
|
|
396
|
-
name: "String"
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
};
|
|
402
|
-
var OperationDisplay = {
|
|
403
|
-
serializedName: "OperationDisplay",
|
|
404
|
-
type: {
|
|
405
|
-
name: "Composite",
|
|
406
|
-
className: "OperationDisplay",
|
|
407
|
-
modelProperties: {
|
|
408
|
-
provider: {
|
|
409
|
-
serializedName: "provider",
|
|
410
|
-
type: {
|
|
411
|
-
name: "String"
|
|
412
|
-
}
|
|
413
|
-
},
|
|
414
|
-
resource: {
|
|
415
|
-
serializedName: "resource",
|
|
416
|
-
type: {
|
|
417
|
-
name: "String"
|
|
418
|
-
}
|
|
419
|
-
},
|
|
420
|
-
operation: {
|
|
421
|
-
serializedName: "operation",
|
|
422
|
-
type: {
|
|
423
|
-
name: "String"
|
|
424
|
-
}
|
|
425
|
-
},
|
|
426
|
-
description: {
|
|
427
|
-
serializedName: "description",
|
|
428
|
-
type: {
|
|
429
|
-
name: "String"
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
};
|
|
435
|
-
var Dimension = {
|
|
436
|
-
serializedName: "Dimension",
|
|
437
|
-
type: {
|
|
438
|
-
name: "Composite",
|
|
439
|
-
className: "Dimension",
|
|
440
|
-
modelProperties: {
|
|
441
|
-
name: {
|
|
442
|
-
serializedName: "name",
|
|
443
|
-
type: {
|
|
444
|
-
name: "String"
|
|
445
|
-
}
|
|
446
|
-
},
|
|
447
|
-
displayName: {
|
|
448
|
-
serializedName: "displayName",
|
|
449
|
-
type: {
|
|
450
|
-
name: "String"
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
};
|
|
456
|
-
var MetricSpecification = {
|
|
457
|
-
serializedName: "MetricSpecification",
|
|
458
|
-
type: {
|
|
459
|
-
name: "Composite",
|
|
460
|
-
className: "MetricSpecification",
|
|
461
|
-
modelProperties: {
|
|
462
|
-
name: {
|
|
463
|
-
serializedName: "name",
|
|
464
|
-
type: {
|
|
465
|
-
name: "String"
|
|
466
|
-
}
|
|
467
|
-
},
|
|
468
|
-
displayName: {
|
|
469
|
-
serializedName: "displayName",
|
|
470
|
-
type: {
|
|
471
|
-
name: "String"
|
|
472
|
-
}
|
|
473
|
-
},
|
|
474
|
-
displayDescription: {
|
|
475
|
-
serializedName: "displayDescription",
|
|
476
|
-
type: {
|
|
477
|
-
name: "String"
|
|
478
|
-
}
|
|
479
|
-
},
|
|
480
|
-
unit: {
|
|
481
|
-
serializedName: "unit",
|
|
482
|
-
type: {
|
|
483
|
-
name: "String"
|
|
484
|
-
}
|
|
485
|
-
},
|
|
486
|
-
dimensions: {
|
|
487
|
-
serializedName: "dimensions",
|
|
488
|
-
type: {
|
|
489
|
-
name: "Sequence",
|
|
490
|
-
element: {
|
|
491
|
-
type: {
|
|
492
|
-
name: "Composite",
|
|
493
|
-
className: "Dimension"
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
},
|
|
498
|
-
aggregationType: {
|
|
499
|
-
serializedName: "aggregationType",
|
|
500
|
-
type: {
|
|
501
|
-
name: "String"
|
|
502
|
-
}
|
|
503
|
-
},
|
|
504
|
-
fillGapWithZero: {
|
|
505
|
-
serializedName: "fillGapWithZero",
|
|
506
|
-
type: {
|
|
507
|
-
name: "Boolean"
|
|
508
|
-
}
|
|
509
|
-
},
|
|
510
|
-
category: {
|
|
511
|
-
serializedName: "category",
|
|
512
|
-
type: {
|
|
513
|
-
name: "String"
|
|
514
|
-
}
|
|
515
|
-
},
|
|
516
|
-
resourceIdDimensionNameOverride: {
|
|
517
|
-
serializedName: "resourceIdDimensionNameOverride",
|
|
518
|
-
type: {
|
|
519
|
-
name: "String"
|
|
520
|
-
}
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
};
|
|
525
|
-
var ServiceSpecification = {
|
|
526
|
-
serializedName: "ServiceSpecification",
|
|
527
|
-
type: {
|
|
528
|
-
name: "Composite",
|
|
529
|
-
className: "ServiceSpecification",
|
|
530
|
-
modelProperties: {
|
|
531
|
-
metricSpecifications: {
|
|
532
|
-
serializedName: "metricSpecifications",
|
|
533
|
-
type: {
|
|
534
|
-
name: "Sequence",
|
|
535
|
-
element: {
|
|
536
|
-
type: {
|
|
537
|
-
name: "Composite",
|
|
538
|
-
className: "MetricSpecification"
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
}
|
|
542
|
-
}
|
|
543
|
-
}
|
|
544
|
-
}
|
|
545
|
-
};
|
|
546
|
-
var OperationDetail = {
|
|
547
|
-
serializedName: "OperationDetail",
|
|
548
|
-
type: {
|
|
549
|
-
name: "Composite",
|
|
550
|
-
className: "OperationDetail",
|
|
551
|
-
modelProperties: {
|
|
552
|
-
name: {
|
|
553
|
-
serializedName: "name",
|
|
554
|
-
type: {
|
|
555
|
-
name: "String"
|
|
556
|
-
}
|
|
557
|
-
},
|
|
558
|
-
isDataAction: {
|
|
559
|
-
serializedName: "isDataAction",
|
|
560
|
-
type: {
|
|
561
|
-
name: "Boolean"
|
|
562
|
-
}
|
|
563
|
-
},
|
|
564
|
-
display: {
|
|
565
|
-
serializedName: "display",
|
|
566
|
-
type: {
|
|
567
|
-
name: "Composite",
|
|
568
|
-
className: "OperationDisplay"
|
|
569
|
-
}
|
|
570
|
-
},
|
|
571
|
-
origin: {
|
|
572
|
-
serializedName: "origin",
|
|
573
|
-
type: {
|
|
574
|
-
name: "String"
|
|
575
|
-
}
|
|
576
|
-
},
|
|
577
|
-
serviceSpecification: {
|
|
578
|
-
serializedName: "properties.serviceSpecification",
|
|
579
|
-
type: {
|
|
580
|
-
name: "Composite",
|
|
581
|
-
className: "ServiceSpecification"
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
}
|
|
585
|
-
}
|
|
586
|
-
};
|
|
587
|
-
var Resource = {
|
|
588
|
-
serializedName: "Resource",
|
|
589
|
-
type: {
|
|
590
|
-
name: "Composite",
|
|
591
|
-
className: "Resource",
|
|
592
|
-
modelProperties: {
|
|
593
|
-
id: {
|
|
594
|
-
readOnly: true,
|
|
595
|
-
serializedName: "id",
|
|
596
|
-
type: {
|
|
597
|
-
name: "String"
|
|
598
|
-
}
|
|
599
|
-
},
|
|
600
|
-
name: {
|
|
601
|
-
readOnly: true,
|
|
602
|
-
serializedName: "name",
|
|
603
|
-
type: {
|
|
604
|
-
name: "String"
|
|
605
|
-
}
|
|
606
|
-
},
|
|
607
|
-
type: {
|
|
608
|
-
readOnly: true,
|
|
609
|
-
serializedName: "type",
|
|
610
|
-
type: {
|
|
611
|
-
name: "String"
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
};
|
|
617
|
-
var ProxyResource = {
|
|
618
|
-
serializedName: "ProxyResource",
|
|
619
|
-
type: {
|
|
620
|
-
name: "Composite",
|
|
621
|
-
className: "ProxyResource",
|
|
622
|
-
modelProperties: __assign({}, Resource.type.modelProperties)
|
|
623
|
-
}
|
|
624
|
-
};
|
|
625
|
-
var AzureEntityResource = {
|
|
626
|
-
serializedName: "AzureEntityResource",
|
|
627
|
-
type: {
|
|
628
|
-
name: "Composite",
|
|
629
|
-
className: "AzureEntityResource",
|
|
630
|
-
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { etag: {
|
|
631
|
-
readOnly: true,
|
|
632
|
-
serializedName: "etag",
|
|
633
|
-
type: {
|
|
634
|
-
name: "String"
|
|
635
|
-
}
|
|
636
|
-
} })
|
|
637
|
-
}
|
|
638
|
-
};
|
|
639
|
-
var TrackedResource = {
|
|
640
|
-
serializedName: "TrackedResource",
|
|
641
|
-
type: {
|
|
642
|
-
name: "Composite",
|
|
643
|
-
className: "TrackedResource",
|
|
644
|
-
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { tags: {
|
|
645
|
-
serializedName: "tags",
|
|
646
|
-
type: {
|
|
647
|
-
name: "Dictionary",
|
|
648
|
-
value: {
|
|
649
|
-
type: {
|
|
650
|
-
name: "String"
|
|
651
|
-
}
|
|
652
|
-
}
|
|
653
|
-
}
|
|
654
|
-
}, location: {
|
|
655
|
-
required: true,
|
|
656
|
-
serializedName: "location",
|
|
657
|
-
type: {
|
|
658
|
-
name: "String"
|
|
659
|
-
}
|
|
660
|
-
} })
|
|
661
|
-
}
|
|
662
|
-
};
|
|
663
|
-
var ErrorAdditionalInfo = {
|
|
664
|
-
serializedName: "ErrorAdditionalInfo",
|
|
665
|
-
type: {
|
|
666
|
-
name: "Composite",
|
|
667
|
-
className: "ErrorAdditionalInfo",
|
|
668
|
-
modelProperties: {
|
|
669
|
-
type: {
|
|
670
|
-
readOnly: true,
|
|
671
|
-
serializedName: "type",
|
|
672
|
-
type: {
|
|
673
|
-
name: "String"
|
|
674
|
-
}
|
|
675
|
-
},
|
|
676
|
-
info: {
|
|
677
|
-
readOnly: true,
|
|
678
|
-
serializedName: "info",
|
|
679
|
-
type: {
|
|
680
|
-
name: "Object"
|
|
681
|
-
}
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
}
|
|
685
|
-
};
|
|
686
|
-
var ErrorDetail = {
|
|
687
|
-
serializedName: "ErrorDetail",
|
|
688
|
-
type: {
|
|
689
|
-
name: "Composite",
|
|
690
|
-
className: "ErrorDetail",
|
|
691
|
-
modelProperties: {
|
|
692
|
-
code: {
|
|
693
|
-
readOnly: true,
|
|
694
|
-
serializedName: "code",
|
|
695
|
-
type: {
|
|
696
|
-
name: "String"
|
|
697
|
-
}
|
|
698
|
-
},
|
|
699
|
-
message: {
|
|
700
|
-
readOnly: true,
|
|
701
|
-
serializedName: "message",
|
|
702
|
-
type: {
|
|
703
|
-
name: "String"
|
|
704
|
-
}
|
|
705
|
-
},
|
|
706
|
-
target: {
|
|
707
|
-
readOnly: true,
|
|
708
|
-
serializedName: "target",
|
|
709
|
-
type: {
|
|
710
|
-
name: "String"
|
|
711
|
-
}
|
|
712
|
-
},
|
|
713
|
-
details: {
|
|
714
|
-
readOnly: true,
|
|
715
|
-
serializedName: "details",
|
|
716
|
-
type: {
|
|
717
|
-
name: "Sequence",
|
|
718
|
-
element: {
|
|
719
|
-
type: {
|
|
720
|
-
name: "Composite",
|
|
721
|
-
className: "ErrorDetail"
|
|
722
|
-
}
|
|
723
|
-
}
|
|
724
|
-
}
|
|
725
|
-
},
|
|
726
|
-
additionalInfo: {
|
|
727
|
-
readOnly: true,
|
|
728
|
-
serializedName: "additionalInfo",
|
|
729
|
-
type: {
|
|
730
|
-
name: "Sequence",
|
|
731
|
-
element: {
|
|
732
|
-
type: {
|
|
733
|
-
name: "Composite",
|
|
734
|
-
className: "ErrorAdditionalInfo"
|
|
735
|
-
}
|
|
736
|
-
}
|
|
737
|
-
}
|
|
738
|
-
}
|
|
739
|
-
}
|
|
740
|
-
}
|
|
741
|
-
};
|
|
742
|
-
var ErrorResponse = {
|
|
743
|
-
serializedName: "ErrorResponse",
|
|
744
|
-
type: {
|
|
745
|
-
name: "Composite",
|
|
746
|
-
className: "ErrorResponse",
|
|
747
|
-
modelProperties: {
|
|
748
|
-
error: {
|
|
749
|
-
serializedName: "error",
|
|
750
|
-
type: {
|
|
751
|
-
name: "Composite",
|
|
752
|
-
className: "ErrorDetail"
|
|
753
|
-
}
|
|
754
|
-
}
|
|
755
|
-
}
|
|
756
|
-
}
|
|
757
|
-
};
|
|
758
|
-
var MapsAccounts = {
|
|
759
|
-
serializedName: "MapsAccounts",
|
|
760
|
-
type: {
|
|
761
|
-
name: "Composite",
|
|
762
|
-
className: "MapsAccounts",
|
|
763
|
-
modelProperties: {
|
|
764
|
-
value: {
|
|
765
|
-
readOnly: true,
|
|
766
|
-
serializedName: "",
|
|
767
|
-
type: {
|
|
768
|
-
name: "Sequence",
|
|
769
|
-
element: {
|
|
770
|
-
type: {
|
|
771
|
-
name: "Composite",
|
|
772
|
-
className: "MapsAccount"
|
|
773
|
-
}
|
|
774
|
-
}
|
|
775
|
-
}
|
|
776
|
-
},
|
|
777
|
-
nextLink: {
|
|
778
|
-
serializedName: "nextLink",
|
|
779
|
-
type: {
|
|
780
|
-
name: "String"
|
|
781
|
-
}
|
|
782
|
-
}
|
|
783
|
-
}
|
|
784
|
-
}
|
|
785
|
-
};
|
|
786
|
-
var MapsOperations = {
|
|
787
|
-
serializedName: "MapsOperations",
|
|
788
|
-
type: {
|
|
789
|
-
name: "Composite",
|
|
790
|
-
className: "MapsOperations",
|
|
791
|
-
modelProperties: {
|
|
792
|
-
value: {
|
|
793
|
-
readOnly: true,
|
|
794
|
-
serializedName: "",
|
|
795
|
-
type: {
|
|
796
|
-
name: "Sequence",
|
|
797
|
-
element: {
|
|
798
|
-
type: {
|
|
799
|
-
name: "Composite",
|
|
800
|
-
className: "OperationDetail"
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
},
|
|
805
|
-
nextLink: {
|
|
806
|
-
serializedName: "nextLink",
|
|
807
|
-
type: {
|
|
808
|
-
name: "String"
|
|
809
|
-
}
|
|
810
|
-
}
|
|
811
|
-
}
|
|
812
|
-
}
|
|
813
|
-
};
|
|
814
|
-
var CreatorList = {
|
|
815
|
-
serializedName: "CreatorList",
|
|
816
|
-
type: {
|
|
817
|
-
name: "Composite",
|
|
818
|
-
className: "CreatorList",
|
|
819
|
-
modelProperties: {
|
|
820
|
-
value: {
|
|
821
|
-
readOnly: true,
|
|
822
|
-
serializedName: "",
|
|
823
|
-
type: {
|
|
824
|
-
name: "Sequence",
|
|
825
|
-
element: {
|
|
826
|
-
type: {
|
|
827
|
-
name: "Composite",
|
|
828
|
-
className: "Creator"
|
|
829
|
-
}
|
|
830
|
-
}
|
|
831
|
-
}
|
|
832
|
-
},
|
|
833
|
-
nextLink: {
|
|
834
|
-
serializedName: "nextLink",
|
|
835
|
-
type: {
|
|
836
|
-
name: "String"
|
|
837
|
-
}
|
|
838
|
-
}
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
};
|
|
842
|
-
|
|
843
|
-
var mappers = /*#__PURE__*/Object.freeze({
|
|
844
|
-
__proto__: null,
|
|
845
|
-
CloudError: CloudError,
|
|
846
|
-
BaseResource: BaseResource,
|
|
847
|
-
CreatorProperties: CreatorProperties,
|
|
848
|
-
Creator: Creator,
|
|
849
|
-
Sku: Sku,
|
|
850
|
-
SystemData: SystemData,
|
|
851
|
-
MapsAccountProperties: MapsAccountProperties,
|
|
852
|
-
MapsAccount: MapsAccount,
|
|
853
|
-
MapsAccountUpdateParameters: MapsAccountUpdateParameters,
|
|
854
|
-
CreatorUpdateParameters: CreatorUpdateParameters,
|
|
855
|
-
MapsKeySpecification: MapsKeySpecification,
|
|
856
|
-
MapsAccountKeys: MapsAccountKeys,
|
|
857
|
-
OperationDisplay: OperationDisplay,
|
|
858
|
-
Dimension: Dimension,
|
|
859
|
-
MetricSpecification: MetricSpecification,
|
|
860
|
-
ServiceSpecification: ServiceSpecification,
|
|
861
|
-
OperationDetail: OperationDetail,
|
|
862
|
-
Resource: Resource,
|
|
863
|
-
ProxyResource: ProxyResource,
|
|
864
|
-
AzureEntityResource: AzureEntityResource,
|
|
865
|
-
TrackedResource: TrackedResource,
|
|
866
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
867
|
-
ErrorDetail: ErrorDetail,
|
|
868
|
-
ErrorResponse: ErrorResponse,
|
|
869
|
-
MapsAccounts: MapsAccounts,
|
|
870
|
-
MapsOperations: MapsOperations,
|
|
871
|
-
CreatorList: CreatorList
|
|
872
|
-
});
|
|
873
|
-
|
|
874
|
-
/*
|
|
875
|
-
* Copyright (c) Microsoft Corporation.
|
|
876
|
-
* Licensed under the MIT License.
|
|
877
|
-
*
|
|
878
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
879
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
880
|
-
*/
|
|
881
|
-
|
|
882
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
883
|
-
__proto__: null,
|
|
884
|
-
AzureEntityResource: AzureEntityResource,
|
|
885
|
-
BaseResource: BaseResource,
|
|
886
|
-
Creator: Creator,
|
|
887
|
-
CreatorProperties: CreatorProperties,
|
|
888
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
889
|
-
ErrorDetail: ErrorDetail,
|
|
890
|
-
ErrorResponse: ErrorResponse,
|
|
891
|
-
MapsAccount: MapsAccount,
|
|
892
|
-
MapsAccountKeys: MapsAccountKeys,
|
|
893
|
-
MapsAccountProperties: MapsAccountProperties,
|
|
894
|
-
MapsAccounts: MapsAccounts,
|
|
895
|
-
MapsAccountUpdateParameters: MapsAccountUpdateParameters,
|
|
896
|
-
MapsKeySpecification: MapsKeySpecification,
|
|
897
|
-
ProxyResource: ProxyResource,
|
|
898
|
-
Resource: Resource,
|
|
899
|
-
Sku: Sku,
|
|
900
|
-
SystemData: SystemData,
|
|
901
|
-
TrackedResource: TrackedResource
|
|
902
|
-
});
|
|
903
|
-
|
|
904
|
-
/*
|
|
905
|
-
* Copyright (c) Microsoft Corporation.
|
|
906
|
-
* Licensed under the MIT License.
|
|
907
|
-
*
|
|
908
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
909
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
910
|
-
* regenerated.
|
|
911
|
-
*/
|
|
912
|
-
var acceptLanguage = {
|
|
913
|
-
parameterPath: "acceptLanguage",
|
|
914
|
-
mapper: {
|
|
915
|
-
serializedName: "accept-language",
|
|
916
|
-
defaultValue: "en-US",
|
|
917
|
-
type: {
|
|
918
|
-
name: "String"
|
|
919
|
-
}
|
|
920
|
-
}
|
|
921
|
-
};
|
|
922
|
-
var accountName = {
|
|
923
|
-
parameterPath: "accountName",
|
|
924
|
-
mapper: {
|
|
925
|
-
required: true,
|
|
926
|
-
serializedName: "accountName",
|
|
927
|
-
type: {
|
|
928
|
-
name: "String"
|
|
929
|
-
}
|
|
930
|
-
}
|
|
931
|
-
};
|
|
932
|
-
var apiVersion = {
|
|
933
|
-
parameterPath: "apiVersion",
|
|
934
|
-
mapper: {
|
|
935
|
-
required: true,
|
|
936
|
-
serializedName: "api-version",
|
|
937
|
-
constraints: {
|
|
938
|
-
MinLength: 1
|
|
939
|
-
},
|
|
940
|
-
type: {
|
|
941
|
-
name: "String"
|
|
942
|
-
}
|
|
943
|
-
}
|
|
944
|
-
};
|
|
945
|
-
var creatorName = {
|
|
946
|
-
parameterPath: "creatorName",
|
|
947
|
-
mapper: {
|
|
948
|
-
required: true,
|
|
949
|
-
serializedName: "creatorName",
|
|
950
|
-
type: {
|
|
951
|
-
name: "String"
|
|
952
|
-
}
|
|
953
|
-
}
|
|
954
|
-
};
|
|
955
|
-
var nextPageLink = {
|
|
956
|
-
parameterPath: "nextPageLink",
|
|
957
|
-
mapper: {
|
|
958
|
-
required: true,
|
|
959
|
-
serializedName: "nextLink",
|
|
960
|
-
type: {
|
|
961
|
-
name: "String"
|
|
962
|
-
}
|
|
963
|
-
},
|
|
964
|
-
skipEncoding: true
|
|
965
|
-
};
|
|
966
|
-
var resourceGroupName = {
|
|
967
|
-
parameterPath: "resourceGroupName",
|
|
968
|
-
mapper: {
|
|
969
|
-
required: true,
|
|
970
|
-
serializedName: "resourceGroupName",
|
|
971
|
-
constraints: {
|
|
972
|
-
MaxLength: 90,
|
|
973
|
-
MinLength: 1,
|
|
974
|
-
Pattern: /^[-\w\._\(\)]+$/
|
|
975
|
-
},
|
|
976
|
-
type: {
|
|
977
|
-
name: "String"
|
|
978
|
-
}
|
|
979
|
-
}
|
|
980
|
-
};
|
|
981
|
-
var subscriptionId = {
|
|
982
|
-
parameterPath: "subscriptionId",
|
|
983
|
-
mapper: {
|
|
984
|
-
required: true,
|
|
985
|
-
serializedName: "subscriptionId",
|
|
986
|
-
constraints: {
|
|
987
|
-
MinLength: 1
|
|
988
|
-
},
|
|
989
|
-
type: {
|
|
990
|
-
name: "String"
|
|
991
|
-
}
|
|
992
|
-
}
|
|
993
|
-
};
|
|
994
|
-
|
|
995
|
-
/*
|
|
996
|
-
* Copyright (c) Microsoft Corporation.
|
|
997
|
-
* Licensed under the MIT License.
|
|
998
|
-
*
|
|
999
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1000
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1001
|
-
* regenerated.
|
|
1002
|
-
*/
|
|
1003
|
-
/** Class representing a Accounts. */
|
|
1004
|
-
var Accounts = /** @class */ (function () {
|
|
1005
|
-
/**
|
|
1006
|
-
* Create a Accounts.
|
|
1007
|
-
* @param {AzureMapsManagementClientContext} client Reference to the service client.
|
|
1008
|
-
*/
|
|
1009
|
-
function Accounts(client) {
|
|
1010
|
-
this.client = client;
|
|
1011
|
-
}
|
|
1012
|
-
Accounts.prototype.createOrUpdate = function (resourceGroupName, accountName, mapsAccount, options, callback) {
|
|
1013
|
-
return this.client.sendOperationRequest({
|
|
1014
|
-
resourceGroupName: resourceGroupName,
|
|
1015
|
-
accountName: accountName,
|
|
1016
|
-
mapsAccount: mapsAccount,
|
|
1017
|
-
options: options
|
|
1018
|
-
}, createOrUpdateOperationSpec, callback);
|
|
1019
|
-
};
|
|
1020
|
-
Accounts.prototype.update = function (resourceGroupName, accountName, mapsAccountUpdateParameters, options, callback) {
|
|
1021
|
-
return this.client.sendOperationRequest({
|
|
1022
|
-
resourceGroupName: resourceGroupName,
|
|
1023
|
-
accountName: accountName,
|
|
1024
|
-
mapsAccountUpdateParameters: mapsAccountUpdateParameters,
|
|
1025
|
-
options: options
|
|
1026
|
-
}, updateOperationSpec, callback);
|
|
1027
|
-
};
|
|
1028
|
-
Accounts.prototype.deleteMethod = function (resourceGroupName, accountName, options, callback) {
|
|
1029
|
-
return this.client.sendOperationRequest({
|
|
1030
|
-
resourceGroupName: resourceGroupName,
|
|
1031
|
-
accountName: accountName,
|
|
1032
|
-
options: options
|
|
1033
|
-
}, deleteMethodOperationSpec, callback);
|
|
1034
|
-
};
|
|
1035
|
-
Accounts.prototype.get = function (resourceGroupName, accountName, options, callback) {
|
|
1036
|
-
return this.client.sendOperationRequest({
|
|
1037
|
-
resourceGroupName: resourceGroupName,
|
|
1038
|
-
accountName: accountName,
|
|
1039
|
-
options: options
|
|
1040
|
-
}, getOperationSpec, callback);
|
|
1041
|
-
};
|
|
1042
|
-
Accounts.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
|
|
1043
|
-
return this.client.sendOperationRequest({
|
|
1044
|
-
resourceGroupName: resourceGroupName,
|
|
1045
|
-
options: options
|
|
1046
|
-
}, listByResourceGroupOperationSpec, callback);
|
|
1047
|
-
};
|
|
1048
|
-
Accounts.prototype.listBySubscription = function (options, callback) {
|
|
1049
|
-
return this.client.sendOperationRequest({
|
|
1050
|
-
options: options
|
|
1051
|
-
}, listBySubscriptionOperationSpec, callback);
|
|
1052
|
-
};
|
|
1053
|
-
Accounts.prototype.listKeys = function (resourceGroupName, accountName, options, callback) {
|
|
1054
|
-
return this.client.sendOperationRequest({
|
|
1055
|
-
resourceGroupName: resourceGroupName,
|
|
1056
|
-
accountName: accountName,
|
|
1057
|
-
options: options
|
|
1058
|
-
}, listKeysOperationSpec, callback);
|
|
1059
|
-
};
|
|
1060
|
-
Accounts.prototype.regenerateKeys = function (resourceGroupName, accountName, keySpecification, options, callback) {
|
|
1061
|
-
return this.client.sendOperationRequest({
|
|
1062
|
-
resourceGroupName: resourceGroupName,
|
|
1063
|
-
accountName: accountName,
|
|
1064
|
-
keySpecification: keySpecification,
|
|
1065
|
-
options: options
|
|
1066
|
-
}, regenerateKeysOperationSpec, callback);
|
|
1067
|
-
};
|
|
1068
|
-
Accounts.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
|
|
1069
|
-
return this.client.sendOperationRequest({
|
|
1070
|
-
nextPageLink: nextPageLink,
|
|
1071
|
-
options: options
|
|
1072
|
-
}, listByResourceGroupNextOperationSpec, callback);
|
|
1073
|
-
};
|
|
1074
|
-
Accounts.prototype.listBySubscriptionNext = function (nextPageLink, options, callback) {
|
|
1075
|
-
return this.client.sendOperationRequest({
|
|
1076
|
-
nextPageLink: nextPageLink,
|
|
1077
|
-
options: options
|
|
1078
|
-
}, listBySubscriptionNextOperationSpec, callback);
|
|
1079
|
-
};
|
|
1080
|
-
return Accounts;
|
|
1081
|
-
}());
|
|
1082
|
-
// Operation Specifications
|
|
1083
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
1084
|
-
var createOrUpdateOperationSpec = {
|
|
1085
|
-
httpMethod: "PUT",
|
|
1086
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}",
|
|
1087
|
-
urlParameters: [subscriptionId, resourceGroupName, accountName],
|
|
1088
|
-
queryParameters: [apiVersion],
|
|
1089
|
-
headerParameters: [acceptLanguage],
|
|
1090
|
-
requestBody: {
|
|
1091
|
-
parameterPath: "mapsAccount",
|
|
1092
|
-
mapper: __assign(__assign({}, MapsAccount), { required: true })
|
|
1093
|
-
},
|
|
1094
|
-
responses: {
|
|
1095
|
-
200: {
|
|
1096
|
-
bodyMapper: MapsAccount
|
|
1097
|
-
},
|
|
1098
|
-
201: {
|
|
1099
|
-
bodyMapper: MapsAccount
|
|
1100
|
-
},
|
|
1101
|
-
default: {
|
|
1102
|
-
bodyMapper: ErrorResponse
|
|
1103
|
-
}
|
|
1104
|
-
},
|
|
1105
|
-
serializer: serializer
|
|
1106
|
-
};
|
|
1107
|
-
var updateOperationSpec = {
|
|
1108
|
-
httpMethod: "PATCH",
|
|
1109
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}",
|
|
1110
|
-
urlParameters: [subscriptionId, resourceGroupName, accountName],
|
|
1111
|
-
queryParameters: [apiVersion],
|
|
1112
|
-
headerParameters: [acceptLanguage],
|
|
1113
|
-
requestBody: {
|
|
1114
|
-
parameterPath: "mapsAccountUpdateParameters",
|
|
1115
|
-
mapper: __assign(__assign({}, MapsAccountUpdateParameters), { required: true })
|
|
1116
|
-
},
|
|
1117
|
-
responses: {
|
|
1118
|
-
200: {
|
|
1119
|
-
bodyMapper: MapsAccount
|
|
1120
|
-
},
|
|
1121
|
-
default: {
|
|
1122
|
-
bodyMapper: ErrorResponse
|
|
1123
|
-
}
|
|
1124
|
-
},
|
|
1125
|
-
serializer: serializer
|
|
1126
|
-
};
|
|
1127
|
-
var deleteMethodOperationSpec = {
|
|
1128
|
-
httpMethod: "DELETE",
|
|
1129
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}",
|
|
1130
|
-
urlParameters: [subscriptionId, resourceGroupName, accountName],
|
|
1131
|
-
queryParameters: [apiVersion],
|
|
1132
|
-
headerParameters: [acceptLanguage],
|
|
1133
|
-
responses: {
|
|
1134
|
-
200: {},
|
|
1135
|
-
204: {},
|
|
1136
|
-
default: {
|
|
1137
|
-
bodyMapper: ErrorResponse
|
|
1138
|
-
}
|
|
1139
|
-
},
|
|
1140
|
-
serializer: serializer
|
|
1141
|
-
};
|
|
1142
|
-
var getOperationSpec = {
|
|
1143
|
-
httpMethod: "GET",
|
|
1144
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}",
|
|
1145
|
-
urlParameters: [subscriptionId, resourceGroupName, accountName],
|
|
1146
|
-
queryParameters: [apiVersion],
|
|
1147
|
-
headerParameters: [acceptLanguage],
|
|
1148
|
-
responses: {
|
|
1149
|
-
200: {
|
|
1150
|
-
bodyMapper: MapsAccount
|
|
1151
|
-
},
|
|
1152
|
-
default: {
|
|
1153
|
-
bodyMapper: ErrorResponse
|
|
1154
|
-
}
|
|
1155
|
-
},
|
|
1156
|
-
serializer: serializer
|
|
1157
|
-
};
|
|
1158
|
-
var listByResourceGroupOperationSpec = {
|
|
1159
|
-
httpMethod: "GET",
|
|
1160
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts",
|
|
1161
|
-
urlParameters: [subscriptionId, resourceGroupName],
|
|
1162
|
-
queryParameters: [apiVersion],
|
|
1163
|
-
headerParameters: [acceptLanguage],
|
|
1164
|
-
responses: {
|
|
1165
|
-
200: {
|
|
1166
|
-
bodyMapper: MapsAccounts
|
|
1167
|
-
},
|
|
1168
|
-
default: {
|
|
1169
|
-
bodyMapper: ErrorResponse
|
|
1170
|
-
}
|
|
1171
|
-
},
|
|
1172
|
-
serializer: serializer
|
|
1173
|
-
};
|
|
1174
|
-
var listBySubscriptionOperationSpec = {
|
|
1175
|
-
httpMethod: "GET",
|
|
1176
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Maps/accounts",
|
|
1177
|
-
urlParameters: [subscriptionId],
|
|
1178
|
-
queryParameters: [apiVersion],
|
|
1179
|
-
headerParameters: [acceptLanguage],
|
|
1180
|
-
responses: {
|
|
1181
|
-
200: {
|
|
1182
|
-
bodyMapper: MapsAccounts
|
|
1183
|
-
},
|
|
1184
|
-
default: {
|
|
1185
|
-
bodyMapper: ErrorResponse
|
|
1186
|
-
}
|
|
1187
|
-
},
|
|
1188
|
-
serializer: serializer
|
|
1189
|
-
};
|
|
1190
|
-
var listKeysOperationSpec = {
|
|
1191
|
-
httpMethod: "POST",
|
|
1192
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/listKeys",
|
|
1193
|
-
urlParameters: [subscriptionId, resourceGroupName, accountName],
|
|
1194
|
-
queryParameters: [apiVersion],
|
|
1195
|
-
headerParameters: [acceptLanguage],
|
|
1196
|
-
responses: {
|
|
1197
|
-
200: {
|
|
1198
|
-
bodyMapper: MapsAccountKeys
|
|
1199
|
-
},
|
|
1200
|
-
default: {
|
|
1201
|
-
bodyMapper: ErrorResponse
|
|
1202
|
-
}
|
|
1203
|
-
},
|
|
1204
|
-
serializer: serializer
|
|
1205
|
-
};
|
|
1206
|
-
var regenerateKeysOperationSpec = {
|
|
1207
|
-
httpMethod: "POST",
|
|
1208
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/regenerateKey",
|
|
1209
|
-
urlParameters: [subscriptionId, resourceGroupName, accountName],
|
|
1210
|
-
queryParameters: [apiVersion],
|
|
1211
|
-
headerParameters: [acceptLanguage],
|
|
1212
|
-
requestBody: {
|
|
1213
|
-
parameterPath: "keySpecification",
|
|
1214
|
-
mapper: __assign(__assign({}, MapsKeySpecification), { required: true })
|
|
1215
|
-
},
|
|
1216
|
-
responses: {
|
|
1217
|
-
200: {
|
|
1218
|
-
bodyMapper: MapsAccountKeys
|
|
1219
|
-
},
|
|
1220
|
-
default: {
|
|
1221
|
-
bodyMapper: ErrorResponse
|
|
1222
|
-
}
|
|
1223
|
-
},
|
|
1224
|
-
serializer: serializer
|
|
1225
|
-
};
|
|
1226
|
-
var listByResourceGroupNextOperationSpec = {
|
|
1227
|
-
httpMethod: "GET",
|
|
1228
|
-
baseUrl: "https://management.azure.com",
|
|
1229
|
-
path: "{nextLink}",
|
|
1230
|
-
urlParameters: [nextPageLink],
|
|
1231
|
-
queryParameters: [apiVersion],
|
|
1232
|
-
headerParameters: [acceptLanguage],
|
|
1233
|
-
responses: {
|
|
1234
|
-
200: {
|
|
1235
|
-
bodyMapper: MapsAccounts
|
|
1236
|
-
},
|
|
1237
|
-
default: {
|
|
1238
|
-
bodyMapper: ErrorResponse
|
|
1239
|
-
}
|
|
1240
|
-
},
|
|
1241
|
-
serializer: serializer
|
|
1242
|
-
};
|
|
1243
|
-
var listBySubscriptionNextOperationSpec = {
|
|
1244
|
-
httpMethod: "GET",
|
|
1245
|
-
baseUrl: "https://management.azure.com",
|
|
1246
|
-
path: "{nextLink}",
|
|
1247
|
-
urlParameters: [nextPageLink],
|
|
1248
|
-
queryParameters: [apiVersion],
|
|
1249
|
-
headerParameters: [acceptLanguage],
|
|
1250
|
-
responses: {
|
|
1251
|
-
200: {
|
|
1252
|
-
bodyMapper: MapsAccounts
|
|
1253
|
-
},
|
|
1254
|
-
default: {
|
|
1255
|
-
bodyMapper: ErrorResponse
|
|
1256
|
-
}
|
|
1257
|
-
},
|
|
1258
|
-
serializer: serializer
|
|
1259
|
-
};
|
|
1260
|
-
|
|
1261
|
-
/*
|
|
1262
|
-
* Copyright (c) Microsoft Corporation.
|
|
1263
|
-
* Licensed under the MIT License.
|
|
1264
|
-
*
|
|
1265
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1266
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1267
|
-
*/
|
|
1268
|
-
|
|
1269
|
-
var Mappers$1 = /*#__PURE__*/Object.freeze({
|
|
1270
|
-
__proto__: null,
|
|
1271
|
-
Dimension: Dimension,
|
|
1272
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
1273
|
-
ErrorDetail: ErrorDetail,
|
|
1274
|
-
ErrorResponse: ErrorResponse,
|
|
1275
|
-
MapsOperations: MapsOperations,
|
|
1276
|
-
MetricSpecification: MetricSpecification,
|
|
1277
|
-
OperationDetail: OperationDetail,
|
|
1278
|
-
OperationDisplay: OperationDisplay,
|
|
1279
|
-
ServiceSpecification: ServiceSpecification
|
|
1280
|
-
});
|
|
1281
|
-
|
|
1282
|
-
/*
|
|
1283
|
-
* Copyright (c) Microsoft Corporation.
|
|
1284
|
-
* Licensed under the MIT License.
|
|
1285
|
-
*
|
|
1286
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1287
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1288
|
-
* regenerated.
|
|
1289
|
-
*/
|
|
1290
|
-
/** Class representing a Maps. */
|
|
1291
|
-
var Maps = /** @class */ (function () {
|
|
1292
|
-
/**
|
|
1293
|
-
* Create a Maps.
|
|
1294
|
-
* @param {AzureMapsManagementClientContext} client Reference to the service client.
|
|
1295
|
-
*/
|
|
1296
|
-
function Maps(client) {
|
|
1297
|
-
this.client = client;
|
|
1298
|
-
}
|
|
1299
|
-
Maps.prototype.listOperations = function (options, callback) {
|
|
1300
|
-
return this.client.sendOperationRequest({
|
|
1301
|
-
options: options
|
|
1302
|
-
}, listOperationsOperationSpec, callback);
|
|
1303
|
-
};
|
|
1304
|
-
Maps.prototype.listOperationsNext = function (nextPageLink, options, callback) {
|
|
1305
|
-
return this.client.sendOperationRequest({
|
|
1306
|
-
nextPageLink: nextPageLink,
|
|
1307
|
-
options: options
|
|
1308
|
-
}, listOperationsNextOperationSpec, callback);
|
|
1309
|
-
};
|
|
1310
|
-
return Maps;
|
|
1311
|
-
}());
|
|
1312
|
-
// Operation Specifications
|
|
1313
|
-
var serializer$1 = new msRest.Serializer(Mappers$1);
|
|
1314
|
-
var listOperationsOperationSpec = {
|
|
1315
|
-
httpMethod: "GET",
|
|
1316
|
-
path: "providers/Microsoft.Maps/operations",
|
|
1317
|
-
queryParameters: [apiVersion],
|
|
1318
|
-
headerParameters: [acceptLanguage],
|
|
1319
|
-
responses: {
|
|
1320
|
-
200: {
|
|
1321
|
-
bodyMapper: MapsOperations
|
|
1322
|
-
},
|
|
1323
|
-
default: {
|
|
1324
|
-
bodyMapper: ErrorResponse
|
|
1325
|
-
}
|
|
1326
|
-
},
|
|
1327
|
-
serializer: serializer$1
|
|
1328
|
-
};
|
|
1329
|
-
var listOperationsNextOperationSpec = {
|
|
1330
|
-
httpMethod: "GET",
|
|
1331
|
-
baseUrl: "https://management.azure.com",
|
|
1332
|
-
path: "{nextLink}",
|
|
1333
|
-
urlParameters: [nextPageLink],
|
|
1334
|
-
queryParameters: [apiVersion],
|
|
1335
|
-
headerParameters: [acceptLanguage],
|
|
1336
|
-
responses: {
|
|
1337
|
-
200: {
|
|
1338
|
-
bodyMapper: MapsOperations
|
|
1339
|
-
},
|
|
1340
|
-
default: {
|
|
1341
|
-
bodyMapper: ErrorResponse
|
|
1342
|
-
}
|
|
1343
|
-
},
|
|
1344
|
-
serializer: serializer$1
|
|
1345
|
-
};
|
|
1346
|
-
|
|
1347
|
-
/*
|
|
1348
|
-
* Copyright (c) Microsoft Corporation.
|
|
1349
|
-
* Licensed under the MIT License.
|
|
1350
|
-
*
|
|
1351
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1352
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1353
|
-
*/
|
|
1354
|
-
|
|
1355
|
-
var Mappers$2 = /*#__PURE__*/Object.freeze({
|
|
1356
|
-
__proto__: null,
|
|
1357
|
-
AzureEntityResource: AzureEntityResource,
|
|
1358
|
-
BaseResource: BaseResource,
|
|
1359
|
-
Creator: Creator,
|
|
1360
|
-
CreatorList: CreatorList,
|
|
1361
|
-
CreatorProperties: CreatorProperties,
|
|
1362
|
-
CreatorUpdateParameters: CreatorUpdateParameters,
|
|
1363
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
1364
|
-
ErrorDetail: ErrorDetail,
|
|
1365
|
-
ErrorResponse: ErrorResponse,
|
|
1366
|
-
MapsAccount: MapsAccount,
|
|
1367
|
-
MapsAccountProperties: MapsAccountProperties,
|
|
1368
|
-
ProxyResource: ProxyResource,
|
|
1369
|
-
Resource: Resource,
|
|
1370
|
-
Sku: Sku,
|
|
1371
|
-
SystemData: SystemData,
|
|
1372
|
-
TrackedResource: TrackedResource
|
|
1373
|
-
});
|
|
1374
|
-
|
|
1375
|
-
/*
|
|
1376
|
-
* Copyright (c) Microsoft Corporation.
|
|
1377
|
-
* Licensed under the MIT License.
|
|
1378
|
-
*
|
|
1379
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1380
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1381
|
-
* regenerated.
|
|
1382
|
-
*/
|
|
1383
|
-
/** Class representing a Creators. */
|
|
1384
|
-
var Creators = /** @class */ (function () {
|
|
1385
|
-
/**
|
|
1386
|
-
* Create a Creators.
|
|
1387
|
-
* @param {AzureMapsManagementClientContext} client Reference to the service client.
|
|
1388
|
-
*/
|
|
1389
|
-
function Creators(client) {
|
|
1390
|
-
this.client = client;
|
|
1391
|
-
}
|
|
1392
|
-
Creators.prototype.listByAccount = function (resourceGroupName, accountName, options, callback) {
|
|
1393
|
-
return this.client.sendOperationRequest({
|
|
1394
|
-
resourceGroupName: resourceGroupName,
|
|
1395
|
-
accountName: accountName,
|
|
1396
|
-
options: options
|
|
1397
|
-
}, listByAccountOperationSpec, callback);
|
|
1398
|
-
};
|
|
1399
|
-
Creators.prototype.createOrUpdate = function (resourceGroupName, accountName, creatorName, creatorResource, options, callback) {
|
|
1400
|
-
return this.client.sendOperationRequest({
|
|
1401
|
-
resourceGroupName: resourceGroupName,
|
|
1402
|
-
accountName: accountName,
|
|
1403
|
-
creatorName: creatorName,
|
|
1404
|
-
creatorResource: creatorResource,
|
|
1405
|
-
options: options
|
|
1406
|
-
}, createOrUpdateOperationSpec$1, callback);
|
|
1407
|
-
};
|
|
1408
|
-
Creators.prototype.update = function (resourceGroupName, accountName, creatorName, creatorUpdateParameters, options, callback) {
|
|
1409
|
-
return this.client.sendOperationRequest({
|
|
1410
|
-
resourceGroupName: resourceGroupName,
|
|
1411
|
-
accountName: accountName,
|
|
1412
|
-
creatorName: creatorName,
|
|
1413
|
-
creatorUpdateParameters: creatorUpdateParameters,
|
|
1414
|
-
options: options
|
|
1415
|
-
}, updateOperationSpec$1, callback);
|
|
1416
|
-
};
|
|
1417
|
-
Creators.prototype.deleteMethod = function (resourceGroupName, accountName, creatorName, options, callback) {
|
|
1418
|
-
return this.client.sendOperationRequest({
|
|
1419
|
-
resourceGroupName: resourceGroupName,
|
|
1420
|
-
accountName: accountName,
|
|
1421
|
-
creatorName: creatorName,
|
|
1422
|
-
options: options
|
|
1423
|
-
}, deleteMethodOperationSpec$1, callback);
|
|
1424
|
-
};
|
|
1425
|
-
Creators.prototype.get = function (resourceGroupName, accountName, creatorName, options, callback) {
|
|
1426
|
-
return this.client.sendOperationRequest({
|
|
1427
|
-
resourceGroupName: resourceGroupName,
|
|
1428
|
-
accountName: accountName,
|
|
1429
|
-
creatorName: creatorName,
|
|
1430
|
-
options: options
|
|
1431
|
-
}, getOperationSpec$1, callback);
|
|
1432
|
-
};
|
|
1433
|
-
Creators.prototype.listByAccountNext = function (nextPageLink, options, callback) {
|
|
1434
|
-
return this.client.sendOperationRequest({
|
|
1435
|
-
nextPageLink: nextPageLink,
|
|
1436
|
-
options: options
|
|
1437
|
-
}, listByAccountNextOperationSpec, callback);
|
|
1438
|
-
};
|
|
1439
|
-
return Creators;
|
|
1440
|
-
}());
|
|
1441
|
-
// Operation Specifications
|
|
1442
|
-
var serializer$2 = new msRest.Serializer(Mappers$2);
|
|
1443
|
-
var listByAccountOperationSpec = {
|
|
1444
|
-
httpMethod: "GET",
|
|
1445
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/creators",
|
|
1446
|
-
urlParameters: [subscriptionId, resourceGroupName, accountName],
|
|
1447
|
-
queryParameters: [apiVersion],
|
|
1448
|
-
headerParameters: [acceptLanguage],
|
|
1449
|
-
responses: {
|
|
1450
|
-
200: {
|
|
1451
|
-
bodyMapper: CreatorList
|
|
1452
|
-
},
|
|
1453
|
-
default: {
|
|
1454
|
-
bodyMapper: ErrorResponse
|
|
1455
|
-
}
|
|
1456
|
-
},
|
|
1457
|
-
serializer: serializer$2
|
|
1458
|
-
};
|
|
1459
|
-
var createOrUpdateOperationSpec$1 = {
|
|
1460
|
-
httpMethod: "PUT",
|
|
1461
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/creators/{creatorName}",
|
|
1462
|
-
urlParameters: [
|
|
1463
|
-
subscriptionId,
|
|
1464
|
-
resourceGroupName,
|
|
1465
|
-
accountName,
|
|
1466
|
-
creatorName
|
|
1467
|
-
],
|
|
1468
|
-
queryParameters: [apiVersion],
|
|
1469
|
-
headerParameters: [acceptLanguage],
|
|
1470
|
-
requestBody: {
|
|
1471
|
-
parameterPath: "creatorResource",
|
|
1472
|
-
mapper: __assign(__assign({}, Creator), { required: true })
|
|
1473
|
-
},
|
|
1474
|
-
responses: {
|
|
1475
|
-
200: {
|
|
1476
|
-
bodyMapper: Creator
|
|
1477
|
-
},
|
|
1478
|
-
201: {
|
|
1479
|
-
bodyMapper: Creator
|
|
1480
|
-
},
|
|
1481
|
-
default: {
|
|
1482
|
-
bodyMapper: ErrorResponse
|
|
1483
|
-
}
|
|
1484
|
-
},
|
|
1485
|
-
serializer: serializer$2
|
|
1486
|
-
};
|
|
1487
|
-
var updateOperationSpec$1 = {
|
|
1488
|
-
httpMethod: "PATCH",
|
|
1489
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/creators/{creatorName}",
|
|
1490
|
-
urlParameters: [
|
|
1491
|
-
subscriptionId,
|
|
1492
|
-
resourceGroupName,
|
|
1493
|
-
accountName,
|
|
1494
|
-
creatorName
|
|
1495
|
-
],
|
|
1496
|
-
queryParameters: [apiVersion],
|
|
1497
|
-
headerParameters: [acceptLanguage],
|
|
1498
|
-
requestBody: {
|
|
1499
|
-
parameterPath: "creatorUpdateParameters",
|
|
1500
|
-
mapper: __assign(__assign({}, CreatorUpdateParameters), { required: true })
|
|
1501
|
-
},
|
|
1502
|
-
responses: {
|
|
1503
|
-
200: {
|
|
1504
|
-
bodyMapper: Creator
|
|
1505
|
-
},
|
|
1506
|
-
default: {
|
|
1507
|
-
bodyMapper: ErrorResponse
|
|
1508
|
-
}
|
|
1509
|
-
},
|
|
1510
|
-
serializer: serializer$2
|
|
1511
|
-
};
|
|
1512
|
-
var deleteMethodOperationSpec$1 = {
|
|
1513
|
-
httpMethod: "DELETE",
|
|
1514
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/creators/{creatorName}",
|
|
1515
|
-
urlParameters: [
|
|
1516
|
-
subscriptionId,
|
|
1517
|
-
resourceGroupName,
|
|
1518
|
-
accountName,
|
|
1519
|
-
creatorName
|
|
1520
|
-
],
|
|
1521
|
-
queryParameters: [apiVersion],
|
|
1522
|
-
headerParameters: [acceptLanguage],
|
|
1523
|
-
responses: {
|
|
1524
|
-
200: {},
|
|
1525
|
-
204: {},
|
|
1526
|
-
default: {
|
|
1527
|
-
bodyMapper: ErrorResponse
|
|
1528
|
-
}
|
|
1529
|
-
},
|
|
1530
|
-
serializer: serializer$2
|
|
1531
|
-
};
|
|
1532
|
-
var getOperationSpec$1 = {
|
|
1533
|
-
httpMethod: "GET",
|
|
1534
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/creators/{creatorName}",
|
|
1535
|
-
urlParameters: [
|
|
1536
|
-
subscriptionId,
|
|
1537
|
-
resourceGroupName,
|
|
1538
|
-
accountName,
|
|
1539
|
-
creatorName
|
|
1540
|
-
],
|
|
1541
|
-
queryParameters: [apiVersion],
|
|
1542
|
-
headerParameters: [acceptLanguage],
|
|
1543
|
-
responses: {
|
|
1544
|
-
200: {
|
|
1545
|
-
bodyMapper: Creator
|
|
1546
|
-
},
|
|
1547
|
-
default: {
|
|
1548
|
-
bodyMapper: ErrorResponse
|
|
1549
|
-
}
|
|
1550
|
-
},
|
|
1551
|
-
serializer: serializer$2
|
|
1552
|
-
};
|
|
1553
|
-
var listByAccountNextOperationSpec = {
|
|
1554
|
-
httpMethod: "GET",
|
|
1555
|
-
baseUrl: "https://management.azure.com",
|
|
1556
|
-
path: "{nextLink}",
|
|
1557
|
-
urlParameters: [nextPageLink],
|
|
1558
|
-
queryParameters: [apiVersion],
|
|
1559
|
-
headerParameters: [acceptLanguage],
|
|
1560
|
-
responses: {
|
|
1561
|
-
200: {
|
|
1562
|
-
bodyMapper: CreatorList
|
|
1563
|
-
},
|
|
1564
|
-
default: {
|
|
1565
|
-
bodyMapper: ErrorResponse
|
|
1566
|
-
}
|
|
1567
|
-
},
|
|
1568
|
-
serializer: serializer$2
|
|
1569
|
-
};
|
|
1570
|
-
|
|
1571
|
-
/*
|
|
1572
|
-
* Copyright (c) Microsoft Corporation.
|
|
1573
|
-
* Licensed under the MIT License.
|
|
1574
|
-
*
|
|
1575
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1576
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1577
|
-
* regenerated.
|
|
1578
|
-
*/
|
|
1579
|
-
var packageName = "@azure/arm-maps";
|
|
1580
|
-
var packageVersion = "2.1.1";
|
|
1581
|
-
var AzureMapsManagementClientContext = /** @class */ (function (_super) {
|
|
1582
|
-
__extends(AzureMapsManagementClientContext, _super);
|
|
1583
|
-
/**
|
|
1584
|
-
* Initializes a new instance of the AzureMapsManagementClient class.
|
|
1585
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
1586
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
1587
|
-
* more information about these credentials, see
|
|
1588
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
1589
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
1590
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
1591
|
-
* @param subscriptionId The ID of the target subscription.
|
|
1592
|
-
* @param [options] The parameter options
|
|
1593
|
-
*/
|
|
1594
|
-
function AzureMapsManagementClientContext(credentials, subscriptionId, options) {
|
|
1595
|
-
var _this = this;
|
|
1596
|
-
if (credentials == undefined) {
|
|
1597
|
-
throw new Error("'credentials' cannot be null.");
|
|
1598
|
-
}
|
|
1599
|
-
if (subscriptionId == undefined) {
|
|
1600
|
-
throw new Error("'subscriptionId' cannot be null.");
|
|
1601
|
-
}
|
|
1602
|
-
if (!options) {
|
|
1603
|
-
options = {};
|
|
1604
|
-
}
|
|
1605
|
-
if (!options.userAgent) {
|
|
1606
|
-
var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
1607
|
-
options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
|
|
1608
|
-
}
|
|
1609
|
-
_this = _super.call(this, credentials, options) || this;
|
|
1610
|
-
_this.apiVersion = "2021-02-01";
|
|
1611
|
-
_this.acceptLanguage = "en-US";
|
|
1612
|
-
_this.longRunningOperationRetryTimeout = 30;
|
|
1613
|
-
_this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
|
|
1614
|
-
_this.requestContentType = "application/json; charset=utf-8";
|
|
1615
|
-
_this.credentials = credentials;
|
|
1616
|
-
_this.subscriptionId = subscriptionId;
|
|
1617
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
1618
|
-
_this.acceptLanguage = options.acceptLanguage;
|
|
1619
|
-
}
|
|
1620
|
-
if (options.longRunningOperationRetryTimeout !== null &&
|
|
1621
|
-
options.longRunningOperationRetryTimeout !== undefined) {
|
|
1622
|
-
_this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
1623
|
-
}
|
|
1624
|
-
return _this;
|
|
1625
|
-
}
|
|
1626
|
-
return AzureMapsManagementClientContext;
|
|
1627
|
-
}(msRestAzure.AzureServiceClient));
|
|
1628
|
-
|
|
1629
|
-
/*
|
|
1630
|
-
* Copyright (c) Microsoft Corporation.
|
|
1631
|
-
* Licensed under the MIT License.
|
|
1632
|
-
*
|
|
1633
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1634
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1635
|
-
* regenerated.
|
|
1636
|
-
*/
|
|
1637
|
-
var AzureMapsManagementClient = /** @class */ (function (_super) {
|
|
1638
|
-
__extends(AzureMapsManagementClient, _super);
|
|
1639
|
-
/**
|
|
1640
|
-
* Initializes a new instance of the AzureMapsManagementClient class.
|
|
1641
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
1642
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
1643
|
-
* more information about these credentials, see
|
|
1644
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
1645
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
1646
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
1647
|
-
* @param subscriptionId The ID of the target subscription.
|
|
1648
|
-
* @param [options] The parameter options
|
|
1649
|
-
*/
|
|
1650
|
-
function AzureMapsManagementClient(credentials, subscriptionId, options) {
|
|
1651
|
-
var _this = _super.call(this, credentials, subscriptionId, options) || this;
|
|
1652
|
-
_this.accounts = new Accounts(_this);
|
|
1653
|
-
_this.maps = new Maps(_this);
|
|
1654
|
-
_this.creators = new Creators(_this);
|
|
1655
|
-
return _this;
|
|
1656
|
-
}
|
|
1657
|
-
return AzureMapsManagementClient;
|
|
1658
|
-
}(AzureMapsManagementClientContext));
|
|
1659
|
-
|
|
1660
|
-
exports.Accounts = Accounts;
|
|
1661
|
-
exports.AzureMapsManagementClient = AzureMapsManagementClient;
|
|
1662
|
-
exports.AzureMapsManagementClientContext = AzureMapsManagementClientContext;
|
|
1663
|
-
exports.AzureMapsManagementMappers = mappers;
|
|
1664
|
-
exports.AzureMapsManagementModels = index;
|
|
1665
|
-
exports.Creators = Creators;
|
|
1666
|
-
exports.Maps = Maps;
|
|
1667
|
-
|
|
1668
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1669
|
-
|
|
1670
|
-
})));
|
|
1671
|
-
//# sourceMappingURL=arm-maps.js.map
|