@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
|
@@ -3,71 +3,54 @@
|
|
|
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
|
|
|
10
|
-
import
|
|
11
|
-
import * as
|
|
12
|
-
import * as Mappers from "../models/
|
|
9
|
+
import { ADCOperations } from "../operationsInterfaces";
|
|
10
|
+
import * as coreClient from "@azure/core-client";
|
|
11
|
+
import * as Mappers from "../models/mappers";
|
|
13
12
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
13
|
+
import { DataCatalogRestClient } from "../dataCatalogRestClient";
|
|
14
|
+
import {
|
|
15
|
+
ADCOperationsListOptionalParams,
|
|
16
|
+
ADCOperationsListResponse
|
|
17
|
+
} from "../models";
|
|
15
18
|
|
|
16
|
-
/** Class
|
|
17
|
-
export class ADCOperations {
|
|
18
|
-
private readonly client:
|
|
19
|
+
/** Class containing ADCOperations operations. */
|
|
20
|
+
export class ADCOperationsImpl implements ADCOperations {
|
|
21
|
+
private readonly client: DataCatalogRestClient;
|
|
19
22
|
|
|
20
23
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @param
|
|
24
|
+
* Initialize a new instance of the class ADCOperations class.
|
|
25
|
+
* @param client Reference to the service client
|
|
23
26
|
*/
|
|
24
|
-
constructor(client:
|
|
27
|
+
constructor(client: DataCatalogRestClient) {
|
|
25
28
|
this.client = client;
|
|
26
29
|
}
|
|
27
30
|
|
|
28
31
|
/**
|
|
29
32
|
* Lists all the available Azure Data Catalog service operations.
|
|
30
|
-
* @param
|
|
31
|
-
* @returns Promise<Models.ADCOperationsListResponse>
|
|
33
|
+
* @param options The options parameters.
|
|
32
34
|
*/
|
|
33
|
-
list(
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
list(callback: msRest.ServiceCallback<Models.OperationEntityListResult>): void;
|
|
38
|
-
/**
|
|
39
|
-
* @param options The optional parameters
|
|
40
|
-
* @param callback The callback
|
|
41
|
-
*/
|
|
42
|
-
list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationEntityListResult>): void;
|
|
43
|
-
list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.OperationEntityListResult>, callback?: msRest.ServiceCallback<Models.OperationEntityListResult>): Promise<Models.ADCOperationsListResponse> {
|
|
44
|
-
return this.client.sendOperationRequest(
|
|
45
|
-
{
|
|
46
|
-
options
|
|
47
|
-
},
|
|
48
|
-
listOperationSpec,
|
|
49
|
-
callback) as Promise<Models.ADCOperationsListResponse>;
|
|
35
|
+
list(
|
|
36
|
+
options?: ADCOperationsListOptionalParams
|
|
37
|
+
): Promise<ADCOperationsListResponse> {
|
|
38
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
50
39
|
}
|
|
51
40
|
}
|
|
52
|
-
|
|
53
41
|
// Operation Specifications
|
|
54
|
-
const serializer =
|
|
55
|
-
|
|
42
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
43
|
+
|
|
44
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
45
|
+
path: "/providers/Microsoft.DataCatalog/operations",
|
|
56
46
|
httpMethod: "GET",
|
|
57
|
-
path: "providers/Microsoft.DataCatalog/operations",
|
|
58
|
-
queryParameters: [
|
|
59
|
-
Parameters.apiVersion
|
|
60
|
-
],
|
|
61
|
-
headerParameters: [
|
|
62
|
-
Parameters.acceptLanguage
|
|
63
|
-
],
|
|
64
47
|
responses: {
|
|
65
48
|
200: {
|
|
66
49
|
bodyMapper: Mappers.OperationEntityListResult
|
|
67
|
-
},
|
|
68
|
-
default: {
|
|
69
|
-
bodyMapper: Mappers.CloudError
|
|
70
50
|
}
|
|
71
51
|
},
|
|
52
|
+
queryParameters: [Parameters.apiVersion],
|
|
53
|
+
urlParameters: [Parameters.$host],
|
|
54
|
+
headerParameters: [Parameters.accept],
|
|
72
55
|
serializer
|
|
73
56
|
};
|
package/src/operations/index.ts
CHANGED
|
@@ -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
|
|
|
10
9
|
export * from "./aDCOperations";
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
10
|
+
import {
|
|
11
|
+
ADCCatalogsListtByResourceGroupOptionalParams,
|
|
12
|
+
ADCCatalogsListtByResourceGroupResponse,
|
|
13
|
+
ADCCatalog,
|
|
14
|
+
ADCCatalogsCreateOrUpdateOptionalParams,
|
|
15
|
+
ADCCatalogsCreateOrUpdateResponse,
|
|
16
|
+
ADCCatalogsGetOptionalParams,
|
|
17
|
+
ADCCatalogsGetResponse,
|
|
18
|
+
ADCCatalogsDeleteOptionalParams,
|
|
19
|
+
ADCCatalogsUpdateOptionalParams,
|
|
20
|
+
ADCCatalogsUpdateResponse
|
|
21
|
+
} from "../models";
|
|
22
|
+
|
|
23
|
+
/** Interface representing a ADCCatalogs. */
|
|
24
|
+
export interface ADCCatalogs {
|
|
25
|
+
/**
|
|
26
|
+
* The List catalogs in Resource Group operation lists all the Azure Data Catalogs available under the
|
|
27
|
+
* given resource group.
|
|
28
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
29
|
+
* case insensitive.
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
listtByResourceGroup(
|
|
33
|
+
resourceGroupName: string,
|
|
34
|
+
options?: ADCCatalogsListtByResourceGroupOptionalParams
|
|
35
|
+
): Promise<ADCCatalogsListtByResourceGroupResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* The Create Azure Data Catalog service operation creates a new data catalog service with the
|
|
38
|
+
* specified parameters. If the specific service already exists, then any patchable properties will be
|
|
39
|
+
* updated and any immutable properties will remain unchanged.
|
|
40
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
41
|
+
* case insensitive.
|
|
42
|
+
* @param properties Properties supplied to the Create or Update a data catalog.
|
|
43
|
+
* @param options The options parameters.
|
|
44
|
+
*/
|
|
45
|
+
createOrUpdate(
|
|
46
|
+
resourceGroupName: string,
|
|
47
|
+
properties: ADCCatalog,
|
|
48
|
+
options?: ADCCatalogsCreateOrUpdateOptionalParams
|
|
49
|
+
): Promise<ADCCatalogsCreateOrUpdateResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* The Get Azure Data Catalog Service operation retrieves a json representation of the data catalog.
|
|
52
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
53
|
+
* case insensitive.
|
|
54
|
+
* @param options The options parameters.
|
|
55
|
+
*/
|
|
56
|
+
get(
|
|
57
|
+
resourceGroupName: string,
|
|
58
|
+
options?: ADCCatalogsGetOptionalParams
|
|
59
|
+
): Promise<ADCCatalogsGetResponse>;
|
|
60
|
+
/**
|
|
61
|
+
* The Delete Azure Data Catalog Service operation deletes an existing data catalog.
|
|
62
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
63
|
+
* case insensitive.
|
|
64
|
+
* @param options The options parameters.
|
|
65
|
+
*/
|
|
66
|
+
beginDelete(
|
|
67
|
+
resourceGroupName: string,
|
|
68
|
+
options?: ADCCatalogsDeleteOptionalParams
|
|
69
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
70
|
+
/**
|
|
71
|
+
* The Delete Azure Data Catalog Service operation deletes an existing data catalog.
|
|
72
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
73
|
+
* case insensitive.
|
|
74
|
+
* @param options The options parameters.
|
|
75
|
+
*/
|
|
76
|
+
beginDeleteAndWait(
|
|
77
|
+
resourceGroupName: string,
|
|
78
|
+
options?: ADCCatalogsDeleteOptionalParams
|
|
79
|
+
): Promise<void>;
|
|
80
|
+
/**
|
|
81
|
+
* The Update Azure Data Catalog Service operation can be used to update the existing deployment. The
|
|
82
|
+
* update call only supports the properties listed in the PATCH body.
|
|
83
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
84
|
+
* case insensitive.
|
|
85
|
+
* @param properties Properties supplied to the Update a data catalog.
|
|
86
|
+
* @param options The options parameters.
|
|
87
|
+
*/
|
|
88
|
+
update(
|
|
89
|
+
resourceGroupName: string,
|
|
90
|
+
properties: ADCCatalog,
|
|
91
|
+
options?: ADCCatalogsUpdateOptionalParams
|
|
92
|
+
): Promise<ADCCatalogsUpdateResponse>;
|
|
93
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import {
|
|
10
|
+
ADCOperationsListOptionalParams,
|
|
11
|
+
ADCOperationsListResponse
|
|
12
|
+
} from "../models";
|
|
13
|
+
|
|
14
|
+
/** Interface representing a ADCOperations. */
|
|
15
|
+
export interface ADCOperations {
|
|
16
|
+
/**
|
|
17
|
+
* Lists all the available Azure Data Catalog service operations.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
list(
|
|
21
|
+
options?: ADCOperationsListOptionalParams
|
|
22
|
+
): Promise<ADCOperationsListResponse>;
|
|
23
|
+
}
|
|
@@ -6,9 +6,5 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
export
|
|
10
|
-
|
|
11
|
-
OperationDisplayInfo,
|
|
12
|
-
OperationEntity,
|
|
13
|
-
OperationEntityListResult
|
|
14
|
-
} from "../models/mappers";
|
|
9
|
+
export * from "./aDCOperations";
|
|
10
|
+
export * from "./aDCCatalogs";
|
package/tsconfig.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"module": "es6",
|
|
4
4
|
"moduleResolution": "node",
|
|
5
5
|
"strict": true,
|
|
6
|
-
"target": "
|
|
6
|
+
"target": "es6",
|
|
7
7
|
"sourceMap": true,
|
|
8
8
|
"declarationMap": true,
|
|
9
9
|
"esModuleInterop": true,
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"forceConsistentCasingInFileNames": true,
|
|
12
12
|
"lib": ["es6", "dom"],
|
|
13
13
|
"declaration": true,
|
|
14
|
-
"outDir": "./esm",
|
|
14
|
+
"outDir": "./dist-esm",
|
|
15
15
|
"importHelpers": true
|
|
16
16
|
},
|
|
17
|
-
"include": ["./src/**/*.ts"],
|
|
17
|
+
"include": ["./src/**/*.ts", "./test/**/*.ts"],
|
|
18
18
|
"exclude": ["node_modules"]
|
|
19
19
|
}
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import * as coreAuth from '@azure/core-auth';
|
|
2
|
+
import * as coreClient from '@azure/core-client';
|
|
3
|
+
import { PollerLike } from '@azure/core-lro';
|
|
4
|
+
import { PollOperationState } from '@azure/core-lro';
|
|
5
|
+
|
|
6
|
+
/** Azure Data Catalog. */
|
|
7
|
+
export declare type ADCCatalog = Resource & {
|
|
8
|
+
/** Azure data catalog SKU. */
|
|
9
|
+
sku?: SkuType;
|
|
10
|
+
/** Azure data catalog units. */
|
|
11
|
+
units?: number;
|
|
12
|
+
/** Azure data catalog admin list. */
|
|
13
|
+
admins?: Principals[];
|
|
14
|
+
/** Azure data catalog user list. */
|
|
15
|
+
users?: Principals[];
|
|
16
|
+
/** Azure data catalog provision status. */
|
|
17
|
+
successfullyProvisioned?: boolean;
|
|
18
|
+
/** Automatic unit adjustment enabled or not. */
|
|
19
|
+
enableAutomaticUnitAdjustment?: boolean;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/** Interface representing a ADCCatalogs. */
|
|
23
|
+
export declare interface ADCCatalogs {
|
|
24
|
+
/**
|
|
25
|
+
* The List catalogs in Resource Group operation lists all the Azure Data Catalogs available under the
|
|
26
|
+
* given resource group.
|
|
27
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
28
|
+
* case insensitive.
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
listtByResourceGroup(resourceGroupName: string, options?: ADCCatalogsListtByResourceGroupOptionalParams): Promise<ADCCatalogsListtByResourceGroupResponse>;
|
|
32
|
+
/**
|
|
33
|
+
* The Create Azure Data Catalog service operation creates a new data catalog service with the
|
|
34
|
+
* specified parameters. If the specific service already exists, then any patchable properties will be
|
|
35
|
+
* updated and any immutable properties will remain unchanged.
|
|
36
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
37
|
+
* case insensitive.
|
|
38
|
+
* @param properties Properties supplied to the Create or Update a data catalog.
|
|
39
|
+
* @param options The options parameters.
|
|
40
|
+
*/
|
|
41
|
+
createOrUpdate(resourceGroupName: string, properties: ADCCatalog, options?: ADCCatalogsCreateOrUpdateOptionalParams): Promise<ADCCatalogsCreateOrUpdateResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* The Get Azure Data Catalog Service operation retrieves a json representation of the data catalog.
|
|
44
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
45
|
+
* case insensitive.
|
|
46
|
+
* @param options The options parameters.
|
|
47
|
+
*/
|
|
48
|
+
get(resourceGroupName: string, options?: ADCCatalogsGetOptionalParams): Promise<ADCCatalogsGetResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* The Delete Azure Data Catalog Service operation deletes an existing data catalog.
|
|
51
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
52
|
+
* case insensitive.
|
|
53
|
+
* @param options The options parameters.
|
|
54
|
+
*/
|
|
55
|
+
beginDelete(resourceGroupName: string, options?: ADCCatalogsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
56
|
+
/**
|
|
57
|
+
* The Delete Azure Data Catalog Service operation deletes an existing data catalog.
|
|
58
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
59
|
+
* case insensitive.
|
|
60
|
+
* @param options The options parameters.
|
|
61
|
+
*/
|
|
62
|
+
beginDeleteAndWait(resourceGroupName: string, options?: ADCCatalogsDeleteOptionalParams): Promise<void>;
|
|
63
|
+
/**
|
|
64
|
+
* The Update Azure Data Catalog Service operation can be used to update the existing deployment. The
|
|
65
|
+
* update call only supports the properties listed in the PATCH body.
|
|
66
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
67
|
+
* case insensitive.
|
|
68
|
+
* @param properties Properties supplied to the Update a data catalog.
|
|
69
|
+
* @param options The options parameters.
|
|
70
|
+
*/
|
|
71
|
+
update(resourceGroupName: string, properties: ADCCatalog, options?: ADCCatalogsUpdateOptionalParams): Promise<ADCCatalogsUpdateResponse>;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/** Optional parameters. */
|
|
75
|
+
export declare interface ADCCatalogsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
79
|
+
export declare type ADCCatalogsCreateOrUpdateResponse = ADCCatalog;
|
|
80
|
+
|
|
81
|
+
/** Optional parameters. */
|
|
82
|
+
export declare interface ADCCatalogsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
83
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
84
|
+
updateIntervalInMs?: number;
|
|
85
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
86
|
+
resumeFrom?: string;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/** Optional parameters. */
|
|
90
|
+
export declare interface ADCCatalogsGetOptionalParams extends coreClient.OperationOptions {
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/** Contains response data for the get operation. */
|
|
94
|
+
export declare type ADCCatalogsGetResponse = ADCCatalog;
|
|
95
|
+
|
|
96
|
+
/** The response from the List Azure Data Catalog operation. */
|
|
97
|
+
export declare interface ADCCatalogsListResult {
|
|
98
|
+
/** the list of Azure Data Catalogs. */
|
|
99
|
+
value?: ADCCatalog[];
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/** Optional parameters. */
|
|
103
|
+
export declare interface ADCCatalogsListtByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/** Contains response data for the listtByResourceGroup operation. */
|
|
107
|
+
export declare type ADCCatalogsListtByResourceGroupResponse = ADCCatalogsListResult;
|
|
108
|
+
|
|
109
|
+
/** Optional parameters. */
|
|
110
|
+
export declare interface ADCCatalogsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/** Contains response data for the update operation. */
|
|
114
|
+
export declare type ADCCatalogsUpdateResponse = ADCCatalog;
|
|
115
|
+
|
|
116
|
+
/** Interface representing a ADCOperations. */
|
|
117
|
+
export declare interface ADCOperations {
|
|
118
|
+
/**
|
|
119
|
+
* Lists all the available Azure Data Catalog service operations.
|
|
120
|
+
* @param options The options parameters.
|
|
121
|
+
*/
|
|
122
|
+
list(options?: ADCOperationsListOptionalParams): Promise<ADCOperationsListResponse>;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/** Optional parameters. */
|
|
126
|
+
export declare interface ADCOperationsListOptionalParams extends coreClient.OperationOptions {
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/** Contains response data for the list operation. */
|
|
130
|
+
export declare type ADCOperationsListResponse = OperationEntityListResult;
|
|
131
|
+
|
|
132
|
+
export declare class DataCatalogRestClient extends coreClient.ServiceClient {
|
|
133
|
+
$host: string;
|
|
134
|
+
apiVersion: string;
|
|
135
|
+
subscriptionId: string;
|
|
136
|
+
catalogName: string;
|
|
137
|
+
/**
|
|
138
|
+
* Initializes a new instance of the DataCatalogRestClient class.
|
|
139
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
140
|
+
* @param subscriptionId Gets subscription credentials which uniquely identify the Microsoft Azure
|
|
141
|
+
* subscription. The subscription ID forms part of the URI for every service call.
|
|
142
|
+
* @param catalogName The name of the data catalog in the specified subscription and resource group.
|
|
143
|
+
* @param options The parameter options
|
|
144
|
+
*/
|
|
145
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, catalogName: string, options?: DataCatalogRestClientOptionalParams);
|
|
146
|
+
aDCOperations: ADCOperations;
|
|
147
|
+
aDCCatalogs: ADCCatalogs;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/** Optional parameters. */
|
|
151
|
+
export declare interface DataCatalogRestClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
152
|
+
/** server parameter */
|
|
153
|
+
$host?: string;
|
|
154
|
+
/** Api Version */
|
|
155
|
+
apiVersion?: string;
|
|
156
|
+
/** Overrides client endpoint. */
|
|
157
|
+
endpoint?: string;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/** Known values of {@link SkuType} that the service accepts. */
|
|
161
|
+
export declare enum KnownSkuType {
|
|
162
|
+
Free = "Free",
|
|
163
|
+
Standard = "Standard"
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/** The operation supported by Azure Data Catalog Service. */
|
|
167
|
+
export declare interface OperationDisplayInfo {
|
|
168
|
+
/** The description of the operation. */
|
|
169
|
+
description?: string;
|
|
170
|
+
/** The action that users can perform, based on their permission level. */
|
|
171
|
+
operation?: string;
|
|
172
|
+
/** Service provider: Azure Data Catalog Service. */
|
|
173
|
+
provider?: string;
|
|
174
|
+
/** Resource on which the operation is performed. */
|
|
175
|
+
resource?: string;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/** The operation supported by Azure Data Catalog Service. */
|
|
179
|
+
export declare interface OperationEntity {
|
|
180
|
+
/** Operation name: {provider}/{resource}/{operation}. */
|
|
181
|
+
name?: string;
|
|
182
|
+
/** The operation supported by Azure Data Catalog Service. */
|
|
183
|
+
display?: OperationDisplayInfo;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/** The list of Azure data catalog service operation response. */
|
|
187
|
+
export declare interface OperationEntityListResult {
|
|
188
|
+
/** The list of operations. */
|
|
189
|
+
value?: OperationEntity[];
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/** User principals. */
|
|
193
|
+
export declare interface Principals {
|
|
194
|
+
/** UPN of the user. */
|
|
195
|
+
upn?: string;
|
|
196
|
+
/** Object Id for the user */
|
|
197
|
+
objectId?: string;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/** The Resource model definition. */
|
|
201
|
+
export declare interface Resource {
|
|
202
|
+
/**
|
|
203
|
+
* Resource Id
|
|
204
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
205
|
+
*/
|
|
206
|
+
readonly id?: string;
|
|
207
|
+
/**
|
|
208
|
+
* Resource name
|
|
209
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
210
|
+
*/
|
|
211
|
+
readonly name?: string;
|
|
212
|
+
/**
|
|
213
|
+
* Resource type
|
|
214
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
215
|
+
*/
|
|
216
|
+
readonly type?: string;
|
|
217
|
+
/** Resource location */
|
|
218
|
+
location?: string;
|
|
219
|
+
/** Resource tags */
|
|
220
|
+
tags?: {
|
|
221
|
+
[propertyName: string]: string;
|
|
222
|
+
};
|
|
223
|
+
/** Resource etag */
|
|
224
|
+
etag?: string;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Defines values for SkuType. \
|
|
229
|
+
* {@link KnownSkuType} can be used interchangeably with SkuType,
|
|
230
|
+
* this enum contains the known values that the service supports.
|
|
231
|
+
* ### Known values supported by the service
|
|
232
|
+
* **Free** \
|
|
233
|
+
* **Standard**
|
|
234
|
+
*/
|
|
235
|
+
export declare type SkuType = string;
|
|
236
|
+
|
|
237
|
+
export { }
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
+
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
+
{
|
|
4
|
+
"tsdocVersion": "0.12",
|
|
5
|
+
"toolPackages": [
|
|
6
|
+
{
|
|
7
|
+
"packageName": "@microsoft/api-extractor",
|
|
8
|
+
"packageVersion": "7.19.4"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
}
|