@azure/arm-dnsresolver 1.2.0 → 2.0.0-beta.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 +1 -1
- package/dist/browser/dnsResolverManagementClient.d.ts +9 -9
- package/dist/browser/dnsResolverManagementClient.d.ts.map +1 -1
- package/dist/browser/dnsResolverManagementClient.js +36 -24
- package/dist/browser/dnsResolverManagementClient.js.map +1 -1
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +4 -7
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/lroImpl.d.ts +1 -1
- package/dist/browser/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +9 -10
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +658 -517
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +32 -31
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +48 -29
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +927 -405
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +13 -14
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +90 -109
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/dnsForwardingRulesets.d.ts +38 -38
- package/dist/browser/operations/dnsForwardingRulesets.d.ts.map +1 -1
- package/dist/browser/operations/dnsForwardingRulesets.js +210 -260
- package/dist/browser/operations/dnsForwardingRulesets.js.map +1 -1
- package/dist/browser/operations/dnsResolverDomainLists.d.ts +32 -32
- package/dist/browser/operations/dnsResolverDomainLists.d.ts.map +1 -1
- package/dist/browser/operations/dnsResolverDomainLists.js +200 -227
- package/dist/browser/operations/dnsResolverDomainLists.js.map +1 -1
- package/dist/browser/operations/dnsResolverPolicies.d.ts +38 -38
- package/dist/browser/operations/dnsResolverPolicies.d.ts.map +1 -1
- package/dist/browser/operations/dnsResolverPolicies.js +212 -262
- package/dist/browser/operations/dnsResolverPolicies.js.map +1 -1
- package/dist/browser/operations/dnsResolverPolicyVirtualNetworkLinks.d.ts +21 -21
- package/dist/browser/operations/dnsResolverPolicyVirtualNetworkLinks.d.ts.map +1 -1
- package/dist/browser/operations/dnsResolverPolicyVirtualNetworkLinks.js +134 -142
- package/dist/browser/operations/dnsResolverPolicyVirtualNetworkLinks.js.map +1 -1
- package/dist/browser/operations/dnsResolvers.d.ts +38 -38
- package/dist/browser/operations/dnsResolvers.d.ts.map +1 -1
- package/dist/browser/operations/dnsResolvers.js +210 -260
- package/dist/browser/operations/dnsResolvers.js.map +1 -1
- package/dist/browser/operations/dnsSecurityRules.d.ts +20 -20
- package/dist/browser/operations/dnsSecurityRules.d.ts.map +1 -1
- package/dist/browser/operations/dnsSecurityRules.js +133 -141
- package/dist/browser/operations/dnsSecurityRules.js.map +1 -1
- package/dist/browser/operations/forwardingRules.d.ts +17 -17
- package/dist/browser/operations/forwardingRules.d.ts.map +1 -1
- package/dist/browser/operations/forwardingRules.js +88 -114
- package/dist/browser/operations/forwardingRules.js.map +1 -1
- package/dist/browser/operations/inboundEndpoints.d.ts +20 -20
- package/dist/browser/operations/inboundEndpoints.d.ts.map +1 -1
- package/dist/browser/operations/inboundEndpoints.js +129 -137
- package/dist/browser/operations/inboundEndpoints.js.map +1 -1
- package/dist/browser/operations/index.d.ts +5 -5
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +9 -12
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operations/outboundEndpoints.d.ts +20 -20
- package/dist/browser/operations/outboundEndpoints.d.ts.map +1 -1
- package/dist/browser/operations/outboundEndpoints.js +129 -137
- package/dist/browser/operations/outboundEndpoints.js.map +1 -1
- package/dist/browser/operations/virtualNetworkLinks.d.ts +20 -20
- package/dist/browser/operations/virtualNetworkLinks.d.ts.map +1 -1
- package/dist/browser/operations/virtualNetworkLinks.js +134 -142
- package/dist/browser/operations/virtualNetworkLinks.js.map +1 -1
- package/dist/browser/operationsInterfaces/dnsForwardingRulesets.d.ts +15 -15
- package/dist/browser/operationsInterfaces/dnsForwardingRulesets.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/dnsForwardingRulesets.js +2 -7
- package/dist/browser/operationsInterfaces/dnsForwardingRulesets.js.map +1 -1
- package/dist/browser/operationsInterfaces/dnsResolverDomainLists.d.ts +12 -12
- package/dist/browser/operationsInterfaces/dnsResolverDomainLists.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/dnsResolverDomainLists.js +2 -7
- package/dist/browser/operationsInterfaces/dnsResolverDomainLists.js.map +1 -1
- package/dist/browser/operationsInterfaces/dnsResolverPolicies.d.ts +15 -15
- package/dist/browser/operationsInterfaces/dnsResolverPolicies.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/dnsResolverPolicies.js +2 -7
- package/dist/browser/operationsInterfaces/dnsResolverPolicies.js.map +1 -1
- package/dist/browser/operationsInterfaces/dnsResolverPolicyVirtualNetworkLinks.d.ts +12 -12
- package/dist/browser/operationsInterfaces/dnsResolverPolicyVirtualNetworkLinks.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/dnsResolverPolicyVirtualNetworkLinks.js +2 -7
- package/dist/browser/operationsInterfaces/dnsResolverPolicyVirtualNetworkLinks.js.map +1 -1
- package/dist/browser/operationsInterfaces/dnsResolvers.d.ts +15 -15
- package/dist/browser/operationsInterfaces/dnsResolvers.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/dnsResolvers.js +2 -7
- package/dist/browser/operationsInterfaces/dnsResolvers.js.map +1 -1
- package/dist/browser/operationsInterfaces/dnsSecurityRules.d.ts +11 -11
- package/dist/browser/operationsInterfaces/dnsSecurityRules.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/dnsSecurityRules.js +2 -7
- package/dist/browser/operationsInterfaces/dnsSecurityRules.js.map +1 -1
- package/dist/browser/operationsInterfaces/forwardingRules.d.ts +10 -10
- package/dist/browser/operationsInterfaces/forwardingRules.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/forwardingRules.js +2 -7
- package/dist/browser/operationsInterfaces/forwardingRules.js.map +1 -1
- package/dist/browser/operationsInterfaces/inboundEndpoints.d.ts +11 -11
- package/dist/browser/operationsInterfaces/inboundEndpoints.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/inboundEndpoints.js +2 -7
- package/dist/browser/operationsInterfaces/inboundEndpoints.js.map +1 -1
- package/dist/browser/operationsInterfaces/index.d.ts +5 -5
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +9 -12
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/operationsInterfaces/outboundEndpoints.d.ts +11 -11
- package/dist/browser/operationsInterfaces/outboundEndpoints.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/outboundEndpoints.js +2 -7
- package/dist/browser/operationsInterfaces/outboundEndpoints.js.map +1 -1
- package/dist/browser/operationsInterfaces/virtualNetworkLinks.d.ts +11 -11
- package/dist/browser/operationsInterfaces/virtualNetworkLinks.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/virtualNetworkLinks.js +2 -7
- package/dist/browser/operationsInterfaces/virtualNetworkLinks.js.map +1 -1
- package/dist/browser/pagingHelper.d.ts.map +1 -1
- package/dist/browser/pagingHelper.js +4 -11
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/dnsResolverManagementClient.d.ts +9 -9
- package/dist/commonjs/dnsResolverManagementClient.d.ts.map +1 -1
- package/dist/commonjs/dnsResolverManagementClient.js +35 -23
- package/dist/commonjs/dnsResolverManagementClient.js.map +1 -1
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +4 -7
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/lroImpl.d.ts +1 -1
- package/dist/commonjs/lroImpl.d.ts.map +1 -1
- package/dist/commonjs/lroImpl.js +9 -10
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +658 -517
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +33 -32
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +48 -29
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +929 -407
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +13 -14
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +90 -109
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/dnsForwardingRulesets.d.ts +38 -38
- package/dist/commonjs/operations/dnsForwardingRulesets.d.ts.map +1 -1
- package/dist/commonjs/operations/dnsForwardingRulesets.js +209 -258
- package/dist/commonjs/operations/dnsForwardingRulesets.js.map +1 -1
- package/dist/commonjs/operations/dnsResolverDomainLists.d.ts +32 -32
- package/dist/commonjs/operations/dnsResolverDomainLists.d.ts.map +1 -1
- package/dist/commonjs/operations/dnsResolverDomainLists.js +199 -225
- package/dist/commonjs/operations/dnsResolverDomainLists.js.map +1 -1
- package/dist/commonjs/operations/dnsResolverPolicies.d.ts +38 -38
- package/dist/commonjs/operations/dnsResolverPolicies.d.ts.map +1 -1
- package/dist/commonjs/operations/dnsResolverPolicies.js +211 -260
- package/dist/commonjs/operations/dnsResolverPolicies.js.map +1 -1
- package/dist/commonjs/operations/dnsResolverPolicyVirtualNetworkLinks.d.ts +21 -21
- package/dist/commonjs/operations/dnsResolverPolicyVirtualNetworkLinks.d.ts.map +1 -1
- package/dist/commonjs/operations/dnsResolverPolicyVirtualNetworkLinks.js +133 -140
- package/dist/commonjs/operations/dnsResolverPolicyVirtualNetworkLinks.js.map +1 -1
- package/dist/commonjs/operations/dnsResolvers.d.ts +38 -38
- package/dist/commonjs/operations/dnsResolvers.d.ts.map +1 -1
- package/dist/commonjs/operations/dnsResolvers.js +209 -258
- package/dist/commonjs/operations/dnsResolvers.js.map +1 -1
- package/dist/commonjs/operations/dnsSecurityRules.d.ts +20 -20
- package/dist/commonjs/operations/dnsSecurityRules.d.ts.map +1 -1
- package/dist/commonjs/operations/dnsSecurityRules.js +132 -139
- package/dist/commonjs/operations/dnsSecurityRules.js.map +1 -1
- package/dist/commonjs/operations/forwardingRules.d.ts +17 -17
- package/dist/commonjs/operations/forwardingRules.d.ts.map +1 -1
- package/dist/commonjs/operations/forwardingRules.js +88 -113
- package/dist/commonjs/operations/forwardingRules.js.map +1 -1
- package/dist/commonjs/operations/inboundEndpoints.d.ts +20 -20
- package/dist/commonjs/operations/inboundEndpoints.d.ts.map +1 -1
- package/dist/commonjs/operations/inboundEndpoints.js +128 -135
- package/dist/commonjs/operations/inboundEndpoints.js.map +1 -1
- package/dist/commonjs/operations/index.d.ts +5 -5
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +9 -12
- package/dist/commonjs/operations/index.js.map +1 -1
- package/dist/commonjs/operations/outboundEndpoints.d.ts +20 -20
- package/dist/commonjs/operations/outboundEndpoints.d.ts.map +1 -1
- package/dist/commonjs/operations/outboundEndpoints.js +128 -135
- package/dist/commonjs/operations/outboundEndpoints.js.map +1 -1
- package/dist/commonjs/operations/virtualNetworkLinks.d.ts +20 -20
- package/dist/commonjs/operations/virtualNetworkLinks.d.ts.map +1 -1
- package/dist/commonjs/operations/virtualNetworkLinks.js +133 -140
- package/dist/commonjs/operations/virtualNetworkLinks.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/dnsForwardingRulesets.d.ts +15 -15
- package/dist/commonjs/operationsInterfaces/dnsForwardingRulesets.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/dnsForwardingRulesets.js +2 -7
- package/dist/commonjs/operationsInterfaces/dnsForwardingRulesets.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/dnsResolverDomainLists.d.ts +12 -12
- package/dist/commonjs/operationsInterfaces/dnsResolverDomainLists.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/dnsResolverDomainLists.js +2 -7
- package/dist/commonjs/operationsInterfaces/dnsResolverDomainLists.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/dnsResolverPolicies.d.ts +15 -15
- package/dist/commonjs/operationsInterfaces/dnsResolverPolicies.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/dnsResolverPolicies.js +2 -7
- package/dist/commonjs/operationsInterfaces/dnsResolverPolicies.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/dnsResolverPolicyVirtualNetworkLinks.d.ts +12 -12
- package/dist/commonjs/operationsInterfaces/dnsResolverPolicyVirtualNetworkLinks.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/dnsResolverPolicyVirtualNetworkLinks.js +2 -7
- package/dist/commonjs/operationsInterfaces/dnsResolverPolicyVirtualNetworkLinks.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/dnsResolvers.d.ts +15 -15
- package/dist/commonjs/operationsInterfaces/dnsResolvers.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/dnsResolvers.js +2 -7
- package/dist/commonjs/operationsInterfaces/dnsResolvers.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/dnsSecurityRules.d.ts +11 -11
- package/dist/commonjs/operationsInterfaces/dnsSecurityRules.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/dnsSecurityRules.js +2 -7
- package/dist/commonjs/operationsInterfaces/dnsSecurityRules.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/forwardingRules.d.ts +10 -10
- package/dist/commonjs/operationsInterfaces/forwardingRules.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/forwardingRules.js +2 -7
- package/dist/commonjs/operationsInterfaces/forwardingRules.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/inboundEndpoints.d.ts +11 -11
- package/dist/commonjs/operationsInterfaces/inboundEndpoints.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/inboundEndpoints.js +2 -7
- package/dist/commonjs/operationsInterfaces/inboundEndpoints.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +5 -5
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +9 -12
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/outboundEndpoints.d.ts +11 -11
- package/dist/commonjs/operationsInterfaces/outboundEndpoints.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/outboundEndpoints.js +2 -7
- package/dist/commonjs/operationsInterfaces/outboundEndpoints.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/virtualNetworkLinks.d.ts +11 -11
- package/dist/commonjs/operationsInterfaces/virtualNetworkLinks.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/virtualNetworkLinks.js +2 -7
- package/dist/commonjs/operationsInterfaces/virtualNetworkLinks.js.map +1 -1
- package/dist/commonjs/pagingHelper.d.ts.map +1 -1
- package/dist/commonjs/pagingHelper.js +4 -11
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/dnsResolverManagementClient.d.ts +9 -9
- package/dist/esm/dnsResolverManagementClient.d.ts.map +1 -1
- package/dist/esm/dnsResolverManagementClient.js +36 -24
- package/dist/esm/dnsResolverManagementClient.js.map +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +4 -7
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/lroImpl.d.ts +1 -1
- package/dist/esm/lroImpl.d.ts.map +1 -1
- package/dist/esm/lroImpl.js +9 -10
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +658 -517
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +32 -31
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +48 -29
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +927 -405
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +13 -14
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +90 -109
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/dnsForwardingRulesets.d.ts +38 -38
- package/dist/esm/operations/dnsForwardingRulesets.d.ts.map +1 -1
- package/dist/esm/operations/dnsForwardingRulesets.js +210 -260
- package/dist/esm/operations/dnsForwardingRulesets.js.map +1 -1
- package/dist/esm/operations/dnsResolverDomainLists.d.ts +32 -32
- package/dist/esm/operations/dnsResolverDomainLists.d.ts.map +1 -1
- package/dist/esm/operations/dnsResolverDomainLists.js +200 -227
- package/dist/esm/operations/dnsResolverDomainLists.js.map +1 -1
- package/dist/esm/operations/dnsResolverPolicies.d.ts +38 -38
- package/dist/esm/operations/dnsResolverPolicies.d.ts.map +1 -1
- package/dist/esm/operations/dnsResolverPolicies.js +212 -262
- package/dist/esm/operations/dnsResolverPolicies.js.map +1 -1
- package/dist/esm/operations/dnsResolverPolicyVirtualNetworkLinks.d.ts +21 -21
- package/dist/esm/operations/dnsResolverPolicyVirtualNetworkLinks.d.ts.map +1 -1
- package/dist/esm/operations/dnsResolverPolicyVirtualNetworkLinks.js +134 -142
- package/dist/esm/operations/dnsResolverPolicyVirtualNetworkLinks.js.map +1 -1
- package/dist/esm/operations/dnsResolvers.d.ts +38 -38
- package/dist/esm/operations/dnsResolvers.d.ts.map +1 -1
- package/dist/esm/operations/dnsResolvers.js +210 -260
- package/dist/esm/operations/dnsResolvers.js.map +1 -1
- package/dist/esm/operations/dnsSecurityRules.d.ts +20 -20
- package/dist/esm/operations/dnsSecurityRules.d.ts.map +1 -1
- package/dist/esm/operations/dnsSecurityRules.js +133 -141
- package/dist/esm/operations/dnsSecurityRules.js.map +1 -1
- package/dist/esm/operations/forwardingRules.d.ts +17 -17
- package/dist/esm/operations/forwardingRules.d.ts.map +1 -1
- package/dist/esm/operations/forwardingRules.js +88 -114
- package/dist/esm/operations/forwardingRules.js.map +1 -1
- package/dist/esm/operations/inboundEndpoints.d.ts +20 -20
- package/dist/esm/operations/inboundEndpoints.d.ts.map +1 -1
- package/dist/esm/operations/inboundEndpoints.js +129 -137
- package/dist/esm/operations/inboundEndpoints.js.map +1 -1
- package/dist/esm/operations/index.d.ts +5 -5
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +9 -12
- package/dist/esm/operations/index.js.map +1 -1
- package/dist/esm/operations/outboundEndpoints.d.ts +20 -20
- package/dist/esm/operations/outboundEndpoints.d.ts.map +1 -1
- package/dist/esm/operations/outboundEndpoints.js +129 -137
- package/dist/esm/operations/outboundEndpoints.js.map +1 -1
- package/dist/esm/operations/virtualNetworkLinks.d.ts +20 -20
- package/dist/esm/operations/virtualNetworkLinks.d.ts.map +1 -1
- package/dist/esm/operations/virtualNetworkLinks.js +134 -142
- package/dist/esm/operations/virtualNetworkLinks.js.map +1 -1
- package/dist/esm/operationsInterfaces/dnsForwardingRulesets.d.ts +15 -15
- package/dist/esm/operationsInterfaces/dnsForwardingRulesets.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/dnsForwardingRulesets.js +2 -7
- package/dist/esm/operationsInterfaces/dnsForwardingRulesets.js.map +1 -1
- package/dist/esm/operationsInterfaces/dnsResolverDomainLists.d.ts +12 -12
- package/dist/esm/operationsInterfaces/dnsResolverDomainLists.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/dnsResolverDomainLists.js +2 -7
- package/dist/esm/operationsInterfaces/dnsResolverDomainLists.js.map +1 -1
- package/dist/esm/operationsInterfaces/dnsResolverPolicies.d.ts +15 -15
- package/dist/esm/operationsInterfaces/dnsResolverPolicies.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/dnsResolverPolicies.js +2 -7
- package/dist/esm/operationsInterfaces/dnsResolverPolicies.js.map +1 -1
- package/dist/esm/operationsInterfaces/dnsResolverPolicyVirtualNetworkLinks.d.ts +12 -12
- package/dist/esm/operationsInterfaces/dnsResolverPolicyVirtualNetworkLinks.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/dnsResolverPolicyVirtualNetworkLinks.js +2 -7
- package/dist/esm/operationsInterfaces/dnsResolverPolicyVirtualNetworkLinks.js.map +1 -1
- package/dist/esm/operationsInterfaces/dnsResolvers.d.ts +15 -15
- package/dist/esm/operationsInterfaces/dnsResolvers.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/dnsResolvers.js +2 -7
- package/dist/esm/operationsInterfaces/dnsResolvers.js.map +1 -1
- package/dist/esm/operationsInterfaces/dnsSecurityRules.d.ts +11 -11
- package/dist/esm/operationsInterfaces/dnsSecurityRules.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/dnsSecurityRules.js +2 -7
- package/dist/esm/operationsInterfaces/dnsSecurityRules.js.map +1 -1
- package/dist/esm/operationsInterfaces/forwardingRules.d.ts +10 -10
- package/dist/esm/operationsInterfaces/forwardingRules.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/forwardingRules.js +2 -7
- package/dist/esm/operationsInterfaces/forwardingRules.js.map +1 -1
- package/dist/esm/operationsInterfaces/inboundEndpoints.d.ts +11 -11
- package/dist/esm/operationsInterfaces/inboundEndpoints.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/inboundEndpoints.js +2 -7
- package/dist/esm/operationsInterfaces/inboundEndpoints.js.map +1 -1
- package/dist/esm/operationsInterfaces/index.d.ts +5 -5
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +9 -12
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/operationsInterfaces/outboundEndpoints.d.ts +11 -11
- package/dist/esm/operationsInterfaces/outboundEndpoints.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/outboundEndpoints.js +2 -7
- package/dist/esm/operationsInterfaces/outboundEndpoints.js.map +1 -1
- package/dist/esm/operationsInterfaces/virtualNetworkLinks.d.ts +11 -11
- package/dist/esm/operationsInterfaces/virtualNetworkLinks.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/virtualNetworkLinks.js +2 -7
- package/dist/esm/operationsInterfaces/virtualNetworkLinks.js.map +1 -1
- package/dist/esm/pagingHelper.d.ts.map +1 -1
- package/dist/esm/pagingHelper.js +4 -11
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/dnsResolverManagementClient.d.ts +9 -9
- package/dist/react-native/dnsResolverManagementClient.d.ts.map +1 -1
- package/dist/react-native/dnsResolverManagementClient.js +36 -24
- package/dist/react-native/dnsResolverManagementClient.js.map +1 -1
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +4 -7
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/lroImpl.d.ts +1 -1
- package/dist/react-native/lroImpl.d.ts.map +1 -1
- package/dist/react-native/lroImpl.js +9 -10
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +658 -517
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +32 -31
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +48 -29
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +927 -405
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +13 -14
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +90 -109
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/dnsForwardingRulesets.d.ts +38 -38
- package/dist/react-native/operations/dnsForwardingRulesets.d.ts.map +1 -1
- package/dist/react-native/operations/dnsForwardingRulesets.js +210 -260
- package/dist/react-native/operations/dnsForwardingRulesets.js.map +1 -1
- package/dist/react-native/operations/dnsResolverDomainLists.d.ts +32 -32
- package/dist/react-native/operations/dnsResolverDomainLists.d.ts.map +1 -1
- package/dist/react-native/operations/dnsResolverDomainLists.js +200 -227
- package/dist/react-native/operations/dnsResolverDomainLists.js.map +1 -1
- package/dist/react-native/operations/dnsResolverPolicies.d.ts +38 -38
- package/dist/react-native/operations/dnsResolverPolicies.d.ts.map +1 -1
- package/dist/react-native/operations/dnsResolverPolicies.js +212 -262
- package/dist/react-native/operations/dnsResolverPolicies.js.map +1 -1
- package/dist/react-native/operations/dnsResolverPolicyVirtualNetworkLinks.d.ts +21 -21
- package/dist/react-native/operations/dnsResolverPolicyVirtualNetworkLinks.d.ts.map +1 -1
- package/dist/react-native/operations/dnsResolverPolicyVirtualNetworkLinks.js +134 -142
- package/dist/react-native/operations/dnsResolverPolicyVirtualNetworkLinks.js.map +1 -1
- package/dist/react-native/operations/dnsResolvers.d.ts +38 -38
- package/dist/react-native/operations/dnsResolvers.d.ts.map +1 -1
- package/dist/react-native/operations/dnsResolvers.js +210 -260
- package/dist/react-native/operations/dnsResolvers.js.map +1 -1
- package/dist/react-native/operations/dnsSecurityRules.d.ts +20 -20
- package/dist/react-native/operations/dnsSecurityRules.d.ts.map +1 -1
- package/dist/react-native/operations/dnsSecurityRules.js +133 -141
- package/dist/react-native/operations/dnsSecurityRules.js.map +1 -1
- package/dist/react-native/operations/forwardingRules.d.ts +17 -17
- package/dist/react-native/operations/forwardingRules.d.ts.map +1 -1
- package/dist/react-native/operations/forwardingRules.js +88 -114
- package/dist/react-native/operations/forwardingRules.js.map +1 -1
- package/dist/react-native/operations/inboundEndpoints.d.ts +20 -20
- package/dist/react-native/operations/inboundEndpoints.d.ts.map +1 -1
- package/dist/react-native/operations/inboundEndpoints.js +129 -137
- package/dist/react-native/operations/inboundEndpoints.js.map +1 -1
- package/dist/react-native/operations/index.d.ts +5 -5
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +9 -12
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operations/outboundEndpoints.d.ts +20 -20
- package/dist/react-native/operations/outboundEndpoints.d.ts.map +1 -1
- package/dist/react-native/operations/outboundEndpoints.js +129 -137
- package/dist/react-native/operations/outboundEndpoints.js.map +1 -1
- package/dist/react-native/operations/virtualNetworkLinks.d.ts +20 -20
- package/dist/react-native/operations/virtualNetworkLinks.d.ts.map +1 -1
- package/dist/react-native/operations/virtualNetworkLinks.js +134 -142
- package/dist/react-native/operations/virtualNetworkLinks.js.map +1 -1
- package/dist/react-native/operationsInterfaces/dnsForwardingRulesets.d.ts +15 -15
- package/dist/react-native/operationsInterfaces/dnsForwardingRulesets.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/dnsForwardingRulesets.js +2 -7
- package/dist/react-native/operationsInterfaces/dnsForwardingRulesets.js.map +1 -1
- package/dist/react-native/operationsInterfaces/dnsResolverDomainLists.d.ts +12 -12
- package/dist/react-native/operationsInterfaces/dnsResolverDomainLists.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/dnsResolverDomainLists.js +2 -7
- package/dist/react-native/operationsInterfaces/dnsResolverDomainLists.js.map +1 -1
- package/dist/react-native/operationsInterfaces/dnsResolverPolicies.d.ts +15 -15
- package/dist/react-native/operationsInterfaces/dnsResolverPolicies.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/dnsResolverPolicies.js +2 -7
- package/dist/react-native/operationsInterfaces/dnsResolverPolicies.js.map +1 -1
- package/dist/react-native/operationsInterfaces/dnsResolverPolicyVirtualNetworkLinks.d.ts +12 -12
- package/dist/react-native/operationsInterfaces/dnsResolverPolicyVirtualNetworkLinks.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/dnsResolverPolicyVirtualNetworkLinks.js +2 -7
- package/dist/react-native/operationsInterfaces/dnsResolverPolicyVirtualNetworkLinks.js.map +1 -1
- package/dist/react-native/operationsInterfaces/dnsResolvers.d.ts +15 -15
- package/dist/react-native/operationsInterfaces/dnsResolvers.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/dnsResolvers.js +2 -7
- package/dist/react-native/operationsInterfaces/dnsResolvers.js.map +1 -1
- package/dist/react-native/operationsInterfaces/dnsSecurityRules.d.ts +11 -11
- package/dist/react-native/operationsInterfaces/dnsSecurityRules.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/dnsSecurityRules.js +2 -7
- package/dist/react-native/operationsInterfaces/dnsSecurityRules.js.map +1 -1
- package/dist/react-native/operationsInterfaces/forwardingRules.d.ts +10 -10
- package/dist/react-native/operationsInterfaces/forwardingRules.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/forwardingRules.js +2 -7
- package/dist/react-native/operationsInterfaces/forwardingRules.js.map +1 -1
- package/dist/react-native/operationsInterfaces/inboundEndpoints.d.ts +11 -11
- package/dist/react-native/operationsInterfaces/inboundEndpoints.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/inboundEndpoints.js +2 -7
- package/dist/react-native/operationsInterfaces/inboundEndpoints.js.map +1 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +5 -5
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +9 -12
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/operationsInterfaces/outboundEndpoints.d.ts +11 -11
- package/dist/react-native/operationsInterfaces/outboundEndpoints.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/outboundEndpoints.js +2 -7
- package/dist/react-native/operationsInterfaces/outboundEndpoints.js.map +1 -1
- package/dist/react-native/operationsInterfaces/virtualNetworkLinks.d.ts +11 -11
- package/dist/react-native/operationsInterfaces/virtualNetworkLinks.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/virtualNetworkLinks.js +2 -7
- package/dist/react-native/operationsInterfaces/virtualNetworkLinks.js.map +1 -1
- package/dist/react-native/pagingHelper.d.ts.map +1 -1
- package/dist/react-native/pagingHelper.js +4 -11
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +39 -37
- package/CHANGELOG.md +0 -240
- package/review/arm-dnsresolver.api.md +0 -1272
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AASlC,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,IAAa,EAAE,iBAAqC;IACvF,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["// 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\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(page: unknown, continuationToken: string | undefined): 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"]}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
|
-
import * as coreAuth from "@azure/core-auth";
|
|
3
|
-
import {
|
|
4
|
-
import { DnsResolverManagementClientOptionalParams } from "./models/index.js";
|
|
2
|
+
import type * as coreAuth from "@azure/core-auth";
|
|
3
|
+
import type { DnsForwardingRulesets, DnsResolverDomainLists, DnsResolverPolicies, DnsResolvers, ForwardingRules, VirtualNetworkLinks, DnsSecurityRules, DnsResolverPolicyVirtualNetworkLinks, InboundEndpoints, OutboundEndpoints } from "./operationsInterfaces/index.js";
|
|
4
|
+
import type { DnsResolverManagementClientOptionalParams } from "./models/index.js";
|
|
5
5
|
export declare class DnsResolverManagementClient extends coreClient.ServiceClient {
|
|
6
6
|
$host: string;
|
|
7
|
-
subscriptionId: string;
|
|
8
7
|
apiVersion: string;
|
|
8
|
+
subscriptionId: string;
|
|
9
9
|
/**
|
|
10
10
|
* Initializes a new instance of the DnsResolverManagementClient class.
|
|
11
11
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
@@ -15,15 +15,15 @@ export declare class DnsResolverManagementClient extends coreClient.ServiceClien
|
|
|
15
15
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: DnsResolverManagementClientOptionalParams);
|
|
16
16
|
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
17
17
|
private addCustomApiVersionPolicy;
|
|
18
|
-
dnsResolvers: DnsResolvers;
|
|
19
|
-
inboundEndpoints: InboundEndpoints;
|
|
20
|
-
outboundEndpoints: OutboundEndpoints;
|
|
21
18
|
dnsForwardingRulesets: DnsForwardingRulesets;
|
|
19
|
+
dnsResolverDomainLists: DnsResolverDomainLists;
|
|
20
|
+
dnsResolverPolicies: DnsResolverPolicies;
|
|
21
|
+
dnsResolvers: DnsResolvers;
|
|
22
22
|
forwardingRules: ForwardingRules;
|
|
23
23
|
virtualNetworkLinks: VirtualNetworkLinks;
|
|
24
|
-
dnsResolverPolicies: DnsResolverPolicies;
|
|
25
24
|
dnsSecurityRules: DnsSecurityRules;
|
|
26
25
|
dnsResolverPolicyVirtualNetworkLinks: DnsResolverPolicyVirtualNetworkLinks;
|
|
27
|
-
|
|
26
|
+
inboundEndpoints: InboundEndpoints;
|
|
27
|
+
outboundEndpoints: OutboundEndpoints;
|
|
28
28
|
}
|
|
29
29
|
//# sourceMappingURL=dnsResolverManagementClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dnsResolverManagementClient.d.ts","sourceRoot":"","sources":["../../src/dnsResolverManagementClient.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dnsResolverManagementClient.d.ts","sourceRoot":"","sources":["../../src/dnsResolverManagementClient.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAGjD,OAAO,KAAK,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAalD,OAAO,KAAK,EACV,qBAAqB,EACrB,sBAAsB,EACtB,mBAAmB,EACnB,YAAY,EACZ,eAAe,EACf,mBAAmB,EACnB,gBAAgB,EAChB,oCAAoC,EACpC,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,yCAAyC,EAAE,MAAM,mBAAmB,CAAC;AAEnF,qBAAa,2BAA4B,SAAQ,UAAU,CAAC,aAAa;IACvE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,yCAAyC;IAkFrD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IAwBjC,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,YAAY,EAAE,YAAY,CAAC;IAC3B,eAAe,EAAE,eAAe,CAAC;IACjC,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,oCAAoC,EAAE,oCAAoC,CAAC;IAC3E,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,iBAAiB,EAAE,iBAAiB,CAAC;CACtC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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
|
-
*/
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
// Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4
|
+
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
5
|
import * as coreClient from "@azure/core-client";
|
|
9
6
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
10
|
-
import {
|
|
7
|
+
import { DnsForwardingRulesetsImpl, DnsResolverDomainListsImpl, DnsResolverPoliciesImpl, DnsResolversImpl, ForwardingRulesImpl, VirtualNetworkLinksImpl, DnsSecurityRulesImpl, DnsResolverPolicyVirtualNetworkLinksImpl, InboundEndpointsImpl, OutboundEndpointsImpl, } from "./operations/index.js";
|
|
11
8
|
export class DnsResolverManagementClient extends coreClient.ServiceClient {
|
|
9
|
+
$host;
|
|
10
|
+
apiVersion;
|
|
11
|
+
subscriptionId;
|
|
12
12
|
/**
|
|
13
13
|
* Initializes a new instance of the DnsResolverManagementClient class.
|
|
14
14
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
@@ -16,7 +16,6 @@ export class DnsResolverManagementClient extends coreClient.ServiceClient {
|
|
|
16
16
|
* @param options The parameter options
|
|
17
17
|
*/
|
|
18
18
|
constructor(credentials, subscriptionId, options) {
|
|
19
|
-
var _a, _b, _c;
|
|
20
19
|
if (credentials === undefined) {
|
|
21
20
|
throw new Error("'credentials' cannot be null");
|
|
22
21
|
}
|
|
@@ -31,19 +30,23 @@ export class DnsResolverManagementClient extends coreClient.ServiceClient {
|
|
|
31
30
|
requestContentType: "application/json; charset=utf-8",
|
|
32
31
|
credential: credentials,
|
|
33
32
|
};
|
|
34
|
-
const packageDetails = `azsdk-js-arm-dnsresolver/
|
|
33
|
+
const packageDetails = `azsdk-js-arm-dnsresolver/2.0.0-beta.1`;
|
|
35
34
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
36
35
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
37
36
|
: `${packageDetails}`;
|
|
38
|
-
const optionsWithDefaults =
|
|
37
|
+
const optionsWithDefaults = {
|
|
38
|
+
...defaults,
|
|
39
|
+
...options,
|
|
40
|
+
userAgentOptions: {
|
|
39
41
|
userAgentPrefix,
|
|
40
|
-
},
|
|
42
|
+
},
|
|
43
|
+
endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com",
|
|
44
|
+
};
|
|
41
45
|
super(optionsWithDefaults);
|
|
42
46
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
43
|
-
if (
|
|
47
|
+
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
44
48
|
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
45
|
-
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
46
|
-
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
49
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
47
50
|
}
|
|
48
51
|
if (!options ||
|
|
49
52
|
!options.pipeline ||
|
|
@@ -54,7 +57,7 @@ export class DnsResolverManagementClient extends coreClient.ServiceClient {
|
|
|
54
57
|
});
|
|
55
58
|
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
56
59
|
credential: credentials,
|
|
57
|
-
scopes:
|
|
60
|
+
scopes: optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,
|
|
58
61
|
challengeCallbacks: {
|
|
59
62
|
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
|
60
63
|
},
|
|
@@ -64,18 +67,17 @@ export class DnsResolverManagementClient extends coreClient.ServiceClient {
|
|
|
64
67
|
this.subscriptionId = subscriptionId;
|
|
65
68
|
// Assigning values to Constant parameters
|
|
66
69
|
this.$host = options.$host || "https://management.azure.com";
|
|
67
|
-
this.apiVersion = options.apiVersion || "2025-
|
|
68
|
-
this.dnsResolvers = new DnsResolversImpl(this);
|
|
69
|
-
this.inboundEndpoints = new InboundEndpointsImpl(this);
|
|
70
|
-
this.outboundEndpoints = new OutboundEndpointsImpl(this);
|
|
70
|
+
this.apiVersion = options.apiVersion || "2025-10-01-preview";
|
|
71
71
|
this.dnsForwardingRulesets = new DnsForwardingRulesetsImpl(this);
|
|
72
|
+
this.dnsResolverDomainLists = new DnsResolverDomainListsImpl(this);
|
|
73
|
+
this.dnsResolverPolicies = new DnsResolverPoliciesImpl(this);
|
|
74
|
+
this.dnsResolvers = new DnsResolversImpl(this);
|
|
72
75
|
this.forwardingRules = new ForwardingRulesImpl(this);
|
|
73
76
|
this.virtualNetworkLinks = new VirtualNetworkLinksImpl(this);
|
|
74
|
-
this.dnsResolverPolicies = new DnsResolverPoliciesImpl(this);
|
|
75
77
|
this.dnsSecurityRules = new DnsSecurityRulesImpl(this);
|
|
76
|
-
this.dnsResolverPolicyVirtualNetworkLinks =
|
|
77
|
-
|
|
78
|
-
this.
|
|
78
|
+
this.dnsResolverPolicyVirtualNetworkLinks = new DnsResolverPolicyVirtualNetworkLinksImpl(this);
|
|
79
|
+
this.inboundEndpoints = new InboundEndpointsImpl(this);
|
|
80
|
+
this.outboundEndpoints = new OutboundEndpointsImpl(this);
|
|
79
81
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
80
82
|
}
|
|
81
83
|
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
@@ -103,5 +105,15 @@ export class DnsResolverManagementClient extends coreClient.ServiceClient {
|
|
|
103
105
|
};
|
|
104
106
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
105
107
|
}
|
|
108
|
+
dnsForwardingRulesets;
|
|
109
|
+
dnsResolverDomainLists;
|
|
110
|
+
dnsResolverPolicies;
|
|
111
|
+
dnsResolvers;
|
|
112
|
+
forwardingRules;
|
|
113
|
+
virtualNetworkLinks;
|
|
114
|
+
dnsSecurityRules;
|
|
115
|
+
dnsResolverPolicyVirtualNetworkLinks;
|
|
116
|
+
inboundEndpoints;
|
|
117
|
+
outboundEndpoints;
|
|
106
118
|
}
|
|
107
119
|
//# sourceMappingURL=dnsResolverManagementClient.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dnsResolverManagementClient.js","sourceRoot":"","sources":["../../src/dnsResolverManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EACrB,yBAAyB,EACzB,mBAAmB,EACnB,uBAAuB,EACvB,uBAAuB,EACvB,oBAAoB,EACpB,wCAAwC,EACxC,0BAA0B,GAC3B,MAAM,uBAAuB,CAA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AC;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;CAYF","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 DnsResolversImpl,\n InboundEndpointsImpl,\n OutboundEndpointsImpl,\n DnsForwardingRulesetsImpl,\n ForwardingRulesImpl,\n VirtualNetworkLinksImpl,\n DnsResolverPoliciesImpl,\n DnsSecurityRulesImpl,\n DnsResolverPolicyVirtualNetworkLinksImpl,\n DnsResolverDomainListsImpl,\n} from \"./operations/index.js\";\nimport {\n DnsResolvers,\n InboundEndpoints,\n OutboundEndpoints,\n DnsForwardingRulesets,\n ForwardingRules,\n VirtualNetworkLinks,\n DnsResolverPolicies,\n DnsSecurityRules,\n DnsResolverPolicyVirtualNetworkLinks,\n DnsResolverDomainLists,\n} from \"./operationsInterfaces/index.js\";\nimport { DnsResolverManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class DnsResolverManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the DnsResolverManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription. The value must be an UUID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: DnsResolverManagementClientOptionalParams,\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: DnsResolverManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-dnsresolver/1.2.0`;\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 || \"2025-05-01\";\n this.dnsResolvers = new DnsResolversImpl(this);\n this.inboundEndpoints = new InboundEndpointsImpl(this);\n this.outboundEndpoints = new OutboundEndpointsImpl(this);\n this.dnsForwardingRulesets = new DnsForwardingRulesetsImpl(this);\n this.forwardingRules = new ForwardingRulesImpl(this);\n this.virtualNetworkLinks = new VirtualNetworkLinksImpl(this);\n this.dnsResolverPolicies = new DnsResolverPoliciesImpl(this);\n this.dnsSecurityRules = new DnsSecurityRulesImpl(this);\n this.dnsResolverPolicyVirtualNetworkLinks =\n new DnsResolverPolicyVirtualNetworkLinksImpl(this);\n this.dnsResolverDomainLists = new DnsResolverDomainListsImpl(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 dnsResolvers: DnsResolvers;\n inboundEndpoints: InboundEndpoints;\n outboundEndpoints: OutboundEndpoints;\n dnsForwardingRulesets: DnsForwardingRulesets;\n forwardingRules: ForwardingRules;\n virtualNetworkLinks: VirtualNetworkLinks;\n dnsResolverPolicies: DnsResolverPolicies;\n dnsSecurityRules: DnsSecurityRules;\n dnsResolverPolicyVirtualNetworkLinks: DnsResolverPolicyVirtualNetworkLinks;\n dnsResolverDomainLists: DnsResolverDomainLists;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"dnsResolverManagementClient.js","sourceRoot":"","sources":["../../src/dnsResolverManagementClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,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AAI,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;IAED,qBAAqB,CAAwB;IAC7C,sBAAsB,CAAyB;IAC/C,mBAAmB,CAAsB;IACzC,YAAY,CAAe;IAC3B,eAAe,CAAkB;IACjC,mBAAmB,CAAsB;IACzC,gBAAgB,CAAmB;IACnC,oCAAoC,CAAuC;IAC3E,gBAAgB,CAAmB;IACnC,iBAAiB,CAAoB;CACtC","sourcesContent":["// 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\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport type { PipelineRequest, PipelineResponse, SendRequest } from \"@azure/core-rest-pipeline\";\nimport type * as coreAuth from \"@azure/core-auth\";\nimport {\n DnsForwardingRulesetsImpl,\n DnsResolverDomainListsImpl,\n DnsResolverPoliciesImpl,\n DnsResolversImpl,\n ForwardingRulesImpl,\n VirtualNetworkLinksImpl,\n DnsSecurityRulesImpl,\n DnsResolverPolicyVirtualNetworkLinksImpl,\n InboundEndpointsImpl,\n OutboundEndpointsImpl,\n} from \"./operations/index.js\";\nimport type {\n DnsForwardingRulesets,\n DnsResolverDomainLists,\n DnsResolverPolicies,\n DnsResolvers,\n ForwardingRules,\n VirtualNetworkLinks,\n DnsSecurityRules,\n DnsResolverPolicyVirtualNetworkLinks,\n InboundEndpoints,\n OutboundEndpoints,\n} from \"./operationsInterfaces/index.js\";\nimport type { DnsResolverManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class DnsResolverManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the DnsResolverManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription. The value must be an UUID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: DnsResolverManagementClientOptionalParams,\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: DnsResolverManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-dnsresolver/2.0.0-beta.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: 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 === 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 ?? `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge: 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 || \"2025-10-01-preview\";\n this.dnsForwardingRulesets = new DnsForwardingRulesetsImpl(this);\n this.dnsResolverDomainLists = new DnsResolverDomainListsImpl(this);\n this.dnsResolverPolicies = new DnsResolverPoliciesImpl(this);\n this.dnsResolvers = new DnsResolversImpl(this);\n this.forwardingRules = new ForwardingRulesImpl(this);\n this.virtualNetworkLinks = new VirtualNetworkLinksImpl(this);\n this.dnsSecurityRules = new DnsSecurityRulesImpl(this);\n this.dnsResolverPolicyVirtualNetworkLinks = new DnsResolverPolicyVirtualNetworkLinksImpl(this);\n this.inboundEndpoints = new InboundEndpointsImpl(this);\n this.outboundEndpoints = new OutboundEndpointsImpl(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(request: PipelineRequest, next: SendRequest): 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 dnsForwardingRulesets: DnsForwardingRulesets;\n dnsResolverDomainLists: DnsResolverDomainLists;\n dnsResolverPolicies: DnsResolverPolicies;\n dnsResolvers: DnsResolvers;\n forwardingRules: ForwardingRules;\n virtualNetworkLinks: VirtualNetworkLinks;\n dnsSecurityRules: DnsSecurityRules;\n dnsResolverPolicyVirtualNetworkLinks: DnsResolverPolicyVirtualNetworkLinks;\n inboundEndpoints: InboundEndpoints;\n outboundEndpoints: OutboundEndpoints;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,cAAc,iCAAiC,CAAC"}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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
|
-
*/
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
// Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4
|
+
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
5
|
/// <reference lib="esnext.asynciterable" />
|
|
9
6
|
export { getContinuationToken } from "./pagingHelper.js";
|
|
10
7
|
export * from "./models/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,cAAc,iCAAiC,CAAC","sourcesContent":["// 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/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { DnsResolverManagementClient } from \"./dnsResolverManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LongRunningOperation, LroResponse } from "@azure/core-lro";
|
|
1
|
+
import type { LongRunningOperation, LroResponse } from "@azure/core-lro";
|
|
2
2
|
export declare function createLroSpec<T>(inputs: {
|
|
3
3
|
sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;
|
|
4
4
|
args: Record<string, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEzE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAgB1B"}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
-
import { __rest } from "tslib";
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
9
3
|
export function createLroSpec(inputs) {
|
|
10
4
|
const { args, spec, sendOperationFn } = inputs;
|
|
11
5
|
return {
|
|
@@ -13,8 +7,13 @@ export function createLroSpec(inputs) {
|
|
|
13
7
|
requestPath: spec.path,
|
|
14
8
|
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
15
9
|
sendPollRequest: (path, options) => {
|
|
16
|
-
const { requestBody
|
|
17
|
-
return sendOperationFn(args,
|
|
10
|
+
const { requestBody, ...restSpec } = spec;
|
|
11
|
+
return sendOperationFn(args, {
|
|
12
|
+
...restSpec,
|
|
13
|
+
httpMethod: "GET",
|
|
14
|
+
path,
|
|
15
|
+
abortSignal: options?.abortSignal,
|
|
16
|
+
});
|
|
18
17
|
},
|
|
19
18
|
};
|
|
20
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAQlC,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CAAC,IAAY,EAAE,OAA2C,EAAE,EAAE;YAC7E,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,EAAE;gBAC3B,GAAG,QAAQ;gBACX,UAAU,EAAE,KAAK;gBACjB,IAAI;gBACJ,WAAW,EAAE,OAAO,EAAE,WAAW;aAClC,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["// 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\nimport type { AbortSignalLike } from \"@azure/abort-controller\";\nimport type { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (path: string, options?: { abortSignal?: AbortSignalLike }) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}
|