@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,OAAO,EACL,uBAAuB,IAAI,6BAA6B,EACxD,6BAA6B,IAAI,mCAAmC,EACpE,cAAc,IAAI,oBAAoB,EACtC,oBAAoB,IAAI,0BAA0B,EAClD,qBAAqB,IAAI,2BAA2B,EACpD,oBAAoB,IAAI,0BAA0B,EAClD,eAAe,IAAI,qBAAqB,EACxC,OAAO,IAAI,aAAa,EACxB,aAAa,IAAI,mBAAmB,EACpC,+BAA+B,IAAI,qCAAqC,GACzE,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,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;AAEF,MAAM,CAAC,MAAM,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;AAEF,MAAM,CAAC,MAAM,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,YAAY;QAC1B,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa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AmB;IAClC,MAAM,EAAE;QACN,cAAc,EAAE,mBAAmB;QACnC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAuB;IACvC,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC;IAClC,MAAM,EAAE,qCAAqC;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,OAAO,EACL,4BAA4B,IAAI,kCAAkC,EAClE,uBAAuB,IAAI,6BAA6B,EACxD,6BAA6B,IAAI,mCAA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Aa,EAAE,YAAY;IAC3B,MAAM,EAAE,mBAAmB;CAC5B,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 {\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,13 +1,10 @@
|
|
|
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 { OperationsImpl, AccountsImpl, MonitorsImpl, OrganizationsImpl, PlansImpl, BillingInfoImpl, ConnectedPartnerResourcesImpl,
|
|
7
|
+
import { OperationsImpl, AccountsImpl, SaaSImpl, MonitorsImpl, OrganizationsImpl, PlansImpl, BillingInfoImpl, ConnectedPartnerResourcesImpl, MonitoredSubscriptionsImpl, TagRulesImpl, } from "./operations/index.js";
|
|
11
8
|
export class NewRelicObservability extends coreClient.ServiceClient {
|
|
12
9
|
$host;
|
|
13
10
|
apiVersion;
|
|
@@ -33,7 +30,7 @@ export class NewRelicObservability extends coreClient.ServiceClient {
|
|
|
33
30
|
requestContentType: "application/json; charset=utf-8",
|
|
34
31
|
credential: credentials,
|
|
35
32
|
};
|
|
36
|
-
const packageDetails = `azsdk-js-arm-newrelicobservability/
|
|
33
|
+
const packageDetails = `azsdk-js-arm-newrelicobservability/2.0.0-beta.1`;
|
|
37
34
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
38
35
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
39
36
|
: `${packageDetails}`;
|
|
@@ -49,8 +46,7 @@ export class NewRelicObservability extends coreClient.ServiceClient {
|
|
|
49
46
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
50
47
|
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
51
48
|
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
52
|
-
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
53
|
-
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
49
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
54
50
|
}
|
|
55
51
|
if (!options ||
|
|
56
52
|
!options.pipeline ||
|
|
@@ -61,8 +57,7 @@ export class NewRelicObservability extends coreClient.ServiceClient {
|
|
|
61
57
|
});
|
|
62
58
|
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
63
59
|
credential: credentials,
|
|
64
|
-
scopes: optionsWithDefaults.credentialScopes ??
|
|
65
|
-
`${optionsWithDefaults.endpoint}/.default`,
|
|
60
|
+
scopes: optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,
|
|
66
61
|
challengeCallbacks: {
|
|
67
62
|
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
|
68
63
|
},
|
|
@@ -72,16 +67,17 @@ export class NewRelicObservability extends coreClient.ServiceClient {
|
|
|
72
67
|
this.subscriptionId = subscriptionId;
|
|
73
68
|
// Assigning values to Constant parameters
|
|
74
69
|
this.$host = options.$host || "https://management.azure.com";
|
|
75
|
-
this.apiVersion = options.apiVersion || "
|
|
70
|
+
this.apiVersion = options.apiVersion || "2025-05-01-preview";
|
|
76
71
|
this.operations = new OperationsImpl(this);
|
|
77
72
|
this.accounts = new AccountsImpl(this);
|
|
73
|
+
this.saaS = new SaaSImpl(this);
|
|
78
74
|
this.monitors = new MonitorsImpl(this);
|
|
79
75
|
this.organizations = new OrganizationsImpl(this);
|
|
80
76
|
this.plans = new PlansImpl(this);
|
|
81
77
|
this.billingInfo = new BillingInfoImpl(this);
|
|
82
78
|
this.connectedPartnerResources = new ConnectedPartnerResourcesImpl(this);
|
|
83
|
-
this.tagRules = new TagRulesImpl(this);
|
|
84
79
|
this.monitoredSubscriptions = new MonitoredSubscriptionsImpl(this);
|
|
80
|
+
this.tagRules = new TagRulesImpl(this);
|
|
85
81
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
86
82
|
}
|
|
87
83
|
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
@@ -111,12 +107,13 @@ export class NewRelicObservability extends coreClient.ServiceClient {
|
|
|
111
107
|
}
|
|
112
108
|
operations;
|
|
113
109
|
accounts;
|
|
110
|
+
saaS;
|
|
114
111
|
monitors;
|
|
115
112
|
organizations;
|
|
116
113
|
plans;
|
|
117
114
|
billingInfo;
|
|
118
115
|
connectedPartnerResources;
|
|
119
|
-
tagRules;
|
|
120
116
|
monitoredSubscriptions;
|
|
117
|
+
tagRules;
|
|
121
118
|
}
|
|
122
119
|
//# 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,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAG9D,OAAO,EACL,cAAc,EACd,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,6BAA6B,EAC7B,0BAA0B,EAC1B,YAAY,GACb,MAAM,uBAAuB,CAAC;AAe/B,MAAM,OAAO,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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AAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;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","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,10 +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
|
-
*/
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
8
3
|
import { setContinuationToken } from "../pagingHelper.js";
|
|
9
4
|
import * as coreClient from "@azure/core-client";
|
|
10
5
|
import * as Mappers from "../models/mappers.js";
|
|
@@ -21,7 +16,8 @@ export class AccountsImpl {
|
|
|
21
16
|
this.client = client;
|
|
22
17
|
}
|
|
23
18
|
/**
|
|
24
|
-
*
|
|
19
|
+
* Lists all the New Relic accounts linked to your email address, helping you understand the existing
|
|
20
|
+
* accounts that have been created
|
|
25
21
|
* @param userEmail User Email.
|
|
26
22
|
* @param location Location for NewRelic.
|
|
27
23
|
* @param options The options parameters.
|
|
@@ -48,7 +44,7 @@ export class AccountsImpl {
|
|
|
48
44
|
let continuationToken = settings?.continuationToken;
|
|
49
45
|
if (!continuationToken) {
|
|
50
46
|
result = await this._list(userEmail, location, options);
|
|
51
|
-
|
|
47
|
+
const page = result.value || [];
|
|
52
48
|
continuationToken = result.nextLink;
|
|
53
49
|
setContinuationToken(page, continuationToken);
|
|
54
50
|
yield page;
|
|
@@ -56,7 +52,7 @@ export class AccountsImpl {
|
|
|
56
52
|
while (continuationToken) {
|
|
57
53
|
result = await this._listNext(continuationToken, options);
|
|
58
54
|
continuationToken = result.nextLink;
|
|
59
|
-
|
|
55
|
+
const page = result.value || [];
|
|
60
56
|
setContinuationToken(page, continuationToken);
|
|
61
57
|
yield page;
|
|
62
58
|
}
|
|
@@ -67,7 +63,8 @@ export class AccountsImpl {
|
|
|
67
63
|
}
|
|
68
64
|
}
|
|
69
65
|
/**
|
|
70
|
-
*
|
|
66
|
+
* Lists all the New Relic accounts linked to your email address, helping you understand the existing
|
|
67
|
+
* accounts that have been created
|
|
71
68
|
* @param userEmail User Email.
|
|
72
69
|
* @param location Location for NewRelic.
|
|
73
70
|
* @param options The options parameters.
|
|
@@ -97,11 +94,7 @@ const listOperationSpec = {
|
|
|
97
94
|
bodyMapper: Mappers.ErrorResponse,
|
|
98
95
|
},
|
|
99
96
|
},
|
|
100
|
-
queryParameters: [
|
|
101
|
-
Parameters.apiVersion,
|
|
102
|
-
Parameters.userEmail,
|
|
103
|
-
Parameters.location,
|
|
104
|
-
],
|
|
97
|
+
queryParameters: [Parameters.apiVersion, Parameters.userEmail, Parameters.location],
|
|
105
98
|
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
106
99
|
headerParameters: [Parameters.accept],
|
|
107
100
|
serializer,
|
|
@@ -117,11 +110,7 @@ const listNextOperationSpec = {
|
|
|
117
110
|
bodyMapper: Mappers.ErrorResponse,
|
|
118
111
|
},
|
|
119
112
|
},
|
|
120
|
-
urlParameters: [
|
|
121
|
-
Parameters.$host,
|
|
122
|
-
Parameters.nextLink,
|
|
123
|
-
Parameters.subscriptionId,
|
|
124
|
-
],
|
|
113
|
+
urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.subscriptionId],
|
|
125
114
|
headerParameters: [Parameters.accept],
|
|
126
115
|
serializer,
|
|
127
116
|
};
|
|
@@ -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,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAM,OAAO,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,C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AAE;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,10 +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
|
-
*/
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
8
3
|
import * as coreClient from "@azure/core-client";
|
|
9
4
|
import * as Mappers from "../models/mappers.js";
|
|
10
5
|
import * as Parameters from "../models/parameters.js";
|
|
@@ -19,7 +14,7 @@ export class BillingInfoImpl {
|
|
|
19
14
|
this.client = client;
|
|
20
15
|
}
|
|
21
16
|
/**
|
|
22
|
-
*
|
|
17
|
+
* A synchronous resource action.
|
|
23
18
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
24
19
|
* @param monitorName Name of the Monitors resource
|
|
25
20
|
* @param options The options parameters.
|
|
@@ -46,7 +41,7 @@ const getOperationSpec = {
|
|
|
46
41
|
Parameters.$host,
|
|
47
42
|
Parameters.subscriptionId,
|
|
48
43
|
Parameters.resourceGroupName,
|
|
49
|
-
Parameters.
|
|
44
|
+
Parameters.monitorName,
|
|
50
45
|
],
|
|
51
46
|
headerParameters: [Parameters.accept],
|
|
52
47
|
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,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAItD,+CAA+C;AAC/C,MAAM,OAAO,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;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,10 +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
|
-
*/
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
8
3
|
import { setContinuationToken } from "../pagingHelper.js";
|
|
9
4
|
import * as coreClient from "@azure/core-client";
|
|
10
5
|
import * as Mappers from "../models/mappers.js";
|
|
@@ -21,8 +16,7 @@ export class ConnectedPartnerResourcesImpl {
|
|
|
21
16
|
this.client = client;
|
|
22
17
|
}
|
|
23
18
|
/**
|
|
24
|
-
*
|
|
25
|
-
* given monitor.
|
|
19
|
+
* A synchronous resource action.
|
|
26
20
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
27
21
|
* @param monitorName Name of the Monitors resource
|
|
28
22
|
* @param options The options parameters.
|
|
@@ -49,7 +43,7 @@ export class ConnectedPartnerResourcesImpl {
|
|
|
49
43
|
let continuationToken = settings?.continuationToken;
|
|
50
44
|
if (!continuationToken) {
|
|
51
45
|
result = await this._list(resourceGroupName, monitorName, options);
|
|
52
|
-
|
|
46
|
+
const page = result.value || [];
|
|
53
47
|
continuationToken = result.nextLink;
|
|
54
48
|
setContinuationToken(page, continuationToken);
|
|
55
49
|
yield page;
|
|
@@ -57,7 +51,7 @@ export class ConnectedPartnerResourcesImpl {
|
|
|
57
51
|
while (continuationToken) {
|
|
58
52
|
result = await this._listNext(resourceGroupName, monitorName, continuationToken, options);
|
|
59
53
|
continuationToken = result.nextLink;
|
|
60
|
-
|
|
54
|
+
const page = result.value || [];
|
|
61
55
|
setContinuationToken(page, continuationToken);
|
|
62
56
|
yield page;
|
|
63
57
|
}
|
|
@@ -68,8 +62,7 @@ export class ConnectedPartnerResourcesImpl {
|
|
|
68
62
|
}
|
|
69
63
|
}
|
|
70
64
|
/**
|
|
71
|
-
*
|
|
72
|
-
* given monitor.
|
|
65
|
+
* A synchronous resource action.
|
|
73
66
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
74
67
|
* @param monitorName Name of the Monitors resource
|
|
75
68
|
* @param options The options parameters.
|
|
@@ -101,13 +94,13 @@ const listOperationSpec = {
|
|
|
101
94
|
bodyMapper: Mappers.ErrorResponse,
|
|
102
95
|
},
|
|
103
96
|
},
|
|
104
|
-
requestBody: Parameters.
|
|
97
|
+
requestBody: Parameters.body2,
|
|
105
98
|
queryParameters: [Parameters.apiVersion],
|
|
106
99
|
urlParameters: [
|
|
107
100
|
Parameters.$host,
|
|
108
101
|
Parameters.subscriptionId,
|
|
109
102
|
Parameters.resourceGroupName,
|
|
110
|
-
Parameters.
|
|
103
|
+
Parameters.monitorName,
|
|
111
104
|
],
|
|
112
105
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
113
106
|
mediaType: "json",
|
|
@@ -129,7 +122,7 @@ const listNextOperationSpec = {
|
|
|
129
122
|
Parameters.nextLink,
|
|
130
123
|
Parameters.subscriptionId,
|
|
131
124
|
Parameters.resourceGroupName,
|
|
132
|
-
Parameters.
|
|
125
|
+
Parameters.monitorName,
|
|
133
126
|
],
|
|
134
127
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
135
128
|
mediaType: "json",
|