@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
|
@@ -1,145 +0,0 @@
|
|
|
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
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
-
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
11
|
-
import {
|
|
12
|
-
PrivateZone,
|
|
13
|
-
PrivateZonesListOptionalParams,
|
|
14
|
-
PrivateZonesListByResourceGroupOptionalParams,
|
|
15
|
-
PrivateZonesCreateOrUpdateOptionalParams,
|
|
16
|
-
PrivateZonesCreateOrUpdateResponse,
|
|
17
|
-
PrivateZonesUpdateOptionalParams,
|
|
18
|
-
PrivateZonesUpdateResponse,
|
|
19
|
-
PrivateZonesDeleteOptionalParams,
|
|
20
|
-
PrivateZonesGetOptionalParams,
|
|
21
|
-
PrivateZonesGetResponse,
|
|
22
|
-
} from "../models";
|
|
23
|
-
|
|
24
|
-
/// <reference lib="esnext.asynciterable" />
|
|
25
|
-
/** Interface representing a PrivateZones. */
|
|
26
|
-
export interface PrivateZones {
|
|
27
|
-
/**
|
|
28
|
-
* Lists the Private DNS zones in all resource groups in a subscription.
|
|
29
|
-
* @param options The options parameters.
|
|
30
|
-
*/
|
|
31
|
-
list(
|
|
32
|
-
options?: PrivateZonesListOptionalParams,
|
|
33
|
-
): PagedAsyncIterableIterator<PrivateZone>;
|
|
34
|
-
/**
|
|
35
|
-
* Lists the Private DNS zones within a resource group.
|
|
36
|
-
* @param resourceGroupName The name of the resource group.
|
|
37
|
-
* @param options The options parameters.
|
|
38
|
-
*/
|
|
39
|
-
listByResourceGroup(
|
|
40
|
-
resourceGroupName: string,
|
|
41
|
-
options?: PrivateZonesListByResourceGroupOptionalParams,
|
|
42
|
-
): PagedAsyncIterableIterator<PrivateZone>;
|
|
43
|
-
/**
|
|
44
|
-
* Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records
|
|
45
|
-
* within the zone.
|
|
46
|
-
* @param resourceGroupName The name of the resource group.
|
|
47
|
-
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
48
|
-
* @param parameters Parameters supplied to the CreateOrUpdate operation.
|
|
49
|
-
* @param options The options parameters.
|
|
50
|
-
*/
|
|
51
|
-
beginCreateOrUpdate(
|
|
52
|
-
resourceGroupName: string,
|
|
53
|
-
privateZoneName: string,
|
|
54
|
-
parameters: PrivateZone,
|
|
55
|
-
options?: PrivateZonesCreateOrUpdateOptionalParams,
|
|
56
|
-
): Promise<
|
|
57
|
-
SimplePollerLike<
|
|
58
|
-
OperationState<PrivateZonesCreateOrUpdateResponse>,
|
|
59
|
-
PrivateZonesCreateOrUpdateResponse
|
|
60
|
-
>
|
|
61
|
-
>;
|
|
62
|
-
/**
|
|
63
|
-
* Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records
|
|
64
|
-
* within the zone.
|
|
65
|
-
* @param resourceGroupName The name of the resource group.
|
|
66
|
-
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
67
|
-
* @param parameters Parameters supplied to the CreateOrUpdate operation.
|
|
68
|
-
* @param options The options parameters.
|
|
69
|
-
*/
|
|
70
|
-
beginCreateOrUpdateAndWait(
|
|
71
|
-
resourceGroupName: string,
|
|
72
|
-
privateZoneName: string,
|
|
73
|
-
parameters: PrivateZone,
|
|
74
|
-
options?: PrivateZonesCreateOrUpdateOptionalParams,
|
|
75
|
-
): Promise<PrivateZonesCreateOrUpdateResponse>;
|
|
76
|
-
/**
|
|
77
|
-
* Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.
|
|
78
|
-
* @param resourceGroupName The name of the resource group.
|
|
79
|
-
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
80
|
-
* @param parameters Parameters supplied to the Update operation.
|
|
81
|
-
* @param options The options parameters.
|
|
82
|
-
*/
|
|
83
|
-
beginUpdate(
|
|
84
|
-
resourceGroupName: string,
|
|
85
|
-
privateZoneName: string,
|
|
86
|
-
parameters: PrivateZone,
|
|
87
|
-
options?: PrivateZonesUpdateOptionalParams,
|
|
88
|
-
): Promise<
|
|
89
|
-
SimplePollerLike<
|
|
90
|
-
OperationState<PrivateZonesUpdateResponse>,
|
|
91
|
-
PrivateZonesUpdateResponse
|
|
92
|
-
>
|
|
93
|
-
>;
|
|
94
|
-
/**
|
|
95
|
-
* Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.
|
|
96
|
-
* @param resourceGroupName The name of the resource group.
|
|
97
|
-
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
98
|
-
* @param parameters Parameters supplied to the Update operation.
|
|
99
|
-
* @param options The options parameters.
|
|
100
|
-
*/
|
|
101
|
-
beginUpdateAndWait(
|
|
102
|
-
resourceGroupName: string,
|
|
103
|
-
privateZoneName: string,
|
|
104
|
-
parameters: PrivateZone,
|
|
105
|
-
options?: PrivateZonesUpdateOptionalParams,
|
|
106
|
-
): Promise<PrivateZonesUpdateResponse>;
|
|
107
|
-
/**
|
|
108
|
-
* Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This
|
|
109
|
-
* operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to
|
|
110
|
-
* it are removed.
|
|
111
|
-
* @param resourceGroupName The name of the resource group.
|
|
112
|
-
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
113
|
-
* @param options The options parameters.
|
|
114
|
-
*/
|
|
115
|
-
beginDelete(
|
|
116
|
-
resourceGroupName: string,
|
|
117
|
-
privateZoneName: string,
|
|
118
|
-
options?: PrivateZonesDeleteOptionalParams,
|
|
119
|
-
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
120
|
-
/**
|
|
121
|
-
* Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This
|
|
122
|
-
* operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to
|
|
123
|
-
* it are removed.
|
|
124
|
-
* @param resourceGroupName The name of the resource group.
|
|
125
|
-
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
126
|
-
* @param options The options parameters.
|
|
127
|
-
*/
|
|
128
|
-
beginDeleteAndWait(
|
|
129
|
-
resourceGroupName: string,
|
|
130
|
-
privateZoneName: string,
|
|
131
|
-
options?: PrivateZonesDeleteOptionalParams,
|
|
132
|
-
): Promise<void>;
|
|
133
|
-
/**
|
|
134
|
-
* Gets a Private DNS zone. Retrieves the zone properties, but not the virtual networks links or the
|
|
135
|
-
* record sets within the zone.
|
|
136
|
-
* @param resourceGroupName The name of the resource group.
|
|
137
|
-
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
138
|
-
* @param options The options parameters.
|
|
139
|
-
*/
|
|
140
|
-
get(
|
|
141
|
-
resourceGroupName: string,
|
|
142
|
-
privateZoneName: string,
|
|
143
|
-
options?: PrivateZonesGetOptionalParams,
|
|
144
|
-
): Promise<PrivateZonesGetResponse>;
|
|
145
|
-
}
|
|
@@ -1,117 +0,0 @@
|
|
|
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
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
-
import {
|
|
11
|
-
RecordSet,
|
|
12
|
-
RecordType,
|
|
13
|
-
RecordSetsListByTypeOptionalParams,
|
|
14
|
-
RecordSetsListOptionalParams,
|
|
15
|
-
RecordSetsCreateOrUpdateOptionalParams,
|
|
16
|
-
RecordSetsCreateOrUpdateResponse,
|
|
17
|
-
RecordSetsUpdateOptionalParams,
|
|
18
|
-
RecordSetsUpdateResponse,
|
|
19
|
-
RecordSetsDeleteOptionalParams,
|
|
20
|
-
RecordSetsGetOptionalParams,
|
|
21
|
-
RecordSetsGetResponse,
|
|
22
|
-
} from "../models";
|
|
23
|
-
|
|
24
|
-
/// <reference lib="esnext.asynciterable" />
|
|
25
|
-
/** Interface representing a RecordSets. */
|
|
26
|
-
export interface RecordSets {
|
|
27
|
-
/**
|
|
28
|
-
* Lists the record sets of a specified type in a Private DNS 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 recordType The type of record sets to enumerate.
|
|
32
|
-
* @param options The options parameters.
|
|
33
|
-
*/
|
|
34
|
-
listByType(
|
|
35
|
-
resourceGroupName: string,
|
|
36
|
-
privateZoneName: string,
|
|
37
|
-
recordType: RecordType,
|
|
38
|
-
options?: RecordSetsListByTypeOptionalParams,
|
|
39
|
-
): PagedAsyncIterableIterator<RecordSet>;
|
|
40
|
-
/**
|
|
41
|
-
* Lists all record sets in a 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 options The options parameters.
|
|
45
|
-
*/
|
|
46
|
-
list(
|
|
47
|
-
resourceGroupName: string,
|
|
48
|
-
privateZoneName: string,
|
|
49
|
-
options?: RecordSetsListOptionalParams,
|
|
50
|
-
): PagedAsyncIterableIterator<RecordSet>;
|
|
51
|
-
/**
|
|
52
|
-
* Creates or updates a record set within a Private DNS zone.
|
|
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. Record sets of type SOA can be updated
|
|
56
|
-
* but not created (they are created when the Private DNS zone is created).
|
|
57
|
-
* @param relativeRecordSetName The name of the record set, relative to the name of the zone.
|
|
58
|
-
* @param parameters Parameters supplied to the CreateOrUpdate operation.
|
|
59
|
-
* @param options The options parameters.
|
|
60
|
-
*/
|
|
61
|
-
createOrUpdate(
|
|
62
|
-
resourceGroupName: string,
|
|
63
|
-
privateZoneName: string,
|
|
64
|
-
recordType: RecordType,
|
|
65
|
-
relativeRecordSetName: string,
|
|
66
|
-
parameters: RecordSet,
|
|
67
|
-
options?: RecordSetsCreateOrUpdateOptionalParams,
|
|
68
|
-
): Promise<RecordSetsCreateOrUpdateResponse>;
|
|
69
|
-
/**
|
|
70
|
-
* Updates a record set within a 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 recordType The type of DNS record in this record set.
|
|
74
|
-
* @param relativeRecordSetName The name of the record set, relative to the name of the zone.
|
|
75
|
-
* @param parameters Parameters supplied to the Update operation.
|
|
76
|
-
* @param options The options parameters.
|
|
77
|
-
*/
|
|
78
|
-
update(
|
|
79
|
-
resourceGroupName: string,
|
|
80
|
-
privateZoneName: string,
|
|
81
|
-
recordType: RecordType,
|
|
82
|
-
relativeRecordSetName: string,
|
|
83
|
-
parameters: RecordSet,
|
|
84
|
-
options?: RecordSetsUpdateOptionalParams,
|
|
85
|
-
): Promise<RecordSetsUpdateResponse>;
|
|
86
|
-
/**
|
|
87
|
-
* Deletes a record set from a Private DNS zone. This operation cannot be undone.
|
|
88
|
-
* @param resourceGroupName The name of the resource group.
|
|
89
|
-
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
90
|
-
* @param recordType The type of DNS record in this record set. Record sets of type SOA cannot be
|
|
91
|
-
* deleted (they are deleted when the Private DNS zone is deleted).
|
|
92
|
-
* @param relativeRecordSetName The name of the record set, relative to the name of the zone.
|
|
93
|
-
* @param options The options parameters.
|
|
94
|
-
*/
|
|
95
|
-
delete(
|
|
96
|
-
resourceGroupName: string,
|
|
97
|
-
privateZoneName: string,
|
|
98
|
-
recordType: RecordType,
|
|
99
|
-
relativeRecordSetName: string,
|
|
100
|
-
options?: RecordSetsDeleteOptionalParams,
|
|
101
|
-
): Promise<void>;
|
|
102
|
-
/**
|
|
103
|
-
* Gets a record set.
|
|
104
|
-
* @param resourceGroupName The name of the resource group.
|
|
105
|
-
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
106
|
-
* @param recordType The type of DNS record in this record set.
|
|
107
|
-
* @param relativeRecordSetName The name of the record set, relative to the name of the zone.
|
|
108
|
-
* @param options The options parameters.
|
|
109
|
-
*/
|
|
110
|
-
get(
|
|
111
|
-
resourceGroupName: string,
|
|
112
|
-
privateZoneName: string,
|
|
113
|
-
recordType: RecordType,
|
|
114
|
-
relativeRecordSetName: string,
|
|
115
|
-
options?: RecordSetsGetOptionalParams,
|
|
116
|
-
): Promise<RecordSetsGetResponse>;
|
|
117
|
-
}
|
|
@@ -1,150 +0,0 @@
|
|
|
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
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
-
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
11
|
-
import {
|
|
12
|
-
VirtualNetworkLink,
|
|
13
|
-
VirtualNetworkLinksListOptionalParams,
|
|
14
|
-
VirtualNetworkLinksCreateOrUpdateOptionalParams,
|
|
15
|
-
VirtualNetworkLinksCreateOrUpdateResponse,
|
|
16
|
-
VirtualNetworkLinksUpdateOptionalParams,
|
|
17
|
-
VirtualNetworkLinksUpdateResponse,
|
|
18
|
-
VirtualNetworkLinksDeleteOptionalParams,
|
|
19
|
-
VirtualNetworkLinksGetOptionalParams,
|
|
20
|
-
VirtualNetworkLinksGetResponse,
|
|
21
|
-
} from "../models";
|
|
22
|
-
|
|
23
|
-
/// <reference lib="esnext.asynciterable" />
|
|
24
|
-
/** Interface representing a VirtualNetworkLinks. */
|
|
25
|
-
export interface VirtualNetworkLinks {
|
|
26
|
-
/**
|
|
27
|
-
* Lists the virtual network links to the specified Private DNS zone.
|
|
28
|
-
* @param resourceGroupName The name of the resource group.
|
|
29
|
-
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
30
|
-
* @param options The options parameters.
|
|
31
|
-
*/
|
|
32
|
-
list(
|
|
33
|
-
resourceGroupName: string,
|
|
34
|
-
privateZoneName: string,
|
|
35
|
-
options?: VirtualNetworkLinksListOptionalParams,
|
|
36
|
-
): PagedAsyncIterableIterator<VirtualNetworkLink>;
|
|
37
|
-
/**
|
|
38
|
-
* Creates or updates a virtual network link to the specified Private DNS zone.
|
|
39
|
-
* @param resourceGroupName The name of the resource group.
|
|
40
|
-
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
41
|
-
* @param virtualNetworkLinkName The name of the virtual network link.
|
|
42
|
-
* @param parameters Parameters supplied to the CreateOrUpdate operation.
|
|
43
|
-
* @param options The options parameters.
|
|
44
|
-
*/
|
|
45
|
-
beginCreateOrUpdate(
|
|
46
|
-
resourceGroupName: string,
|
|
47
|
-
privateZoneName: string,
|
|
48
|
-
virtualNetworkLinkName: string,
|
|
49
|
-
parameters: VirtualNetworkLink,
|
|
50
|
-
options?: VirtualNetworkLinksCreateOrUpdateOptionalParams,
|
|
51
|
-
): Promise<
|
|
52
|
-
SimplePollerLike<
|
|
53
|
-
OperationState<VirtualNetworkLinksCreateOrUpdateResponse>,
|
|
54
|
-
VirtualNetworkLinksCreateOrUpdateResponse
|
|
55
|
-
>
|
|
56
|
-
>;
|
|
57
|
-
/**
|
|
58
|
-
* Creates or updates a virtual network link to the specified Private DNS zone.
|
|
59
|
-
* @param resourceGroupName The name of the resource group.
|
|
60
|
-
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
61
|
-
* @param virtualNetworkLinkName The name of the virtual network link.
|
|
62
|
-
* @param parameters Parameters supplied to the CreateOrUpdate operation.
|
|
63
|
-
* @param options The options parameters.
|
|
64
|
-
*/
|
|
65
|
-
beginCreateOrUpdateAndWait(
|
|
66
|
-
resourceGroupName: string,
|
|
67
|
-
privateZoneName: string,
|
|
68
|
-
virtualNetworkLinkName: string,
|
|
69
|
-
parameters: VirtualNetworkLink,
|
|
70
|
-
options?: VirtualNetworkLinksCreateOrUpdateOptionalParams,
|
|
71
|
-
): Promise<VirtualNetworkLinksCreateOrUpdateResponse>;
|
|
72
|
-
/**
|
|
73
|
-
* Updates a virtual network link to the specified Private DNS zone.
|
|
74
|
-
* @param resourceGroupName The name of the resource group.
|
|
75
|
-
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
76
|
-
* @param virtualNetworkLinkName The name of the virtual network link.
|
|
77
|
-
* @param parameters Parameters supplied to the Update operation.
|
|
78
|
-
* @param options The options parameters.
|
|
79
|
-
*/
|
|
80
|
-
beginUpdate(
|
|
81
|
-
resourceGroupName: string,
|
|
82
|
-
privateZoneName: string,
|
|
83
|
-
virtualNetworkLinkName: string,
|
|
84
|
-
parameters: VirtualNetworkLink,
|
|
85
|
-
options?: VirtualNetworkLinksUpdateOptionalParams,
|
|
86
|
-
): Promise<
|
|
87
|
-
SimplePollerLike<
|
|
88
|
-
OperationState<VirtualNetworkLinksUpdateResponse>,
|
|
89
|
-
VirtualNetworkLinksUpdateResponse
|
|
90
|
-
>
|
|
91
|
-
>;
|
|
92
|
-
/**
|
|
93
|
-
* Updates a virtual network link to the specified Private DNS zone.
|
|
94
|
-
* @param resourceGroupName The name of the resource group.
|
|
95
|
-
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
96
|
-
* @param virtualNetworkLinkName The name of the virtual network link.
|
|
97
|
-
* @param parameters Parameters supplied to the Update operation.
|
|
98
|
-
* @param options The options parameters.
|
|
99
|
-
*/
|
|
100
|
-
beginUpdateAndWait(
|
|
101
|
-
resourceGroupName: string,
|
|
102
|
-
privateZoneName: string,
|
|
103
|
-
virtualNetworkLinkName: string,
|
|
104
|
-
parameters: VirtualNetworkLink,
|
|
105
|
-
options?: VirtualNetworkLinksUpdateOptionalParams,
|
|
106
|
-
): Promise<VirtualNetworkLinksUpdateResponse>;
|
|
107
|
-
/**
|
|
108
|
-
* Deletes a virtual network link to the specified Private DNS zone. WARNING: In case of a registration
|
|
109
|
-
* virtual network, all auto-registered DNS records in the zone for the virtual network will also be
|
|
110
|
-
* deleted. This operation cannot be undone.
|
|
111
|
-
* @param resourceGroupName The name of the resource group.
|
|
112
|
-
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
113
|
-
* @param virtualNetworkLinkName The name of the virtual network link.
|
|
114
|
-
* @param options The options parameters.
|
|
115
|
-
*/
|
|
116
|
-
beginDelete(
|
|
117
|
-
resourceGroupName: string,
|
|
118
|
-
privateZoneName: string,
|
|
119
|
-
virtualNetworkLinkName: string,
|
|
120
|
-
options?: VirtualNetworkLinksDeleteOptionalParams,
|
|
121
|
-
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
122
|
-
/**
|
|
123
|
-
* Deletes a virtual network link to the specified Private DNS zone. WARNING: In case of a registration
|
|
124
|
-
* virtual network, all auto-registered DNS records in the zone for the virtual network will also be
|
|
125
|
-
* deleted. This operation cannot be undone.
|
|
126
|
-
* @param resourceGroupName The name of the resource group.
|
|
127
|
-
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
128
|
-
* @param virtualNetworkLinkName The name of the virtual network link.
|
|
129
|
-
* @param options The options parameters.
|
|
130
|
-
*/
|
|
131
|
-
beginDeleteAndWait(
|
|
132
|
-
resourceGroupName: string,
|
|
133
|
-
privateZoneName: string,
|
|
134
|
-
virtualNetworkLinkName: string,
|
|
135
|
-
options?: VirtualNetworkLinksDeleteOptionalParams,
|
|
136
|
-
): Promise<void>;
|
|
137
|
-
/**
|
|
138
|
-
* Gets a virtual network link to the specified Private DNS zone.
|
|
139
|
-
* @param resourceGroupName The name of the resource group.
|
|
140
|
-
* @param privateZoneName The name of the Private DNS zone (without a terminating dot).
|
|
141
|
-
* @param virtualNetworkLinkName The name of the virtual network link.
|
|
142
|
-
* @param options The options parameters.
|
|
143
|
-
*/
|
|
144
|
-
get(
|
|
145
|
-
resourceGroupName: string,
|
|
146
|
-
privateZoneName: string,
|
|
147
|
-
virtualNetworkLinkName: string,
|
|
148
|
-
options?: VirtualNetworkLinksGetOptionalParams,
|
|
149
|
-
): Promise<VirtualNetworkLinksGetResponse>;
|
|
150
|
-
}
|
package/src/pagingHelper.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
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
|
-
|
|
9
|
-
export interface PageInfo {
|
|
10
|
-
continuationToken?: string;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
const pageMap = new WeakMap<object, PageInfo>();
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Given the last `.value` produced by the `byPage` iterator,
|
|
17
|
-
* returns a continuation token that can be used to begin paging from
|
|
18
|
-
* that point later.
|
|
19
|
-
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
20
|
-
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
21
|
-
*/
|
|
22
|
-
export function getContinuationToken(page: unknown): string | undefined {
|
|
23
|
-
if (typeof page !== "object" || page === null) {
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
26
|
-
return pageMap.get(page)?.continuationToken;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export function setContinuationToken(
|
|
30
|
-
page: unknown,
|
|
31
|
-
continuationToken: string | undefined,
|
|
32
|
-
): void {
|
|
33
|
-
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
34
|
-
return;
|
|
35
|
-
}
|
|
36
|
-
const pageInfo = pageMap.get(page) ?? {};
|
|
37
|
-
pageInfo.continuationToken = continuationToken;
|
|
38
|
-
pageMap.set(page, pageInfo);
|
|
39
|
-
}
|
|
@@ -1,154 +0,0 @@
|
|
|
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
|
-
|
|
9
|
-
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
11
|
-
import {
|
|
12
|
-
PipelineRequest,
|
|
13
|
-
PipelineResponse,
|
|
14
|
-
SendRequest,
|
|
15
|
-
} from "@azure/core-rest-pipeline";
|
|
16
|
-
import * as coreAuth from "@azure/core-auth";
|
|
17
|
-
import {
|
|
18
|
-
PrivateZonesImpl,
|
|
19
|
-
VirtualNetworkLinksImpl,
|
|
20
|
-
RecordSetsImpl,
|
|
21
|
-
} from "./operations";
|
|
22
|
-
import {
|
|
23
|
-
PrivateZones,
|
|
24
|
-
VirtualNetworkLinks,
|
|
25
|
-
RecordSets,
|
|
26
|
-
} from "./operationsInterfaces";
|
|
27
|
-
import { PrivateDnsManagementClientOptionalParams } from "./models";
|
|
28
|
-
|
|
29
|
-
export class PrivateDnsManagementClient extends coreClient.ServiceClient {
|
|
30
|
-
$host: string;
|
|
31
|
-
apiVersion: string;
|
|
32
|
-
subscriptionId: string;
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Initializes a new instance of the PrivateDnsManagementClient class.
|
|
36
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
37
|
-
* @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure
|
|
38
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
|
39
|
-
* @param options The parameter options
|
|
40
|
-
*/
|
|
41
|
-
constructor(
|
|
42
|
-
credentials: coreAuth.TokenCredential,
|
|
43
|
-
subscriptionId: string,
|
|
44
|
-
options?: PrivateDnsManagementClientOptionalParams,
|
|
45
|
-
) {
|
|
46
|
-
if (credentials === undefined) {
|
|
47
|
-
throw new Error("'credentials' cannot be null");
|
|
48
|
-
}
|
|
49
|
-
if (subscriptionId === undefined) {
|
|
50
|
-
throw new Error("'subscriptionId' cannot be null");
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
// Initializing default values for options
|
|
54
|
-
if (!options) {
|
|
55
|
-
options = {};
|
|
56
|
-
}
|
|
57
|
-
const defaults: PrivateDnsManagementClientOptionalParams = {
|
|
58
|
-
requestContentType: "application/json; charset=utf-8",
|
|
59
|
-
credential: credentials,
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
const packageDetails = `azsdk-js-arm-privatedns/3.3.1`;
|
|
63
|
-
const userAgentPrefix =
|
|
64
|
-
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
65
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
66
|
-
: `${packageDetails}`;
|
|
67
|
-
|
|
68
|
-
const optionsWithDefaults = {
|
|
69
|
-
...defaults,
|
|
70
|
-
...options,
|
|
71
|
-
userAgentOptions: {
|
|
72
|
-
userAgentPrefix,
|
|
73
|
-
},
|
|
74
|
-
endpoint:
|
|
75
|
-
options.endpoint ?? options.baseUri ?? "https://management.azure.com",
|
|
76
|
-
};
|
|
77
|
-
super(optionsWithDefaults);
|
|
78
|
-
|
|
79
|
-
let bearerTokenAuthenticationPolicyFound: boolean = false;
|
|
80
|
-
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
81
|
-
const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =
|
|
82
|
-
options.pipeline.getOrderedPolicies();
|
|
83
|
-
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(
|
|
84
|
-
(pipelinePolicy) =>
|
|
85
|
-
pipelinePolicy.name ===
|
|
86
|
-
coreRestPipeline.bearerTokenAuthenticationPolicyName,
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
if (
|
|
90
|
-
!options ||
|
|
91
|
-
!options.pipeline ||
|
|
92
|
-
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
93
|
-
!bearerTokenAuthenticationPolicyFound
|
|
94
|
-
) {
|
|
95
|
-
this.pipeline.removePolicy({
|
|
96
|
-
name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
|
|
97
|
-
});
|
|
98
|
-
this.pipeline.addPolicy(
|
|
99
|
-
coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
100
|
-
credential: credentials,
|
|
101
|
-
scopes:
|
|
102
|
-
optionsWithDefaults.credentialScopes ??
|
|
103
|
-
`${optionsWithDefaults.endpoint}/.default`,
|
|
104
|
-
challengeCallbacks: {
|
|
105
|
-
authorizeRequestOnChallenge:
|
|
106
|
-
coreClient.authorizeRequestOnClaimChallenge,
|
|
107
|
-
},
|
|
108
|
-
}),
|
|
109
|
-
);
|
|
110
|
-
}
|
|
111
|
-
// Parameter assignments
|
|
112
|
-
this.subscriptionId = subscriptionId;
|
|
113
|
-
|
|
114
|
-
// Assigning values to Constant parameters
|
|
115
|
-
this.$host = options.$host || "https://management.azure.com";
|
|
116
|
-
this.apiVersion = options.apiVersion || "2024-06-01";
|
|
117
|
-
this.privateZones = new PrivateZonesImpl(this);
|
|
118
|
-
this.virtualNetworkLinks = new VirtualNetworkLinksImpl(this);
|
|
119
|
-
this.recordSets = new RecordSetsImpl(this);
|
|
120
|
-
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
124
|
-
private addCustomApiVersionPolicy(apiVersion?: string) {
|
|
125
|
-
if (!apiVersion) {
|
|
126
|
-
return;
|
|
127
|
-
}
|
|
128
|
-
const apiVersionPolicy = {
|
|
129
|
-
name: "CustomApiVersionPolicy",
|
|
130
|
-
async sendRequest(
|
|
131
|
-
request: PipelineRequest,
|
|
132
|
-
next: SendRequest,
|
|
133
|
-
): Promise<PipelineResponse> {
|
|
134
|
-
const param = request.url.split("?");
|
|
135
|
-
if (param.length > 1) {
|
|
136
|
-
const newParams = param[1].split("&").map((item) => {
|
|
137
|
-
if (item.indexOf("api-version") > -1) {
|
|
138
|
-
return "api-version=" + apiVersion;
|
|
139
|
-
} else {
|
|
140
|
-
return item;
|
|
141
|
-
}
|
|
142
|
-
});
|
|
143
|
-
request.url = param[0] + "?" + newParams.join("&");
|
|
144
|
-
}
|
|
145
|
-
return next(request);
|
|
146
|
-
},
|
|
147
|
-
};
|
|
148
|
-
this.pipeline.addPolicy(apiVersionPolicy);
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
privateZones: PrivateZones;
|
|
152
|
-
virtualNetworkLinks: VirtualNetworkLinks;
|
|
153
|
-
recordSets: RecordSets;
|
|
154
|
-
}
|
package/tsconfig.json
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"module": "es6",
|
|
4
|
-
"moduleResolution": "node",
|
|
5
|
-
"strict": true,
|
|
6
|
-
"target": "es6",
|
|
7
|
-
"sourceMap": true,
|
|
8
|
-
"declarationMap": true,
|
|
9
|
-
"esModuleInterop": true,
|
|
10
|
-
"allowSyntheticDefaultImports": true,
|
|
11
|
-
"forceConsistentCasingInFileNames": true,
|
|
12
|
-
"lib": [
|
|
13
|
-
"es6",
|
|
14
|
-
"dom"
|
|
15
|
-
],
|
|
16
|
-
"declaration": true,
|
|
17
|
-
"outDir": "./dist-esm",
|
|
18
|
-
"importHelpers": true,
|
|
19
|
-
"paths": {
|
|
20
|
-
"@azure/arm-privatedns": [
|
|
21
|
-
"./src/index"
|
|
22
|
-
]
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"include": [
|
|
26
|
-
"./src/**/*.ts",
|
|
27
|
-
"./test/**/*.ts",
|
|
28
|
-
"samples-dev/**/*.ts"
|
|
29
|
-
],
|
|
30
|
-
"exclude": [
|
|
31
|
-
"node_modules"
|
|
32
|
-
]
|
|
33
|
-
}
|