@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
|
@@ -5,12 +5,100 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
export const OperationEntityListResult = {
|
|
9
|
+
type: {
|
|
10
|
+
name: "Composite",
|
|
11
|
+
className: "OperationEntityListResult",
|
|
12
|
+
modelProperties: {
|
|
13
|
+
value: {
|
|
14
|
+
serializedName: "value",
|
|
15
|
+
type: {
|
|
16
|
+
name: "Sequence",
|
|
17
|
+
element: {
|
|
18
|
+
type: {
|
|
19
|
+
name: "Composite",
|
|
20
|
+
className: "OperationEntity"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
export const OperationEntity = {
|
|
29
|
+
type: {
|
|
30
|
+
name: "Composite",
|
|
31
|
+
className: "OperationEntity",
|
|
32
|
+
modelProperties: {
|
|
33
|
+
name: {
|
|
34
|
+
serializedName: "name",
|
|
35
|
+
type: {
|
|
36
|
+
name: "String"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
display: {
|
|
40
|
+
serializedName: "display",
|
|
41
|
+
type: {
|
|
42
|
+
name: "Composite",
|
|
43
|
+
className: "OperationDisplayInfo"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
export const OperationDisplayInfo = {
|
|
50
|
+
type: {
|
|
51
|
+
name: "Composite",
|
|
52
|
+
className: "OperationDisplayInfo",
|
|
53
|
+
modelProperties: {
|
|
54
|
+
description: {
|
|
55
|
+
serializedName: "description",
|
|
56
|
+
type: {
|
|
57
|
+
name: "String"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
operation: {
|
|
61
|
+
serializedName: "operation",
|
|
62
|
+
type: {
|
|
63
|
+
name: "String"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
provider: {
|
|
67
|
+
serializedName: "provider",
|
|
68
|
+
type: {
|
|
69
|
+
name: "String"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
resource: {
|
|
73
|
+
serializedName: "resource",
|
|
74
|
+
type: {
|
|
75
|
+
name: "String"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
export const ADCCatalogsListResult = {
|
|
82
|
+
type: {
|
|
83
|
+
name: "Composite",
|
|
84
|
+
className: "ADCCatalogsListResult",
|
|
85
|
+
modelProperties: {
|
|
86
|
+
value: {
|
|
87
|
+
serializedName: "value",
|
|
88
|
+
type: {
|
|
89
|
+
name: "Sequence",
|
|
90
|
+
element: {
|
|
91
|
+
type: {
|
|
92
|
+
name: "Composite",
|
|
93
|
+
className: "ADCCatalog"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
export const Principals = {
|
|
14
102
|
type: {
|
|
15
103
|
name: "Composite",
|
|
16
104
|
className: "Principals",
|
|
@@ -30,29 +118,28 @@ export var Principals = {
|
|
|
30
118
|
}
|
|
31
119
|
}
|
|
32
120
|
};
|
|
33
|
-
export
|
|
34
|
-
serializedName: "Resource",
|
|
121
|
+
export const Resource = {
|
|
35
122
|
type: {
|
|
36
123
|
name: "Composite",
|
|
37
124
|
className: "Resource",
|
|
38
125
|
modelProperties: {
|
|
39
126
|
id: {
|
|
40
|
-
readOnly: true,
|
|
41
127
|
serializedName: "id",
|
|
128
|
+
readOnly: true,
|
|
42
129
|
type: {
|
|
43
130
|
name: "String"
|
|
44
131
|
}
|
|
45
132
|
},
|
|
46
133
|
name: {
|
|
47
|
-
readOnly: true,
|
|
48
134
|
serializedName: "name",
|
|
135
|
+
readOnly: true,
|
|
49
136
|
type: {
|
|
50
137
|
name: "String"
|
|
51
138
|
}
|
|
52
139
|
},
|
|
53
140
|
type: {
|
|
54
|
-
readOnly: true,
|
|
55
141
|
serializedName: "type",
|
|
142
|
+
readOnly: true,
|
|
56
143
|
type: {
|
|
57
144
|
name: "String"
|
|
58
145
|
}
|
|
@@ -67,11 +154,7 @@ export var Resource = {
|
|
|
67
154
|
serializedName: "tags",
|
|
68
155
|
type: {
|
|
69
156
|
name: "Dictionary",
|
|
70
|
-
value: {
|
|
71
|
-
type: {
|
|
72
|
-
name: "String"
|
|
73
|
-
}
|
|
74
|
-
}
|
|
157
|
+
value: { type: { name: "String" } }
|
|
75
158
|
}
|
|
76
159
|
},
|
|
77
160
|
etag: {
|
|
@@ -83,12 +166,11 @@ export var Resource = {
|
|
|
83
166
|
}
|
|
84
167
|
}
|
|
85
168
|
};
|
|
86
|
-
export
|
|
87
|
-
serializedName: "ADCCatalog",
|
|
169
|
+
export const ADCCatalog = {
|
|
88
170
|
type: {
|
|
89
171
|
name: "Composite",
|
|
90
172
|
className: "ADCCatalog",
|
|
91
|
-
modelProperties:
|
|
173
|
+
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { sku: {
|
|
92
174
|
serializedName: "properties.sku",
|
|
93
175
|
type: {
|
|
94
176
|
name: "String"
|
|
@@ -133,101 +215,4 @@ export var ADCCatalog = {
|
|
|
133
215
|
} })
|
|
134
216
|
}
|
|
135
217
|
};
|
|
136
|
-
export var ADCCatalogsListResult = {
|
|
137
|
-
serializedName: "ADCCatalogsListResult",
|
|
138
|
-
type: {
|
|
139
|
-
name: "Composite",
|
|
140
|
-
className: "ADCCatalogsListResult",
|
|
141
|
-
modelProperties: {
|
|
142
|
-
value: {
|
|
143
|
-
serializedName: "value",
|
|
144
|
-
type: {
|
|
145
|
-
name: "Sequence",
|
|
146
|
-
element: {
|
|
147
|
-
type: {
|
|
148
|
-
name: "Composite",
|
|
149
|
-
className: "ADCCatalog"
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
};
|
|
157
|
-
export var OperationDisplayInfo = {
|
|
158
|
-
serializedName: "OperationDisplayInfo",
|
|
159
|
-
type: {
|
|
160
|
-
name: "Composite",
|
|
161
|
-
className: "OperationDisplayInfo",
|
|
162
|
-
modelProperties: {
|
|
163
|
-
description: {
|
|
164
|
-
serializedName: "description",
|
|
165
|
-
type: {
|
|
166
|
-
name: "String"
|
|
167
|
-
}
|
|
168
|
-
},
|
|
169
|
-
operation: {
|
|
170
|
-
serializedName: "operation",
|
|
171
|
-
type: {
|
|
172
|
-
name: "String"
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
provider: {
|
|
176
|
-
serializedName: "provider",
|
|
177
|
-
type: {
|
|
178
|
-
name: "String"
|
|
179
|
-
}
|
|
180
|
-
},
|
|
181
|
-
resource: {
|
|
182
|
-
serializedName: "resource",
|
|
183
|
-
type: {
|
|
184
|
-
name: "String"
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
};
|
|
190
|
-
export var OperationEntity = {
|
|
191
|
-
serializedName: "OperationEntity",
|
|
192
|
-
type: {
|
|
193
|
-
name: "Composite",
|
|
194
|
-
className: "OperationEntity",
|
|
195
|
-
modelProperties: {
|
|
196
|
-
name: {
|
|
197
|
-
serializedName: "name",
|
|
198
|
-
type: {
|
|
199
|
-
name: "String"
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
display: {
|
|
203
|
-
serializedName: "display",
|
|
204
|
-
type: {
|
|
205
|
-
name: "Composite",
|
|
206
|
-
className: "OperationDisplayInfo"
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
};
|
|
212
|
-
export var OperationEntityListResult = {
|
|
213
|
-
serializedName: "OperationEntityListResult",
|
|
214
|
-
type: {
|
|
215
|
-
name: "Composite",
|
|
216
|
-
className: "OperationEntityListResult",
|
|
217
|
-
modelProperties: {
|
|
218
|
-
value: {
|
|
219
|
-
serializedName: "value",
|
|
220
|
-
type: {
|
|
221
|
-
name: "Sequence",
|
|
222
|
-
element: {
|
|
223
|
-
type: {
|
|
224
|
-
name: "Composite",
|
|
225
|
-
className: "OperationEntity"
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
};
|
|
233
218
|
//# sourceMappingURL=mappers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,yBAAyB,GAA+B;IACnE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,2BAA2B;QACtC,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,iBAAiB;yBAC7B;qBACF;iBACF;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAA+B;IACzD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,iBAAiB;QAC5B,eAAe,EAAE;YACf,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;i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gB;gBAChC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,KAAK,EAAE;gBACL,cAAc,EAAE,kBAAkB;gBAClC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,MAAM,EAAE;gBACN,cAAc,EAAE,mBAAmB;gBACnC,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,YAAY;yBACxB;qBACF;iBACF;aACF,EACD,KAAK,EAAE;gBACL,cAAc,EAAE,kBAAkB;gBAClC,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,YAAY;yBACxB;qBACF;iBACF;aACF,EACD,uBAAuB,EAAE;gBACvB,cAAc,EAAE,oCAAoC;gBACpD,IAAI,EAAE;oBACJ,IAAI,EAAE,SAAS;iBAChB;aACF,EACD,6BAA6B,EAAE;gBAC7B,cAAc,EAAE,0CAA0C;gBAC1D,IAAI,EAAE;oBACJ,IAAI,EAAE,SAAS;iBAChB;aACF,GACF;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
|
|
2
|
+
export declare const accept: OperationParameter;
|
|
3
|
+
export declare const $host: OperationURLParameter;
|
|
4
|
+
export declare const apiVersion: OperationQueryParameter;
|
|
5
|
+
export declare const subscriptionId: OperationURLParameter;
|
|
6
|
+
export declare const resourceGroupName: OperationURLParameter;
|
|
7
|
+
export declare const contentType: OperationParameter;
|
|
8
|
+
export declare const properties: OperationParameter;
|
|
9
|
+
export declare const catalogName: OperationURLParameter;
|
|
10
|
+
//# sourceMappingURL=parameters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAG5B,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,qBAS5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,qBAc/B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,kBAGxB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,qBASzB,CAAC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
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 { ADCCatalog as ADCCatalogMapper } from "../models/mappers";
|
|
9
|
+
export const accept = {
|
|
10
|
+
parameterPath: "accept",
|
|
11
|
+
mapper: {
|
|
12
|
+
defaultValue: "application/json",
|
|
13
|
+
isConstant: true,
|
|
14
|
+
serializedName: "Accept",
|
|
15
|
+
type: {
|
|
16
|
+
name: "String"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
export const $host = {
|
|
21
|
+
parameterPath: "$host",
|
|
22
|
+
mapper: {
|
|
23
|
+
serializedName: "$host",
|
|
24
|
+
required: true,
|
|
25
|
+
type: {
|
|
26
|
+
name: "String"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
skipEncoding: true
|
|
30
|
+
};
|
|
31
|
+
export const apiVersion = {
|
|
32
|
+
parameterPath: "apiVersion",
|
|
33
|
+
mapper: {
|
|
34
|
+
defaultValue: "2016-03-30",
|
|
35
|
+
isConstant: true,
|
|
36
|
+
serializedName: "api-version",
|
|
37
|
+
type: {
|
|
38
|
+
name: "String"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
export const subscriptionId = {
|
|
43
|
+
parameterPath: "subscriptionId",
|
|
44
|
+
mapper: {
|
|
45
|
+
serializedName: "subscriptionId",
|
|
46
|
+
required: true,
|
|
47
|
+
type: {
|
|
48
|
+
name: "String"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
export const resourceGroupName = {
|
|
53
|
+
parameterPath: "resourceGroupName",
|
|
54
|
+
mapper: {
|
|
55
|
+
constraints: {
|
|
56
|
+
Pattern: new RegExp("^[-\\w\\._\\(\\)]+$"),
|
|
57
|
+
MaxLength: 90,
|
|
58
|
+
MinLength: 1
|
|
59
|
+
},
|
|
60
|
+
serializedName: "resourceGroupName",
|
|
61
|
+
required: true,
|
|
62
|
+
type: {
|
|
63
|
+
name: "String"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
export const contentType = {
|
|
68
|
+
parameterPath: ["options", "contentType"],
|
|
69
|
+
mapper: {
|
|
70
|
+
defaultValue: "application/json",
|
|
71
|
+
isConstant: true,
|
|
72
|
+
serializedName: "Content-Type",
|
|
73
|
+
type: {
|
|
74
|
+
name: "String"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
export const properties = {
|
|
79
|
+
parameterPath: "properties",
|
|
80
|
+
mapper: ADCCatalogMapper
|
|
81
|
+
};
|
|
82
|
+
export const catalogName = {
|
|
83
|
+
parameterPath: "catalogName",
|
|
84
|
+
mapper: {
|
|
85
|
+
serializedName: "catalogName",
|
|
86
|
+
required: true,
|
|
87
|
+
type: {
|
|
88
|
+
name: "String"
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
//# sourceMappingURL=parameters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EAAE,UAAU,IAAI,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAEnE,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,YAAY;QAC1B,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAA0B;IACnD,aAAa,EAAE,gBAAgB;IAC/B,MAAM,EAAE;QACN,cAAc,EAAE,gBAAgB;QAChC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAA0B;IACtD,aAAa,EAAE,mBAAmB;IAClC,MAAM,EAAE;QACN,WAAW,EAAE;YACX,OAAO,EAAE,IAAI,MAAM,CAAC,qBAAqB,CAAC;YAC1C,SAAS,EAAE,EAAE;YACb,SAAS,EAAE,CAAC;SACb;QACD,cAAc,EAAE,mBAAmB;QACnC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAuB;IAC5C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,gBAAgB;CACzB,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAA0B;IAChD,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE;QACN,cAAc,EAAE,aAAa;QAC7B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { ADCCatalogs } from "../operationsInterfaces";
|
|
2
|
+
import { DataCatalogRestClient } from "../dataCatalogRestClient";
|
|
3
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
4
|
+
import { ADCCatalogsListtByResourceGroupOptionalParams, ADCCatalogsListtByResourceGroupResponse, ADCCatalog, ADCCatalogsCreateOrUpdateOptionalParams, ADCCatalogsCreateOrUpdateResponse, ADCCatalogsGetOptionalParams, ADCCatalogsGetResponse, ADCCatalogsDeleteOptionalParams, ADCCatalogsUpdateOptionalParams, ADCCatalogsUpdateResponse } from "../models";
|
|
5
|
+
/** Class containing ADCCatalogs operations. */
|
|
6
|
+
export declare class ADCCatalogsImpl implements ADCCatalogs {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class ADCCatalogs class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: DataCatalogRestClient);
|
|
13
|
+
/**
|
|
14
|
+
* The List catalogs in Resource Group operation lists all the Azure Data Catalogs available under the
|
|
15
|
+
* given resource group.
|
|
16
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
17
|
+
* case insensitive.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
listtByResourceGroup(resourceGroupName: string, options?: ADCCatalogsListtByResourceGroupOptionalParams): Promise<ADCCatalogsListtByResourceGroupResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* The Create Azure Data Catalog service operation creates a new data catalog service with the
|
|
23
|
+
* specified parameters. If the specific service already exists, then any patchable properties will be
|
|
24
|
+
* updated and any immutable properties will remain unchanged.
|
|
25
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
26
|
+
* case insensitive.
|
|
27
|
+
* @param properties Properties supplied to the Create or Update a data catalog.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
createOrUpdate(resourceGroupName: string, properties: ADCCatalog, options?: ADCCatalogsCreateOrUpdateOptionalParams): Promise<ADCCatalogsCreateOrUpdateResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* The Get Azure Data Catalog Service operation retrieves a json representation of the data catalog.
|
|
33
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
34
|
+
* case insensitive.
|
|
35
|
+
* @param options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
get(resourceGroupName: string, options?: ADCCatalogsGetOptionalParams): Promise<ADCCatalogsGetResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* The Delete Azure Data Catalog Service operation deletes an existing data catalog.
|
|
40
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
41
|
+
* case insensitive.
|
|
42
|
+
* @param options The options parameters.
|
|
43
|
+
*/
|
|
44
|
+
beginDelete(resourceGroupName: string, options?: ADCCatalogsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
45
|
+
/**
|
|
46
|
+
* The Delete Azure Data Catalog Service operation deletes an existing data catalog.
|
|
47
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
48
|
+
* case insensitive.
|
|
49
|
+
* @param options The options parameters.
|
|
50
|
+
*/
|
|
51
|
+
beginDeleteAndWait(resourceGroupName: string, options?: ADCCatalogsDeleteOptionalParams): Promise<void>;
|
|
52
|
+
/**
|
|
53
|
+
* The Update Azure Data Catalog Service operation can be used to update the existing deployment. The
|
|
54
|
+
* update call only supports the properties listed in the PATCH body.
|
|
55
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
56
|
+
* case insensitive.
|
|
57
|
+
* @param properties Properties supplied to the Update a data catalog.
|
|
58
|
+
* @param options The options parameters.
|
|
59
|
+
*/
|
|
60
|
+
update(resourceGroupName: string, properties: ADCCatalog, options?: ADCCatalogsUpdateOptionalParams): Promise<ADCCatalogsUpdateResponse>;
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=aDCCatalogs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aDCCatalogs.d.ts","sourceRoot":"","sources":["../../../src/operations/aDCCatalogs.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAItD,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,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,+CAA+C;AAC/C,qBAAa,eAAgB,YAAW,WAAW;IACjD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwB;IAE/C;;;OAGG;gBACS,MAAM,EAAE,qBAAqB;IAIzC;;;;;;OAMG;IACH,oBAAoB,CAClB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;IAOnD;;;;;;;;OAQG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC;IAO7C;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;IAOlC;;;;;OAKG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAmDtD;;;;;OAKG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,IAAI,CAAC;IAKhB;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC;CAMtC"}
|
|
@@ -0,0 +1,208 @@
|
|
|
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 * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
import { LroEngine } from "@azure/core-lro";
|
|
13
|
+
import { LroImpl } from "../lroImpl";
|
|
14
|
+
/** Class containing ADCCatalogs operations. */
|
|
15
|
+
export class ADCCatalogsImpl {
|
|
16
|
+
/**
|
|
17
|
+
* Initialize a new instance of the class ADCCatalogs class.
|
|
18
|
+
* @param client Reference to the service client
|
|
19
|
+
*/
|
|
20
|
+
constructor(client) {
|
|
21
|
+
this.client = client;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* The List catalogs in Resource Group operation lists all the Azure Data Catalogs available under the
|
|
25
|
+
* given resource group.
|
|
26
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
27
|
+
* case insensitive.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
listtByResourceGroup(resourceGroupName, options) {
|
|
31
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listtByResourceGroupOperationSpec);
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* The Create Azure Data Catalog service operation creates a new data catalog service with the
|
|
35
|
+
* specified parameters. If the specific service already exists, then any patchable properties will be
|
|
36
|
+
* updated and any immutable properties will remain unchanged.
|
|
37
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
38
|
+
* case insensitive.
|
|
39
|
+
* @param properties Properties supplied to the Create or Update a data catalog.
|
|
40
|
+
* @param options The options parameters.
|
|
41
|
+
*/
|
|
42
|
+
createOrUpdate(resourceGroupName, properties, options) {
|
|
43
|
+
return this.client.sendOperationRequest({ resourceGroupName, properties, options }, createOrUpdateOperationSpec);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* The Get Azure Data Catalog Service operation retrieves a json representation of the data catalog.
|
|
47
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
48
|
+
* case insensitive.
|
|
49
|
+
* @param options The options parameters.
|
|
50
|
+
*/
|
|
51
|
+
get(resourceGroupName, options) {
|
|
52
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, getOperationSpec);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* The Delete Azure Data Catalog Service operation deletes an existing data catalog.
|
|
56
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
57
|
+
* case insensitive.
|
|
58
|
+
* @param options The options parameters.
|
|
59
|
+
*/
|
|
60
|
+
beginDelete(resourceGroupName, options) {
|
|
61
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
62
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
63
|
+
return this.client.sendOperationRequest(args, spec);
|
|
64
|
+
});
|
|
65
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
66
|
+
var _a;
|
|
67
|
+
let currentRawResponse = undefined;
|
|
68
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
69
|
+
const callback = (rawResponse, flatResponse) => {
|
|
70
|
+
currentRawResponse = rawResponse;
|
|
71
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
72
|
+
};
|
|
73
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
74
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
75
|
+
return {
|
|
76
|
+
flatResponse,
|
|
77
|
+
rawResponse: {
|
|
78
|
+
statusCode: currentRawResponse.status,
|
|
79
|
+
body: currentRawResponse.parsedBody,
|
|
80
|
+
headers: currentRawResponse.headers.toJSON()
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
});
|
|
84
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, options }, deleteOperationSpec);
|
|
85
|
+
return new LroEngine(lro, {
|
|
86
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
87
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
88
|
+
});
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* The Delete Azure Data Catalog Service operation deletes an existing data catalog.
|
|
93
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
94
|
+
* case insensitive.
|
|
95
|
+
* @param options The options parameters.
|
|
96
|
+
*/
|
|
97
|
+
beginDeleteAndWait(resourceGroupName, options) {
|
|
98
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
99
|
+
const poller = yield this.beginDelete(resourceGroupName, options);
|
|
100
|
+
return poller.pollUntilDone();
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* The Update Azure Data Catalog Service operation can be used to update the existing deployment. The
|
|
105
|
+
* update call only supports the properties listed in the PATCH body.
|
|
106
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
107
|
+
* case insensitive.
|
|
108
|
+
* @param properties Properties supplied to the Update a data catalog.
|
|
109
|
+
* @param options The options parameters.
|
|
110
|
+
*/
|
|
111
|
+
update(resourceGroupName, properties, options) {
|
|
112
|
+
return this.client.sendOperationRequest({ resourceGroupName, properties, options }, updateOperationSpec);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
// Operation Specifications
|
|
116
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
117
|
+
const listtByResourceGroupOperationSpec = {
|
|
118
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataCatalog/catalogs",
|
|
119
|
+
httpMethod: "GET",
|
|
120
|
+
responses: {
|
|
121
|
+
200: {
|
|
122
|
+
bodyMapper: Mappers.ADCCatalogsListResult
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
queryParameters: [Parameters.apiVersion],
|
|
126
|
+
urlParameters: [
|
|
127
|
+
Parameters.$host,
|
|
128
|
+
Parameters.subscriptionId,
|
|
129
|
+
Parameters.resourceGroupName
|
|
130
|
+
],
|
|
131
|
+
headerParameters: [Parameters.accept],
|
|
132
|
+
serializer
|
|
133
|
+
};
|
|
134
|
+
const createOrUpdateOperationSpec = {
|
|
135
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataCatalog/catalogs/{catalogName}",
|
|
136
|
+
httpMethod: "PUT",
|
|
137
|
+
responses: {
|
|
138
|
+
200: {
|
|
139
|
+
bodyMapper: Mappers.ADCCatalog
|
|
140
|
+
},
|
|
141
|
+
201: {
|
|
142
|
+
bodyMapper: Mappers.ADCCatalog
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
requestBody: Parameters.properties,
|
|
146
|
+
queryParameters: [Parameters.apiVersion],
|
|
147
|
+
urlParameters: [
|
|
148
|
+
Parameters.$host,
|
|
149
|
+
Parameters.subscriptionId,
|
|
150
|
+
Parameters.resourceGroupName,
|
|
151
|
+
Parameters.catalogName
|
|
152
|
+
],
|
|
153
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
154
|
+
mediaType: "json",
|
|
155
|
+
serializer
|
|
156
|
+
};
|
|
157
|
+
const getOperationSpec = {
|
|
158
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataCatalog/catalogs/{catalogName}",
|
|
159
|
+
httpMethod: "GET",
|
|
160
|
+
responses: {
|
|
161
|
+
200: {
|
|
162
|
+
bodyMapper: Mappers.ADCCatalog
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
queryParameters: [Parameters.apiVersion],
|
|
166
|
+
urlParameters: [
|
|
167
|
+
Parameters.$host,
|
|
168
|
+
Parameters.subscriptionId,
|
|
169
|
+
Parameters.resourceGroupName,
|
|
170
|
+
Parameters.catalogName
|
|
171
|
+
],
|
|
172
|
+
headerParameters: [Parameters.accept],
|
|
173
|
+
serializer
|
|
174
|
+
};
|
|
175
|
+
const deleteOperationSpec = {
|
|
176
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataCatalog/catalogs/{catalogName}",
|
|
177
|
+
httpMethod: "DELETE",
|
|
178
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {} },
|
|
179
|
+
queryParameters: [Parameters.apiVersion],
|
|
180
|
+
urlParameters: [
|
|
181
|
+
Parameters.$host,
|
|
182
|
+
Parameters.subscriptionId,
|
|
183
|
+
Parameters.resourceGroupName,
|
|
184
|
+
Parameters.catalogName
|
|
185
|
+
],
|
|
186
|
+
serializer
|
|
187
|
+
};
|
|
188
|
+
const updateOperationSpec = {
|
|
189
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataCatalog/catalogs/{catalogName}",
|
|
190
|
+
httpMethod: "PATCH",
|
|
191
|
+
responses: {
|
|
192
|
+
200: {
|
|
193
|
+
bodyMapper: Mappers.ADCCatalog
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
requestBody: Parameters.properties,
|
|
197
|
+
queryParameters: [Parameters.apiVersion],
|
|
198
|
+
urlParameters: [
|
|
199
|
+
Parameters.$host,
|
|
200
|
+
Parameters.subscriptionId,
|
|
201
|
+
Parameters.resourceGroupName,
|
|
202
|
+
Parameters.catalogName
|
|
203
|
+
],
|
|
204
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
205
|
+
mediaType: "json",
|
|
206
|
+
serializer
|
|
207
|
+
};
|
|
208
|
+
//# sourceMappingURL=aDCCatalogs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aDCCatalogs.js","sourceRoot":"","sources":["../../../src/operations/aDCCatalogs.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,M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