@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
|
@@ -1,209 +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
|
|
7
|
-
* regenerated.
|
|
8
|
-
*/
|
|
9
|
-
import { __assign } from "tslib";
|
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
11
|
-
import * as Mappers from "../models/aDCCatalogsMappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
13
|
-
/** Class representing a ADCCatalogs. */
|
|
14
|
-
var ADCCatalogs = /** @class */ (function () {
|
|
15
|
-
/**
|
|
16
|
-
* Create a ADCCatalogs.
|
|
17
|
-
* @param {DataCatalogRestClientContext} client Reference to the service client.
|
|
18
|
-
*/
|
|
19
|
-
function ADCCatalogs(client) {
|
|
20
|
-
this.client = client;
|
|
21
|
-
}
|
|
22
|
-
ADCCatalogs.prototype.listtByResourceGroup = function (resourceGroupName, options, callback) {
|
|
23
|
-
return this.client.sendOperationRequest({
|
|
24
|
-
resourceGroupName: resourceGroupName,
|
|
25
|
-
options: options
|
|
26
|
-
}, listtByResourceGroupOperationSpec, callback);
|
|
27
|
-
};
|
|
28
|
-
ADCCatalogs.prototype.createOrUpdate = function (resourceGroupName, properties, options, callback) {
|
|
29
|
-
return this.client.sendOperationRequest({
|
|
30
|
-
resourceGroupName: resourceGroupName,
|
|
31
|
-
properties: properties,
|
|
32
|
-
options: options
|
|
33
|
-
}, createOrUpdateOperationSpec, callback);
|
|
34
|
-
};
|
|
35
|
-
ADCCatalogs.prototype.get = function (resourceGroupName, options, callback) {
|
|
36
|
-
return this.client.sendOperationRequest({
|
|
37
|
-
resourceGroupName: resourceGroupName,
|
|
38
|
-
options: options
|
|
39
|
-
}, getOperationSpec, callback);
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* The Delete Azure Data Catalog Service operation deletes an existing data catalog.
|
|
43
|
-
* @summary Delete Azure Data Catalog Service (DELETE Resource)
|
|
44
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
45
|
-
* is case insensitive.
|
|
46
|
-
* @param [options] The optional parameters
|
|
47
|
-
* @returns Promise<msRest.RestResponse>
|
|
48
|
-
*/
|
|
49
|
-
ADCCatalogs.prototype.deleteMethod = function (resourceGroupName, options) {
|
|
50
|
-
return this.beginDeleteMethod(resourceGroupName, options)
|
|
51
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
52
|
-
};
|
|
53
|
-
ADCCatalogs.prototype.update = function (resourceGroupName, properties, options, callback) {
|
|
54
|
-
return this.client.sendOperationRequest({
|
|
55
|
-
resourceGroupName: resourceGroupName,
|
|
56
|
-
properties: properties,
|
|
57
|
-
options: options
|
|
58
|
-
}, updateOperationSpec, callback);
|
|
59
|
-
};
|
|
60
|
-
/**
|
|
61
|
-
* The Delete Azure Data Catalog Service operation deletes an existing data catalog.
|
|
62
|
-
* @summary Delete Azure Data Catalog Service (DELETE Resource)
|
|
63
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
64
|
-
* is case insensitive.
|
|
65
|
-
* @param [options] The optional parameters
|
|
66
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
67
|
-
*/
|
|
68
|
-
ADCCatalogs.prototype.beginDeleteMethod = function (resourceGroupName, options) {
|
|
69
|
-
return this.client.sendLRORequest({
|
|
70
|
-
resourceGroupName: resourceGroupName,
|
|
71
|
-
options: options
|
|
72
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
73
|
-
};
|
|
74
|
-
return ADCCatalogs;
|
|
75
|
-
}());
|
|
76
|
-
export { ADCCatalogs };
|
|
77
|
-
// Operation Specifications
|
|
78
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
79
|
-
var listtByResourceGroupOperationSpec = {
|
|
80
|
-
httpMethod: "GET",
|
|
81
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataCatalog/catalogs",
|
|
82
|
-
urlParameters: [
|
|
83
|
-
Parameters.subscriptionId,
|
|
84
|
-
Parameters.resourceGroupName
|
|
85
|
-
],
|
|
86
|
-
queryParameters: [
|
|
87
|
-
Parameters.apiVersion
|
|
88
|
-
],
|
|
89
|
-
headerParameters: [
|
|
90
|
-
Parameters.acceptLanguage
|
|
91
|
-
],
|
|
92
|
-
responses: {
|
|
93
|
-
200: {
|
|
94
|
-
bodyMapper: Mappers.ADCCatalogsListResult
|
|
95
|
-
},
|
|
96
|
-
default: {
|
|
97
|
-
bodyMapper: Mappers.CloudError
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
serializer: serializer
|
|
101
|
-
};
|
|
102
|
-
var createOrUpdateOperationSpec = {
|
|
103
|
-
httpMethod: "PUT",
|
|
104
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataCatalog/catalogs/{catalogName}",
|
|
105
|
-
urlParameters: [
|
|
106
|
-
Parameters.subscriptionId,
|
|
107
|
-
Parameters.resourceGroupName,
|
|
108
|
-
Parameters.catalogName
|
|
109
|
-
],
|
|
110
|
-
queryParameters: [
|
|
111
|
-
Parameters.apiVersion
|
|
112
|
-
],
|
|
113
|
-
headerParameters: [
|
|
114
|
-
Parameters.acceptLanguage
|
|
115
|
-
],
|
|
116
|
-
requestBody: {
|
|
117
|
-
parameterPath: "properties",
|
|
118
|
-
mapper: __assign(__assign({}, Mappers.ADCCatalog), { required: true })
|
|
119
|
-
},
|
|
120
|
-
responses: {
|
|
121
|
-
200: {
|
|
122
|
-
bodyMapper: Mappers.ADCCatalog
|
|
123
|
-
},
|
|
124
|
-
201: {
|
|
125
|
-
bodyMapper: Mappers.ADCCatalog
|
|
126
|
-
},
|
|
127
|
-
default: {
|
|
128
|
-
bodyMapper: Mappers.CloudError
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
serializer: serializer
|
|
132
|
-
};
|
|
133
|
-
var getOperationSpec = {
|
|
134
|
-
httpMethod: "GET",
|
|
135
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataCatalog/catalogs/{catalogName}",
|
|
136
|
-
urlParameters: [
|
|
137
|
-
Parameters.subscriptionId,
|
|
138
|
-
Parameters.resourceGroupName,
|
|
139
|
-
Parameters.catalogName
|
|
140
|
-
],
|
|
141
|
-
queryParameters: [
|
|
142
|
-
Parameters.apiVersion
|
|
143
|
-
],
|
|
144
|
-
headerParameters: [
|
|
145
|
-
Parameters.acceptLanguage
|
|
146
|
-
],
|
|
147
|
-
responses: {
|
|
148
|
-
200: {
|
|
149
|
-
bodyMapper: Mappers.ADCCatalog
|
|
150
|
-
},
|
|
151
|
-
default: {
|
|
152
|
-
bodyMapper: Mappers.CloudError
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
serializer: serializer
|
|
156
|
-
};
|
|
157
|
-
var updateOperationSpec = {
|
|
158
|
-
httpMethod: "PATCH",
|
|
159
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataCatalog/catalogs/{catalogName}",
|
|
160
|
-
urlParameters: [
|
|
161
|
-
Parameters.subscriptionId,
|
|
162
|
-
Parameters.resourceGroupName,
|
|
163
|
-
Parameters.catalogName
|
|
164
|
-
],
|
|
165
|
-
queryParameters: [
|
|
166
|
-
Parameters.apiVersion
|
|
167
|
-
],
|
|
168
|
-
headerParameters: [
|
|
169
|
-
Parameters.acceptLanguage
|
|
170
|
-
],
|
|
171
|
-
requestBody: {
|
|
172
|
-
parameterPath: "properties",
|
|
173
|
-
mapper: __assign(__assign({}, Mappers.ADCCatalog), { required: true })
|
|
174
|
-
},
|
|
175
|
-
responses: {
|
|
176
|
-
200: {
|
|
177
|
-
bodyMapper: Mappers.ADCCatalog
|
|
178
|
-
},
|
|
179
|
-
default: {
|
|
180
|
-
bodyMapper: Mappers.CloudError
|
|
181
|
-
}
|
|
182
|
-
},
|
|
183
|
-
serializer: serializer
|
|
184
|
-
};
|
|
185
|
-
var beginDeleteMethodOperationSpec = {
|
|
186
|
-
httpMethod: "DELETE",
|
|
187
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataCatalog/catalogs/{catalogName}",
|
|
188
|
-
urlParameters: [
|
|
189
|
-
Parameters.subscriptionId,
|
|
190
|
-
Parameters.resourceGroupName,
|
|
191
|
-
Parameters.catalogName
|
|
192
|
-
],
|
|
193
|
-
queryParameters: [
|
|
194
|
-
Parameters.apiVersion
|
|
195
|
-
],
|
|
196
|
-
headerParameters: [
|
|
197
|
-
Parameters.acceptLanguage
|
|
198
|
-
],
|
|
199
|
-
responses: {
|
|
200
|
-
200: {},
|
|
201
|
-
202: {},
|
|
202
|
-
204: {},
|
|
203
|
-
default: {
|
|
204
|
-
bodyMapper: Mappers.CloudError
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
serializer: serializer
|
|
208
|
-
};
|
|
209
|
-
//# sourceMappingURL=aDCCatalogs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"aDCCatalogs.js","sourceRoot":"","sources":["../../src/operations/aDCCatalogs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,OAAO,MAAM,8BAA8B,CAAC;AACxD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,wCAAwC;AACxC;IAGE;;;OAGG;IACH,qBAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,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ACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as Models from "../models";
|
|
3
|
-
import { DataCatalogRestClientContext } from "../dataCatalogRestClientContext";
|
|
4
|
-
/** Class representing a ADCOperations. */
|
|
5
|
-
export declare class ADCOperations {
|
|
6
|
-
private readonly client;
|
|
7
|
-
/**
|
|
8
|
-
* Create a ADCOperations.
|
|
9
|
-
* @param {DataCatalogRestClientContext} client Reference to the service client.
|
|
10
|
-
*/
|
|
11
|
-
constructor(client: DataCatalogRestClientContext);
|
|
12
|
-
/**
|
|
13
|
-
* Lists all the available Azure Data Catalog service operations.
|
|
14
|
-
* @param [options] The optional parameters
|
|
15
|
-
* @returns Promise<Models.ADCOperationsListResponse>
|
|
16
|
-
*/
|
|
17
|
-
list(options?: msRest.RequestOptionsBase): Promise<Models.ADCOperationsListResponse>;
|
|
18
|
-
/**
|
|
19
|
-
* @param callback The callback
|
|
20
|
-
*/
|
|
21
|
-
list(callback: msRest.ServiceCallback<Models.OperationEntityListResult>): void;
|
|
22
|
-
/**
|
|
23
|
-
* @param options The optional parameters
|
|
24
|
-
* @param callback The callback
|
|
25
|
-
*/
|
|
26
|
-
list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationEntityListResult>): void;
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=aDCOperations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"aDCOperations.d.ts","sourceRoot":"","sources":["../../src/operations/aDCOperations.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,4BAA4B,EAAE,MAAM,iCAAiC,CAAC;AAE/E,0CAA0C;AAC1C,qBAAa,aAAa;IACxB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+B;IAEtD;;;OAGG;gBACS,MAAM,EAAE,4BAA4B;IAIhD;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,yBAAyB,CAAC;IACpF;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,yBAAyB,CAAC,GAAG,IAAI;IAC9E;;;OAGG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,yBAAyB,CAAC,GAAG,IAAI;CASnH"}
|
|
@@ -1,50 +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
|
|
7
|
-
* regenerated.
|
|
8
|
-
*/
|
|
9
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
10
|
-
import * as Mappers from "../models/aDCOperationsMappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
12
|
-
/** Class representing a ADCOperations. */
|
|
13
|
-
var ADCOperations = /** @class */ (function () {
|
|
14
|
-
/**
|
|
15
|
-
* Create a ADCOperations.
|
|
16
|
-
* @param {DataCatalogRestClientContext} client Reference to the service client.
|
|
17
|
-
*/
|
|
18
|
-
function ADCOperations(client) {
|
|
19
|
-
this.client = client;
|
|
20
|
-
}
|
|
21
|
-
ADCOperations.prototype.list = function (options, callback) {
|
|
22
|
-
return this.client.sendOperationRequest({
|
|
23
|
-
options: options
|
|
24
|
-
}, listOperationSpec, callback);
|
|
25
|
-
};
|
|
26
|
-
return ADCOperations;
|
|
27
|
-
}());
|
|
28
|
-
export { ADCOperations };
|
|
29
|
-
// Operation Specifications
|
|
30
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
31
|
-
var listOperationSpec = {
|
|
32
|
-
httpMethod: "GET",
|
|
33
|
-
path: "providers/Microsoft.DataCatalog/operations",
|
|
34
|
-
queryParameters: [
|
|
35
|
-
Parameters.apiVersion
|
|
36
|
-
],
|
|
37
|
-
headerParameters: [
|
|
38
|
-
Parameters.acceptLanguage
|
|
39
|
-
],
|
|
40
|
-
responses: {
|
|
41
|
-
200: {
|
|
42
|
-
bodyMapper: Mappers.OperationEntityListResult
|
|
43
|
-
},
|
|
44
|
-
default: {
|
|
45
|
-
bodyMapper: Mappers.CloudError
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
serializer: serializer
|
|
49
|
-
};
|
|
50
|
-
//# sourceMappingURL=aDCOperations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"aDCOperations.js","sourceRoot":"","sources":["../../src/operations/aDCOperations.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,0CAA0C;AAC1C;IAGE;;;OAGG;IACH,uBAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAiBD,4BAAI,GAAJ,UAAK,OAA8F,EAAE,QAAmE;QACtK,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAA8C,CAAC;IAC3D,CAAC;IACH,oBAAC;AAAD,CAAC,AAlCD,IAkCC;;AAED,2BAA2B;AAC3B,IAAM,UAAU,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAClD,IAAM,iBAAiB,GAAyB;IAC9C,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,4CAA4C;IAClD,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,yBAAyB;SAC9C;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":["../../src/operations/index.ts"],"names":[],"mappings":"AASA,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC"}
|
|
@@ -1,75 +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
|
|
7
|
-
* regenerated.
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
import * as Models from "./models";
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
13
|
-
import { TokenCredential } from "@azure/core-auth";
|
|
14
|
-
|
|
15
|
-
const packageName = "@azure/arm-datacatalog";
|
|
16
|
-
const packageVersion = "2.0.0";
|
|
17
|
-
|
|
18
|
-
export class DataCatalogRestClientContext extends msRestAzure.AzureServiceClient {
|
|
19
|
-
credentials: msRest.ServiceClientCredentials | TokenCredential;
|
|
20
|
-
subscriptionId: string;
|
|
21
|
-
apiVersion?: string;
|
|
22
|
-
catalogName: string;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Initializes a new instance of the DataCatalogRestClient class.
|
|
26
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
27
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
28
|
-
* more information about these credentials, see
|
|
29
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
30
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
31
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
32
|
-
* @param subscriptionId Gets subscription credentials which uniquely identify the Microsoft Azure
|
|
33
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
|
34
|
-
* @param catalogName The name of the data catalog in the specified subscription and resource
|
|
35
|
-
* group.
|
|
36
|
-
* @param [options] The parameter options
|
|
37
|
-
*/
|
|
38
|
-
constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, catalogName: string, options?: Models.DataCatalogRestClientOptions) {
|
|
39
|
-
if (credentials == undefined) {
|
|
40
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
41
|
-
}
|
|
42
|
-
if (subscriptionId == undefined) {
|
|
43
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
44
|
-
}
|
|
45
|
-
if (catalogName == undefined) {
|
|
46
|
-
throw new Error('\'catalogName\' cannot be null.');
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
if (!options) {
|
|
50
|
-
options = {};
|
|
51
|
-
}
|
|
52
|
-
if (!options.userAgent) {
|
|
53
|
-
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
54
|
-
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
super(credentials, options);
|
|
58
|
-
|
|
59
|
-
this.apiVersion = '2016-03-30';
|
|
60
|
-
this.acceptLanguage = 'en-US';
|
|
61
|
-
this.longRunningOperationRetryTimeout = 30;
|
|
62
|
-
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
|
|
63
|
-
this.requestContentType = "application/json; charset=utf-8";
|
|
64
|
-
this.credentials = credentials;
|
|
65
|
-
this.subscriptionId = subscriptionId;
|
|
66
|
-
this.catalogName = catalogName;
|
|
67
|
-
|
|
68
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
69
|
-
this.acceptLanguage = options.acceptLanguage;
|
|
70
|
-
}
|
|
71
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
72
|
-
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|