@azure/arm-newrelicobservability 1.1.2-alpha.20251114.1 → 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/LICENSE +1 -1
- package/README.md +4 -3
- 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 +2 -0
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +352 -282
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +27 -42
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +26 -23
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +495 -331
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +9 -7
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +50 -53
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/newRelicObservability.d.ts +5 -4
- package/dist/browser/newRelicObservability.d.ts.map +1 -1
- package/dist/browser/newRelicObservability.js +13 -16
- package/dist/browser/newRelicObservability.js.map +1 -1
- package/dist/browser/operations/accounts.d.ts +8 -6
- package/dist/browser/operations/accounts.d.ts.map +1 -1
- package/dist/browser/operations/accounts.js +10 -21
- package/dist/browser/operations/accounts.js.map +1 -1
- package/dist/browser/operations/billingInfo.d.ts +4 -4
- package/dist/browser/operations/billingInfo.d.ts.map +1 -1
- package/dist/browser/operations/billingInfo.js +4 -9
- package/dist/browser/operations/billingInfo.js.map +1 -1
- package/dist/browser/operations/connectedPartnerResources.d.ts +6 -8
- package/dist/browser/operations/connectedPartnerResources.d.ts.map +1 -1
- package/dist/browser/operations/connectedPartnerResources.js +9 -16
- package/dist/browser/operations/connectedPartnerResources.js.map +1 -1
- package/dist/browser/operations/index.d.ts +2 -1
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +6 -8
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operations/monitoredSubscriptions.d.ts +16 -16
- package/dist/browser/operations/monitoredSubscriptions.d.ts.map +1 -1
- package/dist/browser/operations/monitoredSubscriptions.js +30 -32
- package/dist/browser/operations/monitoredSubscriptions.js.map +1 -1
- package/dist/browser/operations/monitors.d.ts +117 -51
- package/dist/browser/operations/monitors.d.ts.map +1 -1
- package/dist/browser/operations/monitors.js +412 -117
- package/dist/browser/operations/monitors.js.map +1 -1
- package/dist/browser/operations/operations.d.ts +4 -4
- package/dist/browser/operations/operations.d.ts.map +1 -1
- package/dist/browser/operations/operations.js +4 -9
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/organizations.d.ts +8 -6
- package/dist/browser/operations/organizations.d.ts.map +1 -1
- package/dist/browser/operations/organizations.js +10 -21
- package/dist/browser/operations/organizations.js.map +1 -1
- package/dist/browser/operations/plans.d.ts +6 -6
- package/dist/browser/operations/plans.d.ts.map +1 -1
- package/dist/browser/operations/plans.js +8 -21
- package/dist/browser/operations/plans.js.map +1 -1
- package/dist/browser/operations/saaS.d.ts +19 -0
- package/dist/browser/operations/saaS.d.ts.map +1 -0
- package/dist/browser/operations/saaS.js +45 -0
- package/dist/browser/operations/saaS.js.map +1 -0
- package/dist/browser/operations/tagRules.d.ts +25 -17
- package/dist/browser/operations/tagRules.d.ts.map +1 -1
- package/dist/browser/operations/tagRules.js +46 -43
- package/dist/browser/operations/tagRules.js.map +1 -1
- package/dist/browser/operationsInterfaces/accounts.d.ts +4 -3
- package/dist/browser/operationsInterfaces/accounts.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/accounts.js +2 -7
- package/dist/browser/operationsInterfaces/accounts.js.map +1 -1
- package/dist/browser/operationsInterfaces/billingInfo.d.ts +2 -2
- package/dist/browser/operationsInterfaces/billingInfo.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/billingInfo.js +2 -7
- package/dist/browser/operationsInterfaces/billingInfo.js.map +1 -1
- package/dist/browser/operationsInterfaces/connectedPartnerResources.d.ts +3 -4
- package/dist/browser/operationsInterfaces/connectedPartnerResources.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/connectedPartnerResources.js +2 -7
- package/dist/browser/operationsInterfaces/connectedPartnerResources.js.map +1 -1
- package/dist/browser/operationsInterfaces/index.d.ts +2 -1
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +6 -8
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/operationsInterfaces/monitoredSubscriptions.d.ts +13 -13
- package/dist/browser/operationsInterfaces/monitoredSubscriptions.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/monitoredSubscriptions.js +2 -7
- package/dist/browser/operationsInterfaces/monitoredSubscriptions.js.map +1 -1
- package/dist/browser/operationsInterfaces/monitors.d.ts +90 -27
- package/dist/browser/operationsInterfaces/monitors.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/monitors.js +2 -7
- package/dist/browser/operationsInterfaces/monitors.js.map +1 -1
- package/dist/browser/operationsInterfaces/operations.d.ts +2 -2
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js +2 -7
- package/dist/browser/operationsInterfaces/operations.js.map +1 -1
- package/dist/browser/operationsInterfaces/organizations.d.ts +4 -3
- package/dist/browser/operationsInterfaces/organizations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/organizations.js +2 -7
- package/dist/browser/operationsInterfaces/organizations.js.map +1 -1
- package/dist/browser/operationsInterfaces/plans.d.ts +3 -3
- package/dist/browser/operationsInterfaces/plans.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/plans.js +2 -7
- package/dist/browser/operationsInterfaces/plans.js.map +1 -1
- package/dist/browser/operationsInterfaces/saaS.d.ts +11 -0
- package/dist/browser/operationsInterfaces/saaS.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/saaS.js +4 -0
- package/dist/browser/operationsInterfaces/saaS.js.map +1 -0
- package/dist/browser/operationsInterfaces/tagRules.d.ts +21 -14
- package/dist/browser/operationsInterfaces/tagRules.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/tagRules.js +2 -7
- package/dist/browser/operationsInterfaces/tagRules.js.map +1 -1
- package/dist/browser/pagingHelper.d.ts.map +1 -1
- package/dist/browser/pagingHelper.js +2 -7
- package/dist/browser/pagingHelper.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 +2 -0
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +352 -282
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +28 -43
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +26 -23
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +497 -333
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +9 -7
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +50 -53
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/newRelicObservability.d.ts +5 -4
- package/dist/commonjs/newRelicObservability.d.ts.map +1 -1
- package/dist/commonjs/newRelicObservability.js +12 -15
- package/dist/commonjs/newRelicObservability.js.map +1 -1
- package/dist/commonjs/operations/accounts.d.ts +8 -6
- package/dist/commonjs/operations/accounts.d.ts.map +1 -1
- package/dist/commonjs/operations/accounts.js +10 -21
- package/dist/commonjs/operations/accounts.js.map +1 -1
- package/dist/commonjs/operations/billingInfo.d.ts +4 -4
- package/dist/commonjs/operations/billingInfo.d.ts.map +1 -1
- package/dist/commonjs/operations/billingInfo.js +4 -9
- package/dist/commonjs/operations/billingInfo.js.map +1 -1
- package/dist/commonjs/operations/connectedPartnerResources.d.ts +6 -8
- package/dist/commonjs/operations/connectedPartnerResources.d.ts.map +1 -1
- package/dist/commonjs/operations/connectedPartnerResources.js +9 -16
- package/dist/commonjs/operations/connectedPartnerResources.js.map +1 -1
- package/dist/commonjs/operations/index.d.ts +2 -1
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +6 -8
- package/dist/commonjs/operations/index.js.map +1 -1
- package/dist/commonjs/operations/monitoredSubscriptions.d.ts +16 -16
- package/dist/commonjs/operations/monitoredSubscriptions.d.ts.map +1 -1
- package/dist/commonjs/operations/monitoredSubscriptions.js +29 -31
- package/dist/commonjs/operations/monitoredSubscriptions.js.map +1 -1
- package/dist/commonjs/operations/monitors.d.ts +117 -51
- package/dist/commonjs/operations/monitors.d.ts.map +1 -1
- package/dist/commonjs/operations/monitors.js +411 -116
- package/dist/commonjs/operations/monitors.js.map +1 -1
- package/dist/commonjs/operations/operations.d.ts +4 -4
- package/dist/commonjs/operations/operations.d.ts.map +1 -1
- package/dist/commonjs/operations/operations.js +4 -9
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/organizations.d.ts +8 -6
- package/dist/commonjs/operations/organizations.d.ts.map +1 -1
- package/dist/commonjs/operations/organizations.js +10 -21
- package/dist/commonjs/operations/organizations.js.map +1 -1
- package/dist/commonjs/operations/plans.d.ts +6 -6
- package/dist/commonjs/operations/plans.d.ts.map +1 -1
- package/dist/commonjs/operations/plans.js +8 -21
- package/dist/commonjs/operations/plans.js.map +1 -1
- package/dist/commonjs/operations/saaS.d.ts +19 -0
- package/dist/commonjs/operations/saaS.d.ts.map +1 -0
- package/dist/commonjs/operations/saaS.js +50 -0
- package/dist/commonjs/operations/saaS.js.map +1 -0
- package/dist/commonjs/operations/tagRules.d.ts +25 -17
- package/dist/commonjs/operations/tagRules.d.ts.map +1 -1
- package/dist/commonjs/operations/tagRules.js +45 -42
- package/dist/commonjs/operations/tagRules.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/accounts.d.ts +4 -3
- package/dist/commonjs/operationsInterfaces/accounts.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/accounts.js +2 -7
- package/dist/commonjs/operationsInterfaces/accounts.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/billingInfo.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/billingInfo.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/billingInfo.js +2 -7
- package/dist/commonjs/operationsInterfaces/billingInfo.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/connectedPartnerResources.d.ts +3 -4
- package/dist/commonjs/operationsInterfaces/connectedPartnerResources.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/connectedPartnerResources.js +2 -7
- package/dist/commonjs/operationsInterfaces/connectedPartnerResources.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +2 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +6 -8
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/monitoredSubscriptions.d.ts +13 -13
- package/dist/commonjs/operationsInterfaces/monitoredSubscriptions.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/monitoredSubscriptions.js +2 -7
- package/dist/commonjs/operationsInterfaces/monitoredSubscriptions.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/monitors.d.ts +90 -27
- package/dist/commonjs/operationsInterfaces/monitors.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/monitors.js +2 -7
- package/dist/commonjs/operationsInterfaces/monitors.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.js +2 -7
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/organizations.d.ts +4 -3
- package/dist/commonjs/operationsInterfaces/organizations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/organizations.js +2 -7
- package/dist/commonjs/operationsInterfaces/organizations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/plans.d.ts +3 -3
- package/dist/commonjs/operationsInterfaces/plans.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/plans.js +2 -7
- package/dist/commonjs/operationsInterfaces/plans.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/saaS.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/saaS.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/saaS.js +5 -0
- package/dist/commonjs/operationsInterfaces/saaS.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/tagRules.d.ts +21 -14
- package/dist/commonjs/operationsInterfaces/tagRules.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/tagRules.js +2 -7
- package/dist/commonjs/operationsInterfaces/tagRules.js.map +1 -1
- package/dist/commonjs/pagingHelper.d.ts.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -7
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +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 +2 -0
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +352 -282
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +27 -42
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +26 -23
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +495 -331
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +9 -7
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +50 -53
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/newRelicObservability.d.ts +5 -4
- package/dist/esm/newRelicObservability.d.ts.map +1 -1
- package/dist/esm/newRelicObservability.js +13 -16
- package/dist/esm/newRelicObservability.js.map +1 -1
- package/dist/esm/operations/accounts.d.ts +8 -6
- package/dist/esm/operations/accounts.d.ts.map +1 -1
- package/dist/esm/operations/accounts.js +10 -21
- package/dist/esm/operations/accounts.js.map +1 -1
- package/dist/esm/operations/billingInfo.d.ts +4 -4
- package/dist/esm/operations/billingInfo.d.ts.map +1 -1
- package/dist/esm/operations/billingInfo.js +4 -9
- package/dist/esm/operations/billingInfo.js.map +1 -1
- package/dist/esm/operations/connectedPartnerResources.d.ts +6 -8
- package/dist/esm/operations/connectedPartnerResources.d.ts.map +1 -1
- package/dist/esm/operations/connectedPartnerResources.js +9 -16
- package/dist/esm/operations/connectedPartnerResources.js.map +1 -1
- package/dist/esm/operations/index.d.ts +2 -1
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +6 -8
- package/dist/esm/operations/index.js.map +1 -1
- package/dist/esm/operations/monitoredSubscriptions.d.ts +16 -16
- package/dist/esm/operations/monitoredSubscriptions.d.ts.map +1 -1
- package/dist/esm/operations/monitoredSubscriptions.js +30 -32
- package/dist/esm/operations/monitoredSubscriptions.js.map +1 -1
- package/dist/esm/operations/monitors.d.ts +117 -51
- package/dist/esm/operations/monitors.d.ts.map +1 -1
- package/dist/esm/operations/monitors.js +412 -117
- package/dist/esm/operations/monitors.js.map +1 -1
- package/dist/esm/operations/operations.d.ts +4 -4
- package/dist/esm/operations/operations.d.ts.map +1 -1
- package/dist/esm/operations/operations.js +4 -9
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/organizations.d.ts +8 -6
- package/dist/esm/operations/organizations.d.ts.map +1 -1
- package/dist/esm/operations/organizations.js +10 -21
- package/dist/esm/operations/organizations.js.map +1 -1
- package/dist/esm/operations/plans.d.ts +6 -6
- package/dist/esm/operations/plans.d.ts.map +1 -1
- package/dist/esm/operations/plans.js +8 -21
- package/dist/esm/operations/plans.js.map +1 -1
- package/dist/esm/operations/saaS.d.ts +19 -0
- package/dist/esm/operations/saaS.d.ts.map +1 -0
- package/dist/esm/operations/saaS.js +45 -0
- package/dist/esm/operations/saaS.js.map +1 -0
- package/dist/esm/operations/tagRules.d.ts +25 -17
- package/dist/esm/operations/tagRules.d.ts.map +1 -1
- package/dist/esm/operations/tagRules.js +46 -43
- package/dist/esm/operations/tagRules.js.map +1 -1
- package/dist/esm/operationsInterfaces/accounts.d.ts +4 -3
- package/dist/esm/operationsInterfaces/accounts.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/accounts.js +2 -7
- package/dist/esm/operationsInterfaces/accounts.js.map +1 -1
- package/dist/esm/operationsInterfaces/billingInfo.d.ts +2 -2
- package/dist/esm/operationsInterfaces/billingInfo.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/billingInfo.js +2 -7
- package/dist/esm/operationsInterfaces/billingInfo.js.map +1 -1
- package/dist/esm/operationsInterfaces/connectedPartnerResources.d.ts +3 -4
- package/dist/esm/operationsInterfaces/connectedPartnerResources.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/connectedPartnerResources.js +2 -7
- package/dist/esm/operationsInterfaces/connectedPartnerResources.js.map +1 -1
- package/dist/esm/operationsInterfaces/index.d.ts +2 -1
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +6 -8
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/operationsInterfaces/monitoredSubscriptions.d.ts +13 -13
- package/dist/esm/operationsInterfaces/monitoredSubscriptions.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/monitoredSubscriptions.js +2 -7
- package/dist/esm/operationsInterfaces/monitoredSubscriptions.js.map +1 -1
- package/dist/esm/operationsInterfaces/monitors.d.ts +90 -27
- package/dist/esm/operationsInterfaces/monitors.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/monitors.js +2 -7
- package/dist/esm/operationsInterfaces/monitors.js.map +1 -1
- package/dist/esm/operationsInterfaces/operations.d.ts +2 -2
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/operations.js +2 -7
- package/dist/esm/operationsInterfaces/operations.js.map +1 -1
- package/dist/esm/operationsInterfaces/organizations.d.ts +4 -3
- package/dist/esm/operationsInterfaces/organizations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/organizations.js +2 -7
- package/dist/esm/operationsInterfaces/organizations.js.map +1 -1
- package/dist/esm/operationsInterfaces/plans.d.ts +3 -3
- package/dist/esm/operationsInterfaces/plans.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/plans.js +2 -7
- package/dist/esm/operationsInterfaces/plans.js.map +1 -1
- package/dist/esm/operationsInterfaces/saaS.d.ts +11 -0
- package/dist/esm/operationsInterfaces/saaS.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/saaS.js +4 -0
- package/dist/esm/operationsInterfaces/saaS.js.map +1 -0
- package/dist/esm/operationsInterfaces/tagRules.d.ts +21 -14
- package/dist/esm/operationsInterfaces/tagRules.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/tagRules.js +2 -7
- package/dist/esm/operationsInterfaces/tagRules.js.map +1 -1
- package/dist/esm/pagingHelper.d.ts.map +1 -1
- package/dist/esm/pagingHelper.js +2 -7
- package/dist/esm/pagingHelper.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 +2 -0
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +352 -282
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +27 -42
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +26 -23
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +495 -331
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +9 -7
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +50 -53
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/newRelicObservability.d.ts +5 -4
- package/dist/react-native/newRelicObservability.d.ts.map +1 -1
- package/dist/react-native/newRelicObservability.js +13 -16
- package/dist/react-native/newRelicObservability.js.map +1 -1
- package/dist/react-native/operations/accounts.d.ts +8 -6
- package/dist/react-native/operations/accounts.d.ts.map +1 -1
- package/dist/react-native/operations/accounts.js +10 -21
- package/dist/react-native/operations/accounts.js.map +1 -1
- package/dist/react-native/operations/billingInfo.d.ts +4 -4
- package/dist/react-native/operations/billingInfo.d.ts.map +1 -1
- package/dist/react-native/operations/billingInfo.js +4 -9
- package/dist/react-native/operations/billingInfo.js.map +1 -1
- package/dist/react-native/operations/connectedPartnerResources.d.ts +6 -8
- package/dist/react-native/operations/connectedPartnerResources.d.ts.map +1 -1
- package/dist/react-native/operations/connectedPartnerResources.js +9 -16
- package/dist/react-native/operations/connectedPartnerResources.js.map +1 -1
- package/dist/react-native/operations/index.d.ts +2 -1
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +6 -8
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operations/monitoredSubscriptions.d.ts +16 -16
- package/dist/react-native/operations/monitoredSubscriptions.d.ts.map +1 -1
- package/dist/react-native/operations/monitoredSubscriptions.js +30 -32
- package/dist/react-native/operations/monitoredSubscriptions.js.map +1 -1
- package/dist/react-native/operations/monitors.d.ts +117 -51
- package/dist/react-native/operations/monitors.d.ts.map +1 -1
- package/dist/react-native/operations/monitors.js +412 -117
- package/dist/react-native/operations/monitors.js.map +1 -1
- package/dist/react-native/operations/operations.d.ts +4 -4
- package/dist/react-native/operations/operations.d.ts.map +1 -1
- package/dist/react-native/operations/operations.js +4 -9
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/organizations.d.ts +8 -6
- package/dist/react-native/operations/organizations.d.ts.map +1 -1
- package/dist/react-native/operations/organizations.js +10 -21
- package/dist/react-native/operations/organizations.js.map +1 -1
- package/dist/react-native/operations/plans.d.ts +6 -6
- package/dist/react-native/operations/plans.d.ts.map +1 -1
- package/dist/react-native/operations/plans.js +8 -21
- package/dist/react-native/operations/plans.js.map +1 -1
- package/dist/react-native/operations/saaS.d.ts +19 -0
- package/dist/react-native/operations/saaS.d.ts.map +1 -0
- package/dist/react-native/operations/saaS.js +45 -0
- package/dist/react-native/operations/saaS.js.map +1 -0
- package/dist/react-native/operations/tagRules.d.ts +25 -17
- package/dist/react-native/operations/tagRules.d.ts.map +1 -1
- package/dist/react-native/operations/tagRules.js +46 -43
- package/dist/react-native/operations/tagRules.js.map +1 -1
- package/dist/react-native/operationsInterfaces/accounts.d.ts +4 -3
- package/dist/react-native/operationsInterfaces/accounts.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/accounts.js +2 -7
- package/dist/react-native/operationsInterfaces/accounts.js.map +1 -1
- package/dist/react-native/operationsInterfaces/billingInfo.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/billingInfo.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/billingInfo.js +2 -7
- package/dist/react-native/operationsInterfaces/billingInfo.js.map +1 -1
- package/dist/react-native/operationsInterfaces/connectedPartnerResources.d.ts +3 -4
- package/dist/react-native/operationsInterfaces/connectedPartnerResources.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/connectedPartnerResources.js +2 -7
- package/dist/react-native/operationsInterfaces/connectedPartnerResources.js.map +1 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +2 -1
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +6 -8
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/operationsInterfaces/monitoredSubscriptions.d.ts +13 -13
- package/dist/react-native/operationsInterfaces/monitoredSubscriptions.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/monitoredSubscriptions.js +2 -7
- package/dist/react-native/operationsInterfaces/monitoredSubscriptions.js.map +1 -1
- package/dist/react-native/operationsInterfaces/monitors.d.ts +90 -27
- package/dist/react-native/operationsInterfaces/monitors.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/monitors.js +2 -7
- package/dist/react-native/operationsInterfaces/monitors.js.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.js +2 -7
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/organizations.d.ts +4 -3
- package/dist/react-native/operationsInterfaces/organizations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/organizations.js +2 -7
- package/dist/react-native/operationsInterfaces/organizations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/plans.d.ts +3 -3
- package/dist/react-native/operationsInterfaces/plans.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/plans.js +2 -7
- package/dist/react-native/operationsInterfaces/plans.js.map +1 -1
- package/dist/react-native/operationsInterfaces/saaS.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/saaS.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/saaS.js +4 -0
- package/dist/react-native/operationsInterfaces/saaS.js.map +1 -0
- package/dist/react-native/operationsInterfaces/tagRules.d.ts +21 -14
- package/dist/react-native/operationsInterfaces/tagRules.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/tagRules.js +2 -7
- package/dist/react-native/operationsInterfaces/tagRules.js.map +1 -1
- package/dist/react-native/pagingHelper.d.ts.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -7
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +38 -37
- package/CHANGELOG.md +0 -76
- package/review/arm-newrelicobservability-node.api.md +0 -1160
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAOH,qDAW8B;AAEjB,QAAA,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEW,QAAA,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,YAAY;QAC1B,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEW,QAAA,cAAc,GAA0B;IACnD,aAAa,EAAE,gBAAgB;IAC/B,MA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B;IACtC,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC;IAClC,MAAM,EAAE;QACN,WAAW,EAAE;YACX,OAAO,EAAE,IAAI,MAAM,CACjB,uDAAuD,CACxD;SACF;QACD,cAAc,EAAE,MAAM;QACtB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,WAAW,GAA0B;IAChD,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE;QACN,cAAc,EAAE,aAAa;QAC7B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,SAAS,GAAuB;IAC3C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE,oBAAa;CACtB,CAAC;AAEW,QAAA,WAAW,GAAuB;IAC7C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,0BAAmB;CAC5B,CAAC;AAEW,QAAA,iBAAiB,GAA0B;IACtD,aAAa,EAAE,mBAAmB;IAClC,MAAM,EAAE;QACN,cAAc,EAAE,mBAAmB;QACnC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,KAAK,GAAuB;IACvC,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC;IAClC,MAAM,EAAE,4CAAqC;CAC9C,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n NewRelicMonitorResource as NewRelicMonitorResourceMapper,\n NewRelicMonitorResourceUpdate as NewRelicMonitorResourceUpdateMapper,\n MetricsRequest as MetricsRequestMapper,\n MetricsStatusRequest as MetricsStatusRequestMapper,\n AppServicesGetRequest as AppServicesGetRequestMapper,\n SwitchBillingRequest as SwitchBillingRequestMapper,\n HostsGetRequest as HostsGetRequestMapper,\n TagRule as TagRuleMapper,\n TagRuleUpdate as TagRuleUpdateMapper,\n MonitoredSubscriptionProperties as MonitoredSubscriptionPropertiesMapper,\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2024-01-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n constraints: {\n MinLength: 1,\n },\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const userEmail: OperationQueryParameter = {\n parameterPath: \"userEmail\",\n mapper: {\n serializedName: \"userEmail\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const location: OperationQueryParameter = {\n parameterPath: \"location\",\n mapper: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const monitorName: OperationURLParameter = {\n parameterPath: \"monitorName\",\n mapper: {\n serializedName: \"monitorName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resource: OperationParameter = {\n parameterPath: \"resource\",\n mapper: NewRelicMonitorResourceMapper,\n};\n\nexport const properties: OperationParameter = {\n parameterPath: \"properties\",\n mapper: NewRelicMonitorResourceUpdateMapper,\n};\n\nexport const request: OperationParameter = {\n parameterPath: \"request\",\n mapper: MetricsRequestMapper,\n};\n\nexport const request1: OperationParameter = {\n parameterPath: \"request\",\n mapper: MetricsStatusRequestMapper,\n};\n\nexport const request2: OperationParameter = {\n parameterPath: \"request\",\n mapper: AppServicesGetRequestMapper,\n};\n\nexport const request3: OperationParameter = {\n parameterPath: \"request\",\n mapper: SwitchBillingRequestMapper,\n};\n\nexport const request4: OperationParameter = {\n parameterPath: \"request\",\n mapper: HostsGetRequestMapper,\n};\n\nexport const monitorName1: OperationURLParameter = {\n parameterPath: \"monitorName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^.*$\"),\n },\n serializedName: \"monitorName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const accountId: OperationQueryParameter = {\n parameterPath: [\"options\", \"accountId\"],\n mapper: {\n serializedName: \"accountId\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const organizationId: OperationQueryParameter = {\n parameterPath: [\"options\", \"organizationId\"],\n mapper: {\n serializedName: \"organizationId\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const body: OperationParameter = {\n parameterPath: [\"options\", \"body\"],\n mapper: {\n constraints: {\n Pattern: new RegExp(\n \"^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\\\.)+[A-Za-z]{2,}$\",\n ),\n },\n serializedName: \"body\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const ruleSetName: OperationURLParameter = {\n parameterPath: \"ruleSetName\",\n mapper: {\n serializedName: \"ruleSetName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resource1: OperationParameter = {\n parameterPath: \"resource\",\n mapper: TagRuleMapper,\n};\n\nexport const properties1: OperationParameter = {\n parameterPath: \"properties\",\n mapper: TagRuleUpdateMapper,\n};\n\nexport const configurationName: OperationURLParameter = {\n parameterPath: \"configurationName\",\n mapper: {\n serializedName: \"configurationName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const body1: OperationParameter = {\n parameterPath: [\"options\", \"body\"],\n mapper: MonitoredSubscriptionPropertiesMapper,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAUlC,qDAc8B;AAEjB,QAAA,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEW,QAAA,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,oBAAoB;QAClC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAA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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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n ActivateSaaSParameterRequest as ActivateSaaSParameterRequestMapper,\n NewRelicMonitorResource as NewRelicMonitorResourceMapper,\n NewRelicMonitorResourceUpdate as NewRelicMonitorResourceUpdateMapper,\n MetricsRequest as MetricsRequestMapper,\n MetricsStatusRequest as MetricsStatusRequestMapper,\n SaaSData as SaaSDataMapper,\n AppServicesGetRequest as AppServicesGetRequestMapper,\n HostsGetRequest as HostsGetRequestMapper,\n ResubscribeProperties as ResubscribePropertiesMapper,\n SwitchBillingRequest as SwitchBillingRequestMapper,\n MonitoredSubscriptionProperties as MonitoredSubscriptionPropertiesMapper,\n TagRule as TagRuleMapper,\n TagRuleUpdate as TagRuleUpdateMapper,\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2025-05-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n constraints: {\n MinLength: 1,\n },\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const userEmail: OperationQueryParameter = {\n parameterPath: \"userEmail\",\n mapper: {\n serializedName: \"userEmail\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const location: OperationQueryParameter = {\n parameterPath: \"location\",\n mapper: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const request: OperationParameter = {\n parameterPath: \"request\",\n mapper: ActivateSaaSParameterRequestMapper,\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const monitorName: OperationURLParameter = {\n parameterPath: \"monitorName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^.*$\"),\n },\n serializedName: \"monitorName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resource: OperationParameter = {\n parameterPath: \"resource\",\n mapper: NewRelicMonitorResourceMapper,\n};\n\nexport const properties: OperationParameter = {\n parameterPath: \"properties\",\n mapper: NewRelicMonitorResourceUpdateMapper,\n};\n\nexport const request1: OperationParameter = {\n parameterPath: \"request\",\n mapper: MetricsRequestMapper,\n};\n\nexport const request2: OperationParameter = {\n parameterPath: \"request\",\n mapper: MetricsStatusRequestMapper,\n};\n\nexport const body: OperationParameter = {\n parameterPath: \"body\",\n mapper: SaaSDataMapper,\n};\n\nexport const request3: OperationParameter = {\n parameterPath: \"request\",\n mapper: AppServicesGetRequestMapper,\n};\n\nexport const request4: OperationParameter = {\n parameterPath: \"request\",\n mapper: HostsGetRequestMapper,\n};\n\nexport const body1: OperationParameter = {\n parameterPath: [\"options\", \"body\"],\n mapper: ResubscribePropertiesMapper,\n};\n\nexport const request5: OperationParameter = {\n parameterPath: \"request\",\n mapper: SwitchBillingRequestMapper,\n};\n\nexport const accountId: OperationQueryParameter = {\n parameterPath: [\"options\", \"accountId\"],\n mapper: {\n serializedName: \"accountId\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const organizationId: OperationQueryParameter = {\n parameterPath: [\"options\", \"organizationId\"],\n mapper: {\n serializedName: \"organizationId\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const body2: OperationParameter = {\n parameterPath: [\"options\", \"body\"],\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\\\.)+[A-Za-z]{2,}$\"),\n },\n serializedName: \"body\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const configurationName: OperationURLParameter = {\n parameterPath: \"configurationName\",\n mapper: {\n serializedName: \"configurationName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const body3: OperationParameter = {\n parameterPath: [\"options\", \"body\"],\n mapper: MonitoredSubscriptionPropertiesMapper,\n};\n\nexport const ruleSetName: OperationURLParameter = {\n parameterPath: \"ruleSetName\",\n mapper: {\n serializedName: \"ruleSetName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resource1: OperationParameter = {\n parameterPath: \"resource\",\n mapper: TagRuleMapper,\n};\n\nexport const properties1: OperationParameter = {\n parameterPath: \"properties\",\n mapper: TagRuleUpdateMapper,\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
|
-
import * as coreAuth from "@azure/core-auth";
|
|
3
|
-
import { Operations, Accounts, Monitors, Organizations, Plans, BillingInfo, ConnectedPartnerResources,
|
|
4
|
-
import { NewRelicObservabilityOptionalParams } from "./models/index.js";
|
|
2
|
+
import type * as coreAuth from "@azure/core-auth";
|
|
3
|
+
import type { Operations, Accounts, SaaS, Monitors, Organizations, Plans, BillingInfo, ConnectedPartnerResources, MonitoredSubscriptions, TagRules } from "./operationsInterfaces/index.js";
|
|
4
|
+
import type { NewRelicObservabilityOptionalParams } from "./models/index.js";
|
|
5
5
|
export declare class NewRelicObservability extends coreClient.ServiceClient {
|
|
6
6
|
$host: string;
|
|
7
7
|
apiVersion: string;
|
|
@@ -17,12 +17,13 @@ export declare class NewRelicObservability extends coreClient.ServiceClient {
|
|
|
17
17
|
private addCustomApiVersionPolicy;
|
|
18
18
|
operations: Operations;
|
|
19
19
|
accounts: Accounts;
|
|
20
|
+
saaS: SaaS;
|
|
20
21
|
monitors: Monitors;
|
|
21
22
|
organizations: Organizations;
|
|
22
23
|
plans: Plans;
|
|
23
24
|
billingInfo: BillingInfo;
|
|
24
25
|
connectedPartnerResources: ConnectedPartnerResources;
|
|
25
|
-
tagRules: TagRules;
|
|
26
26
|
monitoredSubscriptions: MonitoredSubscriptions;
|
|
27
|
+
tagRules: TagRules;
|
|
27
28
|
}
|
|
28
29
|
//# sourceMappingURL=newRelicObservability.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"newRelicObservability.d.ts","sourceRoot":"","sources":["../../src/newRelicObservability.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"newRelicObservability.d.ts","sourceRoot":"","sources":["../../src/newRelicObservability.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAGjD,OAAO,KAAK,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAalD,OAAO,KAAK,EACV,UAAU,EACV,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,aAAa,EACb,KAAK,EACL,WAAW,EACX,yBAAyB,EACzB,sBAAsB,EACtB,QAAQ,EACT,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,mBAAmB,CAAC;AAE7E,qBAAa,qBAAsB,SAAQ,UAAU,CAAC,aAAa;IACjE,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,mCAAmC;IAkF/C,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IAwBjC,UAAU,EAAE,UAAU,CAAC;IACvB,QAAQ,EAAE,QAAQ,CAAC;IACnB,IAAI,EAAE,IAAI,CAAC;IACX,QAAQ,EAAE,QAAQ,CAAC;IACnB,aAAa,EAAE,aAAa,CAAC;IAC7B,KAAK,EAAE,KAAK,CAAC;IACb,WAAW,EAAE,WAAW,CAAC;IACzB,yBAAyB,EAAE,yBAAyB,CAAC;IACrD,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,QAAQ,EAAE,QAAQ,CAAC;CACpB"}
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* Licensed under the MIT License.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
-
*/
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
9
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
5
|
exports.NewRelicObservability = void 0;
|
|
11
6
|
const tslib_1 = require("tslib");
|
|
7
|
+
// Code generated by Microsoft (R) AutoRest Code Generator.
|
|
8
|
+
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
12
9
|
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
13
10
|
const coreRestPipeline = tslib_1.__importStar(require("@azure/core-rest-pipeline"));
|
|
14
11
|
const index_js_1 = require("./operations/index.js");
|
|
@@ -37,7 +34,7 @@ class NewRelicObservability extends coreClient.ServiceClient {
|
|
|
37
34
|
requestContentType: "application/json; charset=utf-8",
|
|
38
35
|
credential: credentials,
|
|
39
36
|
};
|
|
40
|
-
const packageDetails = `azsdk-js-arm-newrelicobservability/
|
|
37
|
+
const packageDetails = `azsdk-js-arm-newrelicobservability/2.0.0-beta.1`;
|
|
41
38
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
42
39
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
43
40
|
: `${packageDetails}`;
|
|
@@ -53,8 +50,7 @@ class NewRelicObservability extends coreClient.ServiceClient {
|
|
|
53
50
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
54
51
|
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
55
52
|
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
56
|
-
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
57
|
-
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
53
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
58
54
|
}
|
|
59
55
|
if (!options ||
|
|
60
56
|
!options.pipeline ||
|
|
@@ -65,8 +61,7 @@ class NewRelicObservability extends coreClient.ServiceClient {
|
|
|
65
61
|
});
|
|
66
62
|
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
67
63
|
credential: credentials,
|
|
68
|
-
scopes: optionsWithDefaults.credentialScopes ??
|
|
69
|
-
`${optionsWithDefaults.endpoint}/.default`,
|
|
64
|
+
scopes: optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,
|
|
70
65
|
challengeCallbacks: {
|
|
71
66
|
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
|
72
67
|
},
|
|
@@ -76,16 +71,17 @@ class NewRelicObservability extends coreClient.ServiceClient {
|
|
|
76
71
|
this.subscriptionId = subscriptionId;
|
|
77
72
|
// Assigning values to Constant parameters
|
|
78
73
|
this.$host = options.$host || "https://management.azure.com";
|
|
79
|
-
this.apiVersion = options.apiVersion || "
|
|
74
|
+
this.apiVersion = options.apiVersion || "2025-05-01-preview";
|
|
80
75
|
this.operations = new index_js_1.OperationsImpl(this);
|
|
81
76
|
this.accounts = new index_js_1.AccountsImpl(this);
|
|
77
|
+
this.saaS = new index_js_1.SaaSImpl(this);
|
|
82
78
|
this.monitors = new index_js_1.MonitorsImpl(this);
|
|
83
79
|
this.organizations = new index_js_1.OrganizationsImpl(this);
|
|
84
80
|
this.plans = new index_js_1.PlansImpl(this);
|
|
85
81
|
this.billingInfo = new index_js_1.BillingInfoImpl(this);
|
|
86
82
|
this.connectedPartnerResources = new index_js_1.ConnectedPartnerResourcesImpl(this);
|
|
87
|
-
this.tagRules = new index_js_1.TagRulesImpl(this);
|
|
88
83
|
this.monitoredSubscriptions = new index_js_1.MonitoredSubscriptionsImpl(this);
|
|
84
|
+
this.tagRules = new index_js_1.TagRulesImpl(this);
|
|
89
85
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
90
86
|
}
|
|
91
87
|
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
@@ -115,13 +111,14 @@ class NewRelicObservability extends coreClient.ServiceClient {
|
|
|
115
111
|
}
|
|
116
112
|
operations;
|
|
117
113
|
accounts;
|
|
114
|
+
saaS;
|
|
118
115
|
monitors;
|
|
119
116
|
organizations;
|
|
120
117
|
plans;
|
|
121
118
|
billingInfo;
|
|
122
119
|
connectedPartnerResources;
|
|
123
|
-
tagRules;
|
|
124
120
|
monitoredSubscriptions;
|
|
121
|
+
tagRules;
|
|
125
122
|
}
|
|
126
123
|
exports.NewRelicObservability = NewRelicObservability;
|
|
127
124
|
//# sourceMappingURL=newRelicObservability.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"newRelicObservability.js","sourceRoot":"","sources":["../../src/newRelicObservability.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"newRelicObservability.js","sourceRoot":"","sources":["../../src/newRelicObservability.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,uEAAiD;AACjD,oFAA8D;AAG9D,oDAW+B;AAe/B,MAAa,qBAAsB,SAAQ,UAAU,CAAC,aAAa;IACjE,KAAK,CAAS;IACd,UAAU,CAAS;IACnB,cAAc,CAAS;IAEvB;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAA6C;QAE7C,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAwC;YACpD,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,iDAAiD,CAAC;QACzE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,GAAG;YAC1B,GAAG,QAAQ;YACX,GAAG,OAAO;YACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB;YACD,QAAQ,EAAE,OAAO,CAAC,QAAQ,IAAI,OAAO,CAAC,OAAO,IAAI,8BAA8B;SAChF,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC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AU,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,UAAU,CAAa;IACvB,QAAQ,CAAW;IACnB,IAAI,CAAO;IACX,QAAQ,CAAW;IACnB,aAAa,CAAgB;IAC7B,KAAK,CAAQ;IACb,WAAW,CAAc;IACzB,yBAAyB,CAA4B;IACrD,sBAAsB,CAAyB;IAC/C,QAAQ,CAAW;CACpB;AAnID,sDAmIC","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 OperationsImpl,\n AccountsImpl,\n SaaSImpl,\n MonitorsImpl,\n OrganizationsImpl,\n PlansImpl,\n BillingInfoImpl,\n ConnectedPartnerResourcesImpl,\n MonitoredSubscriptionsImpl,\n TagRulesImpl,\n} from \"./operations/index.js\";\nimport type {\n Operations,\n Accounts,\n SaaS,\n Monitors,\n Organizations,\n Plans,\n BillingInfo,\n ConnectedPartnerResources,\n MonitoredSubscriptions,\n TagRules,\n} from \"./operationsInterfaces/index.js\";\nimport type { NewRelicObservabilityOptionalParams } from \"./models/index.js\";\n\nexport class NewRelicObservability extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the NewRelicObservability class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: NewRelicObservabilityOptionalParams,\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: NewRelicObservabilityOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-newrelicobservability/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-05-01-preview\";\n this.operations = new OperationsImpl(this);\n this.accounts = new AccountsImpl(this);\n this.saaS = new SaaSImpl(this);\n this.monitors = new MonitorsImpl(this);\n this.organizations = new OrganizationsImpl(this);\n this.plans = new PlansImpl(this);\n this.billingInfo = new BillingInfoImpl(this);\n this.connectedPartnerResources = new ConnectedPartnerResourcesImpl(this);\n this.monitoredSubscriptions = new MonitoredSubscriptionsImpl(this);\n this.tagRules = new TagRulesImpl(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 operations: Operations;\n accounts: Accounts;\n saaS: SaaS;\n monitors: Monitors;\n organizations: Organizations;\n plans: Plans;\n billingInfo: BillingInfo;\n connectedPartnerResources: ConnectedPartnerResources;\n monitoredSubscriptions: MonitoredSubscriptions;\n tagRules: TagRules;\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Accounts } from "../operationsInterfaces/index.js";
|
|
3
|
-
import { NewRelicObservability } from "../newRelicObservability.js";
|
|
4
|
-
import { AccountResource, AccountsListOptionalParams } from "../models/index.js";
|
|
1
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import type { Accounts } from "../operationsInterfaces/index.js";
|
|
3
|
+
import type { NewRelicObservability } from "../newRelicObservability.js";
|
|
4
|
+
import type { AccountResource, AccountsListOptionalParams } from "../models/index.js";
|
|
5
5
|
/** Class containing Accounts operations. */
|
|
6
6
|
export declare class AccountsImpl implements Accounts {
|
|
7
7
|
private readonly client;
|
|
@@ -11,7 +11,8 @@ export declare class AccountsImpl implements Accounts {
|
|
|
11
11
|
*/
|
|
12
12
|
constructor(client: NewRelicObservability);
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Lists all the New Relic accounts linked to your email address, helping you understand the existing
|
|
15
|
+
* accounts that have been created
|
|
15
16
|
* @param userEmail User Email.
|
|
16
17
|
* @param location Location for NewRelic.
|
|
17
18
|
* @param options The options parameters.
|
|
@@ -20,7 +21,8 @@ export declare class AccountsImpl implements Accounts {
|
|
|
20
21
|
private listPagingPage;
|
|
21
22
|
private listPagingAll;
|
|
22
23
|
/**
|
|
23
|
-
*
|
|
24
|
+
* Lists all the New Relic accounts linked to your email address, helping you understand the existing
|
|
25
|
+
* accounts that have been created
|
|
24
26
|
* @param userEmail User Email.
|
|
25
27
|
* @param location Location for NewRelic.
|
|
26
28
|
* @param options The options parameters.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accounts.d.ts","sourceRoot":"","sources":["../../../src/operations/accounts.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"accounts.d.ts","sourceRoot":"","sources":["../../../src/operations/accounts.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAIjE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,KAAK,EACV,eAAe,EAEf,0BAA0B,EAG3B,MAAM,oBAAoB,CAAC;AAG5B,4CAA4C;AAC5C,qBAAa,YAAa,YAAW,QAAQ;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwB;IAE/C;;;OAGG;gBACS,MAAM,EAAE,qBAAqB;IAIzC;;;;;;OAMG;IACI,IAAI,CACT,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,0BAA0B,GACnC,0BAA0B,CAAC,eAAe,CAAC;YAkB/B,cAAc;YAwBd,aAAa;IAU5B;;;;;;OAMG;IACH,OAAO,CAAC,KAAK;IAQb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CAMlB"}
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* Licensed under the MIT License.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
-
*/
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
9
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
5
|
exports.AccountsImpl = void 0;
|
|
11
6
|
const tslib_1 = require("tslib");
|
|
@@ -25,7 +20,8 @@ class AccountsImpl {
|
|
|
25
20
|
this.client = client;
|
|
26
21
|
}
|
|
27
22
|
/**
|
|
28
|
-
*
|
|
23
|
+
* Lists all the New Relic accounts linked to your email address, helping you understand the existing
|
|
24
|
+
* accounts that have been created
|
|
29
25
|
* @param userEmail User Email.
|
|
30
26
|
* @param location Location for NewRelic.
|
|
31
27
|
* @param options The options parameters.
|
|
@@ -52,7 +48,7 @@ class AccountsImpl {
|
|
|
52
48
|
let continuationToken = settings?.continuationToken;
|
|
53
49
|
if (!continuationToken) {
|
|
54
50
|
result = await this._list(userEmail, location, options);
|
|
55
|
-
|
|
51
|
+
const page = result.value || [];
|
|
56
52
|
continuationToken = result.nextLink;
|
|
57
53
|
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
58
54
|
yield page;
|
|
@@ -60,7 +56,7 @@ class AccountsImpl {
|
|
|
60
56
|
while (continuationToken) {
|
|
61
57
|
result = await this._listNext(continuationToken, options);
|
|
62
58
|
continuationToken = result.nextLink;
|
|
63
|
-
|
|
59
|
+
const page = result.value || [];
|
|
64
60
|
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
65
61
|
yield page;
|
|
66
62
|
}
|
|
@@ -71,7 +67,8 @@ class AccountsImpl {
|
|
|
71
67
|
}
|
|
72
68
|
}
|
|
73
69
|
/**
|
|
74
|
-
*
|
|
70
|
+
* Lists all the New Relic accounts linked to your email address, helping you understand the existing
|
|
71
|
+
* accounts that have been created
|
|
75
72
|
* @param userEmail User Email.
|
|
76
73
|
* @param location Location for NewRelic.
|
|
77
74
|
* @param options The options parameters.
|
|
@@ -102,11 +99,7 @@ const listOperationSpec = {
|
|
|
102
99
|
bodyMapper: Mappers.ErrorResponse,
|
|
103
100
|
},
|
|
104
101
|
},
|
|
105
|
-
queryParameters: [
|
|
106
|
-
Parameters.apiVersion,
|
|
107
|
-
Parameters.userEmail,
|
|
108
|
-
Parameters.location,
|
|
109
|
-
],
|
|
102
|
+
queryParameters: [Parameters.apiVersion, Parameters.userEmail, Parameters.location],
|
|
110
103
|
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
111
104
|
headerParameters: [Parameters.accept],
|
|
112
105
|
serializer,
|
|
@@ -122,11 +115,7 @@ const listNextOperationSpec = {
|
|
|
122
115
|
bodyMapper: Mappers.ErrorResponse,
|
|
123
116
|
},
|
|
124
117
|
},
|
|
125
|
-
urlParameters: [
|
|
126
|
-
Parameters.$host,
|
|
127
|
-
Parameters.nextLink,
|
|
128
|
-
Parameters.subscriptionId,
|
|
129
|
-
],
|
|
118
|
+
urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.subscriptionId],
|
|
130
119
|
headerParameters: [Parameters.accept],
|
|
131
120
|
serializer,
|
|
132
121
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accounts.js","sourceRoot":"","sources":["../../../src/operations/accounts.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"accounts.js","sourceRoot":"","sources":["../../../src/operations/accounts.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAMlC,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAa,YAAY;IACN,MAAM,CAAwB;IAE/C;;;OAGG;IACH,YAAY,MAA6B;QACvC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,IAAI,CACT,SAAiB,EACjB,QAAgB,EAChB,OAAoC;QAEpC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,SAAS,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;QAC9D,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;YACrE,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,cAAc,CAC3B,SAAiB,EACjB,QAAgB,EAChB,OAAoC,EACpC,QAAuB;QAEv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AExC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,qBAAqB,CAAC,CAAC;IACxF,CAAC;CACF;AApGD,oCAoGC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,2EAA2E;IACjF,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,SAAS,EAAE,UAAU,CAAC,QAAQ,CAAC;IACnF,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,cAAc,CAAC;IACjF,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { Accounts } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { NewRelicObservability } from \"../newRelicObservability.js\";\nimport type {\n AccountResource,\n AccountsListNextOptionalParams,\n AccountsListOptionalParams,\n AccountsListOperationResponse,\n AccountsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Accounts operations. */\nexport class AccountsImpl implements Accounts {\n private readonly client: NewRelicObservability;\n\n /**\n * Initialize a new instance of the class Accounts class.\n * @param client Reference to the service client\n */\n constructor(client: NewRelicObservability) {\n this.client = client;\n }\n\n /**\n * Lists all the New Relic accounts linked to your email address, helping you understand the existing\n * accounts that have been created\n * @param userEmail User Email.\n * @param location Location for NewRelic.\n * @param options The options parameters.\n */\n public list(\n userEmail: string,\n location: string,\n options?: AccountsListOptionalParams,\n ): PagedAsyncIterableIterator<AccountResource> {\n const iter = this.listPagingAll(userEmail, location, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(userEmail, location, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n userEmail: string,\n location: string,\n options?: AccountsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<AccountResource[]> {\n let result: AccountsListOperationResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(userEmail, location, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n userEmail: string,\n location: string,\n options?: AccountsListOptionalParams,\n ): AsyncIterableIterator<AccountResource> {\n for await (const page of this.listPagingPage(userEmail, location, options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all the New Relic accounts linked to your email address, helping you understand the existing\n * accounts that have been created\n * @param userEmail User Email.\n * @param location Location for NewRelic.\n * @param options The options parameters.\n */\n private _list(\n userEmail: string,\n location: string,\n options?: AccountsListOptionalParams,\n ): Promise<AccountsListOperationResponse> {\n return this.client.sendOperationRequest({ userEmail, location, options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: AccountsListNextOptionalParams,\n ): Promise<AccountsListNextResponse> {\n return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/NewRelic.Observability/accounts\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccountsListResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.userEmail, Parameters.location],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccountsListResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BillingInfo } from "../operationsInterfaces/index.js";
|
|
2
|
-
import { NewRelicObservability } from "../newRelicObservability.js";
|
|
3
|
-
import { BillingInfoGetOptionalParams, BillingInfoGetResponse } from "../models/index.js";
|
|
1
|
+
import type { BillingInfo } from "../operationsInterfaces/index.js";
|
|
2
|
+
import type { NewRelicObservability } from "../newRelicObservability.js";
|
|
3
|
+
import type { BillingInfoGetOptionalParams, BillingInfoGetResponse } from "../models/index.js";
|
|
4
4
|
/** Class containing BillingInfo operations. */
|
|
5
5
|
export declare class BillingInfoImpl implements BillingInfo {
|
|
6
6
|
private readonly client;
|
|
@@ -10,7 +10,7 @@ export declare class BillingInfoImpl implements BillingInfo {
|
|
|
10
10
|
*/
|
|
11
11
|
constructor(client: NewRelicObservability);
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* A synchronous resource action.
|
|
14
14
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
15
15
|
* @param monitorName Name of the Monitors resource
|
|
16
16
|
* @param options The options parameters.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billingInfo.d.ts","sourceRoot":"","sources":["../../../src/operations/billingInfo.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"billingInfo.d.ts","sourceRoot":"","sources":["../../../src/operations/billingInfo.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAIpE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,KAAK,EAAE,4BAA4B,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAE/F,+CAA+C;AAC/C,qBAAa,eAAgB,YAAW,WAAW;IACjD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwB;IAE/C;;;OAGG;gBACS,MAAM,EAAE,qBAAqB;IAIzC;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;CAMnC"}
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* Licensed under the MIT License.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
-
*/
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
9
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
5
|
exports.BillingInfoImpl = void 0;
|
|
11
6
|
const tslib_1 = require("tslib");
|
|
@@ -23,7 +18,7 @@ class BillingInfoImpl {
|
|
|
23
18
|
this.client = client;
|
|
24
19
|
}
|
|
25
20
|
/**
|
|
26
|
-
*
|
|
21
|
+
* A synchronous resource action.
|
|
27
22
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
28
23
|
* @param monitorName Name of the Monitors resource
|
|
29
24
|
* @param options The options parameters.
|
|
@@ -51,7 +46,7 @@ const getOperationSpec = {
|
|
|
51
46
|
Parameters.$host,
|
|
52
47
|
Parameters.subscriptionId,
|
|
53
48
|
Parameters.resourceGroupName,
|
|
54
|
-
Parameters.
|
|
49
|
+
Parameters.monitorName,
|
|
55
50
|
],
|
|
56
51
|
headerParameters: [Parameters.accept],
|
|
57
52
|
serializer,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billingInfo.js","sourceRoot":"","sources":["../../../src/operations/billingInfo.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"billingInfo.js","sourceRoot":"","sources":["../../../src/operations/billingInfo.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAMlC,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAItD,+CAA+C;AAC/C,MAAa,eAAe;IACT,MAAM,CAAwB;IAE/C;;;OAGG;IACH,YAAY,MAA6B;QACvC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,GAAG,CACD,iBAAyB,EACzB,WAAmB,EACnB,OAAsC;QAEtC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,WAAW,EAAE,OAAO,EAAE,EAC3C,gBAAgB,CACjB,CAAC;IACJ,CAAC;CACF;AA3BD,0CA2BC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EAAE,2IAA2I;IACjJ,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,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 { BillingInfo } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { NewRelicObservability } from \"../newRelicObservability.js\";\nimport type { BillingInfoGetOptionalParams, BillingInfoGetResponse } from \"../models/index.js\";\n\n/** Class containing BillingInfo operations. */\nexport class BillingInfoImpl implements BillingInfo {\n private readonly client: NewRelicObservability;\n\n /**\n * Initialize a new instance of the class BillingInfo class.\n * @param client Reference to the service client\n */\n constructor(client: NewRelicObservability) {\n this.client = client;\n }\n\n /**\n * A synchronous resource action.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param monitorName Name of the Monitors resource\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n monitorName: string,\n options?: BillingInfoGetOptionalParams,\n ): Promise<BillingInfoGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, monitorName, options },\n getOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/getBillingInfo\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingInfoResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.monitorName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { ConnectedPartnerResources } from "../operationsInterfaces/index.js";
|
|
3
|
-
import { NewRelicObservability } from "../newRelicObservability.js";
|
|
4
|
-
import { ConnectedPartnerResourcesListFormat, ConnectedPartnerResourcesListOptionalParams } from "../models/index.js";
|
|
1
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import type { ConnectedPartnerResources } from "../operationsInterfaces/index.js";
|
|
3
|
+
import type { NewRelicObservability } from "../newRelicObservability.js";
|
|
4
|
+
import type { ConnectedPartnerResourcesListFormat, ConnectedPartnerResourcesListOptionalParams } from "../models/index.js";
|
|
5
5
|
/** Class containing ConnectedPartnerResources operations. */
|
|
6
6
|
export declare class ConnectedPartnerResourcesImpl implements ConnectedPartnerResources {
|
|
7
7
|
private readonly client;
|
|
@@ -11,8 +11,7 @@ export declare class ConnectedPartnerResourcesImpl implements ConnectedPartnerRe
|
|
|
11
11
|
*/
|
|
12
12
|
constructor(client: NewRelicObservability);
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
15
|
-
* given monitor.
|
|
14
|
+
* A synchronous resource action.
|
|
16
15
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
17
16
|
* @param monitorName Name of the Monitors resource
|
|
18
17
|
* @param options The options parameters.
|
|
@@ -21,8 +20,7 @@ export declare class ConnectedPartnerResourcesImpl implements ConnectedPartnerRe
|
|
|
21
20
|
private listPagingPage;
|
|
22
21
|
private listPagingAll;
|
|
23
22
|
/**
|
|
24
|
-
*
|
|
25
|
-
* given monitor.
|
|
23
|
+
* A synchronous resource action.
|
|
26
24
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
27
25
|
* @param monitorName Name of the Monitors resource
|
|
28
26
|
* @param options The options parameters.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectedPartnerResources.d.ts","sourceRoot":"","sources":["../../../src/operations/connectedPartnerResources.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"connectedPartnerResources.d.ts","sourceRoot":"","sources":["../../../src/operations/connectedPartnerResources.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAIlF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,KAAK,EACV,mCAAmC,EAEnC,2CAA2C,EAG5C,MAAM,oBAAoB,CAAC;AAG5B,6DAA6D;AAC7D,qBAAa,6BAA8B,YAAW,yBAAyB;IAC7E,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwB;IAE/C;;;OAGG;gBACS,MAAM,EAAE,qBAAqB;IAIzC;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,2CAA2C,GACpD,0BAA0B,CAAC,mCAAmC,CAAC;YAkBnD,cAAc;YAwBd,aAAa;IAU5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* Licensed under the MIT License.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
-
*/
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
9
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
5
|
exports.ConnectedPartnerResourcesImpl = void 0;
|
|
11
6
|
const tslib_1 = require("tslib");
|
|
@@ -25,8 +20,7 @@ class ConnectedPartnerResourcesImpl {
|
|
|
25
20
|
this.client = client;
|
|
26
21
|
}
|
|
27
22
|
/**
|
|
28
|
-
*
|
|
29
|
-
* given monitor.
|
|
23
|
+
* A synchronous resource action.
|
|
30
24
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
31
25
|
* @param monitorName Name of the Monitors resource
|
|
32
26
|
* @param options The options parameters.
|
|
@@ -53,7 +47,7 @@ class ConnectedPartnerResourcesImpl {
|
|
|
53
47
|
let continuationToken = settings?.continuationToken;
|
|
54
48
|
if (!continuationToken) {
|
|
55
49
|
result = await this._list(resourceGroupName, monitorName, options);
|
|
56
|
-
|
|
50
|
+
const page = result.value || [];
|
|
57
51
|
continuationToken = result.nextLink;
|
|
58
52
|
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
59
53
|
yield page;
|
|
@@ -61,7 +55,7 @@ class ConnectedPartnerResourcesImpl {
|
|
|
61
55
|
while (continuationToken) {
|
|
62
56
|
result = await this._listNext(resourceGroupName, monitorName, continuationToken, options);
|
|
63
57
|
continuationToken = result.nextLink;
|
|
64
|
-
|
|
58
|
+
const page = result.value || [];
|
|
65
59
|
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
66
60
|
yield page;
|
|
67
61
|
}
|
|
@@ -72,8 +66,7 @@ class ConnectedPartnerResourcesImpl {
|
|
|
72
66
|
}
|
|
73
67
|
}
|
|
74
68
|
/**
|
|
75
|
-
*
|
|
76
|
-
* given monitor.
|
|
69
|
+
* A synchronous resource action.
|
|
77
70
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
78
71
|
* @param monitorName Name of the Monitors resource
|
|
79
72
|
* @param options The options parameters.
|
|
@@ -106,13 +99,13 @@ const listOperationSpec = {
|
|
|
106
99
|
bodyMapper: Mappers.ErrorResponse,
|
|
107
100
|
},
|
|
108
101
|
},
|
|
109
|
-
requestBody: Parameters.
|
|
102
|
+
requestBody: Parameters.body2,
|
|
110
103
|
queryParameters: [Parameters.apiVersion],
|
|
111
104
|
urlParameters: [
|
|
112
105
|
Parameters.$host,
|
|
113
106
|
Parameters.subscriptionId,
|
|
114
107
|
Parameters.resourceGroupName,
|
|
115
|
-
Parameters.
|
|
108
|
+
Parameters.monitorName,
|
|
116
109
|
],
|
|
117
110
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
118
111
|
mediaType: "json",
|
|
@@ -134,7 +127,7 @@ const listNextOperationSpec = {
|
|
|
134
127
|
Parameters.nextLink,
|
|
135
128
|
Parameters.subscriptionId,
|
|
136
129
|
Parameters.resourceGroupName,
|
|
137
|
-
Parameters.
|
|
130
|
+
Parameters.monitorName,
|
|
138
131
|
],
|
|
139
132
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
140
133
|
mediaType: "json",
|