@azure/arm-maps 1.1.0 → 3.0.0

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.
Files changed (127) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/LICENSE.txt +1 -1
  4. package/README.md +75 -77
  5. package/dist/index.js +1892 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/index.min.js +1 -0
  8. package/dist/index.min.js.map +1 -0
  9. package/dist-esm/src/azureMapsManagementClient.d.ts +20 -0
  10. package/dist-esm/src/azureMapsManagementClient.d.ts.map +1 -0
  11. package/dist-esm/src/azureMapsManagementClient.js +53 -0
  12. package/dist-esm/src/azureMapsManagementClient.js.map +1 -0
  13. package/dist-esm/src/index.d.ts +5 -0
  14. package/dist-esm/src/index.d.ts.map +1 -0
  15. package/dist-esm/src/index.js +12 -0
  16. package/dist-esm/src/index.js.map +1 -0
  17. package/dist-esm/src/models/index.d.ts +480 -0
  18. package/dist-esm/src/models/index.d.ts.map +1 -0
  19. package/dist-esm/src/models/index.js +35 -0
  20. package/dist-esm/src/models/index.js.map +1 -0
  21. package/dist-esm/src/models/mappers.d.ts +25 -0
  22. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  23. package/dist-esm/src/models/mappers.js +732 -0
  24. package/dist-esm/src/models/mappers.js.map +1 -0
  25. package/dist-esm/src/models/parameters.d.ts +16 -0
  26. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  27. package/dist-esm/src/models/parameters.js +131 -0
  28. package/dist-esm/src/models/parameters.js.map +1 -0
  29. package/dist-esm/src/operations/accounts.d.ts +103 -0
  30. package/dist-esm/src/operations/accounts.d.ts.map +1 -0
  31. package/dist-esm/src/operations/accounts.js +427 -0
  32. package/dist-esm/src/operations/accounts.js.map +1 -0
  33. package/dist-esm/src/operations/creators.d.ts +74 -0
  34. package/dist-esm/src/operations/creators.d.ts.map +1 -0
  35. package/dist-esm/src/operations/creators.js +281 -0
  36. package/dist-esm/src/operations/creators.js.map +1 -0
  37. package/dist-esm/src/operations/index.d.ts +4 -0
  38. package/dist-esm/src/operations/index.d.ts.map +1 -0
  39. package/dist-esm/src/operations/index.js +11 -0
  40. package/dist-esm/src/operations/index.js.map +1 -0
  41. package/dist-esm/src/operations/maps.d.ts +51 -0
  42. package/dist-esm/src/operations/maps.d.ts.map +1 -0
  43. package/dist-esm/src/operations/maps.js +220 -0
  44. package/dist-esm/src/operations/maps.js.map +1 -0
  45. package/dist-esm/src/operationsInterfaces/accounts.d.ts +67 -0
  46. package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +1 -0
  47. package/dist-esm/src/operationsInterfaces/accounts.js +9 -0
  48. package/dist-esm/src/operationsInterfaces/accounts.js.map +1 -0
  49. package/dist-esm/src/operationsInterfaces/creators.d.ts +49 -0
  50. package/dist-esm/src/operationsInterfaces/creators.d.ts.map +1 -0
  51. package/dist-esm/src/operationsInterfaces/creators.js +9 -0
  52. package/dist-esm/src/operationsInterfaces/creators.js.map +1 -0
  53. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  54. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  55. package/dist-esm/src/operationsInterfaces/index.js +11 -0
  56. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  57. package/dist-esm/src/operationsInterfaces/maps.d.ts +16 -0
  58. package/dist-esm/src/operationsInterfaces/maps.d.ts.map +1 -0
  59. package/dist-esm/src/operationsInterfaces/maps.js +9 -0
  60. package/dist-esm/src/operationsInterfaces/maps.js.map +1 -0
  61. package/dist-esm/test/sampleTest.d.ts +2 -0
  62. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  63. package/dist-esm/test/sampleTest.js +40 -0
  64. package/dist-esm/test/sampleTest.js.map +1 -0
  65. package/package.json +73 -34
  66. package/review/arm-maps.api.md +423 -0
  67. package/rollup.config.js +184 -27
  68. package/src/azureMapsManagementClient.ts +79 -0
  69. package/src/index.ts +12 -0
  70. package/src/models/index.ts +552 -0
  71. package/src/models/mappers.ts +769 -0
  72. package/src/models/parameters.ts +156 -0
  73. package/src/operations/accounts.ts +541 -0
  74. package/src/operations/creators.ts +383 -0
  75. package/src/operations/index.ts +11 -0
  76. package/src/operations/maps.ts +256 -0
  77. package/src/operationsInterfaces/accounts.ts +125 -0
  78. package/src/operationsInterfaces/creators.ts +95 -0
  79. package/src/operationsInterfaces/index.ts +11 -0
  80. package/src/operationsInterfaces/maps.ts +33 -0
  81. package/tsconfig.json +4 -4
  82. package/types/arm-maps.d.ts +696 -0
  83. package/types/tsdoc-metadata.json +11 -0
  84. package/dist/arm-maps.js +0 -1035
  85. package/dist/arm-maps.js.map +0 -1
  86. package/dist/arm-maps.min.js +0 -1
  87. package/dist/arm-maps.min.js.map +0 -1
  88. package/esm/mapsManagementClient.d.ts +0 -19
  89. package/esm/mapsManagementClient.d.ts.map +0 -1
  90. package/esm/mapsManagementClient.js +0 -34
  91. package/esm/mapsManagementClient.js.map +0 -1
  92. package/esm/mapsManagementClientContext.d.ts +0 -17
  93. package/esm/mapsManagementClientContext.d.ts.map +0 -1
  94. package/esm/mapsManagementClientContext.js +0 -57
  95. package/esm/mapsManagementClientContext.js.map +0 -1
  96. package/esm/models/accountsMappers.d.ts +0 -2
  97. package/esm/models/accountsMappers.d.ts.map +0 -1
  98. package/esm/models/accountsMappers.js +0 -11
  99. package/esm/models/accountsMappers.js.map +0 -1
  100. package/esm/models/index.d.ts +0 -491
  101. package/esm/models/index.d.ts.map +0 -1
  102. package/esm/models/index.js +0 -10
  103. package/esm/models/index.js.map +0 -1
  104. package/esm/models/mappers.d.ts +0 -18
  105. package/esm/models/mappers.d.ts.map +0 -1
  106. package/esm/models/mappers.js +0 -419
  107. package/esm/models/mappers.js.map +0 -1
  108. package/esm/models/parameters.d.ts +0 -7
  109. package/esm/models/parameters.d.ts.map +0 -1
  110. package/esm/models/parameters.js +0 -60
  111. package/esm/models/parameters.js.map +0 -1
  112. package/esm/operations/accounts.d.ts +0 -222
  113. package/esm/operations/accounts.d.ts.map +0 -1
  114. package/esm/operations/accounts.js +0 -347
  115. package/esm/operations/accounts.js.map +0 -1
  116. package/esm/operations/index.d.ts +0 -2
  117. package/esm/operations/index.d.ts.map +0 -1
  118. package/esm/operations/index.js +0 -11
  119. package/esm/operations/index.js.map +0 -1
  120. package/lib/mapsManagementClient.ts +0 -43
  121. package/lib/mapsManagementClientContext.ts +0 -63
  122. package/lib/models/accountsMappers.ts +0 -28
  123. package/lib/models/index.ts +0 -521
  124. package/lib/models/mappers.ts +0 -439
  125. package/lib/models/parameters.ts +0 -62
  126. package/lib/operations/accounts.ts +0 -620
  127. package/lib/operations/index.ts +0 -11
@@ -0,0 +1,79 @@
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
+
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as coreAuth from "@azure/core-auth";
11
+ import { AccountsImpl, MapsImpl, CreatorsImpl } from "./operations";
12
+ import { Accounts, Maps, Creators } from "./operationsInterfaces";
13
+ import { AzureMapsManagementClientOptionalParams } from "./models";
14
+
15
+ export class AzureMapsManagementClient extends coreClient.ServiceClient {
16
+ $host: string;
17
+ apiVersion: string;
18
+ subscriptionId: string;
19
+
20
+ /**
21
+ * Initializes a new instance of the AzureMapsManagementClient class.
22
+ * @param credentials Subscription credentials which uniquely identify client subscription.
23
+ * @param subscriptionId The ID of the target subscription.
24
+ * @param options The parameter options
25
+ */
26
+ constructor(
27
+ credentials: coreAuth.TokenCredential,
28
+ subscriptionId: string,
29
+ options?: AzureMapsManagementClientOptionalParams
30
+ ) {
31
+ if (credentials === undefined) {
32
+ throw new Error("'credentials' cannot be null");
33
+ }
34
+ if (subscriptionId === undefined) {
35
+ throw new Error("'subscriptionId' cannot be null");
36
+ }
37
+
38
+ // Initializing default values for options
39
+ if (!options) {
40
+ options = {};
41
+ }
42
+ const defaults: AzureMapsManagementClientOptionalParams = {
43
+ requestContentType: "application/json; charset=utf-8",
44
+ credential: credentials
45
+ };
46
+
47
+ const packageDetails = `azsdk-js-arm-maps/3.0.0`;
48
+ const userAgentPrefix =
49
+ options.userAgentOptions && options.userAgentOptions.userAgentPrefix
50
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
51
+ : `${packageDetails}`;
52
+
53
+ if (!options.credentialScopes) {
54
+ options.credentialScopes = ["https://management.azure.com/.default"];
55
+ }
56
+ const optionsWithDefaults = {
57
+ ...defaults,
58
+ ...options,
59
+ userAgentOptions: {
60
+ userAgentPrefix
61
+ },
62
+ baseUri: options.endpoint || "https://management.azure.com"
63
+ };
64
+ super(optionsWithDefaults);
65
+ // Parameter assignments
66
+ this.subscriptionId = subscriptionId;
67
+
68
+ // Assigning values to Constant parameters
69
+ this.$host = options.$host || "https://management.azure.com";
70
+ this.apiVersion = options.apiVersion || "2021-02-01";
71
+ this.accounts = new AccountsImpl(this);
72
+ this.maps = new MapsImpl(this);
73
+ this.creators = new CreatorsImpl(this);
74
+ }
75
+
76
+ accounts: Accounts;
77
+ maps: Maps;
78
+ creators: Creators;
79
+ }
package/src/index.ts ADDED
@@ -0,0 +1,12 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ /// <reference lib="esnext.asynciterable" />
10
+ export * from "./models";
11
+ export { AzureMapsManagementClient } from "./azureMapsManagementClient";
12
+ export * from "./operationsInterfaces";
@@ -0,0 +1,552 @@
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
+
9
+ import * as coreClient from "@azure/core-client";
10
+
11
+ /** The SKU of the Maps Account. */
12
+ export interface Sku {
13
+ /** The name of the SKU, in standard format (such as S0). */
14
+ name: Name;
15
+ /**
16
+ * Gets the sku tier. This is based on the SKU name.
17
+ * NOTE: This property will not be serialized. It can only be populated by the server.
18
+ */
19
+ readonly tier?: string;
20
+ }
21
+
22
+ /** Metadata pertaining to creation and last modification of the resource. */
23
+ export interface SystemData {
24
+ /** The identity that created the resource. */
25
+ createdBy?: string;
26
+ /** The type of identity that created the resource. */
27
+ createdByType?: CreatedByType;
28
+ /** The timestamp of resource creation (UTC). */
29
+ createdAt?: Date;
30
+ /** The identity that last modified the resource. */
31
+ lastModifiedBy?: string;
32
+ /** The type of identity that last modified the resource. */
33
+ lastModifiedByType?: CreatedByType;
34
+ /** The timestamp of resource last modification (UTC) */
35
+ lastModifiedAt?: Date;
36
+ }
37
+
38
+ /** Additional Map account properties */
39
+ export interface MapsAccountProperties {
40
+ /**
41
+ * A unique identifier for the maps account
42
+ * NOTE: This property will not be serialized. It can only be populated by the server.
43
+ */
44
+ readonly uniqueId?: string;
45
+ /** Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage. */
46
+ disableLocalAuth?: boolean;
47
+ /**
48
+ * the state of the provisioning.
49
+ * NOTE: This property will not be serialized. It can only be populated by the server.
50
+ */
51
+ readonly provisioningState?: string;
52
+ }
53
+
54
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
55
+ export interface Resource {
56
+ /**
57
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
58
+ * NOTE: This property will not be serialized. It can only be populated by the server.
59
+ */
60
+ readonly id?: string;
61
+ /**
62
+ * The name of the resource
63
+ * NOTE: This property will not be serialized. It can only be populated by the server.
64
+ */
65
+ readonly name?: string;
66
+ /**
67
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
68
+ * NOTE: This property will not be serialized. It can only be populated by the server.
69
+ */
70
+ readonly type?: string;
71
+ }
72
+
73
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
74
+ export interface ErrorResponse {
75
+ /** The error object. */
76
+ error?: ErrorDetail;
77
+ }
78
+
79
+ /** The error detail. */
80
+ export interface ErrorDetail {
81
+ /**
82
+ * The error code.
83
+ * NOTE: This property will not be serialized. It can only be populated by the server.
84
+ */
85
+ readonly code?: string;
86
+ /**
87
+ * The error message.
88
+ * NOTE: This property will not be serialized. It can only be populated by the server.
89
+ */
90
+ readonly message?: string;
91
+ /**
92
+ * The error target.
93
+ * NOTE: This property will not be serialized. It can only be populated by the server.
94
+ */
95
+ readonly target?: string;
96
+ /**
97
+ * The error details.
98
+ * NOTE: This property will not be serialized. It can only be populated by the server.
99
+ */
100
+ readonly details?: ErrorDetail[];
101
+ /**
102
+ * The error additional info.
103
+ * NOTE: This property will not be serialized. It can only be populated by the server.
104
+ */
105
+ readonly additionalInfo?: ErrorAdditionalInfo[];
106
+ }
107
+
108
+ /** The resource management error additional info. */
109
+ export interface ErrorAdditionalInfo {
110
+ /**
111
+ * The additional info type.
112
+ * NOTE: This property will not be serialized. It can only be populated by the server.
113
+ */
114
+ readonly type?: string;
115
+ /**
116
+ * The additional info.
117
+ * NOTE: This property will not be serialized. It can only be populated by the server.
118
+ */
119
+ readonly info?: Record<string, unknown>;
120
+ }
121
+
122
+ /** Parameters used to update an existing Maps Account. */
123
+ export interface MapsAccountUpdateParameters {
124
+ /** Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. */
125
+ tags?: { [propertyName: string]: string };
126
+ /** Get or Set Kind property. */
127
+ kind?: Kind;
128
+ /** The SKU of this account. */
129
+ sku?: Sku;
130
+ /**
131
+ * A unique identifier for the maps account
132
+ * NOTE: This property will not be serialized. It can only be populated by the server.
133
+ */
134
+ readonly uniqueId?: string;
135
+ /** Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage. */
136
+ disableLocalAuth?: boolean;
137
+ /**
138
+ * the state of the provisioning.
139
+ * NOTE: This property will not be serialized. It can only be populated by the server.
140
+ */
141
+ readonly provisioningState?: string;
142
+ }
143
+
144
+ /** A list of Maps Accounts. */
145
+ export interface MapsAccounts {
146
+ /**
147
+ * a Maps Account.
148
+ * NOTE: This property will not be serialized. It can only be populated by the server.
149
+ */
150
+ readonly value?: MapsAccount[];
151
+ /**
152
+ * URL client should use to fetch the next page (per server side paging).
153
+ * It's null for now, added for future use.
154
+ */
155
+ nextLink?: string;
156
+ }
157
+
158
+ /** The set of keys which can be used to access the Maps REST APIs. Two keys are provided for key rotation without interruption. */
159
+ export interface MapsAccountKeys {
160
+ /**
161
+ * The last updated date and time of the primary key.
162
+ * NOTE: This property will not be serialized. It can only be populated by the server.
163
+ */
164
+ readonly primaryKeyLastUpdated?: string;
165
+ /**
166
+ * The primary key for accessing the Maps REST APIs.
167
+ * NOTE: This property will not be serialized. It can only be populated by the server.
168
+ */
169
+ readonly primaryKey?: string;
170
+ /**
171
+ * The secondary key for accessing the Maps REST APIs.
172
+ * NOTE: This property will not be serialized. It can only be populated by the server.
173
+ */
174
+ readonly secondaryKey?: string;
175
+ /**
176
+ * The last updated date and time of the secondary key.
177
+ * NOTE: This property will not be serialized. It can only be populated by the server.
178
+ */
179
+ readonly secondaryKeyLastUpdated?: string;
180
+ }
181
+
182
+ /** Whether the operation refers to the primary or secondary key. */
183
+ export interface MapsKeySpecification {
184
+ /** Whether the operation refers to the primary or secondary key. */
185
+ keyType: KeyType;
186
+ }
187
+
188
+ /** The set of operations available for Maps. */
189
+ export interface MapsOperations {
190
+ /**
191
+ * An operation available for Maps.
192
+ * NOTE: This property will not be serialized. It can only be populated by the server.
193
+ */
194
+ readonly value?: OperationDetail[];
195
+ /**
196
+ * URL client should use to fetch the next page (per server side paging).
197
+ * It's null for now, added for future use.
198
+ */
199
+ nextLink?: string;
200
+ }
201
+
202
+ /** Operation detail payload */
203
+ export interface OperationDetail {
204
+ /** Name of the operation */
205
+ name?: string;
206
+ /** Indicates whether the operation is a data action */
207
+ isDataAction?: boolean;
208
+ /** Display of the operation */
209
+ display?: OperationDisplay;
210
+ /** Origin of the operation */
211
+ origin?: string;
212
+ /** One property of operation, include metric specifications. */
213
+ serviceSpecification?: ServiceSpecification;
214
+ }
215
+
216
+ /** Operation display payload */
217
+ export interface OperationDisplay {
218
+ /** Resource provider of the operation */
219
+ provider?: string;
220
+ /** Resource of the operation */
221
+ resource?: string;
222
+ /** Localized friendly name for the operation */
223
+ operation?: string;
224
+ /** Localized friendly description for the operation */
225
+ description?: string;
226
+ }
227
+
228
+ /** One property of operation, include metric specifications. */
229
+ export interface ServiceSpecification {
230
+ /** Metric specifications of operation. */
231
+ metricSpecifications?: MetricSpecification[];
232
+ }
233
+
234
+ /** Metric specification of operation. */
235
+ export interface MetricSpecification {
236
+ /** Name of metric specification. */
237
+ name?: string;
238
+ /** Display name of metric specification. */
239
+ displayName?: string;
240
+ /** Display description of metric specification. */
241
+ displayDescription?: string;
242
+ /** Unit could be Count. */
243
+ unit?: string;
244
+ /** Dimensions of map account. */
245
+ dimensions?: Dimension[];
246
+ /** Aggregation type could be Average. */
247
+ aggregationType?: string;
248
+ /** The property to decide fill gap with zero or not. */
249
+ fillGapWithZero?: boolean;
250
+ /** The category this metric specification belong to, could be Capacity. */
251
+ category?: string;
252
+ /** Account Resource Id. */
253
+ resourceIdDimensionNameOverride?: string;
254
+ }
255
+
256
+ /** Dimension of map account, for example API Category, Api Name, Result Type, and Response Code. */
257
+ export interface Dimension {
258
+ /** Display name of dimension. */
259
+ name?: string;
260
+ /** Display name of dimension. */
261
+ displayName?: string;
262
+ /** Internal name of the dimension. */
263
+ internalName?: string;
264
+ /** Internal metric name of the dimension. */
265
+ internalMetricName?: string;
266
+ /** Source Mdm Namespace of the dimension. */
267
+ sourceMdmNamespace?: string;
268
+ /** Flag to indicate exporting to Azure Monitor. */
269
+ toBeExportedToShoebox?: boolean;
270
+ }
271
+
272
+ /** A list of Creator resources. */
273
+ export interface CreatorList {
274
+ /**
275
+ * a Creator account.
276
+ * NOTE: This property will not be serialized. It can only be populated by the server.
277
+ */
278
+ readonly value?: Creator[];
279
+ /**
280
+ * URL client should use to fetch the next page (per server side paging).
281
+ * It's null for now, added for future use.
282
+ */
283
+ nextLink?: string;
284
+ }
285
+
286
+ /** Creator resource properties */
287
+ export interface CreatorProperties {
288
+ /**
289
+ * The state of the resource provisioning, terminal states: Succeeded, Failed, Canceled
290
+ * NOTE: This property will not be serialized. It can only be populated by the server.
291
+ */
292
+ readonly provisioningState?: string;
293
+ /** The storage units to be allocated. Integer values from 1 to 100, inclusive. */
294
+ storageUnits: number;
295
+ }
296
+
297
+ /** Parameters used to update an existing Creator resource. */
298
+ export interface CreatorUpdateParameters {
299
+ /** Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. */
300
+ tags?: { [propertyName: string]: string };
301
+ /**
302
+ * The state of the resource provisioning, terminal states: Succeeded, Failed, Canceled
303
+ * NOTE: This property will not be serialized. It can only be populated by the server.
304
+ */
305
+ readonly provisioningState?: string;
306
+ /** The storage units to be allocated. Integer values from 1 to 100, inclusive. */
307
+ storageUnits?: number;
308
+ }
309
+
310
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
311
+ export type TrackedResource = Resource & {
312
+ /** Resource tags. */
313
+ tags?: { [propertyName: string]: string };
314
+ /** The geo-location where the resource lives */
315
+ location: string;
316
+ };
317
+
318
+ /** An Azure resource which represents access to a suite of Maps REST APIs. */
319
+ export type MapsAccount = TrackedResource & {
320
+ /** The SKU of this account. */
321
+ sku: Sku;
322
+ /** Get or Set Kind property. */
323
+ kind?: Kind;
324
+ /**
325
+ * The system meta data relating to this resource.
326
+ * NOTE: This property will not be serialized. It can only be populated by the server.
327
+ */
328
+ readonly systemData?: SystemData;
329
+ /** The map account properties. */
330
+ properties?: MapsAccountProperties;
331
+ };
332
+
333
+ /** An Azure resource which represents Maps Creator product and provides ability to manage private location data. */
334
+ export type Creator = TrackedResource & {
335
+ /** The Creator resource properties. */
336
+ properties: CreatorProperties;
337
+ };
338
+
339
+ /** Known values of {@link Name} that the service accepts. */
340
+ export enum KnownName {
341
+ S0 = "S0",
342
+ S1 = "S1",
343
+ G2 = "G2"
344
+ }
345
+
346
+ /**
347
+ * Defines values for Name. \
348
+ * {@link KnownName} can be used interchangeably with Name,
349
+ * this enum contains the known values that the service supports.
350
+ * ### Known values supported by the service
351
+ * **S0** \
352
+ * **S1** \
353
+ * **G2**
354
+ */
355
+ export type Name = string;
356
+
357
+ /** Known values of {@link Kind} that the service accepts. */
358
+ export enum KnownKind {
359
+ Gen1 = "Gen1",
360
+ Gen2 = "Gen2"
361
+ }
362
+
363
+ /**
364
+ * Defines values for Kind. \
365
+ * {@link KnownKind} can be used interchangeably with Kind,
366
+ * this enum contains the known values that the service supports.
367
+ * ### Known values supported by the service
368
+ * **Gen1** \
369
+ * **Gen2**
370
+ */
371
+ export type Kind = string;
372
+
373
+ /** Known values of {@link CreatedByType} that the service accepts. */
374
+ export enum KnownCreatedByType {
375
+ User = "User",
376
+ Application = "Application",
377
+ ManagedIdentity = "ManagedIdentity",
378
+ Key = "Key"
379
+ }
380
+
381
+ /**
382
+ * Defines values for CreatedByType. \
383
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
384
+ * this enum contains the known values that the service supports.
385
+ * ### Known values supported by the service
386
+ * **User** \
387
+ * **Application** \
388
+ * **ManagedIdentity** \
389
+ * **Key**
390
+ */
391
+ export type CreatedByType = string;
392
+
393
+ /** Known values of {@link KeyType} that the service accepts. */
394
+ export enum KnownKeyType {
395
+ Primary = "primary",
396
+ Secondary = "secondary"
397
+ }
398
+
399
+ /**
400
+ * Defines values for KeyType. \
401
+ * {@link KnownKeyType} can be used interchangeably with KeyType,
402
+ * this enum contains the known values that the service supports.
403
+ * ### Known values supported by the service
404
+ * **primary** \
405
+ * **secondary**
406
+ */
407
+ export type KeyType = string;
408
+
409
+ /** Optional parameters. */
410
+ export interface AccountsCreateOrUpdateOptionalParams
411
+ extends coreClient.OperationOptions {}
412
+
413
+ /** Contains response data for the createOrUpdate operation. */
414
+ export type AccountsCreateOrUpdateResponse = MapsAccount;
415
+
416
+ /** Optional parameters. */
417
+ export interface AccountsUpdateOptionalParams
418
+ extends coreClient.OperationOptions {}
419
+
420
+ /** Contains response data for the update operation. */
421
+ export type AccountsUpdateResponse = MapsAccount;
422
+
423
+ /** Optional parameters. */
424
+ export interface AccountsDeleteOptionalParams
425
+ extends coreClient.OperationOptions {}
426
+
427
+ /** Optional parameters. */
428
+ export interface AccountsGetOptionalParams
429
+ extends coreClient.OperationOptions {}
430
+
431
+ /** Contains response data for the get operation. */
432
+ export type AccountsGetResponse = MapsAccount;
433
+
434
+ /** Optional parameters. */
435
+ export interface AccountsListByResourceGroupOptionalParams
436
+ extends coreClient.OperationOptions {}
437
+
438
+ /** Contains response data for the listByResourceGroup operation. */
439
+ export type AccountsListByResourceGroupResponse = MapsAccounts;
440
+
441
+ /** Optional parameters. */
442
+ export interface AccountsListBySubscriptionOptionalParams
443
+ extends coreClient.OperationOptions {}
444
+
445
+ /** Contains response data for the listBySubscription operation. */
446
+ export type AccountsListBySubscriptionResponse = MapsAccounts;
447
+
448
+ /** Optional parameters. */
449
+ export interface AccountsListKeysOptionalParams
450
+ extends coreClient.OperationOptions {}
451
+
452
+ /** Contains response data for the listKeys operation. */
453
+ export type AccountsListKeysResponse = MapsAccountKeys;
454
+
455
+ /** Optional parameters. */
456
+ export interface AccountsRegenerateKeysOptionalParams
457
+ extends coreClient.OperationOptions {}
458
+
459
+ /** Contains response data for the regenerateKeys operation. */
460
+ export type AccountsRegenerateKeysResponse = MapsAccountKeys;
461
+
462
+ /** Optional parameters. */
463
+ export interface AccountsListByResourceGroupNextOptionalParams
464
+ extends coreClient.OperationOptions {}
465
+
466
+ /** Contains response data for the listByResourceGroupNext operation. */
467
+ export type AccountsListByResourceGroupNextResponse = MapsAccounts;
468
+
469
+ /** Optional parameters. */
470
+ export interface AccountsListBySubscriptionNextOptionalParams
471
+ extends coreClient.OperationOptions {}
472
+
473
+ /** Contains response data for the listBySubscriptionNext operation. */
474
+ export type AccountsListBySubscriptionNextResponse = MapsAccounts;
475
+
476
+ /** Optional parameters. */
477
+ export interface MapsListOperationsOptionalParams
478
+ extends coreClient.OperationOptions {}
479
+
480
+ /** Contains response data for the listOperations operation. */
481
+ export type MapsListOperationsResponse = MapsOperations;
482
+
483
+ /** Optional parameters. */
484
+ export interface MapsListSubscriptionOperationsOptionalParams
485
+ extends coreClient.OperationOptions {}
486
+
487
+ /** Contains response data for the listSubscriptionOperations operation. */
488
+ export type MapsListSubscriptionOperationsResponse = MapsOperations;
489
+
490
+ /** Optional parameters. */
491
+ export interface MapsListOperationsNextOptionalParams
492
+ extends coreClient.OperationOptions {}
493
+
494
+ /** Contains response data for the listOperationsNext operation. */
495
+ export type MapsListOperationsNextResponse = MapsOperations;
496
+
497
+ /** Optional parameters. */
498
+ export interface MapsListSubscriptionOperationsNextOptionalParams
499
+ extends coreClient.OperationOptions {}
500
+
501
+ /** Contains response data for the listSubscriptionOperationsNext operation. */
502
+ export type MapsListSubscriptionOperationsNextResponse = MapsOperations;
503
+
504
+ /** Optional parameters. */
505
+ export interface CreatorsListByAccountOptionalParams
506
+ extends coreClient.OperationOptions {}
507
+
508
+ /** Contains response data for the listByAccount operation. */
509
+ export type CreatorsListByAccountResponse = CreatorList;
510
+
511
+ /** Optional parameters. */
512
+ export interface CreatorsCreateOrUpdateOptionalParams
513
+ extends coreClient.OperationOptions {}
514
+
515
+ /** Contains response data for the createOrUpdate operation. */
516
+ export type CreatorsCreateOrUpdateResponse = Creator;
517
+
518
+ /** Optional parameters. */
519
+ export interface CreatorsUpdateOptionalParams
520
+ extends coreClient.OperationOptions {}
521
+
522
+ /** Contains response data for the update operation. */
523
+ export type CreatorsUpdateResponse = Creator;
524
+
525
+ /** Optional parameters. */
526
+ export interface CreatorsDeleteOptionalParams
527
+ extends coreClient.OperationOptions {}
528
+
529
+ /** Optional parameters. */
530
+ export interface CreatorsGetOptionalParams
531
+ extends coreClient.OperationOptions {}
532
+
533
+ /** Contains response data for the get operation. */
534
+ export type CreatorsGetResponse = Creator;
535
+
536
+ /** Optional parameters. */
537
+ export interface CreatorsListByAccountNextOptionalParams
538
+ extends coreClient.OperationOptions {}
539
+
540
+ /** Contains response data for the listByAccountNext operation. */
541
+ export type CreatorsListByAccountNextResponse = CreatorList;
542
+
543
+ /** Optional parameters. */
544
+ export interface AzureMapsManagementClientOptionalParams
545
+ extends coreClient.ServiceClientOptions {
546
+ /** server parameter */
547
+ $host?: string;
548
+ /** Api Version */
549
+ apiVersion?: string;
550
+ /** Overrides client endpoint. */
551
+ endpoint?: string;
552
+ }