@azure/arm-databoundaries 1.0.0-beta.2 → 1.0.0-beta.3

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 (295) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +9 -12
  3. package/dist/browser/api/dataBoundaries/index.d.ts +3 -0
  4. package/dist/browser/api/dataBoundaries/index.js +4 -0
  5. package/dist/browser/api/dataBoundaries/index.js.map +1 -0
  6. package/dist/browser/api/dataBoundaries/operations.d.ts +17 -0
  7. package/dist/browser/api/dataBoundaries/operations.js +87 -0
  8. package/dist/browser/api/dataBoundaries/operations.js.map +1 -0
  9. package/dist/browser/api/dataBoundaries/options.d.ts +11 -0
  10. package/dist/browser/api/dataBoundaries/options.js +4 -0
  11. package/dist/browser/api/dataBoundaries/options.js.map +1 -0
  12. package/dist/browser/api/databoundariesManegementContext.d.ts +20 -0
  13. package/dist/browser/api/databoundariesManegementContext.js +26 -0
  14. package/dist/browser/api/databoundariesManegementContext.js.map +1 -0
  15. package/dist/browser/api/index.d.ts +3 -0
  16. package/dist/browser/api/index.js +4 -0
  17. package/dist/browser/api/index.js.map +1 -0
  18. package/dist/browser/api/operations/index.d.ts +3 -0
  19. package/dist/browser/api/operations/index.js +4 -0
  20. package/dist/browser/api/operations/index.js.map +1 -0
  21. package/dist/browser/api/operations/operations.d.ts +10 -0
  22. package/dist/browser/api/operations/operations.js +31 -0
  23. package/dist/browser/api/operations/operations.js.map +1 -0
  24. package/dist/browser/api/operations/options.d.ts +5 -0
  25. package/dist/browser/api/operations/options.js +4 -0
  26. package/dist/browser/api/operations/options.js.map +1 -0
  27. package/dist/browser/classic/dataBoundaries/index.d.ts +14 -0
  28. package/dist/browser/classic/dataBoundaries/index.js +16 -0
  29. package/dist/browser/classic/dataBoundaries/index.js.map +1 -0
  30. package/dist/browser/classic/index.d.ts +3 -0
  31. package/dist/browser/classic/index.js +4 -0
  32. package/dist/browser/classic/index.js.map +1 -0
  33. package/dist/browser/classic/operations/index.d.ts +11 -0
  34. package/dist/browser/classic/operations/index.js +14 -0
  35. package/dist/browser/classic/operations/index.js.map +1 -0
  36. package/dist/browser/databoundariesManegementClient.d.ts +16 -16
  37. package/dist/browser/databoundariesManegementClient.js +24 -94
  38. package/dist/browser/databoundariesManegementClient.js.map +1 -1
  39. package/dist/browser/index.d.ts +12 -2
  40. package/dist/browser/index.js +6 -9
  41. package/dist/browser/index.js.map +1 -1
  42. package/dist/browser/logger.d.ts +2 -0
  43. package/dist/browser/logger.js +5 -0
  44. package/dist/browser/logger.js.map +1 -0
  45. package/dist/browser/models/index.d.ts +2 -212
  46. package/dist/browser/models/index.js +3 -53
  47. package/dist/browser/models/index.js.map +1 -1
  48. package/dist/browser/models/models.d.ts +236 -0
  49. package/dist/browser/models/models.js +198 -0
  50. package/dist/browser/models/models.js.map +1 -0
  51. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
  52. package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
  53. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  54. package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
  55. package/dist/browser/static-helpers/pagingHelpers.js +143 -0
  56. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  57. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  58. package/dist/browser/static-helpers/urlTemplate.js +200 -0
  59. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  60. package/dist/commonjs/api/dataBoundaries/index.d.ts +3 -0
  61. package/dist/commonjs/api/dataBoundaries/index.js +32 -0
  62. package/dist/commonjs/api/dataBoundaries/index.js.map +7 -0
  63. package/dist/commonjs/api/dataBoundaries/operations.d.ts +17 -0
  64. package/dist/commonjs/api/dataBoundaries/operations.js +136 -0
  65. package/dist/commonjs/api/dataBoundaries/operations.js.map +7 -0
  66. package/dist/commonjs/api/dataBoundaries/options.d.ts +11 -0
  67. package/dist/commonjs/api/dataBoundaries/options.js +16 -0
  68. package/dist/commonjs/api/dataBoundaries/options.js.map +7 -0
  69. package/dist/commonjs/api/databoundariesManegementContext.d.ts +20 -0
  70. package/dist/commonjs/api/databoundariesManegementContext.js +47 -0
  71. package/dist/commonjs/api/databoundariesManegementContext.js.map +7 -0
  72. package/dist/commonjs/api/index.d.ts +3 -0
  73. package/dist/commonjs/api/index.js +28 -0
  74. package/dist/commonjs/api/index.js.map +7 -0
  75. package/dist/commonjs/api/operations/index.d.ts +3 -0
  76. package/dist/commonjs/api/operations/index.js +28 -0
  77. package/dist/commonjs/api/operations/index.js.map +7 -0
  78. package/dist/commonjs/api/operations/operations.d.ts +10 -0
  79. package/dist/commonjs/api/operations/operations.js +68 -0
  80. package/dist/commonjs/api/operations/operations.js.map +7 -0
  81. package/dist/commonjs/api/operations/options.d.ts +5 -0
  82. package/dist/commonjs/api/operations/options.js +16 -0
  83. package/dist/commonjs/api/operations/options.js.map +7 -0
  84. package/dist/commonjs/classic/dataBoundaries/index.d.ts +14 -0
  85. package/dist/commonjs/classic/dataBoundaries/index.js +40 -0
  86. package/dist/commonjs/classic/dataBoundaries/index.js.map +7 -0
  87. package/dist/commonjs/classic/index.d.ts +3 -0
  88. package/dist/commonjs/classic/index.js +16 -0
  89. package/dist/commonjs/classic/index.js.map +7 -0
  90. package/dist/commonjs/classic/operations/index.d.ts +11 -0
  91. package/dist/commonjs/classic/operations/index.js +38 -0
  92. package/dist/commonjs/classic/operations/index.js.map +7 -0
  93. package/dist/commonjs/databoundariesManegementClient.d.ts +16 -16
  94. package/dist/commonjs/databoundariesManegementClient.js +50 -103
  95. package/dist/commonjs/databoundariesManegementClient.js.map +7 -1
  96. package/dist/commonjs/index.d.ts +12 -2
  97. package/dist/commonjs/index.js +51 -16
  98. package/dist/commonjs/index.js.map +7 -1
  99. package/dist/commonjs/logger.d.ts +2 -0
  100. package/dist/commonjs/logger.js +29 -0
  101. package/dist/commonjs/logger.js.map +7 -0
  102. package/dist/commonjs/models/index.d.ts +2 -212
  103. package/dist/commonjs/models/index.js +40 -57
  104. package/dist/commonjs/models/index.js.map +7 -1
  105. package/dist/commonjs/models/models.d.ts +236 -0
  106. package/dist/commonjs/models/models.js +229 -0
  107. package/dist/commonjs/models/models.js.map +7 -0
  108. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
  109. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
  110. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
  111. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
  112. package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
  113. package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
  114. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  115. package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
  116. package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
  117. package/dist/commonjs/tsdoc-metadata.json +1 -1
  118. package/dist/esm/api/dataBoundaries/index.d.ts +3 -0
  119. package/dist/esm/api/dataBoundaries/index.js +4 -0
  120. package/dist/esm/api/dataBoundaries/index.js.map +1 -0
  121. package/dist/esm/api/dataBoundaries/operations.d.ts +17 -0
  122. package/dist/esm/api/dataBoundaries/operations.js +87 -0
  123. package/dist/esm/api/dataBoundaries/operations.js.map +1 -0
  124. package/dist/esm/api/dataBoundaries/options.d.ts +11 -0
  125. package/dist/esm/api/dataBoundaries/options.js +4 -0
  126. package/dist/esm/api/dataBoundaries/options.js.map +1 -0
  127. package/dist/esm/api/databoundariesManegementContext.d.ts +20 -0
  128. package/dist/esm/api/databoundariesManegementContext.js +26 -0
  129. package/dist/esm/api/databoundariesManegementContext.js.map +1 -0
  130. package/dist/esm/api/index.d.ts +3 -0
  131. package/dist/esm/api/index.js +4 -0
  132. package/dist/esm/api/index.js.map +1 -0
  133. package/dist/esm/api/operations/index.d.ts +3 -0
  134. package/dist/esm/api/operations/index.js +4 -0
  135. package/dist/esm/api/operations/index.js.map +1 -0
  136. package/dist/esm/api/operations/operations.d.ts +10 -0
  137. package/dist/esm/api/operations/operations.js +31 -0
  138. package/dist/esm/api/operations/operations.js.map +1 -0
  139. package/dist/esm/api/operations/options.d.ts +5 -0
  140. package/dist/esm/api/operations/options.js +4 -0
  141. package/dist/esm/api/operations/options.js.map +1 -0
  142. package/dist/esm/classic/dataBoundaries/index.d.ts +14 -0
  143. package/dist/esm/classic/dataBoundaries/index.js +16 -0
  144. package/dist/esm/classic/dataBoundaries/index.js.map +1 -0
  145. package/dist/esm/classic/index.d.ts +3 -0
  146. package/dist/esm/classic/index.js +4 -0
  147. package/dist/esm/classic/index.js.map +1 -0
  148. package/dist/esm/classic/operations/index.d.ts +11 -0
  149. package/dist/esm/classic/operations/index.js +14 -0
  150. package/dist/esm/classic/operations/index.js.map +1 -0
  151. package/dist/esm/databoundariesManegementClient.d.ts +16 -16
  152. package/dist/esm/databoundariesManegementClient.js +24 -94
  153. package/dist/esm/databoundariesManegementClient.js.map +1 -1
  154. package/dist/esm/index.d.ts +12 -2
  155. package/dist/esm/index.js +6 -9
  156. package/dist/esm/index.js.map +1 -1
  157. package/dist/esm/logger.d.ts +2 -0
  158. package/dist/esm/logger.js +5 -0
  159. package/dist/esm/logger.js.map +1 -0
  160. package/dist/esm/models/index.d.ts +2 -212
  161. package/dist/esm/models/index.js +3 -53
  162. package/dist/esm/models/index.js.map +1 -1
  163. package/dist/esm/models/models.d.ts +236 -0
  164. package/dist/esm/models/models.js +198 -0
  165. package/dist/esm/models/models.js.map +1 -0
  166. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
  167. package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
  168. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
  169. package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
  170. package/dist/esm/static-helpers/pagingHelpers.js +143 -0
  171. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  172. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  173. package/dist/esm/static-helpers/urlTemplate.js +200 -0
  174. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  175. package/package.json +144 -91
  176. package/CHANGELOG.md +0 -17
  177. package/dist/browser/databoundariesManegementClient.d.ts.map +0 -1
  178. package/dist/browser/index.d.ts.map +0 -1
  179. package/dist/browser/models/index.d.ts.map +0 -1
  180. package/dist/browser/models/mappers.d.ts +0 -10
  181. package/dist/browser/models/mappers.d.ts.map +0 -1
  182. package/dist/browser/models/mappers.js +0 -227
  183. package/dist/browser/models/mappers.js.map +0 -1
  184. package/dist/browser/models/parameters.d.ts +0 -9
  185. package/dist/browser/models/parameters.d.ts.map +0 -1
  186. package/dist/browser/models/parameters.js +0 -81
  187. package/dist/browser/models/parameters.js.map +0 -1
  188. package/dist/browser/operations/dataBoundaries.d.ts +0 -33
  189. package/dist/browser/operations/dataBoundaries.d.ts.map +0 -1
  190. package/dist/browser/operations/dataBoundaries.js +0 -103
  191. package/dist/browser/operations/dataBoundaries.js.map +0 -1
  192. package/dist/browser/operations/index.d.ts +0 -2
  193. package/dist/browser/operations/index.d.ts.map +0 -1
  194. package/dist/browser/operations/index.js +0 -9
  195. package/dist/browser/operations/index.js.map +0 -1
  196. package/dist/browser/operationsInterfaces/dataBoundaries.d.ts +0 -25
  197. package/dist/browser/operationsInterfaces/dataBoundaries.d.ts.map +0 -1
  198. package/dist/browser/operationsInterfaces/dataBoundaries.js +0 -9
  199. package/dist/browser/operationsInterfaces/dataBoundaries.js.map +0 -1
  200. package/dist/browser/operationsInterfaces/index.d.ts +0 -2
  201. package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
  202. package/dist/browser/operationsInterfaces/index.js +0 -9
  203. package/dist/browser/operationsInterfaces/index.js.map +0 -1
  204. package/dist/commonjs/databoundariesManegementClient.d.ts.map +0 -1
  205. package/dist/commonjs/index.d.ts.map +0 -1
  206. package/dist/commonjs/models/index.d.ts.map +0 -1
  207. package/dist/commonjs/models/mappers.d.ts +0 -10
  208. package/dist/commonjs/models/mappers.d.ts.map +0 -1
  209. package/dist/commonjs/models/mappers.js +0 -230
  210. package/dist/commonjs/models/mappers.js.map +0 -1
  211. package/dist/commonjs/models/parameters.d.ts +0 -9
  212. package/dist/commonjs/models/parameters.d.ts.map +0 -1
  213. package/dist/commonjs/models/parameters.js +0 -84
  214. package/dist/commonjs/models/parameters.js.map +0 -1
  215. package/dist/commonjs/operations/dataBoundaries.d.ts +0 -33
  216. package/dist/commonjs/operations/dataBoundaries.d.ts.map +0 -1
  217. package/dist/commonjs/operations/dataBoundaries.js +0 -108
  218. package/dist/commonjs/operations/dataBoundaries.js.map +0 -1
  219. package/dist/commonjs/operations/index.d.ts +0 -2
  220. package/dist/commonjs/operations/index.d.ts.map +0 -1
  221. package/dist/commonjs/operations/index.js +0 -12
  222. package/dist/commonjs/operations/index.js.map +0 -1
  223. package/dist/commonjs/operationsInterfaces/dataBoundaries.d.ts +0 -25
  224. package/dist/commonjs/operationsInterfaces/dataBoundaries.d.ts.map +0 -1
  225. package/dist/commonjs/operationsInterfaces/dataBoundaries.js +0 -10
  226. package/dist/commonjs/operationsInterfaces/dataBoundaries.js.map +0 -1
  227. package/dist/commonjs/operationsInterfaces/index.d.ts +0 -2
  228. package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
  229. package/dist/commonjs/operationsInterfaces/index.js +0 -12
  230. package/dist/commonjs/operationsInterfaces/index.js.map +0 -1
  231. package/dist/esm/databoundariesManegementClient.d.ts.map +0 -1
  232. package/dist/esm/index.d.ts.map +0 -1
  233. package/dist/esm/models/index.d.ts.map +0 -1
  234. package/dist/esm/models/mappers.d.ts +0 -10
  235. package/dist/esm/models/mappers.d.ts.map +0 -1
  236. package/dist/esm/models/mappers.js +0 -227
  237. package/dist/esm/models/mappers.js.map +0 -1
  238. package/dist/esm/models/parameters.d.ts +0 -9
  239. package/dist/esm/models/parameters.d.ts.map +0 -1
  240. package/dist/esm/models/parameters.js +0 -81
  241. package/dist/esm/models/parameters.js.map +0 -1
  242. package/dist/esm/operations/dataBoundaries.d.ts +0 -33
  243. package/dist/esm/operations/dataBoundaries.d.ts.map +0 -1
  244. package/dist/esm/operations/dataBoundaries.js +0 -103
  245. package/dist/esm/operations/dataBoundaries.js.map +0 -1
  246. package/dist/esm/operations/index.d.ts +0 -2
  247. package/dist/esm/operations/index.d.ts.map +0 -1
  248. package/dist/esm/operations/index.js +0 -9
  249. package/dist/esm/operations/index.js.map +0 -1
  250. package/dist/esm/operationsInterfaces/dataBoundaries.d.ts +0 -25
  251. package/dist/esm/operationsInterfaces/dataBoundaries.d.ts.map +0 -1
  252. package/dist/esm/operationsInterfaces/dataBoundaries.js +0 -9
  253. package/dist/esm/operationsInterfaces/dataBoundaries.js.map +0 -1
  254. package/dist/esm/operationsInterfaces/index.d.ts +0 -2
  255. package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
  256. package/dist/esm/operationsInterfaces/index.js +0 -9
  257. package/dist/esm/operationsInterfaces/index.js.map +0 -1
  258. package/dist/react-native/databoundariesManegementClient.d.ts +0 -18
  259. package/dist/react-native/databoundariesManegementClient.d.ts.map +0 -1
  260. package/dist/react-native/databoundariesManegementClient.js +0 -99
  261. package/dist/react-native/databoundariesManegementClient.js.map +0 -1
  262. package/dist/react-native/index.d.ts +0 -4
  263. package/dist/react-native/index.d.ts.map +0 -1
  264. package/dist/react-native/index.js +0 -11
  265. package/dist/react-native/index.js.map +0 -1
  266. package/dist/react-native/models/index.d.ts +0 -213
  267. package/dist/react-native/models/index.d.ts.map +0 -1
  268. package/dist/react-native/models/index.js +0 -54
  269. package/dist/react-native/models/index.js.map +0 -1
  270. package/dist/react-native/models/mappers.d.ts +0 -10
  271. package/dist/react-native/models/mappers.d.ts.map +0 -1
  272. package/dist/react-native/models/mappers.js +0 -227
  273. package/dist/react-native/models/mappers.js.map +0 -1
  274. package/dist/react-native/models/parameters.d.ts +0 -9
  275. package/dist/react-native/models/parameters.d.ts.map +0 -1
  276. package/dist/react-native/models/parameters.js +0 -81
  277. package/dist/react-native/models/parameters.js.map +0 -1
  278. package/dist/react-native/operations/dataBoundaries.d.ts +0 -33
  279. package/dist/react-native/operations/dataBoundaries.d.ts.map +0 -1
  280. package/dist/react-native/operations/dataBoundaries.js +0 -103
  281. package/dist/react-native/operations/dataBoundaries.js.map +0 -1
  282. package/dist/react-native/operations/index.d.ts +0 -2
  283. package/dist/react-native/operations/index.d.ts.map +0 -1
  284. package/dist/react-native/operations/index.js +0 -9
  285. package/dist/react-native/operations/index.js.map +0 -1
  286. package/dist/react-native/operationsInterfaces/dataBoundaries.d.ts +0 -25
  287. package/dist/react-native/operationsInterfaces/dataBoundaries.d.ts.map +0 -1
  288. package/dist/react-native/operationsInterfaces/dataBoundaries.js +0 -9
  289. package/dist/react-native/operationsInterfaces/dataBoundaries.js.map +0 -1
  290. package/dist/react-native/operationsInterfaces/index.d.ts +0 -2
  291. package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
  292. package/dist/react-native/operationsInterfaces/index.js +0 -9
  293. package/dist/react-native/operationsInterfaces/index.js.map +0 -1
  294. package/dist/react-native/package.json +0 -3
  295. package/review/arm-databoundaries-node.api.md +0 -154
@@ -1,104 +1,51 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.DataboundariesManegementClient = void 0;
11
- const tslib_1 = require("tslib");
12
- const coreClient = tslib_1.__importStar(require("@azure/core-client"));
13
- const coreRestPipeline = tslib_1.__importStar(require("@azure/core-rest-pipeline"));
14
- const index_js_1 = require("./operations/index.js");
15
- class DataboundariesManegementClient extends coreClient.ServiceClient {
16
- $host;
17
- apiVersion;
18
- /**
19
- * Initializes a new instance of the DataboundariesManegementClient class.
20
- * @param credentials Subscription credentials which uniquely identify client subscription.
21
- * @param options The parameter options
22
- */
23
- constructor(credentials, options) {
24
- if (credentials === undefined) {
25
- throw new Error("'credentials' cannot be null");
26
- }
27
- // Initializing default values for options
28
- if (!options) {
29
- options = {};
30
- }
31
- const defaults = {
32
- requestContentType: "application/json; charset=utf-8",
33
- credential: credentials,
34
- };
35
- const packageDetails = `azsdk-js-arm-databoundaries/1.0.0-beta.2`;
36
- const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
37
- ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
38
- : `${packageDetails}`;
39
- const optionsWithDefaults = {
40
- ...defaults,
41
- ...options,
42
- userAgentOptions: {
43
- userAgentPrefix,
44
- },
45
- endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com",
46
- };
47
- super(optionsWithDefaults);
48
- let bearerTokenAuthenticationPolicyFound = false;
49
- if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
50
- const pipelinePolicies = options.pipeline.getOrderedPolicies();
51
- bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
52
- coreRestPipeline.bearerTokenAuthenticationPolicyName);
53
- }
54
- if (!options ||
55
- !options.pipeline ||
56
- options.pipeline.getOrderedPolicies().length == 0 ||
57
- !bearerTokenAuthenticationPolicyFound) {
58
- this.pipeline.removePolicy({
59
- name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
60
- });
61
- this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
62
- credential: credentials,
63
- scopes: optionsWithDefaults.credentialScopes ??
64
- `${optionsWithDefaults.endpoint}/.default`,
65
- challengeCallbacks: {
66
- authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
67
- },
68
- }));
69
- }
70
- // Assigning values to Constant parameters
71
- this.$host = options.$host || "https://management.azure.com";
72
- this.apiVersion = options.apiVersion || "2024-08-01";
73
- this.dataBoundaries = new index_js_1.DataBoundariesImpl(this);
74
- this.addCustomApiVersionPolicy(options.apiVersion);
75
- }
76
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
77
- addCustomApiVersionPolicy(apiVersion) {
78
- if (!apiVersion) {
79
- return;
80
- }
81
- const apiVersionPolicy = {
82
- name: "CustomApiVersionPolicy",
83
- async sendRequest(request, next) {
84
- const param = request.url.split("?");
85
- if (param.length > 1) {
86
- const newParams = param[1].split("&").map((item) => {
87
- if (item.indexOf("api-version") > -1) {
88
- return "api-version=" + apiVersion;
89
- }
90
- else {
91
- return item;
92
- }
93
- });
94
- request.url = param[0] + "?" + newParams.join("&");
95
- }
96
- return next(request);
97
- },
98
- };
99
- this.pipeline.addPolicy(apiVersionPolicy);
100
- }
101
- dataBoundaries;
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var databoundariesManegementClient_exports = {};
19
+ __export(databoundariesManegementClient_exports, {
20
+ DataboundariesManegementClient: () => DataboundariesManegementClient
21
+ });
22
+ module.exports = __toCommonJS(databoundariesManegementClient_exports);
23
+ var import_api = require("./api/index.js");
24
+ var import_dataBoundaries = require("./classic/dataBoundaries/index.js");
25
+ var import_operations = require("./classic/operations/index.js");
26
+ class DataboundariesManegementClient {
27
+ _client;
28
+ /** The pipeline used by this client to make requests */
29
+ pipeline;
30
+ /** Provides APIs for data boundary operations. */
31
+ constructor(credential, options = {}) {
32
+ const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;
33
+ const userAgentPrefix = prefixFromOptions ? `${prefixFromOptions} azsdk-js-client` : `azsdk-js-client`;
34
+ this._client = (0, import_api.createDataboundariesManegement)(credential, {
35
+ ...options,
36
+ userAgentOptions: { userAgentPrefix }
37
+ });
38
+ this.pipeline = this._client.pipeline;
39
+ this.dataBoundaries = (0, import_dataBoundaries._getDataBoundariesOperations)(this._client);
40
+ this.operations = (0, import_operations._getOperationsOperations)(this._client);
41
+ }
42
+ /** The operation groups for dataBoundaries */
43
+ dataBoundaries;
44
+ /** The operation groups for operations */
45
+ operations;
102
46
  }
103
- exports.DataboundariesManegementClient = DataboundariesManegementClient;
104
- //# sourceMappingURL=databoundariesManegementClient.js.map
47
+ // Annotate the CommonJS export names for ESM import in node:
48
+ 0 && (module.exports = {
49
+ DataboundariesManegementClient
50
+ });
51
+ //# sourceMappingURL=databoundariesManegementClient.js.map
@@ -1 +1,7 @@
1
- {"version":3,"file":"databoundariesManegementClient.js","sourceRoot":"","sources":["../../src/databoundariesManegementClient.ts"],"names":[],"mappings":"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","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { DataBoundariesImpl } from \"./operations/index.js\";\nimport { DataBoundaries } from \"./operationsInterfaces/index.js\";\nimport { DataboundariesManegementClientOptionalParams } from \"./models/index.js\";\n\nexport class DataboundariesManegementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the DataboundariesManegementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: DataboundariesManegementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: DataboundariesManegementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-databoundaries/1.0.0-beta.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2024-08-01\";\n this.dataBoundaries = new DataBoundariesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n dataBoundaries: DataBoundaries;\n}\n"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/databoundariesManegementClient.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n DataboundariesManegementContext,\n DataboundariesManegementClientOptionalParams,\n createDataboundariesManegement,\n} from \"./api/index.js\";\nimport {\n DataBoundariesOperations,\n _getDataBoundariesOperations,\n} from \"./classic/dataBoundaries/index.js\";\nimport { OperationsOperations, _getOperationsOperations } from \"./classic/operations/index.js\";\nimport { TokenCredential } from \"@azure/core-auth\";\nimport { Pipeline } from \"@azure/core-rest-pipeline\";\n\nexport type { DataboundariesManegementClientOptionalParams } from \"./api/databoundariesManegementContext.js\";\n\nexport class DataboundariesManegementClient {\n private _client: DataboundariesManegementContext;\n /** The pipeline used by this client to make requests */\n public readonly pipeline: Pipeline;\n\n /** Provides APIs for data boundary operations. */\n constructor(\n credential: TokenCredential,\n options: DataboundariesManegementClientOptionalParams = {},\n ) {\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-client`\n : `azsdk-js-client`;\n this._client = createDataboundariesManegement(credential, {\n ...options,\n userAgentOptions: { userAgentPrefix },\n });\n this.pipeline = this._client.pipeline;\n this.dataBoundaries = _getDataBoundariesOperations(this._client);\n this.operations = _getOperationsOperations(this._client);\n }\n\n /** The operation groups for dataBoundaries */\n public readonly dataBoundaries: DataBoundariesOperations;\n /** The operation groups for operations */\n public readonly operations: OperationsOperations;\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,iBAIO;AACP,4BAGO;AACP,wBAA+D;AAMxD,MAAM,+BAA+B;AAAA,EAClC;AAAA;AAAA,EAEQ;AAAA;AAAA,EAGhB,YACE,YACA,UAAwD,CAAC,GACzD;AACA,UAAM,oBAAoB,SAAS,kBAAkB;AACrD,UAAM,kBAAkB,oBACpB,GAAG,iBAAiB,qBACpB;AACJ,SAAK,cAAU,2CAA+B,YAAY;AAAA,MACxD,GAAG;AAAA,MACH,kBAAkB,EAAE,gBAAgB;AAAA,IACtC,CAAC;AACD,SAAK,WAAW,KAAK,QAAQ;AAC7B,SAAK,qBAAiB,oDAA6B,KAAK,OAAO;AAC/D,SAAK,iBAAa,4CAAyB,KAAK,OAAO;AAAA,EACzD;AAAA;AAAA,EAGgB;AAAA;AAAA,EAEA;AAClB;",
6
+ "names": []
7
+ }
@@ -1,4 +1,14 @@
1
- export * from "./models/index.js";
1
+ import { AzureClouds, AzureSupportedClouds } from "./static-helpers/cloudSettingHelpers.js";
2
+ import { PageSettings, ContinuablePage, PagedAsyncIterableIterator } from "./static-helpers/pagingHelpers.js";
2
3
  export { DataboundariesManegementClient } from "./databoundariesManegementClient.js";
3
- export * from "./operationsInterfaces/index.js";
4
+ export type { Operation, OperationDisplay, Origin, ActionType, ErrorResponse, ErrorDetail, ErrorAdditionalInfo, DataBoundaryDefinition, DataBoundaryProperties, DataBoundary, ProvisioningState, DefaultName, ProxyResource, Resource, SystemData, CreatedByType, } from "./models/index.js";
5
+ export { KnownOrigin, KnownActionType, KnownDataBoundary, KnownProvisioningState, KnownDefaultName, KnownCreatedByType, KnownVersions, } from "./models/index.js";
6
+ export type { DataboundariesManegementClientOptionalParams } from "./api/index.js";
7
+ export type { DataBoundariesPutOptionalParams, DataBoundariesGetTenantOptionalParams, DataBoundariesGetScopeOptionalParams, } from "./api/dataBoundaries/index.js";
8
+ export type { OperationsListOptionalParams } from "./api/operations/index.js";
9
+ export type { DataBoundariesOperations, OperationsOperations } from "./classic/index.js";
10
+ export type { PageSettings, ContinuablePage, PagedAsyncIterableIterator };
11
+ export { AzureClouds };
12
+ export type { AzureSupportedClouds };
13
+ export { RestError, isRestError } from "@azure/core-rest-pipeline";
4
14
  //# sourceMappingURL=index.d.ts.map
@@ -1,16 +1,51 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.DataboundariesManegementClient = void 0;
11
- const tslib_1 = require("tslib");
12
- tslib_1.__exportStar(require("./models/index.js"), exports);
13
- var databoundariesManegementClient_js_1 = require("./databoundariesManegementClient.js");
14
- Object.defineProperty(exports, "DataboundariesManegementClient", { enumerable: true, get: function () { return databoundariesManegementClient_js_1.DataboundariesManegementClient; } });
15
- tslib_1.__exportStar(require("./operationsInterfaces/index.js"), exports);
16
- //# sourceMappingURL=index.js.map
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var src_exports = {};
19
+ __export(src_exports, {
20
+ AzureClouds: () => import_cloudSettingHelpers.AzureClouds,
21
+ DataboundariesManegementClient: () => import_databoundariesManegementClient.DataboundariesManegementClient,
22
+ KnownActionType: () => import_models.KnownActionType,
23
+ KnownCreatedByType: () => import_models.KnownCreatedByType,
24
+ KnownDataBoundary: () => import_models.KnownDataBoundary,
25
+ KnownDefaultName: () => import_models.KnownDefaultName,
26
+ KnownOrigin: () => import_models.KnownOrigin,
27
+ KnownProvisioningState: () => import_models.KnownProvisioningState,
28
+ KnownVersions: () => import_models.KnownVersions,
29
+ RestError: () => import_core_rest_pipeline.RestError,
30
+ isRestError: () => import_core_rest_pipeline.isRestError
31
+ });
32
+ module.exports = __toCommonJS(src_exports);
33
+ var import_cloudSettingHelpers = require("./static-helpers/cloudSettingHelpers.js");
34
+ var import_databoundariesManegementClient = require("./databoundariesManegementClient.js");
35
+ var import_models = require("./models/index.js");
36
+ var import_core_rest_pipeline = require("@azure/core-rest-pipeline");
37
+ // Annotate the CommonJS export names for ESM import in node:
38
+ 0 && (module.exports = {
39
+ AzureClouds,
40
+ DataboundariesManegementClient,
41
+ KnownActionType,
42
+ KnownCreatedByType,
43
+ KnownDataBoundary,
44
+ KnownDefaultName,
45
+ KnownOrigin,
46
+ KnownProvisioningState,
47
+ KnownVersions,
48
+ RestError,
49
+ isRestError
50
+ });
51
+ //# sourceMappingURL=index.js.map
@@ -1 +1,7 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,4DAAkC;AAClC,yFAAqF;AAA5E,mJAAA,8BAA8B,OAAA;AACvC,0EAAgD","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./models/index.js\";\nexport { DataboundariesManegementClient } from \"./databoundariesManegementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/index.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AzureClouds, AzureSupportedClouds } from \"./static-helpers/cloudSettingHelpers.js\";\nimport {\n PageSettings,\n ContinuablePage,\n PagedAsyncIterableIterator,\n} from \"./static-helpers/pagingHelpers.js\";\n\nexport { DataboundariesManegementClient } from \"./databoundariesManegementClient.js\";\nexport type {\n Operation,\n OperationDisplay,\n Origin,\n ActionType,\n ErrorResponse,\n ErrorDetail,\n ErrorAdditionalInfo,\n DataBoundaryDefinition,\n DataBoundaryProperties,\n DataBoundary,\n ProvisioningState,\n DefaultName,\n ProxyResource,\n Resource,\n SystemData,\n CreatedByType,\n} from \"./models/index.js\";\nexport {\n KnownOrigin,\n KnownActionType,\n KnownDataBoundary,\n KnownProvisioningState,\n KnownDefaultName,\n KnownCreatedByType,\n KnownVersions,\n} from \"./models/index.js\";\nexport type { DataboundariesManegementClientOptionalParams } from \"./api/index.js\";\nexport type {\n DataBoundariesPutOptionalParams,\n DataBoundariesGetTenantOptionalParams,\n DataBoundariesGetScopeOptionalParams,\n} from \"./api/dataBoundaries/index.js\";\nexport type { OperationsListOptionalParams } from \"./api/operations/index.js\";\nexport type { DataBoundariesOperations, OperationsOperations } from \"./classic/index.js\";\nexport type { PageSettings, ContinuablePage, PagedAsyncIterableIterator };\nexport { AzureClouds };\nexport type { AzureSupportedClouds };\nexport { RestError, isRestError } from \"@azure/core-rest-pipeline\";\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,iCAAkD;AAOlD,4CAA+C;AAmB/C,oBAQO;AAYP,gCAAuC;",
6
+ "names": []
7
+ }
@@ -0,0 +1,2 @@
1
+ export declare const logger: import("@azure/logger").AzureLogger;
2
+ //# sourceMappingURL=logger.d.ts.map
@@ -0,0 +1,29 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var logger_exports = {};
19
+ __export(logger_exports, {
20
+ logger: () => logger
21
+ });
22
+ module.exports = __toCommonJS(logger_exports);
23
+ var import_logger = require("@azure/logger");
24
+ const logger = (0, import_logger.createClientLogger)("arm-databoundaries");
25
+ // Annotate the CommonJS export names for ESM import in node:
26
+ 0 && (module.exports = {
27
+ logger
28
+ });
29
+ //# sourceMappingURL=logger.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/logger.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createClientLogger } from \"@azure/logger\";\nexport const logger = createClientLogger(\"arm-databoundaries\");\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,oBAAmC;AAC5B,MAAM,aAAS,kCAAmB,oBAAoB;",
6
+ "names": []
7
+ }
@@ -1,213 +1,3 @@
1
- import * as coreClient from "@azure/core-client";
2
- /** Data boundary properties */
3
- export interface DataBoundaryProperties {
4
- /** The data boundary definition. */
5
- dataBoundary?: DataBoundary;
6
- /**
7
- * Denotes the state of provisioning.
8
- * NOTE: This property will not be serialized. It can only be populated by the server.
9
- */
10
- readonly provisioningState?: ProvisioningState;
11
- }
12
- /** Common fields that are returned in the response for all Azure Resource Manager resources */
13
- export interface Resource {
14
- /**
15
- * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
16
- * NOTE: This property will not be serialized. It can only be populated by the server.
17
- */
18
- readonly id?: string;
19
- /**
20
- * The name of the resource
21
- * NOTE: This property will not be serialized. It can only be populated by the server.
22
- */
23
- readonly name?: string;
24
- /**
25
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
26
- * NOTE: This property will not be serialized. It can only be populated by the server.
27
- */
28
- readonly type?: string;
29
- /**
30
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
31
- * NOTE: This property will not be serialized. It can only be populated by the server.
32
- */
33
- readonly systemData?: SystemData;
34
- }
35
- /** Metadata pertaining to creation and last modification of the resource. */
36
- export interface SystemData {
37
- /** The identity that created the resource. */
38
- createdBy?: string;
39
- /** The type of identity that created the resource. */
40
- createdByType?: CreatedByType;
41
- /** The timestamp of resource creation (UTC). */
42
- createdAt?: Date;
43
- /** The identity that last modified the resource. */
44
- lastModifiedBy?: string;
45
- /** The type of identity that last modified the resource. */
46
- lastModifiedByType?: CreatedByType;
47
- /** The timestamp of resource last modification (UTC) */
48
- lastModifiedAt?: Date;
49
- }
50
- /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
51
- export interface ErrorResponse {
52
- /** The error object. */
53
- error?: ErrorDetail;
54
- }
55
- /** The error detail. */
56
- export interface ErrorDetail {
57
- /**
58
- * The error code.
59
- * NOTE: This property will not be serialized. It can only be populated by the server.
60
- */
61
- readonly code?: string;
62
- /**
63
- * The error message.
64
- * NOTE: This property will not be serialized. It can only be populated by the server.
65
- */
66
- readonly message?: string;
67
- /**
68
- * The error target.
69
- * NOTE: This property will not be serialized. It can only be populated by the server.
70
- */
71
- readonly target?: string;
72
- /**
73
- * The error details.
74
- * NOTE: This property will not be serialized. It can only be populated by the server.
75
- */
76
- readonly details?: ErrorDetail[];
77
- /**
78
- * The error additional info.
79
- * NOTE: This property will not be serialized. It can only be populated by the server.
80
- */
81
- readonly additionalInfo?: ErrorAdditionalInfo[];
82
- }
83
- /** The resource management error additional info. */
84
- export interface ErrorAdditionalInfo {
85
- /**
86
- * The additional info type.
87
- * NOTE: This property will not be serialized. It can only be populated by the server.
88
- */
89
- readonly type?: string;
90
- /**
91
- * The additional info.
92
- * NOTE: This property will not be serialized. It can only be populated by the server.
93
- */
94
- readonly info?: Record<string, unknown>;
95
- }
96
- /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
97
- export interface ProxyResource extends Resource {
98
- }
99
- /** A data boundary definition. */
100
- export interface DataBoundaryDefinition extends ProxyResource {
101
- /** Data boundary properties */
102
- properties?: DataBoundaryProperties;
103
- }
104
- /** Known values of {@link DefaultName} that the service accepts. */
105
- export declare enum KnownDefaultName {
106
- /** Default */
107
- Default = "default"
108
- }
109
- /**
110
- * Defines values for DefaultName. \
111
- * {@link KnownDefaultName} can be used interchangeably with DefaultName,
112
- * this enum contains the known values that the service supports.
113
- * ### Known values supported by the service
114
- * **default**
115
- */
116
- export type DefaultName = string;
117
- /** Known values of {@link DataBoundary} that the service accepts. */
118
- export declare enum KnownDataBoundary {
119
- /** NotDefined */
120
- NotDefined = "NotDefined",
121
- /** Global */
122
- Global = "Global",
123
- /** EU */
124
- EU = "EU"
125
- }
126
- /**
127
- * Defines values for DataBoundary. \
128
- * {@link KnownDataBoundary} can be used interchangeably with DataBoundary,
129
- * this enum contains the known values that the service supports.
130
- * ### Known values supported by the service
131
- * **NotDefined** \
132
- * **Global** \
133
- * **EU**
134
- */
135
- export type DataBoundary = string;
136
- /** Known values of {@link ProvisioningState} that the service accepts. */
137
- export declare enum KnownProvisioningState {
138
- /** Accepted */
139
- Accepted = "Accepted",
140
- /** Running */
141
- Running = "Running",
142
- /** Creating */
143
- Creating = "Creating",
144
- /** Canceled */
145
- Canceled = "Canceled",
146
- /** Failed */
147
- Failed = "Failed",
148
- /** Succeeded */
149
- Succeeded = "Succeeded",
150
- /** Updating */
151
- Updating = "Updating"
152
- }
153
- /**
154
- * Defines values for ProvisioningState. \
155
- * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
156
- * this enum contains the known values that the service supports.
157
- * ### Known values supported by the service
158
- * **Accepted** \
159
- * **Running** \
160
- * **Creating** \
161
- * **Canceled** \
162
- * **Failed** \
163
- * **Succeeded** \
164
- * **Updating**
165
- */
166
- export type ProvisioningState = string;
167
- /** Known values of {@link CreatedByType} that the service accepts. */
168
- export declare enum KnownCreatedByType {
169
- /** User */
170
- User = "User",
171
- /** Application */
172
- Application = "Application",
173
- /** ManagedIdentity */
174
- ManagedIdentity = "ManagedIdentity",
175
- /** Key */
176
- Key = "Key"
177
- }
178
- /**
179
- * Defines values for CreatedByType. \
180
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
181
- * this enum contains the known values that the service supports.
182
- * ### Known values supported by the service
183
- * **User** \
184
- * **Application** \
185
- * **ManagedIdentity** \
186
- * **Key**
187
- */
188
- export type CreatedByType = string;
189
- /** Optional parameters. */
190
- export interface DataBoundariesPutOptionalParams extends coreClient.OperationOptions {
191
- }
192
- /** Contains response data for the put operation. */
193
- export type DataBoundariesPutResponse = DataBoundaryDefinition;
194
- /** Optional parameters. */
195
- export interface DataBoundariesGetTenantOptionalParams extends coreClient.OperationOptions {
196
- }
197
- /** Contains response data for the getTenant operation. */
198
- export type DataBoundariesGetTenantResponse = DataBoundaryDefinition;
199
- /** Optional parameters. */
200
- export interface DataBoundariesGetScopeOptionalParams extends coreClient.OperationOptions {
201
- }
202
- /** Contains response data for the getScope operation. */
203
- export type DataBoundariesGetScopeResponse = DataBoundaryDefinition;
204
- /** Optional parameters. */
205
- export interface DataboundariesManegementClientOptionalParams extends coreClient.ServiceClientOptions {
206
- /** server parameter */
207
- $host?: string;
208
- /** Api Version */
209
- apiVersion?: string;
210
- /** Overrides client endpoint. */
211
- endpoint?: string;
212
- }
1
+ export type { Operation, OperationDisplay, Origin, ActionType, ErrorResponse, ErrorDetail, ErrorAdditionalInfo, DataBoundaryDefinition, DataBoundaryProperties, DataBoundary, ProvisioningState, DefaultName, ProxyResource, Resource, SystemData, CreatedByType, } from "./models.js";
2
+ export { KnownOrigin, KnownActionType, KnownDataBoundary, KnownProvisioningState, KnownDefaultName, KnownCreatedByType, KnownVersions, } from "./models.js";
213
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,57 +1,40 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.KnownCreatedByType = exports.KnownProvisioningState = exports.KnownDataBoundary = exports.KnownDefaultName = void 0;
11
- /** Known values of {@link DefaultName} that the service accepts. */
12
- var KnownDefaultName;
13
- (function (KnownDefaultName) {
14
- /** Default */
15
- KnownDefaultName["Default"] = "default";
16
- })(KnownDefaultName || (exports.KnownDefaultName = KnownDefaultName = {}));
17
- /** Known values of {@link DataBoundary} that the service accepts. */
18
- var KnownDataBoundary;
19
- (function (KnownDataBoundary) {
20
- /** NotDefined */
21
- KnownDataBoundary["NotDefined"] = "NotDefined";
22
- /** Global */
23
- KnownDataBoundary["Global"] = "Global";
24
- /** EU */
25
- KnownDataBoundary["EU"] = "EU";
26
- })(KnownDataBoundary || (exports.KnownDataBoundary = KnownDataBoundary = {}));
27
- /** Known values of {@link ProvisioningState} that the service accepts. */
28
- var KnownProvisioningState;
29
- (function (KnownProvisioningState) {
30
- /** Accepted */
31
- KnownProvisioningState["Accepted"] = "Accepted";
32
- /** Running */
33
- KnownProvisioningState["Running"] = "Running";
34
- /** Creating */
35
- KnownProvisioningState["Creating"] = "Creating";
36
- /** Canceled */
37
- KnownProvisioningState["Canceled"] = "Canceled";
38
- /** Failed */
39
- KnownProvisioningState["Failed"] = "Failed";
40
- /** Succeeded */
41
- KnownProvisioningState["Succeeded"] = "Succeeded";
42
- /** Updating */
43
- KnownProvisioningState["Updating"] = "Updating";
44
- })(KnownProvisioningState || (exports.KnownProvisioningState = KnownProvisioningState = {}));
45
- /** Known values of {@link CreatedByType} that the service accepts. */
46
- var KnownCreatedByType;
47
- (function (KnownCreatedByType) {
48
- /** User */
49
- KnownCreatedByType["User"] = "User";
50
- /** Application */
51
- KnownCreatedByType["Application"] = "Application";
52
- /** ManagedIdentity */
53
- KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
54
- /** Key */
55
- KnownCreatedByType["Key"] = "Key";
56
- })(KnownCreatedByType || (exports.KnownCreatedByType = KnownCreatedByType = {}));
57
- //# sourceMappingURL=index.js.map
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var models_exports = {};
19
+ __export(models_exports, {
20
+ KnownActionType: () => import_models.KnownActionType,
21
+ KnownCreatedByType: () => import_models.KnownCreatedByType,
22
+ KnownDataBoundary: () => import_models.KnownDataBoundary,
23
+ KnownDefaultName: () => import_models.KnownDefaultName,
24
+ KnownOrigin: () => import_models.KnownOrigin,
25
+ KnownProvisioningState: () => import_models.KnownProvisioningState,
26
+ KnownVersions: () => import_models.KnownVersions
27
+ });
28
+ module.exports = __toCommonJS(models_exports);
29
+ var import_models = require("./models.js");
30
+ // Annotate the CommonJS export names for ESM import in node:
31
+ 0 && (module.exports = {
32
+ KnownActionType,
33
+ KnownCreatedByType,
34
+ KnownDataBoundary,
35
+ KnownDefaultName,
36
+ KnownOrigin,
37
+ KnownProvisioningState,
38
+ KnownVersions
39
+ });
40
+ //# sourceMappingURL=index.js.map