@azure/arm-resourcehealth 4.1.0-alpha.20250217.1 → 4.1.0-alpha.20250219.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/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
- 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/dist/index.js
DELETED
@@ -1,4202 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
-
|
5
|
-
var tslib = require('tslib');
|
6
|
-
var coreClient = require('@azure/core-client');
|
7
|
-
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
8
|
-
|
9
|
-
function _interopNamespaceDefault(e) {
|
10
|
-
var n = Object.create(null);
|
11
|
-
if (e) {
|
12
|
-
Object.keys(e).forEach(function (k) {
|
13
|
-
if (k !== 'default') {
|
14
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
15
|
-
Object.defineProperty(n, k, d.get ? d : {
|
16
|
-
enumerable: true,
|
17
|
-
get: function () { return e[k]; }
|
18
|
-
});
|
19
|
-
}
|
20
|
-
});
|
21
|
-
}
|
22
|
-
n.default = e;
|
23
|
-
return Object.freeze(n);
|
24
|
-
}
|
25
|
-
|
26
|
-
var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
|
27
|
-
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
|
28
|
-
|
29
|
-
/*
|
30
|
-
* Copyright (c) Microsoft Corporation.
|
31
|
-
* Licensed under the MIT License.
|
32
|
-
*
|
33
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
34
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
35
|
-
*/
|
36
|
-
const pageMap = new WeakMap();
|
37
|
-
/**
|
38
|
-
* Given the last `.value` produced by the `byPage` iterator,
|
39
|
-
* returns a continuation token that can be used to begin paging from
|
40
|
-
* that point later.
|
41
|
-
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
42
|
-
* @returns The continuation token that can be passed into byPage() during future calls.
|
43
|
-
*/
|
44
|
-
function getContinuationToken(page) {
|
45
|
-
var _a;
|
46
|
-
if (typeof page !== "object" || page === null) {
|
47
|
-
return undefined;
|
48
|
-
}
|
49
|
-
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
50
|
-
}
|
51
|
-
function setContinuationToken(page, continuationToken) {
|
52
|
-
var _a;
|
53
|
-
if (typeof page !== "object" || page === null || !continuationToken) {
|
54
|
-
return;
|
55
|
-
}
|
56
|
-
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
|
57
|
-
pageInfo.continuationToken = continuationToken;
|
58
|
-
pageMap.set(page, pageInfo);
|
59
|
-
}
|
60
|
-
|
61
|
-
/*
|
62
|
-
* Copyright (c) Microsoft Corporation.
|
63
|
-
* Licensed under the MIT License.
|
64
|
-
*
|
65
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
66
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
67
|
-
*/
|
68
|
-
/** Known values of {@link AvailabilityStateValues} that the service accepts. */
|
69
|
-
exports.KnownAvailabilityStateValues = void 0;
|
70
|
-
(function (KnownAvailabilityStateValues) {
|
71
|
-
/** Available */
|
72
|
-
KnownAvailabilityStateValues["Available"] = "Available";
|
73
|
-
/** Unavailable */
|
74
|
-
KnownAvailabilityStateValues["Unavailable"] = "Unavailable";
|
75
|
-
/** Degraded */
|
76
|
-
KnownAvailabilityStateValues["Degraded"] = "Degraded";
|
77
|
-
/** Unknown */
|
78
|
-
KnownAvailabilityStateValues["Unknown"] = "Unknown";
|
79
|
-
})(exports.KnownAvailabilityStateValues || (exports.KnownAvailabilityStateValues = {}));
|
80
|
-
/** Known values of {@link ReasonChronicityTypes} that the service accepts. */
|
81
|
-
exports.KnownReasonChronicityTypes = void 0;
|
82
|
-
(function (KnownReasonChronicityTypes) {
|
83
|
-
/** Transient */
|
84
|
-
KnownReasonChronicityTypes["Transient"] = "Transient";
|
85
|
-
/** Persistent */
|
86
|
-
KnownReasonChronicityTypes["Persistent"] = "Persistent";
|
87
|
-
})(exports.KnownReasonChronicityTypes || (exports.KnownReasonChronicityTypes = {}));
|
88
|
-
/** Known values of {@link Scenario} that the service accepts. */
|
89
|
-
exports.KnownScenario = void 0;
|
90
|
-
(function (KnownScenario) {
|
91
|
-
/** Alerts */
|
92
|
-
KnownScenario["Alerts"] = "Alerts";
|
93
|
-
})(exports.KnownScenario || (exports.KnownScenario = {}));
|
94
|
-
/** Known values of {@link CreatedByType} that the service accepts. */
|
95
|
-
exports.KnownCreatedByType = void 0;
|
96
|
-
(function (KnownCreatedByType) {
|
97
|
-
/** User */
|
98
|
-
KnownCreatedByType["User"] = "User";
|
99
|
-
/** Application */
|
100
|
-
KnownCreatedByType["Application"] = "Application";
|
101
|
-
/** ManagedIdentity */
|
102
|
-
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
103
|
-
/** Key */
|
104
|
-
KnownCreatedByType["Key"] = "Key";
|
105
|
-
})(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
|
106
|
-
/** Known values of {@link EventTypeValues} that the service accepts. */
|
107
|
-
exports.KnownEventTypeValues = void 0;
|
108
|
-
(function (KnownEventTypeValues) {
|
109
|
-
/** ServiceIssue */
|
110
|
-
KnownEventTypeValues["ServiceIssue"] = "ServiceIssue";
|
111
|
-
/** PlannedMaintenance */
|
112
|
-
KnownEventTypeValues["PlannedMaintenance"] = "PlannedMaintenance";
|
113
|
-
/** HealthAdvisory */
|
114
|
-
KnownEventTypeValues["HealthAdvisory"] = "HealthAdvisory";
|
115
|
-
/** RCA */
|
116
|
-
KnownEventTypeValues["RCA"] = "RCA";
|
117
|
-
/** EmergingIssues */
|
118
|
-
KnownEventTypeValues["EmergingIssues"] = "EmergingIssues";
|
119
|
-
/** SecurityAdvisory */
|
120
|
-
KnownEventTypeValues["SecurityAdvisory"] = "SecurityAdvisory";
|
121
|
-
})(exports.KnownEventTypeValues || (exports.KnownEventTypeValues = {}));
|
122
|
-
/** Known values of {@link EventSubTypeValues} that the service accepts. */
|
123
|
-
exports.KnownEventSubTypeValues = void 0;
|
124
|
-
(function (KnownEventSubTypeValues) {
|
125
|
-
/** Retirement */
|
126
|
-
KnownEventSubTypeValues["Retirement"] = "Retirement";
|
127
|
-
})(exports.KnownEventSubTypeValues || (exports.KnownEventSubTypeValues = {}));
|
128
|
-
/** Known values of {@link EventSourceValues} that the service accepts. */
|
129
|
-
exports.KnownEventSourceValues = void 0;
|
130
|
-
(function (KnownEventSourceValues) {
|
131
|
-
/** ResourceHealth */
|
132
|
-
KnownEventSourceValues["ResourceHealth"] = "ResourceHealth";
|
133
|
-
/** ServiceHealth */
|
134
|
-
KnownEventSourceValues["ServiceHealth"] = "ServiceHealth";
|
135
|
-
})(exports.KnownEventSourceValues || (exports.KnownEventSourceValues = {}));
|
136
|
-
/** Known values of {@link EventStatusValues} that the service accepts. */
|
137
|
-
exports.KnownEventStatusValues = void 0;
|
138
|
-
(function (KnownEventStatusValues) {
|
139
|
-
/** Active */
|
140
|
-
KnownEventStatusValues["Active"] = "Active";
|
141
|
-
/** Resolved */
|
142
|
-
KnownEventStatusValues["Resolved"] = "Resolved";
|
143
|
-
})(exports.KnownEventStatusValues || (exports.KnownEventStatusValues = {}));
|
144
|
-
/** Known values of {@link LevelValues} that the service accepts. */
|
145
|
-
exports.KnownLevelValues = void 0;
|
146
|
-
(function (KnownLevelValues) {
|
147
|
-
/** Critical */
|
148
|
-
KnownLevelValues["Critical"] = "Critical";
|
149
|
-
/** Warning */
|
150
|
-
KnownLevelValues["Warning"] = "Warning";
|
151
|
-
})(exports.KnownLevelValues || (exports.KnownLevelValues = {}));
|
152
|
-
/** Known values of {@link EventLevelValues} that the service accepts. */
|
153
|
-
exports.KnownEventLevelValues = void 0;
|
154
|
-
(function (KnownEventLevelValues) {
|
155
|
-
/** Critical */
|
156
|
-
KnownEventLevelValues["Critical"] = "Critical";
|
157
|
-
/** Error */
|
158
|
-
KnownEventLevelValues["Error"] = "Error";
|
159
|
-
/** Warning */
|
160
|
-
KnownEventLevelValues["Warning"] = "Warning";
|
161
|
-
/** Informational */
|
162
|
-
KnownEventLevelValues["Informational"] = "Informational";
|
163
|
-
})(exports.KnownEventLevelValues || (exports.KnownEventLevelValues = {}));
|
164
|
-
/** Known values of {@link LinkTypeValues} that the service accepts. */
|
165
|
-
exports.KnownLinkTypeValues = void 0;
|
166
|
-
(function (KnownLinkTypeValues) {
|
167
|
-
/** Button */
|
168
|
-
KnownLinkTypeValues["Button"] = "Button";
|
169
|
-
/** Hyperlink */
|
170
|
-
KnownLinkTypeValues["Hyperlink"] = "Hyperlink";
|
171
|
-
})(exports.KnownLinkTypeValues || (exports.KnownLinkTypeValues = {}));
|
172
|
-
/** Known values of {@link SeverityValues} that the service accepts. */
|
173
|
-
exports.KnownSeverityValues = void 0;
|
174
|
-
(function (KnownSeverityValues) {
|
175
|
-
/** Information */
|
176
|
-
KnownSeverityValues["Information"] = "Information";
|
177
|
-
/** Warning */
|
178
|
-
KnownSeverityValues["Warning"] = "Warning";
|
179
|
-
/** Error */
|
180
|
-
KnownSeverityValues["Error"] = "Error";
|
181
|
-
})(exports.KnownSeverityValues || (exports.KnownSeverityValues = {}));
|
182
|
-
/** Known values of {@link StageValues} that the service accepts. */
|
183
|
-
exports.KnownStageValues = void 0;
|
184
|
-
(function (KnownStageValues) {
|
185
|
-
/** Active */
|
186
|
-
KnownStageValues["Active"] = "Active";
|
187
|
-
/** Resolve */
|
188
|
-
KnownStageValues["Resolve"] = "Resolve";
|
189
|
-
/** Archived */
|
190
|
-
KnownStageValues["Archived"] = "Archived";
|
191
|
-
})(exports.KnownStageValues || (exports.KnownStageValues = {}));
|
192
|
-
/** Known values of {@link IssueNameParameter} that the service accepts. */
|
193
|
-
exports.KnownIssueNameParameter = void 0;
|
194
|
-
(function (KnownIssueNameParameter) {
|
195
|
-
/** Default */
|
196
|
-
KnownIssueNameParameter["Default"] = "default";
|
197
|
-
})(exports.KnownIssueNameParameter || (exports.KnownIssueNameParameter = {}));
|
198
|
-
/** Known values of {@link ReasonTypeValues} that the service accepts. */
|
199
|
-
exports.KnownReasonTypeValues = void 0;
|
200
|
-
(function (KnownReasonTypeValues) {
|
201
|
-
/** Unplanned */
|
202
|
-
KnownReasonTypeValues["Unplanned"] = "Unplanned";
|
203
|
-
/** Planned */
|
204
|
-
KnownReasonTypeValues["Planned"] = "Planned";
|
205
|
-
/** UserInitiated */
|
206
|
-
KnownReasonTypeValues["UserInitiated"] = "UserInitiated";
|
207
|
-
})(exports.KnownReasonTypeValues || (exports.KnownReasonTypeValues = {}));
|
208
|
-
|
209
|
-
/*
|
210
|
-
* Copyright (c) Microsoft Corporation.
|
211
|
-
* Licensed under the MIT License.
|
212
|
-
*
|
213
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
214
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
215
|
-
*/
|
216
|
-
const AvailabilityStatusListResult = {
|
217
|
-
type: {
|
218
|
-
name: "Composite",
|
219
|
-
className: "AvailabilityStatusListResult",
|
220
|
-
modelProperties: {
|
221
|
-
value: {
|
222
|
-
serializedName: "value",
|
223
|
-
required: true,
|
224
|
-
type: {
|
225
|
-
name: "Sequence",
|
226
|
-
element: {
|
227
|
-
type: {
|
228
|
-
name: "Composite",
|
229
|
-
className: "AvailabilityStatus"
|
230
|
-
}
|
231
|
-
}
|
232
|
-
}
|
233
|
-
},
|
234
|
-
nextLink: {
|
235
|
-
serializedName: "nextLink",
|
236
|
-
type: {
|
237
|
-
name: "String"
|
238
|
-
}
|
239
|
-
}
|
240
|
-
}
|
241
|
-
}
|
242
|
-
};
|
243
|
-
const AvailabilityStatus = {
|
244
|
-
type: {
|
245
|
-
name: "Composite",
|
246
|
-
className: "AvailabilityStatus",
|
247
|
-
modelProperties: {
|
248
|
-
id: {
|
249
|
-
serializedName: "id",
|
250
|
-
type: {
|
251
|
-
name: "String"
|
252
|
-
}
|
253
|
-
},
|
254
|
-
name: {
|
255
|
-
serializedName: "name",
|
256
|
-
type: {
|
257
|
-
name: "String"
|
258
|
-
}
|
259
|
-
},
|
260
|
-
type: {
|
261
|
-
serializedName: "type",
|
262
|
-
type: {
|
263
|
-
name: "String"
|
264
|
-
}
|
265
|
-
},
|
266
|
-
location: {
|
267
|
-
serializedName: "location",
|
268
|
-
type: {
|
269
|
-
name: "String"
|
270
|
-
}
|
271
|
-
},
|
272
|
-
properties: {
|
273
|
-
serializedName: "properties",
|
274
|
-
type: {
|
275
|
-
name: "Composite",
|
276
|
-
className: "AvailabilityStatusProperties"
|
277
|
-
}
|
278
|
-
}
|
279
|
-
}
|
280
|
-
}
|
281
|
-
};
|
282
|
-
const AvailabilityStatusProperties = {
|
283
|
-
type: {
|
284
|
-
name: "Composite",
|
285
|
-
className: "AvailabilityStatusProperties",
|
286
|
-
modelProperties: {
|
287
|
-
availabilityState: {
|
288
|
-
serializedName: "availabilityState",
|
289
|
-
type: {
|
290
|
-
name: "String"
|
291
|
-
}
|
292
|
-
},
|
293
|
-
title: {
|
294
|
-
serializedName: "title",
|
295
|
-
type: {
|
296
|
-
name: "String"
|
297
|
-
}
|
298
|
-
},
|
299
|
-
summary: {
|
300
|
-
serializedName: "summary",
|
301
|
-
type: {
|
302
|
-
name: "String"
|
303
|
-
}
|
304
|
-
},
|
305
|
-
detailedStatus: {
|
306
|
-
serializedName: "detailedStatus",
|
307
|
-
type: {
|
308
|
-
name: "String"
|
309
|
-
}
|
310
|
-
},
|
311
|
-
reasonType: {
|
312
|
-
serializedName: "reasonType",
|
313
|
-
type: {
|
314
|
-
name: "String"
|
315
|
-
}
|
316
|
-
},
|
317
|
-
context: {
|
318
|
-
serializedName: "context",
|
319
|
-
type: {
|
320
|
-
name: "String"
|
321
|
-
}
|
322
|
-
},
|
323
|
-
category: {
|
324
|
-
serializedName: "category",
|
325
|
-
type: {
|
326
|
-
name: "String"
|
327
|
-
}
|
328
|
-
},
|
329
|
-
articleId: {
|
330
|
-
serializedName: "articleId",
|
331
|
-
type: {
|
332
|
-
name: "String"
|
333
|
-
}
|
334
|
-
},
|
335
|
-
rootCauseAttributionTime: {
|
336
|
-
serializedName: "rootCauseAttributionTime",
|
337
|
-
type: {
|
338
|
-
name: "DateTime"
|
339
|
-
}
|
340
|
-
},
|
341
|
-
healthEventType: {
|
342
|
-
serializedName: "healthEventType",
|
343
|
-
type: {
|
344
|
-
name: "String"
|
345
|
-
}
|
346
|
-
},
|
347
|
-
healthEventCause: {
|
348
|
-
serializedName: "healthEventCause",
|
349
|
-
type: {
|
350
|
-
name: "String"
|
351
|
-
}
|
352
|
-
},
|
353
|
-
healthEventCategory: {
|
354
|
-
serializedName: "healthEventCategory",
|
355
|
-
type: {
|
356
|
-
name: "String"
|
357
|
-
}
|
358
|
-
},
|
359
|
-
healthEventId: {
|
360
|
-
serializedName: "healthEventId",
|
361
|
-
type: {
|
362
|
-
name: "String"
|
363
|
-
}
|
364
|
-
},
|
365
|
-
resolutionETA: {
|
366
|
-
serializedName: "resolutionETA",
|
367
|
-
type: {
|
368
|
-
name: "DateTime"
|
369
|
-
}
|
370
|
-
},
|
371
|
-
occuredTime: {
|
372
|
-
serializedName: "occuredTime",
|
373
|
-
type: {
|
374
|
-
name: "DateTime"
|
375
|
-
}
|
376
|
-
},
|
377
|
-
reasonChronicity: {
|
378
|
-
serializedName: "reasonChronicity",
|
379
|
-
type: {
|
380
|
-
name: "String"
|
381
|
-
}
|
382
|
-
},
|
383
|
-
reportedTime: {
|
384
|
-
serializedName: "reportedTime",
|
385
|
-
type: {
|
386
|
-
name: "DateTime"
|
387
|
-
}
|
388
|
-
},
|
389
|
-
recentlyResolved: {
|
390
|
-
serializedName: "recentlyResolved",
|
391
|
-
type: {
|
392
|
-
name: "Composite",
|
393
|
-
className: "AvailabilityStatusPropertiesRecentlyResolved"
|
394
|
-
}
|
395
|
-
},
|
396
|
-
recommendedActions: {
|
397
|
-
serializedName: "recommendedActions",
|
398
|
-
type: {
|
399
|
-
name: "Sequence",
|
400
|
-
element: {
|
401
|
-
type: {
|
402
|
-
name: "Composite",
|
403
|
-
className: "RecommendedAction"
|
404
|
-
}
|
405
|
-
}
|
406
|
-
}
|
407
|
-
},
|
408
|
-
serviceImpactingEvents: {
|
409
|
-
serializedName: "serviceImpactingEvents",
|
410
|
-
type: {
|
411
|
-
name: "Sequence",
|
412
|
-
element: {
|
413
|
-
type: {
|
414
|
-
name: "Composite",
|
415
|
-
className: "ServiceImpactingEvent"
|
416
|
-
}
|
417
|
-
}
|
418
|
-
}
|
419
|
-
}
|
420
|
-
}
|
421
|
-
}
|
422
|
-
};
|
423
|
-
const AvailabilityStatusPropertiesRecentlyResolved = {
|
424
|
-
type: {
|
425
|
-
name: "Composite",
|
426
|
-
className: "AvailabilityStatusPropertiesRecentlyResolved",
|
427
|
-
modelProperties: {
|
428
|
-
unavailableOccuredTime: {
|
429
|
-
serializedName: "unavailableOccuredTime",
|
430
|
-
type: {
|
431
|
-
name: "DateTime"
|
432
|
-
}
|
433
|
-
},
|
434
|
-
resolvedTime: {
|
435
|
-
serializedName: "resolvedTime",
|
436
|
-
type: {
|
437
|
-
name: "DateTime"
|
438
|
-
}
|
439
|
-
},
|
440
|
-
unavailableSummary: {
|
441
|
-
serializedName: "unavailableSummary",
|
442
|
-
type: {
|
443
|
-
name: "String"
|
444
|
-
}
|
445
|
-
}
|
446
|
-
}
|
447
|
-
}
|
448
|
-
};
|
449
|
-
const RecommendedAction = {
|
450
|
-
type: {
|
451
|
-
name: "Composite",
|
452
|
-
className: "RecommendedAction",
|
453
|
-
modelProperties: {
|
454
|
-
action: {
|
455
|
-
serializedName: "action",
|
456
|
-
type: {
|
457
|
-
name: "String"
|
458
|
-
}
|
459
|
-
},
|
460
|
-
actionUrl: {
|
461
|
-
serializedName: "actionUrl",
|
462
|
-
type: {
|
463
|
-
name: "String"
|
464
|
-
}
|
465
|
-
},
|
466
|
-
actionUrlComment: {
|
467
|
-
serializedName: "_ActionUrl\\.Comment",
|
468
|
-
type: {
|
469
|
-
name: "String"
|
470
|
-
}
|
471
|
-
},
|
472
|
-
actionUrlText: {
|
473
|
-
serializedName: "actionUrlText",
|
474
|
-
type: {
|
475
|
-
name: "String"
|
476
|
-
}
|
477
|
-
}
|
478
|
-
}
|
479
|
-
}
|
480
|
-
};
|
481
|
-
const ServiceImpactingEvent = {
|
482
|
-
type: {
|
483
|
-
name: "Composite",
|
484
|
-
className: "ServiceImpactingEvent",
|
485
|
-
modelProperties: {
|
486
|
-
eventStartTime: {
|
487
|
-
serializedName: "eventStartTime",
|
488
|
-
type: {
|
489
|
-
name: "DateTime"
|
490
|
-
}
|
491
|
-
},
|
492
|
-
eventStatusLastModifiedTime: {
|
493
|
-
serializedName: "eventStatusLastModifiedTime",
|
494
|
-
type: {
|
495
|
-
name: "DateTime"
|
496
|
-
}
|
497
|
-
},
|
498
|
-
correlationId: {
|
499
|
-
serializedName: "correlationId",
|
500
|
-
type: {
|
501
|
-
name: "String"
|
502
|
-
}
|
503
|
-
},
|
504
|
-
status: {
|
505
|
-
serializedName: "status",
|
506
|
-
type: {
|
507
|
-
name: "Composite",
|
508
|
-
className: "ServiceImpactingEventStatus"
|
509
|
-
}
|
510
|
-
},
|
511
|
-
incidentProperties: {
|
512
|
-
serializedName: "incidentProperties",
|
513
|
-
type: {
|
514
|
-
name: "Composite",
|
515
|
-
className: "ServiceImpactingEventIncidentProperties"
|
516
|
-
}
|
517
|
-
}
|
518
|
-
}
|
519
|
-
}
|
520
|
-
};
|
521
|
-
const ServiceImpactingEventStatus = {
|
522
|
-
type: {
|
523
|
-
name: "Composite",
|
524
|
-
className: "ServiceImpactingEventStatus",
|
525
|
-
modelProperties: {
|
526
|
-
value: {
|
527
|
-
serializedName: "value",
|
528
|
-
type: {
|
529
|
-
name: "String"
|
530
|
-
}
|
531
|
-
}
|
532
|
-
}
|
533
|
-
}
|
534
|
-
};
|
535
|
-
const ServiceImpactingEventIncidentProperties = {
|
536
|
-
type: {
|
537
|
-
name: "Composite",
|
538
|
-
className: "ServiceImpactingEventIncidentProperties",
|
539
|
-
modelProperties: {
|
540
|
-
title: {
|
541
|
-
serializedName: "title",
|
542
|
-
type: {
|
543
|
-
name: "String"
|
544
|
-
}
|
545
|
-
},
|
546
|
-
service: {
|
547
|
-
serializedName: "service",
|
548
|
-
type: {
|
549
|
-
name: "String"
|
550
|
-
}
|
551
|
-
},
|
552
|
-
region: {
|
553
|
-
serializedName: "region",
|
554
|
-
type: {
|
555
|
-
name: "String"
|
556
|
-
}
|
557
|
-
},
|
558
|
-
incidentType: {
|
559
|
-
serializedName: "incidentType",
|
560
|
-
type: {
|
561
|
-
name: "String"
|
562
|
-
}
|
563
|
-
}
|
564
|
-
}
|
565
|
-
}
|
566
|
-
};
|
567
|
-
const ErrorResponse = {
|
568
|
-
type: {
|
569
|
-
name: "Composite",
|
570
|
-
className: "ErrorResponse",
|
571
|
-
modelProperties: {
|
572
|
-
code: {
|
573
|
-
serializedName: "code",
|
574
|
-
readOnly: true,
|
575
|
-
type: {
|
576
|
-
name: "String"
|
577
|
-
}
|
578
|
-
},
|
579
|
-
message: {
|
580
|
-
serializedName: "message",
|
581
|
-
readOnly: true,
|
582
|
-
type: {
|
583
|
-
name: "String"
|
584
|
-
}
|
585
|
-
},
|
586
|
-
details: {
|
587
|
-
serializedName: "details",
|
588
|
-
readOnly: true,
|
589
|
-
type: {
|
590
|
-
name: "String"
|
591
|
-
}
|
592
|
-
}
|
593
|
-
}
|
594
|
-
}
|
595
|
-
};
|
596
|
-
const OperationListResult = {
|
597
|
-
type: {
|
598
|
-
name: "Composite",
|
599
|
-
className: "OperationListResult",
|
600
|
-
modelProperties: {
|
601
|
-
value: {
|
602
|
-
serializedName: "value",
|
603
|
-
required: true,
|
604
|
-
type: {
|
605
|
-
name: "Sequence",
|
606
|
-
element: {
|
607
|
-
type: {
|
608
|
-
name: "Composite",
|
609
|
-
className: "Operation"
|
610
|
-
}
|
611
|
-
}
|
612
|
-
}
|
613
|
-
}
|
614
|
-
}
|
615
|
-
}
|
616
|
-
};
|
617
|
-
const Operation = {
|
618
|
-
type: {
|
619
|
-
name: "Composite",
|
620
|
-
className: "Operation",
|
621
|
-
modelProperties: {
|
622
|
-
name: {
|
623
|
-
serializedName: "name",
|
624
|
-
type: {
|
625
|
-
name: "String"
|
626
|
-
}
|
627
|
-
},
|
628
|
-
display: {
|
629
|
-
serializedName: "display",
|
630
|
-
type: {
|
631
|
-
name: "Composite",
|
632
|
-
className: "OperationDisplay"
|
633
|
-
}
|
634
|
-
}
|
635
|
-
}
|
636
|
-
}
|
637
|
-
};
|
638
|
-
const OperationDisplay = {
|
639
|
-
type: {
|
640
|
-
name: "Composite",
|
641
|
-
className: "OperationDisplay",
|
642
|
-
modelProperties: {
|
643
|
-
provider: {
|
644
|
-
serializedName: "provider",
|
645
|
-
type: {
|
646
|
-
name: "String"
|
647
|
-
}
|
648
|
-
},
|
649
|
-
resource: {
|
650
|
-
serializedName: "resource",
|
651
|
-
type: {
|
652
|
-
name: "String"
|
653
|
-
}
|
654
|
-
},
|
655
|
-
operation: {
|
656
|
-
serializedName: "operation",
|
657
|
-
type: {
|
658
|
-
name: "String"
|
659
|
-
}
|
660
|
-
},
|
661
|
-
description: {
|
662
|
-
serializedName: "description",
|
663
|
-
type: {
|
664
|
-
name: "String"
|
665
|
-
}
|
666
|
-
}
|
667
|
-
}
|
668
|
-
}
|
669
|
-
};
|
670
|
-
const MetadataEntityListResult = {
|
671
|
-
type: {
|
672
|
-
name: "Composite",
|
673
|
-
className: "MetadataEntityListResult",
|
674
|
-
modelProperties: {
|
675
|
-
value: {
|
676
|
-
serializedName: "value",
|
677
|
-
type: {
|
678
|
-
name: "Sequence",
|
679
|
-
element: {
|
680
|
-
type: {
|
681
|
-
name: "Composite",
|
682
|
-
className: "MetadataEntity"
|
683
|
-
}
|
684
|
-
}
|
685
|
-
}
|
686
|
-
},
|
687
|
-
nextLink: {
|
688
|
-
serializedName: "nextLink",
|
689
|
-
type: {
|
690
|
-
name: "String"
|
691
|
-
}
|
692
|
-
}
|
693
|
-
}
|
694
|
-
}
|
695
|
-
};
|
696
|
-
const MetadataSupportedValueDetail = {
|
697
|
-
type: {
|
698
|
-
name: "Composite",
|
699
|
-
className: "MetadataSupportedValueDetail",
|
700
|
-
modelProperties: {
|
701
|
-
id: {
|
702
|
-
serializedName: "id",
|
703
|
-
type: {
|
704
|
-
name: "String"
|
705
|
-
}
|
706
|
-
},
|
707
|
-
displayName: {
|
708
|
-
serializedName: "displayName",
|
709
|
-
type: {
|
710
|
-
name: "String"
|
711
|
-
}
|
712
|
-
},
|
713
|
-
resourceTypes: {
|
714
|
-
serializedName: "resourceTypes",
|
715
|
-
type: {
|
716
|
-
name: "Sequence",
|
717
|
-
element: {
|
718
|
-
type: {
|
719
|
-
name: "String"
|
720
|
-
}
|
721
|
-
}
|
722
|
-
}
|
723
|
-
}
|
724
|
-
}
|
725
|
-
}
|
726
|
-
};
|
727
|
-
const Resource = {
|
728
|
-
type: {
|
729
|
-
name: "Composite",
|
730
|
-
className: "Resource",
|
731
|
-
modelProperties: {
|
732
|
-
id: {
|
733
|
-
serializedName: "id",
|
734
|
-
readOnly: true,
|
735
|
-
type: {
|
736
|
-
name: "String"
|
737
|
-
}
|
738
|
-
},
|
739
|
-
name: {
|
740
|
-
serializedName: "name",
|
741
|
-
readOnly: true,
|
742
|
-
type: {
|
743
|
-
name: "String"
|
744
|
-
}
|
745
|
-
},
|
746
|
-
type: {
|
747
|
-
serializedName: "type",
|
748
|
-
readOnly: true,
|
749
|
-
type: {
|
750
|
-
name: "String"
|
751
|
-
}
|
752
|
-
},
|
753
|
-
systemData: {
|
754
|
-
serializedName: "systemData",
|
755
|
-
type: {
|
756
|
-
name: "Composite",
|
757
|
-
className: "SystemData"
|
758
|
-
}
|
759
|
-
}
|
760
|
-
}
|
761
|
-
}
|
762
|
-
};
|
763
|
-
const SystemData = {
|
764
|
-
type: {
|
765
|
-
name: "Composite",
|
766
|
-
className: "SystemData",
|
767
|
-
modelProperties: {
|
768
|
-
createdBy: {
|
769
|
-
serializedName: "createdBy",
|
770
|
-
type: {
|
771
|
-
name: "String"
|
772
|
-
}
|
773
|
-
},
|
774
|
-
createdByType: {
|
775
|
-
serializedName: "createdByType",
|
776
|
-
type: {
|
777
|
-
name: "String"
|
778
|
-
}
|
779
|
-
},
|
780
|
-
createdAt: {
|
781
|
-
serializedName: "createdAt",
|
782
|
-
type: {
|
783
|
-
name: "DateTime"
|
784
|
-
}
|
785
|
-
},
|
786
|
-
lastModifiedBy: {
|
787
|
-
serializedName: "lastModifiedBy",
|
788
|
-
type: {
|
789
|
-
name: "String"
|
790
|
-
}
|
791
|
-
},
|
792
|
-
lastModifiedByType: {
|
793
|
-
serializedName: "lastModifiedByType",
|
794
|
-
type: {
|
795
|
-
name: "String"
|
796
|
-
}
|
797
|
-
},
|
798
|
-
lastModifiedAt: {
|
799
|
-
serializedName: "lastModifiedAt",
|
800
|
-
type: {
|
801
|
-
name: "DateTime"
|
802
|
-
}
|
803
|
-
}
|
804
|
-
}
|
805
|
-
}
|
806
|
-
};
|
807
|
-
const EventImpactedResourceListResult = {
|
808
|
-
type: {
|
809
|
-
name: "Composite",
|
810
|
-
className: "EventImpactedResourceListResult",
|
811
|
-
modelProperties: {
|
812
|
-
value: {
|
813
|
-
serializedName: "value",
|
814
|
-
required: true,
|
815
|
-
type: {
|
816
|
-
name: "Sequence",
|
817
|
-
element: {
|
818
|
-
type: {
|
819
|
-
name: "Composite",
|
820
|
-
className: "EventImpactedResource"
|
821
|
-
}
|
822
|
-
}
|
823
|
-
}
|
824
|
-
},
|
825
|
-
nextLink: {
|
826
|
-
serializedName: "nextLink",
|
827
|
-
type: {
|
828
|
-
name: "String"
|
829
|
-
}
|
830
|
-
}
|
831
|
-
}
|
832
|
-
}
|
833
|
-
};
|
834
|
-
const KeyValueItem = {
|
835
|
-
type: {
|
836
|
-
name: "Composite",
|
837
|
-
className: "KeyValueItem",
|
838
|
-
modelProperties: {
|
839
|
-
key: {
|
840
|
-
serializedName: "key",
|
841
|
-
readOnly: true,
|
842
|
-
type: {
|
843
|
-
name: "String"
|
844
|
-
}
|
845
|
-
},
|
846
|
-
value: {
|
847
|
-
serializedName: "value",
|
848
|
-
readOnly: true,
|
849
|
-
type: {
|
850
|
-
name: "String"
|
851
|
-
}
|
852
|
-
}
|
853
|
-
}
|
854
|
-
}
|
855
|
-
};
|
856
|
-
const Events = {
|
857
|
-
type: {
|
858
|
-
name: "Composite",
|
859
|
-
className: "Events",
|
860
|
-
modelProperties: {
|
861
|
-
value: {
|
862
|
-
serializedName: "value",
|
863
|
-
required: true,
|
864
|
-
type: {
|
865
|
-
name: "Sequence",
|
866
|
-
element: {
|
867
|
-
type: {
|
868
|
-
name: "Composite",
|
869
|
-
className: "Event"
|
870
|
-
}
|
871
|
-
}
|
872
|
-
}
|
873
|
-
},
|
874
|
-
nextLink: {
|
875
|
-
serializedName: "nextLink",
|
876
|
-
type: {
|
877
|
-
name: "String"
|
878
|
-
}
|
879
|
-
}
|
880
|
-
}
|
881
|
-
}
|
882
|
-
};
|
883
|
-
const EventPropertiesArticle = {
|
884
|
-
type: {
|
885
|
-
name: "Composite",
|
886
|
-
className: "EventPropertiesArticle",
|
887
|
-
modelProperties: {
|
888
|
-
articleContent: {
|
889
|
-
serializedName: "articleContent",
|
890
|
-
type: {
|
891
|
-
name: "String"
|
892
|
-
}
|
893
|
-
},
|
894
|
-
articleId: {
|
895
|
-
serializedName: "articleId",
|
896
|
-
type: {
|
897
|
-
name: "String"
|
898
|
-
}
|
899
|
-
},
|
900
|
-
parameters: {
|
901
|
-
serializedName: "parameters",
|
902
|
-
type: {
|
903
|
-
name: "Dictionary",
|
904
|
-
value: { type: { name: "any" } }
|
905
|
-
}
|
906
|
-
}
|
907
|
-
}
|
908
|
-
}
|
909
|
-
};
|
910
|
-
const Link = {
|
911
|
-
type: {
|
912
|
-
name: "Composite",
|
913
|
-
className: "Link",
|
914
|
-
modelProperties: {
|
915
|
-
type: {
|
916
|
-
serializedName: "type",
|
917
|
-
type: {
|
918
|
-
name: "String"
|
919
|
-
}
|
920
|
-
},
|
921
|
-
displayText: {
|
922
|
-
serializedName: "displayText",
|
923
|
-
type: {
|
924
|
-
name: "Composite",
|
925
|
-
className: "LinkDisplayText"
|
926
|
-
}
|
927
|
-
},
|
928
|
-
extensionName: {
|
929
|
-
serializedName: "extensionName",
|
930
|
-
type: {
|
931
|
-
name: "String"
|
932
|
-
}
|
933
|
-
},
|
934
|
-
bladeName: {
|
935
|
-
serializedName: "bladeName",
|
936
|
-
type: {
|
937
|
-
name: "String"
|
938
|
-
}
|
939
|
-
},
|
940
|
-
parameters: {
|
941
|
-
serializedName: "parameters",
|
942
|
-
type: {
|
943
|
-
name: "Dictionary",
|
944
|
-
value: { type: { name: "any" } }
|
945
|
-
}
|
946
|
-
}
|
947
|
-
}
|
948
|
-
}
|
949
|
-
};
|
950
|
-
const LinkDisplayText = {
|
951
|
-
type: {
|
952
|
-
name: "Composite",
|
953
|
-
className: "LinkDisplayText",
|
954
|
-
modelProperties: {
|
955
|
-
value: {
|
956
|
-
serializedName: "value",
|
957
|
-
type: {
|
958
|
-
name: "String"
|
959
|
-
}
|
960
|
-
},
|
961
|
-
localizedValue: {
|
962
|
-
serializedName: "localizedValue",
|
963
|
-
type: {
|
964
|
-
name: "String"
|
965
|
-
}
|
966
|
-
}
|
967
|
-
}
|
968
|
-
}
|
969
|
-
};
|
970
|
-
const Impact = {
|
971
|
-
type: {
|
972
|
-
name: "Composite",
|
973
|
-
className: "Impact",
|
974
|
-
modelProperties: {
|
975
|
-
impactedService: {
|
976
|
-
serializedName: "impactedService",
|
977
|
-
type: {
|
978
|
-
name: "String"
|
979
|
-
}
|
980
|
-
},
|
981
|
-
impactedRegions: {
|
982
|
-
serializedName: "impactedRegions",
|
983
|
-
type: {
|
984
|
-
name: "Sequence",
|
985
|
-
element: {
|
986
|
-
type: {
|
987
|
-
name: "Composite",
|
988
|
-
className: "ImpactedServiceRegion"
|
989
|
-
}
|
990
|
-
}
|
991
|
-
}
|
992
|
-
}
|
993
|
-
}
|
994
|
-
}
|
995
|
-
};
|
996
|
-
const ImpactedServiceRegion = {
|
997
|
-
type: {
|
998
|
-
name: "Composite",
|
999
|
-
className: "ImpactedServiceRegion",
|
1000
|
-
modelProperties: {
|
1001
|
-
impactedRegion: {
|
1002
|
-
serializedName: "impactedRegion",
|
1003
|
-
type: {
|
1004
|
-
name: "String"
|
1005
|
-
}
|
1006
|
-
},
|
1007
|
-
status: {
|
1008
|
-
serializedName: "status",
|
1009
|
-
type: {
|
1010
|
-
name: "String"
|
1011
|
-
}
|
1012
|
-
},
|
1013
|
-
impactedSubscriptions: {
|
1014
|
-
serializedName: "impactedSubscriptions",
|
1015
|
-
type: {
|
1016
|
-
name: "Sequence",
|
1017
|
-
element: {
|
1018
|
-
type: {
|
1019
|
-
name: "String"
|
1020
|
-
}
|
1021
|
-
}
|
1022
|
-
}
|
1023
|
-
},
|
1024
|
-
impactedTenants: {
|
1025
|
-
serializedName: "impactedTenants",
|
1026
|
-
type: {
|
1027
|
-
name: "Sequence",
|
1028
|
-
element: {
|
1029
|
-
type: {
|
1030
|
-
name: "String"
|
1031
|
-
}
|
1032
|
-
}
|
1033
|
-
}
|
1034
|
-
},
|
1035
|
-
lastUpdateTime: {
|
1036
|
-
serializedName: "lastUpdateTime",
|
1037
|
-
type: {
|
1038
|
-
name: "DateTime"
|
1039
|
-
}
|
1040
|
-
},
|
1041
|
-
updates: {
|
1042
|
-
serializedName: "updates",
|
1043
|
-
type: {
|
1044
|
-
name: "Sequence",
|
1045
|
-
element: {
|
1046
|
-
type: {
|
1047
|
-
name: "Composite",
|
1048
|
-
className: "Update"
|
1049
|
-
}
|
1050
|
-
}
|
1051
|
-
}
|
1052
|
-
}
|
1053
|
-
}
|
1054
|
-
}
|
1055
|
-
};
|
1056
|
-
const Update = {
|
1057
|
-
type: {
|
1058
|
-
name: "Composite",
|
1059
|
-
className: "Update",
|
1060
|
-
modelProperties: {
|
1061
|
-
summary: {
|
1062
|
-
serializedName: "summary",
|
1063
|
-
type: {
|
1064
|
-
name: "String"
|
1065
|
-
}
|
1066
|
-
},
|
1067
|
-
updateDateTime: {
|
1068
|
-
serializedName: "updateDateTime",
|
1069
|
-
type: {
|
1070
|
-
name: "DateTime"
|
1071
|
-
}
|
1072
|
-
}
|
1073
|
-
}
|
1074
|
-
}
|
1075
|
-
};
|
1076
|
-
const EventPropertiesRecommendedActions = {
|
1077
|
-
type: {
|
1078
|
-
name: "Composite",
|
1079
|
-
className: "EventPropertiesRecommendedActions",
|
1080
|
-
modelProperties: {
|
1081
|
-
message: {
|
1082
|
-
serializedName: "message",
|
1083
|
-
type: {
|
1084
|
-
name: "String"
|
1085
|
-
}
|
1086
|
-
},
|
1087
|
-
actions: {
|
1088
|
-
serializedName: "actions",
|
1089
|
-
type: {
|
1090
|
-
name: "Sequence",
|
1091
|
-
element: {
|
1092
|
-
type: {
|
1093
|
-
name: "Composite",
|
1094
|
-
className: "EventPropertiesRecommendedActionsItem"
|
1095
|
-
}
|
1096
|
-
}
|
1097
|
-
}
|
1098
|
-
},
|
1099
|
-
localeCode: {
|
1100
|
-
serializedName: "localeCode",
|
1101
|
-
type: {
|
1102
|
-
name: "String"
|
1103
|
-
}
|
1104
|
-
}
|
1105
|
-
}
|
1106
|
-
}
|
1107
|
-
};
|
1108
|
-
const EventPropertiesRecommendedActionsItem = {
|
1109
|
-
type: {
|
1110
|
-
name: "Composite",
|
1111
|
-
className: "EventPropertiesRecommendedActionsItem",
|
1112
|
-
modelProperties: {
|
1113
|
-
groupId: {
|
1114
|
-
serializedName: "groupId",
|
1115
|
-
type: {
|
1116
|
-
name: "Number"
|
1117
|
-
}
|
1118
|
-
},
|
1119
|
-
actionText: {
|
1120
|
-
serializedName: "actionText",
|
1121
|
-
type: {
|
1122
|
-
name: "String"
|
1123
|
-
}
|
1124
|
-
}
|
1125
|
-
}
|
1126
|
-
}
|
1127
|
-
};
|
1128
|
-
const Faq = {
|
1129
|
-
type: {
|
1130
|
-
name: "Composite",
|
1131
|
-
className: "Faq",
|
1132
|
-
modelProperties: {
|
1133
|
-
question: {
|
1134
|
-
serializedName: "question",
|
1135
|
-
type: {
|
1136
|
-
name: "String"
|
1137
|
-
}
|
1138
|
-
},
|
1139
|
-
answer: {
|
1140
|
-
serializedName: "answer",
|
1141
|
-
type: {
|
1142
|
-
name: "String"
|
1143
|
-
}
|
1144
|
-
},
|
1145
|
-
localeCode: {
|
1146
|
-
serializedName: "localeCode",
|
1147
|
-
type: {
|
1148
|
-
name: "String"
|
1149
|
-
}
|
1150
|
-
}
|
1151
|
-
}
|
1152
|
-
}
|
1153
|
-
};
|
1154
|
-
const EventPropertiesAdditionalInformation = {
|
1155
|
-
type: {
|
1156
|
-
name: "Composite",
|
1157
|
-
className: "EventPropertiesAdditionalInformation",
|
1158
|
-
modelProperties: {
|
1159
|
-
message: {
|
1160
|
-
serializedName: "message",
|
1161
|
-
type: {
|
1162
|
-
name: "String"
|
1163
|
-
}
|
1164
|
-
}
|
1165
|
-
}
|
1166
|
-
}
|
1167
|
-
};
|
1168
|
-
const EmergingIssueListResult = {
|
1169
|
-
type: {
|
1170
|
-
name: "Composite",
|
1171
|
-
className: "EmergingIssueListResult",
|
1172
|
-
modelProperties: {
|
1173
|
-
value: {
|
1174
|
-
serializedName: "value",
|
1175
|
-
type: {
|
1176
|
-
name: "Sequence",
|
1177
|
-
element: {
|
1178
|
-
type: {
|
1179
|
-
name: "Composite",
|
1180
|
-
className: "EmergingIssuesGetResult"
|
1181
|
-
}
|
1182
|
-
}
|
1183
|
-
}
|
1184
|
-
},
|
1185
|
-
nextLink: {
|
1186
|
-
serializedName: "nextLink",
|
1187
|
-
type: {
|
1188
|
-
name: "String"
|
1189
|
-
}
|
1190
|
-
}
|
1191
|
-
}
|
1192
|
-
}
|
1193
|
-
};
|
1194
|
-
const StatusBanner = {
|
1195
|
-
type: {
|
1196
|
-
name: "Composite",
|
1197
|
-
className: "StatusBanner",
|
1198
|
-
modelProperties: {
|
1199
|
-
title: {
|
1200
|
-
serializedName: "title",
|
1201
|
-
type: {
|
1202
|
-
name: "String"
|
1203
|
-
}
|
1204
|
-
},
|
1205
|
-
message: {
|
1206
|
-
serializedName: "message",
|
1207
|
-
type: {
|
1208
|
-
name: "String"
|
1209
|
-
}
|
1210
|
-
},
|
1211
|
-
cloud: {
|
1212
|
-
serializedName: "cloud",
|
1213
|
-
type: {
|
1214
|
-
name: "String"
|
1215
|
-
}
|
1216
|
-
},
|
1217
|
-
lastModifiedTime: {
|
1218
|
-
serializedName: "lastModifiedTime",
|
1219
|
-
type: {
|
1220
|
-
name: "DateTime"
|
1221
|
-
}
|
1222
|
-
}
|
1223
|
-
}
|
1224
|
-
}
|
1225
|
-
};
|
1226
|
-
const StatusActiveEvent = {
|
1227
|
-
type: {
|
1228
|
-
name: "Composite",
|
1229
|
-
className: "StatusActiveEvent",
|
1230
|
-
modelProperties: {
|
1231
|
-
title: {
|
1232
|
-
serializedName: "title",
|
1233
|
-
type: {
|
1234
|
-
name: "String"
|
1235
|
-
}
|
1236
|
-
},
|
1237
|
-
description: {
|
1238
|
-
serializedName: "description",
|
1239
|
-
type: {
|
1240
|
-
name: "String"
|
1241
|
-
}
|
1242
|
-
},
|
1243
|
-
trackingId: {
|
1244
|
-
serializedName: "trackingId",
|
1245
|
-
type: {
|
1246
|
-
name: "String"
|
1247
|
-
}
|
1248
|
-
},
|
1249
|
-
startTime: {
|
1250
|
-
serializedName: "startTime",
|
1251
|
-
type: {
|
1252
|
-
name: "DateTime"
|
1253
|
-
}
|
1254
|
-
},
|
1255
|
-
cloud: {
|
1256
|
-
serializedName: "cloud",
|
1257
|
-
type: {
|
1258
|
-
name: "String"
|
1259
|
-
}
|
1260
|
-
},
|
1261
|
-
severity: {
|
1262
|
-
serializedName: "severity",
|
1263
|
-
type: {
|
1264
|
-
name: "String"
|
1265
|
-
}
|
1266
|
-
},
|
1267
|
-
stage: {
|
1268
|
-
serializedName: "stage",
|
1269
|
-
type: {
|
1270
|
-
name: "String"
|
1271
|
-
}
|
1272
|
-
},
|
1273
|
-
published: {
|
1274
|
-
serializedName: "published",
|
1275
|
-
type: {
|
1276
|
-
name: "Boolean"
|
1277
|
-
}
|
1278
|
-
},
|
1279
|
-
lastModifiedTime: {
|
1280
|
-
serializedName: "lastModifiedTime",
|
1281
|
-
type: {
|
1282
|
-
name: "DateTime"
|
1283
|
-
}
|
1284
|
-
},
|
1285
|
-
impacts: {
|
1286
|
-
serializedName: "impacts",
|
1287
|
-
type: {
|
1288
|
-
name: "Sequence",
|
1289
|
-
element: {
|
1290
|
-
type: {
|
1291
|
-
name: "Composite",
|
1292
|
-
className: "EmergingIssueImpact"
|
1293
|
-
}
|
1294
|
-
}
|
1295
|
-
}
|
1296
|
-
}
|
1297
|
-
}
|
1298
|
-
}
|
1299
|
-
};
|
1300
|
-
const EmergingIssueImpact = {
|
1301
|
-
type: {
|
1302
|
-
name: "Composite",
|
1303
|
-
className: "EmergingIssueImpact",
|
1304
|
-
modelProperties: {
|
1305
|
-
id: {
|
1306
|
-
serializedName: "id",
|
1307
|
-
type: {
|
1308
|
-
name: "String"
|
1309
|
-
}
|
1310
|
-
},
|
1311
|
-
name: {
|
1312
|
-
serializedName: "name",
|
1313
|
-
type: {
|
1314
|
-
name: "String"
|
1315
|
-
}
|
1316
|
-
},
|
1317
|
-
regions: {
|
1318
|
-
serializedName: "regions",
|
1319
|
-
type: {
|
1320
|
-
name: "Sequence",
|
1321
|
-
element: {
|
1322
|
-
type: {
|
1323
|
-
name: "Composite",
|
1324
|
-
className: "ImpactedRegion"
|
1325
|
-
}
|
1326
|
-
}
|
1327
|
-
}
|
1328
|
-
}
|
1329
|
-
}
|
1330
|
-
}
|
1331
|
-
};
|
1332
|
-
const ImpactedRegion = {
|
1333
|
-
type: {
|
1334
|
-
name: "Composite",
|
1335
|
-
className: "ImpactedRegion",
|
1336
|
-
modelProperties: {
|
1337
|
-
id: {
|
1338
|
-
serializedName: "id",
|
1339
|
-
type: {
|
1340
|
-
name: "String"
|
1341
|
-
}
|
1342
|
-
},
|
1343
|
-
name: {
|
1344
|
-
serializedName: "name",
|
1345
|
-
type: {
|
1346
|
-
name: "String"
|
1347
|
-
}
|
1348
|
-
}
|
1349
|
-
}
|
1350
|
-
}
|
1351
|
-
};
|
1352
|
-
const ProxyResource = {
|
1353
|
-
type: {
|
1354
|
-
name: "Composite",
|
1355
|
-
className: "ProxyResource",
|
1356
|
-
modelProperties: Object.assign({}, Resource.type.modelProperties)
|
1357
|
-
}
|
1358
|
-
};
|
1359
|
-
const MetadataEntity = {
|
1360
|
-
type: {
|
1361
|
-
name: "Composite",
|
1362
|
-
className: "MetadataEntity",
|
1363
|
-
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { displayName: {
|
1364
|
-
serializedName: "properties.displayName",
|
1365
|
-
type: {
|
1366
|
-
name: "String"
|
1367
|
-
}
|
1368
|
-
}, dependsOn: {
|
1369
|
-
serializedName: "properties.dependsOn",
|
1370
|
-
type: {
|
1371
|
-
name: "Sequence",
|
1372
|
-
element: {
|
1373
|
-
type: {
|
1374
|
-
name: "String"
|
1375
|
-
}
|
1376
|
-
}
|
1377
|
-
}
|
1378
|
-
}, applicableScenarios: {
|
1379
|
-
serializedName: "properties.applicableScenarios",
|
1380
|
-
type: {
|
1381
|
-
name: "Sequence",
|
1382
|
-
element: {
|
1383
|
-
type: {
|
1384
|
-
name: "String"
|
1385
|
-
}
|
1386
|
-
}
|
1387
|
-
}
|
1388
|
-
}, supportedValues: {
|
1389
|
-
serializedName: "properties.supportedValues",
|
1390
|
-
type: {
|
1391
|
-
name: "Sequence",
|
1392
|
-
element: {
|
1393
|
-
type: {
|
1394
|
-
name: "Composite",
|
1395
|
-
className: "MetadataSupportedValueDetail"
|
1396
|
-
}
|
1397
|
-
}
|
1398
|
-
}
|
1399
|
-
} })
|
1400
|
-
}
|
1401
|
-
};
|
1402
|
-
const EventImpactedResource = {
|
1403
|
-
type: {
|
1404
|
-
name: "Composite",
|
1405
|
-
className: "EventImpactedResource",
|
1406
|
-
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { targetResourceType: {
|
1407
|
-
serializedName: "properties.targetResourceType",
|
1408
|
-
readOnly: true,
|
1409
|
-
type: {
|
1410
|
-
name: "String"
|
1411
|
-
}
|
1412
|
-
}, targetResourceId: {
|
1413
|
-
serializedName: "properties.targetResourceId",
|
1414
|
-
readOnly: true,
|
1415
|
-
type: {
|
1416
|
-
name: "String"
|
1417
|
-
}
|
1418
|
-
}, targetRegion: {
|
1419
|
-
serializedName: "properties.targetRegion",
|
1420
|
-
readOnly: true,
|
1421
|
-
type: {
|
1422
|
-
name: "String"
|
1423
|
-
}
|
1424
|
-
}, resourceName: {
|
1425
|
-
serializedName: "properties.resourceName",
|
1426
|
-
readOnly: true,
|
1427
|
-
type: {
|
1428
|
-
name: "String"
|
1429
|
-
}
|
1430
|
-
}, resourceGroup: {
|
1431
|
-
serializedName: "properties.resourceGroup",
|
1432
|
-
readOnly: true,
|
1433
|
-
type: {
|
1434
|
-
name: "String"
|
1435
|
-
}
|
1436
|
-
}, status: {
|
1437
|
-
serializedName: "properties.status",
|
1438
|
-
readOnly: true,
|
1439
|
-
type: {
|
1440
|
-
name: "String"
|
1441
|
-
}
|
1442
|
-
}, maintenanceStartTime: {
|
1443
|
-
serializedName: "properties.maintenanceStartTime",
|
1444
|
-
readOnly: true,
|
1445
|
-
type: {
|
1446
|
-
name: "String"
|
1447
|
-
}
|
1448
|
-
}, maintenanceEndTime: {
|
1449
|
-
serializedName: "properties.maintenanceEndTime",
|
1450
|
-
readOnly: true,
|
1451
|
-
type: {
|
1452
|
-
name: "String"
|
1453
|
-
}
|
1454
|
-
}, info: {
|
1455
|
-
serializedName: "properties.info",
|
1456
|
-
type: {
|
1457
|
-
name: "Sequence",
|
1458
|
-
element: {
|
1459
|
-
type: {
|
1460
|
-
name: "Composite",
|
1461
|
-
className: "KeyValueItem"
|
1462
|
-
}
|
1463
|
-
}
|
1464
|
-
}
|
1465
|
-
} })
|
1466
|
-
}
|
1467
|
-
};
|
1468
|
-
const Event = {
|
1469
|
-
type: {
|
1470
|
-
name: "Composite",
|
1471
|
-
className: "Event",
|
1472
|
-
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { eventType: {
|
1473
|
-
serializedName: "properties.eventType",
|
1474
|
-
type: {
|
1475
|
-
name: "String"
|
1476
|
-
}
|
1477
|
-
}, eventSubType: {
|
1478
|
-
serializedName: "properties.eventSubType",
|
1479
|
-
type: {
|
1480
|
-
name: "String"
|
1481
|
-
}
|
1482
|
-
}, eventSource: {
|
1483
|
-
serializedName: "properties.eventSource",
|
1484
|
-
type: {
|
1485
|
-
name: "String"
|
1486
|
-
}
|
1487
|
-
}, status: {
|
1488
|
-
serializedName: "properties.status",
|
1489
|
-
type: {
|
1490
|
-
name: "String"
|
1491
|
-
}
|
1492
|
-
}, title: {
|
1493
|
-
serializedName: "properties.title",
|
1494
|
-
type: {
|
1495
|
-
name: "String"
|
1496
|
-
}
|
1497
|
-
}, summary: {
|
1498
|
-
serializedName: "properties.summary",
|
1499
|
-
type: {
|
1500
|
-
name: "String"
|
1501
|
-
}
|
1502
|
-
}, header: {
|
1503
|
-
serializedName: "properties.header",
|
1504
|
-
type: {
|
1505
|
-
name: "String"
|
1506
|
-
}
|
1507
|
-
}, level: {
|
1508
|
-
serializedName: "properties.level",
|
1509
|
-
type: {
|
1510
|
-
name: "String"
|
1511
|
-
}
|
1512
|
-
}, eventLevel: {
|
1513
|
-
serializedName: "properties.eventLevel",
|
1514
|
-
type: {
|
1515
|
-
name: "String"
|
1516
|
-
}
|
1517
|
-
}, externalIncidentId: {
|
1518
|
-
serializedName: "properties.externalIncidentId",
|
1519
|
-
type: {
|
1520
|
-
name: "String"
|
1521
|
-
}
|
1522
|
-
}, reason: {
|
1523
|
-
serializedName: "properties.reason",
|
1524
|
-
type: {
|
1525
|
-
name: "String"
|
1526
|
-
}
|
1527
|
-
}, article: {
|
1528
|
-
serializedName: "properties.article",
|
1529
|
-
type: {
|
1530
|
-
name: "Composite",
|
1531
|
-
className: "EventPropertiesArticle"
|
1532
|
-
}
|
1533
|
-
}, links: {
|
1534
|
-
serializedName: "properties.links",
|
1535
|
-
type: {
|
1536
|
-
name: "Sequence",
|
1537
|
-
element: {
|
1538
|
-
type: {
|
1539
|
-
name: "Composite",
|
1540
|
-
className: "Link"
|
1541
|
-
}
|
1542
|
-
}
|
1543
|
-
}
|
1544
|
-
}, impactStartTime: {
|
1545
|
-
serializedName: "properties.impactStartTime",
|
1546
|
-
type: {
|
1547
|
-
name: "DateTime"
|
1548
|
-
}
|
1549
|
-
}, impactMitigationTime: {
|
1550
|
-
serializedName: "properties.impactMitigationTime",
|
1551
|
-
type: {
|
1552
|
-
name: "DateTime"
|
1553
|
-
}
|
1554
|
-
}, impact: {
|
1555
|
-
serializedName: "properties.impact",
|
1556
|
-
type: {
|
1557
|
-
name: "Sequence",
|
1558
|
-
element: {
|
1559
|
-
type: {
|
1560
|
-
name: "Composite",
|
1561
|
-
className: "Impact"
|
1562
|
-
}
|
1563
|
-
}
|
1564
|
-
}
|
1565
|
-
}, recommendedActions: {
|
1566
|
-
serializedName: "properties.recommendedActions",
|
1567
|
-
type: {
|
1568
|
-
name: "Composite",
|
1569
|
-
className: "EventPropertiesRecommendedActions"
|
1570
|
-
}
|
1571
|
-
}, faqs: {
|
1572
|
-
serializedName: "properties.faqs",
|
1573
|
-
type: {
|
1574
|
-
name: "Sequence",
|
1575
|
-
element: {
|
1576
|
-
type: {
|
1577
|
-
name: "Composite",
|
1578
|
-
className: "Faq"
|
1579
|
-
}
|
1580
|
-
}
|
1581
|
-
}
|
1582
|
-
}, isHIR: {
|
1583
|
-
serializedName: "properties.isHIR",
|
1584
|
-
type: {
|
1585
|
-
name: "Boolean"
|
1586
|
-
}
|
1587
|
-
}, enableMicrosoftSupport: {
|
1588
|
-
serializedName: "properties.enableMicrosoftSupport",
|
1589
|
-
type: {
|
1590
|
-
name: "Boolean"
|
1591
|
-
}
|
1592
|
-
}, description: {
|
1593
|
-
serializedName: "properties.description",
|
1594
|
-
type: {
|
1595
|
-
name: "String"
|
1596
|
-
}
|
1597
|
-
}, platformInitiated: {
|
1598
|
-
serializedName: "properties.platformInitiated",
|
1599
|
-
type: {
|
1600
|
-
name: "Boolean"
|
1601
|
-
}
|
1602
|
-
}, enableChatWithUs: {
|
1603
|
-
serializedName: "properties.enableChatWithUs",
|
1604
|
-
type: {
|
1605
|
-
name: "Boolean"
|
1606
|
-
}
|
1607
|
-
}, priority: {
|
1608
|
-
serializedName: "properties.priority",
|
1609
|
-
type: {
|
1610
|
-
name: "Number"
|
1611
|
-
}
|
1612
|
-
}, lastUpdateTime: {
|
1613
|
-
serializedName: "properties.lastUpdateTime",
|
1614
|
-
type: {
|
1615
|
-
name: "DateTime"
|
1616
|
-
}
|
1617
|
-
}, hirStage: {
|
1618
|
-
serializedName: "properties.hirStage",
|
1619
|
-
type: {
|
1620
|
-
name: "String"
|
1621
|
-
}
|
1622
|
-
}, additionalInformation: {
|
1623
|
-
serializedName: "properties.additionalInformation",
|
1624
|
-
type: {
|
1625
|
-
name: "Composite",
|
1626
|
-
className: "EventPropertiesAdditionalInformation"
|
1627
|
-
}
|
1628
|
-
}, duration: {
|
1629
|
-
serializedName: "properties.duration",
|
1630
|
-
type: {
|
1631
|
-
name: "Number"
|
1632
|
-
}
|
1633
|
-
}, impactType: {
|
1634
|
-
serializedName: "properties.impactType",
|
1635
|
-
type: {
|
1636
|
-
name: "String"
|
1637
|
-
}
|
1638
|
-
}, maintenanceId: {
|
1639
|
-
serializedName: "properties.maintenanceId",
|
1640
|
-
type: {
|
1641
|
-
name: "String"
|
1642
|
-
}
|
1643
|
-
}, maintenanceType: {
|
1644
|
-
serializedName: "properties.maintenanceType",
|
1645
|
-
type: {
|
1646
|
-
name: "String"
|
1647
|
-
}
|
1648
|
-
}, argQuery: {
|
1649
|
-
serializedName: "properties.argQuery",
|
1650
|
-
type: {
|
1651
|
-
name: "String"
|
1652
|
-
}
|
1653
|
-
} })
|
1654
|
-
}
|
1655
|
-
};
|
1656
|
-
const EmergingIssuesGetResult = {
|
1657
|
-
type: {
|
1658
|
-
name: "Composite",
|
1659
|
-
className: "EmergingIssuesGetResult",
|
1660
|
-
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { refreshTimestamp: {
|
1661
|
-
serializedName: "properties.refreshTimestamp",
|
1662
|
-
type: {
|
1663
|
-
name: "DateTime"
|
1664
|
-
}
|
1665
|
-
}, statusBanners: {
|
1666
|
-
serializedName: "properties.statusBanners",
|
1667
|
-
type: {
|
1668
|
-
name: "Sequence",
|
1669
|
-
element: {
|
1670
|
-
type: {
|
1671
|
-
name: "Composite",
|
1672
|
-
className: "StatusBanner"
|
1673
|
-
}
|
1674
|
-
}
|
1675
|
-
}
|
1676
|
-
}, statusActiveEvents: {
|
1677
|
-
serializedName: "properties.statusActiveEvents",
|
1678
|
-
type: {
|
1679
|
-
name: "Sequence",
|
1680
|
-
element: {
|
1681
|
-
type: {
|
1682
|
-
name: "Composite",
|
1683
|
-
className: "StatusActiveEvent"
|
1684
|
-
}
|
1685
|
-
}
|
1686
|
-
}
|
1687
|
-
} })
|
1688
|
-
}
|
1689
|
-
};
|
1690
|
-
const ImpactedResourceStatus = {
|
1691
|
-
type: {
|
1692
|
-
name: "Composite",
|
1693
|
-
className: "ImpactedResourceStatus",
|
1694
|
-
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { availabilityState: {
|
1695
|
-
serializedName: "properties.availabilityState",
|
1696
|
-
type: {
|
1697
|
-
name: "String"
|
1698
|
-
}
|
1699
|
-
}, title: {
|
1700
|
-
serializedName: "properties.title",
|
1701
|
-
type: {
|
1702
|
-
name: "String"
|
1703
|
-
}
|
1704
|
-
}, summary: {
|
1705
|
-
serializedName: "properties.summary",
|
1706
|
-
type: {
|
1707
|
-
name: "String"
|
1708
|
-
}
|
1709
|
-
}, reasonType: {
|
1710
|
-
serializedName: "properties.reasonType",
|
1711
|
-
type: {
|
1712
|
-
name: "String"
|
1713
|
-
}
|
1714
|
-
}, occurredTime: {
|
1715
|
-
serializedName: "properties.occurredTime",
|
1716
|
-
type: {
|
1717
|
-
name: "DateTime"
|
1718
|
-
}
|
1719
|
-
} })
|
1720
|
-
}
|
1721
|
-
};
|
1722
|
-
|
1723
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
1724
|
-
__proto__: null,
|
1725
|
-
AvailabilityStatus: AvailabilityStatus,
|
1726
|
-
AvailabilityStatusListResult: AvailabilityStatusListResult,
|
1727
|
-
AvailabilityStatusProperties: AvailabilityStatusProperties,
|
1728
|
-
AvailabilityStatusPropertiesRecentlyResolved: AvailabilityStatusPropertiesRecentlyResolved,
|
1729
|
-
EmergingIssueImpact: EmergingIssueImpact,
|
1730
|
-
EmergingIssueListResult: EmergingIssueListResult,
|
1731
|
-
EmergingIssuesGetResult: EmergingIssuesGetResult,
|
1732
|
-
ErrorResponse: ErrorResponse,
|
1733
|
-
Event: Event,
|
1734
|
-
EventImpactedResource: EventImpactedResource,
|
1735
|
-
EventImpactedResourceListResult: EventImpactedResourceListResult,
|
1736
|
-
EventPropertiesAdditionalInformation: EventPropertiesAdditionalInformation,
|
1737
|
-
EventPropertiesArticle: EventPropertiesArticle,
|
1738
|
-
EventPropertiesRecommendedActions: EventPropertiesRecommendedActions,
|
1739
|
-
EventPropertiesRecommendedActionsItem: EventPropertiesRecommendedActionsItem,
|
1740
|
-
Events: Events,
|
1741
|
-
Faq: Faq,
|
1742
|
-
Impact: Impact,
|
1743
|
-
ImpactedRegion: ImpactedRegion,
|
1744
|
-
ImpactedResourceStatus: ImpactedResourceStatus,
|
1745
|
-
ImpactedServiceRegion: ImpactedServiceRegion,
|
1746
|
-
KeyValueItem: KeyValueItem,
|
1747
|
-
Link: Link,
|
1748
|
-
LinkDisplayText: LinkDisplayText,
|
1749
|
-
MetadataEntity: MetadataEntity,
|
1750
|
-
MetadataEntityListResult: MetadataEntityListResult,
|
1751
|
-
MetadataSupportedValueDetail: MetadataSupportedValueDetail,
|
1752
|
-
Operation: Operation,
|
1753
|
-
OperationDisplay: OperationDisplay,
|
1754
|
-
OperationListResult: OperationListResult,
|
1755
|
-
ProxyResource: ProxyResource,
|
1756
|
-
RecommendedAction: RecommendedAction,
|
1757
|
-
Resource: Resource,
|
1758
|
-
ServiceImpactingEvent: ServiceImpactingEvent,
|
1759
|
-
ServiceImpactingEventIncidentProperties: ServiceImpactingEventIncidentProperties,
|
1760
|
-
ServiceImpactingEventStatus: ServiceImpactingEventStatus,
|
1761
|
-
StatusActiveEvent: StatusActiveEvent,
|
1762
|
-
StatusBanner: StatusBanner,
|
1763
|
-
SystemData: SystemData,
|
1764
|
-
Update: Update
|
1765
|
-
});
|
1766
|
-
|
1767
|
-
/*
|
1768
|
-
* Copyright (c) Microsoft Corporation.
|
1769
|
-
* Licensed under the MIT License.
|
1770
|
-
*
|
1771
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
1772
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
1773
|
-
*/
|
1774
|
-
const accept = {
|
1775
|
-
parameterPath: "accept",
|
1776
|
-
mapper: {
|
1777
|
-
defaultValue: "application/json",
|
1778
|
-
isConstant: true,
|
1779
|
-
serializedName: "Accept",
|
1780
|
-
type: {
|
1781
|
-
name: "String"
|
1782
|
-
}
|
1783
|
-
}
|
1784
|
-
};
|
1785
|
-
const $host = {
|
1786
|
-
parameterPath: "$host",
|
1787
|
-
mapper: {
|
1788
|
-
serializedName: "$host",
|
1789
|
-
required: true,
|
1790
|
-
type: {
|
1791
|
-
name: "String"
|
1792
|
-
}
|
1793
|
-
},
|
1794
|
-
skipEncoding: true
|
1795
|
-
};
|
1796
|
-
const apiVersion = {
|
1797
|
-
parameterPath: "apiVersion",
|
1798
|
-
mapper: {
|
1799
|
-
defaultValue: "2023-10-01-preview",
|
1800
|
-
isConstant: true,
|
1801
|
-
serializedName: "api-version",
|
1802
|
-
type: {
|
1803
|
-
name: "String"
|
1804
|
-
}
|
1805
|
-
}
|
1806
|
-
};
|
1807
|
-
const filter = {
|
1808
|
-
parameterPath: ["options", "filter"],
|
1809
|
-
mapper: {
|
1810
|
-
serializedName: "$filter",
|
1811
|
-
type: {
|
1812
|
-
name: "String"
|
1813
|
-
}
|
1814
|
-
}
|
1815
|
-
};
|
1816
|
-
const subscriptionId = {
|
1817
|
-
parameterPath: "subscriptionId",
|
1818
|
-
mapper: {
|
1819
|
-
constraints: {
|
1820
|
-
MinLength: 1
|
1821
|
-
},
|
1822
|
-
serializedName: "subscriptionId",
|
1823
|
-
required: true,
|
1824
|
-
type: {
|
1825
|
-
name: "String"
|
1826
|
-
}
|
1827
|
-
}
|
1828
|
-
};
|
1829
|
-
const expand = {
|
1830
|
-
parameterPath: ["options", "expand"],
|
1831
|
-
mapper: {
|
1832
|
-
serializedName: "$expand",
|
1833
|
-
type: {
|
1834
|
-
name: "String"
|
1835
|
-
}
|
1836
|
-
}
|
1837
|
-
};
|
1838
|
-
const resourceGroupName = {
|
1839
|
-
parameterPath: "resourceGroupName",
|
1840
|
-
mapper: {
|
1841
|
-
constraints: {
|
1842
|
-
MaxLength: 90,
|
1843
|
-
MinLength: 1
|
1844
|
-
},
|
1845
|
-
serializedName: "resourceGroupName",
|
1846
|
-
required: true,
|
1847
|
-
type: {
|
1848
|
-
name: "String"
|
1849
|
-
}
|
1850
|
-
}
|
1851
|
-
};
|
1852
|
-
const resourceUri = {
|
1853
|
-
parameterPath: "resourceUri",
|
1854
|
-
mapper: {
|
1855
|
-
serializedName: "resourceUri",
|
1856
|
-
required: true,
|
1857
|
-
type: {
|
1858
|
-
name: "String"
|
1859
|
-
}
|
1860
|
-
},
|
1861
|
-
skipEncoding: true
|
1862
|
-
};
|
1863
|
-
const nextLink = {
|
1864
|
-
parameterPath: "nextLink",
|
1865
|
-
mapper: {
|
1866
|
-
serializedName: "nextLink",
|
1867
|
-
required: true,
|
1868
|
-
type: {
|
1869
|
-
name: "String"
|
1870
|
-
}
|
1871
|
-
},
|
1872
|
-
skipEncoding: true
|
1873
|
-
};
|
1874
|
-
const name = {
|
1875
|
-
parameterPath: "name",
|
1876
|
-
mapper: {
|
1877
|
-
serializedName: "name",
|
1878
|
-
required: true,
|
1879
|
-
type: {
|
1880
|
-
name: "String"
|
1881
|
-
}
|
1882
|
-
}
|
1883
|
-
};
|
1884
|
-
const eventTrackingId = {
|
1885
|
-
parameterPath: "eventTrackingId",
|
1886
|
-
mapper: {
|
1887
|
-
serializedName: "eventTrackingId",
|
1888
|
-
required: true,
|
1889
|
-
type: {
|
1890
|
-
name: "String"
|
1891
|
-
}
|
1892
|
-
}
|
1893
|
-
};
|
1894
|
-
const impactedResourceName = {
|
1895
|
-
parameterPath: "impactedResourceName",
|
1896
|
-
mapper: {
|
1897
|
-
constraints: {
|
1898
|
-
Pattern: new RegExp("^[^*#&+:<>%?]+$")
|
1899
|
-
},
|
1900
|
-
serializedName: "impactedResourceName",
|
1901
|
-
required: true,
|
1902
|
-
type: {
|
1903
|
-
name: "String"
|
1904
|
-
}
|
1905
|
-
}
|
1906
|
-
};
|
1907
|
-
const queryStartTime = {
|
1908
|
-
parameterPath: ["options", "queryStartTime"],
|
1909
|
-
mapper: {
|
1910
|
-
serializedName: "queryStartTime",
|
1911
|
-
type: {
|
1912
|
-
name: "String"
|
1913
|
-
}
|
1914
|
-
}
|
1915
|
-
};
|
1916
|
-
const issueName = {
|
1917
|
-
parameterPath: "issueName",
|
1918
|
-
mapper: {
|
1919
|
-
serializedName: "issueName",
|
1920
|
-
required: true,
|
1921
|
-
type: {
|
1922
|
-
name: "String"
|
1923
|
-
}
|
1924
|
-
}
|
1925
|
-
};
|
1926
|
-
|
1927
|
-
/*
|
1928
|
-
* Copyright (c) Microsoft Corporation.
|
1929
|
-
* Licensed under the MIT License.
|
1930
|
-
*
|
1931
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
1932
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
1933
|
-
*/
|
1934
|
-
/// <reference lib="esnext.asynciterable" />
|
1935
|
-
/** Class containing AvailabilityStatuses operations. */
|
1936
|
-
class AvailabilityStatusesImpl {
|
1937
|
-
/**
|
1938
|
-
* Initialize a new instance of the class AvailabilityStatuses class.
|
1939
|
-
* @param client Reference to the service client
|
1940
|
-
*/
|
1941
|
-
constructor(client) {
|
1942
|
-
this.client = client;
|
1943
|
-
}
|
1944
|
-
/**
|
1945
|
-
* Lists the current availability status for all the resources in the subscription.
|
1946
|
-
* @param options The options parameters.
|
1947
|
-
*/
|
1948
|
-
listBySubscriptionId(options) {
|
1949
|
-
const iter = this.listBySubscriptionIdPagingAll(options);
|
1950
|
-
return {
|
1951
|
-
next() {
|
1952
|
-
return iter.next();
|
1953
|
-
},
|
1954
|
-
[Symbol.asyncIterator]() {
|
1955
|
-
return this;
|
1956
|
-
},
|
1957
|
-
byPage: (settings) => {
|
1958
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
1959
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
1960
|
-
}
|
1961
|
-
return this.listBySubscriptionIdPagingPage(options, settings);
|
1962
|
-
}
|
1963
|
-
};
|
1964
|
-
}
|
1965
|
-
listBySubscriptionIdPagingPage(options, settings) {
|
1966
|
-
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionIdPagingPage_1() {
|
1967
|
-
let result;
|
1968
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
1969
|
-
if (!continuationToken) {
|
1970
|
-
result = yield tslib.__await(this._listBySubscriptionId(options));
|
1971
|
-
let page = result.value || [];
|
1972
|
-
continuationToken = result.nextLink;
|
1973
|
-
setContinuationToken(page, continuationToken);
|
1974
|
-
yield yield tslib.__await(page);
|
1975
|
-
}
|
1976
|
-
while (continuationToken) {
|
1977
|
-
result = yield tslib.__await(this._listBySubscriptionIdNext(continuationToken, options));
|
1978
|
-
continuationToken = result.nextLink;
|
1979
|
-
let page = result.value || [];
|
1980
|
-
setContinuationToken(page, continuationToken);
|
1981
|
-
yield yield tslib.__await(page);
|
1982
|
-
}
|
1983
|
-
});
|
1984
|
-
}
|
1985
|
-
listBySubscriptionIdPagingAll(options) {
|
1986
|
-
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionIdPagingAll_1() {
|
1987
|
-
var _a, e_1, _b, _c;
|
1988
|
-
try {
|
1989
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionIdPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
1990
|
-
_c = _f.value;
|
1991
|
-
_d = false;
|
1992
|
-
const page = _c;
|
1993
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
1994
|
-
}
|
1995
|
-
}
|
1996
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
1997
|
-
finally {
|
1998
|
-
try {
|
1999
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
2000
|
-
}
|
2001
|
-
finally { if (e_1) throw e_1.error; }
|
2002
|
-
}
|
2003
|
-
});
|
2004
|
-
}
|
2005
|
-
/**
|
2006
|
-
* Lists the current availability status for all the resources in the resource group.
|
2007
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
2008
|
-
* @param options The options parameters.
|
2009
|
-
*/
|
2010
|
-
listByResourceGroup(resourceGroupName, options) {
|
2011
|
-
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
2012
|
-
return {
|
2013
|
-
next() {
|
2014
|
-
return iter.next();
|
2015
|
-
},
|
2016
|
-
[Symbol.asyncIterator]() {
|
2017
|
-
return this;
|
2018
|
-
},
|
2019
|
-
byPage: (settings) => {
|
2020
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
2021
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
2022
|
-
}
|
2023
|
-
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
2024
|
-
}
|
2025
|
-
};
|
2026
|
-
}
|
2027
|
-
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
2028
|
-
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
2029
|
-
let result;
|
2030
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
2031
|
-
if (!continuationToken) {
|
2032
|
-
result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
|
2033
|
-
let page = result.value || [];
|
2034
|
-
continuationToken = result.nextLink;
|
2035
|
-
setContinuationToken(page, continuationToken);
|
2036
|
-
yield yield tslib.__await(page);
|
2037
|
-
}
|
2038
|
-
while (continuationToken) {
|
2039
|
-
result = yield tslib.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
2040
|
-
continuationToken = result.nextLink;
|
2041
|
-
let page = result.value || [];
|
2042
|
-
setContinuationToken(page, continuationToken);
|
2043
|
-
yield yield tslib.__await(page);
|
2044
|
-
}
|
2045
|
-
});
|
2046
|
-
}
|
2047
|
-
listByResourceGroupPagingAll(resourceGroupName, options) {
|
2048
|
-
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
2049
|
-
var _a, e_2, _b, _c;
|
2050
|
-
try {
|
2051
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
2052
|
-
_c = _f.value;
|
2053
|
-
_d = false;
|
2054
|
-
const page = _c;
|
2055
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
2056
|
-
}
|
2057
|
-
}
|
2058
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
2059
|
-
finally {
|
2060
|
-
try {
|
2061
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
2062
|
-
}
|
2063
|
-
finally { if (e_2) throw e_2.error; }
|
2064
|
-
}
|
2065
|
-
});
|
2066
|
-
}
|
2067
|
-
/**
|
2068
|
-
* Lists all historical availability transitions and impacting events for a single resource.
|
2069
|
-
* @param resourceUri The fully qualified ID of the resource, including the resource name and resource
|
2070
|
-
* type. Currently the API support not nested and one nesting level resource types :
|
2071
|
-
* /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
|
2072
|
-
* and
|
2073
|
-
* /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}
|
2074
|
-
* @param options The options parameters.
|
2075
|
-
*/
|
2076
|
-
list(resourceUri, options) {
|
2077
|
-
const iter = this.listPagingAll(resourceUri, options);
|
2078
|
-
return {
|
2079
|
-
next() {
|
2080
|
-
return iter.next();
|
2081
|
-
},
|
2082
|
-
[Symbol.asyncIterator]() {
|
2083
|
-
return this;
|
2084
|
-
},
|
2085
|
-
byPage: (settings) => {
|
2086
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
2087
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
2088
|
-
}
|
2089
|
-
return this.listPagingPage(resourceUri, options, settings);
|
2090
|
-
}
|
2091
|
-
};
|
2092
|
-
}
|
2093
|
-
listPagingPage(resourceUri, options, settings) {
|
2094
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
2095
|
-
let result;
|
2096
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
2097
|
-
if (!continuationToken) {
|
2098
|
-
result = yield tslib.__await(this._list(resourceUri, options));
|
2099
|
-
let page = result.value || [];
|
2100
|
-
continuationToken = result.nextLink;
|
2101
|
-
setContinuationToken(page, continuationToken);
|
2102
|
-
yield yield tslib.__await(page);
|
2103
|
-
}
|
2104
|
-
while (continuationToken) {
|
2105
|
-
result = yield tslib.__await(this._listNext(resourceUri, continuationToken, options));
|
2106
|
-
continuationToken = result.nextLink;
|
2107
|
-
let page = result.value || [];
|
2108
|
-
setContinuationToken(page, continuationToken);
|
2109
|
-
yield yield tslib.__await(page);
|
2110
|
-
}
|
2111
|
-
});
|
2112
|
-
}
|
2113
|
-
listPagingAll(resourceUri, options) {
|
2114
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
2115
|
-
var _a, e_3, _b, _c;
|
2116
|
-
try {
|
2117
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceUri, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
2118
|
-
_c = _f.value;
|
2119
|
-
_d = false;
|
2120
|
-
const page = _c;
|
2121
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
2122
|
-
}
|
2123
|
-
}
|
2124
|
-
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
2125
|
-
finally {
|
2126
|
-
try {
|
2127
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
2128
|
-
}
|
2129
|
-
finally { if (e_3) throw e_3.error; }
|
2130
|
-
}
|
2131
|
-
});
|
2132
|
-
}
|
2133
|
-
/**
|
2134
|
-
* Lists the current availability status for all the resources in the subscription.
|
2135
|
-
* @param options The options parameters.
|
2136
|
-
*/
|
2137
|
-
_listBySubscriptionId(options) {
|
2138
|
-
return this.client.sendOperationRequest({ options }, listBySubscriptionIdOperationSpec$1);
|
2139
|
-
}
|
2140
|
-
/**
|
2141
|
-
* Lists the current availability status for all the resources in the resource group.
|
2142
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
2143
|
-
* @param options The options parameters.
|
2144
|
-
*/
|
2145
|
-
_listByResourceGroup(resourceGroupName, options) {
|
2146
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
2147
|
-
}
|
2148
|
-
/**
|
2149
|
-
* Gets current availability status for a single resource
|
2150
|
-
* @param resourceUri The fully qualified ID of the resource, including the resource name and resource
|
2151
|
-
* type. Currently the API support not nested and one nesting level resource types :
|
2152
|
-
* /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
|
2153
|
-
* and
|
2154
|
-
* /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}
|
2155
|
-
* @param options The options parameters.
|
2156
|
-
*/
|
2157
|
-
getByResource(resourceUri, options) {
|
2158
|
-
return this.client.sendOperationRequest({ resourceUri, options }, getByResourceOperationSpec$1);
|
2159
|
-
}
|
2160
|
-
/**
|
2161
|
-
* Lists all historical availability transitions and impacting events for a single resource.
|
2162
|
-
* @param resourceUri The fully qualified ID of the resource, including the resource name and resource
|
2163
|
-
* type. Currently the API support not nested and one nesting level resource types :
|
2164
|
-
* /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
|
2165
|
-
* and
|
2166
|
-
* /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}
|
2167
|
-
* @param options The options parameters.
|
2168
|
-
*/
|
2169
|
-
_list(resourceUri, options) {
|
2170
|
-
return this.client.sendOperationRequest({ resourceUri, options }, listOperationSpec$5);
|
2171
|
-
}
|
2172
|
-
/**
|
2173
|
-
* ListBySubscriptionIdNext
|
2174
|
-
* @param nextLink The nextLink from the previous successful call to the ListBySubscriptionId method.
|
2175
|
-
* @param options The options parameters.
|
2176
|
-
*/
|
2177
|
-
_listBySubscriptionIdNext(nextLink, options) {
|
2178
|
-
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionIdNextOperationSpec$1);
|
2179
|
-
}
|
2180
|
-
/**
|
2181
|
-
* ListByResourceGroupNext
|
2182
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
2183
|
-
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
2184
|
-
* @param options The options parameters.
|
2185
|
-
*/
|
2186
|
-
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
2187
|
-
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
2188
|
-
}
|
2189
|
-
/**
|
2190
|
-
* ListNext
|
2191
|
-
* @param resourceUri The fully qualified ID of the resource, including the resource name and resource
|
2192
|
-
* type. Currently the API support not nested and one nesting level resource types :
|
2193
|
-
* /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
|
2194
|
-
* and
|
2195
|
-
* /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}
|
2196
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
2197
|
-
* @param options The options parameters.
|
2198
|
-
*/
|
2199
|
-
_listNext(resourceUri, nextLink, options) {
|
2200
|
-
return this.client.sendOperationRequest({ resourceUri, nextLink, options }, listNextOperationSpec$4);
|
2201
|
-
}
|
2202
|
-
}
|
2203
|
-
// Operation Specifications
|
2204
|
-
const serializer$9 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
2205
|
-
const listBySubscriptionIdOperationSpec$1 = {
|
2206
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/availabilityStatuses",
|
2207
|
-
httpMethod: "GET",
|
2208
|
-
responses: {
|
2209
|
-
200: {
|
2210
|
-
bodyMapper: AvailabilityStatusListResult
|
2211
|
-
},
|
2212
|
-
default: {
|
2213
|
-
bodyMapper: ErrorResponse
|
2214
|
-
}
|
2215
|
-
},
|
2216
|
-
queryParameters: [
|
2217
|
-
apiVersion,
|
2218
|
-
filter,
|
2219
|
-
expand
|
2220
|
-
],
|
2221
|
-
urlParameters: [$host, subscriptionId],
|
2222
|
-
headerParameters: [accept],
|
2223
|
-
serializer: serializer$9
|
2224
|
-
};
|
2225
|
-
const listByResourceGroupOperationSpec = {
|
2226
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceHealth/availabilityStatuses",
|
2227
|
-
httpMethod: "GET",
|
2228
|
-
responses: {
|
2229
|
-
200: {
|
2230
|
-
bodyMapper: AvailabilityStatusListResult
|
2231
|
-
},
|
2232
|
-
default: {
|
2233
|
-
bodyMapper: ErrorResponse
|
2234
|
-
}
|
2235
|
-
},
|
2236
|
-
queryParameters: [
|
2237
|
-
apiVersion,
|
2238
|
-
filter,
|
2239
|
-
expand
|
2240
|
-
],
|
2241
|
-
urlParameters: [
|
2242
|
-
$host,
|
2243
|
-
subscriptionId,
|
2244
|
-
resourceGroupName
|
2245
|
-
],
|
2246
|
-
headerParameters: [accept],
|
2247
|
-
serializer: serializer$9
|
2248
|
-
};
|
2249
|
-
const getByResourceOperationSpec$1 = {
|
2250
|
-
path: "/{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses/current",
|
2251
|
-
httpMethod: "GET",
|
2252
|
-
responses: {
|
2253
|
-
200: {
|
2254
|
-
bodyMapper: AvailabilityStatus
|
2255
|
-
},
|
2256
|
-
default: {
|
2257
|
-
bodyMapper: ErrorResponse
|
2258
|
-
}
|
2259
|
-
},
|
2260
|
-
queryParameters: [
|
2261
|
-
apiVersion,
|
2262
|
-
filter,
|
2263
|
-
expand
|
2264
|
-
],
|
2265
|
-
urlParameters: [$host, resourceUri],
|
2266
|
-
headerParameters: [accept],
|
2267
|
-
serializer: serializer$9
|
2268
|
-
};
|
2269
|
-
const listOperationSpec$5 = {
|
2270
|
-
path: "/{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses",
|
2271
|
-
httpMethod: "GET",
|
2272
|
-
responses: {
|
2273
|
-
200: {
|
2274
|
-
bodyMapper: AvailabilityStatusListResult
|
2275
|
-
},
|
2276
|
-
default: {
|
2277
|
-
bodyMapper: ErrorResponse
|
2278
|
-
}
|
2279
|
-
},
|
2280
|
-
queryParameters: [
|
2281
|
-
apiVersion,
|
2282
|
-
filter,
|
2283
|
-
expand
|
2284
|
-
],
|
2285
|
-
urlParameters: [$host, resourceUri],
|
2286
|
-
headerParameters: [accept],
|
2287
|
-
serializer: serializer$9
|
2288
|
-
};
|
2289
|
-
const listBySubscriptionIdNextOperationSpec$1 = {
|
2290
|
-
path: "{nextLink}",
|
2291
|
-
httpMethod: "GET",
|
2292
|
-
responses: {
|
2293
|
-
200: {
|
2294
|
-
bodyMapper: AvailabilityStatusListResult
|
2295
|
-
},
|
2296
|
-
default: {
|
2297
|
-
bodyMapper: ErrorResponse
|
2298
|
-
}
|
2299
|
-
},
|
2300
|
-
urlParameters: [
|
2301
|
-
$host,
|
2302
|
-
subscriptionId,
|
2303
|
-
nextLink
|
2304
|
-
],
|
2305
|
-
headerParameters: [accept],
|
2306
|
-
serializer: serializer$9
|
2307
|
-
};
|
2308
|
-
const listByResourceGroupNextOperationSpec = {
|
2309
|
-
path: "{nextLink}",
|
2310
|
-
httpMethod: "GET",
|
2311
|
-
responses: {
|
2312
|
-
200: {
|
2313
|
-
bodyMapper: AvailabilityStatusListResult
|
2314
|
-
},
|
2315
|
-
default: {
|
2316
|
-
bodyMapper: ErrorResponse
|
2317
|
-
}
|
2318
|
-
},
|
2319
|
-
urlParameters: [
|
2320
|
-
$host,
|
2321
|
-
subscriptionId,
|
2322
|
-
resourceGroupName,
|
2323
|
-
nextLink
|
2324
|
-
],
|
2325
|
-
headerParameters: [accept],
|
2326
|
-
serializer: serializer$9
|
2327
|
-
};
|
2328
|
-
const listNextOperationSpec$4 = {
|
2329
|
-
path: "{nextLink}",
|
2330
|
-
httpMethod: "GET",
|
2331
|
-
responses: {
|
2332
|
-
200: {
|
2333
|
-
bodyMapper: AvailabilityStatusListResult
|
2334
|
-
},
|
2335
|
-
default: {
|
2336
|
-
bodyMapper: ErrorResponse
|
2337
|
-
}
|
2338
|
-
},
|
2339
|
-
urlParameters: [
|
2340
|
-
$host,
|
2341
|
-
resourceUri,
|
2342
|
-
nextLink
|
2343
|
-
],
|
2344
|
-
headerParameters: [accept],
|
2345
|
-
serializer: serializer$9
|
2346
|
-
};
|
2347
|
-
|
2348
|
-
/*
|
2349
|
-
* Copyright (c) Microsoft Corporation.
|
2350
|
-
* Licensed under the MIT License.
|
2351
|
-
*
|
2352
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
2353
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
2354
|
-
*/
|
2355
|
-
/** Class containing Operations operations. */
|
2356
|
-
class OperationsImpl {
|
2357
|
-
/**
|
2358
|
-
* Initialize a new instance of the class Operations class.
|
2359
|
-
* @param client Reference to the service client
|
2360
|
-
*/
|
2361
|
-
constructor(client) {
|
2362
|
-
this.client = client;
|
2363
|
-
}
|
2364
|
-
/**
|
2365
|
-
* Lists available operations for the resourcehealth resource provider
|
2366
|
-
* @param options The options parameters.
|
2367
|
-
*/
|
2368
|
-
list(options) {
|
2369
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$4);
|
2370
|
-
}
|
2371
|
-
}
|
2372
|
-
// Operation Specifications
|
2373
|
-
const serializer$8 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
2374
|
-
const listOperationSpec$4 = {
|
2375
|
-
path: "/providers/Microsoft.ResourceHealth/operations",
|
2376
|
-
httpMethod: "GET",
|
2377
|
-
responses: {
|
2378
|
-
200: {
|
2379
|
-
bodyMapper: OperationListResult
|
2380
|
-
},
|
2381
|
-
default: {
|
2382
|
-
bodyMapper: ErrorResponse
|
2383
|
-
}
|
2384
|
-
},
|
2385
|
-
queryParameters: [apiVersion],
|
2386
|
-
urlParameters: [$host],
|
2387
|
-
headerParameters: [accept],
|
2388
|
-
serializer: serializer$8
|
2389
|
-
};
|
2390
|
-
|
2391
|
-
/*
|
2392
|
-
* Copyright (c) Microsoft Corporation.
|
2393
|
-
* Licensed under the MIT License.
|
2394
|
-
*
|
2395
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
2396
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
2397
|
-
*/
|
2398
|
-
/// <reference lib="esnext.asynciterable" />
|
2399
|
-
/** Class containing Metadata operations. */
|
2400
|
-
class MetadataImpl {
|
2401
|
-
/**
|
2402
|
-
* Initialize a new instance of the class Metadata class.
|
2403
|
-
* @param client Reference to the service client
|
2404
|
-
*/
|
2405
|
-
constructor(client) {
|
2406
|
-
this.client = client;
|
2407
|
-
}
|
2408
|
-
/**
|
2409
|
-
* Gets the list of metadata entities.
|
2410
|
-
* @param options The options parameters.
|
2411
|
-
*/
|
2412
|
-
list(options) {
|
2413
|
-
const iter = this.listPagingAll(options);
|
2414
|
-
return {
|
2415
|
-
next() {
|
2416
|
-
return iter.next();
|
2417
|
-
},
|
2418
|
-
[Symbol.asyncIterator]() {
|
2419
|
-
return this;
|
2420
|
-
},
|
2421
|
-
byPage: (settings) => {
|
2422
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
2423
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
2424
|
-
}
|
2425
|
-
return this.listPagingPage(options, settings);
|
2426
|
-
}
|
2427
|
-
};
|
2428
|
-
}
|
2429
|
-
listPagingPage(options, settings) {
|
2430
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
2431
|
-
let result;
|
2432
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
2433
|
-
if (!continuationToken) {
|
2434
|
-
result = yield tslib.__await(this._list(options));
|
2435
|
-
let page = result.value || [];
|
2436
|
-
continuationToken = result.nextLink;
|
2437
|
-
setContinuationToken(page, continuationToken);
|
2438
|
-
yield yield tslib.__await(page);
|
2439
|
-
}
|
2440
|
-
while (continuationToken) {
|
2441
|
-
result = yield tslib.__await(this._listNext(continuationToken, options));
|
2442
|
-
continuationToken = result.nextLink;
|
2443
|
-
let page = result.value || [];
|
2444
|
-
setContinuationToken(page, continuationToken);
|
2445
|
-
yield yield tslib.__await(page);
|
2446
|
-
}
|
2447
|
-
});
|
2448
|
-
}
|
2449
|
-
listPagingAll(options) {
|
2450
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
2451
|
-
var _a, e_1, _b, _c;
|
2452
|
-
try {
|
2453
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
2454
|
-
_c = _f.value;
|
2455
|
-
_d = false;
|
2456
|
-
const page = _c;
|
2457
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
2458
|
-
}
|
2459
|
-
}
|
2460
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
2461
|
-
finally {
|
2462
|
-
try {
|
2463
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
2464
|
-
}
|
2465
|
-
finally { if (e_1) throw e_1.error; }
|
2466
|
-
}
|
2467
|
-
});
|
2468
|
-
}
|
2469
|
-
/**
|
2470
|
-
* Gets the list of metadata entities.
|
2471
|
-
* @param options The options parameters.
|
2472
|
-
*/
|
2473
|
-
_list(options) {
|
2474
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$3);
|
2475
|
-
}
|
2476
|
-
/**
|
2477
|
-
* Gets the list of metadata entities.
|
2478
|
-
* @param name Name of metadata entity.
|
2479
|
-
* @param options The options parameters.
|
2480
|
-
*/
|
2481
|
-
getEntity(name, options) {
|
2482
|
-
return this.client.sendOperationRequest({ name, options }, getEntityOperationSpec);
|
2483
|
-
}
|
2484
|
-
/**
|
2485
|
-
* ListNext
|
2486
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
2487
|
-
* @param options The options parameters.
|
2488
|
-
*/
|
2489
|
-
_listNext(nextLink, options) {
|
2490
|
-
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$3);
|
2491
|
-
}
|
2492
|
-
}
|
2493
|
-
// Operation Specifications
|
2494
|
-
const serializer$7 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
2495
|
-
const listOperationSpec$3 = {
|
2496
|
-
path: "/providers/Microsoft.ResourceHealth/metadata",
|
2497
|
-
httpMethod: "GET",
|
2498
|
-
responses: {
|
2499
|
-
200: {
|
2500
|
-
bodyMapper: MetadataEntityListResult
|
2501
|
-
},
|
2502
|
-
default: {
|
2503
|
-
bodyMapper: ErrorResponse
|
2504
|
-
}
|
2505
|
-
},
|
2506
|
-
queryParameters: [apiVersion],
|
2507
|
-
urlParameters: [$host],
|
2508
|
-
headerParameters: [accept],
|
2509
|
-
serializer: serializer$7
|
2510
|
-
};
|
2511
|
-
const getEntityOperationSpec = {
|
2512
|
-
path: "/providers/Microsoft.ResourceHealth/metadata/{name}",
|
2513
|
-
httpMethod: "GET",
|
2514
|
-
responses: {
|
2515
|
-
200: {
|
2516
|
-
bodyMapper: MetadataEntity
|
2517
|
-
},
|
2518
|
-
default: {
|
2519
|
-
bodyMapper: ErrorResponse
|
2520
|
-
}
|
2521
|
-
},
|
2522
|
-
queryParameters: [apiVersion],
|
2523
|
-
urlParameters: [$host, name],
|
2524
|
-
headerParameters: [accept],
|
2525
|
-
serializer: serializer$7
|
2526
|
-
};
|
2527
|
-
const listNextOperationSpec$3 = {
|
2528
|
-
path: "{nextLink}",
|
2529
|
-
httpMethod: "GET",
|
2530
|
-
responses: {
|
2531
|
-
200: {
|
2532
|
-
bodyMapper: MetadataEntityListResult
|
2533
|
-
},
|
2534
|
-
default: {
|
2535
|
-
bodyMapper: ErrorResponse
|
2536
|
-
}
|
2537
|
-
},
|
2538
|
-
urlParameters: [$host, nextLink],
|
2539
|
-
headerParameters: [accept],
|
2540
|
-
serializer: serializer$7
|
2541
|
-
};
|
2542
|
-
|
2543
|
-
/*
|
2544
|
-
* Copyright (c) Microsoft Corporation.
|
2545
|
-
* Licensed under the MIT License.
|
2546
|
-
*
|
2547
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
2548
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
2549
|
-
*/
|
2550
|
-
/// <reference lib="esnext.asynciterable" />
|
2551
|
-
/** Class containing ImpactedResources operations. */
|
2552
|
-
class ImpactedResourcesImpl {
|
2553
|
-
/**
|
2554
|
-
* Initialize a new instance of the class ImpactedResources class.
|
2555
|
-
* @param client Reference to the service client
|
2556
|
-
*/
|
2557
|
-
constructor(client) {
|
2558
|
-
this.client = client;
|
2559
|
-
}
|
2560
|
-
/**
|
2561
|
-
* Lists impacted resources in the subscription by an event.
|
2562
|
-
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
2563
|
-
* @param options The options parameters.
|
2564
|
-
*/
|
2565
|
-
listBySubscriptionIdAndEventId(eventTrackingId, options) {
|
2566
|
-
const iter = this.listBySubscriptionIdAndEventIdPagingAll(eventTrackingId, options);
|
2567
|
-
return {
|
2568
|
-
next() {
|
2569
|
-
return iter.next();
|
2570
|
-
},
|
2571
|
-
[Symbol.asyncIterator]() {
|
2572
|
-
return this;
|
2573
|
-
},
|
2574
|
-
byPage: (settings) => {
|
2575
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
2576
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
2577
|
-
}
|
2578
|
-
return this.listBySubscriptionIdAndEventIdPagingPage(eventTrackingId, options, settings);
|
2579
|
-
}
|
2580
|
-
};
|
2581
|
-
}
|
2582
|
-
listBySubscriptionIdAndEventIdPagingPage(eventTrackingId, options, settings) {
|
2583
|
-
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionIdAndEventIdPagingPage_1() {
|
2584
|
-
let result;
|
2585
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
2586
|
-
if (!continuationToken) {
|
2587
|
-
result = yield tslib.__await(this._listBySubscriptionIdAndEventId(eventTrackingId, options));
|
2588
|
-
let page = result.value || [];
|
2589
|
-
continuationToken = result.nextLink;
|
2590
|
-
setContinuationToken(page, continuationToken);
|
2591
|
-
yield yield tslib.__await(page);
|
2592
|
-
}
|
2593
|
-
while (continuationToken) {
|
2594
|
-
result = yield tslib.__await(this._listBySubscriptionIdAndEventIdNext(eventTrackingId, continuationToken, options));
|
2595
|
-
continuationToken = result.nextLink;
|
2596
|
-
let page = result.value || [];
|
2597
|
-
setContinuationToken(page, continuationToken);
|
2598
|
-
yield yield tslib.__await(page);
|
2599
|
-
}
|
2600
|
-
});
|
2601
|
-
}
|
2602
|
-
listBySubscriptionIdAndEventIdPagingAll(eventTrackingId, options) {
|
2603
|
-
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionIdAndEventIdPagingAll_1() {
|
2604
|
-
var _a, e_1, _b, _c;
|
2605
|
-
try {
|
2606
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionIdAndEventIdPagingPage(eventTrackingId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
2607
|
-
_c = _f.value;
|
2608
|
-
_d = false;
|
2609
|
-
const page = _c;
|
2610
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
2611
|
-
}
|
2612
|
-
}
|
2613
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
2614
|
-
finally {
|
2615
|
-
try {
|
2616
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
2617
|
-
}
|
2618
|
-
finally { if (e_1) throw e_1.error; }
|
2619
|
-
}
|
2620
|
-
});
|
2621
|
-
}
|
2622
|
-
/**
|
2623
|
-
* Lists impacted resources in the tenant by an event.
|
2624
|
-
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
2625
|
-
* @param options The options parameters.
|
2626
|
-
*/
|
2627
|
-
listByTenantIdAndEventId(eventTrackingId, options) {
|
2628
|
-
const iter = this.listByTenantIdAndEventIdPagingAll(eventTrackingId, options);
|
2629
|
-
return {
|
2630
|
-
next() {
|
2631
|
-
return iter.next();
|
2632
|
-
},
|
2633
|
-
[Symbol.asyncIterator]() {
|
2634
|
-
return this;
|
2635
|
-
},
|
2636
|
-
byPage: (settings) => {
|
2637
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
2638
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
2639
|
-
}
|
2640
|
-
return this.listByTenantIdAndEventIdPagingPage(eventTrackingId, options, settings);
|
2641
|
-
}
|
2642
|
-
};
|
2643
|
-
}
|
2644
|
-
listByTenantIdAndEventIdPagingPage(eventTrackingId, options, settings) {
|
2645
|
-
return tslib.__asyncGenerator(this, arguments, function* listByTenantIdAndEventIdPagingPage_1() {
|
2646
|
-
let result;
|
2647
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
2648
|
-
if (!continuationToken) {
|
2649
|
-
result = yield tslib.__await(this._listByTenantIdAndEventId(eventTrackingId, options));
|
2650
|
-
let page = result.value || [];
|
2651
|
-
continuationToken = result.nextLink;
|
2652
|
-
setContinuationToken(page, continuationToken);
|
2653
|
-
yield yield tslib.__await(page);
|
2654
|
-
}
|
2655
|
-
while (continuationToken) {
|
2656
|
-
result = yield tslib.__await(this._listByTenantIdAndEventIdNext(eventTrackingId, continuationToken, options));
|
2657
|
-
continuationToken = result.nextLink;
|
2658
|
-
let page = result.value || [];
|
2659
|
-
setContinuationToken(page, continuationToken);
|
2660
|
-
yield yield tslib.__await(page);
|
2661
|
-
}
|
2662
|
-
});
|
2663
|
-
}
|
2664
|
-
listByTenantIdAndEventIdPagingAll(eventTrackingId, options) {
|
2665
|
-
return tslib.__asyncGenerator(this, arguments, function* listByTenantIdAndEventIdPagingAll_1() {
|
2666
|
-
var _a, e_2, _b, _c;
|
2667
|
-
try {
|
2668
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listByTenantIdAndEventIdPagingPage(eventTrackingId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
2669
|
-
_c = _f.value;
|
2670
|
-
_d = false;
|
2671
|
-
const page = _c;
|
2672
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
2673
|
-
}
|
2674
|
-
}
|
2675
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
2676
|
-
finally {
|
2677
|
-
try {
|
2678
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
2679
|
-
}
|
2680
|
-
finally { if (e_2) throw e_2.error; }
|
2681
|
-
}
|
2682
|
-
});
|
2683
|
-
}
|
2684
|
-
/**
|
2685
|
-
* Lists impacted resources in the subscription by an event.
|
2686
|
-
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
2687
|
-
* @param options The options parameters.
|
2688
|
-
*/
|
2689
|
-
_listBySubscriptionIdAndEventId(eventTrackingId, options) {
|
2690
|
-
return this.client.sendOperationRequest({ eventTrackingId, options }, listBySubscriptionIdAndEventIdOperationSpec$1);
|
2691
|
-
}
|
2692
|
-
/**
|
2693
|
-
* Gets the specific impacted resource in the subscription by an event.
|
2694
|
-
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
2695
|
-
* @param impactedResourceName Name of the Impacted Resource.
|
2696
|
-
* @param options The options parameters.
|
2697
|
-
*/
|
2698
|
-
get(eventTrackingId, impactedResourceName, options) {
|
2699
|
-
return this.client.sendOperationRequest({ eventTrackingId, impactedResourceName, options }, getOperationSpec$1);
|
2700
|
-
}
|
2701
|
-
/**
|
2702
|
-
* Lists impacted resources in the tenant by an event.
|
2703
|
-
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
2704
|
-
* @param options The options parameters.
|
2705
|
-
*/
|
2706
|
-
_listByTenantIdAndEventId(eventTrackingId, options) {
|
2707
|
-
return this.client.sendOperationRequest({ eventTrackingId, options }, listByTenantIdAndEventIdOperationSpec$1);
|
2708
|
-
}
|
2709
|
-
/**
|
2710
|
-
* Gets the specific impacted resource in the tenant by an event.
|
2711
|
-
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
2712
|
-
* @param impactedResourceName Name of the Impacted Resource.
|
2713
|
-
* @param options The options parameters.
|
2714
|
-
*/
|
2715
|
-
getByTenantId(eventTrackingId, impactedResourceName, options) {
|
2716
|
-
return this.client.sendOperationRequest({ eventTrackingId, impactedResourceName, options }, getByTenantIdOperationSpec);
|
2717
|
-
}
|
2718
|
-
/**
|
2719
|
-
* ListBySubscriptionIdAndEventIdNext
|
2720
|
-
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
2721
|
-
* @param nextLink The nextLink from the previous successful call to the ListBySubscriptionIdAndEventId
|
2722
|
-
* method.
|
2723
|
-
* @param options The options parameters.
|
2724
|
-
*/
|
2725
|
-
_listBySubscriptionIdAndEventIdNext(eventTrackingId, nextLink, options) {
|
2726
|
-
return this.client.sendOperationRequest({ eventTrackingId, nextLink, options }, listBySubscriptionIdAndEventIdNextOperationSpec$1);
|
2727
|
-
}
|
2728
|
-
/**
|
2729
|
-
* ListByTenantIdAndEventIdNext
|
2730
|
-
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
2731
|
-
* @param nextLink The nextLink from the previous successful call to the ListByTenantIdAndEventId
|
2732
|
-
* method.
|
2733
|
-
* @param options The options parameters.
|
2734
|
-
*/
|
2735
|
-
_listByTenantIdAndEventIdNext(eventTrackingId, nextLink, options) {
|
2736
|
-
return this.client.sendOperationRequest({ eventTrackingId, nextLink, options }, listByTenantIdAndEventIdNextOperationSpec$1);
|
2737
|
-
}
|
2738
|
-
}
|
2739
|
-
// Operation Specifications
|
2740
|
-
const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
2741
|
-
const listBySubscriptionIdAndEventIdOperationSpec$1 = {
|
2742
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources",
|
2743
|
-
httpMethod: "GET",
|
2744
|
-
responses: {
|
2745
|
-
200: {
|
2746
|
-
bodyMapper: EventImpactedResourceListResult
|
2747
|
-
},
|
2748
|
-
default: {
|
2749
|
-
bodyMapper: ErrorResponse
|
2750
|
-
}
|
2751
|
-
},
|
2752
|
-
queryParameters: [apiVersion, filter],
|
2753
|
-
urlParameters: [
|
2754
|
-
$host,
|
2755
|
-
subscriptionId,
|
2756
|
-
eventTrackingId
|
2757
|
-
],
|
2758
|
-
headerParameters: [accept],
|
2759
|
-
serializer: serializer$6
|
2760
|
-
};
|
2761
|
-
const getOperationSpec$1 = {
|
2762
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources/{impactedResourceName}",
|
2763
|
-
httpMethod: "GET",
|
2764
|
-
responses: {
|
2765
|
-
200: {
|
2766
|
-
bodyMapper: EventImpactedResource
|
2767
|
-
},
|
2768
|
-
default: {
|
2769
|
-
bodyMapper: ErrorResponse
|
2770
|
-
}
|
2771
|
-
},
|
2772
|
-
queryParameters: [apiVersion],
|
2773
|
-
urlParameters: [
|
2774
|
-
$host,
|
2775
|
-
subscriptionId,
|
2776
|
-
eventTrackingId,
|
2777
|
-
impactedResourceName
|
2778
|
-
],
|
2779
|
-
headerParameters: [accept],
|
2780
|
-
serializer: serializer$6
|
2781
|
-
};
|
2782
|
-
const listByTenantIdAndEventIdOperationSpec$1 = {
|
2783
|
-
path: "/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources",
|
2784
|
-
httpMethod: "GET",
|
2785
|
-
responses: {
|
2786
|
-
200: {
|
2787
|
-
bodyMapper: EventImpactedResourceListResult
|
2788
|
-
},
|
2789
|
-
default: {
|
2790
|
-
bodyMapper: ErrorResponse
|
2791
|
-
}
|
2792
|
-
},
|
2793
|
-
queryParameters: [apiVersion, filter],
|
2794
|
-
urlParameters: [$host, eventTrackingId],
|
2795
|
-
headerParameters: [accept],
|
2796
|
-
serializer: serializer$6
|
2797
|
-
};
|
2798
|
-
const getByTenantIdOperationSpec = {
|
2799
|
-
path: "/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources/{impactedResourceName}",
|
2800
|
-
httpMethod: "GET",
|
2801
|
-
responses: {
|
2802
|
-
200: {
|
2803
|
-
bodyMapper: EventImpactedResource
|
2804
|
-
},
|
2805
|
-
default: {
|
2806
|
-
bodyMapper: ErrorResponse
|
2807
|
-
}
|
2808
|
-
},
|
2809
|
-
queryParameters: [apiVersion],
|
2810
|
-
urlParameters: [
|
2811
|
-
$host,
|
2812
|
-
eventTrackingId,
|
2813
|
-
impactedResourceName
|
2814
|
-
],
|
2815
|
-
headerParameters: [accept],
|
2816
|
-
serializer: serializer$6
|
2817
|
-
};
|
2818
|
-
const listBySubscriptionIdAndEventIdNextOperationSpec$1 = {
|
2819
|
-
path: "{nextLink}",
|
2820
|
-
httpMethod: "GET",
|
2821
|
-
responses: {
|
2822
|
-
200: {
|
2823
|
-
bodyMapper: EventImpactedResourceListResult
|
2824
|
-
},
|
2825
|
-
default: {
|
2826
|
-
bodyMapper: ErrorResponse
|
2827
|
-
}
|
2828
|
-
},
|
2829
|
-
urlParameters: [
|
2830
|
-
$host,
|
2831
|
-
subscriptionId,
|
2832
|
-
nextLink,
|
2833
|
-
eventTrackingId
|
2834
|
-
],
|
2835
|
-
headerParameters: [accept],
|
2836
|
-
serializer: serializer$6
|
2837
|
-
};
|
2838
|
-
const listByTenantIdAndEventIdNextOperationSpec$1 = {
|
2839
|
-
path: "{nextLink}",
|
2840
|
-
httpMethod: "GET",
|
2841
|
-
responses: {
|
2842
|
-
200: {
|
2843
|
-
bodyMapper: EventImpactedResourceListResult
|
2844
|
-
},
|
2845
|
-
default: {
|
2846
|
-
bodyMapper: ErrorResponse
|
2847
|
-
}
|
2848
|
-
},
|
2849
|
-
urlParameters: [
|
2850
|
-
$host,
|
2851
|
-
nextLink,
|
2852
|
-
eventTrackingId
|
2853
|
-
],
|
2854
|
-
headerParameters: [accept],
|
2855
|
-
serializer: serializer$6
|
2856
|
-
};
|
2857
|
-
|
2858
|
-
/*
|
2859
|
-
* Copyright (c) Microsoft Corporation.
|
2860
|
-
* Licensed under the MIT License.
|
2861
|
-
*
|
2862
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
2863
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
2864
|
-
*/
|
2865
|
-
/// <reference lib="esnext.asynciterable" />
|
2866
|
-
/** Class containing SecurityAdvisoryImpactedResources operations. */
|
2867
|
-
class SecurityAdvisoryImpactedResourcesImpl {
|
2868
|
-
/**
|
2869
|
-
* Initialize a new instance of the class SecurityAdvisoryImpactedResources class.
|
2870
|
-
* @param client Reference to the service client
|
2871
|
-
*/
|
2872
|
-
constructor(client) {
|
2873
|
-
this.client = client;
|
2874
|
-
}
|
2875
|
-
/**
|
2876
|
-
* Lists impacted resources in the subscription by an event (Security Advisory).
|
2877
|
-
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
2878
|
-
* @param options The options parameters.
|
2879
|
-
*/
|
2880
|
-
listBySubscriptionIdAndEventId(eventTrackingId, options) {
|
2881
|
-
const iter = this.listBySubscriptionIdAndEventIdPagingAll(eventTrackingId, options);
|
2882
|
-
return {
|
2883
|
-
next() {
|
2884
|
-
return iter.next();
|
2885
|
-
},
|
2886
|
-
[Symbol.asyncIterator]() {
|
2887
|
-
return this;
|
2888
|
-
},
|
2889
|
-
byPage: (settings) => {
|
2890
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
2891
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
2892
|
-
}
|
2893
|
-
return this.listBySubscriptionIdAndEventIdPagingPage(eventTrackingId, options, settings);
|
2894
|
-
}
|
2895
|
-
};
|
2896
|
-
}
|
2897
|
-
listBySubscriptionIdAndEventIdPagingPage(eventTrackingId, options, settings) {
|
2898
|
-
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionIdAndEventIdPagingPage_1() {
|
2899
|
-
let result;
|
2900
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
2901
|
-
if (!continuationToken) {
|
2902
|
-
result = yield tslib.__await(this._listBySubscriptionIdAndEventId(eventTrackingId, options));
|
2903
|
-
let page = result.value || [];
|
2904
|
-
continuationToken = result.nextLink;
|
2905
|
-
setContinuationToken(page, continuationToken);
|
2906
|
-
yield yield tslib.__await(page);
|
2907
|
-
}
|
2908
|
-
while (continuationToken) {
|
2909
|
-
result = yield tslib.__await(this._listBySubscriptionIdAndEventIdNext(eventTrackingId, continuationToken, options));
|
2910
|
-
continuationToken = result.nextLink;
|
2911
|
-
let page = result.value || [];
|
2912
|
-
setContinuationToken(page, continuationToken);
|
2913
|
-
yield yield tslib.__await(page);
|
2914
|
-
}
|
2915
|
-
});
|
2916
|
-
}
|
2917
|
-
listBySubscriptionIdAndEventIdPagingAll(eventTrackingId, options) {
|
2918
|
-
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionIdAndEventIdPagingAll_1() {
|
2919
|
-
var _a, e_1, _b, _c;
|
2920
|
-
try {
|
2921
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionIdAndEventIdPagingPage(eventTrackingId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
2922
|
-
_c = _f.value;
|
2923
|
-
_d = false;
|
2924
|
-
const page = _c;
|
2925
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
2926
|
-
}
|
2927
|
-
}
|
2928
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
2929
|
-
finally {
|
2930
|
-
try {
|
2931
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
2932
|
-
}
|
2933
|
-
finally { if (e_1) throw e_1.error; }
|
2934
|
-
}
|
2935
|
-
});
|
2936
|
-
}
|
2937
|
-
/**
|
2938
|
-
* Lists impacted resources in the tenant by an event (Security Advisory).
|
2939
|
-
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
2940
|
-
* @param options The options parameters.
|
2941
|
-
*/
|
2942
|
-
listByTenantIdAndEventId(eventTrackingId, options) {
|
2943
|
-
const iter = this.listByTenantIdAndEventIdPagingAll(eventTrackingId, options);
|
2944
|
-
return {
|
2945
|
-
next() {
|
2946
|
-
return iter.next();
|
2947
|
-
},
|
2948
|
-
[Symbol.asyncIterator]() {
|
2949
|
-
return this;
|
2950
|
-
},
|
2951
|
-
byPage: (settings) => {
|
2952
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
2953
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
2954
|
-
}
|
2955
|
-
return this.listByTenantIdAndEventIdPagingPage(eventTrackingId, options, settings);
|
2956
|
-
}
|
2957
|
-
};
|
2958
|
-
}
|
2959
|
-
listByTenantIdAndEventIdPagingPage(eventTrackingId, options, settings) {
|
2960
|
-
return tslib.__asyncGenerator(this, arguments, function* listByTenantIdAndEventIdPagingPage_1() {
|
2961
|
-
let result;
|
2962
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
2963
|
-
if (!continuationToken) {
|
2964
|
-
result = yield tslib.__await(this._listByTenantIdAndEventId(eventTrackingId, options));
|
2965
|
-
let page = result.value || [];
|
2966
|
-
continuationToken = result.nextLink;
|
2967
|
-
setContinuationToken(page, continuationToken);
|
2968
|
-
yield yield tslib.__await(page);
|
2969
|
-
}
|
2970
|
-
while (continuationToken) {
|
2971
|
-
result = yield tslib.__await(this._listByTenantIdAndEventIdNext(eventTrackingId, continuationToken, options));
|
2972
|
-
continuationToken = result.nextLink;
|
2973
|
-
let page = result.value || [];
|
2974
|
-
setContinuationToken(page, continuationToken);
|
2975
|
-
yield yield tslib.__await(page);
|
2976
|
-
}
|
2977
|
-
});
|
2978
|
-
}
|
2979
|
-
listByTenantIdAndEventIdPagingAll(eventTrackingId, options) {
|
2980
|
-
return tslib.__asyncGenerator(this, arguments, function* listByTenantIdAndEventIdPagingAll_1() {
|
2981
|
-
var _a, e_2, _b, _c;
|
2982
|
-
try {
|
2983
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listByTenantIdAndEventIdPagingPage(eventTrackingId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
2984
|
-
_c = _f.value;
|
2985
|
-
_d = false;
|
2986
|
-
const page = _c;
|
2987
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
2988
|
-
}
|
2989
|
-
}
|
2990
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
2991
|
-
finally {
|
2992
|
-
try {
|
2993
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
2994
|
-
}
|
2995
|
-
finally { if (e_2) throw e_2.error; }
|
2996
|
-
}
|
2997
|
-
});
|
2998
|
-
}
|
2999
|
-
/**
|
3000
|
-
* Lists impacted resources in the subscription by an event (Security Advisory).
|
3001
|
-
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
3002
|
-
* @param options The options parameters.
|
3003
|
-
*/
|
3004
|
-
_listBySubscriptionIdAndEventId(eventTrackingId, options) {
|
3005
|
-
return this.client.sendOperationRequest({ eventTrackingId, options }, listBySubscriptionIdAndEventIdOperationSpec);
|
3006
|
-
}
|
3007
|
-
/**
|
3008
|
-
* Lists impacted resources in the tenant by an event (Security Advisory).
|
3009
|
-
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
3010
|
-
* @param options The options parameters.
|
3011
|
-
*/
|
3012
|
-
_listByTenantIdAndEventId(eventTrackingId, options) {
|
3013
|
-
return this.client.sendOperationRequest({ eventTrackingId, options }, listByTenantIdAndEventIdOperationSpec);
|
3014
|
-
}
|
3015
|
-
/**
|
3016
|
-
* ListBySubscriptionIdAndEventIdNext
|
3017
|
-
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
3018
|
-
* @param nextLink The nextLink from the previous successful call to the ListBySubscriptionIdAndEventId
|
3019
|
-
* method.
|
3020
|
-
* @param options The options parameters.
|
3021
|
-
*/
|
3022
|
-
_listBySubscriptionIdAndEventIdNext(eventTrackingId, nextLink, options) {
|
3023
|
-
return this.client.sendOperationRequest({ eventTrackingId, nextLink, options }, listBySubscriptionIdAndEventIdNextOperationSpec);
|
3024
|
-
}
|
3025
|
-
/**
|
3026
|
-
* ListByTenantIdAndEventIdNext
|
3027
|
-
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
3028
|
-
* @param nextLink The nextLink from the previous successful call to the ListByTenantIdAndEventId
|
3029
|
-
* method.
|
3030
|
-
* @param options The options parameters.
|
3031
|
-
*/
|
3032
|
-
_listByTenantIdAndEventIdNext(eventTrackingId, nextLink, options) {
|
3033
|
-
return this.client.sendOperationRequest({ eventTrackingId, nextLink, options }, listByTenantIdAndEventIdNextOperationSpec);
|
3034
|
-
}
|
3035
|
-
}
|
3036
|
-
// Operation Specifications
|
3037
|
-
const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
3038
|
-
const listBySubscriptionIdAndEventIdOperationSpec = {
|
3039
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/listSecurityAdvisoryImpactedResources",
|
3040
|
-
httpMethod: "POST",
|
3041
|
-
responses: {
|
3042
|
-
200: {
|
3043
|
-
bodyMapper: EventImpactedResourceListResult
|
3044
|
-
},
|
3045
|
-
default: {
|
3046
|
-
bodyMapper: ErrorResponse
|
3047
|
-
}
|
3048
|
-
},
|
3049
|
-
queryParameters: [apiVersion, filter],
|
3050
|
-
urlParameters: [
|
3051
|
-
$host,
|
3052
|
-
subscriptionId,
|
3053
|
-
eventTrackingId
|
3054
|
-
],
|
3055
|
-
headerParameters: [accept],
|
3056
|
-
serializer: serializer$5
|
3057
|
-
};
|
3058
|
-
const listByTenantIdAndEventIdOperationSpec = {
|
3059
|
-
path: "/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/listSecurityAdvisoryImpactedResources",
|
3060
|
-
httpMethod: "POST",
|
3061
|
-
responses: {
|
3062
|
-
200: {
|
3063
|
-
bodyMapper: EventImpactedResourceListResult
|
3064
|
-
},
|
3065
|
-
default: {
|
3066
|
-
bodyMapper: ErrorResponse
|
3067
|
-
}
|
3068
|
-
},
|
3069
|
-
queryParameters: [apiVersion, filter],
|
3070
|
-
urlParameters: [$host, eventTrackingId],
|
3071
|
-
headerParameters: [accept],
|
3072
|
-
serializer: serializer$5
|
3073
|
-
};
|
3074
|
-
const listBySubscriptionIdAndEventIdNextOperationSpec = {
|
3075
|
-
path: "{nextLink}",
|
3076
|
-
httpMethod: "GET",
|
3077
|
-
responses: {
|
3078
|
-
200: {
|
3079
|
-
bodyMapper: EventImpactedResourceListResult
|
3080
|
-
},
|
3081
|
-
default: {
|
3082
|
-
bodyMapper: ErrorResponse
|
3083
|
-
}
|
3084
|
-
},
|
3085
|
-
urlParameters: [
|
3086
|
-
$host,
|
3087
|
-
subscriptionId,
|
3088
|
-
nextLink,
|
3089
|
-
eventTrackingId
|
3090
|
-
],
|
3091
|
-
headerParameters: [accept],
|
3092
|
-
serializer: serializer$5
|
3093
|
-
};
|
3094
|
-
const listByTenantIdAndEventIdNextOperationSpec = {
|
3095
|
-
path: "{nextLink}",
|
3096
|
-
httpMethod: "GET",
|
3097
|
-
responses: {
|
3098
|
-
200: {
|
3099
|
-
bodyMapper: EventImpactedResourceListResult
|
3100
|
-
},
|
3101
|
-
default: {
|
3102
|
-
bodyMapper: ErrorResponse
|
3103
|
-
}
|
3104
|
-
},
|
3105
|
-
urlParameters: [
|
3106
|
-
$host,
|
3107
|
-
nextLink,
|
3108
|
-
eventTrackingId
|
3109
|
-
],
|
3110
|
-
headerParameters: [accept],
|
3111
|
-
serializer: serializer$5
|
3112
|
-
};
|
3113
|
-
|
3114
|
-
/*
|
3115
|
-
* Copyright (c) Microsoft Corporation.
|
3116
|
-
* Licensed under the MIT License.
|
3117
|
-
*
|
3118
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
3119
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
3120
|
-
*/
|
3121
|
-
/// <reference lib="esnext.asynciterable" />
|
3122
|
-
/** Class containing EventsOperations operations. */
|
3123
|
-
class EventsOperationsImpl {
|
3124
|
-
/**
|
3125
|
-
* Initialize a new instance of the class EventsOperations class.
|
3126
|
-
* @param client Reference to the service client
|
3127
|
-
*/
|
3128
|
-
constructor(client) {
|
3129
|
-
this.client = client;
|
3130
|
-
}
|
3131
|
-
/**
|
3132
|
-
* Lists service health events in the subscription.
|
3133
|
-
* @param options The options parameters.
|
3134
|
-
*/
|
3135
|
-
listBySubscriptionId(options) {
|
3136
|
-
const iter = this.listBySubscriptionIdPagingAll(options);
|
3137
|
-
return {
|
3138
|
-
next() {
|
3139
|
-
return iter.next();
|
3140
|
-
},
|
3141
|
-
[Symbol.asyncIterator]() {
|
3142
|
-
return this;
|
3143
|
-
},
|
3144
|
-
byPage: (settings) => {
|
3145
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
3146
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
3147
|
-
}
|
3148
|
-
return this.listBySubscriptionIdPagingPage(options, settings);
|
3149
|
-
}
|
3150
|
-
};
|
3151
|
-
}
|
3152
|
-
listBySubscriptionIdPagingPage(options, settings) {
|
3153
|
-
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionIdPagingPage_1() {
|
3154
|
-
let result;
|
3155
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
3156
|
-
if (!continuationToken) {
|
3157
|
-
result = yield tslib.__await(this._listBySubscriptionId(options));
|
3158
|
-
let page = result.value || [];
|
3159
|
-
continuationToken = result.nextLink;
|
3160
|
-
setContinuationToken(page, continuationToken);
|
3161
|
-
yield yield tslib.__await(page);
|
3162
|
-
}
|
3163
|
-
while (continuationToken) {
|
3164
|
-
result = yield tslib.__await(this._listBySubscriptionIdNext(continuationToken, options));
|
3165
|
-
continuationToken = result.nextLink;
|
3166
|
-
let page = result.value || [];
|
3167
|
-
setContinuationToken(page, continuationToken);
|
3168
|
-
yield yield tslib.__await(page);
|
3169
|
-
}
|
3170
|
-
});
|
3171
|
-
}
|
3172
|
-
listBySubscriptionIdPagingAll(options) {
|
3173
|
-
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionIdPagingAll_1() {
|
3174
|
-
var _a, e_1, _b, _c;
|
3175
|
-
try {
|
3176
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionIdPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
3177
|
-
_c = _f.value;
|
3178
|
-
_d = false;
|
3179
|
-
const page = _c;
|
3180
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
3181
|
-
}
|
3182
|
-
}
|
3183
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
3184
|
-
finally {
|
3185
|
-
try {
|
3186
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
3187
|
-
}
|
3188
|
-
finally { if (e_1) throw e_1.error; }
|
3189
|
-
}
|
3190
|
-
});
|
3191
|
-
}
|
3192
|
-
/**
|
3193
|
-
* Lists current service health events in the tenant.
|
3194
|
-
* @param options The options parameters.
|
3195
|
-
*/
|
3196
|
-
listByTenantId(options) {
|
3197
|
-
const iter = this.listByTenantIdPagingAll(options);
|
3198
|
-
return {
|
3199
|
-
next() {
|
3200
|
-
return iter.next();
|
3201
|
-
},
|
3202
|
-
[Symbol.asyncIterator]() {
|
3203
|
-
return this;
|
3204
|
-
},
|
3205
|
-
byPage: (settings) => {
|
3206
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
3207
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
3208
|
-
}
|
3209
|
-
return this.listByTenantIdPagingPage(options, settings);
|
3210
|
-
}
|
3211
|
-
};
|
3212
|
-
}
|
3213
|
-
listByTenantIdPagingPage(options, settings) {
|
3214
|
-
return tslib.__asyncGenerator(this, arguments, function* listByTenantIdPagingPage_1() {
|
3215
|
-
let result;
|
3216
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
3217
|
-
if (!continuationToken) {
|
3218
|
-
result = yield tslib.__await(this._listByTenantId(options));
|
3219
|
-
let page = result.value || [];
|
3220
|
-
continuationToken = result.nextLink;
|
3221
|
-
setContinuationToken(page, continuationToken);
|
3222
|
-
yield yield tslib.__await(page);
|
3223
|
-
}
|
3224
|
-
while (continuationToken) {
|
3225
|
-
result = yield tslib.__await(this._listByTenantIdNext(continuationToken, options));
|
3226
|
-
continuationToken = result.nextLink;
|
3227
|
-
let page = result.value || [];
|
3228
|
-
setContinuationToken(page, continuationToken);
|
3229
|
-
yield yield tslib.__await(page);
|
3230
|
-
}
|
3231
|
-
});
|
3232
|
-
}
|
3233
|
-
listByTenantIdPagingAll(options) {
|
3234
|
-
return tslib.__asyncGenerator(this, arguments, function* listByTenantIdPagingAll_1() {
|
3235
|
-
var _a, e_2, _b, _c;
|
3236
|
-
try {
|
3237
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listByTenantIdPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
3238
|
-
_c = _f.value;
|
3239
|
-
_d = false;
|
3240
|
-
const page = _c;
|
3241
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
3242
|
-
}
|
3243
|
-
}
|
3244
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
3245
|
-
finally {
|
3246
|
-
try {
|
3247
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
3248
|
-
}
|
3249
|
-
finally { if (e_2) throw e_2.error; }
|
3250
|
-
}
|
3251
|
-
});
|
3252
|
-
}
|
3253
|
-
/**
|
3254
|
-
* Lists current service health events for given resource.
|
3255
|
-
* @param resourceUri The fully qualified ID of the resource, including the resource name and resource
|
3256
|
-
* type. Currently the API support not nested and one nesting level resource types :
|
3257
|
-
* /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
|
3258
|
-
* and
|
3259
|
-
* /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}
|
3260
|
-
* @param options The options parameters.
|
3261
|
-
*/
|
3262
|
-
listBySingleResource(resourceUri, options) {
|
3263
|
-
const iter = this.listBySingleResourcePagingAll(resourceUri, options);
|
3264
|
-
return {
|
3265
|
-
next() {
|
3266
|
-
return iter.next();
|
3267
|
-
},
|
3268
|
-
[Symbol.asyncIterator]() {
|
3269
|
-
return this;
|
3270
|
-
},
|
3271
|
-
byPage: (settings) => {
|
3272
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
3273
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
3274
|
-
}
|
3275
|
-
return this.listBySingleResourcePagingPage(resourceUri, options, settings);
|
3276
|
-
}
|
3277
|
-
};
|
3278
|
-
}
|
3279
|
-
listBySingleResourcePagingPage(resourceUri, options, settings) {
|
3280
|
-
return tslib.__asyncGenerator(this, arguments, function* listBySingleResourcePagingPage_1() {
|
3281
|
-
let result;
|
3282
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
3283
|
-
if (!continuationToken) {
|
3284
|
-
result = yield tslib.__await(this._listBySingleResource(resourceUri, options));
|
3285
|
-
let page = result.value || [];
|
3286
|
-
continuationToken = result.nextLink;
|
3287
|
-
setContinuationToken(page, continuationToken);
|
3288
|
-
yield yield tslib.__await(page);
|
3289
|
-
}
|
3290
|
-
while (continuationToken) {
|
3291
|
-
result = yield tslib.__await(this._listBySingleResourceNext(resourceUri, continuationToken, options));
|
3292
|
-
continuationToken = result.nextLink;
|
3293
|
-
let page = result.value || [];
|
3294
|
-
setContinuationToken(page, continuationToken);
|
3295
|
-
yield yield tslib.__await(page);
|
3296
|
-
}
|
3297
|
-
});
|
3298
|
-
}
|
3299
|
-
listBySingleResourcePagingAll(resourceUri, options) {
|
3300
|
-
return tslib.__asyncGenerator(this, arguments, function* listBySingleResourcePagingAll_1() {
|
3301
|
-
var _a, e_3, _b, _c;
|
3302
|
-
try {
|
3303
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listBySingleResourcePagingPage(resourceUri, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
3304
|
-
_c = _f.value;
|
3305
|
-
_d = false;
|
3306
|
-
const page = _c;
|
3307
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
3308
|
-
}
|
3309
|
-
}
|
3310
|
-
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
3311
|
-
finally {
|
3312
|
-
try {
|
3313
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
3314
|
-
}
|
3315
|
-
finally { if (e_3) throw e_3.error; }
|
3316
|
-
}
|
3317
|
-
});
|
3318
|
-
}
|
3319
|
-
/**
|
3320
|
-
* Lists service health events in the subscription.
|
3321
|
-
* @param options The options parameters.
|
3322
|
-
*/
|
3323
|
-
_listBySubscriptionId(options) {
|
3324
|
-
return this.client.sendOperationRequest({ options }, listBySubscriptionIdOperationSpec);
|
3325
|
-
}
|
3326
|
-
/**
|
3327
|
-
* Lists current service health events in the tenant.
|
3328
|
-
* @param options The options parameters.
|
3329
|
-
*/
|
3330
|
-
_listByTenantId(options) {
|
3331
|
-
return this.client.sendOperationRequest({ options }, listByTenantIdOperationSpec);
|
3332
|
-
}
|
3333
|
-
/**
|
3334
|
-
* Lists current service health events for given resource.
|
3335
|
-
* @param resourceUri The fully qualified ID of the resource, including the resource name and resource
|
3336
|
-
* type. Currently the API support not nested and one nesting level resource types :
|
3337
|
-
* /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
|
3338
|
-
* and
|
3339
|
-
* /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}
|
3340
|
-
* @param options The options parameters.
|
3341
|
-
*/
|
3342
|
-
_listBySingleResource(resourceUri, options) {
|
3343
|
-
return this.client.sendOperationRequest({ resourceUri, options }, listBySingleResourceOperationSpec);
|
3344
|
-
}
|
3345
|
-
/**
|
3346
|
-
* ListBySubscriptionIdNext
|
3347
|
-
* @param nextLink The nextLink from the previous successful call to the ListBySubscriptionId method.
|
3348
|
-
* @param options The options parameters.
|
3349
|
-
*/
|
3350
|
-
_listBySubscriptionIdNext(nextLink, options) {
|
3351
|
-
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionIdNextOperationSpec);
|
3352
|
-
}
|
3353
|
-
/**
|
3354
|
-
* ListByTenantIdNext
|
3355
|
-
* @param nextLink The nextLink from the previous successful call to the ListByTenantId method.
|
3356
|
-
* @param options The options parameters.
|
3357
|
-
*/
|
3358
|
-
_listByTenantIdNext(nextLink, options) {
|
3359
|
-
return this.client.sendOperationRequest({ nextLink, options }, listByTenantIdNextOperationSpec);
|
3360
|
-
}
|
3361
|
-
/**
|
3362
|
-
* ListBySingleResourceNext
|
3363
|
-
* @param resourceUri The fully qualified ID of the resource, including the resource name and resource
|
3364
|
-
* type. Currently the API support not nested and one nesting level resource types :
|
3365
|
-
* /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
|
3366
|
-
* and
|
3367
|
-
* /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}
|
3368
|
-
* @param nextLink The nextLink from the previous successful call to the ListBySingleResource method.
|
3369
|
-
* @param options The options parameters.
|
3370
|
-
*/
|
3371
|
-
_listBySingleResourceNext(resourceUri, nextLink, options) {
|
3372
|
-
return this.client.sendOperationRequest({ resourceUri, nextLink, options }, listBySingleResourceNextOperationSpec);
|
3373
|
-
}
|
3374
|
-
}
|
3375
|
-
// Operation Specifications
|
3376
|
-
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
3377
|
-
const listBySubscriptionIdOperationSpec = {
|
3378
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events",
|
3379
|
-
httpMethod: "GET",
|
3380
|
-
responses: {
|
3381
|
-
200: {
|
3382
|
-
bodyMapper: Events
|
3383
|
-
},
|
3384
|
-
default: {
|
3385
|
-
bodyMapper: ErrorResponse
|
3386
|
-
}
|
3387
|
-
},
|
3388
|
-
queryParameters: [
|
3389
|
-
apiVersion,
|
3390
|
-
filter,
|
3391
|
-
queryStartTime
|
3392
|
-
],
|
3393
|
-
urlParameters: [$host, subscriptionId],
|
3394
|
-
headerParameters: [accept],
|
3395
|
-
serializer: serializer$4
|
3396
|
-
};
|
3397
|
-
const listByTenantIdOperationSpec = {
|
3398
|
-
path: "/providers/Microsoft.ResourceHealth/events",
|
3399
|
-
httpMethod: "GET",
|
3400
|
-
responses: {
|
3401
|
-
200: {
|
3402
|
-
bodyMapper: Events
|
3403
|
-
},
|
3404
|
-
default: {
|
3405
|
-
bodyMapper: ErrorResponse
|
3406
|
-
}
|
3407
|
-
},
|
3408
|
-
queryParameters: [
|
3409
|
-
apiVersion,
|
3410
|
-
filter,
|
3411
|
-
queryStartTime
|
3412
|
-
],
|
3413
|
-
urlParameters: [$host],
|
3414
|
-
headerParameters: [accept],
|
3415
|
-
serializer: serializer$4
|
3416
|
-
};
|
3417
|
-
const listBySingleResourceOperationSpec = {
|
3418
|
-
path: "/{resourceUri}/providers/Microsoft.ResourceHealth/events",
|
3419
|
-
httpMethod: "GET",
|
3420
|
-
responses: {
|
3421
|
-
200: {
|
3422
|
-
bodyMapper: Events
|
3423
|
-
},
|
3424
|
-
default: {
|
3425
|
-
bodyMapper: ErrorResponse
|
3426
|
-
}
|
3427
|
-
},
|
3428
|
-
queryParameters: [apiVersion, filter],
|
3429
|
-
urlParameters: [$host, resourceUri],
|
3430
|
-
headerParameters: [accept],
|
3431
|
-
serializer: serializer$4
|
3432
|
-
};
|
3433
|
-
const listBySubscriptionIdNextOperationSpec = {
|
3434
|
-
path: "{nextLink}",
|
3435
|
-
httpMethod: "GET",
|
3436
|
-
responses: {
|
3437
|
-
200: {
|
3438
|
-
bodyMapper: Events
|
3439
|
-
},
|
3440
|
-
default: {
|
3441
|
-
bodyMapper: ErrorResponse
|
3442
|
-
}
|
3443
|
-
},
|
3444
|
-
urlParameters: [
|
3445
|
-
$host,
|
3446
|
-
subscriptionId,
|
3447
|
-
nextLink
|
3448
|
-
],
|
3449
|
-
headerParameters: [accept],
|
3450
|
-
serializer: serializer$4
|
3451
|
-
};
|
3452
|
-
const listByTenantIdNextOperationSpec = {
|
3453
|
-
path: "{nextLink}",
|
3454
|
-
httpMethod: "GET",
|
3455
|
-
responses: {
|
3456
|
-
200: {
|
3457
|
-
bodyMapper: Events
|
3458
|
-
},
|
3459
|
-
default: {
|
3460
|
-
bodyMapper: ErrorResponse
|
3461
|
-
}
|
3462
|
-
},
|
3463
|
-
urlParameters: [$host, nextLink],
|
3464
|
-
headerParameters: [accept],
|
3465
|
-
serializer: serializer$4
|
3466
|
-
};
|
3467
|
-
const listBySingleResourceNextOperationSpec = {
|
3468
|
-
path: "{nextLink}",
|
3469
|
-
httpMethod: "GET",
|
3470
|
-
responses: {
|
3471
|
-
200: {
|
3472
|
-
bodyMapper: Events
|
3473
|
-
},
|
3474
|
-
default: {
|
3475
|
-
bodyMapper: ErrorResponse
|
3476
|
-
}
|
3477
|
-
},
|
3478
|
-
urlParameters: [
|
3479
|
-
$host,
|
3480
|
-
resourceUri,
|
3481
|
-
nextLink
|
3482
|
-
],
|
3483
|
-
headerParameters: [accept],
|
3484
|
-
serializer: serializer$4
|
3485
|
-
};
|
3486
|
-
|
3487
|
-
/*
|
3488
|
-
* Copyright (c) Microsoft Corporation.
|
3489
|
-
* Licensed under the MIT License.
|
3490
|
-
*
|
3491
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
3492
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
3493
|
-
*/
|
3494
|
-
/** Class containing EventOperations operations. */
|
3495
|
-
class EventOperationsImpl {
|
3496
|
-
/**
|
3497
|
-
* Initialize a new instance of the class EventOperations class.
|
3498
|
-
* @param client Reference to the service client
|
3499
|
-
*/
|
3500
|
-
constructor(client) {
|
3501
|
-
this.client = client;
|
3502
|
-
}
|
3503
|
-
/**
|
3504
|
-
* Service health event in the subscription by event tracking id
|
3505
|
-
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
3506
|
-
* @param options The options parameters.
|
3507
|
-
*/
|
3508
|
-
getBySubscriptionIdAndTrackingId(eventTrackingId, options) {
|
3509
|
-
return this.client.sendOperationRequest({ eventTrackingId, options }, getBySubscriptionIdAndTrackingIdOperationSpec);
|
3510
|
-
}
|
3511
|
-
/**
|
3512
|
-
* Service health event details in the subscription by event tracking id. This can be used to fetch
|
3513
|
-
* sensitive properties for Security Advisory events
|
3514
|
-
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
3515
|
-
* @param options The options parameters.
|
3516
|
-
*/
|
3517
|
-
fetchDetailsBySubscriptionIdAndTrackingId(eventTrackingId, options) {
|
3518
|
-
return this.client.sendOperationRequest({ eventTrackingId, options }, fetchDetailsBySubscriptionIdAndTrackingIdOperationSpec);
|
3519
|
-
}
|
3520
|
-
/**
|
3521
|
-
* Service health event in the tenant by event tracking id
|
3522
|
-
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
3523
|
-
* @param options The options parameters.
|
3524
|
-
*/
|
3525
|
-
getByTenantIdAndTrackingId(eventTrackingId, options) {
|
3526
|
-
return this.client.sendOperationRequest({ eventTrackingId, options }, getByTenantIdAndTrackingIdOperationSpec);
|
3527
|
-
}
|
3528
|
-
/**
|
3529
|
-
* Service health event details in the tenant by event tracking id. This can be used to fetch sensitive
|
3530
|
-
* properties for Security Advisory events
|
3531
|
-
* @param eventTrackingId Event Id which uniquely identifies ServiceHealth event.
|
3532
|
-
* @param options The options parameters.
|
3533
|
-
*/
|
3534
|
-
fetchDetailsByTenantIdAndTrackingId(eventTrackingId, options) {
|
3535
|
-
return this.client.sendOperationRequest({ eventTrackingId, options }, fetchDetailsByTenantIdAndTrackingIdOperationSpec);
|
3536
|
-
}
|
3537
|
-
}
|
3538
|
-
// Operation Specifications
|
3539
|
-
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
3540
|
-
const getBySubscriptionIdAndTrackingIdOperationSpec = {
|
3541
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}",
|
3542
|
-
httpMethod: "GET",
|
3543
|
-
responses: {
|
3544
|
-
200: {
|
3545
|
-
bodyMapper: Event
|
3546
|
-
},
|
3547
|
-
default: {
|
3548
|
-
bodyMapper: ErrorResponse
|
3549
|
-
}
|
3550
|
-
},
|
3551
|
-
queryParameters: [
|
3552
|
-
apiVersion,
|
3553
|
-
filter,
|
3554
|
-
queryStartTime
|
3555
|
-
],
|
3556
|
-
urlParameters: [
|
3557
|
-
$host,
|
3558
|
-
subscriptionId,
|
3559
|
-
eventTrackingId
|
3560
|
-
],
|
3561
|
-
headerParameters: [accept],
|
3562
|
-
serializer: serializer$3
|
3563
|
-
};
|
3564
|
-
const fetchDetailsBySubscriptionIdAndTrackingIdOperationSpec = {
|
3565
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/fetchEventDetails",
|
3566
|
-
httpMethod: "POST",
|
3567
|
-
responses: {
|
3568
|
-
200: {
|
3569
|
-
bodyMapper: Event
|
3570
|
-
},
|
3571
|
-
default: {
|
3572
|
-
bodyMapper: ErrorResponse
|
3573
|
-
}
|
3574
|
-
},
|
3575
|
-
queryParameters: [apiVersion],
|
3576
|
-
urlParameters: [
|
3577
|
-
$host,
|
3578
|
-
subscriptionId,
|
3579
|
-
eventTrackingId
|
3580
|
-
],
|
3581
|
-
headerParameters: [accept],
|
3582
|
-
serializer: serializer$3
|
3583
|
-
};
|
3584
|
-
const getByTenantIdAndTrackingIdOperationSpec = {
|
3585
|
-
path: "/providers/Microsoft.ResourceHealth/events/{eventTrackingId}",
|
3586
|
-
httpMethod: "GET",
|
3587
|
-
responses: {
|
3588
|
-
200: {
|
3589
|
-
bodyMapper: Event
|
3590
|
-
},
|
3591
|
-
default: {
|
3592
|
-
bodyMapper: ErrorResponse
|
3593
|
-
}
|
3594
|
-
},
|
3595
|
-
queryParameters: [
|
3596
|
-
apiVersion,
|
3597
|
-
filter,
|
3598
|
-
queryStartTime
|
3599
|
-
],
|
3600
|
-
urlParameters: [$host, eventTrackingId],
|
3601
|
-
headerParameters: [accept],
|
3602
|
-
serializer: serializer$3
|
3603
|
-
};
|
3604
|
-
const fetchDetailsByTenantIdAndTrackingIdOperationSpec = {
|
3605
|
-
path: "/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/fetchEventDetails",
|
3606
|
-
httpMethod: "POST",
|
3607
|
-
responses: {
|
3608
|
-
200: {
|
3609
|
-
bodyMapper: Event
|
3610
|
-
},
|
3611
|
-
default: {
|
3612
|
-
bodyMapper: ErrorResponse
|
3613
|
-
}
|
3614
|
-
},
|
3615
|
-
queryParameters: [apiVersion],
|
3616
|
-
urlParameters: [$host, eventTrackingId],
|
3617
|
-
headerParameters: [accept],
|
3618
|
-
serializer: serializer$3
|
3619
|
-
};
|
3620
|
-
|
3621
|
-
/*
|
3622
|
-
* Copyright (c) Microsoft Corporation.
|
3623
|
-
* Licensed under the MIT License.
|
3624
|
-
*
|
3625
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
3626
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
3627
|
-
*/
|
3628
|
-
/// <reference lib="esnext.asynciterable" />
|
3629
|
-
/** Class containing ChildAvailabilityStatuses operations. */
|
3630
|
-
class ChildAvailabilityStatusesImpl {
|
3631
|
-
/**
|
3632
|
-
* Initialize a new instance of the class ChildAvailabilityStatuses class.
|
3633
|
-
* @param client Reference to the service client
|
3634
|
-
*/
|
3635
|
-
constructor(client) {
|
3636
|
-
this.client = client;
|
3637
|
-
}
|
3638
|
-
/**
|
3639
|
-
* Lists the historical availability statuses for a single child resource. Use the nextLink property in
|
3640
|
-
* the response to get the next page of availability status
|
3641
|
-
* @param resourceUri The fully qualified ID of the resource, including the resource name and resource
|
3642
|
-
* type. Currently the API only support one nesting level resource types :
|
3643
|
-
* /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}
|
3644
|
-
* @param options The options parameters.
|
3645
|
-
*/
|
3646
|
-
list(resourceUri, options) {
|
3647
|
-
const iter = this.listPagingAll(resourceUri, options);
|
3648
|
-
return {
|
3649
|
-
next() {
|
3650
|
-
return iter.next();
|
3651
|
-
},
|
3652
|
-
[Symbol.asyncIterator]() {
|
3653
|
-
return this;
|
3654
|
-
},
|
3655
|
-
byPage: (settings) => {
|
3656
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
3657
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
3658
|
-
}
|
3659
|
-
return this.listPagingPage(resourceUri, options, settings);
|
3660
|
-
}
|
3661
|
-
};
|
3662
|
-
}
|
3663
|
-
listPagingPage(resourceUri, options, settings) {
|
3664
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
3665
|
-
let result;
|
3666
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
3667
|
-
if (!continuationToken) {
|
3668
|
-
result = yield tslib.__await(this._list(resourceUri, options));
|
3669
|
-
let page = result.value || [];
|
3670
|
-
continuationToken = result.nextLink;
|
3671
|
-
setContinuationToken(page, continuationToken);
|
3672
|
-
yield yield tslib.__await(page);
|
3673
|
-
}
|
3674
|
-
while (continuationToken) {
|
3675
|
-
result = yield tslib.__await(this._listNext(resourceUri, continuationToken, options));
|
3676
|
-
continuationToken = result.nextLink;
|
3677
|
-
let page = result.value || [];
|
3678
|
-
setContinuationToken(page, continuationToken);
|
3679
|
-
yield yield tslib.__await(page);
|
3680
|
-
}
|
3681
|
-
});
|
3682
|
-
}
|
3683
|
-
listPagingAll(resourceUri, options) {
|
3684
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
3685
|
-
var _a, e_1, _b, _c;
|
3686
|
-
try {
|
3687
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceUri, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
3688
|
-
_c = _f.value;
|
3689
|
-
_d = false;
|
3690
|
-
const page = _c;
|
3691
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
3692
|
-
}
|
3693
|
-
}
|
3694
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
3695
|
-
finally {
|
3696
|
-
try {
|
3697
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
3698
|
-
}
|
3699
|
-
finally { if (e_1) throw e_1.error; }
|
3700
|
-
}
|
3701
|
-
});
|
3702
|
-
}
|
3703
|
-
/**
|
3704
|
-
* Gets current availability status for a single resource
|
3705
|
-
* @param resourceUri The fully qualified ID of the resource, including the resource name and resource
|
3706
|
-
* type. Currently the API only support one nesting level resource types :
|
3707
|
-
* /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}
|
3708
|
-
* @param options The options parameters.
|
3709
|
-
*/
|
3710
|
-
getByResource(resourceUri, options) {
|
3711
|
-
return this.client.sendOperationRequest({ resourceUri, options }, getByResourceOperationSpec);
|
3712
|
-
}
|
3713
|
-
/**
|
3714
|
-
* Lists the historical availability statuses for a single child resource. Use the nextLink property in
|
3715
|
-
* the response to get the next page of availability status
|
3716
|
-
* @param resourceUri The fully qualified ID of the resource, including the resource name and resource
|
3717
|
-
* type. Currently the API only support one nesting level resource types :
|
3718
|
-
* /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}
|
3719
|
-
* @param options The options parameters.
|
3720
|
-
*/
|
3721
|
-
_list(resourceUri, options) {
|
3722
|
-
return this.client.sendOperationRequest({ resourceUri, options }, listOperationSpec$2);
|
3723
|
-
}
|
3724
|
-
/**
|
3725
|
-
* ListNext
|
3726
|
-
* @param resourceUri The fully qualified ID of the resource, including the resource name and resource
|
3727
|
-
* type. Currently the API only support one nesting level resource types :
|
3728
|
-
* /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}
|
3729
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
3730
|
-
* @param options The options parameters.
|
3731
|
-
*/
|
3732
|
-
_listNext(resourceUri, nextLink, options) {
|
3733
|
-
return this.client.sendOperationRequest({ resourceUri, nextLink, options }, listNextOperationSpec$2);
|
3734
|
-
}
|
3735
|
-
}
|
3736
|
-
// Operation Specifications
|
3737
|
-
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
3738
|
-
const getByResourceOperationSpec = {
|
3739
|
-
path: "/{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses/current",
|
3740
|
-
httpMethod: "GET",
|
3741
|
-
responses: {
|
3742
|
-
200: {
|
3743
|
-
bodyMapper: AvailabilityStatus
|
3744
|
-
},
|
3745
|
-
default: {
|
3746
|
-
bodyMapper: ErrorResponse
|
3747
|
-
}
|
3748
|
-
},
|
3749
|
-
queryParameters: [
|
3750
|
-
apiVersion,
|
3751
|
-
filter,
|
3752
|
-
expand
|
3753
|
-
],
|
3754
|
-
urlParameters: [$host, resourceUri],
|
3755
|
-
headerParameters: [accept],
|
3756
|
-
serializer: serializer$2
|
3757
|
-
};
|
3758
|
-
const listOperationSpec$2 = {
|
3759
|
-
path: "/{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses",
|
3760
|
-
httpMethod: "GET",
|
3761
|
-
responses: {
|
3762
|
-
200: {
|
3763
|
-
bodyMapper: AvailabilityStatusListResult
|
3764
|
-
},
|
3765
|
-
default: {
|
3766
|
-
bodyMapper: ErrorResponse
|
3767
|
-
}
|
3768
|
-
},
|
3769
|
-
queryParameters: [
|
3770
|
-
apiVersion,
|
3771
|
-
filter,
|
3772
|
-
expand
|
3773
|
-
],
|
3774
|
-
urlParameters: [$host, resourceUri],
|
3775
|
-
headerParameters: [accept],
|
3776
|
-
serializer: serializer$2
|
3777
|
-
};
|
3778
|
-
const listNextOperationSpec$2 = {
|
3779
|
-
path: "{nextLink}",
|
3780
|
-
httpMethod: "GET",
|
3781
|
-
responses: {
|
3782
|
-
200: {
|
3783
|
-
bodyMapper: AvailabilityStatusListResult
|
3784
|
-
},
|
3785
|
-
default: {
|
3786
|
-
bodyMapper: ErrorResponse
|
3787
|
-
}
|
3788
|
-
},
|
3789
|
-
urlParameters: [
|
3790
|
-
$host,
|
3791
|
-
resourceUri,
|
3792
|
-
nextLink
|
3793
|
-
],
|
3794
|
-
headerParameters: [accept],
|
3795
|
-
serializer: serializer$2
|
3796
|
-
};
|
3797
|
-
|
3798
|
-
/*
|
3799
|
-
* Copyright (c) Microsoft Corporation.
|
3800
|
-
* Licensed under the MIT License.
|
3801
|
-
*
|
3802
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
3803
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
3804
|
-
*/
|
3805
|
-
/// <reference lib="esnext.asynciterable" />
|
3806
|
-
/** Class containing ChildResources operations. */
|
3807
|
-
class ChildResourcesImpl {
|
3808
|
-
/**
|
3809
|
-
* Initialize a new instance of the class ChildResources class.
|
3810
|
-
* @param client Reference to the service client
|
3811
|
-
*/
|
3812
|
-
constructor(client) {
|
3813
|
-
this.client = client;
|
3814
|
-
}
|
3815
|
-
/**
|
3816
|
-
* Lists the all the children and its current health status for a parent resource. Use the nextLink
|
3817
|
-
* property in the response to get the next page of children current health
|
3818
|
-
* @param resourceUri The fully qualified ID of the resource, including the resource name and resource
|
3819
|
-
* type. Currently the API only support not nested parent resource type:
|
3820
|
-
* /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
|
3821
|
-
* @param options The options parameters.
|
3822
|
-
*/
|
3823
|
-
list(resourceUri, options) {
|
3824
|
-
const iter = this.listPagingAll(resourceUri, options);
|
3825
|
-
return {
|
3826
|
-
next() {
|
3827
|
-
return iter.next();
|
3828
|
-
},
|
3829
|
-
[Symbol.asyncIterator]() {
|
3830
|
-
return this;
|
3831
|
-
},
|
3832
|
-
byPage: (settings) => {
|
3833
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
3834
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
3835
|
-
}
|
3836
|
-
return this.listPagingPage(resourceUri, options, settings);
|
3837
|
-
}
|
3838
|
-
};
|
3839
|
-
}
|
3840
|
-
listPagingPage(resourceUri, options, settings) {
|
3841
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
3842
|
-
let result;
|
3843
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
3844
|
-
if (!continuationToken) {
|
3845
|
-
result = yield tslib.__await(this._list(resourceUri, options));
|
3846
|
-
let page = result.value || [];
|
3847
|
-
continuationToken = result.nextLink;
|
3848
|
-
setContinuationToken(page, continuationToken);
|
3849
|
-
yield yield tslib.__await(page);
|
3850
|
-
}
|
3851
|
-
while (continuationToken) {
|
3852
|
-
result = yield tslib.__await(this._listNext(resourceUri, continuationToken, options));
|
3853
|
-
continuationToken = result.nextLink;
|
3854
|
-
let page = result.value || [];
|
3855
|
-
setContinuationToken(page, continuationToken);
|
3856
|
-
yield yield tslib.__await(page);
|
3857
|
-
}
|
3858
|
-
});
|
3859
|
-
}
|
3860
|
-
listPagingAll(resourceUri, options) {
|
3861
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
3862
|
-
var _a, e_1, _b, _c;
|
3863
|
-
try {
|
3864
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceUri, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
3865
|
-
_c = _f.value;
|
3866
|
-
_d = false;
|
3867
|
-
const page = _c;
|
3868
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
3869
|
-
}
|
3870
|
-
}
|
3871
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
3872
|
-
finally {
|
3873
|
-
try {
|
3874
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
3875
|
-
}
|
3876
|
-
finally { if (e_1) throw e_1.error; }
|
3877
|
-
}
|
3878
|
-
});
|
3879
|
-
}
|
3880
|
-
/**
|
3881
|
-
* Lists the all the children and its current health status for a parent resource. Use the nextLink
|
3882
|
-
* property in the response to get the next page of children current health
|
3883
|
-
* @param resourceUri The fully qualified ID of the resource, including the resource name and resource
|
3884
|
-
* type. Currently the API only support not nested parent resource type:
|
3885
|
-
* /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
|
3886
|
-
* @param options The options parameters.
|
3887
|
-
*/
|
3888
|
-
_list(resourceUri, options) {
|
3889
|
-
return this.client.sendOperationRequest({ resourceUri, options }, listOperationSpec$1);
|
3890
|
-
}
|
3891
|
-
/**
|
3892
|
-
* ListNext
|
3893
|
-
* @param resourceUri The fully qualified ID of the resource, including the resource name and resource
|
3894
|
-
* type. Currently the API only support not nested parent resource type:
|
3895
|
-
* /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
|
3896
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
3897
|
-
* @param options The options parameters.
|
3898
|
-
*/
|
3899
|
-
_listNext(resourceUri, nextLink, options) {
|
3900
|
-
return this.client.sendOperationRequest({ resourceUri, nextLink, options }, listNextOperationSpec$1);
|
3901
|
-
}
|
3902
|
-
}
|
3903
|
-
// Operation Specifications
|
3904
|
-
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
3905
|
-
const listOperationSpec$1 = {
|
3906
|
-
path: "/{resourceUri}/providers/Microsoft.ResourceHealth/childResources",
|
3907
|
-
httpMethod: "GET",
|
3908
|
-
responses: {
|
3909
|
-
200: {
|
3910
|
-
bodyMapper: AvailabilityStatusListResult
|
3911
|
-
},
|
3912
|
-
default: {
|
3913
|
-
bodyMapper: ErrorResponse
|
3914
|
-
}
|
3915
|
-
},
|
3916
|
-
queryParameters: [
|
3917
|
-
apiVersion,
|
3918
|
-
filter,
|
3919
|
-
expand
|
3920
|
-
],
|
3921
|
-
urlParameters: [$host, resourceUri],
|
3922
|
-
headerParameters: [accept],
|
3923
|
-
serializer: serializer$1
|
3924
|
-
};
|
3925
|
-
const listNextOperationSpec$1 = {
|
3926
|
-
path: "{nextLink}",
|
3927
|
-
httpMethod: "GET",
|
3928
|
-
responses: {
|
3929
|
-
200: {
|
3930
|
-
bodyMapper: AvailabilityStatusListResult
|
3931
|
-
},
|
3932
|
-
default: {
|
3933
|
-
bodyMapper: ErrorResponse
|
3934
|
-
}
|
3935
|
-
},
|
3936
|
-
urlParameters: [
|
3937
|
-
$host,
|
3938
|
-
resourceUri,
|
3939
|
-
nextLink
|
3940
|
-
],
|
3941
|
-
headerParameters: [accept],
|
3942
|
-
serializer: serializer$1
|
3943
|
-
};
|
3944
|
-
|
3945
|
-
/*
|
3946
|
-
* Copyright (c) Microsoft Corporation.
|
3947
|
-
* Licensed under the MIT License.
|
3948
|
-
*
|
3949
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
3950
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
3951
|
-
*/
|
3952
|
-
/// <reference lib="esnext.asynciterable" />
|
3953
|
-
/** Class containing EmergingIssues operations. */
|
3954
|
-
class EmergingIssuesImpl {
|
3955
|
-
/**
|
3956
|
-
* Initialize a new instance of the class EmergingIssues class.
|
3957
|
-
* @param client Reference to the service client
|
3958
|
-
*/
|
3959
|
-
constructor(client) {
|
3960
|
-
this.client = client;
|
3961
|
-
}
|
3962
|
-
/**
|
3963
|
-
* Lists Azure services' emerging issues.
|
3964
|
-
* @param options The options parameters.
|
3965
|
-
*/
|
3966
|
-
list(options) {
|
3967
|
-
const iter = this.listPagingAll(options);
|
3968
|
-
return {
|
3969
|
-
next() {
|
3970
|
-
return iter.next();
|
3971
|
-
},
|
3972
|
-
[Symbol.asyncIterator]() {
|
3973
|
-
return this;
|
3974
|
-
},
|
3975
|
-
byPage: (settings) => {
|
3976
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
3977
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
3978
|
-
}
|
3979
|
-
return this.listPagingPage(options, settings);
|
3980
|
-
}
|
3981
|
-
};
|
3982
|
-
}
|
3983
|
-
listPagingPage(options, settings) {
|
3984
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
3985
|
-
let result;
|
3986
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
3987
|
-
if (!continuationToken) {
|
3988
|
-
result = yield tslib.__await(this._list(options));
|
3989
|
-
let page = result.value || [];
|
3990
|
-
continuationToken = result.nextLink;
|
3991
|
-
setContinuationToken(page, continuationToken);
|
3992
|
-
yield yield tslib.__await(page);
|
3993
|
-
}
|
3994
|
-
while (continuationToken) {
|
3995
|
-
result = yield tslib.__await(this._listNext(continuationToken, options));
|
3996
|
-
continuationToken = result.nextLink;
|
3997
|
-
let page = result.value || [];
|
3998
|
-
setContinuationToken(page, continuationToken);
|
3999
|
-
yield yield tslib.__await(page);
|
4000
|
-
}
|
4001
|
-
});
|
4002
|
-
}
|
4003
|
-
listPagingAll(options) {
|
4004
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
4005
|
-
var _a, e_1, _b, _c;
|
4006
|
-
try {
|
4007
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
4008
|
-
_c = _f.value;
|
4009
|
-
_d = false;
|
4010
|
-
const page = _c;
|
4011
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
4012
|
-
}
|
4013
|
-
}
|
4014
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
4015
|
-
finally {
|
4016
|
-
try {
|
4017
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
4018
|
-
}
|
4019
|
-
finally { if (e_1) throw e_1.error; }
|
4020
|
-
}
|
4021
|
-
});
|
4022
|
-
}
|
4023
|
-
/**
|
4024
|
-
* Lists Azure services' emerging issues.
|
4025
|
-
* @param options The options parameters.
|
4026
|
-
*/
|
4027
|
-
_list(options) {
|
4028
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
4029
|
-
}
|
4030
|
-
/**
|
4031
|
-
* Gets Azure services' emerging issues.
|
4032
|
-
* @param issueName The name of the emerging issue.
|
4033
|
-
* @param options The options parameters.
|
4034
|
-
*/
|
4035
|
-
get(issueName, options) {
|
4036
|
-
return this.client.sendOperationRequest({ issueName, options }, getOperationSpec);
|
4037
|
-
}
|
4038
|
-
/**
|
4039
|
-
* ListNext
|
4040
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
4041
|
-
* @param options The options parameters.
|
4042
|
-
*/
|
4043
|
-
_listNext(nextLink, options) {
|
4044
|
-
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
4045
|
-
}
|
4046
|
-
}
|
4047
|
-
// Operation Specifications
|
4048
|
-
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
4049
|
-
const listOperationSpec = {
|
4050
|
-
path: "/providers/Microsoft.ResourceHealth/emergingIssues",
|
4051
|
-
httpMethod: "GET",
|
4052
|
-
responses: {
|
4053
|
-
200: {
|
4054
|
-
bodyMapper: EmergingIssueListResult
|
4055
|
-
},
|
4056
|
-
default: {
|
4057
|
-
bodyMapper: ErrorResponse
|
4058
|
-
}
|
4059
|
-
},
|
4060
|
-
queryParameters: [apiVersion],
|
4061
|
-
urlParameters: [$host],
|
4062
|
-
headerParameters: [accept],
|
4063
|
-
serializer
|
4064
|
-
};
|
4065
|
-
const getOperationSpec = {
|
4066
|
-
path: "/providers/Microsoft.ResourceHealth/emergingIssues/{issueName}",
|
4067
|
-
httpMethod: "GET",
|
4068
|
-
responses: {
|
4069
|
-
200: {
|
4070
|
-
bodyMapper: EmergingIssuesGetResult
|
4071
|
-
},
|
4072
|
-
default: {
|
4073
|
-
bodyMapper: ErrorResponse
|
4074
|
-
}
|
4075
|
-
},
|
4076
|
-
queryParameters: [apiVersion],
|
4077
|
-
urlParameters: [$host, issueName],
|
4078
|
-
headerParameters: [accept],
|
4079
|
-
serializer
|
4080
|
-
};
|
4081
|
-
const listNextOperationSpec = {
|
4082
|
-
path: "{nextLink}",
|
4083
|
-
httpMethod: "GET",
|
4084
|
-
responses: {
|
4085
|
-
200: {
|
4086
|
-
bodyMapper: EmergingIssueListResult
|
4087
|
-
},
|
4088
|
-
default: {
|
4089
|
-
bodyMapper: ErrorResponse
|
4090
|
-
}
|
4091
|
-
},
|
4092
|
-
urlParameters: [$host, nextLink],
|
4093
|
-
headerParameters: [accept],
|
4094
|
-
serializer
|
4095
|
-
};
|
4096
|
-
|
4097
|
-
/*
|
4098
|
-
* Copyright (c) Microsoft Corporation.
|
4099
|
-
* Licensed under the MIT License.
|
4100
|
-
*
|
4101
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
4102
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
4103
|
-
*/
|
4104
|
-
class MicrosoftResourceHealth extends coreClient__namespace.ServiceClient {
|
4105
|
-
constructor(credentials, subscriptionIdOrOptions, options) {
|
4106
|
-
var _a, _b, _c;
|
4107
|
-
if (credentials === undefined) {
|
4108
|
-
throw new Error("'credentials' cannot be null");
|
4109
|
-
}
|
4110
|
-
let subscriptionId;
|
4111
|
-
if (typeof subscriptionIdOrOptions === "string") {
|
4112
|
-
subscriptionId = subscriptionIdOrOptions;
|
4113
|
-
}
|
4114
|
-
else if (typeof subscriptionIdOrOptions === "object") {
|
4115
|
-
options = subscriptionIdOrOptions;
|
4116
|
-
}
|
4117
|
-
// Initializing default values for options
|
4118
|
-
if (!options) {
|
4119
|
-
options = {};
|
4120
|
-
}
|
4121
|
-
const defaults = {
|
4122
|
-
requestContentType: "application/json; charset=utf-8",
|
4123
|
-
credential: credentials
|
4124
|
-
};
|
4125
|
-
const packageDetails = `azsdk-js-arm-resourcehealth/4.1.0-beta.2`;
|
4126
|
-
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
4127
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
4128
|
-
: `${packageDetails}`;
|
4129
|
-
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
4130
|
-
userAgentPrefix
|
4131
|
-
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
4132
|
-
super(optionsWithDefaults);
|
4133
|
-
let bearerTokenAuthenticationPolicyFound = false;
|
4134
|
-
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
4135
|
-
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
4136
|
-
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
4137
|
-
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
4138
|
-
}
|
4139
|
-
if (!options ||
|
4140
|
-
!options.pipeline ||
|
4141
|
-
options.pipeline.getOrderedPolicies().length == 0 ||
|
4142
|
-
!bearerTokenAuthenticationPolicyFound) {
|
4143
|
-
this.pipeline.removePolicy({
|
4144
|
-
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
|
4145
|
-
});
|
4146
|
-
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
4147
|
-
credential: credentials,
|
4148
|
-
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
4149
|
-
challengeCallbacks: {
|
4150
|
-
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
4151
|
-
}
|
4152
|
-
}));
|
4153
|
-
}
|
4154
|
-
// Parameter assignments
|
4155
|
-
this.subscriptionId = subscriptionId;
|
4156
|
-
// Assigning values to Constant parameters
|
4157
|
-
this.$host = options.$host || "https://management.azure.com";
|
4158
|
-
this.apiVersion = options.apiVersion || "2023-10-01-preview";
|
4159
|
-
this.availabilityStatuses = new AvailabilityStatusesImpl(this);
|
4160
|
-
this.operations = new OperationsImpl(this);
|
4161
|
-
this.metadata = new MetadataImpl(this);
|
4162
|
-
this.impactedResources = new ImpactedResourcesImpl(this);
|
4163
|
-
this.securityAdvisoryImpactedResources = new SecurityAdvisoryImpactedResourcesImpl(this);
|
4164
|
-
this.eventsOperations = new EventsOperationsImpl(this);
|
4165
|
-
this.eventOperations = new EventOperationsImpl(this);
|
4166
|
-
this.childAvailabilityStatuses = new ChildAvailabilityStatusesImpl(this);
|
4167
|
-
this.childResources = new ChildResourcesImpl(this);
|
4168
|
-
this.emergingIssues = new EmergingIssuesImpl(this);
|
4169
|
-
this.addCustomApiVersionPolicy(options.apiVersion);
|
4170
|
-
}
|
4171
|
-
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
4172
|
-
addCustomApiVersionPolicy(apiVersion) {
|
4173
|
-
if (!apiVersion) {
|
4174
|
-
return;
|
4175
|
-
}
|
4176
|
-
const apiVersionPolicy = {
|
4177
|
-
name: "CustomApiVersionPolicy",
|
4178
|
-
sendRequest(request, next) {
|
4179
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
4180
|
-
const param = request.url.split("?");
|
4181
|
-
if (param.length > 1) {
|
4182
|
-
const newParams = param[1].split("&").map((item) => {
|
4183
|
-
if (item.indexOf("api-version") > -1) {
|
4184
|
-
return "api-version=" + apiVersion;
|
4185
|
-
}
|
4186
|
-
else {
|
4187
|
-
return item;
|
4188
|
-
}
|
4189
|
-
});
|
4190
|
-
request.url = param[0] + "?" + newParams.join("&");
|
4191
|
-
}
|
4192
|
-
return next(request);
|
4193
|
-
});
|
4194
|
-
}
|
4195
|
-
};
|
4196
|
-
this.pipeline.addPolicy(apiVersionPolicy);
|
4197
|
-
}
|
4198
|
-
}
|
4199
|
-
|
4200
|
-
exports.MicrosoftResourceHealth = MicrosoftResourceHealth;
|
4201
|
-
exports.getContinuationToken = getContinuationToken;
|
4202
|
-
//# sourceMappingURL=index.js.map
|