@azure/arm-resourcehealth 4.1.0-alpha.20250214.1 → 4.1.0-alpha.20250218.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -12
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/{dist-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 +15 -18
- package/dist/browser/microsoftResourceHealth.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +2 -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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +2 -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 +3 -3
- 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/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 +109 -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 +1517 -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 +430 -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 +186 -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 +156 -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 +161 -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 +142 -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 +382 -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 +324 -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 +161 -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 +51 -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 +265 -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 +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- 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 +104 -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 +1514 -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 +426 -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 +182 -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 +152 -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 +157 -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 +137 -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 +378 -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 +320 -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 +157 -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 +46 -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 +261 -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 +32 -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 +104 -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 +1514 -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 +426 -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 +182 -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 +152 -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 +157 -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 +137 -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 +378 -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 +320 -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 +157 -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 +46 -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 +261 -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 +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +66 -35
- package/dist/index.js +0 -4202
- 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 -29
- 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 -48
- 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 -47
- 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 -50
- 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 -31
- 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 -50
- 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 -50
- 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 -34
- 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 -49
- 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 -35
- 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 -34
- 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 -34
- 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 -33
- 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 -50
- 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 -49
- 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 -48
- 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 -35
- 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 -36
- 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 -48
- 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 -47
- 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 -34
- 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 -49
- 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 -34
- 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 -51
- 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 -50
- package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/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 -60
- package/dist-esm/test/resourcehealth_operations_test.spec.js.map +0 -1
- 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/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/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/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -0,0 +1,324 @@
|
|
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.ImpactedResourcesImpl = 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 ImpactedResources operations. */
|
18
|
+
class ImpactedResourcesImpl {
|
19
|
+
/**
|
20
|
+
* Initialize a new instance of the class ImpactedResources class.
|
21
|
+
* @param client Reference to the service client
|
22
|
+
*/
|
23
|
+
constructor(client) {
|
24
|
+
this.client = client;
|
25
|
+
}
|
26
|
+
/**
|
27
|
+
* Lists impacted resources in the subscription by an event.
|
28
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
29
|
+
* @param options The options parameters.
|
30
|
+
*/
|
31
|
+
listBySubscriptionIdAndEventId(eventTrackingId, options) {
|
32
|
+
const iter = this.listBySubscriptionIdAndEventIdPagingAll(eventTrackingId, options);
|
33
|
+
return {
|
34
|
+
next() {
|
35
|
+
return iter.next();
|
36
|
+
},
|
37
|
+
[Symbol.asyncIterator]() {
|
38
|
+
return this;
|
39
|
+
},
|
40
|
+
byPage: (settings) => {
|
41
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
42
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
43
|
+
}
|
44
|
+
return this.listBySubscriptionIdAndEventIdPagingPage(eventTrackingId, options, settings);
|
45
|
+
}
|
46
|
+
};
|
47
|
+
}
|
48
|
+
listBySubscriptionIdAndEventIdPagingPage(eventTrackingId, options, settings) {
|
49
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionIdAndEventIdPagingPage_1() {
|
50
|
+
let result;
|
51
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
52
|
+
if (!continuationToken) {
|
53
|
+
result = yield tslib_1.__await(this._listBySubscriptionIdAndEventId(eventTrackingId, options));
|
54
|
+
let page = result.value || [];
|
55
|
+
continuationToken = result.nextLink;
|
56
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
57
|
+
yield yield tslib_1.__await(page);
|
58
|
+
}
|
59
|
+
while (continuationToken) {
|
60
|
+
result = yield tslib_1.__await(this._listBySubscriptionIdAndEventIdNext(eventTrackingId, continuationToken, options));
|
61
|
+
continuationToken = result.nextLink;
|
62
|
+
let page = result.value || [];
|
63
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
64
|
+
yield yield tslib_1.__await(page);
|
65
|
+
}
|
66
|
+
});
|
67
|
+
}
|
68
|
+
listBySubscriptionIdAndEventIdPagingAll(eventTrackingId, options) {
|
69
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionIdAndEventIdPagingAll_1() {
|
70
|
+
var _a, e_1, _b, _c;
|
71
|
+
try {
|
72
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listBySubscriptionIdAndEventIdPagingPage(eventTrackingId, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
73
|
+
_c = _f.value;
|
74
|
+
_d = false;
|
75
|
+
const page = _c;
|
76
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
77
|
+
}
|
78
|
+
}
|
79
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
80
|
+
finally {
|
81
|
+
try {
|
82
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
83
|
+
}
|
84
|
+
finally { if (e_1) throw e_1.error; }
|
85
|
+
}
|
86
|
+
});
|
87
|
+
}
|
88
|
+
/**
|
89
|
+
* Lists impacted resources in the tenant by an event.
|
90
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
91
|
+
* @param options The options parameters.
|
92
|
+
*/
|
93
|
+
listByTenantIdAndEventId(eventTrackingId, options) {
|
94
|
+
const iter = this.listByTenantIdAndEventIdPagingAll(eventTrackingId, options);
|
95
|
+
return {
|
96
|
+
next() {
|
97
|
+
return iter.next();
|
98
|
+
},
|
99
|
+
[Symbol.asyncIterator]() {
|
100
|
+
return this;
|
101
|
+
},
|
102
|
+
byPage: (settings) => {
|
103
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
104
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
105
|
+
}
|
106
|
+
return this.listByTenantIdAndEventIdPagingPage(eventTrackingId, options, settings);
|
107
|
+
}
|
108
|
+
};
|
109
|
+
}
|
110
|
+
listByTenantIdAndEventIdPagingPage(eventTrackingId, options, settings) {
|
111
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listByTenantIdAndEventIdPagingPage_1() {
|
112
|
+
let result;
|
113
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
114
|
+
if (!continuationToken) {
|
115
|
+
result = yield tslib_1.__await(this._listByTenantIdAndEventId(eventTrackingId, options));
|
116
|
+
let page = result.value || [];
|
117
|
+
continuationToken = result.nextLink;
|
118
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
119
|
+
yield yield tslib_1.__await(page);
|
120
|
+
}
|
121
|
+
while (continuationToken) {
|
122
|
+
result = yield tslib_1.__await(this._listByTenantIdAndEventIdNext(eventTrackingId, continuationToken, options));
|
123
|
+
continuationToken = result.nextLink;
|
124
|
+
let page = result.value || [];
|
125
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
126
|
+
yield yield tslib_1.__await(page);
|
127
|
+
}
|
128
|
+
});
|
129
|
+
}
|
130
|
+
listByTenantIdAndEventIdPagingAll(eventTrackingId, options) {
|
131
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listByTenantIdAndEventIdPagingAll_1() {
|
132
|
+
var _a, e_2, _b, _c;
|
133
|
+
try {
|
134
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listByTenantIdAndEventIdPagingPage(eventTrackingId, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
135
|
+
_c = _f.value;
|
136
|
+
_d = false;
|
137
|
+
const page = _c;
|
138
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
139
|
+
}
|
140
|
+
}
|
141
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
142
|
+
finally {
|
143
|
+
try {
|
144
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
145
|
+
}
|
146
|
+
finally { if (e_2) throw e_2.error; }
|
147
|
+
}
|
148
|
+
});
|
149
|
+
}
|
150
|
+
/**
|
151
|
+
* Lists impacted resources in the subscription by an event.
|
152
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
153
|
+
* @param options The options parameters.
|
154
|
+
*/
|
155
|
+
_listBySubscriptionIdAndEventId(eventTrackingId, options) {
|
156
|
+
return this.client.sendOperationRequest({ eventTrackingId, options }, listBySubscriptionIdAndEventIdOperationSpec);
|
157
|
+
}
|
158
|
+
/**
|
159
|
+
* Gets the specific impacted resource in the subscription by an event.
|
160
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
161
|
+
* @param impactedResourceName Name of the Impacted Resource.
|
162
|
+
* @param options The options parameters.
|
163
|
+
*/
|
164
|
+
get(eventTrackingId, impactedResourceName, options) {
|
165
|
+
return this.client.sendOperationRequest({ eventTrackingId, impactedResourceName, options }, getOperationSpec);
|
166
|
+
}
|
167
|
+
/**
|
168
|
+
* Lists impacted resources in the tenant by an event.
|
169
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
170
|
+
* @param options The options parameters.
|
171
|
+
*/
|
172
|
+
_listByTenantIdAndEventId(eventTrackingId, options) {
|
173
|
+
return this.client.sendOperationRequest({ eventTrackingId, options }, listByTenantIdAndEventIdOperationSpec);
|
174
|
+
}
|
175
|
+
/**
|
176
|
+
* Gets the specific impacted resource in the tenant by an event.
|
177
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
178
|
+
* @param impactedResourceName Name of the Impacted Resource.
|
179
|
+
* @param options The options parameters.
|
180
|
+
*/
|
181
|
+
getByTenantId(eventTrackingId, impactedResourceName, options) {
|
182
|
+
return this.client.sendOperationRequest({ eventTrackingId, impactedResourceName, options }, getByTenantIdOperationSpec);
|
183
|
+
}
|
184
|
+
/**
|
185
|
+
* ListBySubscriptionIdAndEventIdNext
|
186
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
187
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscriptionIdAndEventId
|
188
|
+
* method.
|
189
|
+
* @param options The options parameters.
|
190
|
+
*/
|
191
|
+
_listBySubscriptionIdAndEventIdNext(eventTrackingId, nextLink, options) {
|
192
|
+
return this.client.sendOperationRequest({ eventTrackingId, nextLink, options }, listBySubscriptionIdAndEventIdNextOperationSpec);
|
193
|
+
}
|
194
|
+
/**
|
195
|
+
* ListByTenantIdAndEventIdNext
|
196
|
+
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
197
|
+
* @param nextLink The nextLink from the previous successful call to the ListByTenantIdAndEventId
|
198
|
+
* method.
|
199
|
+
* @param options The options parameters.
|
200
|
+
*/
|
201
|
+
_listByTenantIdAndEventIdNext(eventTrackingId, nextLink, options) {
|
202
|
+
return this.client.sendOperationRequest({ eventTrackingId, nextLink, options }, listByTenantIdAndEventIdNextOperationSpec);
|
203
|
+
}
|
204
|
+
}
|
205
|
+
exports.ImpactedResourcesImpl = ImpactedResourcesImpl;
|
206
|
+
// Operation Specifications
|
207
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
208
|
+
const listBySubscriptionIdAndEventIdOperationSpec = {
|
209
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources",
|
210
|
+
httpMethod: "GET",
|
211
|
+
responses: {
|
212
|
+
200: {
|
213
|
+
bodyMapper: Mappers.EventImpactedResourceListResult
|
214
|
+
},
|
215
|
+
default: {
|
216
|
+
bodyMapper: Mappers.ErrorResponse
|
217
|
+
}
|
218
|
+
},
|
219
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter],
|
220
|
+
urlParameters: [
|
221
|
+
Parameters.$host,
|
222
|
+
Parameters.subscriptionId,
|
223
|
+
Parameters.eventTrackingId
|
224
|
+
],
|
225
|
+
headerParameters: [Parameters.accept],
|
226
|
+
serializer
|
227
|
+
};
|
228
|
+
const getOperationSpec = {
|
229
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources/{impactedResourceName}",
|
230
|
+
httpMethod: "GET",
|
231
|
+
responses: {
|
232
|
+
200: {
|
233
|
+
bodyMapper: Mappers.EventImpactedResource
|
234
|
+
},
|
235
|
+
default: {
|
236
|
+
bodyMapper: Mappers.ErrorResponse
|
237
|
+
}
|
238
|
+
},
|
239
|
+
queryParameters: [Parameters.apiVersion],
|
240
|
+
urlParameters: [
|
241
|
+
Parameters.$host,
|
242
|
+
Parameters.subscriptionId,
|
243
|
+
Parameters.eventTrackingId,
|
244
|
+
Parameters.impactedResourceName
|
245
|
+
],
|
246
|
+
headerParameters: [Parameters.accept],
|
247
|
+
serializer
|
248
|
+
};
|
249
|
+
const listByTenantIdAndEventIdOperationSpec = {
|
250
|
+
path: "/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources",
|
251
|
+
httpMethod: "GET",
|
252
|
+
responses: {
|
253
|
+
200: {
|
254
|
+
bodyMapper: Mappers.EventImpactedResourceListResult
|
255
|
+
},
|
256
|
+
default: {
|
257
|
+
bodyMapper: Mappers.ErrorResponse
|
258
|
+
}
|
259
|
+
},
|
260
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter],
|
261
|
+
urlParameters: [Parameters.$host, Parameters.eventTrackingId],
|
262
|
+
headerParameters: [Parameters.accept],
|
263
|
+
serializer
|
264
|
+
};
|
265
|
+
const getByTenantIdOperationSpec = {
|
266
|
+
path: "/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources/{impactedResourceName}",
|
267
|
+
httpMethod: "GET",
|
268
|
+
responses: {
|
269
|
+
200: {
|
270
|
+
bodyMapper: Mappers.EventImpactedResource
|
271
|
+
},
|
272
|
+
default: {
|
273
|
+
bodyMapper: Mappers.ErrorResponse
|
274
|
+
}
|
275
|
+
},
|
276
|
+
queryParameters: [Parameters.apiVersion],
|
277
|
+
urlParameters: [
|
278
|
+
Parameters.$host,
|
279
|
+
Parameters.eventTrackingId,
|
280
|
+
Parameters.impactedResourceName
|
281
|
+
],
|
282
|
+
headerParameters: [Parameters.accept],
|
283
|
+
serializer
|
284
|
+
};
|
285
|
+
const listBySubscriptionIdAndEventIdNextOperationSpec = {
|
286
|
+
path: "{nextLink}",
|
287
|
+
httpMethod: "GET",
|
288
|
+
responses: {
|
289
|
+
200: {
|
290
|
+
bodyMapper: Mappers.EventImpactedResourceListResult
|
291
|
+
},
|
292
|
+
default: {
|
293
|
+
bodyMapper: Mappers.ErrorResponse
|
294
|
+
}
|
295
|
+
},
|
296
|
+
urlParameters: [
|
297
|
+
Parameters.$host,
|
298
|
+
Parameters.subscriptionId,
|
299
|
+
Parameters.nextLink,
|
300
|
+
Parameters.eventTrackingId
|
301
|
+
],
|
302
|
+
headerParameters: [Parameters.accept],
|
303
|
+
serializer
|
304
|
+
};
|
305
|
+
const listByTenantIdAndEventIdNextOperationSpec = {
|
306
|
+
path: "{nextLink}",
|
307
|
+
httpMethod: "GET",
|
308
|
+
responses: {
|
309
|
+
200: {
|
310
|
+
bodyMapper: Mappers.EventImpactedResourceListResult
|
311
|
+
},
|
312
|
+
default: {
|
313
|
+
bodyMapper: Mappers.ErrorResponse
|
314
|
+
}
|
315
|
+
},
|
316
|
+
urlParameters: [
|
317
|
+
Parameters.$host,
|
318
|
+
Parameters.nextLink,
|
319
|
+
Parameters.eventTrackingId
|
320
|
+
],
|
321
|
+
headerParameters: [Parameters.accept],
|
322
|
+
serializer
|
323
|
+
};
|
324
|
+
//# sourceMappingURL=impactedResources.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"impactedResources.js","sourceRoot":"","sources":["../../../src/operations/impactedResources.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAkBtD,4CAA4C;AAC5C,qDAAqD;AACrD,MAAa,qBAAqB;IAGhC;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,8BAA8B,CACnC,eAAuB,EACvB,OAAuE;QAEvE,MAAM,IAAI,GAAG,IAAI,CAAC,uCAAuC,CACvD,eAAe,EACf,OAAO,CACR,CAAC;QACF,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,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD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CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,+CAA+C,GAA6B;IAChF,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,+BAA+B;SACpD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,yCAAyC,GAA6B;IAC1E,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,+BAA+B;SACpD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,eAAe;KAC3B;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 { ImpactedResources } 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 EventImpactedResource,\n ImpactedResourcesListBySubscriptionIdAndEventIdNextOptionalParams,\n ImpactedResourcesListBySubscriptionIdAndEventIdOptionalParams,\n ImpactedResourcesListBySubscriptionIdAndEventIdResponse,\n ImpactedResourcesListByTenantIdAndEventIdNextOptionalParams,\n ImpactedResourcesListByTenantIdAndEventIdOptionalParams,\n ImpactedResourcesListByTenantIdAndEventIdResponse,\n ImpactedResourcesGetOptionalParams,\n ImpactedResourcesGetResponse,\n ImpactedResourcesGetByTenantIdOptionalParams,\n ImpactedResourcesGetByTenantIdResponse,\n ImpactedResourcesListBySubscriptionIdAndEventIdNextResponse,\n ImpactedResourcesListByTenantIdAndEventIdNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ImpactedResources operations. */\nexport class ImpactedResourcesImpl implements ImpactedResources {\n private readonly client: MicrosoftResourceHealth;\n\n /**\n * Initialize a new instance of the class ImpactedResources class.\n * @param client Reference to the service client\n */\n constructor(client: MicrosoftResourceHealth) {\n this.client = client;\n }\n\n /**\n * Lists impacted resources in the subscription by an event.\n * @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.\n * @param options The options parameters.\n */\n public listBySubscriptionIdAndEventId(\n eventTrackingId: string,\n options?: ImpactedResourcesListBySubscriptionIdAndEventIdOptionalParams\n ): PagedAsyncIterableIterator<EventImpactedResource> {\n const iter = this.listBySubscriptionIdAndEventIdPagingAll(\n eventTrackingId,\n options\n );\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.listBySubscriptionIdAndEventIdPagingPage(\n eventTrackingId,\n options,\n settings\n );\n }\n };\n }\n\n private async *listBySubscriptionIdAndEventIdPagingPage(\n eventTrackingId: string,\n options?: ImpactedResourcesListBySubscriptionIdAndEventIdOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<EventImpactedResource[]> {\n let result: ImpactedResourcesListBySubscriptionIdAndEventIdResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscriptionIdAndEventId(\n eventTrackingId,\n options\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionIdAndEventIdNext(\n eventTrackingId,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionIdAndEventIdPagingAll(\n eventTrackingId: string,\n options?: ImpactedResourcesListBySubscriptionIdAndEventIdOptionalParams\n ): AsyncIterableIterator<EventImpactedResource> {\n for await (const page of this.listBySubscriptionIdAndEventIdPagingPage(\n eventTrackingId,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists impacted resources in the tenant by an event.\n * @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.\n * @param options The options parameters.\n */\n public listByTenantIdAndEventId(\n eventTrackingId: string,\n options?: ImpactedResourcesListByTenantIdAndEventIdOptionalParams\n ): PagedAsyncIterableIterator<EventImpactedResource> {\n const iter = this.listByTenantIdAndEventIdPagingAll(\n eventTrackingId,\n options\n );\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.listByTenantIdAndEventIdPagingPage(\n eventTrackingId,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByTenantIdAndEventIdPagingPage(\n eventTrackingId: string,\n options?: ImpactedResourcesListByTenantIdAndEventIdOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<EventImpactedResource[]> {\n let result: ImpactedResourcesListByTenantIdAndEventIdResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByTenantIdAndEventId(eventTrackingId, 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._listByTenantIdAndEventIdNext(\n eventTrackingId,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByTenantIdAndEventIdPagingAll(\n eventTrackingId: string,\n options?: ImpactedResourcesListByTenantIdAndEventIdOptionalParams\n ): AsyncIterableIterator<EventImpactedResource> {\n for await (const page of this.listByTenantIdAndEventIdPagingPage(\n eventTrackingId,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists impacted resources in the subscription by an event.\n * @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.\n * @param options The options parameters.\n */\n private _listBySubscriptionIdAndEventId(\n eventTrackingId: string,\n options?: ImpactedResourcesListBySubscriptionIdAndEventIdOptionalParams\n ): Promise<ImpactedResourcesListBySubscriptionIdAndEventIdResponse> {\n return this.client.sendOperationRequest(\n { eventTrackingId, options },\n listBySubscriptionIdAndEventIdOperationSpec\n );\n }\n\n /**\n * Gets the specific impacted resource in the subscription by an event.\n * @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.\n * @param impactedResourceName Name of the Impacted Resource.\n * @param options The options parameters.\n */\n get(\n eventTrackingId: string,\n impactedResourceName: string,\n options?: ImpactedResourcesGetOptionalParams\n ): Promise<ImpactedResourcesGetResponse> {\n return this.client.sendOperationRequest(\n { eventTrackingId, impactedResourceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Lists impacted resources in the tenant by an event.\n * @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.\n * @param options The options parameters.\n */\n private _listByTenantIdAndEventId(\n eventTrackingId: string,\n options?: ImpactedResourcesListByTenantIdAndEventIdOptionalParams\n ): Promise<ImpactedResourcesListByTenantIdAndEventIdResponse> {\n return this.client.sendOperationRequest(\n { eventTrackingId, options },\n listByTenantIdAndEventIdOperationSpec\n );\n }\n\n /**\n * Gets the specific impacted resource in the tenant by an event.\n * @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.\n * @param impactedResourceName Name of the Impacted Resource.\n * @param options The options parameters.\n */\n getByTenantId(\n eventTrackingId: string,\n impactedResourceName: string,\n options?: ImpactedResourcesGetByTenantIdOptionalParams\n ): Promise<ImpactedResourcesGetByTenantIdResponse> {\n return this.client.sendOperationRequest(\n { eventTrackingId, impactedResourceName, options },\n getByTenantIdOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionIdAndEventIdNext\n * @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.\n * @param nextLink The nextLink from the previous successful call to the ListBySubscriptionIdAndEventId\n * method.\n * @param options The options parameters.\n */\n private _listBySubscriptionIdAndEventIdNext(\n eventTrackingId: string,\n nextLink: string,\n options?: ImpactedResourcesListBySubscriptionIdAndEventIdNextOptionalParams\n ): Promise<ImpactedResourcesListBySubscriptionIdAndEventIdNextResponse> {\n return this.client.sendOperationRequest(\n { eventTrackingId, nextLink, options },\n listBySubscriptionIdAndEventIdNextOperationSpec\n );\n }\n\n /**\n * ListByTenantIdAndEventIdNext\n * @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.\n * @param nextLink The nextLink from the previous successful call to the ListByTenantIdAndEventId\n * method.\n * @param options The options parameters.\n */\n private _listByTenantIdAndEventIdNext(\n eventTrackingId: string,\n nextLink: string,\n options?: ImpactedResourcesListByTenantIdAndEventIdNextOptionalParams\n ): Promise<ImpactedResourcesListByTenantIdAndEventIdNextResponse> {\n return this.client.sendOperationRequest(\n { eventTrackingId, nextLink, options },\n listByTenantIdAndEventIdNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listBySubscriptionIdAndEventIdOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventImpactedResourceListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.eventTrackingId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources/{impactedResourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventImpactedResource\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.eventTrackingId,\n Parameters.impactedResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByTenantIdAndEventIdOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventImpactedResourceListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [Parameters.$host, Parameters.eventTrackingId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getByTenantIdOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources/{impactedResourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventImpactedResource\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.eventTrackingId,\n Parameters.impactedResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionIdAndEventIdNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventImpactedResourceListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.eventTrackingId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByTenantIdAndEventIdNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventImpactedResourceListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.eventTrackingId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export * from "./availabilityStatuses.js";
|
2
|
+
export * from "./operations.js";
|
3
|
+
export * from "./metadata.js";
|
4
|
+
export * from "./impactedResources.js";
|
5
|
+
export * from "./securityAdvisoryImpactedResources.js";
|
6
|
+
export * from "./eventsOperations.js";
|
7
|
+
export * from "./eventOperations.js";
|
8
|
+
export * from "./childAvailabilityStatuses.js";
|
9
|
+
export * from "./childResources.js";
|
10
|
+
export * from "./emergingIssues.js";
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,wCAAwC,CAAC;AACvD,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC"}
|
@@ -0,0 +1,21 @@
|
|
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
|
+
const tslib_1 = require("tslib");
|
11
|
+
tslib_1.__exportStar(require("./availabilityStatuses.js"), exports);
|
12
|
+
tslib_1.__exportStar(require("./operations.js"), exports);
|
13
|
+
tslib_1.__exportStar(require("./metadata.js"), exports);
|
14
|
+
tslib_1.__exportStar(require("./impactedResources.js"), exports);
|
15
|
+
tslib_1.__exportStar(require("./securityAdvisoryImpactedResources.js"), exports);
|
16
|
+
tslib_1.__exportStar(require("./eventsOperations.js"), exports);
|
17
|
+
tslib_1.__exportStar(require("./eventOperations.js"), exports);
|
18
|
+
tslib_1.__exportStar(require("./childAvailabilityStatuses.js"), exports);
|
19
|
+
tslib_1.__exportStar(require("./childResources.js"), exports);
|
20
|
+
tslib_1.__exportStar(require("./emergingIssues.js"), exports);
|
21
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,oEAA0C;AAC1C,0DAAgC;AAChC,wDAA8B;AAC9B,iEAAuC;AACvC,iFAAuD;AACvD,gEAAsC;AACtC,+DAAqC;AACrC,yEAA+C;AAC/C,8DAAoC;AACpC,8DAAoC","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\nexport * from \"./availabilityStatuses.js\";\nexport * from \"./operations.js\";\nexport * from \"./metadata.js\";\nexport * from \"./impactedResources.js\";\nexport * from \"./securityAdvisoryImpactedResources.js\";\nexport * from \"./eventsOperations.js\";\nexport * from \"./eventOperations.js\";\nexport * from \"./childAvailabilityStatuses.js\";\nexport * from \"./childResources.js\";\nexport * from \"./emergingIssues.js\";\n"]}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { Metadata } from "../operationsInterfaces/index.js";
|
3
|
+
import { MicrosoftResourceHealth } from "../microsoftResourceHealth.js";
|
4
|
+
import { MetadataEntity, MetadataListOptionalParams, MetadataGetEntityOptionalParams, MetadataGetEntityResponse } from "../models/index.js";
|
5
|
+
/** Class containing Metadata operations. */
|
6
|
+
export declare class MetadataImpl implements Metadata {
|
7
|
+
private readonly client;
|
8
|
+
/**
|
9
|
+
* Initialize a new instance of the class Metadata class.
|
10
|
+
* @param client Reference to the service client
|
11
|
+
*/
|
12
|
+
constructor(client: MicrosoftResourceHealth);
|
13
|
+
/**
|
14
|
+
* Gets the list of metadata entities.
|
15
|
+
* @param options The options parameters.
|
16
|
+
*/
|
17
|
+
list(options?: MetadataListOptionalParams): PagedAsyncIterableIterator<MetadataEntity>;
|
18
|
+
private listPagingPage;
|
19
|
+
private listPagingAll;
|
20
|
+
/**
|
21
|
+
* Gets the list of metadata entities.
|
22
|
+
* @param options The options parameters.
|
23
|
+
*/
|
24
|
+
private _list;
|
25
|
+
/**
|
26
|
+
* Gets the list of metadata entities.
|
27
|
+
* @param name Name of metadata entity.
|
28
|
+
* @param options The options parameters.
|
29
|
+
*/
|
30
|
+
getEntity(name: string, options?: MetadataGetEntityOptionalParams): Promise<MetadataGetEntityResponse>;
|
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=metadata.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../../src/operations/metadata.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAI5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EACL,cAAc,EAEd,0BAA0B,EAE1B,+BAA+B,EAC/B,yBAAyB,EAE1B,MAAM,oBAAoB,CAAC;AAG5B,4CAA4C;AAC5C,qBAAa,YAAa,YAAW,QAAQ;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,0BAA0B,GACnC,0BAA0B,CAAC,cAAc,CAAC;YAkB9B,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,SAAS,CACP,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC;IAOrC;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
|
@@ -0,0 +1,161 @@
|
|
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.MetadataImpl = 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 Metadata operations. */
|
18
|
+
class MetadataImpl {
|
19
|
+
/**
|
20
|
+
* Initialize a new instance of the class Metadata class.
|
21
|
+
* @param client Reference to the service client
|
22
|
+
*/
|
23
|
+
constructor(client) {
|
24
|
+
this.client = client;
|
25
|
+
}
|
26
|
+
/**
|
27
|
+
* Gets the list of metadata entities.
|
28
|
+
* @param options The options parameters.
|
29
|
+
*/
|
30
|
+
list(options) {
|
31
|
+
const iter = this.listPagingAll(options);
|
32
|
+
return {
|
33
|
+
next() {
|
34
|
+
return iter.next();
|
35
|
+
},
|
36
|
+
[Symbol.asyncIterator]() {
|
37
|
+
return this;
|
38
|
+
},
|
39
|
+
byPage: (settings) => {
|
40
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
41
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
42
|
+
}
|
43
|
+
return this.listPagingPage(options, settings);
|
44
|
+
}
|
45
|
+
};
|
46
|
+
}
|
47
|
+
listPagingPage(options, settings) {
|
48
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
49
|
+
let result;
|
50
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
51
|
+
if (!continuationToken) {
|
52
|
+
result = yield tslib_1.__await(this._list(options));
|
53
|
+
let page = result.value || [];
|
54
|
+
continuationToken = result.nextLink;
|
55
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
56
|
+
yield yield tslib_1.__await(page);
|
57
|
+
}
|
58
|
+
while (continuationToken) {
|
59
|
+
result = yield tslib_1.__await(this._listNext(continuationToken, options));
|
60
|
+
continuationToken = result.nextLink;
|
61
|
+
let page = result.value || [];
|
62
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
63
|
+
yield yield tslib_1.__await(page);
|
64
|
+
}
|
65
|
+
});
|
66
|
+
}
|
67
|
+
listPagingAll(options) {
|
68
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
69
|
+
var _a, e_1, _b, _c;
|
70
|
+
try {
|
71
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
72
|
+
_c = _f.value;
|
73
|
+
_d = false;
|
74
|
+
const page = _c;
|
75
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
76
|
+
}
|
77
|
+
}
|
78
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
79
|
+
finally {
|
80
|
+
try {
|
81
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
82
|
+
}
|
83
|
+
finally { if (e_1) throw e_1.error; }
|
84
|
+
}
|
85
|
+
});
|
86
|
+
}
|
87
|
+
/**
|
88
|
+
* Gets the list of metadata entities.
|
89
|
+
* @param options The options parameters.
|
90
|
+
*/
|
91
|
+
_list(options) {
|
92
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
93
|
+
}
|
94
|
+
/**
|
95
|
+
* Gets the list of metadata entities.
|
96
|
+
* @param name Name of metadata entity.
|
97
|
+
* @param options The options parameters.
|
98
|
+
*/
|
99
|
+
getEntity(name, options) {
|
100
|
+
return this.client.sendOperationRequest({ name, options }, getEntityOperationSpec);
|
101
|
+
}
|
102
|
+
/**
|
103
|
+
* ListNext
|
104
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
105
|
+
* @param options The options parameters.
|
106
|
+
*/
|
107
|
+
_listNext(nextLink, options) {
|
108
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
109
|
+
}
|
110
|
+
}
|
111
|
+
exports.MetadataImpl = MetadataImpl;
|
112
|
+
// Operation Specifications
|
113
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
114
|
+
const listOperationSpec = {
|
115
|
+
path: "/providers/Microsoft.ResourceHealth/metadata",
|
116
|
+
httpMethod: "GET",
|
117
|
+
responses: {
|
118
|
+
200: {
|
119
|
+
bodyMapper: Mappers.MetadataEntityListResult
|
120
|
+
},
|
121
|
+
default: {
|
122
|
+
bodyMapper: Mappers.ErrorResponse
|
123
|
+
}
|
124
|
+
},
|
125
|
+
queryParameters: [Parameters.apiVersion],
|
126
|
+
urlParameters: [Parameters.$host],
|
127
|
+
headerParameters: [Parameters.accept],
|
128
|
+
serializer
|
129
|
+
};
|
130
|
+
const getEntityOperationSpec = {
|
131
|
+
path: "/providers/Microsoft.ResourceHealth/metadata/{name}",
|
132
|
+
httpMethod: "GET",
|
133
|
+
responses: {
|
134
|
+
200: {
|
135
|
+
bodyMapper: Mappers.MetadataEntity
|
136
|
+
},
|
137
|
+
default: {
|
138
|
+
bodyMapper: Mappers.ErrorResponse
|
139
|
+
}
|
140
|
+
},
|
141
|
+
queryParameters: [Parameters.apiVersion],
|
142
|
+
urlParameters: [Parameters.$host, Parameters.name],
|
143
|
+
headerParameters: [Parameters.accept],
|
144
|
+
serializer
|
145
|
+
};
|
146
|
+
const listNextOperationSpec = {
|
147
|
+
path: "{nextLink}",
|
148
|
+
httpMethod: "GET",
|
149
|
+
responses: {
|
150
|
+
200: {
|
151
|
+
bodyMapper: Mappers.MetadataEntityListResult
|
152
|
+
},
|
153
|
+
default: {
|
154
|
+
bodyMapper: Mappers.ErrorResponse
|
155
|
+
}
|
156
|
+
},
|
157
|
+
urlParameters: [Parameters.$host, Parameters.nextLink],
|
158
|
+
headerParameters: [Parameters.accept],
|
159
|
+
serializer
|
160
|
+
};
|
161
|
+
//# sourceMappingURL=metadata.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"metadata.js","sourceRoot":"","sources":["../../../src/operations/metadata.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAYtD,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAa,YAAY;IAG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QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,sBAAsB,GAA6B;IACvD,IAAI,EAAE,qDAAqD;IAC3D,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,cAAc;SACnC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,IAAI,CAAC;IAClD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;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 { Metadata } 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 MetadataEntity,\n MetadataListNextOptionalParams,\n MetadataListOptionalParams,\n MetadataListResponse,\n MetadataGetEntityOptionalParams,\n MetadataGetEntityResponse,\n MetadataListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Metadata operations. */\nexport class MetadataImpl implements Metadata {\n private readonly client: MicrosoftResourceHealth;\n\n /**\n * Initialize a new instance of the class Metadata class.\n * @param client Reference to the service client\n */\n constructor(client: MicrosoftResourceHealth) {\n this.client = client;\n }\n\n /**\n * Gets the list of metadata entities.\n * @param options The options parameters.\n */\n public list(\n options?: MetadataListOptionalParams\n ): PagedAsyncIterableIterator<MetadataEntity> {\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?: MetadataListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<MetadataEntity[]> {\n let result: MetadataListResponse;\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?: MetadataListOptionalParams\n ): AsyncIterableIterator<MetadataEntity> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets the list of metadata entities.\n * @param options The options parameters.\n */\n private _list(\n options?: MetadataListOptionalParams\n ): Promise<MetadataListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Gets the list of metadata entities.\n * @param name Name of metadata entity.\n * @param options The options parameters.\n */\n getEntity(\n name: string,\n options?: MetadataGetEntityOptionalParams\n ): Promise<MetadataGetEntityResponse> {\n return this.client.sendOperationRequest(\n { name, options },\n getEntityOperationSpec\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?: MetadataListNextOptionalParams\n ): Promise<MetadataListNextResponse> {\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/metadata\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MetadataEntityListResult\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 getEntityOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.ResourceHealth/metadata/{name}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MetadataEntity\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.name],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MetadataEntityListResult\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,18 @@
|
|
1
|
+
import { Operations } from "../operationsInterfaces/index.js";
|
2
|
+
import { MicrosoftResourceHealth } from "../microsoftResourceHealth.js";
|
3
|
+
import { OperationsListOptionalParams, OperationsListResponse } from "../models/index.js";
|
4
|
+
/** Class containing Operations operations. */
|
5
|
+
export declare class OperationsImpl implements Operations {
|
6
|
+
private readonly client;
|
7
|
+
/**
|
8
|
+
* Initialize a new instance of the class Operations class.
|
9
|
+
* @param client Reference to the service client
|
10
|
+
*/
|
11
|
+
constructor(client: MicrosoftResourceHealth);
|
12
|
+
/**
|
13
|
+
* Lists available operations for the resourcehealth resource provider
|
14
|
+
* @param options The options parameters.
|
15
|
+
*/
|
16
|
+
list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;
|
17
|
+
}
|
18
|
+
//# sourceMappingURL=operations.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EACL,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAE5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;CAGnC"}
|