@azure/arm-dns-profile-2020-09-01-hybrid 2.1.1-alpha.20250620.1 → 2.1.1-alpha.20250721.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.
- package/dist/browser/dnsManagementClient.js +15 -5
- package/dist/browser/dnsManagementClient.js.map +1 -1
- package/dist/browser/lroImpl.js +11 -3
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/mappers.js +22 -10
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/operations/recordSets.js +45 -79
- package/dist/browser/operations/recordSets.js.map +1 -1
- package/dist/browser/operations/zones.js +56 -85
- package/dist/browser/operations/zones.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/dnsManagementClient.js +15 -5
- package/dist/commonjs/dnsManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.js +11 -3
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/mappers.js +22 -10
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/operations/recordSets.js +45 -78
- package/dist/commonjs/operations/recordSets.js.map +1 -1
- package/dist/commonjs/operations/zones.js +56 -84
- package/dist/commonjs/operations/zones.js.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/dnsManagementClient.js +15 -5
- package/dist/esm/dnsManagementClient.js.map +1 -1
- package/dist/esm/lroImpl.js +11 -3
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/mappers.js +22 -10
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/operations/recordSets.js +45 -79
- package/dist/esm/operations/recordSets.js.map +1 -1
- package/dist/esm/operations/zones.js +56 -85
- package/dist/esm/operations/zones.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/dnsManagementClient.js +15 -5
- package/dist/react-native/dnsManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.js +11 -3
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/mappers.js +22 -10
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/operations/recordSets.js +45 -79
- package/dist/react-native/operations/recordSets.js.map +1 -1
- package/dist/react-native/operations/zones.js +56 -85
- package/dist/react-native/operations/zones.js.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +2 -2
- /package/review/{arm-dns-profile-2020-09-01-hybrid.api.md → arm-dns-profile-2020-09-01-hybrid-node.api.md} +0 -0
package/dist/commonjs/lroImpl.js
CHANGED
|
@@ -8,8 +8,12 @@
|
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.LroImpl = void 0;
|
|
11
|
-
const tslib_1 = require("tslib");
|
|
12
11
|
class LroImpl {
|
|
12
|
+
sendOperationFn;
|
|
13
|
+
args;
|
|
14
|
+
spec;
|
|
15
|
+
requestPath;
|
|
16
|
+
requestMethod;
|
|
13
17
|
constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
|
|
14
18
|
this.sendOperationFn = sendOperationFn;
|
|
15
19
|
this.args = args;
|
|
@@ -21,8 +25,12 @@ class LroImpl {
|
|
|
21
25
|
return this.sendOperationFn(this.args, this.spec);
|
|
22
26
|
}
|
|
23
27
|
async sendPollRequest(path) {
|
|
24
|
-
const
|
|
25
|
-
return this.sendOperationFn(this.args,
|
|
28
|
+
const { requestBody, ...restSpec } = this.spec;
|
|
29
|
+
return this.sendOperationFn(this.args, {
|
|
30
|
+
...restSpec,
|
|
31
|
+
path,
|
|
32
|
+
httpMethod: "GET"
|
|
33
|
+
});
|
|
26
34
|
}
|
|
27
35
|
}
|
|
28
36
|
exports.LroImpl = LroImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAIH,MAAa,OAAO;IAER;IACA;IACA;IAKD;IACA;IATT,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,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC;QAC/C,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE;YACrC,GAAG,QAAQ;YACX,IAAI;YACJ,UAAU,EAAE,KAAK;SAClB,CAAC,CAAC;IACL,CAAC;CACF;AAvBD,0BAuBC","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"]}
|
|
@@ -598,47 +598,57 @@ exports.TrackedResource = {
|
|
|
598
598
|
type: {
|
|
599
599
|
name: "Composite",
|
|
600
600
|
className: "TrackedResource",
|
|
601
|
-
modelProperties:
|
|
601
|
+
modelProperties: {
|
|
602
|
+
...exports.Resource.type.modelProperties,
|
|
603
|
+
tags: {
|
|
602
604
|
serializedName: "tags",
|
|
603
605
|
type: {
|
|
604
606
|
name: "Dictionary",
|
|
605
607
|
value: { type: { name: "String" } }
|
|
606
608
|
}
|
|
607
|
-
},
|
|
609
|
+
},
|
|
610
|
+
location: {
|
|
608
611
|
serializedName: "location",
|
|
609
612
|
required: true,
|
|
610
613
|
type: {
|
|
611
614
|
name: "String"
|
|
612
615
|
}
|
|
613
|
-
}
|
|
616
|
+
}
|
|
617
|
+
}
|
|
614
618
|
}
|
|
615
619
|
};
|
|
616
620
|
exports.Zone = {
|
|
617
621
|
type: {
|
|
618
622
|
name: "Composite",
|
|
619
623
|
className: "Zone",
|
|
620
|
-
modelProperties:
|
|
624
|
+
modelProperties: {
|
|
625
|
+
...exports.TrackedResource.type.modelProperties,
|
|
626
|
+
etag: {
|
|
621
627
|
serializedName: "etag",
|
|
622
628
|
type: {
|
|
623
629
|
name: "String"
|
|
624
630
|
}
|
|
625
|
-
},
|
|
631
|
+
},
|
|
632
|
+
maxNumberOfRecordSets: {
|
|
626
633
|
serializedName: "properties.maxNumberOfRecordSets",
|
|
627
634
|
type: {
|
|
628
635
|
name: "Number"
|
|
629
636
|
}
|
|
630
|
-
},
|
|
637
|
+
},
|
|
638
|
+
maxNumberOfRecordsPerRecordSet: {
|
|
631
639
|
serializedName: "properties.maxNumberOfRecordsPerRecordSet",
|
|
632
640
|
readOnly: true,
|
|
633
641
|
type: {
|
|
634
642
|
name: "Number"
|
|
635
643
|
}
|
|
636
|
-
},
|
|
644
|
+
},
|
|
645
|
+
numberOfRecordSets: {
|
|
637
646
|
serializedName: "properties.numberOfRecordSets",
|
|
638
647
|
type: {
|
|
639
648
|
name: "Number"
|
|
640
649
|
}
|
|
641
|
-
},
|
|
650
|
+
},
|
|
651
|
+
nameServers: {
|
|
642
652
|
serializedName: "properties.nameServers",
|
|
643
653
|
readOnly: true,
|
|
644
654
|
type: {
|
|
@@ -649,14 +659,16 @@ exports.Zone = {
|
|
|
649
659
|
}
|
|
650
660
|
}
|
|
651
661
|
}
|
|
652
|
-
},
|
|
662
|
+
},
|
|
663
|
+
zoneType: {
|
|
653
664
|
defaultValue: "Public",
|
|
654
665
|
serializedName: "properties.zoneType",
|
|
655
666
|
type: {
|
|
656
667
|
name: "Enum",
|
|
657
668
|
allowedValues: ["Public", "Private"]
|
|
658
669
|
}
|
|
659
|
-
}
|
|
670
|
+
}
|
|
671
|
+
}
|
|
660
672
|
}
|
|
661
673
|
};
|
|
662
674
|
//# sourceMappingURL=mappers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAIU,QAAA,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;o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AE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,GACF;KACF;CACF,CAAC;AAEW,QAAA,IAAI,GAA+B;IAC9C,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,MAAM;QACjB,eAAe,kCACV,uBAAe,CAAC,IAAI,CAAC,eAAe,KACvC,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,qBAAqB,EAAE;gBACrB,cAAc,EAAE,kCAAkC;gBAClD,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,8BAA8B,EAAE;gBAC9B,cAAc,EAAE,2CAA2C;gBAC3D,QAAQ,EAAE,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"]}
|
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAIU,QAAA,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;iB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AAI,EAAE,QAAQ;iBACf;aACF;YACD,8BAA8B,EAAE;gBAC9B,cAAc,EAAE,2CAA2C;gBAC3D,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,kBAAkB,EAAE;gBAClB,cAAc,EAAE,+BAA+B;gBAC/C,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,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;YACD,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;SACF;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"]}
|
|
@@ -16,6 +16,7 @@ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
|
16
16
|
/// <reference lib="esnext.asynciterable" />
|
|
17
17
|
/** Class containing RecordSets operations. */
|
|
18
18
|
class RecordSetsImpl {
|
|
19
|
+
client;
|
|
19
20
|
/**
|
|
20
21
|
* Initialize a new instance of the class RecordSets class.
|
|
21
22
|
* @param client Reference to the service client
|
|
@@ -40,52 +41,35 @@ class RecordSetsImpl {
|
|
|
40
41
|
return this;
|
|
41
42
|
},
|
|
42
43
|
byPage: (settings) => {
|
|
43
|
-
if (settings
|
|
44
|
+
if (settings?.maxPageSize) {
|
|
44
45
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
45
46
|
}
|
|
46
47
|
return this.listByTypePagingPage(resourceGroupName, zoneName, recordType, options, settings);
|
|
47
48
|
}
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
|
-
listByTypePagingPage(resourceGroupName, zoneName, recordType, options, settings) {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
});
|
|
51
|
+
async *listByTypePagingPage(resourceGroupName, zoneName, recordType, options, settings) {
|
|
52
|
+
let result;
|
|
53
|
+
let continuationToken = settings?.continuationToken;
|
|
54
|
+
if (!continuationToken) {
|
|
55
|
+
result = await this._listByType(resourceGroupName, zoneName, recordType, options);
|
|
56
|
+
let page = result.value || [];
|
|
57
|
+
continuationToken = result.nextLink;
|
|
58
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
59
|
+
yield page;
|
|
60
|
+
}
|
|
61
|
+
while (continuationToken) {
|
|
62
|
+
result = await this._listByTypeNext(resourceGroupName, zoneName, recordType, continuationToken, options);
|
|
63
|
+
continuationToken = result.nextLink;
|
|
64
|
+
let page = result.value || [];
|
|
65
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
66
|
+
yield page;
|
|
67
|
+
}
|
|
69
68
|
}
|
|
70
|
-
listByTypePagingAll(resourceGroupName, zoneName, recordType, options) {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listByTypePagingPage(resourceGroupName, zoneName, recordType, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
75
|
-
_c = _f.value;
|
|
76
|
-
_d = false;
|
|
77
|
-
const page = _c;
|
|
78
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
82
|
-
finally {
|
|
83
|
-
try {
|
|
84
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
85
|
-
}
|
|
86
|
-
finally { if (e_1) throw e_1.error; }
|
|
87
|
-
}
|
|
88
|
-
});
|
|
69
|
+
async *listByTypePagingAll(resourceGroupName, zoneName, recordType, options) {
|
|
70
|
+
for await (const page of this.listByTypePagingPage(resourceGroupName, zoneName, recordType, options)) {
|
|
71
|
+
yield* page;
|
|
72
|
+
}
|
|
89
73
|
}
|
|
90
74
|
/**
|
|
91
75
|
* Lists all record sets in a DNS zone.
|
|
@@ -103,52 +87,35 @@ class RecordSetsImpl {
|
|
|
103
87
|
return this;
|
|
104
88
|
},
|
|
105
89
|
byPage: (settings) => {
|
|
106
|
-
if (settings
|
|
90
|
+
if (settings?.maxPageSize) {
|
|
107
91
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
108
92
|
}
|
|
109
93
|
return this.listByDnsZonePagingPage(resourceGroupName, zoneName, options, settings);
|
|
110
94
|
}
|
|
111
95
|
};
|
|
112
96
|
}
|
|
113
|
-
listByDnsZonePagingPage(resourceGroupName, zoneName, options, settings) {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
}
|
|
131
|
-
});
|
|
97
|
+
async *listByDnsZonePagingPage(resourceGroupName, zoneName, options, settings) {
|
|
98
|
+
let result;
|
|
99
|
+
let continuationToken = settings?.continuationToken;
|
|
100
|
+
if (!continuationToken) {
|
|
101
|
+
result = await this._listByDnsZone(resourceGroupName, zoneName, options);
|
|
102
|
+
let page = result.value || [];
|
|
103
|
+
continuationToken = result.nextLink;
|
|
104
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
105
|
+
yield page;
|
|
106
|
+
}
|
|
107
|
+
while (continuationToken) {
|
|
108
|
+
result = await this._listByDnsZoneNext(resourceGroupName, zoneName, continuationToken, options);
|
|
109
|
+
continuationToken = result.nextLink;
|
|
110
|
+
let page = result.value || [];
|
|
111
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
112
|
+
yield page;
|
|
113
|
+
}
|
|
132
114
|
}
|
|
133
|
-
listByDnsZonePagingAll(resourceGroupName, zoneName, options) {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listByDnsZonePagingPage(resourceGroupName, zoneName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
138
|
-
_c = _f.value;
|
|
139
|
-
_d = false;
|
|
140
|
-
const page = _c;
|
|
141
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
145
|
-
finally {
|
|
146
|
-
try {
|
|
147
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
148
|
-
}
|
|
149
|
-
finally { if (e_2) throw e_2.error; }
|
|
150
|
-
}
|
|
151
|
-
});
|
|
115
|
+
async *listByDnsZonePagingAll(resourceGroupName, zoneName, options) {
|
|
116
|
+
for await (const page of this.listByDnsZonePagingPage(resourceGroupName, zoneName, options)) {
|
|
117
|
+
yield* page;
|
|
118
|
+
}
|
|
152
119
|
}
|
|
153
120
|
/**
|
|
154
121
|
* Updates a record set within a DNS zone.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recordSets.js","sourceRoot":"","sources":["../../../src/operations/recordSets.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAsBtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAa,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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AU;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
|
+
{"version":3,"file":"recordSets.js","sourceRoot":"","sources":["../../../src/operations/recordSets.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAsBtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAa,cAAc;IACR,MAAM,CAAsB;IAE7C;;;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,U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AAG;QACd,UAAU,CAAC,mBAAmB;KAC/B;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,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"]}
|