@azure/arm-resourcehealth 4.1.0-beta.1 → 4.1.0-beta.2
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/CHANGELOG.md +18 -8
- package/LICENSE +4 -4
- package/README.md +26 -17
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/microsoftResourceHealth.d.ts +2 -2
- package/dist/browser/microsoftResourceHealth.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/microsoftResourceHealth.js +39 -24
- package/dist/browser/microsoftResourceHealth.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +124 -59
- package/dist/browser/models/mappers.js.map +1 -0
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/availabilityStatuses.d.ts +3 -3
- package/dist/browser/operations/availabilityStatuses.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/availabilityStatuses.js +70 -136
- package/dist/browser/operations/availabilityStatuses.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/childAvailabilityStatuses.d.ts +3 -3
- package/dist/browser/operations/childAvailabilityStatuses.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/childAvailabilityStatuses.js +26 -48
- package/dist/browser/operations/childAvailabilityStatuses.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/childResources.d.ts +3 -3
- package/dist/browser/operations/childResources.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/childResources.js +26 -48
- package/dist/browser/operations/childResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/emergingIssues.d.ts +3 -3
- package/dist/browser/operations/emergingIssues.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/emergingIssues.js +26 -48
- package/dist/browser/operations/emergingIssues.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/eventOperations.d.ts +3 -3
- package/dist/browser/operations/eventOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/eventOperations.js +3 -2
- package/dist/browser/operations/eventOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/eventsOperations.d.ts +3 -3
- package/dist/browser/operations/eventsOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/eventsOperations.js +70 -136
- package/dist/browser/operations/eventsOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/impactedResources.d.ts +3 -3
- package/dist/browser/operations/impactedResources.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/impactedResources.js +48 -92
- package/dist/browser/operations/impactedResources.js.map +1 -0
- package/dist/browser/operations/index.d.ts +11 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +18 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/metadata.d.ts +3 -3
- package/dist/browser/operations/metadata.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/metadata.js +26 -48
- package/dist/browser/operations/metadata.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +3 -2
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/securityAdvisoryImpactedResources.d.ts +3 -3
- package/dist/browser/operations/securityAdvisoryImpactedResources.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/securityAdvisoryImpactedResources.js +48 -92
- package/dist/browser/operations/securityAdvisoryImpactedResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/availabilityStatuses.d.ts +1 -1
- package/dist/browser/operationsInterfaces/availabilityStatuses.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/availabilityStatuses.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/childAvailabilityStatuses.d.ts +1 -1
- package/dist/browser/operationsInterfaces/childAvailabilityStatuses.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/childAvailabilityStatuses.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/childResources.d.ts +1 -1
- package/dist/browser/operationsInterfaces/childResources.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/childResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/emergingIssues.d.ts +1 -1
- package/dist/browser/operationsInterfaces/emergingIssues.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/emergingIssues.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/eventOperations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/eventOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/eventOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/eventsOperations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/eventsOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/eventsOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/impactedResources.d.ts +1 -1
- package/dist/browser/operationsInterfaces/impactedResources.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/impactedResources.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +11 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +18 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/metadata.d.ts +1 -1
- package/dist/browser/operationsInterfaces/metadata.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/metadata.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/securityAdvisoryImpactedResources.d.ts +1 -1
- package/dist/browser/operationsInterfaces/securityAdvisoryImpactedResources.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/securityAdvisoryImpactedResources.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/microsoftResourceHealth.d.ts +30 -0
- package/dist/commonjs/microsoftResourceHealth.d.ts.map +1 -0
- package/dist/commonjs/microsoftResourceHealth.js +127 -0
- package/dist/commonjs/microsoftResourceHealth.js.map +1 -0
- package/{types/arm-resourcehealth.d.ts → dist/commonjs/models/index.d.ts} +1057 -1453
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +151 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +42 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +1582 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +16 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +163 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/availabilityStatuses.d.ts +96 -0
- package/dist/commonjs/operations/availabilityStatuses.d.ts.map +1 -0
- package/dist/commonjs/operations/availabilityStatuses.js +380 -0
- package/dist/commonjs/operations/availabilityStatuses.js.map +1 -0
- package/dist/commonjs/operations/childAvailabilityStatuses.d.ts +51 -0
- package/dist/commonjs/operations/childAvailabilityStatuses.d.ts.map +1 -0
- package/dist/commonjs/operations/childAvailabilityStatuses.js +170 -0
- package/dist/commonjs/operations/childAvailabilityStatuses.js.map +1 -0
- package/dist/commonjs/operations/childResources.d.ts +43 -0
- package/dist/commonjs/operations/childResources.d.ts.map +1 -0
- package/dist/commonjs/operations/childResources.js +140 -0
- package/dist/commonjs/operations/childResources.js.map +1 -0
- package/dist/commonjs/operations/emergingIssues.d.ts +38 -0
- package/dist/commonjs/operations/emergingIssues.d.ts.map +1 -0
- package/dist/commonjs/operations/emergingIssues.js +145 -0
- package/dist/commonjs/operations/emergingIssues.js.map +1 -0
- package/dist/commonjs/operations/eventOperations.d.ts +39 -0
- package/dist/commonjs/operations/eventOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/eventOperations.js +143 -0
- package/dist/commonjs/operations/eventOperations.js.map +1 -0
- package/dist/commonjs/operations/eventsOperations.d.ts +83 -0
- package/dist/commonjs/operations/eventsOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/eventsOperations.js +332 -0
- package/dist/commonjs/operations/eventsOperations.js.map +1 -0
- package/dist/commonjs/operations/impactedResources.d.ts +72 -0
- package/dist/commonjs/operations/impactedResources.d.ts.map +1 -0
- package/dist/commonjs/operations/impactedResources.js +291 -0
- package/dist/commonjs/operations/impactedResources.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +11 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +21 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/metadata.d.ts +38 -0
- package/dist/commonjs/operations/metadata.d.ts.map +1 -0
- package/dist/commonjs/operations/metadata.js +145 -0
- package/dist/commonjs/operations/metadata.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +18 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +52 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/securityAdvisoryImpactedResources.d.ts +58 -0
- package/dist/commonjs/operations/securityAdvisoryImpactedResources.d.ts.map +1 -0
- package/dist/commonjs/operations/securityAdvisoryImpactedResources.js +232 -0
- package/dist/commonjs/operations/securityAdvisoryImpactedResources.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/availabilityStatuses.d.ts +37 -0
- package/dist/commonjs/operationsInterfaces/availabilityStatuses.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/availabilityStatuses.js +10 -0
- package/dist/commonjs/operationsInterfaces/availabilityStatuses.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/childAvailabilityStatuses.d.ts +23 -0
- package/dist/commonjs/operationsInterfaces/childAvailabilityStatuses.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/childAvailabilityStatuses.js +10 -0
- package/dist/commonjs/operationsInterfaces/childAvailabilityStatuses.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/childResources.d.ts +15 -0
- package/dist/commonjs/operationsInterfaces/childResources.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/childResources.js +10 -0
- package/dist/commonjs/operationsInterfaces/childResources.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/emergingIssues.d.ts +17 -0
- package/dist/commonjs/operationsInterfaces/emergingIssues.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/emergingIssues.js +10 -0
- package/dist/commonjs/operationsInterfaces/emergingIssues.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/eventOperations.d.ts +31 -0
- package/dist/commonjs/operationsInterfaces/eventOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/eventOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/eventOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/eventsOperations.d.ts +26 -0
- package/dist/commonjs/operationsInterfaces/eventsOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/eventsOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/eventsOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/impactedResources.d.ts +32 -0
- package/dist/commonjs/operationsInterfaces/impactedResources.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/impactedResources.js +10 -0
- package/dist/commonjs/operationsInterfaces/impactedResources.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +21 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/metadata.d.ts +17 -0
- package/dist/commonjs/operationsInterfaces/metadata.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/metadata.js +10 -0
- package/dist/commonjs/operationsInterfaces/metadata.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +10 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/securityAdvisoryImpactedResources.d.ts +18 -0
- package/dist/commonjs/operationsInterfaces/securityAdvisoryImpactedResources.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/securityAdvisoryImpactedResources.js +10 -0
- package/dist/commonjs/operationsInterfaces/securityAdvisoryImpactedResources.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +34 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/microsoftResourceHealth.d.ts +30 -0
- package/dist/esm/microsoftResourceHealth.d.ts.map +1 -0
- package/dist/esm/microsoftResourceHealth.js +122 -0
- package/dist/esm/microsoftResourceHealth.js.map +1 -0
- package/dist/esm/models/index.d.ts +1057 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +148 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +42 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +1579 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +16 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +160 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/availabilityStatuses.d.ts +96 -0
- package/dist/esm/operations/availabilityStatuses.d.ts.map +1 -0
- package/dist/esm/operations/availabilityStatuses.js +375 -0
- package/dist/esm/operations/availabilityStatuses.js.map +1 -0
- package/dist/esm/operations/childAvailabilityStatuses.d.ts +51 -0
- package/dist/esm/operations/childAvailabilityStatuses.d.ts.map +1 -0
- package/dist/esm/operations/childAvailabilityStatuses.js +165 -0
- package/dist/esm/operations/childAvailabilityStatuses.js.map +1 -0
- package/dist/esm/operations/childResources.d.ts +43 -0
- package/dist/esm/operations/childResources.d.ts.map +1 -0
- package/dist/esm/operations/childResources.js +135 -0
- package/dist/esm/operations/childResources.js.map +1 -0
- package/dist/esm/operations/emergingIssues.d.ts +38 -0
- package/dist/esm/operations/emergingIssues.d.ts.map +1 -0
- package/dist/esm/operations/emergingIssues.js +140 -0
- package/dist/esm/operations/emergingIssues.js.map +1 -0
- package/dist/esm/operations/eventOperations.d.ts +39 -0
- package/dist/esm/operations/eventOperations.d.ts.map +1 -0
- package/dist/esm/operations/eventOperations.js +138 -0
- package/dist/esm/operations/eventOperations.js.map +1 -0
- package/dist/esm/operations/eventsOperations.d.ts +83 -0
- package/dist/esm/operations/eventsOperations.d.ts.map +1 -0
- package/dist/esm/operations/eventsOperations.js +327 -0
- package/dist/esm/operations/eventsOperations.js.map +1 -0
- package/dist/esm/operations/impactedResources.d.ts +72 -0
- package/dist/esm/operations/impactedResources.d.ts.map +1 -0
- package/dist/esm/operations/impactedResources.js +286 -0
- package/dist/esm/operations/impactedResources.js.map +1 -0
- package/dist/esm/operations/index.d.ts +11 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +18 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/metadata.d.ts +38 -0
- package/dist/esm/operations/metadata.d.ts.map +1 -0
- package/dist/esm/operations/metadata.js +140 -0
- package/dist/esm/operations/metadata.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +18 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +47 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/securityAdvisoryImpactedResources.d.ts +58 -0
- package/dist/esm/operations/securityAdvisoryImpactedResources.d.ts.map +1 -0
- package/dist/esm/operations/securityAdvisoryImpactedResources.js +227 -0
- package/dist/esm/operations/securityAdvisoryImpactedResources.js.map +1 -0
- package/dist/esm/operationsInterfaces/availabilityStatuses.d.ts +37 -0
- package/dist/esm/operationsInterfaces/availabilityStatuses.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/availabilityStatuses.js +9 -0
- package/dist/esm/operationsInterfaces/availabilityStatuses.js.map +1 -0
- package/dist/esm/operationsInterfaces/childAvailabilityStatuses.d.ts +23 -0
- package/dist/esm/operationsInterfaces/childAvailabilityStatuses.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/childAvailabilityStatuses.js +9 -0
- package/dist/esm/operationsInterfaces/childAvailabilityStatuses.js.map +1 -0
- package/dist/esm/operationsInterfaces/childResources.d.ts +15 -0
- package/dist/esm/operationsInterfaces/childResources.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/childResources.js +9 -0
- package/dist/esm/operationsInterfaces/childResources.js.map +1 -0
- package/dist/esm/operationsInterfaces/emergingIssues.d.ts +17 -0
- package/dist/esm/operationsInterfaces/emergingIssues.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/emergingIssues.js +9 -0
- package/dist/esm/operationsInterfaces/emergingIssues.js.map +1 -0
- package/dist/esm/operationsInterfaces/eventOperations.d.ts +31 -0
- package/dist/esm/operationsInterfaces/eventOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/eventOperations.js +9 -0
- package/dist/esm/operationsInterfaces/eventOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/eventsOperations.d.ts +26 -0
- package/dist/esm/operationsInterfaces/eventsOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/eventsOperations.js +9 -0
- package/dist/esm/operationsInterfaces/eventsOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/impactedResources.d.ts +32 -0
- package/dist/esm/operationsInterfaces/impactedResources.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/impactedResources.js +9 -0
- package/dist/esm/operationsInterfaces/impactedResources.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +11 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +18 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/metadata.d.ts +17 -0
- package/dist/esm/operationsInterfaces/metadata.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/metadata.js +9 -0
- package/dist/esm/operationsInterfaces/metadata.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +10 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/securityAdvisoryImpactedResources.d.ts +18 -0
- package/dist/esm/operationsInterfaces/securityAdvisoryImpactedResources.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/securityAdvisoryImpactedResources.js +9 -0
- package/dist/esm/operationsInterfaces/securityAdvisoryImpactedResources.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +30 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/microsoftResourceHealth.d.ts +30 -0
- package/dist/react-native/microsoftResourceHealth.d.ts.map +1 -0
- package/dist/react-native/microsoftResourceHealth.js +122 -0
- package/dist/react-native/microsoftResourceHealth.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1057 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +148 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +42 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +1579 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +16 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +160 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/availabilityStatuses.d.ts +96 -0
- package/dist/react-native/operations/availabilityStatuses.d.ts.map +1 -0
- package/dist/react-native/operations/availabilityStatuses.js +375 -0
- package/dist/react-native/operations/availabilityStatuses.js.map +1 -0
- package/dist/react-native/operations/childAvailabilityStatuses.d.ts +51 -0
- package/dist/react-native/operations/childAvailabilityStatuses.d.ts.map +1 -0
- package/dist/react-native/operations/childAvailabilityStatuses.js +165 -0
- package/dist/react-native/operations/childAvailabilityStatuses.js.map +1 -0
- package/dist/react-native/operations/childResources.d.ts +43 -0
- package/dist/react-native/operations/childResources.d.ts.map +1 -0
- package/dist/react-native/operations/childResources.js +135 -0
- package/dist/react-native/operations/childResources.js.map +1 -0
- package/dist/react-native/operations/emergingIssues.d.ts +38 -0
- package/dist/react-native/operations/emergingIssues.d.ts.map +1 -0
- package/dist/react-native/operations/emergingIssues.js +140 -0
- package/dist/react-native/operations/emergingIssues.js.map +1 -0
- package/dist/react-native/operations/eventOperations.d.ts +39 -0
- package/dist/react-native/operations/eventOperations.d.ts.map +1 -0
- package/dist/react-native/operations/eventOperations.js +138 -0
- package/dist/react-native/operations/eventOperations.js.map +1 -0
- package/dist/react-native/operations/eventsOperations.d.ts +83 -0
- package/dist/react-native/operations/eventsOperations.d.ts.map +1 -0
- package/dist/react-native/operations/eventsOperations.js +327 -0
- package/dist/react-native/operations/eventsOperations.js.map +1 -0
- package/dist/react-native/operations/impactedResources.d.ts +72 -0
- package/dist/react-native/operations/impactedResources.d.ts.map +1 -0
- package/dist/react-native/operations/impactedResources.js +286 -0
- package/dist/react-native/operations/impactedResources.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +11 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +18 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/metadata.d.ts +38 -0
- package/dist/react-native/operations/metadata.d.ts.map +1 -0
- package/dist/react-native/operations/metadata.js +140 -0
- package/dist/react-native/operations/metadata.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +18 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +47 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/securityAdvisoryImpactedResources.d.ts +58 -0
- package/dist/react-native/operations/securityAdvisoryImpactedResources.d.ts.map +1 -0
- package/dist/react-native/operations/securityAdvisoryImpactedResources.js +227 -0
- package/dist/react-native/operations/securityAdvisoryImpactedResources.js.map +1 -0
- package/dist/react-native/operationsInterfaces/availabilityStatuses.d.ts +37 -0
- package/dist/react-native/operationsInterfaces/availabilityStatuses.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/availabilityStatuses.js +9 -0
- package/dist/react-native/operationsInterfaces/availabilityStatuses.js.map +1 -0
- package/dist/react-native/operationsInterfaces/childAvailabilityStatuses.d.ts +23 -0
- package/dist/react-native/operationsInterfaces/childAvailabilityStatuses.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/childAvailabilityStatuses.js +9 -0
- package/dist/react-native/operationsInterfaces/childAvailabilityStatuses.js.map +1 -0
- package/dist/react-native/operationsInterfaces/childResources.d.ts +15 -0
- package/dist/react-native/operationsInterfaces/childResources.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/childResources.js +9 -0
- package/dist/react-native/operationsInterfaces/childResources.js.map +1 -0
- package/dist/react-native/operationsInterfaces/emergingIssues.d.ts +17 -0
- package/dist/react-native/operationsInterfaces/emergingIssues.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/emergingIssues.js +9 -0
- package/dist/react-native/operationsInterfaces/emergingIssues.js.map +1 -0
- package/dist/react-native/operationsInterfaces/eventOperations.d.ts +31 -0
- package/dist/react-native/operationsInterfaces/eventOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/eventOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/eventOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/eventsOperations.d.ts +26 -0
- package/dist/react-native/operationsInterfaces/eventsOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/eventsOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/eventsOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/impactedResources.d.ts +32 -0
- package/dist/react-native/operationsInterfaces/impactedResources.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/impactedResources.js +9 -0
- package/dist/react-native/operationsInterfaces/impactedResources.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +18 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/metadata.d.ts +17 -0
- package/dist/react-native/operationsInterfaces/metadata.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/metadata.js +9 -0
- package/dist/react-native/operationsInterfaces/metadata.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +10 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/securityAdvisoryImpactedResources.d.ts +18 -0
- package/dist/react-native/operationsInterfaces/securityAdvisoryImpactedResources.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/securityAdvisoryImpactedResources.js +9 -0
- package/dist/react-native/operationsInterfaces/securityAdvisoryImpactedResources.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +30 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +83 -73
- package/dist/index.js +0 -4273
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/availabilityStatusesGetByResourceSample.d.ts +0 -2
- package/dist-esm/samples-dev/availabilityStatusesGetByResourceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/availabilityStatusesGetByResourceSample.js +0 -38
- package/dist-esm/samples-dev/availabilityStatusesGetByResourceSample.js.map +0 -1
- package/dist-esm/samples-dev/availabilityStatusesListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/availabilityStatusesListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/availabilityStatusesListByResourceGroupSample.js +0 -62
- package/dist-esm/samples-dev/availabilityStatusesListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/availabilityStatusesListBySubscriptionIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/availabilityStatusesListBySubscriptionIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/availabilityStatusesListBySubscriptionIdSample.js +0 -61
- package/dist-esm/samples-dev/availabilityStatusesListBySubscriptionIdSample.js.map +0 -1
- package/dist-esm/samples-dev/availabilityStatusesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/availabilityStatusesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/availabilityStatusesListSample.js +0 -57
- package/dist-esm/samples-dev/availabilityStatusesListSample.js.map +0 -1
- package/dist-esm/samples-dev/childAvailabilityStatusesGetByResourceSample.d.ts +0 -2
- package/dist-esm/samples-dev/childAvailabilityStatusesGetByResourceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/childAvailabilityStatusesGetByResourceSample.js +0 -40
- package/dist-esm/samples-dev/childAvailabilityStatusesGetByResourceSample.js.map +0 -1
- package/dist-esm/samples-dev/childAvailabilityStatusesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/childAvailabilityStatusesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/childAvailabilityStatusesListSample.js +0 -57
- package/dist-esm/samples-dev/childAvailabilityStatusesListSample.js.map +0 -1
- package/dist-esm/samples-dev/childResourcesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/childResourcesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/childResourcesListSample.js +0 -57
- package/dist-esm/samples-dev/childResourcesListSample.js.map +0 -1
- package/dist-esm/samples-dev/emergingIssuesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/emergingIssuesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/emergingIssuesGetSample.js +0 -36
- package/dist-esm/samples-dev/emergingIssuesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/emergingIssuesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/emergingIssuesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/emergingIssuesListSample.js +0 -56
- package/dist-esm/samples-dev/emergingIssuesListSample.js.map +0 -1
- package/dist-esm/samples-dev/eventFetchDetailsBySubscriptionIdAndTrackingIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/eventFetchDetailsBySubscriptionIdAndTrackingIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/eventFetchDetailsBySubscriptionIdAndTrackingIdSample.js +0 -37
- package/dist-esm/samples-dev/eventFetchDetailsBySubscriptionIdAndTrackingIdSample.js.map +0 -1
- package/dist-esm/samples-dev/eventFetchDetailsByTenantIdAndTrackingIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/eventFetchDetailsByTenantIdAndTrackingIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/eventFetchDetailsByTenantIdAndTrackingIdSample.js +0 -36
- package/dist-esm/samples-dev/eventFetchDetailsByTenantIdAndTrackingIdSample.js.map +0 -1
- package/dist-esm/samples-dev/eventGetBySubscriptionIdAndTrackingIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/eventGetBySubscriptionIdAndTrackingIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/eventGetBySubscriptionIdAndTrackingIdSample.js +0 -43
- package/dist-esm/samples-dev/eventGetBySubscriptionIdAndTrackingIdSample.js.map +0 -1
- package/dist-esm/samples-dev/eventGetByTenantIdAndTrackingIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/eventGetByTenantIdAndTrackingIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/eventGetByTenantIdAndTrackingIdSample.js +0 -42
- package/dist-esm/samples-dev/eventGetByTenantIdAndTrackingIdSample.js.map +0 -1
- package/dist-esm/samples-dev/eventsListBySingleResourceSample.d.ts +0 -2
- package/dist-esm/samples-dev/eventsListBySingleResourceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/eventsListBySingleResourceSample.js +0 -57
- package/dist-esm/samples-dev/eventsListBySingleResourceSample.js.map +0 -1
- package/dist-esm/samples-dev/eventsListBySubscriptionIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/eventsListBySubscriptionIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/eventsListBySubscriptionIdSample.js +0 -63
- package/dist-esm/samples-dev/eventsListBySubscriptionIdSample.js.map +0 -1
- package/dist-esm/samples-dev/eventsListByTenantIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/eventsListByTenantIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/eventsListByTenantIdSample.js +0 -62
- package/dist-esm/samples-dev/eventsListByTenantIdSample.js.map +0 -1
- package/dist-esm/samples-dev/impactedResourcesGetByTenantIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/impactedResourcesGetByTenantIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/impactedResourcesGetByTenantIdSample.js +0 -37
- package/dist-esm/samples-dev/impactedResourcesGetByTenantIdSample.js.map +0 -1
- package/dist-esm/samples-dev/impactedResourcesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/impactedResourcesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/impactedResourcesGetSample.js +0 -38
- package/dist-esm/samples-dev/impactedResourcesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/impactedResourcesListBySubscriptionIdAndEventIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/impactedResourcesListBySubscriptionIdAndEventIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/impactedResourcesListBySubscriptionIdAndEventIdSample.js +0 -62
- package/dist-esm/samples-dev/impactedResourcesListBySubscriptionIdAndEventIdSample.js.map +0 -1
- package/dist-esm/samples-dev/impactedResourcesListByTenantIdAndEventIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/impactedResourcesListByTenantIdAndEventIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/impactedResourcesListByTenantIdAndEventIdSample.js +0 -61
- package/dist-esm/samples-dev/impactedResourcesListByTenantIdAndEventIdSample.js.map +0 -1
- package/dist-esm/samples-dev/metadataGetEntitySample.d.ts +0 -2
- package/dist-esm/samples-dev/metadataGetEntitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/metadataGetEntitySample.js +0 -36
- package/dist-esm/samples-dev/metadataGetEntitySample.js.map +0 -1
- package/dist-esm/samples-dev/metadataListSample.d.ts +0 -2
- package/dist-esm/samples-dev/metadataListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/metadataListSample.js +0 -56
- package/dist-esm/samples-dev/metadataListSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -37
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdSample.js +0 -58
- package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdSample.js.map +0 -1
- package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.js +0 -57
- package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -6
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/microsoftResourceHealth.d.ts.map +0 -1
- package/dist-esm/src/microsoftResourceHealth.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/availabilityStatuses.d.ts.map +0 -1
- package/dist-esm/src/operations/availabilityStatuses.js.map +0 -1
- package/dist-esm/src/operations/childAvailabilityStatuses.d.ts.map +0 -1
- package/dist-esm/src/operations/childAvailabilityStatuses.js.map +0 -1
- package/dist-esm/src/operations/childResources.d.ts.map +0 -1
- package/dist-esm/src/operations/childResources.js.map +0 -1
- package/dist-esm/src/operations/emergingIssues.d.ts.map +0 -1
- package/dist-esm/src/operations/emergingIssues.js.map +0 -1
- package/dist-esm/src/operations/eventOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/eventOperations.js.map +0 -1
- package/dist-esm/src/operations/eventsOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/eventsOperations.js.map +0 -1
- package/dist-esm/src/operations/impactedResources.d.ts.map +0 -1
- package/dist-esm/src/operations/impactedResources.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -11
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -18
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/metadata.d.ts.map +0 -1
- package/dist-esm/src/operations/metadata.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/securityAdvisoryImpactedResources.d.ts.map +0 -1
- package/dist-esm/src/operations/securityAdvisoryImpactedResources.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/availabilityStatuses.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/availabilityStatuses.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/childResources.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/childResources.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/emergingIssues.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/emergingIssues.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/eventOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/eventOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/eventsOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/eventsOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/impactedResources.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/impactedResources.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -11
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -18
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/metadata.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/metadata.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/securityAdvisoryImpactedResources.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/securityAdvisoryImpactedResources.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/resourcehealth_operations_test.spec.d.ts +0 -4
- package/dist-esm/test/resourcehealth_operations_test.spec.d.ts.map +0 -1
- package/dist-esm/test/resourcehealth_operations_test.spec.js +0 -56
- package/dist-esm/test/resourcehealth_operations_test.spec.js.map +0 -1
- package/rollup.config.js +0 -122
- package/src/microsoftResourceHealth.ts +0 -196
- package/src/models/index.ts +0 -1229
- package/src/models/mappers.ts +0 -1620
- package/src/models/parameters.ts +0 -179
- package/src/operations/availabilityStatuses.ts +0 -499
- package/src/operations/childAvailabilityStatuses.ts +0 -218
- package/src/operations/childResources.ts +0 -176
- package/src/operations/emergingIssues.ts +0 -183
- package/src/operations/eventOperations.ts +0 -184
- package/src/operations/eventsOperations.ts +0 -434
- package/src/operations/impactedResources.ts +0 -414
- package/src/operations/index.ts +0 -18
- package/src/operations/metadata.ts +0 -182
- package/src/operations/operations.ts +0 -59
- package/src/operations/securityAdvisoryImpactedResources.ts +0 -342
- package/src/operationsInterfaces/availabilityStatuses.ts +0 -64
- package/src/operationsInterfaces/childAvailabilityStatuses.ts +0 -43
- package/src/operationsInterfaces/childResources.ts +0 -30
- package/src/operationsInterfaces/emergingIssues.ts +0 -37
- package/src/operationsInterfaces/eventOperations.ts +0 -60
- package/src/operationsInterfaces/eventsOperations.ts +0 -47
- package/src/operationsInterfaces/impactedResources.ts +0 -63
- package/src/operationsInterfaces/index.ts +0 -18
- package/src/operationsInterfaces/metadata.ts +0 -36
- package/src/operationsInterfaces/operations.ts +0 -21
- package/src/operationsInterfaces/securityAdvisoryImpactedResources.ts +0 -37
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/availabilityStatuses.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/childAvailabilityStatuses.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/childResources.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/emergingIssues.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/eventOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/eventsOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/impactedResources.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/metadata.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/securityAdvisoryImpactedResources.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/review/{arm-resourcehealth.api.md → arm-resourcehealth-node.api.md} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"childAvailabilityStatuses.js","sourceRoot":"","sources":["../../../src/operations/childAvailabilityStatuses.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAYtD,4CAA4C;AAC5C,6DAA6D;AAC7D,MAAa,6BAA6B;IAEvB,MAAM,CAA0B;IAEjD;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,IAAI,CACT,WAAmB,EACnB,OAAqD;QAErD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;QACtD,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,WAAW,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;YAC7D,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,cAAc,CAC3B,WAAmB,EACnB,OAAqD,EACrD,QAAuB;QAEvB,IAAI,MAA6C,CAAC;QAClD,IAAI,iBAAiB,GAAG,QAAQ,EAAE,iBAAiB,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CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ChildAvailabilityStatuses } 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 { MicrosoftResourceHealth } from \"../microsoftResourceHealth.js\";\nimport {\n AvailabilityStatus,\n ChildAvailabilityStatusesListNextOptionalParams,\n ChildAvailabilityStatusesListOptionalParams,\n ChildAvailabilityStatusesListResponse,\n ChildAvailabilityStatusesGetByResourceOptionalParams,\n ChildAvailabilityStatusesGetByResourceResponse,\n ChildAvailabilityStatusesListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ChildAvailabilityStatuses operations. */\nexport class ChildAvailabilityStatusesImpl\n implements ChildAvailabilityStatuses {\n private readonly client: MicrosoftResourceHealth;\n\n /**\n * Initialize a new instance of the class ChildAvailabilityStatuses class.\n * @param client Reference to the service client\n */\n constructor(client: MicrosoftResourceHealth) {\n this.client = client;\n }\n\n /**\n * Lists the historical availability statuses for a single child resource. Use the nextLink property in\n * the response to get the next page of availability status\n * @param resourceUri The fully qualified ID of the resource, including the resource name and resource\n * type. Currently the API only support one nesting level resource types :\n * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}\n * @param options The options parameters.\n */\n public list(\n resourceUri: string,\n options?: ChildAvailabilityStatusesListOptionalParams\n ): PagedAsyncIterableIterator<AvailabilityStatus> {\n const iter = this.listPagingAll(resourceUri, 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(resourceUri, options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n resourceUri: string,\n options?: ChildAvailabilityStatusesListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<AvailabilityStatus[]> {\n let result: ChildAvailabilityStatusesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceUri, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(resourceUri, continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceUri: string,\n options?: ChildAvailabilityStatusesListOptionalParams\n ): AsyncIterableIterator<AvailabilityStatus> {\n for await (const page of this.listPagingPage(resourceUri, options)) {\n yield* page;\n }\n }\n\n /**\n * Gets current availability status for a single resource\n * @param resourceUri The fully qualified ID of the resource, including the resource name and resource\n * type. Currently the API only support one nesting level resource types :\n * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}\n * @param options The options parameters.\n */\n getByResource(\n resourceUri: string,\n options?: ChildAvailabilityStatusesGetByResourceOptionalParams\n ): Promise<ChildAvailabilityStatusesGetByResourceResponse> {\n return this.client.sendOperationRequest(\n { resourceUri, options },\n getByResourceOperationSpec\n );\n }\n\n /**\n * Lists the historical availability statuses for a single child resource. Use the nextLink property in\n * the response to get the next page of availability status\n * @param resourceUri The fully qualified ID of the resource, including the resource name and resource\n * type. Currently the API only support one nesting level resource types :\n * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}\n * @param options The options parameters.\n */\n private _list(\n resourceUri: string,\n options?: ChildAvailabilityStatusesListOptionalParams\n ): Promise<ChildAvailabilityStatusesListResponse> {\n return this.client.sendOperationRequest(\n { resourceUri, options },\n listOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param resourceUri The fully qualified ID of the resource, including the resource name and resource\n * type. Currently the API only support one nesting level resource types :\n * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}\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 resourceUri: string,\n nextLink: string,\n options?: ChildAvailabilityStatusesListNextOptionalParams\n ): Promise<ChildAvailabilityStatusesListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceUri, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getByResourceOperationSpec: coreClient.OperationSpec = {\n path:\n \"/{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses/current\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AvailabilityStatus\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.filter,\n Parameters.expand\n ],\n urlParameters: [Parameters.$host, Parameters.resourceUri],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AvailabilityStatusListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.filter,\n Parameters.expand\n ],\n urlParameters: [Parameters.$host, Parameters.resourceUri],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AvailabilityStatusListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceUri,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { ChildResources } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { MicrosoftResourceHealth } from "../microsoftResourceHealth.js";
|
|
4
|
+
import { AvailabilityStatus, ChildResourcesListOptionalParams } from "../models/index.js";
|
|
5
|
+
/** Class containing ChildResources operations. */
|
|
6
|
+
export declare class ChildResourcesImpl implements ChildResources {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class ChildResources class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: MicrosoftResourceHealth);
|
|
13
|
+
/**
|
|
14
|
+
* Lists the all the children and its current health status for a parent resource. Use the nextLink
|
|
15
|
+
* property in the response to get the next page of children current health
|
|
16
|
+
* @param resourceUri The fully qualified ID of the resource, including the resource name and resource
|
|
17
|
+
* type. Currently the API only support not nested parent resource type:
|
|
18
|
+
* /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
|
|
19
|
+
* @param options The options parameters.
|
|
20
|
+
*/
|
|
21
|
+
list(resourceUri: string, options?: ChildResourcesListOptionalParams): PagedAsyncIterableIterator<AvailabilityStatus>;
|
|
22
|
+
private listPagingPage;
|
|
23
|
+
private listPagingAll;
|
|
24
|
+
/**
|
|
25
|
+
* Lists the all the children and its current health status for a parent resource. Use the nextLink
|
|
26
|
+
* property in the response to get the next page of children current health
|
|
27
|
+
* @param resourceUri The fully qualified ID of the resource, including the resource name and resource
|
|
28
|
+
* type. Currently the API only support not nested parent resource type:
|
|
29
|
+
* /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
private _list;
|
|
33
|
+
/**
|
|
34
|
+
* ListNext
|
|
35
|
+
* @param resourceUri The fully qualified ID of the resource, including the resource name and resource
|
|
36
|
+
* type. Currently the API only support not nested parent resource type:
|
|
37
|
+
* /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
|
|
38
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
39
|
+
* @param options The options parameters.
|
|
40
|
+
*/
|
|
41
|
+
private _listNext;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=childResources.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"childResources.d.ts","sourceRoot":"","sources":["../../../src/operations/childResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIlE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EACL,kBAAkB,EAElB,gCAAgC,EAGjC,MAAM,oBAAoB,CAAC;AAG5B,kDAAkD;AAClD,qBAAa,kBAAmB,YAAW,cAAc;IACvD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;;;;OAOG;IACI,IAAI,CACT,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,gCAAgC,GACzC,0BAA0B,CAAC,kBAAkB,CAAC;YAkBlC,cAAc;YAuBd,aAAa;IAS5B;;;;;;;OAOG;IACH,OAAO,CAAC,KAAK;IAUb;;;;;;;OAOG;IACH,OAAO,CAAC,SAAS;CAUlB"}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ChildResourcesImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const pagingHelper_js_1 = require("../pagingHelper.js");
|
|
13
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
14
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
15
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
|
+
/// <reference lib="esnext.asynciterable" />
|
|
17
|
+
/** Class containing ChildResources operations. */
|
|
18
|
+
class ChildResourcesImpl {
|
|
19
|
+
client;
|
|
20
|
+
/**
|
|
21
|
+
* Initialize a new instance of the class ChildResources class.
|
|
22
|
+
* @param client Reference to the service client
|
|
23
|
+
*/
|
|
24
|
+
constructor(client) {
|
|
25
|
+
this.client = client;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Lists the all the children and its current health status for a parent resource. Use the nextLink
|
|
29
|
+
* property in the response to get the next page of children current health
|
|
30
|
+
* @param resourceUri The fully qualified ID of the resource, including the resource name and resource
|
|
31
|
+
* type. Currently the API only support not nested parent resource type:
|
|
32
|
+
* /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
|
|
33
|
+
* @param options The options parameters.
|
|
34
|
+
*/
|
|
35
|
+
list(resourceUri, options) {
|
|
36
|
+
const iter = this.listPagingAll(resourceUri, options);
|
|
37
|
+
return {
|
|
38
|
+
next() {
|
|
39
|
+
return iter.next();
|
|
40
|
+
},
|
|
41
|
+
[Symbol.asyncIterator]() {
|
|
42
|
+
return this;
|
|
43
|
+
},
|
|
44
|
+
byPage: (settings) => {
|
|
45
|
+
if (settings?.maxPageSize) {
|
|
46
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
47
|
+
}
|
|
48
|
+
return this.listPagingPage(resourceUri, options, settings);
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
async *listPagingPage(resourceUri, options, settings) {
|
|
53
|
+
let result;
|
|
54
|
+
let continuationToken = settings?.continuationToken;
|
|
55
|
+
if (!continuationToken) {
|
|
56
|
+
result = await this._list(resourceUri, options);
|
|
57
|
+
let page = result.value || [];
|
|
58
|
+
continuationToken = result.nextLink;
|
|
59
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
60
|
+
yield page;
|
|
61
|
+
}
|
|
62
|
+
while (continuationToken) {
|
|
63
|
+
result = await this._listNext(resourceUri, continuationToken, options);
|
|
64
|
+
continuationToken = result.nextLink;
|
|
65
|
+
let page = result.value || [];
|
|
66
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
67
|
+
yield page;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
async *listPagingAll(resourceUri, options) {
|
|
71
|
+
for await (const page of this.listPagingPage(resourceUri, options)) {
|
|
72
|
+
yield* page;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Lists the all the children and its current health status for a parent resource. Use the nextLink
|
|
77
|
+
* property in the response to get the next page of children current health
|
|
78
|
+
* @param resourceUri The fully qualified ID of the resource, including the resource name and resource
|
|
79
|
+
* type. Currently the API only support not nested parent resource type:
|
|
80
|
+
* /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
|
|
81
|
+
* @param options The options parameters.
|
|
82
|
+
*/
|
|
83
|
+
_list(resourceUri, options) {
|
|
84
|
+
return this.client.sendOperationRequest({ resourceUri, options }, listOperationSpec);
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* ListNext
|
|
88
|
+
* @param resourceUri The fully qualified ID of the resource, including the resource name and resource
|
|
89
|
+
* type. Currently the API only support not nested parent resource type:
|
|
90
|
+
* /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
|
|
91
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
92
|
+
* @param options The options parameters.
|
|
93
|
+
*/
|
|
94
|
+
_listNext(resourceUri, nextLink, options) {
|
|
95
|
+
return this.client.sendOperationRequest({ resourceUri, nextLink, options }, listNextOperationSpec);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.ChildResourcesImpl = ChildResourcesImpl;
|
|
99
|
+
// Operation Specifications
|
|
100
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
101
|
+
const listOperationSpec = {
|
|
102
|
+
path: "/{resourceUri}/providers/Microsoft.ResourceHealth/childResources",
|
|
103
|
+
httpMethod: "GET",
|
|
104
|
+
responses: {
|
|
105
|
+
200: {
|
|
106
|
+
bodyMapper: Mappers.AvailabilityStatusListResult
|
|
107
|
+
},
|
|
108
|
+
default: {
|
|
109
|
+
bodyMapper: Mappers.ErrorResponse
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
queryParameters: [
|
|
113
|
+
Parameters.apiVersion,
|
|
114
|
+
Parameters.filter,
|
|
115
|
+
Parameters.expand
|
|
116
|
+
],
|
|
117
|
+
urlParameters: [Parameters.$host, Parameters.resourceUri],
|
|
118
|
+
headerParameters: [Parameters.accept],
|
|
119
|
+
serializer
|
|
120
|
+
};
|
|
121
|
+
const listNextOperationSpec = {
|
|
122
|
+
path: "{nextLink}",
|
|
123
|
+
httpMethod: "GET",
|
|
124
|
+
responses: {
|
|
125
|
+
200: {
|
|
126
|
+
bodyMapper: Mappers.AvailabilityStatusListResult
|
|
127
|
+
},
|
|
128
|
+
default: {
|
|
129
|
+
bodyMapper: Mappers.ErrorResponse
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
urlParameters: [
|
|
133
|
+
Parameters.$host,
|
|
134
|
+
Parameters.resourceUri,
|
|
135
|
+
Parameters.nextLink
|
|
136
|
+
],
|
|
137
|
+
headerParameters: [Parameters.accept],
|
|
138
|
+
serializer
|
|
139
|
+
};
|
|
140
|
+
//# sourceMappingURL=childResources.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"childResources.js","sourceRoot":"","sources":["../../../src/operations/childResources.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,kDAAkD;AAClD,MAAa,kBAAkB;IACZ,MAAM,CAA0B;IAEjD;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,IAAI,CACT,WAAmB,EACnB,OAA0C;QAE1C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;QACtD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,C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AE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ChildResources } 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 { MicrosoftResourceHealth } from \"../microsoftResourceHealth.js\";\nimport {\n AvailabilityStatus,\n ChildResourcesListNextOptionalParams,\n ChildResourcesListOptionalParams,\n ChildResourcesListResponse,\n ChildResourcesListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ChildResources operations. */\nexport class ChildResourcesImpl implements ChildResources {\n private readonly client: MicrosoftResourceHealth;\n\n /**\n * Initialize a new instance of the class ChildResources class.\n * @param client Reference to the service client\n */\n constructor(client: MicrosoftResourceHealth) {\n this.client = client;\n }\n\n /**\n * Lists the all the children and its current health status for a parent resource. Use the nextLink\n * property in the response to get the next page of children current health\n * @param resourceUri The fully qualified ID of the resource, including the resource name and resource\n * type. Currently the API only support not nested parent resource type:\n * /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}\n * @param options The options parameters.\n */\n public list(\n resourceUri: string,\n options?: ChildResourcesListOptionalParams\n ): PagedAsyncIterableIterator<AvailabilityStatus> {\n const iter = this.listPagingAll(resourceUri, 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(resourceUri, options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n resourceUri: string,\n options?: ChildResourcesListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<AvailabilityStatus[]> {\n let result: ChildResourcesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceUri, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(resourceUri, continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceUri: string,\n options?: ChildResourcesListOptionalParams\n ): AsyncIterableIterator<AvailabilityStatus> {\n for await (const page of this.listPagingPage(resourceUri, options)) {\n yield* page;\n }\n }\n\n /**\n * Lists the all the children and its current health status for a parent resource. Use the nextLink\n * property in the response to get the next page of children current health\n * @param resourceUri The fully qualified ID of the resource, including the resource name and resource\n * type. Currently the API only support not nested parent resource type:\n * /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}\n * @param options The options parameters.\n */\n private _list(\n resourceUri: string,\n options?: ChildResourcesListOptionalParams\n ): Promise<ChildResourcesListResponse> {\n return this.client.sendOperationRequest(\n { resourceUri, options },\n listOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param resourceUri The fully qualified ID of the resource, including the resource name and resource\n * type. Currently the API only support not nested parent resource type:\n * /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}\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 resourceUri: string,\n nextLink: string,\n options?: ChildResourcesListNextOptionalParams\n ): Promise<ChildResourcesListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceUri, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/{resourceUri}/providers/Microsoft.ResourceHealth/childResources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AvailabilityStatusListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.filter,\n Parameters.expand\n ],\n urlParameters: [Parameters.$host, Parameters.resourceUri],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AvailabilityStatusListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceUri,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { EmergingIssues } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { MicrosoftResourceHealth } from "../microsoftResourceHealth.js";
|
|
4
|
+
import { EmergingIssuesGetResult, EmergingIssuesListOptionalParams, IssueNameParameter, EmergingIssuesGetOptionalParams, EmergingIssuesGetResponse } from "../models/index.js";
|
|
5
|
+
/** Class containing EmergingIssues operations. */
|
|
6
|
+
export declare class EmergingIssuesImpl implements EmergingIssues {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class EmergingIssues class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: MicrosoftResourceHealth);
|
|
13
|
+
/**
|
|
14
|
+
* Lists Azure services' emerging issues.
|
|
15
|
+
* @param options The options parameters.
|
|
16
|
+
*/
|
|
17
|
+
list(options?: EmergingIssuesListOptionalParams): PagedAsyncIterableIterator<EmergingIssuesGetResult>;
|
|
18
|
+
private listPagingPage;
|
|
19
|
+
private listPagingAll;
|
|
20
|
+
/**
|
|
21
|
+
* Lists Azure services' emerging issues.
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
private _list;
|
|
25
|
+
/**
|
|
26
|
+
* Gets Azure services' emerging issues.
|
|
27
|
+
* @param issueName The name of the emerging issue.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
get(issueName: IssueNameParameter, options?: EmergingIssuesGetOptionalParams): Promise<EmergingIssuesGetResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* ListNext
|
|
33
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
private _listNext;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=emergingIssues.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emergingIssues.d.ts","sourceRoot":"","sources":["../../../src/operations/emergingIssues.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIlE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EACL,uBAAuB,EAEvB,gCAAgC,EAEhC,kBAAkB,EAClB,+BAA+B,EAC/B,yBAAyB,EAE1B,MAAM,oBAAoB,CAAC;AAG5B,kDAAkD;AAClD,qBAAa,kBAAmB,YAAW,cAAc;IACvD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,gCAAgC,GACzC,0BAA0B,CAAC,uBAAuB,CAAC;YAkBvC,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,GAAG,CACD,SAAS,EAAE,kBAAkB,EAC7B,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC;IAOrC;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.EmergingIssuesImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const pagingHelper_js_1 = require("../pagingHelper.js");
|
|
13
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
14
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
15
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
|
+
/// <reference lib="esnext.asynciterable" />
|
|
17
|
+
/** Class containing EmergingIssues operations. */
|
|
18
|
+
class EmergingIssuesImpl {
|
|
19
|
+
client;
|
|
20
|
+
/**
|
|
21
|
+
* Initialize a new instance of the class EmergingIssues class.
|
|
22
|
+
* @param client Reference to the service client
|
|
23
|
+
*/
|
|
24
|
+
constructor(client) {
|
|
25
|
+
this.client = client;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Lists Azure services' emerging issues.
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
list(options) {
|
|
32
|
+
const iter = this.listPagingAll(options);
|
|
33
|
+
return {
|
|
34
|
+
next() {
|
|
35
|
+
return iter.next();
|
|
36
|
+
},
|
|
37
|
+
[Symbol.asyncIterator]() {
|
|
38
|
+
return this;
|
|
39
|
+
},
|
|
40
|
+
byPage: (settings) => {
|
|
41
|
+
if (settings?.maxPageSize) {
|
|
42
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
43
|
+
}
|
|
44
|
+
return this.listPagingPage(options, settings);
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
async *listPagingPage(options, settings) {
|
|
49
|
+
let result;
|
|
50
|
+
let continuationToken = settings?.continuationToken;
|
|
51
|
+
if (!continuationToken) {
|
|
52
|
+
result = await this._list(options);
|
|
53
|
+
let page = result.value || [];
|
|
54
|
+
continuationToken = result.nextLink;
|
|
55
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
56
|
+
yield page;
|
|
57
|
+
}
|
|
58
|
+
while (continuationToken) {
|
|
59
|
+
result = await this._listNext(continuationToken, options);
|
|
60
|
+
continuationToken = result.nextLink;
|
|
61
|
+
let page = result.value || [];
|
|
62
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
63
|
+
yield page;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
async *listPagingAll(options) {
|
|
67
|
+
for await (const page of this.listPagingPage(options)) {
|
|
68
|
+
yield* page;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Lists Azure services' emerging issues.
|
|
73
|
+
* @param options The options parameters.
|
|
74
|
+
*/
|
|
75
|
+
_list(options) {
|
|
76
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Gets Azure services' emerging issues.
|
|
80
|
+
* @param issueName The name of the emerging issue.
|
|
81
|
+
* @param options The options parameters.
|
|
82
|
+
*/
|
|
83
|
+
get(issueName, options) {
|
|
84
|
+
return this.client.sendOperationRequest({ issueName, options }, getOperationSpec);
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* ListNext
|
|
88
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
89
|
+
* @param options The options parameters.
|
|
90
|
+
*/
|
|
91
|
+
_listNext(nextLink, options) {
|
|
92
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.EmergingIssuesImpl = EmergingIssuesImpl;
|
|
96
|
+
// Operation Specifications
|
|
97
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
98
|
+
const listOperationSpec = {
|
|
99
|
+
path: "/providers/Microsoft.ResourceHealth/emergingIssues",
|
|
100
|
+
httpMethod: "GET",
|
|
101
|
+
responses: {
|
|
102
|
+
200: {
|
|
103
|
+
bodyMapper: Mappers.EmergingIssueListResult
|
|
104
|
+
},
|
|
105
|
+
default: {
|
|
106
|
+
bodyMapper: Mappers.ErrorResponse
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
queryParameters: [Parameters.apiVersion],
|
|
110
|
+
urlParameters: [Parameters.$host],
|
|
111
|
+
headerParameters: [Parameters.accept],
|
|
112
|
+
serializer
|
|
113
|
+
};
|
|
114
|
+
const getOperationSpec = {
|
|
115
|
+
path: "/providers/Microsoft.ResourceHealth/emergingIssues/{issueName}",
|
|
116
|
+
httpMethod: "GET",
|
|
117
|
+
responses: {
|
|
118
|
+
200: {
|
|
119
|
+
bodyMapper: Mappers.EmergingIssuesGetResult
|
|
120
|
+
},
|
|
121
|
+
default: {
|
|
122
|
+
bodyMapper: Mappers.ErrorResponse
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
queryParameters: [Parameters.apiVersion],
|
|
126
|
+
urlParameters: [Parameters.$host, Parameters.issueName],
|
|
127
|
+
headerParameters: [Parameters.accept],
|
|
128
|
+
serializer
|
|
129
|
+
};
|
|
130
|
+
const listNextOperationSpec = {
|
|
131
|
+
path: "{nextLink}",
|
|
132
|
+
httpMethod: "GET",
|
|
133
|
+
responses: {
|
|
134
|
+
200: {
|
|
135
|
+
bodyMapper: Mappers.EmergingIssueListResult
|
|
136
|
+
},
|
|
137
|
+
default: {
|
|
138
|
+
bodyMapper: Mappers.ErrorResponse
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
142
|
+
headerParameters: [Parameters.accept],
|
|
143
|
+
serializer
|
|
144
|
+
};
|
|
145
|
+
//# sourceMappingURL=emergingIssues.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emergingIssues.js","sourceRoot":"","sources":["../../../src/operations/emergingIssues.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAatD,4CAA4C;AAC5C,kDAAkD;AAClD,MAAa,kBAAkB;IACZ,MAAM,CAA0B;IAEjD;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAA0C;QAE1C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,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,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,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E;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { EmergingIssues } 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 { MicrosoftResourceHealth } from \"../microsoftResourceHealth.js\";\nimport {\n EmergingIssuesGetResult,\n EmergingIssuesListNextOptionalParams,\n EmergingIssuesListOptionalParams,\n EmergingIssuesListResponse,\n IssueNameParameter,\n EmergingIssuesGetOptionalParams,\n EmergingIssuesGetResponse,\n EmergingIssuesListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing EmergingIssues operations. */\nexport class EmergingIssuesImpl implements EmergingIssues {\n private readonly client: MicrosoftResourceHealth;\n\n /**\n * Initialize a new instance of the class EmergingIssues class.\n * @param client Reference to the service client\n */\n constructor(client: MicrosoftResourceHealth) {\n this.client = client;\n }\n\n /**\n * Lists Azure services' emerging issues.\n * @param options The options parameters.\n */\n public list(\n options?: EmergingIssuesListOptionalParams\n ): PagedAsyncIterableIterator<EmergingIssuesGetResult> {\n const iter = this.listPagingAll(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(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: EmergingIssuesListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<EmergingIssuesGetResult[]> {\n let result: EmergingIssuesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let 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 let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: EmergingIssuesListOptionalParams\n ): AsyncIterableIterator<EmergingIssuesGetResult> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists Azure services' emerging issues.\n * @param options The options parameters.\n */\n private _list(\n options?: EmergingIssuesListOptionalParams\n ): Promise<EmergingIssuesListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Gets Azure services' emerging issues.\n * @param issueName The name of the emerging issue.\n * @param options The options parameters.\n */\n get(\n issueName: IssueNameParameter,\n options?: EmergingIssuesGetOptionalParams\n ): Promise<EmergingIssuesGetResponse> {\n return this.client.sendOperationRequest(\n { issueName, options },\n getOperationSpec\n );\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?: EmergingIssuesListNextOptionalParams\n ): Promise<EmergingIssuesListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.ResourceHealth/emergingIssues\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EmergingIssueListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.ResourceHealth/emergingIssues/{issueName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EmergingIssuesGetResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.issueName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EmergingIssueListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EventOperations } from "../operationsInterfaces/index.js";
|
|
2
|
+
import { MicrosoftResourceHealth } from "../microsoftResourceHealth.js";
|
|
3
|
+
import { EventGetBySubscriptionIdAndTrackingIdOptionalParams, EventGetBySubscriptionIdAndTrackingIdResponse, EventFetchDetailsBySubscriptionIdAndTrackingIdOptionalParams, EventFetchDetailsBySubscriptionIdAndTrackingIdResponse, EventGetByTenantIdAndTrackingIdOptionalParams, EventGetByTenantIdAndTrackingIdResponse, EventFetchDetailsByTenantIdAndTrackingIdOptionalParams, EventFetchDetailsByTenantIdAndTrackingIdResponse } from "../models/index.js";
|
|
4
|
+
/** Class containing EventOperations operations. */
|
|
5
|
+
export declare class EventOperationsImpl implements EventOperations {
|
|
6
|
+
private readonly client;
|
|
7
|
+
/**
|
|
8
|
+
* Initialize a new instance of the class EventOperations class.
|
|
9
|
+
* @param client Reference to the service client
|
|
10
|
+
*/
|
|
11
|
+
constructor(client: MicrosoftResourceHealth);
|
|
12
|
+
/**
|
|
13
|
+
* Service health event in the subscription by event tracking id
|
|
14
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
|
15
|
+
* @param options The options parameters.
|
|
16
|
+
*/
|
|
17
|
+
getBySubscriptionIdAndTrackingId(eventTrackingId: string, options?: EventGetBySubscriptionIdAndTrackingIdOptionalParams): Promise<EventGetBySubscriptionIdAndTrackingIdResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Service health event details in the subscription by event tracking id. This can be used to fetch
|
|
20
|
+
* sensitive properties for Security Advisory events
|
|
21
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
fetchDetailsBySubscriptionIdAndTrackingId(eventTrackingId: string, options?: EventFetchDetailsBySubscriptionIdAndTrackingIdOptionalParams): Promise<EventFetchDetailsBySubscriptionIdAndTrackingIdResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* Service health event in the tenant by event tracking id
|
|
27
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
getByTenantIdAndTrackingId(eventTrackingId: string, options?: EventGetByTenantIdAndTrackingIdOptionalParams): Promise<EventGetByTenantIdAndTrackingIdResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* Service health event details in the tenant by event tracking id. This can be used to fetch sensitive
|
|
33
|
+
* properties for Security Advisory events
|
|
34
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
|
35
|
+
* @param options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
fetchDetailsByTenantIdAndTrackingId(eventTrackingId: string, options?: EventFetchDetailsByTenantIdAndTrackingIdOptionalParams): Promise<EventFetchDetailsByTenantIdAndTrackingIdResponse>;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=eventOperations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eventOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/eventOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAInE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EACL,mDAAmD,EACnD,6CAA6C,EAC7C,4DAA4D,EAC5D,sDAAsD,EACtD,6CAA6C,EAC7C,uCAAuC,EACvC,sDAAsD,EACtD,gDAAgD,EACjD,MAAM,oBAAoB,CAAC;AAE5B,mDAAmD;AACnD,qBAAa,mBAAoB,YAAW,eAAe;IACzD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;OAIG;IACH,gCAAgC,CAC9B,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,mDAAmD,GAC5D,OAAO,CAAC,6CAA6C,CAAC;IAOzD;;;;;OAKG;IACH,yCAAyC,CACvC,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,4DAA4D,GACrE,OAAO,CAAC,sDAAsD,CAAC;IAOlE;;;;OAIG;IACH,0BAA0B,CACxB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;IAOnD;;;;;OAKG;IACH,mCAAmC,CACjC,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,gDAAgD,CAAC;CAM7D"}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.EventOperationsImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
13
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
14
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
15
|
+
/** Class containing EventOperations operations. */
|
|
16
|
+
class EventOperationsImpl {
|
|
17
|
+
client;
|
|
18
|
+
/**
|
|
19
|
+
* Initialize a new instance of the class EventOperations class.
|
|
20
|
+
* @param client Reference to the service client
|
|
21
|
+
*/
|
|
22
|
+
constructor(client) {
|
|
23
|
+
this.client = client;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Service health event in the subscription by event tracking id
|
|
27
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
getBySubscriptionIdAndTrackingId(eventTrackingId, options) {
|
|
31
|
+
return this.client.sendOperationRequest({ eventTrackingId, options }, getBySubscriptionIdAndTrackingIdOperationSpec);
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Service health event details in the subscription by event tracking id. This can be used to fetch
|
|
35
|
+
* sensitive properties for Security Advisory events
|
|
36
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
|
37
|
+
* @param options The options parameters.
|
|
38
|
+
*/
|
|
39
|
+
fetchDetailsBySubscriptionIdAndTrackingId(eventTrackingId, options) {
|
|
40
|
+
return this.client.sendOperationRequest({ eventTrackingId, options }, fetchDetailsBySubscriptionIdAndTrackingIdOperationSpec);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Service health event in the tenant by event tracking id
|
|
44
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
|
45
|
+
* @param options The options parameters.
|
|
46
|
+
*/
|
|
47
|
+
getByTenantIdAndTrackingId(eventTrackingId, options) {
|
|
48
|
+
return this.client.sendOperationRequest({ eventTrackingId, options }, getByTenantIdAndTrackingIdOperationSpec);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Service health event details in the tenant by event tracking id. This can be used to fetch sensitive
|
|
52
|
+
* properties for Security Advisory events
|
|
53
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
|
54
|
+
* @param options The options parameters.
|
|
55
|
+
*/
|
|
56
|
+
fetchDetailsByTenantIdAndTrackingId(eventTrackingId, options) {
|
|
57
|
+
return this.client.sendOperationRequest({ eventTrackingId, options }, fetchDetailsByTenantIdAndTrackingIdOperationSpec);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.EventOperationsImpl = EventOperationsImpl;
|
|
61
|
+
// Operation Specifications
|
|
62
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
63
|
+
const getBySubscriptionIdAndTrackingIdOperationSpec = {
|
|
64
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}",
|
|
65
|
+
httpMethod: "GET",
|
|
66
|
+
responses: {
|
|
67
|
+
200: {
|
|
68
|
+
bodyMapper: Mappers.Event
|
|
69
|
+
},
|
|
70
|
+
default: {
|
|
71
|
+
bodyMapper: Mappers.ErrorResponse
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
queryParameters: [
|
|
75
|
+
Parameters.apiVersion,
|
|
76
|
+
Parameters.filter,
|
|
77
|
+
Parameters.queryStartTime
|
|
78
|
+
],
|
|
79
|
+
urlParameters: [
|
|
80
|
+
Parameters.$host,
|
|
81
|
+
Parameters.subscriptionId,
|
|
82
|
+
Parameters.eventTrackingId
|
|
83
|
+
],
|
|
84
|
+
headerParameters: [Parameters.accept],
|
|
85
|
+
serializer
|
|
86
|
+
};
|
|
87
|
+
const fetchDetailsBySubscriptionIdAndTrackingIdOperationSpec = {
|
|
88
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/fetchEventDetails",
|
|
89
|
+
httpMethod: "POST",
|
|
90
|
+
responses: {
|
|
91
|
+
200: {
|
|
92
|
+
bodyMapper: Mappers.Event
|
|
93
|
+
},
|
|
94
|
+
default: {
|
|
95
|
+
bodyMapper: Mappers.ErrorResponse
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
queryParameters: [Parameters.apiVersion],
|
|
99
|
+
urlParameters: [
|
|
100
|
+
Parameters.$host,
|
|
101
|
+
Parameters.subscriptionId,
|
|
102
|
+
Parameters.eventTrackingId
|
|
103
|
+
],
|
|
104
|
+
headerParameters: [Parameters.accept],
|
|
105
|
+
serializer
|
|
106
|
+
};
|
|
107
|
+
const getByTenantIdAndTrackingIdOperationSpec = {
|
|
108
|
+
path: "/providers/Microsoft.ResourceHealth/events/{eventTrackingId}",
|
|
109
|
+
httpMethod: "GET",
|
|
110
|
+
responses: {
|
|
111
|
+
200: {
|
|
112
|
+
bodyMapper: Mappers.Event
|
|
113
|
+
},
|
|
114
|
+
default: {
|
|
115
|
+
bodyMapper: Mappers.ErrorResponse
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
queryParameters: [
|
|
119
|
+
Parameters.apiVersion,
|
|
120
|
+
Parameters.filter,
|
|
121
|
+
Parameters.queryStartTime
|
|
122
|
+
],
|
|
123
|
+
urlParameters: [Parameters.$host, Parameters.eventTrackingId],
|
|
124
|
+
headerParameters: [Parameters.accept],
|
|
125
|
+
serializer
|
|
126
|
+
};
|
|
127
|
+
const fetchDetailsByTenantIdAndTrackingIdOperationSpec = {
|
|
128
|
+
path: "/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/fetchEventDetails",
|
|
129
|
+
httpMethod: "POST",
|
|
130
|
+
responses: {
|
|
131
|
+
200: {
|
|
132
|
+
bodyMapper: Mappers.Event
|
|
133
|
+
},
|
|
134
|
+
default: {
|
|
135
|
+
bodyMapper: Mappers.ErrorResponse
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
queryParameters: [Parameters.apiVersion],
|
|
139
|
+
urlParameters: [Parameters.$host, Parameters.eventTrackingId],
|
|
140
|
+
headerParameters: [Parameters.accept],
|
|
141
|
+
serializer
|
|
142
|
+
};
|
|
143
|
+
//# sourceMappingURL=eventOperations.js.map
|