@azure/arm-dns 5.2.0-beta.1 → 5.2.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -1
- package/LICENSE +4 -4
- package/README.md +26 -17
- package/{dist-esm/src → dist/browser}/dnsManagementClient.d.ts +2 -2
- package/dist/browser/dnsManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/dnsManagementClient.js +33 -24
- package/dist/browser/dnsManagementClient.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +18 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +23 -11
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/dnsResourceReferenceOperations.d.ts +3 -3
- package/dist/browser/operations/dnsResourceReferenceOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/dnsResourceReferenceOperations.js +3 -2
- package/dist/browser/operations/dnsResourceReferenceOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/dnssecConfigs.d.ts +3 -3
- package/dist/browser/operations/dnssecConfigs.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/dnssecConfigs.js +109 -124
- package/dist/browser/operations/dnssecConfigs.js.map +1 -0
- package/dist/browser/operations/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +4 -4
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/recordSets.d.ts +3 -3
- package/dist/browser/operations/recordSets.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/recordSets.js +70 -121
- package/dist/browser/operations/recordSets.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/zones.d.ts +3 -3
- package/dist/browser/operations/zones.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/zones.js +90 -123
- package/dist/browser/operations/zones.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/dnsResourceReferenceOperations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/dnsResourceReferenceOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/dnsResourceReferenceOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/dnssecConfigs.d.ts +1 -1
- package/dist/browser/operationsInterfaces/dnssecConfigs.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/dnssecConfigs.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +4 -4
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/recordSets.d.ts +1 -1
- package/dist/browser/operationsInterfaces/recordSets.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/recordSets.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/zones.d.ts +1 -1
- package/dist/browser/operationsInterfaces/zones.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/zones.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/dnsManagementClient.d.ts +23 -0
- package/dist/commonjs/dnsManagementClient.d.ts.map +1 -0
- package/dist/commonjs/dnsManagementClient.js +118 -0
- package/dist/commonjs/dnsManagementClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +11 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +21 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-dns.d.ts → dist/commonjs/models/index.d.ts} +639 -932
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +23 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +36 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +1180 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +21 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +201 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/dnsResourceReferenceOperations.d.ts +19 -0
- package/dist/commonjs/operations/dnsResourceReferenceOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/dnsResourceReferenceOperations.js +55 -0
- package/dist/commonjs/operations/dnsResourceReferenceOperations.js.map +1 -0
- package/dist/commonjs/operations/dnssecConfigs.d.ts +74 -0
- package/dist/commonjs/operations/dnssecConfigs.d.ts.map +1 -0
- package/dist/commonjs/operations/dnssecConfigs.js +338 -0
- package/dist/commonjs/operations/dnssecConfigs.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +5 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +15 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/recordSets.d.ts +129 -0
- package/dist/commonjs/operations/recordSets.d.ts.map +1 -0
- package/dist/commonjs/operations/recordSets.js +550 -0
- package/dist/commonjs/operations/recordSets.js.map +1 -0
- package/dist/commonjs/operations/zones.d.ts +93 -0
- package/dist/commonjs/operations/zones.d.ts.map +1 -0
- package/dist/commonjs/operations/zones.js +417 -0
- package/dist/commonjs/operations/zones.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/dnsResourceReferenceOperations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/dnsResourceReferenceOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/dnsResourceReferenceOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/dnsResourceReferenceOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/dnssecConfigs.d.ts +49 -0
- package/dist/commonjs/operationsInterfaces/dnssecConfigs.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/dnssecConfigs.js +10 -0
- package/dist/commonjs/operationsInterfaces/dnssecConfigs.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +15 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/recordSets.d.ts +68 -0
- package/dist/commonjs/operationsInterfaces/recordSets.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/recordSets.js +10 -0
- package/dist/commonjs/operationsInterfaces/recordSets.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/zones.d.ts +57 -0
- package/dist/commonjs/operationsInterfaces/zones.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/zones.js +10 -0
- package/dist/commonjs/operationsInterfaces/zones.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +34 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/esm/dnsManagementClient.d.ts +23 -0
- package/dist/esm/dnsManagementClient.d.ts.map +1 -0
- package/dist/esm/dnsManagementClient.js +113 -0
- package/dist/esm/dnsManagementClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +11 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +18 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +639 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +20 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +36 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +1177 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +21 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +198 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/dnsResourceReferenceOperations.d.ts +19 -0
- package/dist/esm/operations/dnsResourceReferenceOperations.d.ts.map +1 -0
- package/dist/esm/operations/dnsResourceReferenceOperations.js +50 -0
- package/dist/esm/operations/dnsResourceReferenceOperations.js.map +1 -0
- package/dist/esm/operations/dnssecConfigs.d.ts +74 -0
- package/dist/esm/operations/dnssecConfigs.d.ts.map +1 -0
- package/dist/esm/operations/dnssecConfigs.js +333 -0
- package/dist/esm/operations/dnssecConfigs.js.map +1 -0
- package/dist/esm/operations/index.d.ts +5 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +12 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/recordSets.d.ts +129 -0
- package/dist/esm/operations/recordSets.d.ts.map +1 -0
- package/dist/esm/operations/recordSets.js +545 -0
- package/dist/esm/operations/recordSets.js.map +1 -0
- package/dist/esm/operations/zones.d.ts +93 -0
- package/dist/esm/operations/zones.d.ts.map +1 -0
- package/dist/esm/operations/zones.js +412 -0
- package/dist/esm/operations/zones.js.map +1 -0
- package/dist/esm/operationsInterfaces/dnsResourceReferenceOperations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/dnsResourceReferenceOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/dnsResourceReferenceOperations.js +9 -0
- package/dist/esm/operationsInterfaces/dnsResourceReferenceOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/dnssecConfigs.d.ts +49 -0
- package/dist/esm/operationsInterfaces/dnssecConfigs.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/dnssecConfigs.js +9 -0
- package/dist/esm/operationsInterfaces/dnssecConfigs.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +5 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +12 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/recordSets.d.ts +68 -0
- package/dist/esm/operationsInterfaces/recordSets.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/recordSets.js +9 -0
- package/dist/esm/operationsInterfaces/recordSets.js.map +1 -0
- package/dist/esm/operationsInterfaces/zones.d.ts +57 -0
- package/dist/esm/operationsInterfaces/zones.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/zones.js +9 -0
- package/dist/esm/operationsInterfaces/zones.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +30 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/dnsManagementClient.d.ts +23 -0
- package/dist/react-native/dnsManagementClient.d.ts.map +1 -0
- package/dist/react-native/dnsManagementClient.js +113 -0
- package/dist/react-native/dnsManagementClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +11 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +18 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +639 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +20 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +36 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +1177 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +21 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +198 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/dnsResourceReferenceOperations.d.ts +19 -0
- package/dist/react-native/operations/dnsResourceReferenceOperations.d.ts.map +1 -0
- package/dist/react-native/operations/dnsResourceReferenceOperations.js +50 -0
- package/dist/react-native/operations/dnsResourceReferenceOperations.js.map +1 -0
- package/dist/react-native/operations/dnssecConfigs.d.ts +74 -0
- package/dist/react-native/operations/dnssecConfigs.d.ts.map +1 -0
- package/dist/react-native/operations/dnssecConfigs.js +333 -0
- package/dist/react-native/operations/dnssecConfigs.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +5 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +12 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/recordSets.d.ts +129 -0
- package/dist/react-native/operations/recordSets.d.ts.map +1 -0
- package/dist/react-native/operations/recordSets.js +545 -0
- package/dist/react-native/operations/recordSets.js.map +1 -0
- package/dist/react-native/operations/zones.d.ts +93 -0
- package/dist/react-native/operations/zones.d.ts.map +1 -0
- package/dist/react-native/operations/zones.js +412 -0
- package/dist/react-native/operations/zones.js.map +1 -0
- package/dist/react-native/operationsInterfaces/dnsResourceReferenceOperations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/dnsResourceReferenceOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/dnsResourceReferenceOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/dnsResourceReferenceOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/dnssecConfigs.d.ts +49 -0
- package/dist/react-native/operationsInterfaces/dnssecConfigs.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/dnssecConfigs.js +9 -0
- package/dist/react-native/operationsInterfaces/dnssecConfigs.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +5 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +12 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/recordSets.d.ts +68 -0
- package/dist/react-native/operationsInterfaces/recordSets.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/recordSets.js +9 -0
- package/dist/react-native/operationsInterfaces/recordSets.js.map +1 -0
- package/dist/react-native/operationsInterfaces/zones.d.ts +57 -0
- package/dist/react-native/operationsInterfaces/zones.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/zones.js +9 -0
- package/dist/react-native/operationsInterfaces/zones.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +30 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +87 -70
- package/dist/index.js +0 -3020
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/dnsResourceReferenceGetByTargetResourcesSample.d.ts +0 -2
- package/dist-esm/samples-dev/dnsResourceReferenceGetByTargetResourcesSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dnsResourceReferenceGetByTargetResourcesSample.js +0 -43
- package/dist-esm/samples-dev/dnsResourceReferenceGetByTargetResourcesSample.js.map +0 -1
- package/dist-esm/samples-dev/dnssecConfigsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/dnssecConfigsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dnssecConfigsCreateOrUpdateSample.js +0 -38
- package/dist-esm/samples-dev/dnssecConfigsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/dnssecConfigsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/dnssecConfigsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dnssecConfigsDeleteSample.js +0 -38
- package/dist-esm/samples-dev/dnssecConfigsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/dnssecConfigsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/dnssecConfigsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dnssecConfigsGetSample.js +0 -38
- package/dist-esm/samples-dev/dnssecConfigsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/dnssecConfigsListByDnsZoneSample.d.ts +0 -2
- package/dist-esm/samples-dev/dnssecConfigsListByDnsZoneSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dnssecConfigsListByDnsZoneSample.js +0 -54
- package/dist-esm/samples-dev/dnssecConfigsListByDnsZoneSample.js.map +0 -1
- package/dist-esm/samples-dev/recordSetsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/recordSetsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/recordSetsCreateOrUpdateSample.js +0 -432
- package/dist-esm/samples-dev/recordSetsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/recordSetsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/recordSetsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/recordSetsDeleteSample.js +0 -260
- package/dist-esm/samples-dev/recordSetsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/recordSetsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/recordSetsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/recordSetsGetSample.js +0 -280
- package/dist-esm/samples-dev/recordSetsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/recordSetsListAllByDnsZoneSample.d.ts +0 -2
- package/dist-esm/samples-dev/recordSetsListAllByDnsZoneSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/recordSetsListAllByDnsZoneSample.js +0 -54
- package/dist-esm/samples-dev/recordSetsListAllByDnsZoneSample.js.map +0 -1
- package/dist-esm/samples-dev/recordSetsListByDnsZoneSample.d.ts +0 -2
- package/dist-esm/samples-dev/recordSetsListByDnsZoneSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/recordSetsListByDnsZoneSample.js +0 -54
- package/dist-esm/samples-dev/recordSetsListByDnsZoneSample.js.map +0 -1
- package/dist-esm/samples-dev/recordSetsListByTypeSample.d.ts +0 -2
- package/dist-esm/samples-dev/recordSetsListByTypeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/recordSetsListByTypeSample.js +0 -475
- package/dist-esm/samples-dev/recordSetsListByTypeSample.js.map +0 -1
- package/dist-esm/samples-dev/recordSetsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/recordSetsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/recordSetsUpdateSample.js +0 -293
- package/dist-esm/samples-dev/recordSetsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/zonesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/zonesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/zonesCreateOrUpdateSample.js +0 -39
- package/dist-esm/samples-dev/zonesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/zonesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/zonesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/zonesDeleteSample.js +0 -38
- package/dist-esm/samples-dev/zonesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/zonesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/zonesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/zonesGetSample.js +0 -38
- package/dist-esm/samples-dev/zonesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/zonesListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/zonesListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/zonesListByResourceGroupSample.js +0 -53
- package/dist-esm/samples-dev/zonesListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/zonesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/zonesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/zonesListSample.js +0 -52
- package/dist-esm/samples-dev/zonesListSample.js.map +0 -1
- package/dist-esm/samples-dev/zonesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/zonesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/zonesUpdateSample.js +0 -39
- package/dist-esm/samples-dev/zonesUpdateSample.js.map +0 -1
- package/dist-esm/src/dnsManagementClient.d.ts.map +0 -1
- package/dist-esm/src/dnsManagementClient.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js +0 -21
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/dnsResourceReferenceOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/dnsResourceReferenceOperations.js.map +0 -1
- package/dist-esm/src/operations/dnssecConfigs.d.ts.map +0 -1
- package/dist-esm/src/operations/dnssecConfigs.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -5
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/recordSets.d.ts.map +0 -1
- package/dist-esm/src/operations/recordSets.js.map +0 -1
- package/dist-esm/src/operations/zones.d.ts.map +0 -1
- package/dist-esm/src/operations/zones.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/dnsResourceReferenceOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/dnsResourceReferenceOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/dnssecConfigs.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/dnssecConfigs.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/recordSets.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/recordSets.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/zones.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/zones.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/dns_operations_test.spec.d.ts +0 -4
- package/dist-esm/test/dns_operations_test.spec.d.ts.map +0 -1
- package/dist-esm/test/dns_operations_test.spec.js +0 -114
- package/dist-esm/test/dns_operations_test.spec.js.map +0 -1
- package/src/dnsManagementClient.ts +0 -158
- package/src/lroImpl.ts +0 -42
- package/src/models/index.ts +0 -746
- package/src/models/mappers.ts +0 -1212
- package/src/models/parameters.ts +0 -227
- package/src/operations/dnsResourceReferenceOperations.ts +0 -69
- package/src/operations/dnssecConfigs.ts +0 -468
- package/src/operations/index.ts +0 -12
- package/src/operations/recordSets.ts +0 -787
- package/src/operations/zones.ts +0 -545
- package/src/operationsInterfaces/dnsResourceReferenceOperations.ts +0 -26
- package/src/operationsInterfaces/dnssecConfigs.ts +0 -95
- package/src/operationsInterfaces/index.ts +0 -12
- package/src/operationsInterfaces/recordSets.ts +0 -129
- package/src/operationsInterfaces/zones.ts +0 -103
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/dnsResourceReferenceOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/dnssecConfigs.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/recordSets.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/zones.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/review/{arm-dns.api.md → arm-dns-node.api.md} +0 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Zones } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { DnsManagementClient } from "../dnsManagementClient.js";
|
|
4
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
+
import { Zone, ZonesListByResourceGroupOptionalParams, ZonesListOptionalParams, ZonesCreateOrUpdateOptionalParams, ZonesCreateOrUpdateResponse, ZonesDeleteOptionalParams, ZonesGetOptionalParams, ZonesGetResponse, ZoneUpdate, ZonesUpdateOptionalParams, ZonesUpdateResponse } from "../models/index.js";
|
|
6
|
+
/** Class containing Zones operations. */
|
|
7
|
+
export declare class ZonesImpl implements Zones {
|
|
8
|
+
private readonly client;
|
|
9
|
+
/**
|
|
10
|
+
* Initialize a new instance of the class Zones class.
|
|
11
|
+
* @param client Reference to the service client
|
|
12
|
+
*/
|
|
13
|
+
constructor(client: DnsManagementClient);
|
|
14
|
+
/**
|
|
15
|
+
* Lists the DNS zones within a resource group.
|
|
16
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
listByResourceGroup(resourceGroupName: string, options?: ZonesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Zone>;
|
|
20
|
+
private listByResourceGroupPagingPage;
|
|
21
|
+
private listByResourceGroupPagingAll;
|
|
22
|
+
/**
|
|
23
|
+
* Lists the DNS zones in all resource groups in a subscription.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
list(options?: ZonesListOptionalParams): PagedAsyncIterableIterator<Zone>;
|
|
27
|
+
private listPagingPage;
|
|
28
|
+
private listPagingAll;
|
|
29
|
+
/**
|
|
30
|
+
* Creates or updates a DNS zone. Does not modify DNS records within the zone.
|
|
31
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
32
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
33
|
+
* @param parameters Parameters supplied to the CreateOrUpdate operation.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
createOrUpdate(resourceGroupName: string, zoneName: string, parameters: Zone, options?: ZonesCreateOrUpdateOptionalParams): Promise<ZonesCreateOrUpdateResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot
|
|
39
|
+
* be undone.
|
|
40
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
41
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
42
|
+
* @param options The options parameters.
|
|
43
|
+
*/
|
|
44
|
+
beginDelete(resourceGroupName: string, zoneName: string, options?: ZonesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
45
|
+
/**
|
|
46
|
+
* Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot
|
|
47
|
+
* be undone.
|
|
48
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
49
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
50
|
+
* @param options The options parameters.
|
|
51
|
+
*/
|
|
52
|
+
beginDeleteAndWait(resourceGroupName: string, zoneName: string, options?: ZonesDeleteOptionalParams): Promise<void>;
|
|
53
|
+
/**
|
|
54
|
+
* Gets a DNS zone. Retrieves the zone properties, but not the record sets within the zone.
|
|
55
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
56
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
57
|
+
* @param options The options parameters.
|
|
58
|
+
*/
|
|
59
|
+
get(resourceGroupName: string, zoneName: string, options?: ZonesGetOptionalParams): Promise<ZonesGetResponse>;
|
|
60
|
+
/**
|
|
61
|
+
* Updates a DNS zone. Does not modify DNS records within the zone.
|
|
62
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
63
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
64
|
+
* @param parameters Parameters supplied to the Update operation.
|
|
65
|
+
* @param options The options parameters.
|
|
66
|
+
*/
|
|
67
|
+
update(resourceGroupName: string, zoneName: string, parameters: ZoneUpdate, options?: ZonesUpdateOptionalParams): Promise<ZonesUpdateResponse>;
|
|
68
|
+
/**
|
|
69
|
+
* Lists the DNS zones within a resource group.
|
|
70
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
71
|
+
* @param options The options parameters.
|
|
72
|
+
*/
|
|
73
|
+
private _listByResourceGroup;
|
|
74
|
+
/**
|
|
75
|
+
* Lists the DNS zones in all resource groups in a subscription.
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
private _list;
|
|
79
|
+
/**
|
|
80
|
+
* ListByResourceGroupNext
|
|
81
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
82
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
83
|
+
* @param options The options parameters.
|
|
84
|
+
*/
|
|
85
|
+
private _listByResourceGroupNext;
|
|
86
|
+
/**
|
|
87
|
+
* ListNext
|
|
88
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
89
|
+
* @param options The options parameters.
|
|
90
|
+
*/
|
|
91
|
+
private _listNext;
|
|
92
|
+
}
|
|
93
|
+
//# sourceMappingURL=zones.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zones.d.ts","sourceRoot":"","sources":["../../../src/operations/zones.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAIzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,IAAI,EAEJ,sCAAsC,EAGtC,uBAAuB,EAEvB,iCAAiC,EACjC,2BAA2B,EAC3B,yBAAyB,EACzB,sBAAsB,EACtB,gBAAgB,EAChB,UAAU,EACV,yBAAyB,EACzB,mBAAmB,EAGpB,MAAM,oBAAoB,CAAC;AAG5B,yCAAyC;AACzC,qBAAa,SAAU,YAAW,KAAK;IACrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsB;IAE7C;;;OAGG;gBACS,MAAM,EAAE,mBAAmB;IAIvC;;;;OAIG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,0BAA0B,CAAC,IAAI,CAAC;YAsBpB,6BAA6B;YA2B7B,4BAA4B;IAY3C;;;OAGG;IACI,IAAI,CACT,O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(R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
|
+
import { createHttpPoller, } from "@azure/core-lro";
|
|
13
|
+
import { createLroSpec } from "../lroImpl.js";
|
|
14
|
+
/// <reference lib="esnext.asynciterable" />
|
|
15
|
+
/** Class containing Zones operations. */
|
|
16
|
+
export class ZonesImpl {
|
|
17
|
+
client;
|
|
18
|
+
/**
|
|
19
|
+
* Initialize a new instance of the class Zones class.
|
|
20
|
+
* @param client Reference to the service client
|
|
21
|
+
*/
|
|
22
|
+
constructor(client) {
|
|
23
|
+
this.client = client;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Lists the DNS zones within a resource group.
|
|
27
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
listByResourceGroup(resourceGroupName, options) {
|
|
31
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
32
|
+
return {
|
|
33
|
+
next() {
|
|
34
|
+
return iter.next();
|
|
35
|
+
},
|
|
36
|
+
[Symbol.asyncIterator]() {
|
|
37
|
+
return this;
|
|
38
|
+
},
|
|
39
|
+
byPage: (settings) => {
|
|
40
|
+
if (settings?.maxPageSize) {
|
|
41
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
42
|
+
}
|
|
43
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
48
|
+
let result;
|
|
49
|
+
let continuationToken = settings?.continuationToken;
|
|
50
|
+
if (!continuationToken) {
|
|
51
|
+
result = await this._listByResourceGroup(resourceGroupName, options);
|
|
52
|
+
let page = result.value || [];
|
|
53
|
+
continuationToken = result.nextLink;
|
|
54
|
+
setContinuationToken(page, continuationToken);
|
|
55
|
+
yield page;
|
|
56
|
+
}
|
|
57
|
+
while (continuationToken) {
|
|
58
|
+
result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
|
|
59
|
+
continuationToken = result.nextLink;
|
|
60
|
+
let page = result.value || [];
|
|
61
|
+
setContinuationToken(page, continuationToken);
|
|
62
|
+
yield page;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
async *listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
66
|
+
for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
|
|
67
|
+
yield* page;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Lists the DNS zones in all resource groups in a subscription.
|
|
72
|
+
* @param options The options parameters.
|
|
73
|
+
*/
|
|
74
|
+
list(options) {
|
|
75
|
+
const iter = this.listPagingAll(options);
|
|
76
|
+
return {
|
|
77
|
+
next() {
|
|
78
|
+
return iter.next();
|
|
79
|
+
},
|
|
80
|
+
[Symbol.asyncIterator]() {
|
|
81
|
+
return this;
|
|
82
|
+
},
|
|
83
|
+
byPage: (settings) => {
|
|
84
|
+
if (settings?.maxPageSize) {
|
|
85
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
86
|
+
}
|
|
87
|
+
return this.listPagingPage(options, settings);
|
|
88
|
+
},
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
async *listPagingPage(options, settings) {
|
|
92
|
+
let result;
|
|
93
|
+
let continuationToken = settings?.continuationToken;
|
|
94
|
+
if (!continuationToken) {
|
|
95
|
+
result = await this._list(options);
|
|
96
|
+
let page = result.value || [];
|
|
97
|
+
continuationToken = result.nextLink;
|
|
98
|
+
setContinuationToken(page, continuationToken);
|
|
99
|
+
yield page;
|
|
100
|
+
}
|
|
101
|
+
while (continuationToken) {
|
|
102
|
+
result = await this._listNext(continuationToken, options);
|
|
103
|
+
continuationToken = result.nextLink;
|
|
104
|
+
let page = result.value || [];
|
|
105
|
+
setContinuationToken(page, continuationToken);
|
|
106
|
+
yield page;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
async *listPagingAll(options) {
|
|
110
|
+
for await (const page of this.listPagingPage(options)) {
|
|
111
|
+
yield* page;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Creates or updates a DNS zone. Does not modify DNS records within the zone.
|
|
116
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
117
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
118
|
+
* @param parameters Parameters supplied to the CreateOrUpdate operation.
|
|
119
|
+
* @param options The options parameters.
|
|
120
|
+
*/
|
|
121
|
+
createOrUpdate(resourceGroupName, zoneName, parameters, options) {
|
|
122
|
+
return this.client.sendOperationRequest({ resourceGroupName, zoneName, parameters, options }, createOrUpdateOperationSpec);
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot
|
|
126
|
+
* be undone.
|
|
127
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
128
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
129
|
+
* @param options The options parameters.
|
|
130
|
+
*/
|
|
131
|
+
async beginDelete(resourceGroupName, zoneName, options) {
|
|
132
|
+
const directSendOperation = async (args, spec) => {
|
|
133
|
+
return this.client.sendOperationRequest(args, spec);
|
|
134
|
+
};
|
|
135
|
+
const sendOperationFn = async (args, spec) => {
|
|
136
|
+
let currentRawResponse = undefined;
|
|
137
|
+
const providedCallback = args.options?.onResponse;
|
|
138
|
+
const callback = (rawResponse, flatResponse) => {
|
|
139
|
+
currentRawResponse = rawResponse;
|
|
140
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
141
|
+
};
|
|
142
|
+
const updatedArgs = {
|
|
143
|
+
...args,
|
|
144
|
+
options: {
|
|
145
|
+
...args.options,
|
|
146
|
+
onResponse: callback,
|
|
147
|
+
},
|
|
148
|
+
};
|
|
149
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
150
|
+
return {
|
|
151
|
+
flatResponse,
|
|
152
|
+
rawResponse: {
|
|
153
|
+
statusCode: currentRawResponse.status,
|
|
154
|
+
body: currentRawResponse.parsedBody,
|
|
155
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
156
|
+
},
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
const lro = createLroSpec({
|
|
160
|
+
sendOperationFn,
|
|
161
|
+
args: { resourceGroupName, zoneName, options },
|
|
162
|
+
spec: deleteOperationSpec,
|
|
163
|
+
});
|
|
164
|
+
const poller = await createHttpPoller(lro, {
|
|
165
|
+
restoreFrom: options?.resumeFrom,
|
|
166
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
167
|
+
});
|
|
168
|
+
await poller.poll();
|
|
169
|
+
return poller;
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot
|
|
173
|
+
* be undone.
|
|
174
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
175
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
176
|
+
* @param options The options parameters.
|
|
177
|
+
*/
|
|
178
|
+
async beginDeleteAndWait(resourceGroupName, zoneName, options) {
|
|
179
|
+
const poller = await this.beginDelete(resourceGroupName, zoneName, options);
|
|
180
|
+
return poller.pollUntilDone();
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Gets a DNS zone. Retrieves the zone properties, but not the record sets within the zone.
|
|
184
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
185
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
186
|
+
* @param options The options parameters.
|
|
187
|
+
*/
|
|
188
|
+
get(resourceGroupName, zoneName, options) {
|
|
189
|
+
return this.client.sendOperationRequest({ resourceGroupName, zoneName, options }, getOperationSpec);
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Updates a DNS zone. Does not modify DNS records within the zone.
|
|
193
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
194
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
195
|
+
* @param parameters Parameters supplied to the Update operation.
|
|
196
|
+
* @param options The options parameters.
|
|
197
|
+
*/
|
|
198
|
+
update(resourceGroupName, zoneName, parameters, options) {
|
|
199
|
+
return this.client.sendOperationRequest({ resourceGroupName, zoneName, parameters, options }, updateOperationSpec);
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* Lists the DNS zones within a resource group.
|
|
203
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
204
|
+
* @param options The options parameters.
|
|
205
|
+
*/
|
|
206
|
+
_listByResourceGroup(resourceGroupName, options) {
|
|
207
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Lists the DNS zones in all resource groups in a subscription.
|
|
211
|
+
* @param options The options parameters.
|
|
212
|
+
*/
|
|
213
|
+
_list(options) {
|
|
214
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* ListByResourceGroupNext
|
|
218
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
219
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
220
|
+
* @param options The options parameters.
|
|
221
|
+
*/
|
|
222
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
223
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* ListNext
|
|
227
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
228
|
+
* @param options The options parameters.
|
|
229
|
+
*/
|
|
230
|
+
_listNext(nextLink, options) {
|
|
231
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
// Operation Specifications
|
|
235
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
236
|
+
const createOrUpdateOperationSpec = {
|
|
237
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}",
|
|
238
|
+
httpMethod: "PUT",
|
|
239
|
+
responses: {
|
|
240
|
+
200: {
|
|
241
|
+
bodyMapper: Mappers.Zone,
|
|
242
|
+
},
|
|
243
|
+
201: {
|
|
244
|
+
bodyMapper: Mappers.Zone,
|
|
245
|
+
},
|
|
246
|
+
default: {
|
|
247
|
+
bodyMapper: Mappers.CloudError,
|
|
248
|
+
},
|
|
249
|
+
},
|
|
250
|
+
requestBody: Parameters.parameters1,
|
|
251
|
+
queryParameters: [Parameters.apiVersion],
|
|
252
|
+
urlParameters: [
|
|
253
|
+
Parameters.$host,
|
|
254
|
+
Parameters.resourceGroupName,
|
|
255
|
+
Parameters.zoneName,
|
|
256
|
+
Parameters.subscriptionId,
|
|
257
|
+
],
|
|
258
|
+
headerParameters: [
|
|
259
|
+
Parameters.accept,
|
|
260
|
+
Parameters.ifMatch,
|
|
261
|
+
Parameters.ifNoneMatch,
|
|
262
|
+
Parameters.contentType,
|
|
263
|
+
],
|
|
264
|
+
mediaType: "json",
|
|
265
|
+
serializer,
|
|
266
|
+
};
|
|
267
|
+
const deleteOperationSpec = {
|
|
268
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}",
|
|
269
|
+
httpMethod: "DELETE",
|
|
270
|
+
responses: {
|
|
271
|
+
200: {},
|
|
272
|
+
201: {},
|
|
273
|
+
202: {},
|
|
274
|
+
204: {},
|
|
275
|
+
default: {
|
|
276
|
+
bodyMapper: Mappers.CloudError,
|
|
277
|
+
},
|
|
278
|
+
},
|
|
279
|
+
queryParameters: [Parameters.apiVersion],
|
|
280
|
+
urlParameters: [
|
|
281
|
+
Parameters.$host,
|
|
282
|
+
Parameters.resourceGroupName,
|
|
283
|
+
Parameters.zoneName,
|
|
284
|
+
Parameters.subscriptionId,
|
|
285
|
+
],
|
|
286
|
+
headerParameters: [Parameters.accept, Parameters.ifMatch],
|
|
287
|
+
serializer,
|
|
288
|
+
};
|
|
289
|
+
const getOperationSpec = {
|
|
290
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}",
|
|
291
|
+
httpMethod: "GET",
|
|
292
|
+
responses: {
|
|
293
|
+
200: {
|
|
294
|
+
bodyMapper: Mappers.Zone,
|
|
295
|
+
},
|
|
296
|
+
default: {
|
|
297
|
+
bodyMapper: Mappers.CloudError,
|
|
298
|
+
},
|
|
299
|
+
},
|
|
300
|
+
queryParameters: [Parameters.apiVersion],
|
|
301
|
+
urlParameters: [
|
|
302
|
+
Parameters.$host,
|
|
303
|
+
Parameters.resourceGroupName,
|
|
304
|
+
Parameters.zoneName,
|
|
305
|
+
Parameters.subscriptionId,
|
|
306
|
+
],
|
|
307
|
+
headerParameters: [Parameters.accept],
|
|
308
|
+
serializer,
|
|
309
|
+
};
|
|
310
|
+
const updateOperationSpec = {
|
|
311
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}",
|
|
312
|
+
httpMethod: "PATCH",
|
|
313
|
+
responses: {
|
|
314
|
+
200: {
|
|
315
|
+
bodyMapper: Mappers.Zone,
|
|
316
|
+
},
|
|
317
|
+
default: {
|
|
318
|
+
bodyMapper: Mappers.CloudError,
|
|
319
|
+
},
|
|
320
|
+
},
|
|
321
|
+
requestBody: Parameters.parameters2,
|
|
322
|
+
queryParameters: [Parameters.apiVersion],
|
|
323
|
+
urlParameters: [
|
|
324
|
+
Parameters.$host,
|
|
325
|
+
Parameters.resourceGroupName,
|
|
326
|
+
Parameters.zoneName,
|
|
327
|
+
Parameters.subscriptionId,
|
|
328
|
+
],
|
|
329
|
+
headerParameters: [
|
|
330
|
+
Parameters.accept,
|
|
331
|
+
Parameters.ifMatch,
|
|
332
|
+
Parameters.contentType,
|
|
333
|
+
],
|
|
334
|
+
mediaType: "json",
|
|
335
|
+
serializer,
|
|
336
|
+
};
|
|
337
|
+
const listByResourceGroupOperationSpec = {
|
|
338
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones",
|
|
339
|
+
httpMethod: "GET",
|
|
340
|
+
responses: {
|
|
341
|
+
200: {
|
|
342
|
+
bodyMapper: Mappers.ZoneListResult,
|
|
343
|
+
},
|
|
344
|
+
default: {
|
|
345
|
+
bodyMapper: Mappers.CloudError,
|
|
346
|
+
},
|
|
347
|
+
},
|
|
348
|
+
queryParameters: [Parameters.apiVersion, Parameters.top],
|
|
349
|
+
urlParameters: [
|
|
350
|
+
Parameters.$host,
|
|
351
|
+
Parameters.resourceGroupName,
|
|
352
|
+
Parameters.subscriptionId,
|
|
353
|
+
],
|
|
354
|
+
headerParameters: [Parameters.accept],
|
|
355
|
+
serializer,
|
|
356
|
+
};
|
|
357
|
+
const listOperationSpec = {
|
|
358
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/dnszones",
|
|
359
|
+
httpMethod: "GET",
|
|
360
|
+
responses: {
|
|
361
|
+
200: {
|
|
362
|
+
bodyMapper: Mappers.ZoneListResult,
|
|
363
|
+
},
|
|
364
|
+
default: {
|
|
365
|
+
bodyMapper: Mappers.CloudError,
|
|
366
|
+
},
|
|
367
|
+
},
|
|
368
|
+
queryParameters: [Parameters.apiVersion, Parameters.top],
|
|
369
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
370
|
+
headerParameters: [Parameters.accept],
|
|
371
|
+
serializer,
|
|
372
|
+
};
|
|
373
|
+
const listByResourceGroupNextOperationSpec = {
|
|
374
|
+
path: "{nextLink}",
|
|
375
|
+
httpMethod: "GET",
|
|
376
|
+
responses: {
|
|
377
|
+
200: {
|
|
378
|
+
bodyMapper: Mappers.ZoneListResult,
|
|
379
|
+
},
|
|
380
|
+
default: {
|
|
381
|
+
bodyMapper: Mappers.CloudError,
|
|
382
|
+
},
|
|
383
|
+
},
|
|
384
|
+
urlParameters: [
|
|
385
|
+
Parameters.$host,
|
|
386
|
+
Parameters.resourceGroupName,
|
|
387
|
+
Parameters.subscriptionId,
|
|
388
|
+
Parameters.nextLink,
|
|
389
|
+
],
|
|
390
|
+
headerParameters: [Parameters.accept],
|
|
391
|
+
serializer,
|
|
392
|
+
};
|
|
393
|
+
const listNextOperationSpec = {
|
|
394
|
+
path: "{nextLink}",
|
|
395
|
+
httpMethod: "GET",
|
|
396
|
+
responses: {
|
|
397
|
+
200: {
|
|
398
|
+
bodyMapper: Mappers.ZoneListResult,
|
|
399
|
+
},
|
|
400
|
+
default: {
|
|
401
|
+
bodyMapper: Mappers.CloudError,
|
|
402
|
+
},
|
|
403
|
+
},
|
|
404
|
+
urlParameters: [
|
|
405
|
+
Parameters.$host,
|
|
406
|
+
Parameters.subscriptionId,
|
|
407
|
+
Parameters.nextLink,
|
|
408
|
+
],
|
|
409
|
+
headerParameters: [Parameters.accept],
|
|
410
|
+
serializer,
|
|
411
|
+
};
|
|
412
|
+
//# sourceMappingURL=zones.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zones.js","sourceRoot":"","sources":["../../../src/operations/zones.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,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AChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,cAAc;SACnC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,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 { Zones } 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 SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n Zone,\n ZonesListByResourceGroupNextOptionalParams,\n ZonesListByResourceGroupOptionalParams,\n ZonesListByResourceGroupResponse,\n ZonesListNextOptionalParams,\n ZonesListOptionalParams,\n ZonesListResponse,\n ZonesCreateOrUpdateOptionalParams,\n ZonesCreateOrUpdateResponse,\n ZonesDeleteOptionalParams,\n ZonesGetOptionalParams,\n ZonesGetResponse,\n ZoneUpdate,\n ZonesUpdateOptionalParams,\n ZonesUpdateResponse,\n ZonesListByResourceGroupNextResponse,\n ZonesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Zones operations. */\nexport class ZonesImpl implements Zones {\n private readonly client: DnsManagementClient;\n\n /**\n * Initialize a new instance of the class Zones class.\n * @param client Reference to the service client\n */\n constructor(client: DnsManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists the DNS zones within a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: ZonesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<Zone> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\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.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: ZonesListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Zone[]> {\n let result: ZonesListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, 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._listByResourceGroupNext(\n resourceGroupName,\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 *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: ZonesListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<Zone> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists the DNS zones in all resource groups in a subscription.\n * @param options The options parameters.\n */\n public list(\n options?: ZonesListOptionalParams,\n ): PagedAsyncIterableIterator<Zone> {\n const iter = this.listPagingAll(options);\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.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: ZonesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Zone[]> {\n let result: ZonesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(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._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: ZonesListOptionalParams,\n ): AsyncIterableIterator<Zone> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Creates or updates a DNS zone. Does not modify DNS records within the 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 parameters Parameters supplied to the CreateOrUpdate operation.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n zoneName: string,\n parameters: Zone,\n options?: ZonesCreateOrUpdateOptionalParams,\n ): Promise<ZonesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, parameters, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot\n * 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 options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n zoneName: string,\n options?: ZonesDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, zoneName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot\n * 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 options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n zoneName: string,\n options?: ZonesDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(resourceGroupName, zoneName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Gets a DNS zone. Retrieves the zone properties, but not the record sets within the 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 get(\n resourceGroupName: string,\n zoneName: string,\n options?: ZonesGetOptionalParams,\n ): Promise<ZonesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Updates a DNS zone. Does not modify DNS records within the 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 parameters Parameters supplied to the Update operation.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n zoneName: string,\n parameters: ZoneUpdate,\n options?: ZonesUpdateOptionalParams,\n ): Promise<ZonesUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, parameters, options },\n updateOperationSpec,\n );\n }\n\n /**\n * Lists the DNS zones within a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: ZonesListByResourceGroupOptionalParams,\n ): Promise<ZonesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Lists the DNS zones in all resource groups in a subscription.\n * @param options The options parameters.\n */\n private _list(options?: ZonesListOptionalParams): Promise<ZonesListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: ZonesListByResourceGroupNextOptionalParams,\n ): Promise<ZonesListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: ZonesListNextOptionalParams,\n ): Promise<ZonesListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Zone,\n },\n 201: {\n bodyMapper: Mappers.Zone,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.contentType,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\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.subscriptionId,\n ],\n headerParameters: [Parameters.accept, Parameters.ifMatch],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Zone,\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.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Zone,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.ifMatch,\n Parameters.contentType,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ZoneListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.top],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Network/dnszones\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ZoneListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.top],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ZoneListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ZoneListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DnsResourceReferenceRequest, DnsResourceReferenceGetByTargetResourcesOptionalParams, DnsResourceReferenceGetByTargetResourcesResponse } from "../models/index.js";
|
|
2
|
+
/** Interface representing a DnsResourceReferenceOperations. */
|
|
3
|
+
export interface DnsResourceReferenceOperations {
|
|
4
|
+
/**
|
|
5
|
+
* Returns the DNS records specified by the referencing targetResourceIds.
|
|
6
|
+
* @param parameters Properties for dns resource reference request.
|
|
7
|
+
* @param options The options parameters.
|
|
8
|
+
*/
|
|
9
|
+
getByTargetResources(parameters: DnsResourceReferenceRequest, options?: DnsResourceReferenceGetByTargetResourcesOptionalParams): Promise<DnsResourceReferenceGetByTargetResourcesResponse>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=dnsResourceReferenceOperations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dnsResourceReferenceOperations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/dnsResourceReferenceOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,2BAA2B,EAC3B,sDAAsD,EACtD,gDAAgD,EACjD,MAAM,oBAAoB,CAAC;AAE5B,+DAA+D;AAC/D,MAAM,WAAW,8BAA8B;IAC7C;;;;OAIG;IACH,oBAAoB,CAClB,UAAU,EAAE,2BAA2B,EACvC,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,gDAAgD,CAAC,CAAC;CAC9D"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=dnsResourceReferenceOperations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dnsResourceReferenceOperations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/dnsResourceReferenceOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n DnsResourceReferenceRequest,\n DnsResourceReferenceGetByTargetResourcesOptionalParams,\n DnsResourceReferenceGetByTargetResourcesResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a DnsResourceReferenceOperations. */\nexport interface DnsResourceReferenceOperations {\n /**\n * Returns the DNS records specified by the referencing targetResourceIds.\n * @param parameters Properties for dns resource reference request.\n * @param options The options parameters.\n */\n getByTargetResources(\n parameters: DnsResourceReferenceRequest,\n options?: DnsResourceReferenceGetByTargetResourcesOptionalParams,\n ): Promise<DnsResourceReferenceGetByTargetResourcesResponse>;\n}\n"]}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
3
|
+
import { DnssecConfig, DnssecConfigsListByDnsZoneOptionalParams, DnssecConfigsCreateOrUpdateOptionalParams, DnssecConfigsCreateOrUpdateResponse, DnssecConfigsDeleteOptionalParams, DnssecConfigsGetOptionalParams, DnssecConfigsGetResponse } from "../models/index.js";
|
|
4
|
+
/** Interface representing a DnssecConfigs. */
|
|
5
|
+
export interface DnssecConfigs {
|
|
6
|
+
/**
|
|
7
|
+
* Lists the DNSSEC configurations in a DNS zone.
|
|
8
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
9
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
10
|
+
* @param options The options parameters.
|
|
11
|
+
*/
|
|
12
|
+
listByDnsZone(resourceGroupName: string, zoneName: string, options?: DnssecConfigsListByDnsZoneOptionalParams): PagedAsyncIterableIterator<DnssecConfig>;
|
|
13
|
+
/**
|
|
14
|
+
* Creates or updates the DNSSEC configuration on a DNS zone.
|
|
15
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
16
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
beginCreateOrUpdate(resourceGroupName: string, zoneName: string, options?: DnssecConfigsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DnssecConfigsCreateOrUpdateResponse>, DnssecConfigsCreateOrUpdateResponse>>;
|
|
20
|
+
/**
|
|
21
|
+
* Creates or updates the DNSSEC configuration on a DNS zone.
|
|
22
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
23
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, zoneName: string, options?: DnssecConfigsCreateOrUpdateOptionalParams): Promise<DnssecConfigsCreateOrUpdateResponse>;
|
|
27
|
+
/**
|
|
28
|
+
* Deletes the DNSSEC configuration on a DNS zone. This operation cannot be undone.
|
|
29
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
30
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
31
|
+
* @param options The options parameters.
|
|
32
|
+
*/
|
|
33
|
+
beginDelete(resourceGroupName: string, zoneName: string, options?: DnssecConfigsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
34
|
+
/**
|
|
35
|
+
* Deletes the DNSSEC configuration on a DNS zone. This operation cannot be undone.
|
|
36
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
37
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
38
|
+
* @param options The options parameters.
|
|
39
|
+
*/
|
|
40
|
+
beginDeleteAndWait(resourceGroupName: string, zoneName: string, options?: DnssecConfigsDeleteOptionalParams): Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
* Gets the DNSSEC configuration.
|
|
43
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
44
|
+
* @param zoneName The name of the DNS zone (without a terminating dot).
|
|
45
|
+
* @param options The options parameters.
|
|
46
|
+
*/
|
|
47
|
+
get(resourceGroupName: string, zoneName: string, options?: DnssecConfigsGetOptionalParams): Promise<DnssecConfigsGetResponse>;
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=dnssecConfigs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dnssecConfigs.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/dnssecConfigs.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,YAAY,EACZ,wCAAwC,EACxC,yCAAyC,EACzC,mCAAmC,EACnC,iCAAiC,EACjC,8BAA8B,EAC9B,wBAAwB,EACzB,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,MAAM,WAAW,aAAa;IAC5B;;;;;OAKG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,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