@azure/arm-databoundaries 1.0.0-alpha.20250109.1 → 1.0.0-alpha.20250113.2

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 (193) hide show
  1. package/{dist-esm/src → dist/browser}/databoundariesManegementClient.d.ts +2 -2
  2. package/dist/browser/databoundariesManegementClient.d.ts.map +1 -0
  3. package/{dist-esm/src → dist/browser}/databoundariesManegementClient.js +15 -18
  4. package/dist/browser/databoundariesManegementClient.js.map +1 -0
  5. package/dist/browser/index.d.ts +4 -0
  6. package/dist/browser/index.d.ts.map +1 -0
  7. package/{dist-esm/src → dist/browser}/index.js +3 -3
  8. package/dist/browser/index.js.map +1 -0
  9. package/dist/browser/models/index.js.map +1 -0
  10. package/dist/browser/models/mappers.js.map +1 -0
  11. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  12. package/dist/browser/models/parameters.js.map +1 -0
  13. package/{dist-esm/src → dist/browser}/operations/dataBoundaries.d.ts +3 -3
  14. package/dist/browser/operations/dataBoundaries.d.ts.map +1 -0
  15. package/{dist-esm/src → dist/browser}/operations/dataBoundaries.js +2 -2
  16. package/dist/browser/operations/dataBoundaries.js.map +1 -0
  17. package/dist/browser/operations/index.d.ts +2 -0
  18. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  19. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +1 -1
  20. package/dist/browser/operations/index.js.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operationsInterfaces/dataBoundaries.d.ts +1 -1
  22. package/dist/browser/operationsInterfaces/dataBoundaries.d.ts.map +1 -0
  23. package/dist/browser/operationsInterfaces/dataBoundaries.js.map +1 -0
  24. package/dist/browser/operationsInterfaces/index.d.ts +2 -0
  25. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  26. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +1 -1
  27. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  28. package/dist/browser/package.json +3 -0
  29. package/dist/commonjs/databoundariesManegementClient.d.ts +18 -0
  30. package/dist/commonjs/databoundariesManegementClient.d.ts.map +1 -0
  31. package/dist/commonjs/databoundariesManegementClient.js +96 -0
  32. package/dist/commonjs/databoundariesManegementClient.js.map +1 -0
  33. package/dist/commonjs/index.d.ts +4 -0
  34. package/dist/commonjs/index.d.ts.map +1 -0
  35. package/dist/commonjs/index.js +16 -0
  36. package/dist/commonjs/index.js.map +1 -0
  37. package/{types/arm-databoundaries.d.ts → dist/commonjs/models/index.d.ts} +213 -276
  38. package/dist/commonjs/models/index.d.ts.map +1 -0
  39. package/dist/commonjs/models/index.js +57 -0
  40. package/dist/commonjs/models/index.js.map +1 -0
  41. package/dist/commonjs/models/mappers.d.ts +10 -0
  42. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  43. package/dist/commonjs/models/mappers.js +225 -0
  44. package/dist/commonjs/models/mappers.js.map +1 -0
  45. package/dist/commonjs/models/parameters.d.ts +9 -0
  46. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  47. package/dist/commonjs/models/parameters.js +84 -0
  48. package/dist/commonjs/models/parameters.js.map +1 -0
  49. package/dist/commonjs/operations/dataBoundaries.d.ts +33 -0
  50. package/dist/commonjs/operations/dataBoundaries.d.ts.map +1 -0
  51. package/dist/commonjs/operations/dataBoundaries.js +107 -0
  52. package/dist/commonjs/operations/dataBoundaries.js.map +1 -0
  53. package/dist/commonjs/operations/index.d.ts +2 -0
  54. package/dist/commonjs/operations/index.d.ts.map +1 -0
  55. package/dist/commonjs/operations/index.js +12 -0
  56. package/dist/commonjs/operations/index.js.map +1 -0
  57. package/dist/commonjs/operationsInterfaces/dataBoundaries.d.ts +25 -0
  58. package/dist/commonjs/operationsInterfaces/dataBoundaries.d.ts.map +1 -0
  59. package/dist/commonjs/operationsInterfaces/dataBoundaries.js +10 -0
  60. package/dist/commonjs/operationsInterfaces/dataBoundaries.js.map +1 -0
  61. package/dist/commonjs/operationsInterfaces/index.d.ts +2 -0
  62. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  63. package/dist/commonjs/operationsInterfaces/index.js +12 -0
  64. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  65. package/dist/commonjs/package.json +3 -0
  66. package/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
  67. package/dist/esm/databoundariesManegementClient.d.ts +18 -0
  68. package/dist/esm/databoundariesManegementClient.d.ts.map +1 -0
  69. package/dist/esm/databoundariesManegementClient.js +91 -0
  70. package/dist/esm/databoundariesManegementClient.js.map +1 -0
  71. package/dist/esm/index.d.ts +4 -0
  72. package/dist/esm/index.d.ts.map +1 -0
  73. package/{src/index.ts → dist/esm/index.js} +4 -4
  74. package/dist/esm/index.js.map +1 -0
  75. package/dist/esm/models/index.d.ts +213 -0
  76. package/dist/esm/models/index.d.ts.map +1 -0
  77. package/dist/esm/models/index.js +54 -0
  78. package/dist/esm/models/index.js.map +1 -0
  79. package/dist/esm/models/mappers.d.ts +10 -0
  80. package/dist/esm/models/mappers.d.ts.map +1 -0
  81. package/dist/esm/models/mappers.js +222 -0
  82. package/dist/esm/models/mappers.js.map +1 -0
  83. package/dist/esm/models/parameters.d.ts +9 -0
  84. package/dist/esm/models/parameters.d.ts.map +1 -0
  85. package/dist/esm/models/parameters.js +81 -0
  86. package/dist/esm/models/parameters.js.map +1 -0
  87. package/dist/esm/operations/dataBoundaries.d.ts +33 -0
  88. package/dist/esm/operations/dataBoundaries.d.ts.map +1 -0
  89. package/dist/esm/operations/dataBoundaries.js +102 -0
  90. package/dist/esm/operations/dataBoundaries.js.map +1 -0
  91. package/dist/esm/operations/index.d.ts +2 -0
  92. package/dist/esm/operations/index.d.ts.map +1 -0
  93. package/dist/esm/operations/index.js +9 -0
  94. package/dist/esm/operations/index.js.map +1 -0
  95. package/dist/esm/operationsInterfaces/dataBoundaries.d.ts +25 -0
  96. package/dist/esm/operationsInterfaces/dataBoundaries.d.ts.map +1 -0
  97. package/{src/operations/index.ts → dist/esm/operationsInterfaces/dataBoundaries.js} +2 -2
  98. package/dist/esm/operationsInterfaces/dataBoundaries.js.map +1 -0
  99. package/dist/esm/operationsInterfaces/index.d.ts +2 -0
  100. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  101. package/dist/esm/operationsInterfaces/index.js +9 -0
  102. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  103. package/dist/esm/package.json +3 -0
  104. package/dist/react-native/databoundariesManegementClient.d.ts +18 -0
  105. package/dist/react-native/databoundariesManegementClient.d.ts.map +1 -0
  106. package/dist/react-native/databoundariesManegementClient.js +91 -0
  107. package/dist/react-native/databoundariesManegementClient.js.map +1 -0
  108. package/dist/react-native/index.d.ts +4 -0
  109. package/dist/react-native/index.d.ts.map +1 -0
  110. package/dist/react-native/index.js +11 -0
  111. package/dist/react-native/index.js.map +1 -0
  112. package/dist/react-native/models/index.d.ts +213 -0
  113. package/dist/react-native/models/index.d.ts.map +1 -0
  114. package/dist/react-native/models/index.js +54 -0
  115. package/dist/react-native/models/index.js.map +1 -0
  116. package/dist/react-native/models/mappers.d.ts +10 -0
  117. package/dist/react-native/models/mappers.d.ts.map +1 -0
  118. package/dist/react-native/models/mappers.js +222 -0
  119. package/dist/react-native/models/mappers.js.map +1 -0
  120. package/dist/react-native/models/parameters.d.ts +9 -0
  121. package/dist/react-native/models/parameters.d.ts.map +1 -0
  122. package/dist/react-native/models/parameters.js +81 -0
  123. package/dist/react-native/models/parameters.js.map +1 -0
  124. package/dist/react-native/operations/dataBoundaries.d.ts +33 -0
  125. package/dist/react-native/operations/dataBoundaries.d.ts.map +1 -0
  126. package/dist/react-native/operations/dataBoundaries.js +102 -0
  127. package/dist/react-native/operations/dataBoundaries.js.map +1 -0
  128. package/dist/react-native/operations/index.d.ts +2 -0
  129. package/dist/react-native/operations/index.d.ts.map +1 -0
  130. package/dist/react-native/operations/index.js +9 -0
  131. package/dist/react-native/operations/index.js.map +1 -0
  132. package/dist/react-native/operationsInterfaces/dataBoundaries.d.ts +25 -0
  133. package/dist/react-native/operationsInterfaces/dataBoundaries.d.ts.map +1 -0
  134. package/{src/operationsInterfaces/index.ts → dist/react-native/operationsInterfaces/dataBoundaries.js} +2 -2
  135. package/dist/react-native/operationsInterfaces/dataBoundaries.js.map +1 -0
  136. package/dist/react-native/operationsInterfaces/index.d.ts +2 -0
  137. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  138. package/dist/react-native/operationsInterfaces/index.js +9 -0
  139. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  140. package/dist/react-native/package.json +3 -0
  141. package/package.json +74 -45
  142. package/dist/index.js +0 -587
  143. package/dist/index.js.map +0 -1
  144. package/dist/index.min.js +0 -1
  145. package/dist/index.min.js.map +0 -1
  146. package/dist-esm/samples-dev/dataBoundariesGetScopeSample.d.ts +0 -2
  147. package/dist-esm/samples-dev/dataBoundariesGetScopeSample.d.ts.map +0 -1
  148. package/dist-esm/samples-dev/dataBoundariesGetScopeSample.js +0 -37
  149. package/dist-esm/samples-dev/dataBoundariesGetScopeSample.js.map +0 -1
  150. package/dist-esm/samples-dev/dataBoundariesGetTenantSample.d.ts +0 -2
  151. package/dist-esm/samples-dev/dataBoundariesGetTenantSample.d.ts.map +0 -1
  152. package/dist-esm/samples-dev/dataBoundariesGetTenantSample.js +0 -36
  153. package/dist-esm/samples-dev/dataBoundariesGetTenantSample.js.map +0 -1
  154. package/dist-esm/samples-dev/dataBoundariesPutSample.d.ts +0 -2
  155. package/dist-esm/samples-dev/dataBoundariesPutSample.d.ts.map +0 -1
  156. package/dist-esm/samples-dev/dataBoundariesPutSample.js +0 -39
  157. package/dist-esm/samples-dev/dataBoundariesPutSample.js.map +0 -1
  158. package/dist-esm/src/databoundariesManegementClient.d.ts.map +0 -1
  159. package/dist-esm/src/databoundariesManegementClient.js.map +0 -1
  160. package/dist-esm/src/index.d.ts +0 -4
  161. package/dist-esm/src/index.d.ts.map +0 -1
  162. package/dist-esm/src/index.js.map +0 -1
  163. package/dist-esm/src/models/index.js.map +0 -1
  164. package/dist-esm/src/models/mappers.js.map +0 -1
  165. package/dist-esm/src/models/parameters.js.map +0 -1
  166. package/dist-esm/src/operations/dataBoundaries.d.ts.map +0 -1
  167. package/dist-esm/src/operations/dataBoundaries.js.map +0 -1
  168. package/dist-esm/src/operations/index.d.ts +0 -2
  169. package/dist-esm/src/operations/index.js.map +0 -1
  170. package/dist-esm/src/operationsInterfaces/dataBoundaries.d.ts.map +0 -1
  171. package/dist-esm/src/operationsInterfaces/dataBoundaries.js.map +0 -1
  172. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -2
  173. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  174. package/dist-esm/test/databoundaries_operations_test.spec.d.ts +0 -4
  175. package/dist-esm/test/databoundaries_operations_test.spec.d.ts.map +0 -1
  176. package/dist-esm/test/databoundaries_operations_test.spec.js +0 -58
  177. package/dist-esm/test/databoundaries_operations_test.spec.js.map +0 -1
  178. package/src/databoundariesManegementClient.ts +0 -133
  179. package/src/models/index.ts +0 -243
  180. package/src/models/mappers.ts +0 -236
  181. package/src/models/parameters.ts +0 -93
  182. package/src/operations/dataBoundaries.ts +0 -141
  183. package/src/operationsInterfaces/dataBoundaries.ts +0 -53
  184. package/tsconfig.json +0 -33
  185. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  186. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  187. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  188. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  189. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  190. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  191. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  192. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  193. /package/{dist-esm/src → dist/browser}/operationsInterfaces/dataBoundaries.js +0 -0
@@ -1,7 +1,7 @@
1
1
  import * as coreClient from "@azure/core-client";
2
2
  import * as coreAuth from "@azure/core-auth";
3
- import { DataBoundaries } from "./operationsInterfaces";
4
- import { DataboundariesManegementClientOptionalParams } from "./models";
3
+ import { DataBoundaries } from "./operationsInterfaces/index.js";
4
+ import { DataboundariesManegementClientOptionalParams } from "./models/index.js";
5
5
  export declare class DataboundariesManegementClient extends coreClient.ServiceClient {
6
6
  $host: string;
7
7
  apiVersion: string;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"databoundariesManegementClient.d.ts","sourceRoot":"","sources":["../../src/databoundariesManegementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAE7C,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,4CAA4C,EAAE,MAAM,mBAAmB,CAAC;AAEjF,qBAAa,8BAA+B,SAAQ,UAAU,CAAC,aAAa;IAC1E,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,OAAO,CAAC,EAAE,4CAA4C;IAwExD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,cAAc,EAAE,cAAc,CAAC;CAChC"}
@@ -5,10 +5,9 @@
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
- import { __awaiter } from "tslib";
9
8
  import * as coreClient from "@azure/core-client";
10
9
  import * as coreRestPipeline from "@azure/core-rest-pipeline";
11
- import { DataBoundariesImpl } from "./operations";
10
+ import { DataBoundariesImpl } from "./operations/index.js";
12
11
  export class DataboundariesManegementClient extends coreClient.ServiceClient {
13
12
  /**
14
13
  * Initializes a new instance of the DataboundariesManegementClient class.
@@ -70,22 +69,20 @@ export class DataboundariesManegementClient extends coreClient.ServiceClient {
70
69
  }
71
70
  const apiVersionPolicy = {
72
71
  name: "CustomApiVersionPolicy",
73
- sendRequest(request, next) {
74
- return __awaiter(this, void 0, void 0, function* () {
75
- const param = request.url.split("?");
76
- if (param.length > 1) {
77
- const newParams = param[1].split("&").map((item) => {
78
- if (item.indexOf("api-version") > -1) {
79
- return "api-version=" + apiVersion;
80
- }
81
- else {
82
- return item;
83
- }
84
- });
85
- request.url = param[0] + "?" + newParams.join("&");
86
- }
87
- return next(request);
88
- });
72
+ async sendRequest(request, next) {
73
+ const param = request.url.split("?");
74
+ if (param.length > 1) {
75
+ const newParams = param[1].split("&").map((item) => {
76
+ if (item.indexOf("api-version") > -1) {
77
+ return "api-version=" + apiVersion;
78
+ }
79
+ else {
80
+ return item;
81
+ }
82
+ });
83
+ request.url = param[0] + "?" + newParams.join("&");
84
+ }
85
+ return next(request);
89
86
  },
90
87
  };
91
88
  this.pipeline.addPolicy(apiVersionPolicy);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"databoundariesManegementClient.js","sourceRoot":"","sources":["../../src/databoundariesManegementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAI3D,MAAM,OAAO,8BAA+B,SAAQ,UAAU,CAAC,aAAa;IAI1E;;;;OAIG;IACH,YACE,WAAqC,EACrC,OAAsD;;QAEtD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAiD;YAC7D,kBAAkB,EAAE,iCAAiC;YACrD,UA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G,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAGF","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"]}
@@ -0,0 +1,4 @@
1
+ export * from "./models/index.js";
2
+ export { DataboundariesManegementClient } from "./databoundariesManegementClient.js";
3
+ export * from "./operationsInterfaces/index.js";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAQA,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AACrF,cAAc,iCAAiC,CAAC"}
@@ -5,7 +5,7 @@
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
- export * from "./models";
9
- export { DataboundariesManegementClient } from "./databoundariesManegementClient";
10
- export * from "./operationsInterfaces";
8
+ export * from "./models/index.js";
9
+ export { DataboundariesManegementClient } from "./databoundariesManegementClient.js";
10
+ export * from "./operationsInterfaces/index.js";
11
11
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AACrF,cAAc,iCAAiC,CAAC","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"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAiHH,oEAAoE;AACpE,MAAM,CAAN,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,cAAc;IACd,uCAAmB,CAAA;AACrB,CAAC,EAHW,gBAAgB,KAAhB,gBAAgB,QAG3B;AAWD,qEAAqE;AACrE,MAAM,CAAN,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IAC3B,iBAAiB;IACjB,8CAAyB,CAAA;IACzB,aAAa;IACb,sCAAiB,CAAA;IACjB,SAAS;IACT,8BAAS,CAAA;AACX,CAAC,EAPW,iBAAiB,KAAjB,iBAAiB,QAO5B;AAaD,0EAA0E;AAC1E,MAAM,CAAN,IAAY,sBAeX;AAfD,WAAY,sBAAsB;IAChC,eAAe;IACf,+CAAqB,CAAA;IACrB,cAAc;IACd,6CAAmB,CAAA;IACnB,eAAe;IACf,+CAAqB,CAAA;IACrB,eAAe;IACf,+CAAqB,CAAA;IACrB,aAAa;IACb,2CAAiB,CAAA;IACjB,gBAAgB;IAChB,iDAAuB,CAAA;IACvB,eAAe;IACf,+CAAqB,CAAA;AACvB,CAAC,EAfW,sBAAsB,KAAtB,sBAAsB,QAejC;AAiBD,sEAAsE;AACtE,MAAM,CAAN,IAAY,kBASX;AATD,WAAY,kBAAkB;IAC5B,WAAW;IACX,mCAAa,CAAA;IACb,kBAAkB;IAClB,iDAA2B,CAAA;IAC3B,sBAAsB;IACtB,yDAAmC,CAAA;IACnC,UAAU;IACV,iCAAW,CAAA;AACb,CAAC,EATW,kBAAkB,KAAlB,kBAAkB,QAS7B","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\";\n\n/** Data boundary properties */\nexport interface DataBoundaryProperties {\n /** The data boundary definition. */\n dataBoundary?: DataBoundary;\n /**\n * Denotes the state of provisioning.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provisioningState?: ProvisioningState;\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /**\n * Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The name of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * Azure Resource Manager metadata containing createdBy and modifiedBy information.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorDetail[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\n/** A data boundary definition. */\nexport interface DataBoundaryDefinition extends ProxyResource {\n /** Data boundary properties */\n properties?: DataBoundaryProperties;\n}\n\n/** Known values of {@link DefaultName} that the service accepts. */\nexport enum KnownDefaultName {\n /** Default */\n Default = \"default\",\n}\n\n/**\n * Defines values for DefaultName. \\\n * {@link KnownDefaultName} can be used interchangeably with DefaultName,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **default**\n */\nexport type DefaultName = string;\n\n/** Known values of {@link DataBoundary} that the service accepts. */\nexport enum KnownDataBoundary {\n /** NotDefined */\n NotDefined = \"NotDefined\",\n /** Global */\n Global = \"Global\",\n /** EU */\n EU = \"EU\",\n}\n\n/**\n * Defines values for DataBoundary. \\\n * {@link KnownDataBoundary} can be used interchangeably with DataBoundary,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **NotDefined** \\\n * **Global** \\\n * **EU**\n */\nexport type DataBoundary = string;\n\n/** Known values of {@link ProvisioningState} that the service accepts. */\nexport enum KnownProvisioningState {\n /** Accepted */\n Accepted = \"Accepted\",\n /** Running */\n Running = \"Running\",\n /** Creating */\n Creating = \"Creating\",\n /** Canceled */\n Canceled = \"Canceled\",\n /** Failed */\n Failed = \"Failed\",\n /** Succeeded */\n Succeeded = \"Succeeded\",\n /** Updating */\n Updating = \"Updating\",\n}\n\n/**\n * Defines values for ProvisioningState. \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Accepted** \\\n * **Running** \\\n * **Creating** \\\n * **Canceled** \\\n * **Failed** \\\n * **Succeeded** \\\n * **Updating**\n */\nexport type ProvisioningState = string;\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n /** User */\n User = \"User\",\n /** Application */\n Application = \"Application\",\n /** ManagedIdentity */\n ManagedIdentity = \"ManagedIdentity\",\n /** Key */\n Key = \"Key\",\n}\n\n/**\n * Defines values for CreatedByType. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n\n/** Optional parameters. */\nexport interface DataBoundariesPutOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the put operation. */\nexport type DataBoundariesPutResponse = DataBoundaryDefinition;\n\n/** Optional parameters. */\nexport interface DataBoundariesGetTenantOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getTenant operation. */\nexport type DataBoundariesGetTenantResponse = DataBoundaryDefinition;\n\n/** Optional parameters. */\nexport interface DataBoundariesGetScopeOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getScope operation. */\nexport type DataBoundariesGetScopeResponse = DataBoundaryDefinition;\n\n/** Optional parameters. */\nexport interface DataboundariesManegementClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,sBAAsB,GAA+B;IAChE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,wBAAwB;QACnC,eAAe,EAAE;YACf,YAAY,EAAE;gBACZ,cAAc,EAAE,cAAc;gBAC9B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,iBA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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\";\n\nexport const DataBoundaryProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DataBoundaryProperties\",\n modelProperties: {\n dataBoundary: {\n serializedName: \"dataBoundary\",\n type: {\n name: \"String\",\n },\n },\n provisioningState: {\n serializedName: \"provisioningState\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n },\n },\n },\n },\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\",\n },\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\",\n },\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\",\n },\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\",\n },\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\",\n },\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\",\n },\n },\n },\n },\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n },\n },\n },\n },\n};\n\nexport const ErrorDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n },\n },\n },\n },\n additionalInfo: {\n serializedName: \"additionalInfo\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const ErrorAdditionalInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n info: {\n serializedName: \"info\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } },\n },\n },\n },\n },\n};\n\nexport const ProxyResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProxyResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n },\n },\n};\n\nexport const DataBoundaryDefinition: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DataBoundaryDefinition\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"DataBoundaryProperties\",\n },\n },\n },\n },\n};\n"]}
@@ -5,7 +5,7 @@
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
- import { DataBoundaryDefinition as DataBoundaryDefinitionMapper } from "../models/mappers";
8
+ import { DataBoundaryDefinition as DataBoundaryDefinitionMapper } from "../models/mappers.js";
9
9
  export const contentType = {
10
10
  parameterPath: ["options", "contentType"],
11
11
  mapper: {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EAAE,sBAAsB,IAAI,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AAE9F,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,sBAAsB,GAAuB;IACxD,aAAa,EAAE,wBAAwB;IACvC,MAAM,EAAE,4BAA4B;CACrC,CAAC;AAEF,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,YAAY,GAA0B;IACjD,aAAa,EAAE,cAAc;IAC7B,MAAM,EAAE;QACN,cAAc,EAAE,SAAS;QACzB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,WAAW,EAAE;YACX,SAAS,EAAE,CAAC;SACb;QACD,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC","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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport { DataBoundaryDefinition as DataBoundaryDefinitionMapper } from \"../models/mappers.js\";\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const dataBoundaryDefinition: OperationParameter = {\n parameterPath: \"dataBoundaryDefinition\",\n mapper: DataBoundaryDefinitionMapper,\n};\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2024-08-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const defaultParam: OperationURLParameter = {\n parameterPath: \"defaultParam\",\n mapper: {\n serializedName: \"default\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const scope: OperationURLParameter = {\n parameterPath: \"scope\",\n mapper: {\n constraints: {\n MinLength: 1,\n },\n serializedName: \"scope\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n"]}
@@ -1,6 +1,6 @@
1
- import { DataBoundaries } from "../operationsInterfaces";
2
- import { DataboundariesManegementClient } from "../databoundariesManegementClient";
3
- import { DataBoundaryDefinition, DefaultName, DataBoundariesPutOptionalParams, DataBoundariesPutResponse, DataBoundariesGetTenantOptionalParams, DataBoundariesGetTenantResponse, DataBoundariesGetScopeOptionalParams, DataBoundariesGetScopeResponse } from "../models";
1
+ import { DataBoundaries } from "../operationsInterfaces/index.js";
2
+ import { DataboundariesManegementClient } from "../databoundariesManegementClient.js";
3
+ import { DataBoundaryDefinition, DefaultName, DataBoundariesPutOptionalParams, DataBoundariesPutResponse, DataBoundariesGetTenantOptionalParams, DataBoundariesGetTenantResponse, DataBoundariesGetScopeOptionalParams, DataBoundariesGetScopeResponse } from "../models/index.js";
4
4
  /** Class containing DataBoundaries operations. */
5
5
  export declare class DataBoundariesImpl implements DataBoundaries {
6
6
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataBoundaries.d.ts","sourceRoot":"","sources":["../../../src/operations/dataBoundaries.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIlE,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,EACL,sBAAsB,EACtB,WAAW,EACX,+BAA+B,EAC/B,yBAAyB,EACzB,qCAAqC,EACrC,+BAA+B,EAC/B,oCAAoC,EACpC,8BAA8B,EAC/B,MAAM,oBAAoB,CAAC;AAE5B,kDAAkD;AAClD,qBAAa,kBAAmB,YAAW,cAAc;IACvD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;;;OAKG;IACH,GAAG,CACD,YAAY,EAAE,WAAW,EACzB,sBAAsB,EAAE,sBAAsB,EAC9C,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC;IAOrC;;;;OAIG;IACH,SAAS,CACP,YAAY,EAAE,WAAW,EACzB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC;IAO3C;;;;;OAKG;IACH,QAAQ,CACN,KAAK,EAAE,MAAM,EACb,YAAY,EAAE,WAAW,EACzB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC;CAM3C"}
@@ -6,8 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import * as coreClient from "@azure/core-client";
9
- import * as Mappers from "../models/mappers";
10
- import * as Parameters from "../models/parameters";
9
+ import * as Mappers from "../models/mappers.js";
10
+ import * as Parameters from "../models/parameters.js";
11
11
  /** Class containing DataBoundaries operations. */
12
12
  export class DataBoundariesImpl {
13
13
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataBoundaries.js","sourceRoot":"","sources":["../../../src/operations/dataBoundaries.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAatD,kDAAkD;AAClD,MAAM,OAAO,kBAAkB;IAG7B;;;OAGG;IACH,YAAY,MAAsC;QAChD,IA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,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,sBAAsB,GAA6B;IACvD,IAAI,EAAE,yDAAyD;IAC/D,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,YAAY,CAAC;IAC1D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,iEAAiE;IACvE,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,YAAY,EAAE,UAAU,CAAC,KAAK,CAAC;IAC5E,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","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 { DataBoundaries } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { DataboundariesManegementClient } from \"../databoundariesManegementClient.js\";\nimport {\n DataBoundaryDefinition,\n DefaultName,\n DataBoundariesPutOptionalParams,\n DataBoundariesPutResponse,\n DataBoundariesGetTenantOptionalParams,\n DataBoundariesGetTenantResponse,\n DataBoundariesGetScopeOptionalParams,\n DataBoundariesGetScopeResponse,\n} from \"../models/index.js\";\n\n/** Class containing DataBoundaries operations. */\nexport class DataBoundariesImpl implements DataBoundaries {\n private readonly client: DataboundariesManegementClient;\n\n /**\n * Initialize a new instance of the class DataBoundaries class.\n * @param client Reference to the service client\n */\n constructor(client: DataboundariesManegementClient) {\n this.client = client;\n }\n\n /**\n * Opt-in tenant to data boundary.\n * @param defaultParam Default string modeled as parameter for auto generation to work correctly.\n * @param dataBoundaryDefinition The data boundary to opt the tenant to.\n * @param options The options parameters.\n */\n put(\n defaultParam: DefaultName,\n dataBoundaryDefinition: DataBoundaryDefinition,\n options?: DataBoundariesPutOptionalParams,\n ): Promise<DataBoundariesPutResponse> {\n return this.client.sendOperationRequest(\n { defaultParam, dataBoundaryDefinition, options },\n putOperationSpec,\n );\n }\n\n /**\n * Get data boundary of tenant.\n * @param defaultParam Default string modeled as parameter for auto generation to work correctly.\n * @param options The options parameters.\n */\n getTenant(\n defaultParam: DefaultName,\n options?: DataBoundariesGetTenantOptionalParams,\n ): Promise<DataBoundariesGetTenantResponse> {\n return this.client.sendOperationRequest(\n { defaultParam, options },\n getTenantOperationSpec,\n );\n }\n\n /**\n * Get data boundary at specified scope\n * @param scope The scope at which the operation is performed.\n * @param defaultParam Default string modeled as parameter for auto generation to work correctly.\n * @param options The options parameters.\n */\n getScope(\n scope: string,\n defaultParam: DefaultName,\n options?: DataBoundariesGetScopeOptionalParams,\n ): Promise<DataBoundariesGetScopeResponse> {\n return this.client.sendOperationRequest(\n { scope, defaultParam, options },\n getScopeOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst putOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Resources/dataBoundaries/{default}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.DataBoundaryDefinition,\n },\n 201: {\n bodyMapper: Mappers.DataBoundaryDefinition,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.dataBoundaryDefinition,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.defaultParam],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst getTenantOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Resources/dataBoundaries/{default}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DataBoundaryDefinition,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.defaultParam],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Resources/dataBoundaries/{default}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DataBoundaryDefinition,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.defaultParam, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,2 @@
1
+ export * from "./dataBoundaries.js";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,qBAAqB,CAAC"}
@@ -5,5 +5,5 @@
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
- export * from "./dataBoundaries";
8
+ export * from "./dataBoundaries.js";
9
9
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,qBAAqB,CAAC","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 \"./dataBoundaries.js\";\n"]}
@@ -1,4 +1,4 @@
1
- import { DataBoundaryDefinition, DefaultName, DataBoundariesPutOptionalParams, DataBoundariesPutResponse, DataBoundariesGetTenantOptionalParams, DataBoundariesGetTenantResponse, DataBoundariesGetScopeOptionalParams, DataBoundariesGetScopeResponse } from "../models";
1
+ import { DataBoundaryDefinition, DefaultName, DataBoundariesPutOptionalParams, DataBoundariesPutResponse, DataBoundariesGetTenantOptionalParams, DataBoundariesGetTenantResponse, DataBoundariesGetScopeOptionalParams, DataBoundariesGetScopeResponse } from "../models/index.js";
2
2
  /** Interface representing a DataBoundaries. */
3
3
  export interface DataBoundaries {
4
4
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataBoundaries.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/dataBoundaries.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,sBAAsB,EACtB,WAAW,EACX,+BAA+B,EAC/B,yBAAyB,EACzB,qCAAqC,EACrC,+BAA+B,EAC/B,oCAAoC,EACpC,8BAA8B,EAC/B,MAAM,oBAAoB,CAAC;AAE5B,+CAA+C;AAC/C,MAAM,WAAW,cAAc;IAC7B;;;;;OAKG;IACH,GAAG,CACD,YAAY,EAAE,WAAW,EACzB,sBAAsB,EAAE,sBAAsB,EAC9C,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACtC;;;;OAIG;IACH,SAAS,CACP,YAAY,EAAE,WAAW,EACzB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC,CAAC;IAC5C;;;;;OAKG;IACH,QAAQ,CACN,KAAK,EAAE,MAAM,EACb,YAAY,EAAE,WAAW,EACzB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC,CAAC;CAC5C"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataBoundaries.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/dataBoundaries.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 {\n DataBoundaryDefinition,\n DefaultName,\n DataBoundariesPutOptionalParams,\n DataBoundariesPutResponse,\n DataBoundariesGetTenantOptionalParams,\n DataBoundariesGetTenantResponse,\n DataBoundariesGetScopeOptionalParams,\n DataBoundariesGetScopeResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a DataBoundaries. */\nexport interface DataBoundaries {\n /**\n * Opt-in tenant to data boundary.\n * @param defaultParam Default string modeled as parameter for auto generation to work correctly.\n * @param dataBoundaryDefinition The data boundary to opt the tenant to.\n * @param options The options parameters.\n */\n put(\n defaultParam: DefaultName,\n dataBoundaryDefinition: DataBoundaryDefinition,\n options?: DataBoundariesPutOptionalParams,\n ): Promise<DataBoundariesPutResponse>;\n /**\n * Get data boundary of tenant.\n * @param defaultParam Default string modeled as parameter for auto generation to work correctly.\n * @param options The options parameters.\n */\n getTenant(\n defaultParam: DefaultName,\n options?: DataBoundariesGetTenantOptionalParams,\n ): Promise<DataBoundariesGetTenantResponse>;\n /**\n * Get data boundary at specified scope\n * @param scope The scope at which the operation is performed.\n * @param defaultParam Default string modeled as parameter for auto generation to work correctly.\n * @param options The options parameters.\n */\n getScope(\n scope: string,\n defaultParam: DefaultName,\n options?: DataBoundariesGetScopeOptionalParams,\n ): Promise<DataBoundariesGetScopeResponse>;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export * from "./dataBoundaries.js";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,qBAAqB,CAAC"}
@@ -5,5 +5,5 @@
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
- export * from "./dataBoundaries";
8
+ export * from "./dataBoundaries.js";
9
9
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,qBAAqB,CAAC","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 \"./dataBoundaries.js\";\n"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -0,0 +1,18 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ import * as coreAuth from "@azure/core-auth";
3
+ import { DataBoundaries } from "./operationsInterfaces/index.js";
4
+ import { DataboundariesManegementClientOptionalParams } from "./models/index.js";
5
+ export declare class DataboundariesManegementClient extends coreClient.ServiceClient {
6
+ $host: string;
7
+ apiVersion: string;
8
+ /**
9
+ * Initializes a new instance of the DataboundariesManegementClient class.
10
+ * @param credentials Subscription credentials which uniquely identify client subscription.
11
+ * @param options The parameter options
12
+ */
13
+ constructor(credentials: coreAuth.TokenCredential, options?: DataboundariesManegementClientOptionalParams);
14
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
15
+ private addCustomApiVersionPolicy;
16
+ dataBoundaries: DataBoundaries;
17
+ }
18
+ //# sourceMappingURL=databoundariesManegementClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"databoundariesManegementClient.d.ts","sourceRoot":"","sources":["../../src/databoundariesManegementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAE7C,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,4CAA4C,EAAE,MAAM,mBAAmB,CAAC;AAEjF,qBAAa,8BAA+B,SAAQ,UAAU,CAAC,aAAa;IAC1E,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,OAAO,CAAC,EAAE,4CAA4C;IAwExD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,cAAc,EAAE,cAAc,CAAC;CAChC"}
@@ -0,0 +1,96 @@
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
+ /**
17
+ * Initializes a new instance of the DataboundariesManegementClient class.
18
+ * @param credentials Subscription credentials which uniquely identify client subscription.
19
+ * @param options The parameter options
20
+ */
21
+ constructor(credentials, options) {
22
+ var _a, _b, _c;
23
+ if (credentials === undefined) {
24
+ throw new Error("'credentials' cannot be null");
25
+ }
26
+ // Initializing default values for options
27
+ if (!options) {
28
+ options = {};
29
+ }
30
+ const defaults = {
31
+ requestContentType: "application/json; charset=utf-8",
32
+ credential: credentials,
33
+ };
34
+ const packageDetails = `azsdk-js-arm-databoundaries/1.0.0-beta.2`;
35
+ const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
36
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
37
+ : `${packageDetails}`;
38
+ const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
39
+ userAgentPrefix,
40
+ }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
41
+ super(optionsWithDefaults);
42
+ let bearerTokenAuthenticationPolicyFound = false;
43
+ if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
44
+ const pipelinePolicies = options.pipeline.getOrderedPolicies();
45
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
46
+ coreRestPipeline.bearerTokenAuthenticationPolicyName);
47
+ }
48
+ if (!options ||
49
+ !options.pipeline ||
50
+ options.pipeline.getOrderedPolicies().length == 0 ||
51
+ !bearerTokenAuthenticationPolicyFound) {
52
+ this.pipeline.removePolicy({
53
+ name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
54
+ });
55
+ this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
56
+ credential: credentials,
57
+ scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
58
+ challengeCallbacks: {
59
+ authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
60
+ },
61
+ }));
62
+ }
63
+ // Assigning values to Constant parameters
64
+ this.$host = options.$host || "https://management.azure.com";
65
+ this.apiVersion = options.apiVersion || "2024-08-01";
66
+ this.dataBoundaries = new index_js_1.DataBoundariesImpl(this);
67
+ this.addCustomApiVersionPolicy(options.apiVersion);
68
+ }
69
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
70
+ addCustomApiVersionPolicy(apiVersion) {
71
+ if (!apiVersion) {
72
+ return;
73
+ }
74
+ const apiVersionPolicy = {
75
+ name: "CustomApiVersionPolicy",
76
+ async sendRequest(request, next) {
77
+ const param = request.url.split("?");
78
+ if (param.length > 1) {
79
+ const newParams = param[1].split("&").map((item) => {
80
+ if (item.indexOf("api-version") > -1) {
81
+ return "api-version=" + apiVersion;
82
+ }
83
+ else {
84
+ return item;
85
+ }
86
+ });
87
+ request.url = param[0] + "?" + newParams.join("&");
88
+ }
89
+ return next(request);
90
+ },
91
+ };
92
+ this.pipeline.addPolicy(apiVersionPolicy);
93
+ }
94
+ }
95
+ exports.DataboundariesManegementClient = DataboundariesManegementClient;
96
+ //# sourceMappingURL=databoundariesManegementClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"databoundariesManegementClient.js","sourceRoot":"","sources":["../../src/databoundariesManegementClient.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AACjD,oFAA8D;AAO9D,oDAA2D;AAI3D,MAAa,8BAA+B,SAAQ,UAAU,CAAC,aAAa;IAI1E;;;;OAIG;IACH,YACE,WAAqC,EACrC,OAAsD;;QAEtD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAi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,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAGF;AAhHD,wEAgHC","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"]}
@@ -0,0 +1,4 @@
1
+ export * from "./models/index.js";
2
+ export { DataboundariesManegementClient } from "./databoundariesManegementClient.js";
3
+ export * from "./operationsInterfaces/index.js";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAQA,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AACrF,cAAc,iCAAiC,CAAC"}
@@ -0,0 +1,16 @@
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
@@ -0,0 +1 @@
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"]}