@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
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ADCOperations } from "../operationsInterfaces";
|
|
2
|
+
import { DataCatalogRestClient } from "../dataCatalogRestClient";
|
|
3
|
+
import { ADCOperationsListOptionalParams, ADCOperationsListResponse } from "../models";
|
|
4
|
+
/** Class containing ADCOperations operations. */
|
|
5
|
+
export declare class ADCOperationsImpl implements ADCOperations {
|
|
6
|
+
private readonly client;
|
|
7
|
+
/**
|
|
8
|
+
* Initialize a new instance of the class ADCOperations class.
|
|
9
|
+
* @param client Reference to the service client
|
|
10
|
+
*/
|
|
11
|
+
constructor(client: DataCatalogRestClient);
|
|
12
|
+
/**
|
|
13
|
+
* Lists all the available Azure Data Catalog service operations.
|
|
14
|
+
* @param options The options parameters.
|
|
15
|
+
*/
|
|
16
|
+
list(options?: ADCOperationsListOptionalParams): Promise<ADCOperationsListResponse>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=aDCOperations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aDCOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/aDCOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAIxD,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EACL,+BAA+B,EAC/B,yBAAyB,EAC1B,MAAM,WAAW,CAAC;AAEnB,iDAAiD;AACjD,qBAAa,iBAAkB,YAAW,aAAa;IACrD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwB;IAE/C;;;OAGG;gBACS,MAAM,EAAE,qBAAqB;IAIzC;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC;CAGtC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
import * as coreClient from "@azure/core-client";
|
|
9
|
+
import * as Mappers from "../models/mappers";
|
|
10
|
+
import * as Parameters from "../models/parameters";
|
|
11
|
+
/** Class containing ADCOperations operations. */
|
|
12
|
+
export class ADCOperationsImpl {
|
|
13
|
+
/**
|
|
14
|
+
* Initialize a new instance of the class ADCOperations class.
|
|
15
|
+
* @param client Reference to the service client
|
|
16
|
+
*/
|
|
17
|
+
constructor(client) {
|
|
18
|
+
this.client = client;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Lists all the available Azure Data Catalog service operations.
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
list(options) {
|
|
25
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
// Operation Specifications
|
|
29
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
30
|
+
const listOperationSpec = {
|
|
31
|
+
path: "/providers/Microsoft.DataCatalog/operations",
|
|
32
|
+
httpMethod: "GET",
|
|
33
|
+
responses: {
|
|
34
|
+
200: {
|
|
35
|
+
bodyMapper: Mappers.OperationEntityListResult
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
queryParameters: [Parameters.apiVersion],
|
|
39
|
+
urlParameters: [Parameters.$host],
|
|
40
|
+
headerParameters: [Parameters.accept],
|
|
41
|
+
serializer
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=aDCOperations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aDCOperations.js","sourceRoot":"","sources":["../../../src/operations/aDCOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAOnD,iDAAiD;AACjD,MAAM,OAAO,iBAAiB;IAG5B;;;OAGG;IACH,YAAY,MAA6B;QACvC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,IAAI,CACF,OAAyC;QAEzC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,6CAA6C;IACnD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yBAAyB;SAC9C;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC"}
|
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
7
|
*/
|
|
9
8
|
export * from "./aDCOperations";
|
|
10
9
|
export * from "./aDCCatalogs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
2
|
+
import { ADCCatalogsListtByResourceGroupOptionalParams, ADCCatalogsListtByResourceGroupResponse, ADCCatalog, ADCCatalogsCreateOrUpdateOptionalParams, ADCCatalogsCreateOrUpdateResponse, ADCCatalogsGetOptionalParams, ADCCatalogsGetResponse, ADCCatalogsDeleteOptionalParams, ADCCatalogsUpdateOptionalParams, ADCCatalogsUpdateResponse } from "../models";
|
|
3
|
+
/** Interface representing a ADCCatalogs. */
|
|
4
|
+
export interface ADCCatalogs {
|
|
5
|
+
/**
|
|
6
|
+
* The List catalogs in Resource Group operation lists all the Azure Data Catalogs available under the
|
|
7
|
+
* given resource group.
|
|
8
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
9
|
+
* case insensitive.
|
|
10
|
+
* @param options The options parameters.
|
|
11
|
+
*/
|
|
12
|
+
listtByResourceGroup(resourceGroupName: string, options?: ADCCatalogsListtByResourceGroupOptionalParams): Promise<ADCCatalogsListtByResourceGroupResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* The Create Azure Data Catalog service operation creates a new data catalog service with the
|
|
15
|
+
* specified parameters. If the specific service already exists, then any patchable properties will be
|
|
16
|
+
* updated and any immutable properties will remain unchanged.
|
|
17
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
18
|
+
* case insensitive.
|
|
19
|
+
* @param properties Properties supplied to the Create or Update a data catalog.
|
|
20
|
+
* @param options The options parameters.
|
|
21
|
+
*/
|
|
22
|
+
createOrUpdate(resourceGroupName: string, properties: ADCCatalog, options?: ADCCatalogsCreateOrUpdateOptionalParams): Promise<ADCCatalogsCreateOrUpdateResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* The Get Azure Data Catalog Service operation retrieves a json representation of the data catalog.
|
|
25
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
26
|
+
* case insensitive.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
get(resourceGroupName: string, options?: ADCCatalogsGetOptionalParams): Promise<ADCCatalogsGetResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* The Delete Azure Data Catalog Service operation deletes an existing data catalog.
|
|
32
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
33
|
+
* case insensitive.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
beginDelete(resourceGroupName: string, options?: ADCCatalogsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
37
|
+
/**
|
|
38
|
+
* The Delete Azure Data Catalog Service operation deletes an existing data catalog.
|
|
39
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
40
|
+
* case insensitive.
|
|
41
|
+
* @param options The options parameters.
|
|
42
|
+
*/
|
|
43
|
+
beginDeleteAndWait(resourceGroupName: string, options?: ADCCatalogsDeleteOptionalParams): Promise<void>;
|
|
44
|
+
/**
|
|
45
|
+
* The Update Azure Data Catalog Service operation can be used to update the existing deployment. The
|
|
46
|
+
* update call only supports the properties listed in the PATCH body.
|
|
47
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
48
|
+
* case insensitive.
|
|
49
|
+
* @param properties Properties supplied to the Update a data catalog.
|
|
50
|
+
* @param options The options parameters.
|
|
51
|
+
*/
|
|
52
|
+
update(resourceGroupName: string, properties: ADCCatalog, options?: ADCCatalogsUpdateOptionalParams): Promise<ADCCatalogsUpdateResponse>;
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=aDCCatalogs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aDCCatalogs.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/aDCCatalogs.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,6CAA6C,EAC7C,uCAAuC,EACvC,UAAU,EACV,uCAAuC,EACvC,iCAAiC,EACjC,4BAA4B,EAC5B,sBAAsB,EACtB,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EAC1B,MAAM,WAAW,CAAC;AAEnB,4CAA4C;AAC5C,MAAM,WAAW,WAAW;IAC1B;;;;;;OAMG;IACH,oBAAoB,CAClB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC,CAAC;IACpD;;;;;;;;OAQG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC,CAAC;IAC9C;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACnC;;;;;OAKG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC,CAAC;CACvC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aDCCatalogs.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/aDCCatalogs.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ADCOperationsListOptionalParams, ADCOperationsListResponse } from "../models";
|
|
2
|
+
/** Interface representing a ADCOperations. */
|
|
3
|
+
export interface ADCOperations {
|
|
4
|
+
/**
|
|
5
|
+
* Lists all the available Azure Data Catalog service operations.
|
|
6
|
+
* @param options The options parameters.
|
|
7
|
+
*/
|
|
8
|
+
list(options?: ADCOperationsListOptionalParams): Promise<ADCOperationsListResponse>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=aDCOperations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aDCOperations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/aDCOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,+BAA+B,EAC/B,yBAAyB,EAC1B,MAAM,WAAW,CAAC;AAEnB,8CAA8C;AAC9C,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC,CAAC;CACvC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=aDCOperations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aDCOperations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/aDCOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
export * from "./aDCOperations";
|
|
9
|
+
export * from "./aDCCatalogs";
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sampleTest.d.ts","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
import { record } from "@azure-tools/test-recorder";
|
|
10
|
+
const recorderEnvSetup = {
|
|
11
|
+
replaceableVariables: {
|
|
12
|
+
AZURE_CLIENT_ID: "azure_client_id",
|
|
13
|
+
AZURE_CLIENT_SECRET: "azure_client_secret",
|
|
14
|
+
AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
|
|
15
|
+
SUBSCRIPTION_ID: "azure_subscription_id"
|
|
16
|
+
},
|
|
17
|
+
customizationsOnRecordings: [
|
|
18
|
+
(recording) => recording.replace(/"access_token":"[^"]*"/g, `"access_token":"access_token"`)
|
|
19
|
+
],
|
|
20
|
+
queryParametersToSkip: []
|
|
21
|
+
};
|
|
22
|
+
describe("My test", () => {
|
|
23
|
+
let recorder;
|
|
24
|
+
beforeEach(function () {
|
|
25
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
26
|
+
recorder = record(this, recorderEnvSetup);
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
afterEach(function () {
|
|
30
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
31
|
+
yield recorder.stop();
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
it("sample test", function () {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
console.log("Hi, I'm a test!");
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
//# sourceMappingURL=sampleTest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sampleTest.js","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EAEL,MAAM,EAGP,MAAM,4BAA4B,CAAC;AAGpC,MAAM,gBAAgB,GAA6B;IACjD,oBAAoB,EAAE;QACpB,eAAe,EAAE,iBAAiB;QAClC,mBAAmB,EAAE,qBAAqB;QAC1C,eAAe,EAAE,sCAAsC;QACvD,eAAe,EAAE,uBAAuB;KACzC;IACD,0BAA0B,EAAE;QAC1B,CAAC,SAAc,EAAO,EAAE,CACtB,SAAS,CAAC,OAAO,CACf,yBAAyB,EACzB,+BAA+B,CAChC;KACJ;IACD,qBAAqB,EAAE,EAAE;CAC1B,CAAC;AAEF,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;IACvB,IAAI,QAAkB,CAAC;IAEvB,UAAU,CAAC;;YACT,QAAQ,GAAG,MAAM,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QAC5C,CAAC;KAAA,CAAC,CAAC;IAEH,SAAS,CAAC;;YACR,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QACxB,CAAC;KAAA,CAAC,CAAC;IAEH,EAAE,CAAC,aAAa,EAAE;;YAChB,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;QACjC,CAAC;KAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,59 +1,96 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/arm-datacatalog",
|
|
3
|
+
"sdk-type": "mgmt",
|
|
3
4
|
"author": "Microsoft Corporation",
|
|
4
|
-
"description": "
|
|
5
|
-
"version": "
|
|
5
|
+
"description": "A generated SDK for DataCatalogRestClient.",
|
|
6
|
+
"version": "3.0.0",
|
|
7
|
+
"engines": { "node": ">=12.0.0" },
|
|
6
8
|
"dependencies": {
|
|
7
|
-
"@azure/
|
|
8
|
-
"@azure/
|
|
9
|
-
"@azure/core-
|
|
10
|
-
"
|
|
9
|
+
"@azure/core-lro": "^2.2.0",
|
|
10
|
+
"@azure/abort-controller": "^1.0.0",
|
|
11
|
+
"@azure/core-client": "^1.0.0",
|
|
12
|
+
"@azure/core-auth": "^1.3.0",
|
|
13
|
+
"@azure/core-rest-pipeline": "^1.1.0",
|
|
14
|
+
"tslib": "^2.2.0"
|
|
11
15
|
},
|
|
12
|
-
"keywords": [
|
|
13
|
-
"node",
|
|
14
|
-
"azure",
|
|
15
|
-
"typescript",
|
|
16
|
-
"browser",
|
|
17
|
-
"isomorphic"
|
|
18
|
-
],
|
|
16
|
+
"keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
|
|
19
17
|
"license": "MIT",
|
|
20
|
-
"main": "./dist/
|
|
21
|
-
"module": "./esm/
|
|
22
|
-
"types": "./
|
|
18
|
+
"main": "./dist/index.js",
|
|
19
|
+
"module": "./dist-esm/src/index.js",
|
|
20
|
+
"types": "./types/arm-datacatalog.d.ts",
|
|
23
21
|
"devDependencies": {
|
|
24
|
-
"
|
|
25
|
-
"rollup": "
|
|
26
|
-
"rollup
|
|
22
|
+
"@microsoft/api-extractor": "^7.18.11",
|
|
23
|
+
"@rollup/plugin-commonjs": "11.0.2",
|
|
24
|
+
"@rollup/plugin-json": "^4.0.0",
|
|
25
|
+
"@rollup/plugin-multi-entry": "^3.0.0",
|
|
26
|
+
"@rollup/plugin-node-resolve": "^8.0.0",
|
|
27
|
+
"mkdirp": "^1.0.4",
|
|
28
|
+
"rollup": "^1.16.3",
|
|
27
29
|
"rollup-plugin-sourcemaps": "^0.4.2",
|
|
28
|
-
"
|
|
30
|
+
"typescript": "~4.2.0",
|
|
31
|
+
"uglify-js": "^3.4.9",
|
|
32
|
+
"rimraf": "^3.0.0",
|
|
33
|
+
"@azure/identity": "^2.0.1",
|
|
34
|
+
"@azure-tools/test-recorder": "^1.0.0",
|
|
35
|
+
"mocha": "^7.1.1",
|
|
36
|
+
"cross-env": "^7.0.2"
|
|
29
37
|
},
|
|
30
|
-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/
|
|
38
|
+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datacatalog/arm-datacatalog",
|
|
31
39
|
"repository": {
|
|
32
40
|
"type": "git",
|
|
33
41
|
"url": "https://github.com/Azure/azure-sdk-for-js.git"
|
|
34
42
|
},
|
|
35
|
-
"bugs": {
|
|
36
|
-
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
|
|
37
|
-
},
|
|
43
|
+
"bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
|
|
38
44
|
"files": [
|
|
39
45
|
"dist/**/*.js",
|
|
40
46
|
"dist/**/*.js.map",
|
|
41
47
|
"dist/**/*.d.ts",
|
|
42
48
|
"dist/**/*.d.ts.map",
|
|
43
|
-
"esm/**/*.js",
|
|
44
|
-
"esm/**/*.js.map",
|
|
45
|
-
"esm/**/*.d.ts",
|
|
46
|
-
"esm/**/*.d.ts.map",
|
|
49
|
+
"dist-esm/**/*.js",
|
|
50
|
+
"dist-esm/**/*.js.map",
|
|
51
|
+
"dist-esm/**/*.d.ts",
|
|
52
|
+
"dist-esm/**/*.d.ts.map",
|
|
47
53
|
"src/**/*.ts",
|
|
48
54
|
"README.md",
|
|
55
|
+
"LICENSE",
|
|
49
56
|
"rollup.config.js",
|
|
50
|
-
"tsconfig.json"
|
|
57
|
+
"tsconfig.json",
|
|
58
|
+
"review/*",
|
|
59
|
+
"CHANGELOG.md",
|
|
60
|
+
"types/*"
|
|
51
61
|
],
|
|
52
62
|
"scripts": {
|
|
53
|
-
"build": "tsc && rollup -c
|
|
54
|
-
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/
|
|
55
|
-
"prepack": "npm
|
|
63
|
+
"build": "npm run clean && tsc && rollup -c 2>&1 && npm run minify && mkdirp ./review && npm run extract-api",
|
|
64
|
+
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
|
|
65
|
+
"prepack": "npm run build",
|
|
66
|
+
"pack": "npm pack 2>&1",
|
|
67
|
+
"extract-api": "api-extractor run --local",
|
|
68
|
+
"lint": "echo skipped",
|
|
69
|
+
"audit": "echo skipped",
|
|
70
|
+
"clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
|
|
71
|
+
"build:node": "echo skipped",
|
|
72
|
+
"build:browser": "echo skipped",
|
|
73
|
+
"build:test": "echo skipped",
|
|
74
|
+
"build:samples": "echo skipped.",
|
|
75
|
+
"check-format": "echo skipped",
|
|
76
|
+
"execute:samples": "echo skipped",
|
|
77
|
+
"format": "echo skipped",
|
|
78
|
+
"test": "npm run integration-test",
|
|
79
|
+
"test:node": "echo skipped",
|
|
80
|
+
"test:browser": "echo skipped",
|
|
81
|
+
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
|
|
82
|
+
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
|
|
83
|
+
"unit-test:browser": "echo skipped",
|
|
84
|
+
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
|
85
|
+
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
|
|
86
|
+
"integration-test:browser": "echo skipped",
|
|
87
|
+
"docs": "echo skipped"
|
|
56
88
|
},
|
|
57
89
|
"sideEffects": false,
|
|
90
|
+
"//metadata": {
|
|
91
|
+
"constantPaths": [
|
|
92
|
+
{ "path": "src/DataCatalogRestClient.ts", "prefix": "packageDetails" }
|
|
93
|
+
]
|
|
94
|
+
},
|
|
58
95
|
"autoPublish": true
|
|
59
96
|
}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
## API Report File for "@azure/arm-datacatalog"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
import * as coreAuth from '@azure/core-auth';
|
|
8
|
+
import * as coreClient from '@azure/core-client';
|
|
9
|
+
import { PollerLike } from '@azure/core-lro';
|
|
10
|
+
import { PollOperationState } from '@azure/core-lro';
|
|
11
|
+
|
|
12
|
+
// @public
|
|
13
|
+
export type ADCCatalog = Resource & {
|
|
14
|
+
sku?: SkuType;
|
|
15
|
+
units?: number;
|
|
16
|
+
admins?: Principals[];
|
|
17
|
+
users?: Principals[];
|
|
18
|
+
successfullyProvisioned?: boolean;
|
|
19
|
+
enableAutomaticUnitAdjustment?: boolean;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
// @public
|
|
23
|
+
export interface ADCCatalogs {
|
|
24
|
+
beginDelete(resourceGroupName: string, options?: ADCCatalogsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
25
|
+
beginDeleteAndWait(resourceGroupName: string, options?: ADCCatalogsDeleteOptionalParams): Promise<void>;
|
|
26
|
+
createOrUpdate(resourceGroupName: string, properties: ADCCatalog, options?: ADCCatalogsCreateOrUpdateOptionalParams): Promise<ADCCatalogsCreateOrUpdateResponse>;
|
|
27
|
+
get(resourceGroupName: string, options?: ADCCatalogsGetOptionalParams): Promise<ADCCatalogsGetResponse>;
|
|
28
|
+
listtByResourceGroup(resourceGroupName: string, options?: ADCCatalogsListtByResourceGroupOptionalParams): Promise<ADCCatalogsListtByResourceGroupResponse>;
|
|
29
|
+
update(resourceGroupName: string, properties: ADCCatalog, options?: ADCCatalogsUpdateOptionalParams): Promise<ADCCatalogsUpdateResponse>;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// @public
|
|
33
|
+
export interface ADCCatalogsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// @public
|
|
37
|
+
export type ADCCatalogsCreateOrUpdateResponse = ADCCatalog;
|
|
38
|
+
|
|
39
|
+
// @public
|
|
40
|
+
export interface ADCCatalogsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
41
|
+
resumeFrom?: string;
|
|
42
|
+
updateIntervalInMs?: number;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// @public
|
|
46
|
+
export interface ADCCatalogsGetOptionalParams extends coreClient.OperationOptions {
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// @public
|
|
50
|
+
export type ADCCatalogsGetResponse = ADCCatalog;
|
|
51
|
+
|
|
52
|
+
// @public
|
|
53
|
+
export interface ADCCatalogsListResult {
|
|
54
|
+
value?: ADCCatalog[];
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// @public
|
|
58
|
+
export interface ADCCatalogsListtByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
// @public
|
|
62
|
+
export type ADCCatalogsListtByResourceGroupResponse = ADCCatalogsListResult;
|
|
63
|
+
|
|
64
|
+
// @public
|
|
65
|
+
export interface ADCCatalogsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// @public
|
|
69
|
+
export type ADCCatalogsUpdateResponse = ADCCatalog;
|
|
70
|
+
|
|
71
|
+
// @public
|
|
72
|
+
export interface ADCOperations {
|
|
73
|
+
list(options?: ADCOperationsListOptionalParams): Promise<ADCOperationsListResponse>;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
// @public
|
|
77
|
+
export interface ADCOperationsListOptionalParams extends coreClient.OperationOptions {
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
// @public
|
|
81
|
+
export type ADCOperationsListResponse = OperationEntityListResult;
|
|
82
|
+
|
|
83
|
+
// @public (undocumented)
|
|
84
|
+
export class DataCatalogRestClient extends coreClient.ServiceClient {
|
|
85
|
+
// (undocumented)
|
|
86
|
+
$host: string;
|
|
87
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, catalogName: string, options?: DataCatalogRestClientOptionalParams);
|
|
88
|
+
// (undocumented)
|
|
89
|
+
aDCCatalogs: ADCCatalogs;
|
|
90
|
+
// (undocumented)
|
|
91
|
+
aDCOperations: ADCOperations;
|
|
92
|
+
// (undocumented)
|
|
93
|
+
apiVersion: string;
|
|
94
|
+
// (undocumented)
|
|
95
|
+
catalogName: string;
|
|
96
|
+
// (undocumented)
|
|
97
|
+
subscriptionId: string;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// @public
|
|
101
|
+
export interface DataCatalogRestClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
102
|
+
$host?: string;
|
|
103
|
+
apiVersion?: string;
|
|
104
|
+
endpoint?: string;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// @public
|
|
108
|
+
export enum KnownSkuType {
|
|
109
|
+
// (undocumented)
|
|
110
|
+
Free = "Free",
|
|
111
|
+
// (undocumented)
|
|
112
|
+
Standard = "Standard"
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// @public
|
|
116
|
+
export interface OperationDisplayInfo {
|
|
117
|
+
description?: string;
|
|
118
|
+
operation?: string;
|
|
119
|
+
provider?: string;
|
|
120
|
+
resource?: string;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
// @public
|
|
124
|
+
export interface OperationEntity {
|
|
125
|
+
display?: OperationDisplayInfo;
|
|
126
|
+
name?: string;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
// @public
|
|
130
|
+
export interface OperationEntityListResult {
|
|
131
|
+
value?: OperationEntity[];
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
// @public
|
|
135
|
+
export interface Principals {
|
|
136
|
+
objectId?: string;
|
|
137
|
+
upn?: string;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
// @public
|
|
141
|
+
export interface Resource {
|
|
142
|
+
etag?: string;
|
|
143
|
+
readonly id?: string;
|
|
144
|
+
location?: string;
|
|
145
|
+
readonly name?: string;
|
|
146
|
+
tags?: {
|
|
147
|
+
[propertyName: string]: string;
|
|
148
|
+
};
|
|
149
|
+
readonly type?: string;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
// @public
|
|
153
|
+
export type SkuType = string;
|
|
154
|
+
|
|
155
|
+
// (No @packageDocumentation comment for this package)
|
|
156
|
+
|
|
157
|
+
```
|