@azure/arm-privatedns 3.3.1-alpha.20250218.1 → 3.3.1-alpha.20250219.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/README.md +21 -12
- 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/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- 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/browser/operations/index.d.ts +4 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operations/index.js +3 -3
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateZones.d.ts +3 -3
- package/dist/browser/operations/privateZones.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateZones.js +113 -125
- package/dist/browser/operations/privateZones.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 +3 -3
- package/dist/browser/operations/recordSets.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/virtualNetworkLinks.d.ts +3 -3
- package/dist/browser/operations/virtualNetworkLinks.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/virtualNetworkLinks.js +127 -139
- package/dist/browser/operations/virtualNetworkLinks.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +4 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +3 -3
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/privateZones.d.ts +1 -1
- package/dist/browser/operationsInterfaces/privateZones.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/privateZones.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/virtualNetworkLinks.d.ts +1 -1
- package/dist/browser/operationsInterfaces/virtualNetworkLinks.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/virtualNetworkLinks.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/{dist-esm/src → dist/browser}/privateDnsManagementClient.d.ts +2 -2
- package/dist/browser/privateDnsManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/privateDnsManagementClient.js +15 -18
- package/dist/browser/privateDnsManagementClient.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 +17 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +483 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +43 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +22 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +603 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +20 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +177 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +4 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +14 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/privateZones.d.ts +114 -0
- package/dist/commonjs/operations/privateZones.d.ts.map +1 -0
- package/dist/commonjs/operations/privateZones.js +551 -0
- package/dist/commonjs/operations/privateZones.js.map +1 -0
- package/dist/commonjs/operations/recordSets.d.ts +105 -0
- package/dist/commonjs/operations/recordSets.d.ts.map +1 -0
- package/dist/commonjs/operations/recordSets.js +472 -0
- package/dist/commonjs/operations/recordSets.js.map +1 -0
- package/dist/commonjs/operations/virtualNetworkLinks.d.ts +103 -0
- package/dist/commonjs/operations/virtualNetworkLinks.d.ts.map +1 -0
- package/dist/commonjs/operations/virtualNetworkLinks.js +470 -0
- package/dist/commonjs/operations/virtualNetworkLinks.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +14 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateZones.d.ts +78 -0
- package/dist/commonjs/operationsInterfaces/privateZones.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateZones.js +10 -0
- package/dist/commonjs/operationsInterfaces/privateZones.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/recordSets.d.ts +61 -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/virtualNetworkLinks.d.ts +78 -0
- package/dist/commonjs/operationsInterfaces/virtualNetworkLinks.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/virtualNetworkLinks.js +10 -0
- package/dist/commonjs/operationsInterfaces/virtualNetworkLinks.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 +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/commonjs/privateDnsManagementClient.d.ts +23 -0
- package/dist/commonjs/privateDnsManagementClient.d.ts.map +1 -0
- package/dist/commonjs/privateDnsManagementClient.js +105 -0
- package/dist/commonjs/privateDnsManagementClient.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
- 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 +14 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +483 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +40 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +22 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +600 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +20 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +174 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/index.d.ts +4 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +11 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/privateZones.d.ts +114 -0
- package/dist/esm/operations/privateZones.d.ts.map +1 -0
- package/dist/esm/operations/privateZones.js +547 -0
- package/dist/esm/operations/privateZones.js.map +1 -0
- package/dist/esm/operations/recordSets.d.ts +105 -0
- package/dist/esm/operations/recordSets.d.ts.map +1 -0
- package/dist/esm/operations/recordSets.js +468 -0
- package/dist/esm/operations/recordSets.js.map +1 -0
- package/dist/esm/operations/virtualNetworkLinks.d.ts +103 -0
- package/dist/esm/operations/virtualNetworkLinks.d.ts.map +1 -0
- package/dist/esm/operations/virtualNetworkLinks.js +466 -0
- package/dist/esm/operations/virtualNetworkLinks.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +4 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +11 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/privateZones.d.ts +78 -0
- package/dist/esm/operationsInterfaces/privateZones.d.ts.map +1 -0
- package/{src/operations/index.ts → dist/esm/operationsInterfaces/privateZones.js} +2 -4
- package/dist/esm/operationsInterfaces/privateZones.js.map +1 -0
- package/dist/esm/operationsInterfaces/recordSets.d.ts +61 -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/virtualNetworkLinks.d.ts +78 -0
- package/dist/esm/operationsInterfaces/virtualNetworkLinks.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/virtualNetworkLinks.js +9 -0
- package/dist/esm/operationsInterfaces/virtualNetworkLinks.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 +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/esm/privateDnsManagementClient.d.ts +23 -0
- package/dist/esm/privateDnsManagementClient.d.ts.map +1 -0
- package/dist/esm/privateDnsManagementClient.js +100 -0
- package/dist/esm/privateDnsManagementClient.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 +14 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +483 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +40 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +22 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +600 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +20 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +174 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +4 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +11 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/privateZones.d.ts +114 -0
- package/dist/react-native/operations/privateZones.d.ts.map +1 -0
- package/dist/react-native/operations/privateZones.js +547 -0
- package/dist/react-native/operations/privateZones.js.map +1 -0
- package/dist/react-native/operations/recordSets.d.ts +105 -0
- package/dist/react-native/operations/recordSets.d.ts.map +1 -0
- package/dist/react-native/operations/recordSets.js +468 -0
- package/dist/react-native/operations/recordSets.js.map +1 -0
- package/dist/react-native/operations/virtualNetworkLinks.d.ts +103 -0
- package/dist/react-native/operations/virtualNetworkLinks.d.ts.map +1 -0
- package/dist/react-native/operations/virtualNetworkLinks.js +466 -0
- package/dist/react-native/operations/virtualNetworkLinks.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +11 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/privateZones.d.ts +78 -0
- package/dist/react-native/operationsInterfaces/privateZones.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/privateZones.js +9 -0
- package/dist/react-native/operationsInterfaces/privateZones.js.map +1 -0
- package/dist/react-native/operationsInterfaces/recordSets.d.ts +61 -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/virtualNetworkLinks.d.ts +78 -0
- package/dist/react-native/operationsInterfaces/virtualNetworkLinks.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/virtualNetworkLinks.js +9 -0
- package/dist/react-native/operationsInterfaces/virtualNetworkLinks.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 +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/dist/react-native/privateDnsManagementClient.d.ts +23 -0
- package/dist/react-native/privateDnsManagementClient.d.ts.map +1 -0
- package/dist/react-native/privateDnsManagementClient.js +100 -0
- package/dist/react-native/privateDnsManagementClient.js.map +1 -0
- package/package.json +66 -36
- package/dist/index.js +0 -2499
- 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/privateZonesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateZonesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateZonesCreateOrUpdateSample.js +0 -33
- package/dist-esm/samples-dev/privateZonesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/privateZonesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateZonesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateZonesDeleteSample.js +0 -36
- package/dist-esm/samples-dev/privateZonesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/privateZonesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateZonesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateZonesGetSample.js +0 -36
- package/dist-esm/samples-dev/privateZonesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/privateZonesListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateZonesListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateZonesListByResourceGroupSample.js +0 -51
- package/dist-esm/samples-dev/privateZonesListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/privateZonesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateZonesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateZonesListSample.js +0 -50
- package/dist-esm/samples-dev/privateZonesListSample.js.map +0 -1
- package/dist-esm/samples-dev/privateZonesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateZonesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateZonesUpdateSample.js +0 -30
- package/dist-esm/samples-dev/privateZonesUpdateSample.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 -219
- 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 -158
- 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 -178
- package/dist-esm/samples-dev/recordSetsGetSample.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 -298
- package/dist-esm/samples-dev/recordSetsListByTypeSample.js.map +0 -1
- package/dist-esm/samples-dev/recordSetsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/recordSetsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/recordSetsListSample.js +0 -52
- package/dist-esm/samples-dev/recordSetsListSample.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 -179
- package/dist-esm/samples-dev/recordSetsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/virtualNetworkLinksCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualNetworkLinksCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualNetworkLinksCreateOrUpdateSample.js +0 -38
- package/dist-esm/samples-dev/virtualNetworkLinksCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/virtualNetworkLinksDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualNetworkLinksDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualNetworkLinksDeleteSample.js +0 -37
- package/dist-esm/samples-dev/virtualNetworkLinksDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/virtualNetworkLinksGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualNetworkLinksGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualNetworkLinksGetSample.js +0 -37
- package/dist-esm/samples-dev/virtualNetworkLinksGetSample.js.map +0 -1
- package/dist-esm/samples-dev/virtualNetworkLinksListSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualNetworkLinksListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualNetworkLinksListSample.js +0 -52
- package/dist-esm/samples-dev/virtualNetworkLinksListSample.js.map +0 -1
- package/dist-esm/samples-dev/virtualNetworkLinksUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualNetworkLinksUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualNetworkLinksUpdateSample.js +0 -35
- package/dist-esm/samples-dev/virtualNetworkLinksUpdateSample.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.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/index.d.ts +0 -4
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/privateZones.d.ts.map +0 -1
- package/dist-esm/src/operations/privateZones.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/virtualNetworkLinks.d.ts.map +0 -1
- package/dist-esm/src/operations/virtualNetworkLinks.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -4
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateZones.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateZones.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/virtualNetworkLinks.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/src/privateDnsManagementClient.d.ts.map +0 -1
- package/dist-esm/src/privateDnsManagementClient.js.map +0 -1
- package/dist-esm/test/privatedns_operations_test.spec.d.ts +0 -4
- package/dist-esm/test/privatedns_operations_test.spec.d.ts.map +0 -1
- package/dist-esm/test/privatedns_operations_test.spec.js +0 -112
- package/dist-esm/test/privatedns_operations_test.spec.js.map +0 -1
- package/src/lroImpl.ts +0 -38
- package/src/models/index.ts +0 -576
- package/src/models/mappers.ts +0 -663
- package/src/models/parameters.ts +0 -201
- package/src/operations/privateZones.ts +0 -720
- package/src/operations/recordSets.ts +0 -617
- package/src/operations/virtualNetworkLinks.ts +0 -654
- package/src/operationsInterfaces/index.ts +0 -11
- package/src/operationsInterfaces/privateZones.ts +0 -145
- package/src/operationsInterfaces/recordSets.ts +0 -117
- package/src/operationsInterfaces/virtualNetworkLinks.ts +0 -150
- package/src/pagingHelper.ts +0 -39
- package/src/privateDnsManagementClient.ts +0 -154
- package/tsconfig.json +0 -33
- package/types/arm-privatedns.d.ts +0 -794
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.js +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/mappers.js +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/privateZones.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/recordSets.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/virtualNetworkLinks.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/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
const tslib_1 = require("tslib");
|
|
11
|
+
tslib_1.__exportStar(require("./privateZones.js"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./virtualNetworkLinks.js"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./recordSets.js"), exports);
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,4DAAkC;AAClC,mEAAyC;AACzC,0DAAgC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./privateZones.js\";\nexport * from \"./virtualNetworkLinks.js\";\nexport * from \"./recordSets.js\";\n"]}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
3
|
+
import { PrivateZone, PrivateZonesListOptionalParams, PrivateZonesListByResourceGroupOptionalParams, PrivateZonesCreateOrUpdateOptionalParams, PrivateZonesCreateOrUpdateResponse, PrivateZonesUpdateOptionalParams, PrivateZonesUpdateResponse, PrivateZonesDeleteOptionalParams, PrivateZonesGetOptionalParams, PrivateZonesGetResponse } from "../models/index.js";
|
|
4
|
+
/** Interface representing a PrivateZones. */
|
|
5
|
+
export interface PrivateZones {
|
|
6
|
+
/**
|
|
7
|
+
* Lists the Private DNS zones in all resource groups in a subscription.
|
|
8
|
+
* @param options The options parameters.
|
|
9
|
+
*/
|
|
10
|
+
list(options?: PrivateZonesListOptionalParams): PagedAsyncIterableIterator<PrivateZone>;
|
|
11
|
+
/**
|
|
12
|
+
* Lists the Private DNS zones within a resource group.
|
|
13
|
+
* @param resourceGroupName The name of the resource group.
|
|
14
|
+
* @param options The options parameters.
|
|
15
|
+
*/
|
|
16
|
+
listByResourceGroup(resourceGroupName: string, options?: PrivateZonesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<PrivateZone>;
|
|
17
|
+
/**
|
|
18
|
+
* Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records
|
|
19
|
+
* within the zone.
|
|
20
|
+
* @param resourceGroupName The name of the resource group.
|
|
21
|
+
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
22
|
+
* @param parameters Parameters supplied to the CreateOrUpdate operation.
|
|
23
|
+
* @param options The options parameters.
|
|
24
|
+
*/
|
|
25
|
+
beginCreateOrUpdate(resourceGroupName: string, privateZoneName: string, parameters: PrivateZone, options?: PrivateZonesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateZonesCreateOrUpdateResponse>, PrivateZonesCreateOrUpdateResponse>>;
|
|
26
|
+
/**
|
|
27
|
+
* Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records
|
|
28
|
+
* within the zone.
|
|
29
|
+
* @param resourceGroupName The name of the resource group.
|
|
30
|
+
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
31
|
+
* @param parameters Parameters supplied to the CreateOrUpdate operation.
|
|
32
|
+
* @param options The options parameters.
|
|
33
|
+
*/
|
|
34
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, privateZoneName: string, parameters: PrivateZone, options?: PrivateZonesCreateOrUpdateOptionalParams): Promise<PrivateZonesCreateOrUpdateResponse>;
|
|
35
|
+
/**
|
|
36
|
+
* Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.
|
|
37
|
+
* @param resourceGroupName The name of the resource group.
|
|
38
|
+
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
39
|
+
* @param parameters Parameters supplied to the Update operation.
|
|
40
|
+
* @param options The options parameters.
|
|
41
|
+
*/
|
|
42
|
+
beginUpdate(resourceGroupName: string, privateZoneName: string, parameters: PrivateZone, options?: PrivateZonesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateZonesUpdateResponse>, PrivateZonesUpdateResponse>>;
|
|
43
|
+
/**
|
|
44
|
+
* Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.
|
|
45
|
+
* @param resourceGroupName The name of the resource group.
|
|
46
|
+
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
47
|
+
* @param parameters Parameters supplied to the Update operation.
|
|
48
|
+
* @param options The options parameters.
|
|
49
|
+
*/
|
|
50
|
+
beginUpdateAndWait(resourceGroupName: string, privateZoneName: string, parameters: PrivateZone, options?: PrivateZonesUpdateOptionalParams): Promise<PrivateZonesUpdateResponse>;
|
|
51
|
+
/**
|
|
52
|
+
* Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This
|
|
53
|
+
* operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to
|
|
54
|
+
* it are removed.
|
|
55
|
+
* @param resourceGroupName The name of the resource group.
|
|
56
|
+
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
57
|
+
* @param options The options parameters.
|
|
58
|
+
*/
|
|
59
|
+
beginDelete(resourceGroupName: string, privateZoneName: string, options?: PrivateZonesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
60
|
+
/**
|
|
61
|
+
* Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This
|
|
62
|
+
* operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to
|
|
63
|
+
* it are removed.
|
|
64
|
+
* @param resourceGroupName The name of the resource group.
|
|
65
|
+
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
66
|
+
* @param options The options parameters.
|
|
67
|
+
*/
|
|
68
|
+
beginDeleteAndWait(resourceGroupName: string, privateZoneName: string, options?: PrivateZonesDeleteOptionalParams): Promise<void>;
|
|
69
|
+
/**
|
|
70
|
+
* Gets a Private DNS zone. Retrieves the zone properties, but not the virtual networks links or the
|
|
71
|
+
* record sets within the zone.
|
|
72
|
+
* @param resourceGroupName The name of the resource group.
|
|
73
|
+
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
74
|
+
* @param options The options parameters.
|
|
75
|
+
*/
|
|
76
|
+
get(resourceGroupName: string, privateZoneName: string, options?: PrivateZonesGetOptionalParams): Promise<PrivateZonesGetResponse>;
|
|
77
|
+
}
|
|
78
|
+
//# sourceMappingURL=privateZones.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateZones.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateZones.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,WAAW,EACX,8BAA8B,EAC9B,6CAA6C,EAC7C,wCAAwC,EACxC,kCAAkC,EAClC,gCAAgC,EAChC,0BAA0B,EAC1B,gCAAgC,EAChC,6BAA6B,EAC7B,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAG5B,6CAA6C;AAC7C,MAAM,WAAW,YAAY;IAC3B;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,8BAA8B,GACvC,0BAA0B,CAAC,WAAW,CAAC,CAAC;IAC3C;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,6CAA6C,GACtD,0BAA0B,CAAC,WAAW,CAAC,CAAC;IAC3C;;;;;;;OAOG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,WAAW,EACvB,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,kCAAkC,CAAC,EAClD,kCAAkC,CACnC,CACF,CAAC;IACF;;;;;;;OAOG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,WAAW,EACvB,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kCAAkC,CAAC,CAAC;IAC/C;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,WAAW,EACvB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,0BAA0B,CAAC,EAC1C,0BAA0B,CAC3B,CACF,CAAC;IACF;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,WAAW,EACvB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACzD;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,CAAC;CACrC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
//# sourceMappingURL=privateZones.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateZones.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateZones.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 { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n PrivateZone,\n PrivateZonesListOptionalParams,\n PrivateZonesListByResourceGroupOptionalParams,\n PrivateZonesCreateOrUpdateOptionalParams,\n PrivateZonesCreateOrUpdateResponse,\n PrivateZonesUpdateOptionalParams,\n PrivateZonesUpdateResponse,\n PrivateZonesDeleteOptionalParams,\n PrivateZonesGetOptionalParams,\n PrivateZonesGetResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a PrivateZones. */\nexport interface PrivateZones {\n /**\n * Lists the Private DNS zones in all resource groups in a subscription.\n * @param options The options parameters.\n */\n list(\n options?: PrivateZonesListOptionalParams,\n ): PagedAsyncIterableIterator<PrivateZone>;\n /**\n * Lists the Private DNS zones within a resource group.\n * @param resourceGroupName The name of the resource group.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: PrivateZonesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<PrivateZone>;\n /**\n * Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records\n * within the zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param parameters Parameters supplied to the CreateOrUpdate operation.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n privateZoneName: string,\n parameters: PrivateZone,\n options?: PrivateZonesCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateZonesCreateOrUpdateResponse>,\n PrivateZonesCreateOrUpdateResponse\n >\n >;\n /**\n * Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records\n * within the zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param parameters Parameters supplied to the CreateOrUpdate operation.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n privateZoneName: string,\n parameters: PrivateZone,\n options?: PrivateZonesCreateOrUpdateOptionalParams,\n ): Promise<PrivateZonesCreateOrUpdateResponse>;\n /**\n * Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param parameters Parameters supplied to the Update operation.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n privateZoneName: string,\n parameters: PrivateZone,\n options?: PrivateZonesUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateZonesUpdateResponse>,\n PrivateZonesUpdateResponse\n >\n >;\n /**\n * Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param parameters Parameters supplied to the Update operation.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n privateZoneName: string,\n parameters: PrivateZone,\n options?: PrivateZonesUpdateOptionalParams,\n ): Promise<PrivateZonesUpdateResponse>;\n /**\n * Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This\n * operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to\n * it are removed.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n privateZoneName: string,\n options?: PrivateZonesDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This\n * operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to\n * it are removed.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n privateZoneName: string,\n options?: PrivateZonesDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Gets a Private DNS zone. Retrieves the zone properties, but not the virtual networks links or the\n * record sets within the zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n privateZoneName: string,\n options?: PrivateZonesGetOptionalParams,\n ): Promise<PrivateZonesGetResponse>;\n}\n"]}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { RecordSet, RecordType, RecordSetsListByTypeOptionalParams, RecordSetsListOptionalParams, RecordSetsCreateOrUpdateOptionalParams, RecordSetsCreateOrUpdateResponse, RecordSetsUpdateOptionalParams, RecordSetsUpdateResponse, RecordSetsDeleteOptionalParams, RecordSetsGetOptionalParams, RecordSetsGetResponse } from "../models/index.js";
|
|
3
|
+
/** Interface representing a RecordSets. */
|
|
4
|
+
export interface RecordSets {
|
|
5
|
+
/**
|
|
6
|
+
* Lists the record sets of a specified type in a Private DNS zone.
|
|
7
|
+
* @param resourceGroupName The name of the resource group.
|
|
8
|
+
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
9
|
+
* @param recordType The type of record sets to enumerate.
|
|
10
|
+
* @param options The options parameters.
|
|
11
|
+
*/
|
|
12
|
+
listByType(resourceGroupName: string, privateZoneName: string, recordType: RecordType, options?: RecordSetsListByTypeOptionalParams): PagedAsyncIterableIterator<RecordSet>;
|
|
13
|
+
/**
|
|
14
|
+
* Lists all record sets in a Private DNS zone.
|
|
15
|
+
* @param resourceGroupName The name of the resource group.
|
|
16
|
+
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
list(resourceGroupName: string, privateZoneName: string, options?: RecordSetsListOptionalParams): PagedAsyncIterableIterator<RecordSet>;
|
|
20
|
+
/**
|
|
21
|
+
* Creates or updates a record set within a Private DNS zone.
|
|
22
|
+
* @param resourceGroupName The name of the resource group.
|
|
23
|
+
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
24
|
+
* @param recordType The type of DNS record in this record set. Record sets of type SOA can be updated
|
|
25
|
+
* but not created (they are created when the Private DNS zone is created).
|
|
26
|
+
* @param relativeRecordSetName The name of the record set, relative to the name of the zone.
|
|
27
|
+
* @param parameters Parameters supplied to the CreateOrUpdate operation.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
createOrUpdate(resourceGroupName: string, privateZoneName: string, recordType: RecordType, relativeRecordSetName: string, parameters: RecordSet, options?: RecordSetsCreateOrUpdateOptionalParams): Promise<RecordSetsCreateOrUpdateResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* Updates a record set within a Private DNS zone.
|
|
33
|
+
* @param resourceGroupName The name of the resource group.
|
|
34
|
+
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
35
|
+
* @param recordType The type of DNS record in this record set.
|
|
36
|
+
* @param relativeRecordSetName The name of the record set, relative to the name of the zone.
|
|
37
|
+
* @param parameters Parameters supplied to the Update operation.
|
|
38
|
+
* @param options The options parameters.
|
|
39
|
+
*/
|
|
40
|
+
update(resourceGroupName: string, privateZoneName: string, recordType: RecordType, relativeRecordSetName: string, parameters: RecordSet, options?: RecordSetsUpdateOptionalParams): Promise<RecordSetsUpdateResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* Deletes a record set from a Private DNS zone. This operation cannot be undone.
|
|
43
|
+
* @param resourceGroupName The name of the resource group.
|
|
44
|
+
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
45
|
+
* @param recordType The type of DNS record in this record set. Record sets of type SOA cannot be
|
|
46
|
+
* deleted (they are deleted when the Private DNS zone is deleted).
|
|
47
|
+
* @param relativeRecordSetName The name of the record set, relative to the name of the zone.
|
|
48
|
+
* @param options The options parameters.
|
|
49
|
+
*/
|
|
50
|
+
delete(resourceGroupName: string, privateZoneName: string, recordType: RecordType, relativeRecordSetName: string, options?: RecordSetsDeleteOptionalParams): Promise<void>;
|
|
51
|
+
/**
|
|
52
|
+
* Gets a record set.
|
|
53
|
+
* @param resourceGroupName The name of the resource group.
|
|
54
|
+
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
55
|
+
* @param recordType The type of DNS record in this record set.
|
|
56
|
+
* @param relativeRecordSetName The name of the record set, relative to the name of the zone.
|
|
57
|
+
* @param options The options parameters.
|
|
58
|
+
*/
|
|
59
|
+
get(resourceGroupName: string, privateZoneName: string, recordType: RecordType, relativeRecordSetName: string, options?: RecordSetsGetOptionalParams): Promise<RecordSetsGetResponse>;
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=recordSets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recordSets.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/recordSets.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,SAAS,EACT,UAAU,EACV,kCAAkC,EAClC,4BAA4B,EAC5B,sCAAsC,EACtC,gCAAgC,EAChC,8BAA8B,EAC9B,wBAAwB,EACxB,8BAA8B,EAC9B,2BAA2B,EAC3B,qBAAqB,EACtB,MAAM,oBAAoB,CAAC;AAG5B,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;;;;OAMG;IACH,UAAU,CACR,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,0BAA0B,CAAC,SAAS,CAAC,CAAC;IACzC;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;IACzC;;;;;;;;;OASG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,UAAU,EACtB,qBAAqB,EAAE,MAAM,EAC7B,UAAU,EAAE,SAAS,EACrB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAC7C;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,UAAU,EACtB,qBAAqB,EAAE,MAAM,EAC7B,UAAU,EAAE,SAAS,EACrB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;IACrC;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,UAAU,EACtB,qBAAqB,EAAE,MAAM,EAC7B,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,UAAU,EACtB,qBAAqB,EAAE,MAAM,EAC7B,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC,CAAC;CACnC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
//# sourceMappingURL=recordSets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recordSets.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/recordSets.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 { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n RecordSet,\n RecordType,\n RecordSetsListByTypeOptionalParams,\n RecordSetsListOptionalParams,\n RecordSetsCreateOrUpdateOptionalParams,\n RecordSetsCreateOrUpdateResponse,\n RecordSetsUpdateOptionalParams,\n RecordSetsUpdateResponse,\n RecordSetsDeleteOptionalParams,\n RecordSetsGetOptionalParams,\n RecordSetsGetResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a RecordSets. */\nexport interface RecordSets {\n /**\n * Lists the record sets of a specified type in a Private DNS zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param recordType The type of record sets to enumerate.\n * @param options The options parameters.\n */\n listByType(\n resourceGroupName: string,\n privateZoneName: string,\n recordType: RecordType,\n options?: RecordSetsListByTypeOptionalParams,\n ): PagedAsyncIterableIterator<RecordSet>;\n /**\n * Lists all record sets in a Private DNS zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n privateZoneName: string,\n options?: RecordSetsListOptionalParams,\n ): PagedAsyncIterableIterator<RecordSet>;\n /**\n * Creates or updates a record set within a Private DNS zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\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 Private DNS zone is created).\n * @param relativeRecordSetName The name of the record set, relative to the name of the zone.\n * @param parameters Parameters supplied to the CreateOrUpdate operation.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n privateZoneName: string,\n recordType: RecordType,\n relativeRecordSetName: string,\n parameters: RecordSet,\n options?: RecordSetsCreateOrUpdateOptionalParams,\n ): Promise<RecordSetsCreateOrUpdateResponse>;\n /**\n * Updates a record set within a Private DNS zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param recordType The type of DNS record in this record set.\n * @param relativeRecordSetName The name of the record set, relative to the name of the zone.\n * @param parameters Parameters supplied to the Update operation.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n privateZoneName: string,\n recordType: RecordType,\n relativeRecordSetName: string,\n parameters: RecordSet,\n options?: RecordSetsUpdateOptionalParams,\n ): Promise<RecordSetsUpdateResponse>;\n /**\n * Deletes a record set from a Private DNS zone. This operation cannot be undone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\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 Private DNS zone is deleted).\n * @param relativeRecordSetName The name of the record set, relative to the name of the zone.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n privateZoneName: string,\n recordType: RecordType,\n relativeRecordSetName: string,\n options?: RecordSetsDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Gets a record set.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param recordType The type of DNS record in this record set.\n * @param relativeRecordSetName The name of the record set, relative to the name of the zone.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n privateZoneName: string,\n recordType: RecordType,\n relativeRecordSetName: string,\n options?: RecordSetsGetOptionalParams,\n ): Promise<RecordSetsGetResponse>;\n}\n"]}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
3
|
+
import { VirtualNetworkLink, VirtualNetworkLinksListOptionalParams, VirtualNetworkLinksCreateOrUpdateOptionalParams, VirtualNetworkLinksCreateOrUpdateResponse, VirtualNetworkLinksUpdateOptionalParams, VirtualNetworkLinksUpdateResponse, VirtualNetworkLinksDeleteOptionalParams, VirtualNetworkLinksGetOptionalParams, VirtualNetworkLinksGetResponse } from "../models/index.js";
|
|
4
|
+
/** Interface representing a VirtualNetworkLinks. */
|
|
5
|
+
export interface VirtualNetworkLinks {
|
|
6
|
+
/**
|
|
7
|
+
* Lists the virtual network links to the specified Private DNS zone.
|
|
8
|
+
* @param resourceGroupName The name of the resource group.
|
|
9
|
+
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
10
|
+
* @param options The options parameters.
|
|
11
|
+
*/
|
|
12
|
+
list(resourceGroupName: string, privateZoneName: string, options?: VirtualNetworkLinksListOptionalParams): PagedAsyncIterableIterator<VirtualNetworkLink>;
|
|
13
|
+
/**
|
|
14
|
+
* Creates or updates a virtual network link to the specified Private DNS zone.
|
|
15
|
+
* @param resourceGroupName The name of the resource group.
|
|
16
|
+
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
17
|
+
* @param virtualNetworkLinkName The name of the virtual network link.
|
|
18
|
+
* @param parameters Parameters supplied to the CreateOrUpdate operation.
|
|
19
|
+
* @param options The options parameters.
|
|
20
|
+
*/
|
|
21
|
+
beginCreateOrUpdate(resourceGroupName: string, privateZoneName: string, virtualNetworkLinkName: string, parameters: VirtualNetworkLink, options?: VirtualNetworkLinksCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualNetworkLinksCreateOrUpdateResponse>, VirtualNetworkLinksCreateOrUpdateResponse>>;
|
|
22
|
+
/**
|
|
23
|
+
* Creates or updates a virtual network link to the specified Private DNS zone.
|
|
24
|
+
* @param resourceGroupName The name of the resource group.
|
|
25
|
+
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
26
|
+
* @param virtualNetworkLinkName The name of the virtual network link.
|
|
27
|
+
* @param parameters Parameters supplied to the CreateOrUpdate operation.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, privateZoneName: string, virtualNetworkLinkName: string, parameters: VirtualNetworkLink, options?: VirtualNetworkLinksCreateOrUpdateOptionalParams): Promise<VirtualNetworkLinksCreateOrUpdateResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* Updates a virtual network link to the specified Private DNS zone.
|
|
33
|
+
* @param resourceGroupName The name of the resource group.
|
|
34
|
+
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
35
|
+
* @param virtualNetworkLinkName The name of the virtual network link.
|
|
36
|
+
* @param parameters Parameters supplied to the Update operation.
|
|
37
|
+
* @param options The options parameters.
|
|
38
|
+
*/
|
|
39
|
+
beginUpdate(resourceGroupName: string, privateZoneName: string, virtualNetworkLinkName: string, parameters: VirtualNetworkLink, options?: VirtualNetworkLinksUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualNetworkLinksUpdateResponse>, VirtualNetworkLinksUpdateResponse>>;
|
|
40
|
+
/**
|
|
41
|
+
* Updates a virtual network link to the specified Private DNS zone.
|
|
42
|
+
* @param resourceGroupName The name of the resource group.
|
|
43
|
+
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
44
|
+
* @param virtualNetworkLinkName The name of the virtual network link.
|
|
45
|
+
* @param parameters Parameters supplied to the Update operation.
|
|
46
|
+
* @param options The options parameters.
|
|
47
|
+
*/
|
|
48
|
+
beginUpdateAndWait(resourceGroupName: string, privateZoneName: string, virtualNetworkLinkName: string, parameters: VirtualNetworkLink, options?: VirtualNetworkLinksUpdateOptionalParams): Promise<VirtualNetworkLinksUpdateResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* Deletes a virtual network link to the specified Private DNS zone. WARNING: In case of a registration
|
|
51
|
+
* virtual network, all auto-registered DNS records in the zone for the virtual network will also be
|
|
52
|
+
* deleted. This operation cannot be undone.
|
|
53
|
+
* @param resourceGroupName The name of the resource group.
|
|
54
|
+
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
55
|
+
* @param virtualNetworkLinkName The name of the virtual network link.
|
|
56
|
+
* @param options The options parameters.
|
|
57
|
+
*/
|
|
58
|
+
beginDelete(resourceGroupName: string, privateZoneName: string, virtualNetworkLinkName: string, options?: VirtualNetworkLinksDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
59
|
+
/**
|
|
60
|
+
* Deletes a virtual network link to the specified Private DNS zone. WARNING: In case of a registration
|
|
61
|
+
* virtual network, all auto-registered DNS records in the zone for the virtual network will also be
|
|
62
|
+
* deleted. This operation cannot be undone.
|
|
63
|
+
* @param resourceGroupName The name of the resource group.
|
|
64
|
+
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
65
|
+
* @param virtualNetworkLinkName The name of the virtual network link.
|
|
66
|
+
* @param options The options parameters.
|
|
67
|
+
*/
|
|
68
|
+
beginDeleteAndWait(resourceGroupName: string, privateZoneName: string, virtualNetworkLinkName: string, options?: VirtualNetworkLinksDeleteOptionalParams): Promise<void>;
|
|
69
|
+
/**
|
|
70
|
+
* Gets a virtual network link to the specified Private DNS zone.
|
|
71
|
+
* @param resourceGroupName The name of the resource group.
|
|
72
|
+
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
73
|
+
* @param virtualNetworkLinkName The name of the virtual network link.
|
|
74
|
+
* @param options The options parameters.
|
|
75
|
+
*/
|
|
76
|
+
get(resourceGroupName: string, privateZoneName: string, virtualNetworkLinkName: string, options?: VirtualNetworkLinksGetOptionalParams): Promise<VirtualNetworkLinksGetResponse>;
|
|
77
|
+
}
|
|
78
|
+
//# sourceMappingURL=virtualNetworkLinks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"virtualNetworkLinks.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/virtualNetworkLinks.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,kBAAkB,EAClB,qCAAqC,EACrC,+CAA+C,EAC/C,yCAAyC,EACzC,uCAAuC,EACvC,iCAAiC,EACjC,uCAAuC,EACvC,oCAAoC,EACpC,8BAA8B,EAC/B,MAAM,oBAAoB,CAAC;AAG5B,oDAAoD;AACpD,MAAM,WAAW,mBAAmB;IAClC;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;IAClD;;;;;;;OAOG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,sBAAsB,EAAE,MAAM,EAC9B,UAAU,EAAE,kBAAkB,EAC9B,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,yCAAyC,CAAC,EACzD,yCAAyC,CAC1C,CACF,CAAC;IACF;;;;;;;OAOG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,sBAAsB,EAAE,MAAM,EAC9B,UAAU,EAAE,kBAAkB,EAC9B,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC,CAAC;IACtD;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,sBAAsB,EAAE,MAAM,EAC9B,UAAU,EAAE,kBAAkB,EAC9B,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,iCAAiC,CAAC,EACjD,iCAAiC,CAClC,CACF,CAAC;IACF;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,sBAAsB,EAAE,MAAM,EAC9B,UAAU,EAAE,kBAAkB,EAC9B,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC,CAAC;IAC9C;;;;;;;;OAQG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACzD;;;;;;;;OAQG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC,CAAC;CAC5C"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
//# sourceMappingURL=virtualNetworkLinks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"virtualNetworkLinks.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/virtualNetworkLinks.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 { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n VirtualNetworkLink,\n VirtualNetworkLinksListOptionalParams,\n VirtualNetworkLinksCreateOrUpdateOptionalParams,\n VirtualNetworkLinksCreateOrUpdateResponse,\n VirtualNetworkLinksUpdateOptionalParams,\n VirtualNetworkLinksUpdateResponse,\n VirtualNetworkLinksDeleteOptionalParams,\n VirtualNetworkLinksGetOptionalParams,\n VirtualNetworkLinksGetResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a VirtualNetworkLinks. */\nexport interface VirtualNetworkLinks {\n /**\n * Lists the virtual network links to the specified Private DNS zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n privateZoneName: string,\n options?: VirtualNetworkLinksListOptionalParams,\n ): PagedAsyncIterableIterator<VirtualNetworkLink>;\n /**\n * Creates or updates a virtual network link to the specified Private DNS zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param virtualNetworkLinkName The name of the virtual network link.\n * @param parameters Parameters supplied to the CreateOrUpdate operation.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n privateZoneName: string,\n virtualNetworkLinkName: string,\n parameters: VirtualNetworkLink,\n options?: VirtualNetworkLinksCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<VirtualNetworkLinksCreateOrUpdateResponse>,\n VirtualNetworkLinksCreateOrUpdateResponse\n >\n >;\n /**\n * Creates or updates a virtual network link to the specified Private DNS zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param virtualNetworkLinkName The name of the virtual network link.\n * @param parameters Parameters supplied to the CreateOrUpdate operation.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n privateZoneName: string,\n virtualNetworkLinkName: string,\n parameters: VirtualNetworkLink,\n options?: VirtualNetworkLinksCreateOrUpdateOptionalParams,\n ): Promise<VirtualNetworkLinksCreateOrUpdateResponse>;\n /**\n * Updates a virtual network link to the specified Private DNS zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param virtualNetworkLinkName The name of the virtual network link.\n * @param parameters Parameters supplied to the Update operation.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n privateZoneName: string,\n virtualNetworkLinkName: string,\n parameters: VirtualNetworkLink,\n options?: VirtualNetworkLinksUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<VirtualNetworkLinksUpdateResponse>,\n VirtualNetworkLinksUpdateResponse\n >\n >;\n /**\n * Updates a virtual network link to the specified Private DNS zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param virtualNetworkLinkName The name of the virtual network link.\n * @param parameters Parameters supplied to the Update operation.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n privateZoneName: string,\n virtualNetworkLinkName: string,\n parameters: VirtualNetworkLink,\n options?: VirtualNetworkLinksUpdateOptionalParams,\n ): Promise<VirtualNetworkLinksUpdateResponse>;\n /**\n * Deletes a virtual network link to the specified Private DNS zone. WARNING: In case of a registration\n * virtual network, all auto-registered DNS records in the zone for the virtual network will also be\n * deleted. This operation cannot be undone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param virtualNetworkLinkName The name of the virtual network link.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n privateZoneName: string,\n virtualNetworkLinkName: string,\n options?: VirtualNetworkLinksDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Deletes a virtual network link to the specified Private DNS zone. WARNING: In case of a registration\n * virtual network, all auto-registered DNS records in the zone for the virtual network will also be\n * deleted. This operation cannot be undone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param virtualNetworkLinkName The name of the virtual network link.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n privateZoneName: string,\n virtualNetworkLinkName: string,\n options?: VirtualNetworkLinksDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Gets a virtual network link to the specified Private DNS zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param virtualNetworkLinkName The name of the virtual network link.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n privateZoneName: string,\n virtualNetworkLinkName: string,\n options?: VirtualNetworkLinksGetOptionalParams,\n ): Promise<VirtualNetworkLinksGetResponse>;\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface PageInfo {
|
|
2
|
+
continuationToken?: string;
|
|
3
|
+
}
|
|
4
|
+
/**
|
|
5
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
6
|
+
* returns a continuation token that can be used to begin paging from
|
|
7
|
+
* that point later.
|
|
8
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
9
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
10
|
+
*/
|
|
11
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
12
|
+
export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
|
|
13
|
+
//# sourceMappingURL=pagingHelper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.getContinuationToken = getContinuationToken;
|
|
11
|
+
exports.setContinuationToken = setContinuationToken;
|
|
12
|
+
const pageMap = new WeakMap();
|
|
13
|
+
/**
|
|
14
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
15
|
+
* returns a continuation token that can be used to begin paging from
|
|
16
|
+
* that point later.
|
|
17
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
18
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
19
|
+
*/
|
|
20
|
+
function getContinuationToken(page) {
|
|
21
|
+
var _a;
|
|
22
|
+
if (typeof page !== "object" || page === null) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
|
26
|
+
}
|
|
27
|
+
function setContinuationToken(page, continuationToken) {
|
|
28
|
+
var _a;
|
|
29
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
|
|
33
|
+
pageInfo.continuationToken = continuationToken;
|
|
34
|
+
pageMap.set(page, pageInfo);
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=pagingHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAeH,oDAKC;AAED,oDAUC;AA1BD,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,SAAgB,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,SAAgB,oBAAoB,CAClC,IAAa,EACb,iBAAqC;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined,\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
import * as coreAuth from "@azure/core-auth";
|
|
3
|
+
import { PrivateZones, VirtualNetworkLinks, RecordSets } from "./operationsInterfaces/index.js";
|
|
4
|
+
import { PrivateDnsManagementClientOptionalParams } from "./models/index.js";
|
|
5
|
+
export declare class PrivateDnsManagementClient extends coreClient.ServiceClient {
|
|
6
|
+
$host: string;
|
|
7
|
+
apiVersion: string;
|
|
8
|
+
subscriptionId: string;
|
|
9
|
+
/**
|
|
10
|
+
* Initializes a new instance of the PrivateDnsManagementClient class.
|
|
11
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
12
|
+
* @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure
|
|
13
|
+
* subscription. The subscription ID forms part of the URI for every service call.
|
|
14
|
+
* @param options The parameter options
|
|
15
|
+
*/
|
|
16
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: PrivateDnsManagementClientOptionalParams);
|
|
17
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
18
|
+
private addCustomApiVersionPolicy;
|
|
19
|
+
privateZones: PrivateZones;
|
|
20
|
+
virtualNetworkLinks: VirtualNetworkLinks;
|
|
21
|
+
recordSets: RecordSets;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=privateDnsManagementClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateDnsManagementClient.d.ts","sourceRoot":"","sources":["../../src/privateDnsManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAM7C,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,UAAU,EACX,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,wCAAwC,EAAE,MAAM,mBAAmB,CAAC;AAE7E,qBAAa,0BAA2B,SAAQ,UAAU,CAAC,aAAa;IACtE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;;OAMG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,wCAAwC;IA+EpD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,YAAY,EAAE,YAAY,CAAC;IAC3B,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,UAAU,EAAE,UAAU,CAAC;CACxB"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.PrivateDnsManagementClient = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
13
|
+
const coreRestPipeline = tslib_1.__importStar(require("@azure/core-rest-pipeline"));
|
|
14
|
+
const index_js_1 = require("./operations/index.js");
|
|
15
|
+
class PrivateDnsManagementClient extends coreClient.ServiceClient {
|
|
16
|
+
/**
|
|
17
|
+
* Initializes a new instance of the PrivateDnsManagementClient class.
|
|
18
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
19
|
+
* @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure
|
|
20
|
+
* subscription. The subscription ID forms part of the URI for every service call.
|
|
21
|
+
* @param options The parameter options
|
|
22
|
+
*/
|
|
23
|
+
constructor(credentials, subscriptionId, options) {
|
|
24
|
+
var _a, _b, _c;
|
|
25
|
+
if (credentials === undefined) {
|
|
26
|
+
throw new Error("'credentials' cannot be null");
|
|
27
|
+
}
|
|
28
|
+
if (subscriptionId === undefined) {
|
|
29
|
+
throw new Error("'subscriptionId' cannot be null");
|
|
30
|
+
}
|
|
31
|
+
// Initializing default values for options
|
|
32
|
+
if (!options) {
|
|
33
|
+
options = {};
|
|
34
|
+
}
|
|
35
|
+
const defaults = {
|
|
36
|
+
requestContentType: "application/json; charset=utf-8",
|
|
37
|
+
credential: credentials,
|
|
38
|
+
};
|
|
39
|
+
const packageDetails = `azsdk-js-arm-privatedns/3.3.1`;
|
|
40
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
41
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
42
|
+
: `${packageDetails}`;
|
|
43
|
+
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
44
|
+
userAgentPrefix,
|
|
45
|
+
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
46
|
+
super(optionsWithDefaults);
|
|
47
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
|
48
|
+
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
49
|
+
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
50
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
51
|
+
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
52
|
+
}
|
|
53
|
+
if (!options ||
|
|
54
|
+
!options.pipeline ||
|
|
55
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
56
|
+
!bearerTokenAuthenticationPolicyFound) {
|
|
57
|
+
this.pipeline.removePolicy({
|
|
58
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
|
|
59
|
+
});
|
|
60
|
+
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
61
|
+
credential: credentials,
|
|
62
|
+
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
63
|
+
challengeCallbacks: {
|
|
64
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
|
65
|
+
},
|
|
66
|
+
}));
|
|
67
|
+
}
|
|
68
|
+
// Parameter assignments
|
|
69
|
+
this.subscriptionId = subscriptionId;
|
|
70
|
+
// Assigning values to Constant parameters
|
|
71
|
+
this.$host = options.$host || "https://management.azure.com";
|
|
72
|
+
this.apiVersion = options.apiVersion || "2024-06-01";
|
|
73
|
+
this.privateZones = new index_js_1.PrivateZonesImpl(this);
|
|
74
|
+
this.virtualNetworkLinks = new index_js_1.VirtualNetworkLinksImpl(this);
|
|
75
|
+
this.recordSets = new index_js_1.RecordSetsImpl(this);
|
|
76
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
77
|
+
}
|
|
78
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
79
|
+
addCustomApiVersionPolicy(apiVersion) {
|
|
80
|
+
if (!apiVersion) {
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
const apiVersionPolicy = {
|
|
84
|
+
name: "CustomApiVersionPolicy",
|
|
85
|
+
async sendRequest(request, next) {
|
|
86
|
+
const param = request.url.split("?");
|
|
87
|
+
if (param.length > 1) {
|
|
88
|
+
const newParams = param[1].split("&").map((item) => {
|
|
89
|
+
if (item.indexOf("api-version") > -1) {
|
|
90
|
+
return "api-version=" + apiVersion;
|
|
91
|
+
}
|
|
92
|
+
else {
|
|
93
|
+
return item;
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
request.url = param[0] + "?" + newParams.join("&");
|
|
97
|
+
}
|
|
98
|
+
return next(request);
|
|
99
|
+
},
|
|
100
|
+
};
|
|
101
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.PrivateDnsManagementClient = PrivateDnsManagementClient;
|
|
105
|
+
//# sourceMappingURL=privateDnsManagementClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateDnsManagementClient.js","sourceRoot":"","sources":["../../src/privateDnsManagementClient.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AACjD,oFAA8D;AAO9D,oDAI+B;AAQ/B,MAAa,0BAA2B,SAAQ,UAAU,CAAC,aAAa;IAKtE;;;;;;OAMG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAkD;;QAElD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAA6C;YACzD,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,+BAA+B,CAAC;QACvD,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,QAAQ,EACN,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAAI,OAAO,CAAC,OAAO,mCAAI,8BAA8B,GACxE,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAE3B,IAAI,oCAAoC,GAAY,KAAK,CAAC;QAC1D,IAAI,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,KAAI,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC1E,MAAM,gBAAgB,GACpB,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC;YACxC,oCAAoC,GAAG,gBAAgB,CAAC,IAAI,CAC1D,CAAC,cAAc,EAAE,EAAE,CACjB,cAAc,CAAC,IAAI;gBACnB,gBAAgB,CAAC,mCAAmC,CACvD,CAAC;QACJ,CAAC;QACD,IACE,CAAC,OAAO;YACR,CAAC,OAAO,CAAC,QAAQ;YACjB,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC,MAAM,IAAI,CAAC;YACjD,CAAC,oCAAoC,EACrC,CAAC;YACD,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC;gBACzB,IAAI,EAAE,gBAAgB,CAAC,mCAAmC;aAC3D,CAAC,CAAC;YACH,IAAI,CAAC,QAAQ,CAAC,SAAS,CACrB,gBAAgB,CAAC,+BAA+B,CAAC;gBAC/C,UAAU,EAAE,WAAW;gBACvB,MAAM,EACJ,MAAA,mBAAmB,CAAC,gBAAgB,mCACpC,GAAG,mBAAmB,CAAC,QAAQ,WAAW;gBAC5C,kBAAkB,EAAE;oBAClB,2BAA2B,EACzB,UAAU,CAAC,gCAAgC;iBAC9C;aACF,CAAC,CACH,CAAC;QACJ,CAAC;QACD,wBAAwB;QACxB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QAErC,0CAA0C;QAC1C,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,8BAA8B,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,YAAY,CAAC;QACrD,IAAI,CAAC,YAAY,GAAG,IAAI,2BAAgB,CAAC,IAAI,CAAC,CAAC;QAC/C,IAAI,CAAC,mBAAmB,GAAG,IAAI,kCAAuB,CAAC,IAAI,CAAC,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,IAAI,yBAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,yBAAyB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IACrD,CAAC;IAED,8GAA8G;IACtG,yBAAyB,CAAC,UAAmB;QACnD,IAAI,CAAC,UAAU,EAAE,CAAC;YAChB,OAAO;QACT,CAAC;QACD,MAAM,gBAAgB,GAAG;YACvB,IAAI,EAAE,wBAAwB;YAC9B,KAAK,CAAC,WAAW,CACf,OAAwB,EACxB,IAAiB;gBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAKF;AA7HD,gEA6HC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n PrivateZonesImpl,\n VirtualNetworkLinksImpl,\n RecordSetsImpl,\n} from \"./operations/index.js\";\nimport {\n PrivateZones,\n VirtualNetworkLinks,\n RecordSets,\n} from \"./operationsInterfaces/index.js\";\nimport { PrivateDnsManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class PrivateDnsManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the PrivateDnsManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure\n * subscription. The subscription ID forms part of the URI for every service call.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: PrivateDnsManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: PrivateDnsManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-privatedns/3.3.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2024-06-01\";\n this.privateZones = new PrivateZonesImpl(this);\n this.virtualNetworkLinks = new VirtualNetworkLinksImpl(this);\n this.recordSets = new RecordSetsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n privateZones: PrivateZones;\n virtualNetworkLinks: VirtualNetworkLinks;\n recordSets: RecordSets;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,cAAc,iCAAiC,CAAC"}
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
8
|
/// <reference lib="esnext.asynciterable" />
|
|
10
|
-
export { getContinuationToken } from "./pagingHelper";
|
|
11
|
-
export * from "./models";
|
|
12
|
-
export { PrivateDnsManagementClient } from "./privateDnsManagementClient";
|
|
13
|
-
export * from "./operationsInterfaces";
|
|
9
|
+
export { getContinuationToken } from "./pagingHelper.js";
|
|
10
|
+
export * from "./models/index.js";
|
|
11
|
+
export { PrivateDnsManagementClient } from "./privateDnsManagementClient.js";
|
|
12
|
+
export * from "./operationsInterfaces/index.js";
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,cAAc,iCAAiC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { PrivateDnsManagementClient } from \"./privateDnsManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
|