@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.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/LICENSE.txt +1 -1
- package/README.md +75 -77
- 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/dist-esm/src/index.js +12 -0
- 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/dist-esm/src/models/mappers.js +732 -0
- 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/dist-esm/src/operations/index.d.ts +4 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +11 -0
- 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/dist-esm/src/operationsInterfaces/maps.js +9 -0
- 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 +73 -34
- package/review/arm-maps.api.md +423 -0
- package/rollup.config.js +184 -27
- package/src/azureMapsManagementClient.ts +79 -0
- package/src/index.ts +12 -0
- package/src/models/index.ts +552 -0
- package/src/models/mappers.ts +769 -0
- package/src/models/parameters.ts +156 -0
- package/src/operations/accounts.ts +541 -0
- package/src/operations/creators.ts +383 -0
- package/src/operations/index.ts +11 -0
- package/src/operations/maps.ts +256 -0
- 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 +4 -4
- package/types/arm-maps.d.ts +696 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-maps.js +0 -1035
- 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/mapsManagementClient.d.ts +0 -19
- package/esm/mapsManagementClient.d.ts.map +0 -1
- package/esm/mapsManagementClient.js +0 -34
- package/esm/mapsManagementClient.js.map +0 -1
- package/esm/mapsManagementClientContext.d.ts +0 -17
- package/esm/mapsManagementClientContext.d.ts.map +0 -1
- package/esm/mapsManagementClientContext.js +0 -57
- package/esm/mapsManagementClientContext.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 -11
- package/esm/models/accountsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -491
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -18
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js +0 -419
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -7
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -60
- 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 -347
- package/esm/operations/accounts.js.map +0 -1
- package/esm/operations/index.d.ts +0 -2
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -11
- package/esm/operations/index.js.map +0 -1
- package/lib/mapsManagementClient.ts +0 -43
- package/lib/mapsManagementClientContext.ts +0 -63
- package/lib/models/accountsMappers.ts +0 -28
- package/lib/models/index.ts +0 -521
- package/lib/models/mappers.ts +0 -439
- package/lib/models/parameters.ts +0 -62
- package/lib/operations/accounts.ts +0 -620
- package/lib/operations/index.ts +0 -11
|
@@ -1,222 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as Models from "../models";
|
|
3
|
-
import { MapsManagementClientContext } from "../mapsManagementClientContext";
|
|
4
|
-
/** Class representing a Accounts. */
|
|
5
|
-
export declare class Accounts {
|
|
6
|
-
private readonly client;
|
|
7
|
-
/**
|
|
8
|
-
* Create a Accounts.
|
|
9
|
-
* @param {MapsManagementClientContext} client Reference to the service client.
|
|
10
|
-
*/
|
|
11
|
-
constructor(client: MapsManagementClientContext);
|
|
12
|
-
/**
|
|
13
|
-
* Create or update a Maps Account. A Maps Account holds the keys which allow access to the Maps
|
|
14
|
-
* REST APIs.
|
|
15
|
-
* @param resourceGroupName The name of the Azure Resource Group.
|
|
16
|
-
* @param accountName The name of the Maps Account.
|
|
17
|
-
* @param mapsAccountCreateParameters The new or updated parameters for the Maps Account.
|
|
18
|
-
* @param [options] The optional parameters
|
|
19
|
-
* @returns Promise<Models.AccountsCreateOrUpdateResponse>
|
|
20
|
-
*/
|
|
21
|
-
createOrUpdate(resourceGroupName: string, accountName: string, mapsAccountCreateParameters: Models.MapsAccountCreateParameters, options?: msRest.RequestOptionsBase): Promise<Models.AccountsCreateOrUpdateResponse>;
|
|
22
|
-
/**
|
|
23
|
-
* @param resourceGroupName The name of the Azure Resource Group.
|
|
24
|
-
* @param accountName The name of the Maps Account.
|
|
25
|
-
* @param mapsAccountCreateParameters The new or updated parameters for the Maps Account.
|
|
26
|
-
* @param callback The callback
|
|
27
|
-
*/
|
|
28
|
-
createOrUpdate(resourceGroupName: string, accountName: string, mapsAccountCreateParameters: Models.MapsAccountCreateParameters, callback: msRest.ServiceCallback<Models.MapsAccount>): void;
|
|
29
|
-
/**
|
|
30
|
-
* @param resourceGroupName The name of the Azure Resource Group.
|
|
31
|
-
* @param accountName The name of the Maps Account.
|
|
32
|
-
* @param mapsAccountCreateParameters The new or updated parameters for the Maps Account.
|
|
33
|
-
* @param options The optional parameters
|
|
34
|
-
* @param callback The callback
|
|
35
|
-
*/
|
|
36
|
-
createOrUpdate(resourceGroupName: string, accountName: string, mapsAccountCreateParameters: Models.MapsAccountCreateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.MapsAccount>): void;
|
|
37
|
-
/**
|
|
38
|
-
* Updates a Maps Account. Only a subset of the parameters may be updated after creation, such as
|
|
39
|
-
* Sku and Tags.
|
|
40
|
-
* @param resourceGroupName The name of the Azure Resource Group.
|
|
41
|
-
* @param accountName The name of the Maps Account.
|
|
42
|
-
* @param mapsAccountUpdateParameters The updated parameters for the Maps Account.
|
|
43
|
-
* @param [options] The optional parameters
|
|
44
|
-
* @returns Promise<Models.AccountsUpdateResponse>
|
|
45
|
-
*/
|
|
46
|
-
update(resourceGroupName: string, accountName: string, mapsAccountUpdateParameters: Models.MapsAccountUpdateParameters, options?: msRest.RequestOptionsBase): Promise<Models.AccountsUpdateResponse>;
|
|
47
|
-
/**
|
|
48
|
-
* @param resourceGroupName The name of the Azure Resource Group.
|
|
49
|
-
* @param accountName The name of the Maps Account.
|
|
50
|
-
* @param mapsAccountUpdateParameters The updated parameters for the Maps Account.
|
|
51
|
-
* @param callback The callback
|
|
52
|
-
*/
|
|
53
|
-
update(resourceGroupName: string, accountName: string, mapsAccountUpdateParameters: Models.MapsAccountUpdateParameters, callback: msRest.ServiceCallback<Models.MapsAccount>): void;
|
|
54
|
-
/**
|
|
55
|
-
* @param resourceGroupName The name of the Azure Resource Group.
|
|
56
|
-
* @param accountName The name of the Maps Account.
|
|
57
|
-
* @param mapsAccountUpdateParameters The updated parameters for the Maps Account.
|
|
58
|
-
* @param options The optional parameters
|
|
59
|
-
* @param callback The callback
|
|
60
|
-
*/
|
|
61
|
-
update(resourceGroupName: string, accountName: string, mapsAccountUpdateParameters: Models.MapsAccountUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.MapsAccount>): void;
|
|
62
|
-
/**
|
|
63
|
-
* Delete a Maps Account.
|
|
64
|
-
* @param resourceGroupName The name of the Azure Resource Group.
|
|
65
|
-
* @param accountName The name of the Maps Account.
|
|
66
|
-
* @param [options] The optional parameters
|
|
67
|
-
* @returns Promise<msRest.RestResponse>
|
|
68
|
-
*/
|
|
69
|
-
deleteMethod(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
70
|
-
/**
|
|
71
|
-
* @param resourceGroupName The name of the Azure Resource Group.
|
|
72
|
-
* @param accountName The name of the Maps Account.
|
|
73
|
-
* @param callback The callback
|
|
74
|
-
*/
|
|
75
|
-
deleteMethod(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<void>): void;
|
|
76
|
-
/**
|
|
77
|
-
* @param resourceGroupName The name of the Azure Resource Group.
|
|
78
|
-
* @param accountName The name of the Maps Account.
|
|
79
|
-
* @param options The optional parameters
|
|
80
|
-
* @param callback The callback
|
|
81
|
-
*/
|
|
82
|
-
deleteMethod(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
|
83
|
-
/**
|
|
84
|
-
* Get a Maps Account.
|
|
85
|
-
* @param resourceGroupName The name of the Azure Resource Group.
|
|
86
|
-
* @param accountName The name of the Maps Account.
|
|
87
|
-
* @param [options] The optional parameters
|
|
88
|
-
* @returns Promise<Models.AccountsGetResponse>
|
|
89
|
-
*/
|
|
90
|
-
get(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<Models.AccountsGetResponse>;
|
|
91
|
-
/**
|
|
92
|
-
* @param resourceGroupName The name of the Azure Resource Group.
|
|
93
|
-
* @param accountName The name of the Maps Account.
|
|
94
|
-
* @param callback The callback
|
|
95
|
-
*/
|
|
96
|
-
get(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<Models.MapsAccount>): void;
|
|
97
|
-
/**
|
|
98
|
-
* @param resourceGroupName The name of the Azure Resource Group.
|
|
99
|
-
* @param accountName The name of the Maps Account.
|
|
100
|
-
* @param options The optional parameters
|
|
101
|
-
* @param callback The callback
|
|
102
|
-
*/
|
|
103
|
-
get(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.MapsAccount>): void;
|
|
104
|
-
/**
|
|
105
|
-
* Get all Maps Accounts in a Resource Group
|
|
106
|
-
* @param resourceGroupName The name of the Azure Resource Group.
|
|
107
|
-
* @param [options] The optional parameters
|
|
108
|
-
* @returns Promise<Models.AccountsListByResourceGroupResponse>
|
|
109
|
-
*/
|
|
110
|
-
listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.AccountsListByResourceGroupResponse>;
|
|
111
|
-
/**
|
|
112
|
-
* @param resourceGroupName The name of the Azure Resource Group.
|
|
113
|
-
* @param callback The callback
|
|
114
|
-
*/
|
|
115
|
-
listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.MapsAccounts>): void;
|
|
116
|
-
/**
|
|
117
|
-
* @param resourceGroupName The name of the Azure Resource Group.
|
|
118
|
-
* @param options The optional parameters
|
|
119
|
-
* @param callback The callback
|
|
120
|
-
*/
|
|
121
|
-
listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.MapsAccounts>): void;
|
|
122
|
-
/**
|
|
123
|
-
* Get all Maps Accounts in a Subscription
|
|
124
|
-
* @param [options] The optional parameters
|
|
125
|
-
* @returns Promise<Models.AccountsListBySubscriptionResponse>
|
|
126
|
-
*/
|
|
127
|
-
listBySubscription(options?: msRest.RequestOptionsBase): Promise<Models.AccountsListBySubscriptionResponse>;
|
|
128
|
-
/**
|
|
129
|
-
* @param callback The callback
|
|
130
|
-
*/
|
|
131
|
-
listBySubscription(callback: msRest.ServiceCallback<Models.MapsAccounts>): void;
|
|
132
|
-
/**
|
|
133
|
-
* @param options The optional parameters
|
|
134
|
-
* @param callback The callback
|
|
135
|
-
*/
|
|
136
|
-
listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.MapsAccounts>): void;
|
|
137
|
-
/**
|
|
138
|
-
* Moves Maps Accounts from one ResourceGroup (or Subscription) to another
|
|
139
|
-
* @param resourceGroupName The name of the resource group that contains Maps Account to move.
|
|
140
|
-
* @param moveRequest The details of the Maps Account move.
|
|
141
|
-
* @param [options] The optional parameters
|
|
142
|
-
* @returns Promise<msRest.RestResponse>
|
|
143
|
-
*/
|
|
144
|
-
move(resourceGroupName: string, moveRequest: Models.MapsAccountsMoveRequest, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
145
|
-
/**
|
|
146
|
-
* @param resourceGroupName The name of the resource group that contains Maps Account to move.
|
|
147
|
-
* @param moveRequest The details of the Maps Account move.
|
|
148
|
-
* @param callback The callback
|
|
149
|
-
*/
|
|
150
|
-
move(resourceGroupName: string, moveRequest: Models.MapsAccountsMoveRequest, callback: msRest.ServiceCallback<void>): void;
|
|
151
|
-
/**
|
|
152
|
-
* @param resourceGroupName The name of the resource group that contains Maps Account to move.
|
|
153
|
-
* @param moveRequest The details of the Maps Account move.
|
|
154
|
-
* @param options The optional parameters
|
|
155
|
-
* @param callback The callback
|
|
156
|
-
*/
|
|
157
|
-
move(resourceGroupName: string, moveRequest: Models.MapsAccountsMoveRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
|
158
|
-
/**
|
|
159
|
-
* Get the keys to use with the Maps APIs. A key is used to authenticate and authorize access to
|
|
160
|
-
* the Maps REST APIs. Only one key is needed at a time; two are given to provide seamless key
|
|
161
|
-
* regeneration.
|
|
162
|
-
* @param resourceGroupName The name of the Azure Resource Group.
|
|
163
|
-
* @param accountName The name of the Maps Account.
|
|
164
|
-
* @param [options] The optional parameters
|
|
165
|
-
* @returns Promise<Models.AccountsListKeysResponse>
|
|
166
|
-
*/
|
|
167
|
-
listKeys(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<Models.AccountsListKeysResponse>;
|
|
168
|
-
/**
|
|
169
|
-
* @param resourceGroupName The name of the Azure Resource Group.
|
|
170
|
-
* @param accountName The name of the Maps Account.
|
|
171
|
-
* @param callback The callback
|
|
172
|
-
*/
|
|
173
|
-
listKeys(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<Models.MapsAccountKeys>): void;
|
|
174
|
-
/**
|
|
175
|
-
* @param resourceGroupName The name of the Azure Resource Group.
|
|
176
|
-
* @param accountName The name of the Maps Account.
|
|
177
|
-
* @param options The optional parameters
|
|
178
|
-
* @param callback The callback
|
|
179
|
-
*/
|
|
180
|
-
listKeys(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.MapsAccountKeys>): void;
|
|
181
|
-
/**
|
|
182
|
-
* Regenerate either the primary or secondary key for use with the Maps APIs. The old key will stop
|
|
183
|
-
* working immediately.
|
|
184
|
-
* @param resourceGroupName The name of the Azure Resource Group.
|
|
185
|
-
* @param accountName The name of the Maps Account.
|
|
186
|
-
* @param keySpecification Which key to regenerate: primary or secondary.
|
|
187
|
-
* @param [options] The optional parameters
|
|
188
|
-
* @returns Promise<Models.AccountsRegenerateKeysResponse>
|
|
189
|
-
*/
|
|
190
|
-
regenerateKeys(resourceGroupName: string, accountName: string, keySpecification: Models.MapsKeySpecification, options?: msRest.RequestOptionsBase): Promise<Models.AccountsRegenerateKeysResponse>;
|
|
191
|
-
/**
|
|
192
|
-
* @param resourceGroupName The name of the Azure Resource Group.
|
|
193
|
-
* @param accountName The name of the Maps Account.
|
|
194
|
-
* @param keySpecification Which key to regenerate: primary or secondary.
|
|
195
|
-
* @param callback The callback
|
|
196
|
-
*/
|
|
197
|
-
regenerateKeys(resourceGroupName: string, accountName: string, keySpecification: Models.MapsKeySpecification, callback: msRest.ServiceCallback<Models.MapsAccountKeys>): void;
|
|
198
|
-
/**
|
|
199
|
-
* @param resourceGroupName The name of the Azure Resource Group.
|
|
200
|
-
* @param accountName The name of the Maps Account.
|
|
201
|
-
* @param keySpecification Which key to regenerate: primary or secondary.
|
|
202
|
-
* @param options The optional parameters
|
|
203
|
-
* @param callback The callback
|
|
204
|
-
*/
|
|
205
|
-
regenerateKeys(resourceGroupName: string, accountName: string, keySpecification: Models.MapsKeySpecification, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.MapsAccountKeys>): void;
|
|
206
|
-
/**
|
|
207
|
-
* List operations available for the Maps Resource Provider
|
|
208
|
-
* @param [options] The optional parameters
|
|
209
|
-
* @returns Promise<Models.AccountsListOperationsResponse>
|
|
210
|
-
*/
|
|
211
|
-
listOperations(options?: msRest.RequestOptionsBase): Promise<Models.AccountsListOperationsResponse>;
|
|
212
|
-
/**
|
|
213
|
-
* @param callback The callback
|
|
214
|
-
*/
|
|
215
|
-
listOperations(callback: msRest.ServiceCallback<Models.MapsOperations>): void;
|
|
216
|
-
/**
|
|
217
|
-
* @param options The optional parameters
|
|
218
|
-
* @param callback The callback
|
|
219
|
-
*/
|
|
220
|
-
listOperations(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.MapsOperations>): void;
|
|
221
|
-
}
|
|
222
|
-
//# sourceMappingURL=accounts.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accounts.d.ts","sourceRoot":"","sources":["../../lib/operations/accounts.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAE7E,qCAAqC;AACrC,qBAAa,QAAQ;IACnB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA8B;IAErD;;;OAGG;gBACS,MAAM,EAAE,2BAA2B;IAI/C;;;;;;;;OAQG;IACH,cAAc,CAAC,iBAAiB,EAAE,MAAM,EAAE,WAAW,EAAE,M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AAc,CAAC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,cAAc,CAAC,GAAG,IAAI;IAC7E;;;OAGG;IACH,cAAc,CAAC,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,cAAc,CAAC,GAAG,IAAI;CASlH"}
|
|
@@ -1,347 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
import * as tslib_1 from "tslib";
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as Mappers from "../models/accountsMappers";
|
|
13
|
-
import * as Parameters from "../models/parameters";
|
|
14
|
-
/** Class representing a Accounts. */
|
|
15
|
-
var Accounts = /** @class */ (function () {
|
|
16
|
-
/**
|
|
17
|
-
* Create a Accounts.
|
|
18
|
-
* @param {MapsManagementClientContext} client Reference to the service client.
|
|
19
|
-
*/
|
|
20
|
-
function Accounts(client) {
|
|
21
|
-
this.client = client;
|
|
22
|
-
}
|
|
23
|
-
Accounts.prototype.createOrUpdate = function (resourceGroupName, accountName, mapsAccountCreateParameters, options, callback) {
|
|
24
|
-
return this.client.sendOperationRequest({
|
|
25
|
-
resourceGroupName: resourceGroupName,
|
|
26
|
-
accountName: accountName,
|
|
27
|
-
mapsAccountCreateParameters: mapsAccountCreateParameters,
|
|
28
|
-
options: options
|
|
29
|
-
}, createOrUpdateOperationSpec, callback);
|
|
30
|
-
};
|
|
31
|
-
Accounts.prototype.update = function (resourceGroupName, accountName, mapsAccountUpdateParameters, options, callback) {
|
|
32
|
-
return this.client.sendOperationRequest({
|
|
33
|
-
resourceGroupName: resourceGroupName,
|
|
34
|
-
accountName: accountName,
|
|
35
|
-
mapsAccountUpdateParameters: mapsAccountUpdateParameters,
|
|
36
|
-
options: options
|
|
37
|
-
}, updateOperationSpec, callback);
|
|
38
|
-
};
|
|
39
|
-
Accounts.prototype.deleteMethod = function (resourceGroupName, accountName, options, callback) {
|
|
40
|
-
return this.client.sendOperationRequest({
|
|
41
|
-
resourceGroupName: resourceGroupName,
|
|
42
|
-
accountName: accountName,
|
|
43
|
-
options: options
|
|
44
|
-
}, deleteMethodOperationSpec, callback);
|
|
45
|
-
};
|
|
46
|
-
Accounts.prototype.get = function (resourceGroupName, accountName, options, callback) {
|
|
47
|
-
return this.client.sendOperationRequest({
|
|
48
|
-
resourceGroupName: resourceGroupName,
|
|
49
|
-
accountName: accountName,
|
|
50
|
-
options: options
|
|
51
|
-
}, getOperationSpec, callback);
|
|
52
|
-
};
|
|
53
|
-
Accounts.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
|
|
54
|
-
return this.client.sendOperationRequest({
|
|
55
|
-
resourceGroupName: resourceGroupName,
|
|
56
|
-
options: options
|
|
57
|
-
}, listByResourceGroupOperationSpec, callback);
|
|
58
|
-
};
|
|
59
|
-
Accounts.prototype.listBySubscription = function (options, callback) {
|
|
60
|
-
return this.client.sendOperationRequest({
|
|
61
|
-
options: options
|
|
62
|
-
}, listBySubscriptionOperationSpec, callback);
|
|
63
|
-
};
|
|
64
|
-
Accounts.prototype.move = function (resourceGroupName, moveRequest, options, callback) {
|
|
65
|
-
return this.client.sendOperationRequest({
|
|
66
|
-
resourceGroupName: resourceGroupName,
|
|
67
|
-
moveRequest: moveRequest,
|
|
68
|
-
options: options
|
|
69
|
-
}, moveOperationSpec, callback);
|
|
70
|
-
};
|
|
71
|
-
Accounts.prototype.listKeys = function (resourceGroupName, accountName, options, callback) {
|
|
72
|
-
return this.client.sendOperationRequest({
|
|
73
|
-
resourceGroupName: resourceGroupName,
|
|
74
|
-
accountName: accountName,
|
|
75
|
-
options: options
|
|
76
|
-
}, listKeysOperationSpec, callback);
|
|
77
|
-
};
|
|
78
|
-
Accounts.prototype.regenerateKeys = function (resourceGroupName, accountName, keySpecification, options, callback) {
|
|
79
|
-
return this.client.sendOperationRequest({
|
|
80
|
-
resourceGroupName: resourceGroupName,
|
|
81
|
-
accountName: accountName,
|
|
82
|
-
keySpecification: keySpecification,
|
|
83
|
-
options: options
|
|
84
|
-
}, regenerateKeysOperationSpec, callback);
|
|
85
|
-
};
|
|
86
|
-
Accounts.prototype.listOperations = function (options, callback) {
|
|
87
|
-
return this.client.sendOperationRequest({
|
|
88
|
-
options: options
|
|
89
|
-
}, listOperationsOperationSpec, callback);
|
|
90
|
-
};
|
|
91
|
-
return Accounts;
|
|
92
|
-
}());
|
|
93
|
-
export { Accounts };
|
|
94
|
-
// Operation Specifications
|
|
95
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
96
|
-
var createOrUpdateOperationSpec = {
|
|
97
|
-
httpMethod: "PUT",
|
|
98
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}",
|
|
99
|
-
urlParameters: [
|
|
100
|
-
Parameters.subscriptionId,
|
|
101
|
-
Parameters.resourceGroupName,
|
|
102
|
-
Parameters.accountName
|
|
103
|
-
],
|
|
104
|
-
queryParameters: [
|
|
105
|
-
Parameters.apiVersion
|
|
106
|
-
],
|
|
107
|
-
headerParameters: [
|
|
108
|
-
Parameters.acceptLanguage
|
|
109
|
-
],
|
|
110
|
-
requestBody: {
|
|
111
|
-
parameterPath: "mapsAccountCreateParameters",
|
|
112
|
-
mapper: tslib_1.__assign({}, Mappers.MapsAccountCreateParameters, { required: true })
|
|
113
|
-
},
|
|
114
|
-
responses: {
|
|
115
|
-
200: {
|
|
116
|
-
bodyMapper: Mappers.MapsAccount
|
|
117
|
-
},
|
|
118
|
-
201: {
|
|
119
|
-
bodyMapper: Mappers.MapsAccount
|
|
120
|
-
},
|
|
121
|
-
default: {
|
|
122
|
-
bodyMapper: Mappers.ErrorModel
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
serializer: serializer
|
|
126
|
-
};
|
|
127
|
-
var updateOperationSpec = {
|
|
128
|
-
httpMethod: "PATCH",
|
|
129
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}",
|
|
130
|
-
urlParameters: [
|
|
131
|
-
Parameters.subscriptionId,
|
|
132
|
-
Parameters.resourceGroupName,
|
|
133
|
-
Parameters.accountName
|
|
134
|
-
],
|
|
135
|
-
queryParameters: [
|
|
136
|
-
Parameters.apiVersion
|
|
137
|
-
],
|
|
138
|
-
headerParameters: [
|
|
139
|
-
Parameters.acceptLanguage
|
|
140
|
-
],
|
|
141
|
-
requestBody: {
|
|
142
|
-
parameterPath: "mapsAccountUpdateParameters",
|
|
143
|
-
mapper: tslib_1.__assign({}, Mappers.MapsAccountUpdateParameters, { required: true })
|
|
144
|
-
},
|
|
145
|
-
responses: {
|
|
146
|
-
200: {
|
|
147
|
-
bodyMapper: Mappers.MapsAccount
|
|
148
|
-
},
|
|
149
|
-
404: {},
|
|
150
|
-
default: {
|
|
151
|
-
bodyMapper: Mappers.ErrorModel
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
serializer: serializer
|
|
155
|
-
};
|
|
156
|
-
var deleteMethodOperationSpec = {
|
|
157
|
-
httpMethod: "DELETE",
|
|
158
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}",
|
|
159
|
-
urlParameters: [
|
|
160
|
-
Parameters.subscriptionId,
|
|
161
|
-
Parameters.resourceGroupName,
|
|
162
|
-
Parameters.accountName
|
|
163
|
-
],
|
|
164
|
-
queryParameters: [
|
|
165
|
-
Parameters.apiVersion
|
|
166
|
-
],
|
|
167
|
-
headerParameters: [
|
|
168
|
-
Parameters.acceptLanguage
|
|
169
|
-
],
|
|
170
|
-
responses: {
|
|
171
|
-
200: {},
|
|
172
|
-
204: {},
|
|
173
|
-
default: {
|
|
174
|
-
bodyMapper: Mappers.ErrorModel
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
serializer: serializer
|
|
178
|
-
};
|
|
179
|
-
var getOperationSpec = {
|
|
180
|
-
httpMethod: "GET",
|
|
181
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}",
|
|
182
|
-
urlParameters: [
|
|
183
|
-
Parameters.subscriptionId,
|
|
184
|
-
Parameters.resourceGroupName,
|
|
185
|
-
Parameters.accountName
|
|
186
|
-
],
|
|
187
|
-
queryParameters: [
|
|
188
|
-
Parameters.apiVersion
|
|
189
|
-
],
|
|
190
|
-
headerParameters: [
|
|
191
|
-
Parameters.acceptLanguage
|
|
192
|
-
],
|
|
193
|
-
responses: {
|
|
194
|
-
200: {
|
|
195
|
-
bodyMapper: Mappers.MapsAccount
|
|
196
|
-
},
|
|
197
|
-
404: {},
|
|
198
|
-
default: {
|
|
199
|
-
bodyMapper: Mappers.ErrorModel
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
serializer: serializer
|
|
203
|
-
};
|
|
204
|
-
var listByResourceGroupOperationSpec = {
|
|
205
|
-
httpMethod: "GET",
|
|
206
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts",
|
|
207
|
-
urlParameters: [
|
|
208
|
-
Parameters.subscriptionId,
|
|
209
|
-
Parameters.resourceGroupName
|
|
210
|
-
],
|
|
211
|
-
queryParameters: [
|
|
212
|
-
Parameters.apiVersion
|
|
213
|
-
],
|
|
214
|
-
headerParameters: [
|
|
215
|
-
Parameters.acceptLanguage
|
|
216
|
-
],
|
|
217
|
-
responses: {
|
|
218
|
-
200: {
|
|
219
|
-
bodyMapper: Mappers.MapsAccounts
|
|
220
|
-
},
|
|
221
|
-
default: {
|
|
222
|
-
bodyMapper: Mappers.ErrorModel
|
|
223
|
-
}
|
|
224
|
-
},
|
|
225
|
-
serializer: serializer
|
|
226
|
-
};
|
|
227
|
-
var listBySubscriptionOperationSpec = {
|
|
228
|
-
httpMethod: "GET",
|
|
229
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Maps/accounts",
|
|
230
|
-
urlParameters: [
|
|
231
|
-
Parameters.subscriptionId
|
|
232
|
-
],
|
|
233
|
-
queryParameters: [
|
|
234
|
-
Parameters.apiVersion
|
|
235
|
-
],
|
|
236
|
-
headerParameters: [
|
|
237
|
-
Parameters.acceptLanguage
|
|
238
|
-
],
|
|
239
|
-
responses: {
|
|
240
|
-
200: {
|
|
241
|
-
bodyMapper: Mappers.MapsAccounts
|
|
242
|
-
},
|
|
243
|
-
default: {
|
|
244
|
-
bodyMapper: Mappers.ErrorModel
|
|
245
|
-
}
|
|
246
|
-
},
|
|
247
|
-
serializer: serializer
|
|
248
|
-
};
|
|
249
|
-
var moveOperationSpec = {
|
|
250
|
-
httpMethod: "POST",
|
|
251
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources",
|
|
252
|
-
urlParameters: [
|
|
253
|
-
Parameters.subscriptionId,
|
|
254
|
-
Parameters.resourceGroupName
|
|
255
|
-
],
|
|
256
|
-
queryParameters: [
|
|
257
|
-
Parameters.apiVersion
|
|
258
|
-
],
|
|
259
|
-
headerParameters: [
|
|
260
|
-
Parameters.acceptLanguage
|
|
261
|
-
],
|
|
262
|
-
requestBody: {
|
|
263
|
-
parameterPath: "moveRequest",
|
|
264
|
-
mapper: tslib_1.__assign({}, Mappers.MapsAccountsMoveRequest, { required: true })
|
|
265
|
-
},
|
|
266
|
-
responses: {
|
|
267
|
-
200: {},
|
|
268
|
-
default: {
|
|
269
|
-
bodyMapper: Mappers.ErrorModel
|
|
270
|
-
}
|
|
271
|
-
},
|
|
272
|
-
serializer: serializer
|
|
273
|
-
};
|
|
274
|
-
var listKeysOperationSpec = {
|
|
275
|
-
httpMethod: "POST",
|
|
276
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/listKeys",
|
|
277
|
-
urlParameters: [
|
|
278
|
-
Parameters.subscriptionId,
|
|
279
|
-
Parameters.resourceGroupName,
|
|
280
|
-
Parameters.accountName
|
|
281
|
-
],
|
|
282
|
-
queryParameters: [
|
|
283
|
-
Parameters.apiVersion
|
|
284
|
-
],
|
|
285
|
-
headerParameters: [
|
|
286
|
-
Parameters.acceptLanguage
|
|
287
|
-
],
|
|
288
|
-
responses: {
|
|
289
|
-
200: {
|
|
290
|
-
bodyMapper: Mappers.MapsAccountKeys
|
|
291
|
-
},
|
|
292
|
-
404: {},
|
|
293
|
-
default: {
|
|
294
|
-
bodyMapper: Mappers.ErrorModel
|
|
295
|
-
}
|
|
296
|
-
},
|
|
297
|
-
serializer: serializer
|
|
298
|
-
};
|
|
299
|
-
var regenerateKeysOperationSpec = {
|
|
300
|
-
httpMethod: "POST",
|
|
301
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maps/accounts/{accountName}/regenerateKey",
|
|
302
|
-
urlParameters: [
|
|
303
|
-
Parameters.subscriptionId,
|
|
304
|
-
Parameters.resourceGroupName,
|
|
305
|
-
Parameters.accountName
|
|
306
|
-
],
|
|
307
|
-
queryParameters: [
|
|
308
|
-
Parameters.apiVersion
|
|
309
|
-
],
|
|
310
|
-
headerParameters: [
|
|
311
|
-
Parameters.acceptLanguage
|
|
312
|
-
],
|
|
313
|
-
requestBody: {
|
|
314
|
-
parameterPath: "keySpecification",
|
|
315
|
-
mapper: tslib_1.__assign({}, Mappers.MapsKeySpecification, { required: true })
|
|
316
|
-
},
|
|
317
|
-
responses: {
|
|
318
|
-
200: {
|
|
319
|
-
bodyMapper: Mappers.MapsAccountKeys
|
|
320
|
-
},
|
|
321
|
-
404: {},
|
|
322
|
-
default: {
|
|
323
|
-
bodyMapper: Mappers.ErrorModel
|
|
324
|
-
}
|
|
325
|
-
},
|
|
326
|
-
serializer: serializer
|
|
327
|
-
};
|
|
328
|
-
var listOperationsOperationSpec = {
|
|
329
|
-
httpMethod: "GET",
|
|
330
|
-
path: "providers/Microsoft.Maps/operations",
|
|
331
|
-
queryParameters: [
|
|
332
|
-
Parameters.apiVersion
|
|
333
|
-
],
|
|
334
|
-
headerParameters: [
|
|
335
|
-
Parameters.acceptLanguage
|
|
336
|
-
],
|
|
337
|
-
responses: {
|
|
338
|
-
200: {
|
|
339
|
-
bodyMapper: Mappers.MapsOperations
|
|
340
|
-
},
|
|
341
|
-
default: {
|
|
342
|
-
bodyMapper: Mappers.ErrorModel
|
|
343
|
-
}
|
|
344
|
-
},
|
|
345
|
-
serializer: serializer
|
|
346
|
-
};
|
|
347
|
-
//# sourceMappingURL=accounts.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accounts.js","sourceRoot":"","sources":["../../lib/operations/accounts.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,2BAA2B,CAAC;AACrD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,qCAAqC;AACrC;IAGE;;;OAGG;IACH,kBAAY,MAAmC;QAC7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IA2BD,iCAAc,GAAd,UAAe,iBAAyB,EAAE,WAAmB,EAAE,2BAA+D,EAAE,OAAgF,EAAE,QAAqD;QACrQ,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,WAAW,aAAA;YACX,2BAA2B,6BAAA;YAC3B,OAAO,SAAA;SACR,EACD,2BAA2B,EAC3B,QAAQ,CAAmD,CAAC;IAChE,CAAC;IA2BD,yBAAM,GAAN,UAAO,iBAAyB,EAAE,WAAmB,EAAE,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,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,WAAW,EAAE;QACX,aAAa,EAAE,kBAAkB;QACjC,MAAM,uBACD,OAAO,CAAC,oBAAoB,IAC/B,QAAQ,EAAE,IAAI,GACf;KACF;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;QACD,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,2BAA2B,GAAyB;IACxD,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,qCAAqC;IAC3C,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,cAAc;SACnC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/operations/index.ts"],"names":[],"mappings":"AAUA,cAAc,YAAY,CAAC"}
|
package/esm/operations/index.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
export * from "./accounts";
|
|
11
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,cAAc,YAAY,CAAC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as Models from "./models";
|
|
13
|
-
import * as Mappers from "./models/mappers";
|
|
14
|
-
import * as operations from "./operations";
|
|
15
|
-
import { MapsManagementClientContext } from "./mapsManagementClientContext";
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
class MapsManagementClient extends MapsManagementClientContext {
|
|
19
|
-
// Operation groups
|
|
20
|
-
accounts: operations.Accounts;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Initializes a new instance of the MapsManagementClient class.
|
|
24
|
-
* @param credentials Credentials needed for the client to connect to Azure.
|
|
25
|
-
* @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure
|
|
26
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
|
27
|
-
* @param [options] The parameter options
|
|
28
|
-
*/
|
|
29
|
-
constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MapsManagementClientOptions) {
|
|
30
|
-
super(credentials, subscriptionId, options);
|
|
31
|
-
this.accounts = new operations.Accounts(this);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
// Operation Specifications
|
|
36
|
-
|
|
37
|
-
export {
|
|
38
|
-
MapsManagementClient,
|
|
39
|
-
MapsManagementClientContext,
|
|
40
|
-
Models as MapsManagementModels,
|
|
41
|
-
Mappers as MapsManagementMappers
|
|
42
|
-
};
|
|
43
|
-
export * from "./operations";
|