@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.
Files changed (118) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/LICENSE.txt +1 -1
  4. package/README.md +70 -78
  5. package/dist/index.js +668 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/index.min.js +1 -0
  8. package/dist/index.min.js.map +1 -0
  9. package/dist-esm/src/dataCatalogRestClient.d.ts +22 -0
  10. package/dist-esm/src/dataCatalogRestClient.d.ts.map +1 -0
  11. package/dist-esm/src/dataCatalogRestClient.js +58 -0
  12. package/dist-esm/src/dataCatalogRestClient.js.map +1 -0
  13. package/dist-esm/src/index.d.ts +4 -0
  14. package/dist-esm/src/index.d.ts.map +1 -0
  15. package/{esm/models/aDCOperationsMappers.js → dist-esm/src/index.js} +4 -2
  16. package/dist-esm/src/index.js.map +1 -0
  17. package/dist-esm/src/lroImpl.d.ts +16 -0
  18. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  19. package/dist-esm/src/lroImpl.js +29 -0
  20. package/dist-esm/src/lroImpl.js.map +1 -0
  21. package/dist-esm/src/models/index.d.ts +133 -0
  22. package/dist-esm/src/models/index.d.ts.map +1 -0
  23. package/dist-esm/src/models/index.js +14 -0
  24. package/dist-esm/src/models/index.js.map +1 -0
  25. package/dist-esm/src/models/mappers.d.ts +9 -0
  26. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  27. package/{esm → dist-esm/src}/models/mappers.js +101 -116
  28. package/dist-esm/src/models/mappers.js.map +1 -0
  29. package/dist-esm/src/models/parameters.d.ts +10 -0
  30. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  31. package/dist-esm/src/models/parameters.js +92 -0
  32. package/dist-esm/src/models/parameters.js.map +1 -0
  33. package/dist-esm/src/operations/aDCCatalogs.d.ts +62 -0
  34. package/dist-esm/src/operations/aDCCatalogs.d.ts.map +1 -0
  35. package/dist-esm/src/operations/aDCCatalogs.js +208 -0
  36. package/dist-esm/src/operations/aDCCatalogs.js.map +1 -0
  37. package/dist-esm/src/operations/aDCOperations.d.ts +18 -0
  38. package/dist-esm/src/operations/aDCOperations.d.ts.map +1 -0
  39. package/dist-esm/src/operations/aDCOperations.js +43 -0
  40. package/dist-esm/src/operations/aDCOperations.js.map +1 -0
  41. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  42. package/dist-esm/src/operations/index.d.ts.map +1 -0
  43. package/{esm → dist-esm/src}/operations/index.js +1 -2
  44. package/dist-esm/src/operations/index.js.map +1 -0
  45. package/dist-esm/src/operationsInterfaces/aDCCatalogs.d.ts +54 -0
  46. package/dist-esm/src/operationsInterfaces/aDCCatalogs.d.ts.map +1 -0
  47. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/aDCCatalogs.js} +2 -1
  48. package/dist-esm/src/operationsInterfaces/aDCCatalogs.js.map +1 -0
  49. package/dist-esm/src/operationsInterfaces/aDCOperations.d.ts +10 -0
  50. package/dist-esm/src/operationsInterfaces/aDCOperations.d.ts.map +1 -0
  51. package/dist-esm/src/operationsInterfaces/aDCOperations.js +9 -0
  52. package/dist-esm/src/operationsInterfaces/aDCOperations.js.map +1 -0
  53. package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
  54. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  55. package/dist-esm/src/operationsInterfaces/index.js +10 -0
  56. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  57. package/dist-esm/test/sampleTest.d.ts +2 -0
  58. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  59. package/dist-esm/test/sampleTest.js +40 -0
  60. package/dist-esm/test/sampleTest.js.map +1 -0
  61. package/package.json +69 -32
  62. package/review/arm-datacatalog.api.md +157 -0
  63. package/rollup.config.js +181 -30
  64. package/src/dataCatalogRestClient.ts +70 -37
  65. package/src/{models/aDCCatalogsMappers.ts → index.ts} +3 -8
  66. package/src/lroImpl.ts +34 -0
  67. package/src/models/index.ts +108 -207
  68. package/src/models/mappers.ts +104 -119
  69. package/src/models/parameters.ts +59 -20
  70. package/src/operations/aDCCatalogs.ts +193 -251
  71. package/src/operations/aDCOperations.ts +27 -44
  72. package/src/operations/index.ts +1 -2
  73. package/src/operationsInterfaces/aDCCatalogs.ts +93 -0
  74. package/src/operationsInterfaces/aDCOperations.ts +23 -0
  75. package/src/{models/aDCOperationsMappers.ts → operationsInterfaces/index.ts} +2 -6
  76. package/tsconfig.json +3 -3
  77. package/types/arm-datacatalog.d.ts +237 -0
  78. package/types/tsdoc-metadata.json +11 -0
  79. package/dist/arm-datacatalog.js +0 -765
  80. package/dist/arm-datacatalog.js.map +0 -1
  81. package/dist/arm-datacatalog.min.js +0 -1
  82. package/dist/arm-datacatalog.min.js.map +0 -1
  83. package/esm/dataCatalogRestClient.d.ts +0 -28
  84. package/esm/dataCatalogRestClient.d.ts.map +0 -1
  85. package/esm/dataCatalogRestClient.js +0 -41
  86. package/esm/dataCatalogRestClient.js.map +0 -1
  87. package/esm/dataCatalogRestClientContext.d.ts +0 -26
  88. package/esm/dataCatalogRestClientContext.d.ts.map +0 -1
  89. package/esm/dataCatalogRestClientContext.js +0 -67
  90. package/esm/dataCatalogRestClientContext.js.map +0 -1
  91. package/esm/models/aDCCatalogsMappers.d.ts +0 -2
  92. package/esm/models/aDCCatalogsMappers.d.ts.map +0 -1
  93. package/esm/models/aDCCatalogsMappers.js +0 -9
  94. package/esm/models/aDCCatalogsMappers.js.map +0 -1
  95. package/esm/models/aDCOperationsMappers.d.ts +0 -2
  96. package/esm/models/aDCOperationsMappers.d.ts.map +0 -1
  97. package/esm/models/aDCOperationsMappers.js.map +0 -1
  98. package/esm/models/index.d.ts +0 -235
  99. package/esm/models/index.d.ts.map +0 -1
  100. package/esm/models/index.js.map +0 -1
  101. package/esm/models/mappers.d.ts +0 -11
  102. package/esm/models/mappers.d.ts.map +0 -1
  103. package/esm/models/mappers.js.map +0 -1
  104. package/esm/models/parameters.d.ts +0 -7
  105. package/esm/models/parameters.d.ts.map +0 -1
  106. package/esm/models/parameters.js +0 -64
  107. package/esm/models/parameters.js.map +0 -1
  108. package/esm/operations/aDCCatalogs.d.ts +0 -131
  109. package/esm/operations/aDCCatalogs.d.ts.map +0 -1
  110. package/esm/operations/aDCCatalogs.js +0 -209
  111. package/esm/operations/aDCCatalogs.js.map +0 -1
  112. package/esm/operations/aDCOperations.d.ts +0 -28
  113. package/esm/operations/aDCOperations.d.ts.map +0 -1
  114. package/esm/operations/aDCOperations.js +0 -50
  115. package/esm/operations/aDCOperations.js.map +0 -1
  116. package/esm/operations/index.d.ts.map +0 -1
  117. package/esm/operations/index.js.map +0 -1
  118. 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 * as msRest from "@azure/ms-rest-js";
11
- import * as Models from "../models";
12
- import * as Mappers from "../models/aDCOperationsMappers";
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 { DataCatalogRestClientContext } from "../dataCatalogRestClientContext";
13
+ import { DataCatalogRestClient } from "../dataCatalogRestClient";
14
+ import {
15
+ ADCOperationsListOptionalParams,
16
+ ADCOperationsListResponse
17
+ } from "../models";
15
18
 
16
- /** Class representing a ADCOperations. */
17
- export class ADCOperations {
18
- private readonly client: DataCatalogRestClientContext;
19
+ /** Class containing ADCOperations operations. */
20
+ export class ADCOperationsImpl implements ADCOperations {
21
+ private readonly client: DataCatalogRestClient;
19
22
 
20
23
  /**
21
- * Create a ADCOperations.
22
- * @param {DataCatalogRestClientContext} client Reference to the service client.
24
+ * Initialize a new instance of the class ADCOperations class.
25
+ * @param client Reference to the service client
23
26
  */
24
- constructor(client: DataCatalogRestClientContext) {
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 [options] The optional parameters
31
- * @returns Promise<Models.ADCOperationsListResponse>
33
+ * @param options The options parameters.
32
34
  */
33
- list(options?: msRest.RequestOptionsBase): Promise<Models.ADCOperationsListResponse>;
34
- /**
35
- * @param callback The callback
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 = new msRest.Serializer(Mappers);
55
- const listOperationSpec: msRest.OperationSpec = {
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
  };
@@ -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
- CloudError,
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": "es5",
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
+ }