@azure/arm-dns-profile-2020-09-01-hybrid 2.1.1-alpha.20250124.1 → 2.1.1-alpha.20250128.1

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 (257) hide show
  1. package/{dist-esm/src → dist/browser}/dnsManagementClient.d.ts +2 -2
  2. package/dist/browser/dnsManagementClient.d.ts.map +1 -0
  3. package/{dist-esm/src → dist/browser}/dnsManagementClient.js +15 -18
  4. package/dist/browser/dnsManagementClient.js.map +1 -0
  5. package/dist/browser/index.d.ts +5 -0
  6. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  7. package/{dist-esm/src → dist/browser}/index.js +4 -4
  8. package/dist/browser/index.js.map +1 -0
  9. package/dist/browser/lroImpl.js +25 -0
  10. package/dist/browser/lroImpl.js.map +1 -0
  11. package/dist/browser/models/index.js.map +1 -0
  12. package/dist/browser/models/mappers.js.map +1 -0
  13. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  14. package/dist/browser/models/parameters.js.map +1 -0
  15. package/dist/browser/operations/index.d.ts +3 -0
  16. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  17. package/{dist-esm/src → dist/browser}/operations/index.js +2 -2
  18. package/dist/browser/operations/index.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/operations/recordSets.d.ts +3 -3
  20. package/dist/browser/operations/recordSets.d.ts.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operations/recordSets.js +3 -3
  22. package/dist/browser/operations/recordSets.js.map +1 -0
  23. package/{dist-esm/src → dist/browser}/operations/zones.d.ts +3 -3
  24. package/dist/browser/operations/zones.d.ts.map +1 -0
  25. package/{dist-esm/src → dist/browser}/operations/zones.js +37 -41
  26. package/dist/browser/operations/zones.js.map +1 -0
  27. package/dist/browser/operationsInterfaces/index.d.ts +3 -0
  28. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  29. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +2 -2
  30. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operationsInterfaces/recordSets.d.ts +1 -1
  32. package/dist/browser/operationsInterfaces/recordSets.d.ts.map +1 -0
  33. package/dist/browser/operationsInterfaces/recordSets.js.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operationsInterfaces/zones.d.ts +1 -1
  35. package/dist/browser/operationsInterfaces/zones.d.ts.map +1 -0
  36. package/dist/browser/operationsInterfaces/zones.js.map +1 -0
  37. package/dist/browser/package.json +3 -0
  38. package/dist/browser/pagingHelper.js.map +1 -0
  39. package/dist/commonjs/dnsManagementClient.d.ts +21 -0
  40. package/dist/commonjs/dnsManagementClient.d.ts.map +1 -0
  41. package/dist/commonjs/dnsManagementClient.js +103 -0
  42. package/dist/commonjs/dnsManagementClient.js.map +1 -0
  43. package/dist/commonjs/index.d.ts +5 -0
  44. package/dist/commonjs/index.d.ts.map +1 -0
  45. package/dist/commonjs/index.js +19 -0
  46. package/dist/commonjs/index.js.map +1 -0
  47. package/dist/commonjs/lroImpl.d.ts +16 -0
  48. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  49. package/dist/commonjs/lroImpl.js +29 -0
  50. package/dist/commonjs/lroImpl.js.map +1 -0
  51. package/dist/commonjs/models/index.d.ts +322 -0
  52. package/dist/commonjs/models/index.d.ts.map +1 -0
  53. package/dist/commonjs/models/index.js +10 -0
  54. package/dist/commonjs/models/index.js.map +1 -0
  55. package/dist/commonjs/models/mappers.d.ts +22 -0
  56. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  57. package/dist/commonjs/models/mappers.js +662 -0
  58. package/dist/commonjs/models/mappers.js.map +1 -0
  59. package/dist/commonjs/models/parameters.d.ts +18 -0
  60. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  61. package/dist/commonjs/models/parameters.js +180 -0
  62. package/dist/commonjs/models/parameters.js.map +1 -0
  63. package/dist/commonjs/operations/index.d.ts +3 -0
  64. package/dist/commonjs/operations/index.d.ts.map +1 -0
  65. package/dist/commonjs/operations/index.js +13 -0
  66. package/dist/commonjs/operations/index.js.map +1 -0
  67. package/dist/commonjs/operations/recordSets.d.ts +105 -0
  68. package/dist/commonjs/operations/recordSets.d.ts.map +1 -0
  69. package/dist/commonjs/operations/recordSets.js +472 -0
  70. package/dist/commonjs/operations/recordSets.js.map +1 -0
  71. package/dist/commonjs/operations/zones.d.ts +85 -0
  72. package/dist/commonjs/operations/zones.d.ts.map +1 -0
  73. package/dist/commonjs/operations/zones.js +412 -0
  74. package/dist/commonjs/operations/zones.js.map +1 -0
  75. package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
  76. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  77. package/dist/commonjs/operationsInterfaces/index.js +13 -0
  78. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  79. package/dist/commonjs/operationsInterfaces/recordSets.d.ts +61 -0
  80. package/dist/commonjs/operationsInterfaces/recordSets.d.ts.map +1 -0
  81. package/dist/commonjs/operationsInterfaces/recordSets.js +10 -0
  82. package/dist/commonjs/operationsInterfaces/recordSets.js.map +1 -0
  83. package/dist/commonjs/operationsInterfaces/zones.d.ts +49 -0
  84. package/dist/commonjs/operationsInterfaces/zones.d.ts.map +1 -0
  85. package/dist/commonjs/operationsInterfaces/zones.js +10 -0
  86. package/dist/commonjs/operationsInterfaces/zones.js.map +1 -0
  87. package/dist/commonjs/package.json +3 -0
  88. package/dist/commonjs/pagingHelper.d.ts +13 -0
  89. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  90. package/dist/commonjs/pagingHelper.js +36 -0
  91. package/dist/commonjs/pagingHelper.js.map +1 -0
  92. package/dist/esm/dnsManagementClient.d.ts +21 -0
  93. package/dist/esm/dnsManagementClient.d.ts.map +1 -0
  94. package/dist/esm/dnsManagementClient.js +98 -0
  95. package/dist/esm/dnsManagementClient.js.map +1 -0
  96. package/dist/esm/index.d.ts +5 -0
  97. package/dist/esm/index.d.ts.map +1 -0
  98. package/{src/index.ts → dist/esm/index.js} +5 -5
  99. package/dist/esm/index.js.map +1 -0
  100. package/dist/esm/lroImpl.d.ts +16 -0
  101. package/dist/esm/lroImpl.d.ts.map +1 -0
  102. package/dist/esm/lroImpl.js +25 -0
  103. package/dist/esm/lroImpl.js.map +1 -0
  104. package/dist/esm/models/index.d.ts +322 -0
  105. package/dist/esm/models/index.d.ts.map +1 -0
  106. package/{src/operations/index.ts → dist/esm/models/index.js} +2 -3
  107. package/dist/esm/models/index.js.map +1 -0
  108. package/dist/esm/models/mappers.d.ts +22 -0
  109. package/dist/esm/models/mappers.d.ts.map +1 -0
  110. package/dist/esm/models/mappers.js +659 -0
  111. package/dist/esm/models/mappers.js.map +1 -0
  112. package/dist/esm/models/parameters.d.ts +18 -0
  113. package/dist/esm/models/parameters.d.ts.map +1 -0
  114. package/dist/esm/models/parameters.js +177 -0
  115. package/dist/esm/models/parameters.js.map +1 -0
  116. package/dist/esm/operations/index.d.ts +3 -0
  117. package/dist/esm/operations/index.d.ts.map +1 -0
  118. package/dist/esm/operations/index.js +10 -0
  119. package/dist/esm/operations/index.js.map +1 -0
  120. package/dist/esm/operations/recordSets.d.ts +105 -0
  121. package/dist/esm/operations/recordSets.d.ts.map +1 -0
  122. package/dist/esm/operations/recordSets.js +468 -0
  123. package/dist/esm/operations/recordSets.js.map +1 -0
  124. package/dist/esm/operations/zones.d.ts +85 -0
  125. package/dist/esm/operations/zones.d.ts.map +1 -0
  126. package/dist/esm/operations/zones.js +408 -0
  127. package/dist/esm/operations/zones.js.map +1 -0
  128. package/dist/esm/operationsInterfaces/index.d.ts +3 -0
  129. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  130. package/dist/esm/operationsInterfaces/index.js +10 -0
  131. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  132. package/dist/esm/operationsInterfaces/recordSets.d.ts +61 -0
  133. package/dist/esm/operationsInterfaces/recordSets.d.ts.map +1 -0
  134. package/dist/esm/operationsInterfaces/recordSets.js +9 -0
  135. package/dist/esm/operationsInterfaces/recordSets.js.map +1 -0
  136. package/dist/esm/operationsInterfaces/zones.d.ts +49 -0
  137. package/dist/esm/operationsInterfaces/zones.d.ts.map +1 -0
  138. package/dist/esm/operationsInterfaces/zones.js +9 -0
  139. package/dist/esm/operationsInterfaces/zones.js.map +1 -0
  140. package/dist/esm/package.json +3 -0
  141. package/dist/esm/pagingHelper.d.ts +13 -0
  142. package/dist/esm/pagingHelper.d.ts.map +1 -0
  143. package/dist/esm/pagingHelper.js +32 -0
  144. package/dist/esm/pagingHelper.js.map +1 -0
  145. package/dist/react-native/dnsManagementClient.d.ts +21 -0
  146. package/dist/react-native/dnsManagementClient.d.ts.map +1 -0
  147. package/dist/react-native/dnsManagementClient.js +98 -0
  148. package/dist/react-native/dnsManagementClient.js.map +1 -0
  149. package/dist/react-native/index.d.ts +5 -0
  150. package/dist/react-native/index.d.ts.map +1 -0
  151. package/dist/react-native/index.js +13 -0
  152. package/dist/react-native/index.js.map +1 -0
  153. package/dist/react-native/lroImpl.d.ts +16 -0
  154. package/dist/react-native/lroImpl.d.ts.map +1 -0
  155. package/dist/react-native/lroImpl.js +25 -0
  156. package/dist/react-native/lroImpl.js.map +1 -0
  157. package/dist/react-native/models/index.d.ts +322 -0
  158. package/dist/react-native/models/index.d.ts.map +1 -0
  159. package/dist/react-native/models/index.js +9 -0
  160. package/dist/react-native/models/index.js.map +1 -0
  161. package/dist/react-native/models/mappers.d.ts +22 -0
  162. package/dist/react-native/models/mappers.d.ts.map +1 -0
  163. package/dist/react-native/models/mappers.js +659 -0
  164. package/dist/react-native/models/mappers.js.map +1 -0
  165. package/dist/react-native/models/parameters.d.ts +18 -0
  166. package/dist/react-native/models/parameters.d.ts.map +1 -0
  167. package/dist/react-native/models/parameters.js +177 -0
  168. package/dist/react-native/models/parameters.js.map +1 -0
  169. package/dist/react-native/operations/index.d.ts +3 -0
  170. package/dist/react-native/operations/index.d.ts.map +1 -0
  171. package/dist/react-native/operations/index.js +10 -0
  172. package/dist/react-native/operations/index.js.map +1 -0
  173. package/dist/react-native/operations/recordSets.d.ts +105 -0
  174. package/dist/react-native/operations/recordSets.d.ts.map +1 -0
  175. package/dist/react-native/operations/recordSets.js +468 -0
  176. package/dist/react-native/operations/recordSets.js.map +1 -0
  177. package/dist/react-native/operations/zones.d.ts +85 -0
  178. package/dist/react-native/operations/zones.d.ts.map +1 -0
  179. package/dist/react-native/operations/zones.js +408 -0
  180. package/dist/react-native/operations/zones.js.map +1 -0
  181. package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
  182. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  183. package/dist/react-native/operationsInterfaces/index.js +10 -0
  184. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  185. package/dist/react-native/operationsInterfaces/recordSets.d.ts +61 -0
  186. package/dist/react-native/operationsInterfaces/recordSets.d.ts.map +1 -0
  187. package/dist/react-native/operationsInterfaces/recordSets.js +9 -0
  188. package/dist/react-native/operationsInterfaces/recordSets.js.map +1 -0
  189. package/dist/react-native/operationsInterfaces/zones.d.ts +49 -0
  190. package/dist/react-native/operationsInterfaces/zones.d.ts.map +1 -0
  191. package/dist/react-native/operationsInterfaces/zones.js +9 -0
  192. package/dist/react-native/operationsInterfaces/zones.js.map +1 -0
  193. package/dist/react-native/package.json +3 -0
  194. package/dist/react-native/pagingHelper.d.ts +13 -0
  195. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  196. package/dist/react-native/pagingHelper.js +32 -0
  197. package/dist/react-native/pagingHelper.js.map +1 -0
  198. package/package.json +59 -29
  199. package/dist/index.js +0 -1916
  200. package/dist/index.js.map +0 -1
  201. package/dist/index.min.js +0 -1
  202. package/dist/index.min.js.map +0 -1
  203. package/dist-esm/src/dnsManagementClient.d.ts.map +0 -1
  204. package/dist-esm/src/dnsManagementClient.js.map +0 -1
  205. package/dist-esm/src/index.d.ts +0 -5
  206. package/dist-esm/src/index.js.map +0 -1
  207. package/dist-esm/src/lroImpl.js +0 -29
  208. package/dist-esm/src/lroImpl.js.map +0 -1
  209. package/dist-esm/src/models/index.js.map +0 -1
  210. package/dist-esm/src/models/mappers.js.map +0 -1
  211. package/dist-esm/src/models/parameters.js.map +0 -1
  212. package/dist-esm/src/operations/index.d.ts +0 -3
  213. package/dist-esm/src/operations/index.js.map +0 -1
  214. package/dist-esm/src/operations/recordSets.d.ts.map +0 -1
  215. package/dist-esm/src/operations/recordSets.js.map +0 -1
  216. package/dist-esm/src/operations/zones.d.ts.map +0 -1
  217. package/dist-esm/src/operations/zones.js.map +0 -1
  218. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -3
  219. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  220. package/dist-esm/src/operationsInterfaces/recordSets.d.ts.map +0 -1
  221. package/dist-esm/src/operationsInterfaces/recordSets.js.map +0 -1
  222. package/dist-esm/src/operationsInterfaces/zones.d.ts.map +0 -1
  223. package/dist-esm/src/operationsInterfaces/zones.js.map +0 -1
  224. package/dist-esm/src/pagingHelper.js.map +0 -1
  225. package/dist-esm/test/sampleTest.d.ts +0 -2
  226. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  227. package/dist-esm/test/sampleTest.js +0 -42
  228. package/dist-esm/test/sampleTest.js.map +0 -1
  229. package/src/dnsManagementClient.ts +0 -142
  230. package/src/lroImpl.ts +0 -34
  231. package/src/models/index.ts +0 -439
  232. package/src/models/mappers.ts +0 -692
  233. package/src/models/parameters.ts +0 -201
  234. package/src/operations/recordSets.ts +0 -623
  235. package/src/operations/zones.ts +0 -508
  236. package/src/operationsInterfaces/index.ts +0 -10
  237. package/src/operationsInterfaces/recordSets.ts +0 -117
  238. package/src/operationsInterfaces/zones.ts +0 -90
  239. package/src/pagingHelper.ts +0 -39
  240. package/tsconfig.json +0 -33
  241. package/types/arm-dns-profile-2020-09-01-hybrid.d.ts +0 -512
  242. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  243. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  244. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  245. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  246. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  247. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  248. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  249. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  250. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  251. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  252. /package/{dist-esm/src → dist/browser}/operationsInterfaces/recordSets.js +0 -0
  253. /package/{dist-esm/src → dist/browser}/operationsInterfaces/zones.js +0 -0
  254. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  255. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  256. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  257. /package/{types → dist/commonjs}/tsdoc-metadata.json +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 { RecordSets, Zones } from "./operationsInterfaces";
4
- import { DnsManagementClientOptionalParams } from "./models";
3
+ import { RecordSets, Zones } from "./operationsInterfaces/index.js";
4
+ import { DnsManagementClientOptionalParams } from "./models/index.js";
5
5
  export declare class DnsManagementClient extends coreClient.ServiceClient {
6
6
  $host: string;
7
7
  apiVersion: string;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dnsManagementClient.d.ts","sourceRoot":"","sources":["../../src/dnsManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,iCAAiC,EAAE,MAAM,mBAAmB,CAAC;AAEtE,qBAAa,mBAAoB,SAAQ,UAAU,CAAC,aAAa;IAC/D,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,iCAAiC;IA6E7C,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,UAAU,EAAE,UAAU,CAAC;IACvB,KAAK,EAAE,KAAK,CAAC;CACd"}
@@ -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 { RecordSetsImpl, ZonesImpl } from "./operations";
10
+ import { RecordSetsImpl, ZonesImpl } from "./operations/index.js";
12
11
  export class DnsManagementClient extends coreClient.ServiceClient {
13
12
  /**
14
13
  * Initializes a new instance of the DnsManagementClient class.
@@ -77,22 +76,20 @@ export class DnsManagementClient extends coreClient.ServiceClient {
77
76
  }
78
77
  const apiVersionPolicy = {
79
78
  name: "CustomApiVersionPolicy",
80
- sendRequest(request, next) {
81
- return __awaiter(this, void 0, void 0, function* () {
82
- const param = request.url.split("?");
83
- if (param.length > 1) {
84
- const newParams = param[1].split("&").map((item) => {
85
- if (item.indexOf("api-version") > -1) {
86
- return "api-version=" + apiVersion;
87
- }
88
- else {
89
- return item;
90
- }
91
- });
92
- request.url = param[0] + "?" + newParams.join("&");
93
- }
94
- return next(request);
95
- });
79
+ async sendRequest(request, next) {
80
+ const param = request.url.split("?");
81
+ if (param.length > 1) {
82
+ const newParams = param[1].split("&").map((item) => {
83
+ if (item.indexOf("api-version") > -1) {
84
+ return "api-version=" + apiVersion;
85
+ }
86
+ else {
87
+ return item;
88
+ }
89
+ });
90
+ request.url = param[0] + "?" + newParams.join("&");
91
+ }
92
+ return next(request);
96
93
  }
97
94
  };
98
95
  this.pipeline.addPolicy(apiVersionPolicy);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dnsManagementClient.js","sourceRoot":"","sources":["../../src/dnsManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAIlE,MAAM,OAAO,mBAAoB,SAAQ,UAAU,CAAC,aAAa;IAK/D;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAA2C;;QAE3C,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAsC;YAClD,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,kDAAkD,CAAC;QAC1E,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB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C,CAAC;CAIF","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 { RecordSetsImpl, ZonesImpl } from \"./operations/index.js\";\nimport { RecordSets, Zones } from \"./operationsInterfaces/index.js\";\nimport { DnsManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class DnsManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the DnsManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: DnsManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: DnsManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-dns-profile-2020-09-01-hybrid/2.1.1`;\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[] = 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 // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2016-04-01\";\n this.recordSets = new RecordSetsImpl(this);\n this.zones = new ZonesImpl(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 recordSets: RecordSets;\n zones: Zones;\n}\n"]}
@@ -0,0 +1,5 @@
1
+ export { getContinuationToken } from "./pagingHelper.js";
2
+ export * from "./models/index.js";
3
+ export { DnsManagementClient } from "./dnsManagementClient.js";
4
+ export * from "./operationsInterfaces/index.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,cAAc,iCAAiC,CAAC"}
@@ -6,8 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  /// <reference lib="esnext.asynciterable" />
9
- export { getContinuationToken } from "./pagingHelper";
10
- export * from "./models";
11
- export { DnsManagementClient } from "./dnsManagementClient";
12
- export * from "./operationsInterfaces";
9
+ export { getContinuationToken } from "./pagingHelper.js";
10
+ export * from "./models/index.js";
11
+ export { DnsManagementClient } from "./dnsManagementClient.js";
12
+ export * from "./operationsInterfaces/index.js";
13
13
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,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\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { DnsManagementClient } from \"./dnsManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
@@ -0,0 +1,25 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __rest } from "tslib";
9
+ export class LroImpl {
10
+ constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
11
+ this.sendOperationFn = sendOperationFn;
12
+ this.args = args;
13
+ this.spec = spec;
14
+ this.requestPath = requestPath;
15
+ this.requestMethod = requestMethod;
16
+ }
17
+ async sendInitialRequest() {
18
+ return this.sendOperationFn(this.args, this.spec);
19
+ }
20
+ async sendPollRequest(path) {
21
+ const _a = this.spec, { requestBody } = _a, restSpec = __rest(_a, ["requestBody"]);
22
+ return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
23
+ }
24
+ }
25
+ //# sourceMappingURL=lroImpl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,MAAM,OAAO,OAAO;IAClB,YACU,eAAkE,EAClE,IAA6B,EAC7B,IAIe,EAChB,cAAsB,IAAI,CAAC,IAAK,EAChC,gBAAwB,IAAI,CAAC,UAAU;QARtC,oBAAe,GAAf,eAAe,CAAmD;QAClE,SAAI,GAAJ,IAAI,CAAyB;QAC7B,SAAI,GAAJ,IAAI,CAIW;QAChB,gBAAW,GAAX,WAAW,CAAqB;QAChC,kBAAa,GAAb,aAAa,CAA0B;IAC7C,CAAC;IACG,KAAK,CAAC,kBAAkB;QAC7B,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACM,KAAK,CAAC,eAAe,CAAC,IAAY;QACvC,MAAM,KAA+B,IAAI,CAAC,IAAI,EAAxC,EAAE,WAAW,OAA2B,EAAtB,QAAQ,cAA1B,eAA4B,CAAY,CAAC;QAC/C,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,kCAChC,QAAQ,KACX,IAAI,EACJ,UAAU,EAAE,KAAK,IACjB,CAAC;IACL,CAAC;CACF","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 { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport class LroImpl<T> implements LongRunningOperation<T> {\n constructor(\n private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,\n private args: Record<string, unknown>,\n private spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>,\n public requestPath: string = spec.path!,\n public requestMethod: string = spec.httpMethod\n ) {}\n public async sendInitialRequest(): Promise<LroResponse<T>> {\n return this.sendOperationFn(this.args, this.spec);\n }\n public async sendPollRequest(path: string): Promise<LroResponse<T>> {\n const { requestBody, ...restSpec } = this.spec;\n return this.sendOperationFn(this.args, {\n ...restSpec,\n path,\n httpMethod: \"GET\"\n });\n }\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.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 * as coreClient from \"@azure/core-client\";\n\n/** Describes a DNS record set (a collection of DNS records with the same name and type). */\nexport interface RecordSet {\n /** The ID of the record set. */\n id?: string;\n /** The name of the record set. */\n name?: string;\n /** The type of the record set. */\n type?: string;\n /** The etag of the record set. */\n etag?: string;\n /** The metadata attached to the record set. */\n metadata?: { [propertyName: string]: string };\n /** The TTL (time-to-live) of the records in the record set. */\n ttl?: number;\n /**\n * Fully qualified domain name of the record set.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly fqdn?: string;\n /** The list of A records in the record set. */\n aRecords?: ARecord[];\n /** The list of AAAA records in the record set. */\n aaaaRecords?: AaaaRecord[];\n /** The list of MX records in the record set. */\n mxRecords?: MxRecord[];\n /** The list of NS records in the record set. */\n nsRecords?: NsRecord[];\n /** The list of PTR records in the record set. */\n ptrRecords?: PtrRecord[];\n /** The list of SRV records in the record set. */\n srvRecords?: SrvRecord[];\n /** The list of TXT records in the record set. */\n txtRecords?: TxtRecord[];\n /** The CNAME record in the record set. */\n cnameRecord?: CnameRecord;\n /** The SOA record in the record set. */\n soaRecord?: SoaRecord;\n}\n\n/** An A record. */\nexport interface ARecord {\n /** The IPv4 address of this A record. */\n ipv4Address?: string;\n}\n\n/** An AAAA record. */\nexport interface AaaaRecord {\n /** The IPv6 address of this AAAA record. */\n ipv6Address?: string;\n}\n\n/** An MX record. */\nexport interface MxRecord {\n /** The preference value for this MX record. */\n preference?: number;\n /** The domain name of the mail host for this MX record. */\n exchange?: string;\n}\n\n/** An NS record. */\nexport interface NsRecord {\n /** The name server name for this NS record. */\n nsdname?: string;\n}\n\n/** A PTR record. */\nexport interface PtrRecord {\n /** The PTR target domain name for this PTR record. */\n ptrdname?: string;\n}\n\n/** An SRV record. */\nexport interface SrvRecord {\n /** The priority value for this SRV record. */\n priority?: number;\n /** The weight value for this SRV record. */\n weight?: number;\n /** The port value for this SRV record. */\n port?: number;\n /** The target domain name for this SRV record. */\n target?: string;\n}\n\n/** A TXT record. */\nexport interface TxtRecord {\n /** The text value of this TXT record. */\n value?: string[];\n}\n\n/** A CNAME record. */\nexport interface CnameRecord {\n /** The canonical name for this CNAME record. */\n cname?: string;\n}\n\n/** An SOA record. */\nexport interface SoaRecord {\n /** The domain name of the authoritative name server for this SOA record. */\n host?: string;\n /** The email contact for this SOA record. */\n email?: string;\n /** The serial number for this SOA record. */\n serialNumber?: number;\n /** The refresh value for this SOA record. */\n refreshTime?: number;\n /** The retry time for this SOA record. */\n retryTime?: number;\n /** The expire time for this SOA record. */\n expireTime?: number;\n /** The minimum value for this SOA record. By convention this is used to determine the negative caching duration. */\n minimumTtl?: number;\n}\n\n/** An error response from the service. */\nexport interface CloudError {\n /** Cloud error body. */\n error?: CloudErrorBody;\n}\n\n/** An error response from the service. */\nexport interface CloudErrorBody {\n /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */\n code?: string;\n /** A message describing the error, intended to be suitable for display in a user interface. */\n message?: string;\n /** The target of the particular error. For example, the name of the property in error. */\n target?: string;\n /** A list of additional details about the error. */\n details?: CloudErrorBody[];\n}\n\n/** The response to a record set List operation. */\nexport interface RecordSetListResult {\n /** Information about the record sets in the response. */\n value?: RecordSet[];\n /** The continuation token for the next page of results. */\n nextLink?: string;\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. Ex - /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\n/** The response to a Zone Delete operation. */\nexport interface ZoneDeleteResult {\n /** Users can perform a Get on Azure-AsyncOperation to get the status of their delete Zone operations. */\n azureAsyncOperation?: string;\n status?: OperationStatus;\n statusCode?: HttpStatusCode;\n requestId?: string;\n}\n\n/** The response to a Zone List or ListAll operation. */\nexport interface ZoneListResult {\n /** Information about the DNS zones. */\n value?: Zone[];\n /** The continuation token for the next page of results. */\n nextLink?: string;\n}\n\n/** Parameters supplied to update a record set. */\nexport interface RecordSetUpdateParameters {\n /** Specifies information about the record set being updated. */\n recordSet?: RecordSet;\n}\n\nexport interface SubResource {\n /** Resource Id. */\n id?: string;\n}\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** The geo-location where the resource lives */\n location: string;\n}\n\n/** Describes a DNS zone. */\nexport interface Zone extends TrackedResource {\n /** The etag of the zone. */\n etag?: string;\n /** The maximum number of record sets that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored. */\n maxNumberOfRecordSets?: number;\n /**\n * The maximum number of records per record set that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly maxNumberOfRecordsPerRecordSet?: number;\n /** The current number of record sets in this DNS zone. This is a read-only property and any attempt to set this value will be ignored. */\n numberOfRecordSets?: number;\n /**\n * The name servers for this DNS zone. This is a read-only property and any attempt to set this value will be ignored.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nameServers?: string[];\n /** The type of this DNS zone (Public or Private). */\n zoneType?: ZoneType;\n}\n\n/** Defines values for RecordType. */\nexport type RecordType =\n | \"A\"\n | \"AAAA\"\n | \"CNAME\"\n | \"MX\"\n | \"NS\"\n | \"PTR\"\n | \"SOA\"\n | \"SRV\"\n | \"TXT\";\n/** Defines values for ZoneType. */\nexport type ZoneType = \"Public\" | \"Private\";\n/** Defines values for OperationStatus. */\nexport type OperationStatus = \"InProgress\" | \"Succeeded\" | \"Failed\";\n/** Defines values for HttpStatusCode. */\nexport type HttpStatusCode =\n | \"Continue\"\n | \"SwitchingProtocols\"\n | \"OK\"\n | \"Created\"\n | \"Accepted\"\n | \"NonAuthoritativeInformation\"\n | \"NoContent\"\n | \"ResetContent\"\n | \"PartialContent\"\n | \"MultipleChoices\"\n | \"Ambiguous\"\n | \"MovedPermanently\"\n | \"Moved\"\n | \"Found\"\n | \"Redirect\"\n | \"SeeOther\"\n | \"RedirectMethod\"\n | \"NotModified\"\n | \"UseProxy\"\n | \"Unused\"\n | \"TemporaryRedirect\"\n | \"RedirectKeepVerb\"\n | \"BadRequest\"\n | \"Unauthorized\"\n | \"PaymentRequired\"\n | \"Forbidden\"\n | \"NotFound\"\n | \"MethodNotAllowed\"\n | \"NotAcceptable\"\n | \"ProxyAuthenticationRequired\"\n | \"RequestTimeout\"\n | \"Conflict\"\n | \"Gone\"\n | \"LengthRequired\"\n | \"PreconditionFailed\"\n | \"RequestEntityTooLarge\"\n | \"RequestUriTooLong\"\n | \"UnsupportedMediaType\"\n | \"RequestedRangeNotSatisfiable\"\n | \"ExpectationFailed\"\n | \"UpgradeRequired\"\n | \"InternalServerError\"\n | \"NotImplemented\"\n | \"BadGateway\"\n | \"ServiceUnavailable\"\n | \"GatewayTimeout\"\n | \"HttpVersionNotSupported\";\n\n/** Optional parameters. */\nexport interface RecordSetsUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** The etag of the record set. Omit this value to always overwrite the current record set. Specify the last-seen etag value to prevent accidentally overwriting concurrent changes. */\n ifMatch?: string;\n}\n\n/** Contains response data for the update operation. */\nexport type RecordSetsUpdateResponse = RecordSet;\n\n/** Optional parameters. */\nexport interface RecordSetsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** The etag of the record set. Omit this value to always overwrite the current record set. Specify the last-seen etag value to prevent accidentally overwriting any concurrent changes. */\n ifMatch?: string;\n /** Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will be ignored. */\n ifNoneMatch?: string;\n}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type RecordSetsCreateOrUpdateResponse = RecordSet;\n\n/** Optional parameters. */\nexport interface RecordSetsDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** The etag of the record set. Omit this value to always delete the current record set. Specify the last-seen etag value to prevent accidentally deleting any concurrent changes. */\n ifMatch?: string;\n}\n\n/** Optional parameters. */\nexport interface RecordSetsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type RecordSetsGetResponse = RecordSet;\n\n/** Optional parameters. */\nexport interface RecordSetsListByTypeOptionalParams\n extends coreClient.OperationOptions {\n /** The maximum number of record sets to return. If not specified, returns up to 100 record sets. */\n top?: number;\n /** The suffix label of the record set name that has to be used to filter the record set enumerations. If this parameter is specified, Enumeration will return only records that end with .<recordSetNameSuffix> */\n recordsetnamesuffix?: string;\n}\n\n/** Contains response data for the listByType operation. */\nexport type RecordSetsListByTypeResponse = RecordSetListResult;\n\n/** Optional parameters. */\nexport interface RecordSetsListByDnsZoneOptionalParams\n extends coreClient.OperationOptions {\n /** The maximum number of record sets to return. If not specified, returns up to 100 record sets. */\n top?: number;\n /** The suffix label of the record set name that has to be used to filter the record set enumerations. If this parameter is specified, Enumeration will return only records that end with .<recordSetNameSuffix> */\n recordsetnamesuffix?: string;\n}\n\n/** Contains response data for the listByDnsZone operation. */\nexport type RecordSetsListByDnsZoneResponse = RecordSetListResult;\n\n/** Optional parameters. */\nexport interface RecordSetsListByTypeNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByTypeNext operation. */\nexport type RecordSetsListByTypeNextResponse = RecordSetListResult;\n\n/** Optional parameters. */\nexport interface RecordSetsListByDnsZoneNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByDnsZoneNext operation. */\nexport type RecordSetsListByDnsZoneNextResponse = RecordSetListResult;\n\n/** Optional parameters. */\nexport interface ZonesCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** The etag of the DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen etag value to prevent accidentally overwriting any concurrent changes. */\n ifMatch?: string;\n /** Set to '*' to allow a new DNS zone to be created, but to prevent updating an existing zone. Other values will be ignored. */\n ifNoneMatch?: string;\n}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type ZonesCreateOrUpdateResponse = Zone;\n\n/** Optional parameters. */\nexport interface ZonesDeleteOptionalParams extends coreClient.OperationOptions {\n /** The etag of the DNS zone. Omit this value to always delete the current zone. Specify the last-seen etag value to prevent accidentally deleting any concurrent changes. */\n ifMatch?: string;\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the delete operation. */\nexport type ZonesDeleteResponse = ZoneDeleteResult;\n\n/** Optional parameters. */\nexport interface ZonesGetOptionalParams extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type ZonesGetResponse = Zone;\n\n/** Optional parameters. */\nexport interface ZonesListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {\n /** The maximum number of record sets to return. If not specified, returns up to 100 record sets. */\n top?: number;\n}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type ZonesListByResourceGroupResponse = ZoneListResult;\n\n/** Optional parameters. */\nexport interface ZonesListOptionalParams extends coreClient.OperationOptions {\n /** The maximum number of DNS zones to return. If not specified, returns up to 100 zones. */\n top?: number;\n}\n\n/** Contains response data for the list operation. */\nexport type ZonesListResponse = ZoneListResult;\n\n/** Optional parameters. */\nexport interface ZonesListByResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroupNext operation. */\nexport type ZonesListByResourceGroupNextResponse = ZoneListResult;\n\n/** Optional parameters. */\nexport interface ZonesListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type ZonesListNextResponse = ZoneListResult;\n\n/** Optional parameters. */\nexport interface DnsManagementClientOptionalParams\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,SAAS,GAA+B;IACnD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,WAAW;QACtB,eAAe,EAAE;YACf,EAAE,EAAE;gBACF,cAAc,EAAE,IAAI;gBACpB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,qBAAqB;gBACrC,IAAI,EAAE;oBACJ,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;iBACpC;aACF;YACD,GAAG,EAAE;gBACH,cAAc,EAAE,gBAAgB;gBAChC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,iBAAiB;gBACjC,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,qBAAqB;gBACrC,IAAI,EAAE;oB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,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,kBAAkB,EAAE;gBAClB,cAAc,EAAE,+BAA+B;gBAC/C,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,WAAW,EAAE;gBACX,cAAc,EAAE,wBAAwB;gBACxC,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF,EACD,QAAQ,EAAE;gBACR,YAAY,EAAE,QAAQ;gBACtB,cAAc,EAAE,qBAAqB;gBACrC,IAAI,EAAE;oBACJ,IAAI,EAAE,MAAM;oBACZ,aAAa,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;iBACrC;aACF,GACF;KACF;CACF,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 * as coreClient from \"@azure/core-client\";\n\nexport const RecordSet: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RecordSet\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n },\n etag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n metadata: {\n serializedName: \"properties.metadata\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n ttl: {\n serializedName: \"properties.TTL\",\n type: {\n name: \"Number\"\n }\n },\n fqdn: {\n serializedName: \"properties.fqdn\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n aRecords: {\n serializedName: \"properties.ARecords\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ARecord\"\n }\n }\n }\n },\n aaaaRecords: {\n serializedName: \"properties.AAAARecords\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AaaaRecord\"\n }\n }\n }\n },\n mxRecords: {\n serializedName: \"properties.MXRecords\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MxRecord\"\n }\n }\n }\n },\n nsRecords: {\n serializedName: \"properties.NSRecords\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"NsRecord\"\n }\n }\n }\n },\n ptrRecords: {\n serializedName: \"properties.PTRRecords\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"PtrRecord\"\n }\n }\n }\n },\n srvRecords: {\n serializedName: \"properties.SRVRecords\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SrvRecord\"\n }\n }\n }\n },\n txtRecords: {\n serializedName: \"properties.TXTRecords\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TxtRecord\"\n }\n }\n }\n },\n cnameRecord: {\n serializedName: \"properties.CNAMERecord\",\n type: {\n name: \"Composite\",\n className: \"CnameRecord\"\n }\n },\n soaRecord: {\n serializedName: \"properties.SOARecord\",\n type: {\n name: \"Composite\",\n className: \"SoaRecord\"\n }\n }\n }\n }\n};\n\nexport const ARecord: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ARecord\",\n modelProperties: {\n ipv4Address: {\n serializedName: \"ipv4Address\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AaaaRecord: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AaaaRecord\",\n modelProperties: {\n ipv6Address: {\n serializedName: \"ipv6Address\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const MxRecord: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MxRecord\",\n modelProperties: {\n preference: {\n serializedName: \"preference\",\n type: {\n name: \"Number\"\n }\n },\n exchange: {\n serializedName: \"exchange\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const NsRecord: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"NsRecord\",\n modelProperties: {\n nsdname: {\n serializedName: \"nsdname\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PtrRecord: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PtrRecord\",\n modelProperties: {\n ptrdname: {\n serializedName: \"ptrdname\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SrvRecord: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SrvRecord\",\n modelProperties: {\n priority: {\n serializedName: \"priority\",\n type: {\n name: \"Number\"\n }\n },\n weight: {\n serializedName: \"weight\",\n type: {\n name: \"Number\"\n }\n },\n port: {\n serializedName: \"port\",\n type: {\n name: \"Number\"\n }\n },\n target: {\n serializedName: \"target\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TxtRecord: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TxtRecord\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const CnameRecord: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CnameRecord\",\n modelProperties: {\n cname: {\n serializedName: \"cname\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SoaRecord: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SoaRecord\",\n modelProperties: {\n host: {\n serializedName: \"host\",\n type: {\n name: \"String\"\n }\n },\n email: {\n serializedName: \"email\",\n type: {\n name: \"String\"\n }\n },\n serialNumber: {\n serializedName: \"serialNumber\",\n type: {\n name: \"Number\"\n }\n },\n refreshTime: {\n serializedName: \"refreshTime\",\n type: {\n name: \"Number\"\n }\n },\n retryTime: {\n serializedName: \"retryTime\",\n type: {\n name: \"Number\"\n }\n },\n expireTime: {\n serializedName: \"expireTime\",\n type: {\n name: \"Number\"\n }\n },\n minimumTtl: {\n serializedName: \"minimumTTL\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const CloudError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CloudError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\"\n }\n }\n }\n }\n};\n\nexport const CloudErrorBody: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const RecordSetListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RecordSetListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"RecordSet\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\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 }\n }\n};\n\nexport const ZoneDeleteResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ZoneDeleteResult\",\n modelProperties: {\n azureAsyncOperation: {\n serializedName: \"azureAsyncOperation\",\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"status\",\n type: {\n name: \"Enum\",\n allowedValues: [\"InProgress\", \"Succeeded\", \"Failed\"]\n }\n },\n statusCode: {\n serializedName: \"statusCode\",\n type: {\n name: \"Enum\",\n allowedValues: [\n \"Continue\",\n \"SwitchingProtocols\",\n \"OK\",\n \"Created\",\n \"Accepted\",\n \"NonAuthoritativeInformation\",\n \"NoContent\",\n \"ResetContent\",\n \"PartialContent\",\n \"MultipleChoices\",\n \"Ambiguous\",\n \"MovedPermanently\",\n \"Moved\",\n \"Found\",\n \"Redirect\",\n \"SeeOther\",\n \"RedirectMethod\",\n \"NotModified\",\n \"UseProxy\",\n \"Unused\",\n \"TemporaryRedirect\",\n \"RedirectKeepVerb\",\n \"BadRequest\",\n \"Unauthorized\",\n \"PaymentRequired\",\n \"Forbidden\",\n \"NotFound\",\n \"MethodNotAllowed\",\n \"NotAcceptable\",\n \"ProxyAuthenticationRequired\",\n \"RequestTimeout\",\n \"Conflict\",\n \"Gone\",\n \"LengthRequired\",\n \"PreconditionFailed\",\n \"RequestEntityTooLarge\",\n \"RequestUriTooLong\",\n \"UnsupportedMediaType\",\n \"RequestedRangeNotSatisfiable\",\n \"ExpectationFailed\",\n \"UpgradeRequired\",\n \"InternalServerError\",\n \"NotImplemented\",\n \"BadGateway\",\n \"ServiceUnavailable\",\n \"GatewayTimeout\",\n \"HttpVersionNotSupported\"\n ]\n }\n },\n requestId: {\n serializedName: \"requestId\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ZoneListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ZoneListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Zone\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RecordSetUpdateParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RecordSetUpdateParameters\",\n modelProperties: {\n recordSet: {\n serializedName: \"RecordSet\",\n type: {\n name: \"Composite\",\n className: \"RecordSet\"\n }\n }\n }\n }\n};\n\nexport const SubResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SubResource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TrackedResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackedResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Zone: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Zone\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n etag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n maxNumberOfRecordSets: {\n serializedName: \"properties.maxNumberOfRecordSets\",\n type: {\n name: \"Number\"\n }\n },\n maxNumberOfRecordsPerRecordSet: {\n serializedName: \"properties.maxNumberOfRecordsPerRecordSet\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n numberOfRecordSets: {\n serializedName: \"properties.numberOfRecordSets\",\n type: {\n name: \"Number\"\n }\n },\n nameServers: {\n serializedName: \"properties.nameServers\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n zoneType: {\n defaultValue: \"Public\",\n serializedName: \"properties.zoneType\",\n type: {\n name: \"Enum\",\n allowedValues: [\"Public\", \"Private\"]\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 { RecordSet as RecordSetMapper, Zone as ZoneMapper } from "../models/mappers";
8
+ import { RecordSet as RecordSetMapper, Zone as ZoneMapper } 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,EACL,SAAS,IAAI,eAAe,EAC5B,IAAI,IAAI,UAAU,EACnB,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAuB;IAC5C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,eAAe;CACxB,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,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AAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,UAAU;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 {\n RecordSet as RecordSetMapper,\n Zone as ZoneMapper\n} 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 parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: RecordSetMapper\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 resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const zoneName: OperationURLParameter = {\n parameterPath: \"zoneName\",\n mapper: {\n serializedName: \"zoneName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const relativeRecordSetName: OperationURLParameter = {\n parameterPath: \"relativeRecordSetName\",\n mapper: {\n serializedName: \"relativeRecordSetName\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const recordType: OperationURLParameter = {\n parameterPath: \"recordType\",\n mapper: {\n serializedName: \"recordType\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\n \"A\",\n \"AAAA\",\n \"CNAME\",\n \"MX\",\n \"NS\",\n \"PTR\",\n \"SOA\",\n \"SRV\",\n \"TXT\"\n ]\n }\n }\n};\n\nexport const ifMatch: OperationParameter = {\n parameterPath: [\"options\", \"ifMatch\"],\n mapper: {\n serializedName: \"If-Match\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2016-04-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n constraints: {\n MinLength: 1\n },\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const ifNoneMatch: OperationParameter = {\n parameterPath: [\"options\", \"ifNoneMatch\"],\n mapper: {\n serializedName: \"If-None-Match\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const top: OperationQueryParameter = {\n parameterPath: [\"options\", \"top\"],\n mapper: {\n serializedName: \"$top\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const recordsetnamesuffix: OperationQueryParameter = {\n parameterPath: [\"options\", \"recordsetnamesuffix\"],\n mapper: {\n serializedName: \"$recordsetnamesuffix\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ZoneMapper\n};\n"]}
@@ -0,0 +1,3 @@
1
+ export * from "./recordSets.js";
2
+ export * from "./zones.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC"}
@@ -5,6 +5,6 @@
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 "./recordSets";
9
- export * from "./zones";
8
+ export * from "./recordSets.js";
9
+ export * from "./zones.js";
10
10
  //# 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,iBAAiB,CAAC;AAChC,cAAc,YAAY,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 \"./recordSets.js\";\nexport * from \"./zones.js\";\n"]}
@@ -1,7 +1,7 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { RecordSets } from "../operationsInterfaces";
3
- import { DnsManagementClient } from "../dnsManagementClient";
4
- import { RecordSet, RecordType, RecordSetsListByTypeOptionalParams, RecordSetsListByDnsZoneOptionalParams, RecordSetsUpdateOptionalParams, RecordSetsUpdateResponse, RecordSetsCreateOrUpdateOptionalParams, RecordSetsCreateOrUpdateResponse, RecordSetsDeleteOptionalParams, RecordSetsGetOptionalParams, RecordSetsGetResponse } from "../models";
2
+ import { RecordSets } from "../operationsInterfaces/index.js";
3
+ import { DnsManagementClient } from "../dnsManagementClient.js";
4
+ import { RecordSet, RecordType, RecordSetsListByTypeOptionalParams, RecordSetsListByDnsZoneOptionalParams, RecordSetsUpdateOptionalParams, RecordSetsUpdateResponse, RecordSetsCreateOrUpdateOptionalParams, RecordSetsCreateOrUpdateResponse, RecordSetsDeleteOptionalParams, RecordSetsGetOptionalParams, RecordSetsGetResponse } from "../models/index.js";
5
5
  /** Class containing RecordSets operations. */
6
6
  export declare class RecordSetsImpl implements RecordSets {
7
7
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recordSets.d.ts","sourceRoot":"","sources":["../../../src/operations/recordSets.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,SAAS,EACT,UAAU,EAEV,kCAAkC,EAGlC,qCAAqC,EAErC,8BAA8B,EAC9B,wBAAwB,EACxB,sCAAsC,EACtC,gCAAgC,EAChC,8BAA8B,EAC9B,2BAA2B,EAC3B,qBAAqB,EAGtB,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsB;IAE7C;;;OAGG;gBACS,MAAM,EAAE,mBAAmB;IAIvC;;;;;;OAMG;IACI,UAAU,CACf,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,0BAA0B,CAAC,SAAS,CAAC;YA6BzB,oBAAoB;YAoCpB,mBAAmB;IAgBlC;;;;;OAKG;IACI,aAAa,CAClB,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,0BAA0B,CAAC,SAAS,CAAC;YA2BzB,uBAAuB;YA6BvB,sBAAsB;IAcrC;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,qBAAqB,EAAE,MAAM,EAC7B,UAAU,EAAE,UAAU,EACtB,UAAU,EAAE,SAAS,EACrB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC;IAcpC;;;;;;;;;OASG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,qBAAqB,EAAE,MAAM,EAC7B,UAAU,EAAE,UAAU,EACtB,UAAU,EAAE,SAAS,EACrB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC;IAc5C;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,qBAAqB,EAAE,MAAM,EAC7B,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,IAAI,CAAC;IAahB;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,qBAAqB,EAAE,MAAM,EAC7B,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC;IAajC;;;;;;OAMG;IACH,OAAO,CAAC,WAAW;IAYnB;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAWtB;;;;;;;OAOG;IACH,OAAO,CAAC,eAAe;IAavB;;;;;;OAMG;IACH,OAAO,CAAC,kBAAkB;CAW3B"}
@@ -6,10 +6,10 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
10
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
13
  /// <reference lib="esnext.asynciterable" />
14
14
  /** Class containing RecordSets operations. */
15
15
  export class RecordSetsImpl {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recordSets.js","sourceRoot":"","sources":["../../../src/operations/recordSets.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAsBtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAA2B;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,UAAU,CACf,iBAAyB,EACzB,QAAgB,EAChB,UAAsB,EACtB,OAA4C;QAE5C,MAAM,IAAI,GAAG,IAAI,CAAC,mBAAmB,CACnC,iBAAiB,EACjB,QAAQ,EACR,UAAU,EACV,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,oBAAoB,CAC9B,iBAAiB,EACjB,QAAQ,EACR,UAAU,EACV,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,oBAAoB,CACjC,iBAAyB,EAC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C,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,2BAA2B,GAA6B;IAC5D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,8BAA8B,GAA6B;IAC/D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { RecordSets } 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 { DnsManagementClient } from \"../dnsManagementClient.js\";\nimport {\n RecordSet,\n RecordType,\n RecordSetsListByTypeNextOptionalParams,\n RecordSetsListByTypeOptionalParams,\n RecordSetsListByTypeResponse,\n RecordSetsListByDnsZoneNextOptionalParams,\n RecordSetsListByDnsZoneOptionalParams,\n RecordSetsListByDnsZoneResponse,\n RecordSetsUpdateOptionalParams,\n RecordSetsUpdateResponse,\n RecordSetsCreateOrUpdateOptionalParams,\n RecordSetsCreateOrUpdateResponse,\n RecordSetsDeleteOptionalParams,\n RecordSetsGetOptionalParams,\n RecordSetsGetResponse,\n RecordSetsListByTypeNextResponse,\n RecordSetsListByDnsZoneNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing RecordSets operations. */\nexport class RecordSetsImpl implements RecordSets {\n private readonly client: DnsManagementClient;\n\n /**\n * Initialize a new instance of the class RecordSets class.\n * @param client Reference to the service client\n */\n constructor(client: DnsManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists the record sets of a specified type in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param recordType The type of record sets to enumerate.\n * @param options The options parameters.\n */\n public listByType(\n resourceGroupName: string,\n zoneName: string,\n recordType: RecordType,\n options?: RecordSetsListByTypeOptionalParams\n ): PagedAsyncIterableIterator<RecordSet> {\n const iter = this.listByTypePagingAll(\n resourceGroupName,\n zoneName,\n recordType,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByTypePagingPage(\n resourceGroupName,\n zoneName,\n recordType,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByTypePagingPage(\n resourceGroupName: string,\n zoneName: string,\n recordType: RecordType,\n options?: RecordSetsListByTypeOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<RecordSet[]> {\n let result: RecordSetsListByTypeResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByType(\n resourceGroupName,\n zoneName,\n recordType,\n options\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByTypeNext(\n resourceGroupName,\n zoneName,\n recordType,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByTypePagingAll(\n resourceGroupName: string,\n zoneName: string,\n recordType: RecordType,\n options?: RecordSetsListByTypeOptionalParams\n ): AsyncIterableIterator<RecordSet> {\n for await (const page of this.listByTypePagingPage(\n resourceGroupName,\n zoneName,\n recordType,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all record sets in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n public listByDnsZone(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListByDnsZoneOptionalParams\n ): PagedAsyncIterableIterator<RecordSet> {\n const iter = this.listByDnsZonePagingAll(\n resourceGroupName,\n zoneName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByDnsZonePagingPage(\n resourceGroupName,\n zoneName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByDnsZonePagingPage(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListByDnsZoneOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<RecordSet[]> {\n let result: RecordSetsListByDnsZoneResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByDnsZone(resourceGroupName, zoneName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByDnsZoneNext(\n resourceGroupName,\n zoneName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByDnsZonePagingAll(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListByDnsZoneOptionalParams\n ): AsyncIterableIterator<RecordSet> {\n for await (const page of this.listByDnsZonePagingPage(\n resourceGroupName,\n zoneName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Updates a record set within a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param relativeRecordSetName The name of the record set, relative to the name of the zone.\n * @param recordType The type of DNS record in this record set.\n * @param parameters Parameters supplied to the Update operation.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n zoneName: string,\n relativeRecordSetName: string,\n recordType: RecordType,\n parameters: RecordSet,\n options?: RecordSetsUpdateOptionalParams\n ): Promise<RecordSetsUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n zoneName,\n relativeRecordSetName,\n recordType,\n parameters,\n options\n },\n updateOperationSpec\n );\n }\n\n /**\n * Creates or updates a record set within a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param relativeRecordSetName The name of the record set, relative to the name of the zone.\n * @param recordType The type of DNS record in this record set. Record sets of type SOA can be updated\n * but not created (they are created when the DNS zone is created).\n * @param parameters Parameters supplied to the CreateOrUpdate operation.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n zoneName: string,\n relativeRecordSetName: string,\n recordType: RecordType,\n parameters: RecordSet,\n options?: RecordSetsCreateOrUpdateOptionalParams\n ): Promise<RecordSetsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n zoneName,\n relativeRecordSetName,\n recordType,\n parameters,\n options\n },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Deletes a record set from a DNS zone. This operation cannot be undone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param relativeRecordSetName The name of the record set, relative to the name of the zone.\n * @param recordType The type of DNS record in this record set. Record sets of type SOA cannot be\n * deleted (they are deleted when the DNS zone is deleted).\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n zoneName: string,\n relativeRecordSetName: string,\n recordType: RecordType,\n options?: RecordSetsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n zoneName,\n relativeRecordSetName,\n recordType,\n options\n },\n deleteOperationSpec\n );\n }\n\n /**\n * Gets a record set.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param relativeRecordSetName The name of the record set, relative to the name of the zone.\n * @param recordType The type of DNS record in this record set.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n zoneName: string,\n relativeRecordSetName: string,\n recordType: RecordType,\n options?: RecordSetsGetOptionalParams\n ): Promise<RecordSetsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n zoneName,\n relativeRecordSetName,\n recordType,\n options\n },\n getOperationSpec\n );\n }\n\n /**\n * Lists the record sets of a specified type in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param recordType The type of record sets to enumerate.\n * @param options The options parameters.\n */\n private _listByType(\n resourceGroupName: string,\n zoneName: string,\n recordType: RecordType,\n options?: RecordSetsListByTypeOptionalParams\n ): Promise<RecordSetsListByTypeResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, recordType, options },\n listByTypeOperationSpec\n );\n }\n\n /**\n * Lists all record sets in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n private _listByDnsZone(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListByDnsZoneOptionalParams\n ): Promise<RecordSetsListByDnsZoneResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, options },\n listByDnsZoneOperationSpec\n );\n }\n\n /**\n * ListByTypeNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param recordType The type of record sets to enumerate.\n * @param nextLink The nextLink from the previous successful call to the ListByType method.\n * @param options The options parameters.\n */\n private _listByTypeNext(\n resourceGroupName: string,\n zoneName: string,\n recordType: RecordType,\n nextLink: string,\n options?: RecordSetsListByTypeNextOptionalParams\n ): Promise<RecordSetsListByTypeNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, recordType, nextLink, options },\n listByTypeNextOperationSpec\n );\n }\n\n /**\n * ListByDnsZoneNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param nextLink The nextLink from the previous successful call to the ListByDnsZone method.\n * @param options The options parameters.\n */\n private _listByDnsZoneNext(\n resourceGroupName: string,\n zoneName: string,\n nextLink: string,\n options?: RecordSetsListByDnsZoneNextOptionalParams\n ): Promise<RecordSetsListByDnsZoneNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, nextLink, options },\n listByDnsZoneNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSet\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.relativeRecordSetName,\n Parameters.recordType,\n Parameters.subscriptionId\n ],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.ifMatch\n ],\n mediaType: \"json\",\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSet\n },\n 201: {\n bodyMapper: Mappers.RecordSet\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.relativeRecordSetName,\n Parameters.recordType,\n Parameters.subscriptionId\n ],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.relativeRecordSetName,\n Parameters.recordType,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept, Parameters.ifMatch],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSet\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.relativeRecordSetName,\n Parameters.recordType,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByTypeOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSetListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.top,\n Parameters.recordsetnamesuffix\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.recordType,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByDnsZoneOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/recordsets\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSetListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.top,\n Parameters.recordsetnamesuffix\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByTypeNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSetListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.recordType,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByDnsZoneNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSetListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -1,8 +1,8 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Zones } from "../operationsInterfaces";
3
- import { DnsManagementClient } from "../dnsManagementClient";
2
+ import { Zones } from "../operationsInterfaces/index.js";
3
+ import { DnsManagementClient } from "../dnsManagementClient.js";
4
4
  import { PollerLike, PollOperationState } from "@azure/core-lro";
5
- import { Zone, ZonesListByResourceGroupOptionalParams, ZonesListOptionalParams, ZonesCreateOrUpdateOptionalParams, ZonesCreateOrUpdateResponse, ZonesDeleteOptionalParams, ZonesDeleteResponse, ZonesGetOptionalParams, ZonesGetResponse } from "../models";
5
+ import { Zone, ZonesListByResourceGroupOptionalParams, ZonesListOptionalParams, ZonesCreateOrUpdateOptionalParams, ZonesCreateOrUpdateResponse, ZonesDeleteOptionalParams, ZonesDeleteResponse, ZonesGetOptionalParams, ZonesGetResponse } from "../models/index.js";
6
6
  /** Class containing Zones operations. */
7
7
  export declare class ZonesImpl implements Zones {
8
8
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zones.d.ts","sourceRoot":"","sources":["../../../src/operations/zones.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAA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,CAAC,mBAAmB,CAAC;IAK/B;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,sBAAsB,GAC/B,OAAO,CAAC,gBAAgB,CAAC;IAO5B;;;;OAIG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAIb;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;IAWhC;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
@@ -5,13 +5,13 @@
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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
10
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
13
  import { LroEngine } from "@azure/core-lro";
14
- import { LroImpl } from "../lroImpl";
14
+ import { LroImpl } from "../lroImpl.js";
15
15
  /// <reference lib="esnext.asynciterable" />
16
16
  /** Class containing Zones operations. */
17
17
  export class ZonesImpl {
@@ -162,38 +162,36 @@ export class ZonesImpl {
162
162
  * @param zoneName The name of the DNS zone (without a terminating dot).
163
163
  * @param options The options parameters.
164
164
  */
165
- beginDelete(resourceGroupName, zoneName, options) {
166
- return __awaiter(this, void 0, void 0, function* () {
167
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
168
- return this.client.sendOperationRequest(args, spec);
169
- });
170
- const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
171
- var _a;
172
- let currentRawResponse = undefined;
173
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
174
- const callback = (rawResponse, flatResponse) => {
175
- currentRawResponse = rawResponse;
176
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
177
- };
178
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
179
- const flatResponse = yield directSendOperation(updatedArgs, spec);
180
- return {
181
- flatResponse,
182
- rawResponse: {
183
- statusCode: currentRawResponse.status,
184
- body: currentRawResponse.parsedBody,
185
- headers: currentRawResponse.headers.toJSON()
186
- }
187
- };
188
- });
189
- const lro = new LroImpl(sendOperation, { resourceGroupName, zoneName, options }, deleteOperationSpec);
190
- const poller = new LroEngine(lro, {
191
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
192
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
193
- });
194
- yield poller.poll();
195
- return poller;
165
+ async beginDelete(resourceGroupName, zoneName, options) {
166
+ const directSendOperation = async (args, spec) => {
167
+ return this.client.sendOperationRequest(args, spec);
168
+ };
169
+ const sendOperation = async (args, spec) => {
170
+ var _a;
171
+ let currentRawResponse = undefined;
172
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
173
+ const callback = (rawResponse, flatResponse) => {
174
+ currentRawResponse = rawResponse;
175
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
176
+ };
177
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
178
+ const flatResponse = await directSendOperation(updatedArgs, spec);
179
+ return {
180
+ flatResponse,
181
+ rawResponse: {
182
+ statusCode: currentRawResponse.status,
183
+ body: currentRawResponse.parsedBody,
184
+ headers: currentRawResponse.headers.toJSON()
185
+ }
186
+ };
187
+ };
188
+ const lro = new LroImpl(sendOperation, { resourceGroupName, zoneName, options }, deleteOperationSpec);
189
+ const poller = new LroEngine(lro, {
190
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
191
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
196
192
  });
193
+ await poller.poll();
194
+ return poller;
197
195
  }
198
196
  /**
199
197
  * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot
@@ -202,11 +200,9 @@ export class ZonesImpl {
202
200
  * @param zoneName The name of the DNS zone (without a terminating dot).
203
201
  * @param options The options parameters.
204
202
  */
205
- beginDeleteAndWait(resourceGroupName, zoneName, options) {
206
- return __awaiter(this, void 0, void 0, function* () {
207
- const poller = yield this.beginDelete(resourceGroupName, zoneName, options);
208
- return poller.pollUntilDone();
209
- });
203
+ async beginDeleteAndWait(resourceGroupName, zoneName, options) {
204
+ const poller = await this.beginDelete(resourceGroupName, zoneName, options);
205
+ return poller.pollUntilDone();
210
206
  }
211
207
  /**
212
208
  * Gets a DNS zone. Retrieves the zone properties, but not the record sets within the zone.