@azure/arm-datacatalog 2.0.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 +70 -78
- package/dist/index.js +668 -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/dataCatalogRestClient.d.ts +22 -0
- package/dist-esm/src/dataCatalogRestClient.d.ts.map +1 -0
- package/dist-esm/src/dataCatalogRestClient.js +58 -0
- package/dist-esm/src/dataCatalogRestClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +4 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/{esm/models/aDCOperationsMappers.js → dist-esm/src/index.js} +4 -2
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +133 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +14 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +9 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +101 -116
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +10 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +92 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/aDCCatalogs.d.ts +62 -0
- package/dist-esm/src/operations/aDCCatalogs.d.ts.map +1 -0
- package/dist-esm/src/operations/aDCCatalogs.js +208 -0
- package/dist-esm/src/operations/aDCCatalogs.js.map +1 -0
- package/dist-esm/src/operations/aDCOperations.d.ts +18 -0
- package/dist-esm/src/operations/aDCOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/aDCOperations.js +43 -0
- package/dist-esm/src/operations/aDCOperations.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/operationsInterfaces/aDCCatalogs.d.ts +54 -0
- package/dist-esm/src/operationsInterfaces/aDCCatalogs.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/aDCCatalogs.js} +2 -1
- package/dist-esm/src/operationsInterfaces/aDCCatalogs.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/aDCOperations.d.ts +10 -0
- package/dist-esm/src/operationsInterfaces/aDCOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/aDCOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/aDCOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +10 -0
- package/dist-esm/src/operationsInterfaces/index.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 +69 -32
- package/review/arm-datacatalog.api.md +157 -0
- package/rollup.config.js +181 -30
- package/src/dataCatalogRestClient.ts +70 -37
- package/src/{models/aDCCatalogsMappers.ts → index.ts} +3 -8
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +108 -207
- package/src/models/mappers.ts +104 -119
- package/src/models/parameters.ts +59 -20
- package/src/operations/aDCCatalogs.ts +193 -251
- package/src/operations/aDCOperations.ts +27 -44
- package/src/operations/index.ts +1 -2
- package/src/operationsInterfaces/aDCCatalogs.ts +93 -0
- package/src/operationsInterfaces/aDCOperations.ts +23 -0
- package/src/{models/aDCOperationsMappers.ts → operationsInterfaces/index.ts} +2 -6
- package/tsconfig.json +3 -3
- package/types/arm-datacatalog.d.ts +237 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-datacatalog.js +0 -765
- package/dist/arm-datacatalog.js.map +0 -1
- package/dist/arm-datacatalog.min.js +0 -1
- package/dist/arm-datacatalog.min.js.map +0 -1
- package/esm/dataCatalogRestClient.d.ts +0 -28
- package/esm/dataCatalogRestClient.d.ts.map +0 -1
- package/esm/dataCatalogRestClient.js +0 -41
- package/esm/dataCatalogRestClient.js.map +0 -1
- package/esm/dataCatalogRestClientContext.d.ts +0 -26
- package/esm/dataCatalogRestClientContext.d.ts.map +0 -1
- package/esm/dataCatalogRestClientContext.js +0 -67
- package/esm/dataCatalogRestClientContext.js.map +0 -1
- package/esm/models/aDCCatalogsMappers.d.ts +0 -2
- package/esm/models/aDCCatalogsMappers.d.ts.map +0 -1
- package/esm/models/aDCCatalogsMappers.js +0 -9
- package/esm/models/aDCCatalogsMappers.js.map +0 -1
- package/esm/models/aDCOperationsMappers.d.ts +0 -2
- package/esm/models/aDCOperationsMappers.d.ts.map +0 -1
- package/esm/models/aDCOperationsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -235
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -11
- package/esm/models/mappers.d.ts.map +0 -1
- 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 -64
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/aDCCatalogs.d.ts +0 -131
- package/esm/operations/aDCCatalogs.d.ts.map +0 -1
- package/esm/operations/aDCCatalogs.js +0 -209
- package/esm/operations/aDCCatalogs.js.map +0 -1
- package/esm/operations/aDCOperations.d.ts +0 -28
- package/esm/operations/aDCOperations.d.ts.map +0 -1
- package/esm/operations/aDCOperations.js +0 -50
- package/esm/operations/aDCOperations.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/src/dataCatalogRestClientContext.ts +0 -75
package/dist/arm-datacatalog.js
DELETED
|
@@ -1,765 +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.ArmDatacatalog = {}), 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 Principals = {
|
|
76
|
-
serializedName: "Principals",
|
|
77
|
-
type: {
|
|
78
|
-
name: "Composite",
|
|
79
|
-
className: "Principals",
|
|
80
|
-
modelProperties: {
|
|
81
|
-
upn: {
|
|
82
|
-
serializedName: "upn",
|
|
83
|
-
type: {
|
|
84
|
-
name: "String"
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
objectId: {
|
|
88
|
-
serializedName: "objectId",
|
|
89
|
-
type: {
|
|
90
|
-
name: "String"
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
};
|
|
96
|
-
var Resource = {
|
|
97
|
-
serializedName: "Resource",
|
|
98
|
-
type: {
|
|
99
|
-
name: "Composite",
|
|
100
|
-
className: "Resource",
|
|
101
|
-
modelProperties: {
|
|
102
|
-
id: {
|
|
103
|
-
readOnly: true,
|
|
104
|
-
serializedName: "id",
|
|
105
|
-
type: {
|
|
106
|
-
name: "String"
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
name: {
|
|
110
|
-
readOnly: true,
|
|
111
|
-
serializedName: "name",
|
|
112
|
-
type: {
|
|
113
|
-
name: "String"
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
type: {
|
|
117
|
-
readOnly: true,
|
|
118
|
-
serializedName: "type",
|
|
119
|
-
type: {
|
|
120
|
-
name: "String"
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
location: {
|
|
124
|
-
serializedName: "location",
|
|
125
|
-
type: {
|
|
126
|
-
name: "String"
|
|
127
|
-
}
|
|
128
|
-
},
|
|
129
|
-
tags: {
|
|
130
|
-
serializedName: "tags",
|
|
131
|
-
type: {
|
|
132
|
-
name: "Dictionary",
|
|
133
|
-
value: {
|
|
134
|
-
type: {
|
|
135
|
-
name: "String"
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
etag: {
|
|
141
|
-
serializedName: "etag",
|
|
142
|
-
type: {
|
|
143
|
-
name: "String"
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
};
|
|
149
|
-
var ADCCatalog = {
|
|
150
|
-
serializedName: "ADCCatalog",
|
|
151
|
-
type: {
|
|
152
|
-
name: "Composite",
|
|
153
|
-
className: "ADCCatalog",
|
|
154
|
-
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { sku: {
|
|
155
|
-
serializedName: "properties.sku",
|
|
156
|
-
type: {
|
|
157
|
-
name: "String"
|
|
158
|
-
}
|
|
159
|
-
}, units: {
|
|
160
|
-
serializedName: "properties.units",
|
|
161
|
-
type: {
|
|
162
|
-
name: "Number"
|
|
163
|
-
}
|
|
164
|
-
}, admins: {
|
|
165
|
-
serializedName: "properties.admins",
|
|
166
|
-
type: {
|
|
167
|
-
name: "Sequence",
|
|
168
|
-
element: {
|
|
169
|
-
type: {
|
|
170
|
-
name: "Composite",
|
|
171
|
-
className: "Principals"
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
}, users: {
|
|
176
|
-
serializedName: "properties.users",
|
|
177
|
-
type: {
|
|
178
|
-
name: "Sequence",
|
|
179
|
-
element: {
|
|
180
|
-
type: {
|
|
181
|
-
name: "Composite",
|
|
182
|
-
className: "Principals"
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
}, successfullyProvisioned: {
|
|
187
|
-
serializedName: "properties.successfullyProvisioned",
|
|
188
|
-
type: {
|
|
189
|
-
name: "Boolean"
|
|
190
|
-
}
|
|
191
|
-
}, enableAutomaticUnitAdjustment: {
|
|
192
|
-
serializedName: "properties.enableAutomaticUnitAdjustment",
|
|
193
|
-
type: {
|
|
194
|
-
name: "Boolean"
|
|
195
|
-
}
|
|
196
|
-
} })
|
|
197
|
-
}
|
|
198
|
-
};
|
|
199
|
-
var ADCCatalogsListResult = {
|
|
200
|
-
serializedName: "ADCCatalogsListResult",
|
|
201
|
-
type: {
|
|
202
|
-
name: "Composite",
|
|
203
|
-
className: "ADCCatalogsListResult",
|
|
204
|
-
modelProperties: {
|
|
205
|
-
value: {
|
|
206
|
-
serializedName: "value",
|
|
207
|
-
type: {
|
|
208
|
-
name: "Sequence",
|
|
209
|
-
element: {
|
|
210
|
-
type: {
|
|
211
|
-
name: "Composite",
|
|
212
|
-
className: "ADCCatalog"
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
};
|
|
220
|
-
var OperationDisplayInfo = {
|
|
221
|
-
serializedName: "OperationDisplayInfo",
|
|
222
|
-
type: {
|
|
223
|
-
name: "Composite",
|
|
224
|
-
className: "OperationDisplayInfo",
|
|
225
|
-
modelProperties: {
|
|
226
|
-
description: {
|
|
227
|
-
serializedName: "description",
|
|
228
|
-
type: {
|
|
229
|
-
name: "String"
|
|
230
|
-
}
|
|
231
|
-
},
|
|
232
|
-
operation: {
|
|
233
|
-
serializedName: "operation",
|
|
234
|
-
type: {
|
|
235
|
-
name: "String"
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
|
-
provider: {
|
|
239
|
-
serializedName: "provider",
|
|
240
|
-
type: {
|
|
241
|
-
name: "String"
|
|
242
|
-
}
|
|
243
|
-
},
|
|
244
|
-
resource: {
|
|
245
|
-
serializedName: "resource",
|
|
246
|
-
type: {
|
|
247
|
-
name: "String"
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
};
|
|
253
|
-
var OperationEntity = {
|
|
254
|
-
serializedName: "OperationEntity",
|
|
255
|
-
type: {
|
|
256
|
-
name: "Composite",
|
|
257
|
-
className: "OperationEntity",
|
|
258
|
-
modelProperties: {
|
|
259
|
-
name: {
|
|
260
|
-
serializedName: "name",
|
|
261
|
-
type: {
|
|
262
|
-
name: "String"
|
|
263
|
-
}
|
|
264
|
-
},
|
|
265
|
-
display: {
|
|
266
|
-
serializedName: "display",
|
|
267
|
-
type: {
|
|
268
|
-
name: "Composite",
|
|
269
|
-
className: "OperationDisplayInfo"
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
};
|
|
275
|
-
var OperationEntityListResult = {
|
|
276
|
-
serializedName: "OperationEntityListResult",
|
|
277
|
-
type: {
|
|
278
|
-
name: "Composite",
|
|
279
|
-
className: "OperationEntityListResult",
|
|
280
|
-
modelProperties: {
|
|
281
|
-
value: {
|
|
282
|
-
serializedName: "value",
|
|
283
|
-
type: {
|
|
284
|
-
name: "Sequence",
|
|
285
|
-
element: {
|
|
286
|
-
type: {
|
|
287
|
-
name: "Composite",
|
|
288
|
-
className: "OperationEntity"
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
};
|
|
296
|
-
|
|
297
|
-
var mappers = /*#__PURE__*/Object.freeze({
|
|
298
|
-
__proto__: null,
|
|
299
|
-
CloudError: CloudError,
|
|
300
|
-
BaseResource: BaseResource,
|
|
301
|
-
Principals: Principals,
|
|
302
|
-
Resource: Resource,
|
|
303
|
-
ADCCatalog: ADCCatalog,
|
|
304
|
-
ADCCatalogsListResult: ADCCatalogsListResult,
|
|
305
|
-
OperationDisplayInfo: OperationDisplayInfo,
|
|
306
|
-
OperationEntity: OperationEntity,
|
|
307
|
-
OperationEntityListResult: OperationEntityListResult
|
|
308
|
-
});
|
|
309
|
-
|
|
310
|
-
/*
|
|
311
|
-
* Copyright (c) Microsoft Corporation.
|
|
312
|
-
* Licensed under the MIT License.
|
|
313
|
-
*
|
|
314
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
315
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
316
|
-
*/
|
|
317
|
-
|
|
318
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
319
|
-
__proto__: null,
|
|
320
|
-
CloudError: CloudError,
|
|
321
|
-
OperationDisplayInfo: OperationDisplayInfo,
|
|
322
|
-
OperationEntity: OperationEntity,
|
|
323
|
-
OperationEntityListResult: OperationEntityListResult
|
|
324
|
-
});
|
|
325
|
-
|
|
326
|
-
/*
|
|
327
|
-
* Copyright (c) Microsoft Corporation.
|
|
328
|
-
* Licensed under the MIT License.
|
|
329
|
-
*
|
|
330
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
331
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
332
|
-
* regenerated.
|
|
333
|
-
*/
|
|
334
|
-
var acceptLanguage = {
|
|
335
|
-
parameterPath: "acceptLanguage",
|
|
336
|
-
mapper: {
|
|
337
|
-
serializedName: "accept-language",
|
|
338
|
-
defaultValue: 'en-US',
|
|
339
|
-
type: {
|
|
340
|
-
name: "String"
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
};
|
|
344
|
-
var apiVersion = {
|
|
345
|
-
parameterPath: "apiVersion",
|
|
346
|
-
mapper: {
|
|
347
|
-
required: true,
|
|
348
|
-
serializedName: "api-version",
|
|
349
|
-
type: {
|
|
350
|
-
name: "String"
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
};
|
|
354
|
-
var catalogName = {
|
|
355
|
-
parameterPath: "catalogName",
|
|
356
|
-
mapper: {
|
|
357
|
-
required: true,
|
|
358
|
-
serializedName: "catalogName",
|
|
359
|
-
type: {
|
|
360
|
-
name: "String"
|
|
361
|
-
}
|
|
362
|
-
}
|
|
363
|
-
};
|
|
364
|
-
var resourceGroupName = {
|
|
365
|
-
parameterPath: "resourceGroupName",
|
|
366
|
-
mapper: {
|
|
367
|
-
required: true,
|
|
368
|
-
serializedName: "resourceGroupName",
|
|
369
|
-
constraints: {
|
|
370
|
-
MaxLength: 90,
|
|
371
|
-
MinLength: 1,
|
|
372
|
-
Pattern: /^[-\w\._\(\)]+$/
|
|
373
|
-
},
|
|
374
|
-
type: {
|
|
375
|
-
name: "String"
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
};
|
|
379
|
-
var subscriptionId = {
|
|
380
|
-
parameterPath: "subscriptionId",
|
|
381
|
-
mapper: {
|
|
382
|
-
required: true,
|
|
383
|
-
serializedName: "subscriptionId",
|
|
384
|
-
type: {
|
|
385
|
-
name: "String"
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
};
|
|
389
|
-
|
|
390
|
-
/*
|
|
391
|
-
* Copyright (c) Microsoft Corporation.
|
|
392
|
-
* Licensed under the MIT License.
|
|
393
|
-
*
|
|
394
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
395
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
396
|
-
* regenerated.
|
|
397
|
-
*/
|
|
398
|
-
/** Class representing a ADCOperations. */
|
|
399
|
-
var ADCOperations = /** @class */ (function () {
|
|
400
|
-
/**
|
|
401
|
-
* Create a ADCOperations.
|
|
402
|
-
* @param {DataCatalogRestClientContext} client Reference to the service client.
|
|
403
|
-
*/
|
|
404
|
-
function ADCOperations(client) {
|
|
405
|
-
this.client = client;
|
|
406
|
-
}
|
|
407
|
-
ADCOperations.prototype.list = function (options, callback) {
|
|
408
|
-
return this.client.sendOperationRequest({
|
|
409
|
-
options: options
|
|
410
|
-
}, listOperationSpec, callback);
|
|
411
|
-
};
|
|
412
|
-
return ADCOperations;
|
|
413
|
-
}());
|
|
414
|
-
// Operation Specifications
|
|
415
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
416
|
-
var listOperationSpec = {
|
|
417
|
-
httpMethod: "GET",
|
|
418
|
-
path: "providers/Microsoft.DataCatalog/operations",
|
|
419
|
-
queryParameters: [
|
|
420
|
-
apiVersion
|
|
421
|
-
],
|
|
422
|
-
headerParameters: [
|
|
423
|
-
acceptLanguage
|
|
424
|
-
],
|
|
425
|
-
responses: {
|
|
426
|
-
200: {
|
|
427
|
-
bodyMapper: OperationEntityListResult
|
|
428
|
-
},
|
|
429
|
-
default: {
|
|
430
|
-
bodyMapper: CloudError
|
|
431
|
-
}
|
|
432
|
-
},
|
|
433
|
-
serializer: serializer
|
|
434
|
-
};
|
|
435
|
-
|
|
436
|
-
/*
|
|
437
|
-
* Copyright (c) Microsoft Corporation.
|
|
438
|
-
* Licensed under the MIT License.
|
|
439
|
-
*
|
|
440
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
441
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
442
|
-
*/
|
|
443
|
-
|
|
444
|
-
var Mappers$1 = /*#__PURE__*/Object.freeze({
|
|
445
|
-
__proto__: null,
|
|
446
|
-
ADCCatalog: ADCCatalog,
|
|
447
|
-
ADCCatalogsListResult: ADCCatalogsListResult,
|
|
448
|
-
BaseResource: BaseResource,
|
|
449
|
-
CloudError: CloudError,
|
|
450
|
-
Principals: Principals,
|
|
451
|
-
Resource: Resource
|
|
452
|
-
});
|
|
453
|
-
|
|
454
|
-
/*
|
|
455
|
-
* Copyright (c) Microsoft Corporation.
|
|
456
|
-
* Licensed under the MIT License.
|
|
457
|
-
*
|
|
458
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
459
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
460
|
-
* regenerated.
|
|
461
|
-
*/
|
|
462
|
-
/** Class representing a ADCCatalogs. */
|
|
463
|
-
var ADCCatalogs = /** @class */ (function () {
|
|
464
|
-
/**
|
|
465
|
-
* Create a ADCCatalogs.
|
|
466
|
-
* @param {DataCatalogRestClientContext} client Reference to the service client.
|
|
467
|
-
*/
|
|
468
|
-
function ADCCatalogs(client) {
|
|
469
|
-
this.client = client;
|
|
470
|
-
}
|
|
471
|
-
ADCCatalogs.prototype.listtByResourceGroup = function (resourceGroupName, options, callback) {
|
|
472
|
-
return this.client.sendOperationRequest({
|
|
473
|
-
resourceGroupName: resourceGroupName,
|
|
474
|
-
options: options
|
|
475
|
-
}, listtByResourceGroupOperationSpec, callback);
|
|
476
|
-
};
|
|
477
|
-
ADCCatalogs.prototype.createOrUpdate = function (resourceGroupName, properties, options, callback) {
|
|
478
|
-
return this.client.sendOperationRequest({
|
|
479
|
-
resourceGroupName: resourceGroupName,
|
|
480
|
-
properties: properties,
|
|
481
|
-
options: options
|
|
482
|
-
}, createOrUpdateOperationSpec, callback);
|
|
483
|
-
};
|
|
484
|
-
ADCCatalogs.prototype.get = function (resourceGroupName, options, callback) {
|
|
485
|
-
return this.client.sendOperationRequest({
|
|
486
|
-
resourceGroupName: resourceGroupName,
|
|
487
|
-
options: options
|
|
488
|
-
}, getOperationSpec, callback);
|
|
489
|
-
};
|
|
490
|
-
/**
|
|
491
|
-
* The Delete Azure Data Catalog Service operation deletes an existing data catalog.
|
|
492
|
-
* @summary Delete Azure Data Catalog Service (DELETE Resource)
|
|
493
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
494
|
-
* is case insensitive.
|
|
495
|
-
* @param [options] The optional parameters
|
|
496
|
-
* @returns Promise<msRest.RestResponse>
|
|
497
|
-
*/
|
|
498
|
-
ADCCatalogs.prototype.deleteMethod = function (resourceGroupName, options) {
|
|
499
|
-
return this.beginDeleteMethod(resourceGroupName, options)
|
|
500
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
501
|
-
};
|
|
502
|
-
ADCCatalogs.prototype.update = function (resourceGroupName, properties, options, callback) {
|
|
503
|
-
return this.client.sendOperationRequest({
|
|
504
|
-
resourceGroupName: resourceGroupName,
|
|
505
|
-
properties: properties,
|
|
506
|
-
options: options
|
|
507
|
-
}, updateOperationSpec, callback);
|
|
508
|
-
};
|
|
509
|
-
/**
|
|
510
|
-
* The Delete Azure Data Catalog Service operation deletes an existing data catalog.
|
|
511
|
-
* @summary Delete Azure Data Catalog Service (DELETE Resource)
|
|
512
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
513
|
-
* is case insensitive.
|
|
514
|
-
* @param [options] The optional parameters
|
|
515
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
516
|
-
*/
|
|
517
|
-
ADCCatalogs.prototype.beginDeleteMethod = function (resourceGroupName, options) {
|
|
518
|
-
return this.client.sendLRORequest({
|
|
519
|
-
resourceGroupName: resourceGroupName,
|
|
520
|
-
options: options
|
|
521
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
522
|
-
};
|
|
523
|
-
return ADCCatalogs;
|
|
524
|
-
}());
|
|
525
|
-
// Operation Specifications
|
|
526
|
-
var serializer$1 = new msRest.Serializer(Mappers$1);
|
|
527
|
-
var listtByResourceGroupOperationSpec = {
|
|
528
|
-
httpMethod: "GET",
|
|
529
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataCatalog/catalogs",
|
|
530
|
-
urlParameters: [
|
|
531
|
-
subscriptionId,
|
|
532
|
-
resourceGroupName
|
|
533
|
-
],
|
|
534
|
-
queryParameters: [
|
|
535
|
-
apiVersion
|
|
536
|
-
],
|
|
537
|
-
headerParameters: [
|
|
538
|
-
acceptLanguage
|
|
539
|
-
],
|
|
540
|
-
responses: {
|
|
541
|
-
200: {
|
|
542
|
-
bodyMapper: ADCCatalogsListResult
|
|
543
|
-
},
|
|
544
|
-
default: {
|
|
545
|
-
bodyMapper: CloudError
|
|
546
|
-
}
|
|
547
|
-
},
|
|
548
|
-
serializer: serializer$1
|
|
549
|
-
};
|
|
550
|
-
var createOrUpdateOperationSpec = {
|
|
551
|
-
httpMethod: "PUT",
|
|
552
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataCatalog/catalogs/{catalogName}",
|
|
553
|
-
urlParameters: [
|
|
554
|
-
subscriptionId,
|
|
555
|
-
resourceGroupName,
|
|
556
|
-
catalogName
|
|
557
|
-
],
|
|
558
|
-
queryParameters: [
|
|
559
|
-
apiVersion
|
|
560
|
-
],
|
|
561
|
-
headerParameters: [
|
|
562
|
-
acceptLanguage
|
|
563
|
-
],
|
|
564
|
-
requestBody: {
|
|
565
|
-
parameterPath: "properties",
|
|
566
|
-
mapper: __assign(__assign({}, ADCCatalog), { required: true })
|
|
567
|
-
},
|
|
568
|
-
responses: {
|
|
569
|
-
200: {
|
|
570
|
-
bodyMapper: ADCCatalog
|
|
571
|
-
},
|
|
572
|
-
201: {
|
|
573
|
-
bodyMapper: ADCCatalog
|
|
574
|
-
},
|
|
575
|
-
default: {
|
|
576
|
-
bodyMapper: CloudError
|
|
577
|
-
}
|
|
578
|
-
},
|
|
579
|
-
serializer: serializer$1
|
|
580
|
-
};
|
|
581
|
-
var getOperationSpec = {
|
|
582
|
-
httpMethod: "GET",
|
|
583
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataCatalog/catalogs/{catalogName}",
|
|
584
|
-
urlParameters: [
|
|
585
|
-
subscriptionId,
|
|
586
|
-
resourceGroupName,
|
|
587
|
-
catalogName
|
|
588
|
-
],
|
|
589
|
-
queryParameters: [
|
|
590
|
-
apiVersion
|
|
591
|
-
],
|
|
592
|
-
headerParameters: [
|
|
593
|
-
acceptLanguage
|
|
594
|
-
],
|
|
595
|
-
responses: {
|
|
596
|
-
200: {
|
|
597
|
-
bodyMapper: ADCCatalog
|
|
598
|
-
},
|
|
599
|
-
default: {
|
|
600
|
-
bodyMapper: CloudError
|
|
601
|
-
}
|
|
602
|
-
},
|
|
603
|
-
serializer: serializer$1
|
|
604
|
-
};
|
|
605
|
-
var updateOperationSpec = {
|
|
606
|
-
httpMethod: "PATCH",
|
|
607
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataCatalog/catalogs/{catalogName}",
|
|
608
|
-
urlParameters: [
|
|
609
|
-
subscriptionId,
|
|
610
|
-
resourceGroupName,
|
|
611
|
-
catalogName
|
|
612
|
-
],
|
|
613
|
-
queryParameters: [
|
|
614
|
-
apiVersion
|
|
615
|
-
],
|
|
616
|
-
headerParameters: [
|
|
617
|
-
acceptLanguage
|
|
618
|
-
],
|
|
619
|
-
requestBody: {
|
|
620
|
-
parameterPath: "properties",
|
|
621
|
-
mapper: __assign(__assign({}, ADCCatalog), { required: true })
|
|
622
|
-
},
|
|
623
|
-
responses: {
|
|
624
|
-
200: {
|
|
625
|
-
bodyMapper: ADCCatalog
|
|
626
|
-
},
|
|
627
|
-
default: {
|
|
628
|
-
bodyMapper: CloudError
|
|
629
|
-
}
|
|
630
|
-
},
|
|
631
|
-
serializer: serializer$1
|
|
632
|
-
};
|
|
633
|
-
var beginDeleteMethodOperationSpec = {
|
|
634
|
-
httpMethod: "DELETE",
|
|
635
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataCatalog/catalogs/{catalogName}",
|
|
636
|
-
urlParameters: [
|
|
637
|
-
subscriptionId,
|
|
638
|
-
resourceGroupName,
|
|
639
|
-
catalogName
|
|
640
|
-
],
|
|
641
|
-
queryParameters: [
|
|
642
|
-
apiVersion
|
|
643
|
-
],
|
|
644
|
-
headerParameters: [
|
|
645
|
-
acceptLanguage
|
|
646
|
-
],
|
|
647
|
-
responses: {
|
|
648
|
-
200: {},
|
|
649
|
-
202: {},
|
|
650
|
-
204: {},
|
|
651
|
-
default: {
|
|
652
|
-
bodyMapper: CloudError
|
|
653
|
-
}
|
|
654
|
-
},
|
|
655
|
-
serializer: serializer$1
|
|
656
|
-
};
|
|
657
|
-
|
|
658
|
-
/*
|
|
659
|
-
* Copyright (c) Microsoft Corporation.
|
|
660
|
-
* Licensed under the MIT License.
|
|
661
|
-
*
|
|
662
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
663
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
664
|
-
* regenerated.
|
|
665
|
-
*/
|
|
666
|
-
var packageName = "@azure/arm-datacatalog";
|
|
667
|
-
var packageVersion = "2.0.0";
|
|
668
|
-
var DataCatalogRestClientContext = /** @class */ (function (_super) {
|
|
669
|
-
__extends(DataCatalogRestClientContext, _super);
|
|
670
|
-
/**
|
|
671
|
-
* Initializes a new instance of the DataCatalogRestClient class.
|
|
672
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
673
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
674
|
-
* more information about these credentials, see
|
|
675
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
676
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
677
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
678
|
-
* @param subscriptionId Gets subscription credentials which uniquely identify the Microsoft Azure
|
|
679
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
|
680
|
-
* @param catalogName The name of the data catalog in the specified subscription and resource
|
|
681
|
-
* group.
|
|
682
|
-
* @param [options] The parameter options
|
|
683
|
-
*/
|
|
684
|
-
function DataCatalogRestClientContext(credentials, subscriptionId, catalogName, options) {
|
|
685
|
-
var _this = this;
|
|
686
|
-
if (credentials == undefined) {
|
|
687
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
688
|
-
}
|
|
689
|
-
if (subscriptionId == undefined) {
|
|
690
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
691
|
-
}
|
|
692
|
-
if (catalogName == undefined) {
|
|
693
|
-
throw new Error('\'catalogName\' cannot be null.');
|
|
694
|
-
}
|
|
695
|
-
if (!options) {
|
|
696
|
-
options = {};
|
|
697
|
-
}
|
|
698
|
-
if (!options.userAgent) {
|
|
699
|
-
var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
700
|
-
options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
|
|
701
|
-
}
|
|
702
|
-
_this = _super.call(this, credentials, options) || this;
|
|
703
|
-
_this.apiVersion = '2016-03-30';
|
|
704
|
-
_this.acceptLanguage = 'en-US';
|
|
705
|
-
_this.longRunningOperationRetryTimeout = 30;
|
|
706
|
-
_this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
|
|
707
|
-
_this.requestContentType = "application/json; charset=utf-8";
|
|
708
|
-
_this.credentials = credentials;
|
|
709
|
-
_this.subscriptionId = subscriptionId;
|
|
710
|
-
_this.catalogName = catalogName;
|
|
711
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
712
|
-
_this.acceptLanguage = options.acceptLanguage;
|
|
713
|
-
}
|
|
714
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
715
|
-
_this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
716
|
-
}
|
|
717
|
-
return _this;
|
|
718
|
-
}
|
|
719
|
-
return DataCatalogRestClientContext;
|
|
720
|
-
}(msRestAzure.AzureServiceClient));
|
|
721
|
-
|
|
722
|
-
/*
|
|
723
|
-
* Copyright (c) Microsoft Corporation.
|
|
724
|
-
* Licensed under the MIT License.
|
|
725
|
-
*
|
|
726
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
727
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
728
|
-
* regenerated.
|
|
729
|
-
*/
|
|
730
|
-
var DataCatalogRestClient = /** @class */ (function (_super) {
|
|
731
|
-
__extends(DataCatalogRestClient, _super);
|
|
732
|
-
/**
|
|
733
|
-
* Initializes a new instance of the DataCatalogRestClient class.
|
|
734
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
735
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
736
|
-
* more information about these credentials, see
|
|
737
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
738
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
739
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
740
|
-
* @param subscriptionId Gets subscription credentials which uniquely identify the Microsoft Azure
|
|
741
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
|
742
|
-
* @param catalogName The name of the data catalog in the specified subscription and resource
|
|
743
|
-
* group.
|
|
744
|
-
* @param [options] The parameter options
|
|
745
|
-
*/
|
|
746
|
-
function DataCatalogRestClient(credentials, subscriptionId, catalogName, options) {
|
|
747
|
-
var _this = _super.call(this, credentials, subscriptionId, catalogName, options) || this;
|
|
748
|
-
_this.aDCOperations = new ADCOperations(_this);
|
|
749
|
-
_this.aDCCatalogs = new ADCCatalogs(_this);
|
|
750
|
-
return _this;
|
|
751
|
-
}
|
|
752
|
-
return DataCatalogRestClient;
|
|
753
|
-
}(DataCatalogRestClientContext));
|
|
754
|
-
|
|
755
|
-
exports.ADCCatalogs = ADCCatalogs;
|
|
756
|
-
exports.ADCOperations = ADCOperations;
|
|
757
|
-
exports.DataCatalogRestClient = DataCatalogRestClient;
|
|
758
|
-
exports.DataCatalogRestClientContext = DataCatalogRestClientContext;
|
|
759
|
-
exports.DataCatalogRestMappers = mappers;
|
|
760
|
-
exports.DataCatalogRestModels = index;
|
|
761
|
-
|
|
762
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
763
|
-
|
|
764
|
-
})));
|
|
765
|
-
//# sourceMappingURL=arm-datacatalog.js.map
|