@azure/arm-privatedns 3.2.1-alpha.20240925.1 → 3.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/CHANGELOG.md +9 -10
  2. package/LICENSE +1 -1
  3. package/dist/index.js +435 -422
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/privateZonesCreateOrUpdateSample.js +2 -2
  8. package/dist-esm/samples-dev/privateZonesDeleteSample.js +1 -1
  9. package/dist-esm/samples-dev/privateZonesGetSample.js +1 -1
  10. package/dist-esm/samples-dev/privateZonesListByResourceGroupSample.js +1 -1
  11. package/dist-esm/samples-dev/privateZonesListSample.js +1 -1
  12. package/dist-esm/samples-dev/privateZonesUpdateSample.js +1 -1
  13. package/dist-esm/samples-dev/recordSetsCreateOrUpdateSample.js +18 -17
  14. package/dist-esm/samples-dev/recordSetsCreateOrUpdateSample.js.map +1 -1
  15. package/dist-esm/samples-dev/recordSetsDeleteSample.js +7 -7
  16. package/dist-esm/samples-dev/recordSetsGetSample.js +8 -8
  17. package/dist-esm/samples-dev/recordSetsListByTypeSample.js +8 -8
  18. package/dist-esm/samples-dev/recordSetsListSample.js +1 -1
  19. package/dist-esm/samples-dev/recordSetsUpdateSample.js +8 -8
  20. package/dist-esm/samples-dev/virtualNetworkLinksCreateOrUpdateSample.js +4 -4
  21. package/dist-esm/samples-dev/virtualNetworkLinksCreateOrUpdateSample.js.map +1 -1
  22. package/dist-esm/samples-dev/virtualNetworkLinksDeleteSample.js +1 -1
  23. package/dist-esm/samples-dev/virtualNetworkLinksGetSample.js +1 -1
  24. package/dist-esm/samples-dev/virtualNetworkLinksListSample.js +2 -2
  25. package/dist-esm/samples-dev/virtualNetworkLinksListSample.js.map +1 -1
  26. package/dist-esm/samples-dev/virtualNetworkLinksUpdateSample.js +5 -4
  27. package/dist-esm/samples-dev/virtualNetworkLinksUpdateSample.js.map +1 -1
  28. package/dist-esm/src/lroImpl.js +1 -1
  29. package/dist-esm/src/models/index.d.ts +18 -0
  30. package/dist-esm/src/models/index.d.ts.map +1 -1
  31. package/dist-esm/src/models/index.js +8 -0
  32. package/dist-esm/src/models/index.js.map +1 -1
  33. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  34. package/dist-esm/src/models/mappers.js +206 -201
  35. package/dist-esm/src/models/mappers.js.map +1 -1
  36. package/dist-esm/src/models/parameters.js +50 -50
  37. package/dist-esm/src/models/parameters.js.map +1 -1
  38. package/dist-esm/src/operations/privateZones.d.ts.map +1 -1
  39. package/dist-esm/src/operations/privateZones.js +61 -61
  40. package/dist-esm/src/operations/privateZones.js.map +1 -1
  41. package/dist-esm/src/operations/recordSets.js +50 -50
  42. package/dist-esm/src/operations/recordSets.js.map +1 -1
  43. package/dist-esm/src/operations/virtualNetworkLinks.d.ts.map +1 -1
  44. package/dist-esm/src/operations/virtualNetworkLinks.js +54 -54
  45. package/dist-esm/src/operations/virtualNetworkLinks.js.map +1 -1
  46. package/dist-esm/src/privateDnsManagementClient.d.ts.map +1 -1
  47. package/dist-esm/src/privateDnsManagementClient.js +9 -9
  48. package/dist-esm/src/privateDnsManagementClient.js.map +1 -1
  49. package/dist-esm/test/privatedns_operations_test.spec.d.ts.map +1 -1
  50. package/dist-esm/test/privatedns_operations_test.spec.js +0 -3
  51. package/dist-esm/test/privatedns_operations_test.spec.js.map +1 -1
  52. package/package.json +13 -13
  53. package/review/arm-privatedns.api.md +10 -0
  54. package/src/lroImpl.ts +3 -3
  55. package/src/models/index.ts +22 -2
  56. package/src/models/mappers.ts +212 -206
  57. package/src/models/parameters.ts +51 -51
  58. package/src/operations/privateZones.ts +116 -125
  59. package/src/operations/recordSets.ts +88 -94
  60. package/src/operations/virtualNetworkLinks.ts +103 -111
  61. package/src/operationsInterfaces/privateZones.ts +10 -10
  62. package/src/operationsInterfaces/recordSets.ts +7 -7
  63. package/src/operationsInterfaces/virtualNetworkLinks.ts +9 -9
  64. package/src/pagingHelper.ts +1 -1
  65. package/src/privateDnsManagementClient.ts +18 -17
  66. package/types/arm-privatedns.d.ts +20 -0
package/dist/index.js CHANGED
@@ -82,6 +82,14 @@ exports.KnownProvisioningState = void 0;
82
82
  /** Canceled */
83
83
  KnownProvisioningState["Canceled"] = "Canceled";
84
84
  })(exports.KnownProvisioningState || (exports.KnownProvisioningState = {}));
85
+ /** Known values of {@link ResolutionPolicy} that the service accepts. */
86
+ exports.KnownResolutionPolicy = void 0;
87
+ (function (KnownResolutionPolicy) {
88
+ /** Default */
89
+ KnownResolutionPolicy["Default"] = "Default";
90
+ /** NxDomainRedirect */
91
+ KnownResolutionPolicy["NxDomainRedirect"] = "NxDomainRedirect";
92
+ })(exports.KnownResolutionPolicy || (exports.KnownResolutionPolicy = {}));
85
93
  /** Known values of {@link VirtualNetworkLinkState} that the service accepts. */
86
94
  exports.KnownVirtualNetworkLinkState = void 0;
87
95
  (function (KnownVirtualNetworkLinkState) {
@@ -107,25 +115,25 @@ const Resource = {
107
115
  serializedName: "id",
108
116
  readOnly: true,
109
117
  type: {
110
- name: "String"
111
- }
118
+ name: "String",
119
+ },
112
120
  },
113
121
  name: {
114
122
  serializedName: "name",
115
123
  readOnly: true,
116
124
  type: {
117
- name: "String"
118
- }
125
+ name: "String",
126
+ },
119
127
  },
120
128
  type: {
121
129
  serializedName: "type",
122
130
  readOnly: true,
123
131
  type: {
124
- name: "String"
125
- }
126
- }
127
- }
128
- }
132
+ name: "String",
133
+ },
134
+ },
135
+ },
136
+ },
129
137
  };
130
138
  const CloudError = {
131
139
  type: {
@@ -136,11 +144,11 @@ const CloudError = {
136
144
  serializedName: "error",
137
145
  type: {
138
146
  name: "Composite",
139
- className: "CloudErrorBody"
140
- }
141
- }
142
- }
143
- }
147
+ className: "CloudErrorBody",
148
+ },
149
+ },
150
+ },
151
+ },
144
152
  };
145
153
  const CloudErrorBody = {
146
154
  type: {
@@ -150,20 +158,20 @@ const CloudErrorBody = {
150
158
  code: {
151
159
  serializedName: "code",
152
160
  type: {
153
- name: "String"
154
- }
161
+ name: "String",
162
+ },
155
163
  },
156
164
  message: {
157
165
  serializedName: "message",
158
166
  type: {
159
- name: "String"
160
- }
167
+ name: "String",
168
+ },
161
169
  },
162
170
  target: {
163
171
  serializedName: "target",
164
172
  type: {
165
- name: "String"
166
- }
173
+ name: "String",
174
+ },
167
175
  },
168
176
  details: {
169
177
  serializedName: "details",
@@ -172,13 +180,13 @@ const CloudErrorBody = {
172
180
  element: {
173
181
  type: {
174
182
  name: "Composite",
175
- className: "CloudErrorBody"
176
- }
177
- }
178
- }
179
- }
180
- }
181
- }
183
+ className: "CloudErrorBody",
184
+ },
185
+ },
186
+ },
187
+ },
188
+ },
189
+ },
182
190
  };
183
191
  const PrivateZoneListResult = {
184
192
  type: {
@@ -192,20 +200,20 @@ const PrivateZoneListResult = {
192
200
  element: {
193
201
  type: {
194
202
  name: "Composite",
195
- className: "PrivateZone"
196
- }
197
- }
198
- }
203
+ className: "PrivateZone",
204
+ },
205
+ },
206
+ },
199
207
  },
200
208
  nextLink: {
201
209
  serializedName: "nextLink",
202
210
  readOnly: true,
203
211
  type: {
204
- name: "String"
205
- }
206
- }
207
- }
208
- }
212
+ name: "String",
213
+ },
214
+ },
215
+ },
216
+ },
209
217
  };
210
218
  const SubResource = {
211
219
  type: {
@@ -215,11 +223,11 @@ const SubResource = {
215
223
  id: {
216
224
  serializedName: "id",
217
225
  type: {
218
- name: "String"
219
- }
220
- }
221
- }
222
- }
226
+ name: "String",
227
+ },
228
+ },
229
+ },
230
+ },
223
231
  };
224
232
  const VirtualNetworkLinkListResult = {
225
233
  type: {
@@ -233,20 +241,20 @@ const VirtualNetworkLinkListResult = {
233
241
  element: {
234
242
  type: {
235
243
  name: "Composite",
236
- className: "VirtualNetworkLink"
237
- }
238
- }
239
- }
244
+ className: "VirtualNetworkLink",
245
+ },
246
+ },
247
+ },
240
248
  },
241
249
  nextLink: {
242
250
  serializedName: "nextLink",
243
251
  readOnly: true,
244
252
  type: {
245
- name: "String"
246
- }
247
- }
248
- }
249
- }
253
+ name: "String",
254
+ },
255
+ },
256
+ },
257
+ },
250
258
  };
251
259
  const ARecord = {
252
260
  type: {
@@ -256,11 +264,11 @@ const ARecord = {
256
264
  ipv4Address: {
257
265
  serializedName: "ipv4Address",
258
266
  type: {
259
- name: "String"
260
- }
261
- }
262
- }
263
- }
267
+ name: "String",
268
+ },
269
+ },
270
+ },
271
+ },
264
272
  };
265
273
  const AaaaRecord = {
266
274
  type: {
@@ -270,11 +278,11 @@ const AaaaRecord = {
270
278
  ipv6Address: {
271
279
  serializedName: "ipv6Address",
272
280
  type: {
273
- name: "String"
274
- }
275
- }
276
- }
277
- }
281
+ name: "String",
282
+ },
283
+ },
284
+ },
285
+ },
278
286
  };
279
287
  const CnameRecord = {
280
288
  type: {
@@ -284,11 +292,11 @@ const CnameRecord = {
284
292
  cname: {
285
293
  serializedName: "cname",
286
294
  type: {
287
- name: "String"
288
- }
289
- }
290
- }
291
- }
295
+ name: "String",
296
+ },
297
+ },
298
+ },
299
+ },
292
300
  };
293
301
  const MxRecord = {
294
302
  type: {
@@ -298,17 +306,17 @@ const MxRecord = {
298
306
  preference: {
299
307
  serializedName: "preference",
300
308
  type: {
301
- name: "Number"
302
- }
309
+ name: "Number",
310
+ },
303
311
  },
304
312
  exchange: {
305
313
  serializedName: "exchange",
306
314
  type: {
307
- name: "String"
308
- }
309
- }
310
- }
311
- }
315
+ name: "String",
316
+ },
317
+ },
318
+ },
319
+ },
312
320
  };
313
321
  const PtrRecord = {
314
322
  type: {
@@ -318,11 +326,11 @@ const PtrRecord = {
318
326
  ptrdname: {
319
327
  serializedName: "ptrdname",
320
328
  type: {
321
- name: "String"
322
- }
323
- }
324
- }
325
- }
329
+ name: "String",
330
+ },
331
+ },
332
+ },
333
+ },
326
334
  };
327
335
  const SoaRecord = {
328
336
  type: {
@@ -332,47 +340,47 @@ const SoaRecord = {
332
340
  host: {
333
341
  serializedName: "host",
334
342
  type: {
335
- name: "String"
336
- }
343
+ name: "String",
344
+ },
337
345
  },
338
346
  email: {
339
347
  serializedName: "email",
340
348
  type: {
341
- name: "String"
342
- }
349
+ name: "String",
350
+ },
343
351
  },
344
352
  serialNumber: {
345
353
  serializedName: "serialNumber",
346
354
  type: {
347
- name: "Number"
348
- }
355
+ name: "Number",
356
+ },
349
357
  },
350
358
  refreshTime: {
351
359
  serializedName: "refreshTime",
352
360
  type: {
353
- name: "Number"
354
- }
361
+ name: "Number",
362
+ },
355
363
  },
356
364
  retryTime: {
357
365
  serializedName: "retryTime",
358
366
  type: {
359
- name: "Number"
360
- }
367
+ name: "Number",
368
+ },
361
369
  },
362
370
  expireTime: {
363
371
  serializedName: "expireTime",
364
372
  type: {
365
- name: "Number"
366
- }
373
+ name: "Number",
374
+ },
367
375
  },
368
376
  minimumTtl: {
369
377
  serializedName: "minimumTtl",
370
378
  type: {
371
- name: "Number"
372
- }
373
- }
374
- }
375
- }
379
+ name: "Number",
380
+ },
381
+ },
382
+ },
383
+ },
376
384
  };
377
385
  const SrvRecord = {
378
386
  type: {
@@ -382,29 +390,29 @@ const SrvRecord = {
382
390
  priority: {
383
391
  serializedName: "priority",
384
392
  type: {
385
- name: "Number"
386
- }
393
+ name: "Number",
394
+ },
387
395
  },
388
396
  weight: {
389
397
  serializedName: "weight",
390
398
  type: {
391
- name: "Number"
392
- }
399
+ name: "Number",
400
+ },
393
401
  },
394
402
  port: {
395
403
  serializedName: "port",
396
404
  type: {
397
- name: "Number"
398
- }
405
+ name: "Number",
406
+ },
399
407
  },
400
408
  target: {
401
409
  serializedName: "target",
402
410
  type: {
403
- name: "String"
404
- }
405
- }
406
- }
407
- }
411
+ name: "String",
412
+ },
413
+ },
414
+ },
415
+ },
408
416
  };
409
417
  const TxtRecord = {
410
418
  type: {
@@ -417,13 +425,13 @@ const TxtRecord = {
417
425
  name: "Sequence",
418
426
  element: {
419
427
  type: {
420
- name: "String"
421
- }
422
- }
423
- }
424
- }
425
- }
426
- }
428
+ name: "String",
429
+ },
430
+ },
431
+ },
432
+ },
433
+ },
434
+ },
427
435
  };
428
436
  const RecordSetListResult = {
429
437
  type: {
@@ -437,20 +445,20 @@ const RecordSetListResult = {
437
445
  element: {
438
446
  type: {
439
447
  name: "Composite",
440
- className: "RecordSet"
441
- }
442
- }
443
- }
448
+ className: "RecordSet",
449
+ },
450
+ },
451
+ },
444
452
  },
445
453
  nextLink: {
446
454
  serializedName: "nextLink",
447
455
  readOnly: true,
448
456
  type: {
449
- name: "String"
450
- }
451
- }
452
- }
453
- }
457
+ name: "String",
458
+ },
459
+ },
460
+ },
461
+ },
454
462
  };
455
463
  const TrackedResource = {
456
464
  type: {
@@ -460,22 +468,22 @@ const TrackedResource = {
460
468
  serializedName: "tags",
461
469
  type: {
462
470
  name: "Dictionary",
463
- value: { type: { name: "String" } }
464
- }
471
+ value: { type: { name: "String" } },
472
+ },
465
473
  }, location: {
466
474
  serializedName: "location",
467
475
  type: {
468
- name: "String"
469
- }
470
- } })
471
- }
476
+ name: "String",
477
+ },
478
+ } }),
479
+ },
472
480
  };
473
481
  const ProxyResource = {
474
482
  type: {
475
483
  name: "Composite",
476
484
  className: "ProxyResource",
477
- modelProperties: Object.assign({}, Resource.type.modelProperties)
478
- }
485
+ modelProperties: Object.assign({}, Resource.type.modelProperties),
486
+ },
479
487
  };
480
488
  const PrivateZone = {
481
489
  type: {
@@ -484,58 +492,58 @@ const PrivateZone = {
484
492
  modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), { etag: {
485
493
  serializedName: "etag",
486
494
  type: {
487
- name: "String"
488
- }
495
+ name: "String",
496
+ },
489
497
  }, maxNumberOfRecordSets: {
490
498
  serializedName: "properties.maxNumberOfRecordSets",
491
499
  readOnly: true,
492
500
  type: {
493
- name: "Number"
494
- }
501
+ name: "Number",
502
+ },
495
503
  }, numberOfRecordSets: {
496
504
  serializedName: "properties.numberOfRecordSets",
497
505
  readOnly: true,
498
506
  type: {
499
- name: "Number"
500
- }
507
+ name: "Number",
508
+ },
501
509
  }, maxNumberOfVirtualNetworkLinks: {
502
510
  serializedName: "properties.maxNumberOfVirtualNetworkLinks",
503
511
  readOnly: true,
504
512
  type: {
505
- name: "Number"
506
- }
513
+ name: "Number",
514
+ },
507
515
  }, numberOfVirtualNetworkLinks: {
508
516
  serializedName: "properties.numberOfVirtualNetworkLinks",
509
517
  readOnly: true,
510
518
  type: {
511
- name: "Number"
512
- }
519
+ name: "Number",
520
+ },
513
521
  }, maxNumberOfVirtualNetworkLinksWithRegistration: {
514
522
  serializedName: "properties.maxNumberOfVirtualNetworkLinksWithRegistration",
515
523
  readOnly: true,
516
524
  type: {
517
- name: "Number"
518
- }
525
+ name: "Number",
526
+ },
519
527
  }, numberOfVirtualNetworkLinksWithRegistration: {
520
528
  serializedName: "properties.numberOfVirtualNetworkLinksWithRegistration",
521
529
  readOnly: true,
522
530
  type: {
523
- name: "Number"
524
- }
531
+ name: "Number",
532
+ },
525
533
  }, provisioningState: {
526
534
  serializedName: "properties.provisioningState",
527
535
  readOnly: true,
528
536
  type: {
529
- name: "String"
530
- }
537
+ name: "String",
538
+ },
531
539
  }, internalId: {
532
540
  serializedName: "properties.internalId",
533
541
  readOnly: true,
534
542
  type: {
535
- name: "String"
536
- }
537
- } })
538
- }
543
+ name: "String",
544
+ },
545
+ } }),
546
+ },
539
547
  };
540
548
  const VirtualNetworkLink = {
541
549
  type: {
@@ -544,33 +552,38 @@ const VirtualNetworkLink = {
544
552
  modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), { etag: {
545
553
  serializedName: "etag",
546
554
  type: {
547
- name: "String"
548
- }
555
+ name: "String",
556
+ },
549
557
  }, virtualNetwork: {
550
558
  serializedName: "properties.virtualNetwork",
551
559
  type: {
552
560
  name: "Composite",
553
- className: "SubResource"
554
- }
561
+ className: "SubResource",
562
+ },
555
563
  }, registrationEnabled: {
556
564
  serializedName: "properties.registrationEnabled",
557
565
  type: {
558
- name: "Boolean"
559
- }
566
+ name: "Boolean",
567
+ },
568
+ }, resolutionPolicy: {
569
+ serializedName: "properties.resolutionPolicy",
570
+ type: {
571
+ name: "String",
572
+ },
560
573
  }, virtualNetworkLinkState: {
561
574
  serializedName: "properties.virtualNetworkLinkState",
562
575
  readOnly: true,
563
576
  type: {
564
- name: "String"
565
- }
577
+ name: "String",
578
+ },
566
579
  }, provisioningState: {
567
580
  serializedName: "properties.provisioningState",
568
581
  readOnly: true,
569
582
  type: {
570
- name: "String"
571
- }
572
- } })
573
- }
583
+ name: "String",
584
+ },
585
+ } }),
586
+ },
574
587
  };
575
588
  const RecordSet = {
576
589
  type: {
@@ -579,31 +592,31 @@ const RecordSet = {
579
592
  modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { etag: {
580
593
  serializedName: "etag",
581
594
  type: {
582
- name: "String"
583
- }
595
+ name: "String",
596
+ },
584
597
  }, metadata: {
585
598
  serializedName: "properties.metadata",
586
599
  type: {
587
600
  name: "Dictionary",
588
- value: { type: { name: "String" } }
589
- }
601
+ value: { type: { name: "String" } },
602
+ },
590
603
  }, ttl: {
591
604
  serializedName: "properties.ttl",
592
605
  type: {
593
- name: "Number"
594
- }
606
+ name: "Number",
607
+ },
595
608
  }, fqdn: {
596
609
  serializedName: "properties.fqdn",
597
610
  readOnly: true,
598
611
  type: {
599
- name: "String"
600
- }
612
+ name: "String",
613
+ },
601
614
  }, isAutoRegistered: {
602
615
  serializedName: "properties.isAutoRegistered",
603
616
  readOnly: true,
604
617
  type: {
605
- name: "Boolean"
606
- }
618
+ name: "Boolean",
619
+ },
607
620
  }, aRecords: {
608
621
  serializedName: "properties.aRecords",
609
622
  type: {
@@ -611,10 +624,10 @@ const RecordSet = {
611
624
  element: {
612
625
  type: {
613
626
  name: "Composite",
614
- className: "ARecord"
615
- }
616
- }
617
- }
627
+ className: "ARecord",
628
+ },
629
+ },
630
+ },
618
631
  }, aaaaRecords: {
619
632
  serializedName: "properties.aaaaRecords",
620
633
  type: {
@@ -622,16 +635,16 @@ const RecordSet = {
622
635
  element: {
623
636
  type: {
624
637
  name: "Composite",
625
- className: "AaaaRecord"
626
- }
627
- }
628
- }
638
+ className: "AaaaRecord",
639
+ },
640
+ },
641
+ },
629
642
  }, cnameRecord: {
630
643
  serializedName: "properties.cnameRecord",
631
644
  type: {
632
645
  name: "Composite",
633
- className: "CnameRecord"
634
- }
646
+ className: "CnameRecord",
647
+ },
635
648
  }, mxRecords: {
636
649
  serializedName: "properties.mxRecords",
637
650
  type: {
@@ -639,10 +652,10 @@ const RecordSet = {
639
652
  element: {
640
653
  type: {
641
654
  name: "Composite",
642
- className: "MxRecord"
643
- }
644
- }
645
- }
655
+ className: "MxRecord",
656
+ },
657
+ },
658
+ },
646
659
  }, ptrRecords: {
647
660
  serializedName: "properties.ptrRecords",
648
661
  type: {
@@ -650,16 +663,16 @@ const RecordSet = {
650
663
  element: {
651
664
  type: {
652
665
  name: "Composite",
653
- className: "PtrRecord"
654
- }
655
- }
656
- }
666
+ className: "PtrRecord",
667
+ },
668
+ },
669
+ },
657
670
  }, soaRecord: {
658
671
  serializedName: "properties.soaRecord",
659
672
  type: {
660
673
  name: "Composite",
661
- className: "SoaRecord"
662
- }
674
+ className: "SoaRecord",
675
+ },
663
676
  }, srvRecords: {
664
677
  serializedName: "properties.srvRecords",
665
678
  type: {
@@ -667,10 +680,10 @@ const RecordSet = {
667
680
  element: {
668
681
  type: {
669
682
  name: "Composite",
670
- className: "SrvRecord"
671
- }
672
- }
673
- }
683
+ className: "SrvRecord",
684
+ },
685
+ },
686
+ },
674
687
  }, txtRecords: {
675
688
  serializedName: "properties.txtRecords",
676
689
  type: {
@@ -678,12 +691,12 @@ const RecordSet = {
678
691
  element: {
679
692
  type: {
680
693
  name: "Composite",
681
- className: "TxtRecord"
682
- }
683
- }
684
- }
685
- } })
686
- }
694
+ className: "TxtRecord",
695
+ },
696
+ },
697
+ },
698
+ } }),
699
+ },
687
700
  };
688
701
 
689
702
  var Mappers = /*#__PURE__*/Object.freeze({
@@ -724,13 +737,13 @@ const contentType = {
724
737
  isConstant: true,
725
738
  serializedName: "Content-Type",
726
739
  type: {
727
- name: "String"
728
- }
729
- }
740
+ name: "String",
741
+ },
742
+ },
730
743
  };
731
744
  const parameters = {
732
745
  parameterPath: "parameters",
733
- mapper: PrivateZone
746
+ mapper: PrivateZone,
734
747
  };
735
748
  const accept = {
736
749
  parameterPath: "accept",
@@ -739,9 +752,9 @@ const accept = {
739
752
  isConstant: true,
740
753
  serializedName: "Accept",
741
754
  type: {
742
- name: "String"
743
- }
744
- }
755
+ name: "String",
756
+ },
757
+ },
745
758
  };
746
759
  const $host = {
747
760
  parameterPath: "$host",
@@ -749,10 +762,10 @@ const $host = {
749
762
  serializedName: "$host",
750
763
  required: true,
751
764
  type: {
752
- name: "String"
753
- }
765
+ name: "String",
766
+ },
754
767
  },
755
- skipEncoding: true
768
+ skipEncoding: true,
756
769
  };
757
770
  const resourceGroupName = {
758
771
  parameterPath: "resourceGroupName",
@@ -760,9 +773,9 @@ const resourceGroupName = {
760
773
  serializedName: "resourceGroupName",
761
774
  required: true,
762
775
  type: {
763
- name: "String"
764
- }
765
- }
776
+ name: "String",
777
+ },
778
+ },
766
779
  };
767
780
  const privateZoneName = {
768
781
  parameterPath: "privateZoneName",
@@ -770,38 +783,38 @@ const privateZoneName = {
770
783
  serializedName: "privateZoneName",
771
784
  required: true,
772
785
  type: {
773
- name: "String"
774
- }
775
- }
786
+ name: "String",
787
+ },
788
+ },
776
789
  };
777
790
  const ifMatch = {
778
791
  parameterPath: ["options", "ifMatch"],
779
792
  mapper: {
780
793
  serializedName: "If-Match",
781
794
  type: {
782
- name: "String"
783
- }
784
- }
795
+ name: "String",
796
+ },
797
+ },
785
798
  };
786
799
  const ifNoneMatch = {
787
800
  parameterPath: ["options", "ifNoneMatch"],
788
801
  mapper: {
789
802
  serializedName: "If-None-Match",
790
803
  type: {
791
- name: "String"
792
- }
793
- }
804
+ name: "String",
805
+ },
806
+ },
794
807
  };
795
808
  const apiVersion = {
796
809
  parameterPath: "apiVersion",
797
810
  mapper: {
798
- defaultValue: "2020-06-01",
811
+ defaultValue: "2024-06-01",
799
812
  isConstant: true,
800
813
  serializedName: "api-version",
801
814
  type: {
802
- name: "String"
803
- }
804
- }
815
+ name: "String",
816
+ },
817
+ },
805
818
  };
806
819
  const subscriptionId = {
807
820
  parameterPath: "subscriptionId",
@@ -809,18 +822,18 @@ const subscriptionId = {
809
822
  serializedName: "subscriptionId",
810
823
  required: true,
811
824
  type: {
812
- name: "String"
813
- }
814
- }
825
+ name: "String",
826
+ },
827
+ },
815
828
  };
816
829
  const top = {
817
830
  parameterPath: ["options", "top"],
818
831
  mapper: {
819
832
  serializedName: "$top",
820
833
  type: {
821
- name: "Number"
822
- }
823
- }
834
+ name: "Number",
835
+ },
836
+ },
824
837
  };
825
838
  const nextLink = {
826
839
  parameterPath: "nextLink",
@@ -828,14 +841,14 @@ const nextLink = {
828
841
  serializedName: "nextLink",
829
842
  required: true,
830
843
  type: {
831
- name: "String"
832
- }
844
+ name: "String",
845
+ },
833
846
  },
834
- skipEncoding: true
847
+ skipEncoding: true,
835
848
  };
836
849
  const parameters1 = {
837
850
  parameterPath: "parameters",
838
- mapper: VirtualNetworkLink
851
+ mapper: VirtualNetworkLink,
839
852
  };
840
853
  const virtualNetworkLinkName = {
841
854
  parameterPath: "virtualNetworkLinkName",
@@ -843,13 +856,13 @@ const virtualNetworkLinkName = {
843
856
  serializedName: "virtualNetworkLinkName",
844
857
  required: true,
845
858
  type: {
846
- name: "String"
847
- }
848
- }
859
+ name: "String",
860
+ },
861
+ },
849
862
  };
850
863
  const parameters2 = {
851
864
  parameterPath: "parameters",
852
- mapper: RecordSet
865
+ mapper: RecordSet,
853
866
  };
854
867
  const recordType = {
855
868
  parameterPath: "recordType",
@@ -858,9 +871,9 @@ const recordType = {
858
871
  required: true,
859
872
  type: {
860
873
  name: "Enum",
861
- allowedValues: ["A", "AAAA", "CNAME", "MX", "PTR", "SOA", "SRV", "TXT"]
862
- }
863
- }
874
+ allowedValues: ["A", "AAAA", "CNAME", "MX", "PTR", "SOA", "SRV", "TXT"],
875
+ },
876
+ },
864
877
  };
865
878
  const relativeRecordSetName = {
866
879
  parameterPath: "relativeRecordSetName",
@@ -868,19 +881,19 @@ const relativeRecordSetName = {
868
881
  serializedName: "relativeRecordSetName",
869
882
  required: true,
870
883
  type: {
871
- name: "String"
872
- }
884
+ name: "String",
885
+ },
873
886
  },
874
- skipEncoding: true
887
+ skipEncoding: true,
875
888
  };
876
889
  const recordsetnamesuffix = {
877
890
  parameterPath: ["options", "recordsetnamesuffix"],
878
891
  mapper: {
879
892
  serializedName: "$recordsetnamesuffix",
880
893
  type: {
881
- name: "String"
882
- }
883
- }
894
+ name: "String",
895
+ },
896
+ },
884
897
  };
885
898
 
886
899
  /*
@@ -899,7 +912,7 @@ function createLroSpec(inputs) {
899
912
  sendPollRequest: (path, options) => {
900
913
  const restSpec = tslib.__rest(spec, ["requestBody"]);
901
914
  return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
902
- }
915
+ },
903
916
  };
904
917
  }
905
918
 
@@ -938,7 +951,7 @@ class PrivateZonesImpl {
938
951
  throw new Error("maxPageSize is not supported by this operation.");
939
952
  }
940
953
  return this.listPagingPage(options, settings);
941
- }
954
+ },
942
955
  };
943
956
  }
944
957
  listPagingPage(options, settings) {
@@ -1000,7 +1013,7 @@ class PrivateZonesImpl {
1000
1013
  throw new Error("maxPageSize is not supported by this operation.");
1001
1014
  }
1002
1015
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
1003
- }
1016
+ },
1004
1017
  };
1005
1018
  }
1006
1019
  listByResourceGroupPagingPage(resourceGroupName, options, settings) {
@@ -1071,18 +1084,18 @@ class PrivateZonesImpl {
1071
1084
  rawResponse: {
1072
1085
  statusCode: currentRawResponse.status,
1073
1086
  body: currentRawResponse.parsedBody,
1074
- headers: currentRawResponse.headers.toJSON()
1075
- }
1087
+ headers: currentRawResponse.headers.toJSON(),
1088
+ },
1076
1089
  };
1077
1090
  });
1078
1091
  const lro = createLroSpec({
1079
1092
  sendOperationFn,
1080
1093
  args: { resourceGroupName, privateZoneName, parameters, options },
1081
- spec: createOrUpdateOperationSpec$2
1094
+ spec: createOrUpdateOperationSpec$2,
1082
1095
  });
1083
1096
  const poller = yield coreLro.createHttpPoller(lro, {
1084
1097
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1085
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
1098
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1086
1099
  });
1087
1100
  yield poller.poll();
1088
1101
  return poller;
@@ -1129,18 +1142,18 @@ class PrivateZonesImpl {
1129
1142
  rawResponse: {
1130
1143
  statusCode: currentRawResponse.status,
1131
1144
  body: currentRawResponse.parsedBody,
1132
- headers: currentRawResponse.headers.toJSON()
1133
- }
1145
+ headers: currentRawResponse.headers.toJSON(),
1146
+ },
1134
1147
  };
1135
1148
  });
1136
1149
  const lro = createLroSpec({
1137
1150
  sendOperationFn,
1138
1151
  args: { resourceGroupName, privateZoneName, parameters, options },
1139
- spec: updateOperationSpec$2
1152
+ spec: updateOperationSpec$2,
1140
1153
  });
1141
1154
  const poller = yield coreLro.createHttpPoller(lro, {
1142
1155
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1143
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
1156
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1144
1157
  });
1145
1158
  yield poller.poll();
1146
1159
  return poller;
@@ -1187,18 +1200,18 @@ class PrivateZonesImpl {
1187
1200
  rawResponse: {
1188
1201
  statusCode: currentRawResponse.status,
1189
1202
  body: currentRawResponse.parsedBody,
1190
- headers: currentRawResponse.headers.toJSON()
1191
- }
1203
+ headers: currentRawResponse.headers.toJSON(),
1204
+ },
1192
1205
  };
1193
1206
  });
1194
1207
  const lro = createLroSpec({
1195
1208
  sendOperationFn,
1196
1209
  args: { resourceGroupName, privateZoneName, options },
1197
- spec: deleteOperationSpec$2
1210
+ spec: deleteOperationSpec$2,
1198
1211
  });
1199
1212
  const poller = yield coreLro.createHttpPoller(lro, {
1200
1213
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1201
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
1214
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1202
1215
  });
1203
1216
  yield poller.poll();
1204
1217
  return poller;
@@ -1268,20 +1281,20 @@ const createOrUpdateOperationSpec$2 = {
1268
1281
  httpMethod: "PUT",
1269
1282
  responses: {
1270
1283
  200: {
1271
- bodyMapper: PrivateZone
1284
+ bodyMapper: PrivateZone,
1272
1285
  },
1273
1286
  201: {
1274
- bodyMapper: PrivateZone
1287
+ bodyMapper: PrivateZone,
1275
1288
  },
1276
1289
  202: {
1277
- bodyMapper: PrivateZone
1290
+ bodyMapper: PrivateZone,
1278
1291
  },
1279
1292
  204: {
1280
- bodyMapper: PrivateZone
1293
+ bodyMapper: PrivateZone,
1281
1294
  },
1282
1295
  default: {
1283
- bodyMapper: CloudError
1284
- }
1296
+ bodyMapper: CloudError,
1297
+ },
1285
1298
  },
1286
1299
  requestBody: parameters,
1287
1300
  queryParameters: [apiVersion],
@@ -1289,36 +1302,36 @@ const createOrUpdateOperationSpec$2 = {
1289
1302
  $host,
1290
1303
  resourceGroupName,
1291
1304
  privateZoneName,
1292
- subscriptionId
1305
+ subscriptionId,
1293
1306
  ],
1294
1307
  headerParameters: [
1295
1308
  contentType,
1296
1309
  accept,
1297
1310
  ifMatch,
1298
- ifNoneMatch
1311
+ ifNoneMatch,
1299
1312
  ],
1300
1313
  mediaType: "json",
1301
- serializer: serializer$2
1314
+ serializer: serializer$2,
1302
1315
  };
1303
1316
  const updateOperationSpec$2 = {
1304
1317
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}",
1305
1318
  httpMethod: "PATCH",
1306
1319
  responses: {
1307
1320
  200: {
1308
- bodyMapper: PrivateZone
1321
+ bodyMapper: PrivateZone,
1309
1322
  },
1310
1323
  201: {
1311
- bodyMapper: PrivateZone
1324
+ bodyMapper: PrivateZone,
1312
1325
  },
1313
1326
  202: {
1314
- bodyMapper: PrivateZone
1327
+ bodyMapper: PrivateZone,
1315
1328
  },
1316
1329
  204: {
1317
- bodyMapper: PrivateZone
1330
+ bodyMapper: PrivateZone,
1318
1331
  },
1319
1332
  default: {
1320
- bodyMapper: CloudError
1321
- }
1333
+ bodyMapper: CloudError,
1334
+ },
1322
1335
  },
1323
1336
  requestBody: parameters,
1324
1337
  queryParameters: [apiVersion],
@@ -1326,15 +1339,15 @@ const updateOperationSpec$2 = {
1326
1339
  $host,
1327
1340
  resourceGroupName,
1328
1341
  privateZoneName,
1329
- subscriptionId
1342
+ subscriptionId,
1330
1343
  ],
1331
1344
  headerParameters: [
1332
1345
  contentType,
1333
1346
  accept,
1334
- ifMatch
1347
+ ifMatch,
1335
1348
  ],
1336
1349
  mediaType: "json",
1337
- serializer: serializer$2
1350
+ serializer: serializer$2,
1338
1351
  };
1339
1352
  const deleteOperationSpec$2 = {
1340
1353
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}",
@@ -1345,114 +1358,114 @@ const deleteOperationSpec$2 = {
1345
1358
  202: {},
1346
1359
  204: {},
1347
1360
  default: {
1348
- bodyMapper: CloudError
1349
- }
1361
+ bodyMapper: CloudError,
1362
+ },
1350
1363
  },
1351
1364
  queryParameters: [apiVersion],
1352
1365
  urlParameters: [
1353
1366
  $host,
1354
1367
  resourceGroupName,
1355
1368
  privateZoneName,
1356
- subscriptionId
1369
+ subscriptionId,
1357
1370
  ],
1358
1371
  headerParameters: [accept, ifMatch],
1359
- serializer: serializer$2
1372
+ serializer: serializer$2,
1360
1373
  };
1361
1374
  const getOperationSpec$2 = {
1362
1375
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}",
1363
1376
  httpMethod: "GET",
1364
1377
  responses: {
1365
1378
  200: {
1366
- bodyMapper: PrivateZone
1379
+ bodyMapper: PrivateZone,
1367
1380
  },
1368
1381
  default: {
1369
- bodyMapper: CloudError
1370
- }
1382
+ bodyMapper: CloudError,
1383
+ },
1371
1384
  },
1372
1385
  queryParameters: [apiVersion],
1373
1386
  urlParameters: [
1374
1387
  $host,
1375
1388
  resourceGroupName,
1376
1389
  privateZoneName,
1377
- subscriptionId
1390
+ subscriptionId,
1378
1391
  ],
1379
1392
  headerParameters: [accept],
1380
- serializer: serializer$2
1393
+ serializer: serializer$2,
1381
1394
  };
1382
1395
  const listOperationSpec$2 = {
1383
1396
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateDnsZones",
1384
1397
  httpMethod: "GET",
1385
1398
  responses: {
1386
1399
  200: {
1387
- bodyMapper: PrivateZoneListResult
1400
+ bodyMapper: PrivateZoneListResult,
1388
1401
  },
1389
1402
  default: {
1390
- bodyMapper: CloudError
1391
- }
1403
+ bodyMapper: CloudError,
1404
+ },
1392
1405
  },
1393
1406
  queryParameters: [apiVersion, top],
1394
1407
  urlParameters: [$host, subscriptionId],
1395
1408
  headerParameters: [accept],
1396
- serializer: serializer$2
1409
+ serializer: serializer$2,
1397
1410
  };
1398
1411
  const listByResourceGroupOperationSpec = {
1399
1412
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones",
1400
1413
  httpMethod: "GET",
1401
1414
  responses: {
1402
1415
  200: {
1403
- bodyMapper: PrivateZoneListResult
1416
+ bodyMapper: PrivateZoneListResult,
1404
1417
  },
1405
1418
  default: {
1406
- bodyMapper: CloudError
1407
- }
1419
+ bodyMapper: CloudError,
1420
+ },
1408
1421
  },
1409
1422
  queryParameters: [apiVersion, top],
1410
1423
  urlParameters: [
1411
1424
  $host,
1412
1425
  resourceGroupName,
1413
- subscriptionId
1426
+ subscriptionId,
1414
1427
  ],
1415
1428
  headerParameters: [accept],
1416
- serializer: serializer$2
1429
+ serializer: serializer$2,
1417
1430
  };
1418
1431
  const listNextOperationSpec$2 = {
1419
1432
  path: "{nextLink}",
1420
1433
  httpMethod: "GET",
1421
1434
  responses: {
1422
1435
  200: {
1423
- bodyMapper: PrivateZoneListResult
1436
+ bodyMapper: PrivateZoneListResult,
1424
1437
  },
1425
1438
  default: {
1426
- bodyMapper: CloudError
1427
- }
1439
+ bodyMapper: CloudError,
1440
+ },
1428
1441
  },
1429
1442
  urlParameters: [
1430
1443
  $host,
1431
1444
  subscriptionId,
1432
- nextLink
1445
+ nextLink,
1433
1446
  ],
1434
1447
  headerParameters: [accept],
1435
- serializer: serializer$2
1448
+ serializer: serializer$2,
1436
1449
  };
1437
1450
  const listByResourceGroupNextOperationSpec = {
1438
1451
  path: "{nextLink}",
1439
1452
  httpMethod: "GET",
1440
1453
  responses: {
1441
1454
  200: {
1442
- bodyMapper: PrivateZoneListResult
1455
+ bodyMapper: PrivateZoneListResult,
1443
1456
  },
1444
1457
  default: {
1445
- bodyMapper: CloudError
1446
- }
1458
+ bodyMapper: CloudError,
1459
+ },
1447
1460
  },
1448
1461
  urlParameters: [
1449
1462
  $host,
1450
1463
  resourceGroupName,
1451
1464
  subscriptionId,
1452
- nextLink
1465
+ nextLink,
1453
1466
  ],
1454
1467
  headerParameters: [accept],
1455
- serializer: serializer$2
1468
+ serializer: serializer$2,
1456
1469
  };
1457
1470
 
1458
1471
  /*
@@ -1492,7 +1505,7 @@ class VirtualNetworkLinksImpl {
1492
1505
  throw new Error("maxPageSize is not supported by this operation.");
1493
1506
  }
1494
1507
  return this.listPagingPage(resourceGroupName, privateZoneName, options, settings);
1495
- }
1508
+ },
1496
1509
  };
1497
1510
  }
1498
1511
  listPagingPage(resourceGroupName, privateZoneName, options, settings) {
@@ -1563,8 +1576,8 @@ class VirtualNetworkLinksImpl {
1563
1576
  rawResponse: {
1564
1577
  statusCode: currentRawResponse.status,
1565
1578
  body: currentRawResponse.parsedBody,
1566
- headers: currentRawResponse.headers.toJSON()
1567
- }
1579
+ headers: currentRawResponse.headers.toJSON(),
1580
+ },
1568
1581
  };
1569
1582
  });
1570
1583
  const lro = createLroSpec({
@@ -1574,13 +1587,13 @@ class VirtualNetworkLinksImpl {
1574
1587
  privateZoneName,
1575
1588
  virtualNetworkLinkName,
1576
1589
  parameters,
1577
- options
1590
+ options,
1578
1591
  },
1579
- spec: createOrUpdateOperationSpec$1
1592
+ spec: createOrUpdateOperationSpec$1,
1580
1593
  });
1581
1594
  const poller = yield coreLro.createHttpPoller(lro, {
1582
1595
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1583
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
1596
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1584
1597
  });
1585
1598
  yield poller.poll();
1586
1599
  return poller;
@@ -1628,8 +1641,8 @@ class VirtualNetworkLinksImpl {
1628
1641
  rawResponse: {
1629
1642
  statusCode: currentRawResponse.status,
1630
1643
  body: currentRawResponse.parsedBody,
1631
- headers: currentRawResponse.headers.toJSON()
1632
- }
1644
+ headers: currentRawResponse.headers.toJSON(),
1645
+ },
1633
1646
  };
1634
1647
  });
1635
1648
  const lro = createLroSpec({
@@ -1639,13 +1652,13 @@ class VirtualNetworkLinksImpl {
1639
1652
  privateZoneName,
1640
1653
  virtualNetworkLinkName,
1641
1654
  parameters,
1642
- options
1655
+ options,
1643
1656
  },
1644
- spec: updateOperationSpec$1
1657
+ spec: updateOperationSpec$1,
1645
1658
  });
1646
1659
  const poller = yield coreLro.createHttpPoller(lro, {
1647
1660
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1648
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
1661
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1649
1662
  });
1650
1663
  yield poller.poll();
1651
1664
  return poller;
@@ -1694,8 +1707,8 @@ class VirtualNetworkLinksImpl {
1694
1707
  rawResponse: {
1695
1708
  statusCode: currentRawResponse.status,
1696
1709
  body: currentRawResponse.parsedBody,
1697
- headers: currentRawResponse.headers.toJSON()
1698
- }
1710
+ headers: currentRawResponse.headers.toJSON(),
1711
+ },
1699
1712
  };
1700
1713
  });
1701
1714
  const lro = createLroSpec({
@@ -1704,13 +1717,13 @@ class VirtualNetworkLinksImpl {
1704
1717
  resourceGroupName,
1705
1718
  privateZoneName,
1706
1719
  virtualNetworkLinkName,
1707
- options
1720
+ options,
1708
1721
  },
1709
- spec: deleteOperationSpec$1
1722
+ spec: deleteOperationSpec$1,
1710
1723
  });
1711
1724
  const poller = yield coreLro.createHttpPoller(lro, {
1712
1725
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1713
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
1726
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
1714
1727
  });
1715
1728
  yield poller.poll();
1716
1729
  return poller;
@@ -1768,20 +1781,20 @@ const createOrUpdateOperationSpec$1 = {
1768
1781
  httpMethod: "PUT",
1769
1782
  responses: {
1770
1783
  200: {
1771
- bodyMapper: VirtualNetworkLink
1784
+ bodyMapper: VirtualNetworkLink,
1772
1785
  },
1773
1786
  201: {
1774
- bodyMapper: VirtualNetworkLink
1787
+ bodyMapper: VirtualNetworkLink,
1775
1788
  },
1776
1789
  202: {
1777
- bodyMapper: VirtualNetworkLink
1790
+ bodyMapper: VirtualNetworkLink,
1778
1791
  },
1779
1792
  204: {
1780
- bodyMapper: VirtualNetworkLink
1793
+ bodyMapper: VirtualNetworkLink,
1781
1794
  },
1782
1795
  default: {
1783
- bodyMapper: CloudError
1784
- }
1796
+ bodyMapper: CloudError,
1797
+ },
1785
1798
  },
1786
1799
  requestBody: parameters1,
1787
1800
  queryParameters: [apiVersion],
@@ -1790,36 +1803,36 @@ const createOrUpdateOperationSpec$1 = {
1790
1803
  resourceGroupName,
1791
1804
  privateZoneName,
1792
1805
  subscriptionId,
1793
- virtualNetworkLinkName
1806
+ virtualNetworkLinkName,
1794
1807
  ],
1795
1808
  headerParameters: [
1796
1809
  contentType,
1797
1810
  accept,
1798
1811
  ifMatch,
1799
- ifNoneMatch
1812
+ ifNoneMatch,
1800
1813
  ],
1801
1814
  mediaType: "json",
1802
- serializer: serializer$1
1815
+ serializer: serializer$1,
1803
1816
  };
1804
1817
  const updateOperationSpec$1 = {
1805
1818
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/virtualNetworkLinks/{virtualNetworkLinkName}",
1806
1819
  httpMethod: "PATCH",
1807
1820
  responses: {
1808
1821
  200: {
1809
- bodyMapper: VirtualNetworkLink
1822
+ bodyMapper: VirtualNetworkLink,
1810
1823
  },
1811
1824
  201: {
1812
- bodyMapper: VirtualNetworkLink
1825
+ bodyMapper: VirtualNetworkLink,
1813
1826
  },
1814
1827
  202: {
1815
- bodyMapper: VirtualNetworkLink
1828
+ bodyMapper: VirtualNetworkLink,
1816
1829
  },
1817
1830
  204: {
1818
- bodyMapper: VirtualNetworkLink
1831
+ bodyMapper: VirtualNetworkLink,
1819
1832
  },
1820
1833
  default: {
1821
- bodyMapper: CloudError
1822
- }
1834
+ bodyMapper: CloudError,
1835
+ },
1823
1836
  },
1824
1837
  requestBody: parameters1,
1825
1838
  queryParameters: [apiVersion],
@@ -1828,15 +1841,15 @@ const updateOperationSpec$1 = {
1828
1841
  resourceGroupName,
1829
1842
  privateZoneName,
1830
1843
  subscriptionId,
1831
- virtualNetworkLinkName
1844
+ virtualNetworkLinkName,
1832
1845
  ],
1833
1846
  headerParameters: [
1834
1847
  contentType,
1835
1848
  accept,
1836
- ifMatch
1849
+ ifMatch,
1837
1850
  ],
1838
1851
  mediaType: "json",
1839
- serializer: serializer$1
1852
+ serializer: serializer$1,
1840
1853
  };
1841
1854
  const deleteOperationSpec$1 = {
1842
1855
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/virtualNetworkLinks/{virtualNetworkLinkName}",
@@ -1847,8 +1860,8 @@ const deleteOperationSpec$1 = {
1847
1860
  202: {},
1848
1861
  204: {},
1849
1862
  default: {
1850
- bodyMapper: CloudError
1851
- }
1863
+ bodyMapper: CloudError,
1864
+ },
1852
1865
  },
1853
1866
  queryParameters: [apiVersion],
1854
1867
  urlParameters: [
@@ -1856,21 +1869,21 @@ const deleteOperationSpec$1 = {
1856
1869
  resourceGroupName,
1857
1870
  privateZoneName,
1858
1871
  subscriptionId,
1859
- virtualNetworkLinkName
1872
+ virtualNetworkLinkName,
1860
1873
  ],
1861
1874
  headerParameters: [accept, ifMatch],
1862
- serializer: serializer$1
1875
+ serializer: serializer$1,
1863
1876
  };
1864
1877
  const getOperationSpec$1 = {
1865
1878
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/virtualNetworkLinks/{virtualNetworkLinkName}",
1866
1879
  httpMethod: "GET",
1867
1880
  responses: {
1868
1881
  200: {
1869
- bodyMapper: VirtualNetworkLink
1882
+ bodyMapper: VirtualNetworkLink,
1870
1883
  },
1871
1884
  default: {
1872
- bodyMapper: CloudError
1873
- }
1885
+ bodyMapper: CloudError,
1886
+ },
1874
1887
  },
1875
1888
  queryParameters: [apiVersion],
1876
1889
  urlParameters: [
@@ -1878,52 +1891,52 @@ const getOperationSpec$1 = {
1878
1891
  resourceGroupName,
1879
1892
  privateZoneName,
1880
1893
  subscriptionId,
1881
- virtualNetworkLinkName
1894
+ virtualNetworkLinkName,
1882
1895
  ],
1883
1896
  headerParameters: [accept],
1884
- serializer: serializer$1
1897
+ serializer: serializer$1,
1885
1898
  };
1886
1899
  const listOperationSpec$1 = {
1887
1900
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/virtualNetworkLinks",
1888
1901
  httpMethod: "GET",
1889
1902
  responses: {
1890
1903
  200: {
1891
- bodyMapper: VirtualNetworkLinkListResult
1904
+ bodyMapper: VirtualNetworkLinkListResult,
1892
1905
  },
1893
1906
  default: {
1894
- bodyMapper: CloudError
1895
- }
1907
+ bodyMapper: CloudError,
1908
+ },
1896
1909
  },
1897
1910
  queryParameters: [apiVersion, top],
1898
1911
  urlParameters: [
1899
1912
  $host,
1900
1913
  resourceGroupName,
1901
1914
  privateZoneName,
1902
- subscriptionId
1915
+ subscriptionId,
1903
1916
  ],
1904
1917
  headerParameters: [accept],
1905
- serializer: serializer$1
1918
+ serializer: serializer$1,
1906
1919
  };
1907
1920
  const listNextOperationSpec$1 = {
1908
1921
  path: "{nextLink}",
1909
1922
  httpMethod: "GET",
1910
1923
  responses: {
1911
1924
  200: {
1912
- bodyMapper: VirtualNetworkLinkListResult
1925
+ bodyMapper: VirtualNetworkLinkListResult,
1913
1926
  },
1914
1927
  default: {
1915
- bodyMapper: CloudError
1916
- }
1928
+ bodyMapper: CloudError,
1929
+ },
1917
1930
  },
1918
1931
  urlParameters: [
1919
1932
  $host,
1920
1933
  resourceGroupName,
1921
1934
  privateZoneName,
1922
1935
  subscriptionId,
1923
- nextLink
1936
+ nextLink,
1924
1937
  ],
1925
1938
  headerParameters: [accept],
1926
- serializer: serializer$1
1939
+ serializer: serializer$1,
1927
1940
  };
1928
1941
 
1929
1942
  /*
@@ -1964,7 +1977,7 @@ class RecordSetsImpl {
1964
1977
  throw new Error("maxPageSize is not supported by this operation.");
1965
1978
  }
1966
1979
  return this.listByTypePagingPage(resourceGroupName, privateZoneName, recordType, options, settings);
1967
- }
1980
+ },
1968
1981
  };
1969
1982
  }
1970
1983
  listByTypePagingPage(resourceGroupName, privateZoneName, recordType, options, settings) {
@@ -2027,7 +2040,7 @@ class RecordSetsImpl {
2027
2040
  throw new Error("maxPageSize is not supported by this operation.");
2028
2041
  }
2029
2042
  return this.listPagingPage(resourceGroupName, privateZoneName, options, settings);
2030
- }
2043
+ },
2031
2044
  };
2032
2045
  }
2033
2046
  listPagingPage(resourceGroupName, privateZoneName, options, settings) {
@@ -2087,7 +2100,7 @@ class RecordSetsImpl {
2087
2100
  recordType,
2088
2101
  relativeRecordSetName,
2089
2102
  parameters,
2090
- options
2103
+ options,
2091
2104
  }, createOrUpdateOperationSpec);
2092
2105
  }
2093
2106
  /**
@@ -2106,7 +2119,7 @@ class RecordSetsImpl {
2106
2119
  recordType,
2107
2120
  relativeRecordSetName,
2108
2121
  parameters,
2109
- options
2122
+ options,
2110
2123
  }, updateOperationSpec);
2111
2124
  }
2112
2125
  /**
@@ -2124,7 +2137,7 @@ class RecordSetsImpl {
2124
2137
  privateZoneName,
2125
2138
  recordType,
2126
2139
  relativeRecordSetName,
2127
- options
2140
+ options,
2128
2141
  }, deleteOperationSpec);
2129
2142
  }
2130
2143
  /**
@@ -2141,7 +2154,7 @@ class RecordSetsImpl {
2141
2154
  privateZoneName,
2142
2155
  recordType,
2143
2156
  relativeRecordSetName,
2144
- options
2157
+ options,
2145
2158
  }, getOperationSpec);
2146
2159
  }
2147
2160
  /**
@@ -2192,14 +2205,14 @@ const createOrUpdateOperationSpec = {
2192
2205
  httpMethod: "PUT",
2193
2206
  responses: {
2194
2207
  200: {
2195
- bodyMapper: RecordSet
2208
+ bodyMapper: RecordSet,
2196
2209
  },
2197
2210
  201: {
2198
- bodyMapper: RecordSet
2211
+ bodyMapper: RecordSet,
2199
2212
  },
2200
2213
  default: {
2201
- bodyMapper: CloudError
2202
- }
2214
+ bodyMapper: CloudError,
2215
+ },
2203
2216
  },
2204
2217
  requestBody: parameters2,
2205
2218
  queryParameters: [apiVersion],
@@ -2209,27 +2222,27 @@ const createOrUpdateOperationSpec = {
2209
2222
  privateZoneName,
2210
2223
  subscriptionId,
2211
2224
  recordType,
2212
- relativeRecordSetName
2225
+ relativeRecordSetName,
2213
2226
  ],
2214
2227
  headerParameters: [
2215
2228
  contentType,
2216
2229
  accept,
2217
2230
  ifMatch,
2218
- ifNoneMatch
2231
+ ifNoneMatch,
2219
2232
  ],
2220
2233
  mediaType: "json",
2221
- serializer
2234
+ serializer,
2222
2235
  };
2223
2236
  const updateOperationSpec = {
2224
2237
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}/{relativeRecordSetName}",
2225
2238
  httpMethod: "PATCH",
2226
2239
  responses: {
2227
2240
  200: {
2228
- bodyMapper: RecordSet
2241
+ bodyMapper: RecordSet,
2229
2242
  },
2230
2243
  default: {
2231
- bodyMapper: CloudError
2232
- }
2244
+ bodyMapper: CloudError,
2245
+ },
2233
2246
  },
2234
2247
  requestBody: parameters2,
2235
2248
  queryParameters: [apiVersion],
@@ -2239,15 +2252,15 @@ const updateOperationSpec = {
2239
2252
  privateZoneName,
2240
2253
  subscriptionId,
2241
2254
  recordType,
2242
- relativeRecordSetName
2255
+ relativeRecordSetName,
2243
2256
  ],
2244
2257
  headerParameters: [
2245
2258
  contentType,
2246
2259
  accept,
2247
- ifMatch
2260
+ ifMatch,
2248
2261
  ],
2249
2262
  mediaType: "json",
2250
- serializer
2263
+ serializer,
2251
2264
  };
2252
2265
  const deleteOperationSpec = {
2253
2266
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}/{relativeRecordSetName}",
@@ -2256,8 +2269,8 @@ const deleteOperationSpec = {
2256
2269
  200: {},
2257
2270
  204: {},
2258
2271
  default: {
2259
- bodyMapper: CloudError
2260
- }
2272
+ bodyMapper: CloudError,
2273
+ },
2261
2274
  },
2262
2275
  queryParameters: [apiVersion],
2263
2276
  urlParameters: [
@@ -2266,21 +2279,21 @@ const deleteOperationSpec = {
2266
2279
  privateZoneName,
2267
2280
  subscriptionId,
2268
2281
  recordType,
2269
- relativeRecordSetName
2282
+ relativeRecordSetName,
2270
2283
  ],
2271
2284
  headerParameters: [accept, ifMatch],
2272
- serializer
2285
+ serializer,
2273
2286
  };
2274
2287
  const getOperationSpec = {
2275
2288
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}/{relativeRecordSetName}",
2276
2289
  httpMethod: "GET",
2277
2290
  responses: {
2278
2291
  200: {
2279
- bodyMapper: RecordSet
2292
+ bodyMapper: RecordSet,
2280
2293
  },
2281
2294
  default: {
2282
- bodyMapper: CloudError
2283
- }
2295
+ bodyMapper: CloudError,
2296
+ },
2284
2297
  },
2285
2298
  queryParameters: [apiVersion],
2286
2299
  urlParameters: [
@@ -2289,72 +2302,72 @@ const getOperationSpec = {
2289
2302
  privateZoneName,
2290
2303
  subscriptionId,
2291
2304
  recordType,
2292
- relativeRecordSetName
2305
+ relativeRecordSetName,
2293
2306
  ],
2294
2307
  headerParameters: [accept],
2295
- serializer
2308
+ serializer,
2296
2309
  };
2297
2310
  const listByTypeOperationSpec = {
2298
2311
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}",
2299
2312
  httpMethod: "GET",
2300
2313
  responses: {
2301
2314
  200: {
2302
- bodyMapper: RecordSetListResult
2315
+ bodyMapper: RecordSetListResult,
2303
2316
  },
2304
2317
  default: {
2305
- bodyMapper: CloudError
2306
- }
2318
+ bodyMapper: CloudError,
2319
+ },
2307
2320
  },
2308
2321
  queryParameters: [
2309
2322
  apiVersion,
2310
2323
  top,
2311
- recordsetnamesuffix
2324
+ recordsetnamesuffix,
2312
2325
  ],
2313
2326
  urlParameters: [
2314
2327
  $host,
2315
2328
  resourceGroupName,
2316
2329
  privateZoneName,
2317
2330
  subscriptionId,
2318
- recordType
2331
+ recordType,
2319
2332
  ],
2320
2333
  headerParameters: [accept],
2321
- serializer
2334
+ serializer,
2322
2335
  };
2323
2336
  const listOperationSpec = {
2324
2337
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/ALL",
2325
2338
  httpMethod: "GET",
2326
2339
  responses: {
2327
2340
  200: {
2328
- bodyMapper: RecordSetListResult
2341
+ bodyMapper: RecordSetListResult,
2329
2342
  },
2330
2343
  default: {
2331
- bodyMapper: CloudError
2332
- }
2344
+ bodyMapper: CloudError,
2345
+ },
2333
2346
  },
2334
2347
  queryParameters: [
2335
2348
  apiVersion,
2336
2349
  top,
2337
- recordsetnamesuffix
2350
+ recordsetnamesuffix,
2338
2351
  ],
2339
2352
  urlParameters: [
2340
2353
  $host,
2341
2354
  resourceGroupName,
2342
2355
  privateZoneName,
2343
- subscriptionId
2356
+ subscriptionId,
2344
2357
  ],
2345
2358
  headerParameters: [accept],
2346
- serializer
2359
+ serializer,
2347
2360
  };
2348
2361
  const listByTypeNextOperationSpec = {
2349
2362
  path: "{nextLink}",
2350
2363
  httpMethod: "GET",
2351
2364
  responses: {
2352
2365
  200: {
2353
- bodyMapper: RecordSetListResult
2366
+ bodyMapper: RecordSetListResult,
2354
2367
  },
2355
2368
  default: {
2356
- bodyMapper: CloudError
2357
- }
2369
+ bodyMapper: CloudError,
2370
+ },
2358
2371
  },
2359
2372
  urlParameters: [
2360
2373
  $host,
@@ -2362,31 +2375,31 @@ const listByTypeNextOperationSpec = {
2362
2375
  privateZoneName,
2363
2376
  subscriptionId,
2364
2377
  nextLink,
2365
- recordType
2378
+ recordType,
2366
2379
  ],
2367
2380
  headerParameters: [accept],
2368
- serializer
2381
+ serializer,
2369
2382
  };
2370
2383
  const listNextOperationSpec = {
2371
2384
  path: "{nextLink}",
2372
2385
  httpMethod: "GET",
2373
2386
  responses: {
2374
2387
  200: {
2375
- bodyMapper: RecordSetListResult
2388
+ bodyMapper: RecordSetListResult,
2376
2389
  },
2377
2390
  default: {
2378
- bodyMapper: CloudError
2379
- }
2391
+ bodyMapper: CloudError,
2392
+ },
2380
2393
  },
2381
2394
  urlParameters: [
2382
2395
  $host,
2383
2396
  resourceGroupName,
2384
2397
  privateZoneName,
2385
2398
  subscriptionId,
2386
- nextLink
2399
+ nextLink,
2387
2400
  ],
2388
2401
  headerParameters: [accept],
2389
- serializer
2402
+ serializer,
2390
2403
  };
2391
2404
 
2392
2405
  /*
@@ -2418,14 +2431,14 @@ class PrivateDnsManagementClient extends coreClient__namespace.ServiceClient {
2418
2431
  }
2419
2432
  const defaults = {
2420
2433
  requestContentType: "application/json; charset=utf-8",
2421
- credential: credentials
2434
+ credential: credentials,
2422
2435
  };
2423
- const packageDetails = `azsdk-js-arm-privatedns/3.2.1`;
2436
+ const packageDetails = `azsdk-js-arm-privatedns/3.3.0`;
2424
2437
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
2425
2438
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
2426
2439
  : `${packageDetails}`;
2427
2440
  const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
2428
- userAgentPrefix
2441
+ userAgentPrefix,
2429
2442
  }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
2430
2443
  super(optionsWithDefaults);
2431
2444
  let bearerTokenAuthenticationPolicyFound = false;
@@ -2439,21 +2452,21 @@ class PrivateDnsManagementClient extends coreClient__namespace.ServiceClient {
2439
2452
  options.pipeline.getOrderedPolicies().length == 0 ||
2440
2453
  !bearerTokenAuthenticationPolicyFound) {
2441
2454
  this.pipeline.removePolicy({
2442
- name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
2455
+ name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName,
2443
2456
  });
2444
2457
  this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
2445
2458
  credential: credentials,
2446
2459
  scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
2447
2460
  challengeCallbacks: {
2448
- authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
2449
- }
2461
+ authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge,
2462
+ },
2450
2463
  }));
2451
2464
  }
2452
2465
  // Parameter assignments
2453
2466
  this.subscriptionId = subscriptionId;
2454
2467
  // Assigning values to Constant parameters
2455
2468
  this.$host = options.$host || "https://management.azure.com";
2456
- this.apiVersion = options.apiVersion || "2020-06-01";
2469
+ this.apiVersion = options.apiVersion || "2024-06-01";
2457
2470
  this.privateZones = new PrivateZonesImpl(this);
2458
2471
  this.virtualNetworkLinks = new VirtualNetworkLinksImpl(this);
2459
2472
  this.recordSets = new RecordSetsImpl(this);
@@ -2482,7 +2495,7 @@ class PrivateDnsManagementClient extends coreClient__namespace.ServiceClient {
2482
2495
  }
2483
2496
  return next(request);
2484
2497
  });
2485
- }
2498
+ },
2486
2499
  };
2487
2500
  this.pipeline.addPolicy(apiVersionPolicy);
2488
2501
  }