@azure/arm-healthdataaiservices 1.0.0-beta.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -2
- package/README.md +10 -4
- package/dist/browser/api/deidServices/index.d.ts +16 -17
- package/dist/browser/api/deidServices/index.d.ts.map +1 -1
- package/dist/browser/api/deidServices/index.js +32 -424
- package/dist/browser/api/deidServices/index.js.map +1 -1
- package/dist/browser/api/healthDataAIServicesContext.d.ts +4 -4
- package/dist/browser/api/healthDataAIServicesContext.d.ts.map +1 -1
- package/dist/browser/api/healthDataAIServicesContext.js +29 -7
- package/dist/browser/api/healthDataAIServicesContext.js.map +1 -1
- package/dist/browser/api/index.d.ts +2 -1
- package/dist/browser/api/index.d.ts.map +1 -1
- package/dist/browser/api/index.js +1 -1
- package/dist/browser/api/index.js.map +1 -1
- package/dist/browser/api/operations/index.d.ts +6 -7
- package/dist/browser/api/operations/index.d.ts.map +1 -1
- package/dist/browser/api/operations/index.js +8 -26
- package/dist/browser/api/operations/index.js.map +1 -1
- package/dist/browser/api/options.d.ts.map +1 -0
- package/dist/browser/api/options.js +4 -0
- package/dist/browser/api/options.js.map +1 -0
- package/dist/browser/api/privateEndpointConnections/index.d.ts +12 -13
- package/dist/browser/api/privateEndpointConnections/index.d.ts.map +1 -1
- package/dist/browser/api/privateEndpointConnections/index.js +22 -126
- package/dist/browser/api/privateEndpointConnections/index.js.map +1 -1
- package/dist/browser/api/privateLinks/index.d.ts +6 -7
- package/dist/browser/api/privateLinks/index.d.ts.map +1 -1
- package/dist/browser/api/privateLinks/index.js +8 -38
- package/dist/browser/api/privateLinks/index.js.map +1 -1
- package/dist/browser/classic/deidServices/index.d.ts +4 -4
- package/dist/browser/classic/deidServices/index.d.ts.map +1 -1
- package/dist/browser/classic/deidServices/index.js +1 -1
- package/dist/browser/classic/deidServices/index.js.map +1 -1
- package/dist/browser/classic/index.js +1 -1
- package/dist/browser/classic/index.js.map +1 -1
- package/dist/browser/classic/operations/index.d.ts +3 -3
- package/dist/browser/classic/operations/index.d.ts.map +1 -1
- package/dist/browser/classic/operations/index.js +1 -1
- package/dist/browser/classic/operations/index.js.map +1 -1
- package/dist/browser/classic/privateEndpointConnections/index.d.ts +3 -3
- package/dist/browser/classic/privateEndpointConnections/index.d.ts.map +1 -1
- package/dist/browser/classic/privateEndpointConnections/index.js +1 -1
- package/dist/browser/classic/privateEndpointConnections/index.js.map +1 -1
- package/dist/browser/classic/privateLinks/index.d.ts +3 -3
- package/dist/browser/classic/privateLinks/index.d.ts.map +1 -1
- package/dist/browser/classic/privateLinks/index.js +1 -1
- package/dist/browser/classic/privateLinks/index.js.map +1 -1
- package/dist/browser/healthDataAIServicesClient.d.ts +2 -2
- package/dist/browser/healthDataAIServicesClient.d.ts.map +1 -1
- package/dist/browser/healthDataAIServicesClient.js +2 -2
- package/dist/browser/healthDataAIServicesClient.js.map +1 -1
- package/dist/browser/helpers/serializerHelpers.js +1 -1
- package/dist/browser/helpers/serializerHelpers.js.map +1 -1
- package/dist/browser/index.d.ts +5 -2
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +3 -3
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/logger.js +1 -1
- package/dist/browser/logger.js.map +1 -1
- package/dist/browser/models/index.d.ts +1 -3
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +2 -2
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +140 -125
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +319 -73
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/restorePollerHelpers.d.ts +2 -2
- package/dist/browser/restorePollerHelpers.d.ts.map +1 -1
- package/dist/browser/restorePollerHelpers.js +27 -11
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/browser/{models/pagingTypes.d.ts → static-helpers/pagingHelpers.d.ts} +6 -1
- package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/{esm/api → browser/static-helpers}/pagingHelpers.js +5 -6
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/{esm/api → browser/static-helpers}/pollingHelpers.d.ts +1 -1
- package/dist/browser/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/browser/{api → static-helpers}/pollingHelpers.js +7 -12
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/commonjs/api/deidServices/index.d.ts +16 -17
- package/dist/commonjs/api/deidServices/index.d.ts.map +1 -1
- package/dist/commonjs/api/deidServices/index.js +30 -422
- package/dist/commonjs/api/deidServices/index.js.map +1 -1
- package/dist/commonjs/api/healthDataAIServicesContext.d.ts +4 -4
- package/dist/commonjs/api/healthDataAIServicesContext.d.ts.map +1 -1
- package/dist/commonjs/api/healthDataAIServicesContext.js +28 -7
- package/dist/commonjs/api/healthDataAIServicesContext.js.map +1 -1
- package/dist/commonjs/api/index.d.ts +2 -1
- package/dist/commonjs/api/index.d.ts.map +1 -1
- package/dist/commonjs/api/index.js +1 -1
- package/dist/commonjs/api/index.js.map +1 -1
- package/dist/commonjs/api/operations/index.d.ts +6 -7
- package/dist/commonjs/api/operations/index.d.ts.map +1 -1
- package/dist/commonjs/api/operations/index.js +7 -25
- package/dist/commonjs/api/operations/index.js.map +1 -1
- package/dist/commonjs/api/options.d.ts.map +1 -0
- package/dist/commonjs/{models → api}/options.js +1 -1
- package/dist/commonjs/api/options.js.map +1 -0
- package/dist/commonjs/api/privateEndpointConnections/index.d.ts +12 -13
- package/dist/commonjs/api/privateEndpointConnections/index.d.ts.map +1 -1
- package/dist/commonjs/api/privateEndpointConnections/index.js +20 -124
- package/dist/commonjs/api/privateEndpointConnections/index.js.map +1 -1
- package/dist/commonjs/api/privateLinks/index.d.ts +6 -7
- package/dist/commonjs/api/privateLinks/index.d.ts.map +1 -1
- package/dist/commonjs/api/privateLinks/index.js +7 -37
- package/dist/commonjs/api/privateLinks/index.js.map +1 -1
- package/dist/commonjs/classic/deidServices/index.d.ts +4 -4
- package/dist/commonjs/classic/deidServices/index.d.ts.map +1 -1
- package/dist/commonjs/classic/deidServices/index.js +1 -1
- package/dist/commonjs/classic/deidServices/index.js.map +1 -1
- package/dist/commonjs/classic/index.js +1 -1
- package/dist/commonjs/classic/index.js.map +1 -1
- package/dist/commonjs/classic/operations/index.d.ts +3 -3
- package/dist/commonjs/classic/operations/index.d.ts.map +1 -1
- package/dist/commonjs/classic/operations/index.js +1 -1
- package/dist/commonjs/classic/operations/index.js.map +1 -1
- package/dist/commonjs/classic/privateEndpointConnections/index.d.ts +3 -3
- package/dist/commonjs/classic/privateEndpointConnections/index.d.ts.map +1 -1
- package/dist/commonjs/classic/privateEndpointConnections/index.js +1 -1
- package/dist/commonjs/classic/privateEndpointConnections/index.js.map +1 -1
- package/dist/commonjs/classic/privateLinks/index.d.ts +3 -3
- package/dist/commonjs/classic/privateLinks/index.d.ts.map +1 -1
- package/dist/commonjs/classic/privateLinks/index.js +1 -1
- package/dist/commonjs/classic/privateLinks/index.js.map +1 -1
- package/dist/commonjs/healthDataAIServicesClient.d.ts +2 -2
- package/dist/commonjs/healthDataAIServicesClient.d.ts.map +1 -1
- package/dist/commonjs/healthDataAIServicesClient.js +2 -2
- package/dist/commonjs/healthDataAIServicesClient.js.map +1 -1
- package/dist/commonjs/helpers/serializerHelpers.js +1 -1
- package/dist/commonjs/helpers/serializerHelpers.js.map +1 -1
- package/dist/commonjs/index.d.ts +5 -2
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +4 -3
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/logger.js +1 -1
- package/dist/commonjs/logger.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +1 -3
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +4 -3
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/models.d.ts +140 -125
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +350 -76
- package/dist/commonjs/models/models.js.map +1 -1
- package/dist/commonjs/restorePollerHelpers.d.ts +2 -2
- package/dist/commonjs/restorePollerHelpers.d.ts.map +1 -1
- package/dist/commonjs/restorePollerHelpers.js +27 -11
- package/dist/commonjs/restorePollerHelpers.js.map +1 -1
- package/dist/commonjs/{models/pagingTypes.d.ts → static-helpers/pagingHelpers.d.ts} +6 -1
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/commonjs/{api → static-helpers}/pagingHelpers.js +5 -6
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/{browser/api → commonjs/static-helpers}/pollingHelpers.d.ts +1 -1
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/commonjs/{api → static-helpers}/pollingHelpers.js +7 -12
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/deidServices/index.d.ts +16 -17
- package/dist/esm/api/deidServices/index.d.ts.map +1 -1
- package/dist/esm/api/deidServices/index.js +32 -424
- package/dist/esm/api/deidServices/index.js.map +1 -1
- package/dist/esm/api/healthDataAIServicesContext.d.ts +4 -4
- package/dist/esm/api/healthDataAIServicesContext.d.ts.map +1 -1
- package/dist/esm/api/healthDataAIServicesContext.js +29 -7
- package/dist/esm/api/healthDataAIServicesContext.js.map +1 -1
- package/dist/esm/api/index.d.ts +2 -1
- package/dist/esm/api/index.d.ts.map +1 -1
- package/dist/esm/api/index.js +1 -1
- package/dist/esm/api/index.js.map +1 -1
- package/dist/esm/api/operations/index.d.ts +6 -7
- package/dist/esm/api/operations/index.d.ts.map +1 -1
- package/dist/esm/api/operations/index.js +8 -26
- package/dist/esm/api/operations/index.js.map +1 -1
- package/dist/esm/api/options.d.ts.map +1 -0
- package/dist/esm/api/options.js +4 -0
- package/dist/esm/api/options.js.map +1 -0
- package/dist/esm/api/privateEndpointConnections/index.d.ts +12 -13
- package/dist/esm/api/privateEndpointConnections/index.d.ts.map +1 -1
- package/dist/esm/api/privateEndpointConnections/index.js +22 -126
- package/dist/esm/api/privateEndpointConnections/index.js.map +1 -1
- package/dist/esm/api/privateLinks/index.d.ts +6 -7
- package/dist/esm/api/privateLinks/index.d.ts.map +1 -1
- package/dist/esm/api/privateLinks/index.js +8 -38
- package/dist/esm/api/privateLinks/index.js.map +1 -1
- package/dist/esm/classic/deidServices/index.d.ts +4 -4
- package/dist/esm/classic/deidServices/index.d.ts.map +1 -1
- package/dist/esm/classic/deidServices/index.js +1 -1
- package/dist/esm/classic/deidServices/index.js.map +1 -1
- package/dist/esm/classic/index.js +1 -1
- package/dist/esm/classic/index.js.map +1 -1
- package/dist/esm/classic/operations/index.d.ts +3 -3
- package/dist/esm/classic/operations/index.d.ts.map +1 -1
- package/dist/esm/classic/operations/index.js +1 -1
- package/dist/esm/classic/operations/index.js.map +1 -1
- package/dist/esm/classic/privateEndpointConnections/index.d.ts +3 -3
- package/dist/esm/classic/privateEndpointConnections/index.d.ts.map +1 -1
- package/dist/esm/classic/privateEndpointConnections/index.js +1 -1
- package/dist/esm/classic/privateEndpointConnections/index.js.map +1 -1
- package/dist/esm/classic/privateLinks/index.d.ts +3 -3
- package/dist/esm/classic/privateLinks/index.d.ts.map +1 -1
- package/dist/esm/classic/privateLinks/index.js +1 -1
- package/dist/esm/classic/privateLinks/index.js.map +1 -1
- package/dist/esm/healthDataAIServicesClient.d.ts +2 -2
- package/dist/esm/healthDataAIServicesClient.d.ts.map +1 -1
- package/dist/esm/healthDataAIServicesClient.js +2 -2
- package/dist/esm/healthDataAIServicesClient.js.map +1 -1
- package/dist/esm/helpers/serializerHelpers.js +1 -1
- package/dist/esm/helpers/serializerHelpers.js.map +1 -1
- package/dist/esm/index.d.ts +5 -2
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/logger.js +1 -1
- package/dist/esm/logger.js.map +1 -1
- package/dist/esm/models/index.d.ts +1 -3
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +2 -2
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +140 -125
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +319 -73
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/restorePollerHelpers.d.ts +2 -2
- package/dist/esm/restorePollerHelpers.d.ts.map +1 -1
- package/dist/esm/restorePollerHelpers.js +27 -11
- package/dist/esm/restorePollerHelpers.js.map +1 -1
- package/dist/esm/{models/pagingTypes.d.ts → static-helpers/pagingHelpers.d.ts} +6 -1
- package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/{react-native/api → esm/static-helpers}/pagingHelpers.js +5 -6
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/{commonjs/api → esm/static-helpers}/pollingHelpers.d.ts +1 -1
- package/dist/esm/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/{react-native/api → esm/static-helpers}/pollingHelpers.js +7 -12
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/react-native/api/deidServices/index.d.ts +16 -17
- package/dist/react-native/api/deidServices/index.d.ts.map +1 -1
- package/dist/react-native/api/deidServices/index.js +32 -424
- package/dist/react-native/api/deidServices/index.js.map +1 -1
- package/dist/react-native/api/healthDataAIServicesContext.d.ts +4 -4
- package/dist/react-native/api/healthDataAIServicesContext.d.ts.map +1 -1
- package/dist/react-native/api/healthDataAIServicesContext.js +29 -7
- package/dist/react-native/api/healthDataAIServicesContext.js.map +1 -1
- package/dist/react-native/api/index.d.ts +2 -1
- package/dist/react-native/api/index.d.ts.map +1 -1
- package/dist/react-native/api/index.js +1 -1
- package/dist/react-native/api/index.js.map +1 -1
- package/dist/react-native/api/operations/index.d.ts +6 -7
- package/dist/react-native/api/operations/index.d.ts.map +1 -1
- package/dist/react-native/api/operations/index.js +8 -26
- package/dist/react-native/api/operations/index.js.map +1 -1
- package/dist/react-native/api/options.d.ts.map +1 -0
- package/dist/react-native/api/options.js +4 -0
- package/dist/react-native/api/options.js.map +1 -0
- package/dist/react-native/api/privateEndpointConnections/index.d.ts +12 -13
- package/dist/react-native/api/privateEndpointConnections/index.d.ts.map +1 -1
- package/dist/react-native/api/privateEndpointConnections/index.js +22 -126
- package/dist/react-native/api/privateEndpointConnections/index.js.map +1 -1
- package/dist/react-native/api/privateLinks/index.d.ts +6 -7
- package/dist/react-native/api/privateLinks/index.d.ts.map +1 -1
- package/dist/react-native/api/privateLinks/index.js +8 -38
- package/dist/react-native/api/privateLinks/index.js.map +1 -1
- package/dist/react-native/classic/deidServices/index.d.ts +4 -4
- package/dist/react-native/classic/deidServices/index.d.ts.map +1 -1
- package/dist/react-native/classic/deidServices/index.js +1 -1
- package/dist/react-native/classic/deidServices/index.js.map +1 -1
- package/dist/react-native/classic/index.js +1 -1
- package/dist/react-native/classic/index.js.map +1 -1
- package/dist/react-native/classic/operations/index.d.ts +3 -3
- package/dist/react-native/classic/operations/index.d.ts.map +1 -1
- package/dist/react-native/classic/operations/index.js +1 -1
- package/dist/react-native/classic/operations/index.js.map +1 -1
- package/dist/react-native/classic/privateEndpointConnections/index.d.ts +3 -3
- package/dist/react-native/classic/privateEndpointConnections/index.d.ts.map +1 -1
- package/dist/react-native/classic/privateEndpointConnections/index.js +1 -1
- package/dist/react-native/classic/privateEndpointConnections/index.js.map +1 -1
- package/dist/react-native/classic/privateLinks/index.d.ts +3 -3
- package/dist/react-native/classic/privateLinks/index.d.ts.map +1 -1
- package/dist/react-native/classic/privateLinks/index.js +1 -1
- package/dist/react-native/classic/privateLinks/index.js.map +1 -1
- package/dist/react-native/healthDataAIServicesClient.d.ts +2 -2
- package/dist/react-native/healthDataAIServicesClient.d.ts.map +1 -1
- package/dist/react-native/healthDataAIServicesClient.js +2 -2
- package/dist/react-native/healthDataAIServicesClient.js.map +1 -1
- package/dist/react-native/helpers/serializerHelpers.js +1 -1
- package/dist/react-native/helpers/serializerHelpers.js.map +1 -1
- package/dist/react-native/index.d.ts +5 -2
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +3 -3
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/logger.js +1 -1
- package/dist/react-native/logger.js.map +1 -1
- package/dist/react-native/models/index.d.ts +1 -3
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +2 -2
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +140 -125
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +319 -73
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/restorePollerHelpers.d.ts +2 -2
- package/dist/react-native/restorePollerHelpers.d.ts.map +1 -1
- package/dist/react-native/restorePollerHelpers.js +27 -11
- package/dist/react-native/restorePollerHelpers.js.map +1 -1
- package/dist/react-native/{models/pagingTypes.d.ts → static-helpers/pagingHelpers.d.ts} +6 -1
- package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/{browser/api → react-native/static-helpers}/pagingHelpers.js +5 -6
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/react-native/{api → static-helpers}/pollingHelpers.d.ts +1 -1
- package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/{esm/api → react-native/static-helpers}/pollingHelpers.js +7 -12
- package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
- package/package.json +31 -58
- package/review/arm-healthdataaiservices-models.api.md +16 -105
- package/review/arm-healthdataaiservices.api.md +16 -33
- package/dist/browser/api/pagingHelpers.d.ts +0 -7
- package/dist/browser/api/pagingHelpers.d.ts.map +0 -1
- package/dist/browser/api/pagingHelpers.js.map +0 -1
- package/dist/browser/api/pollingHelpers.d.ts.map +0 -1
- package/dist/browser/api/pollingHelpers.js.map +0 -1
- package/dist/browser/models/options.d.ts.map +0 -1
- package/dist/browser/models/options.js +0 -4
- package/dist/browser/models/options.js.map +0 -1
- package/dist/browser/models/pagingTypes.d.ts.map +0 -1
- package/dist/browser/models/pagingTypes.js +0 -4
- package/dist/browser/models/pagingTypes.js.map +0 -1
- package/dist/browser/rest/clientDefinitions.d.ts +0 -61
- package/dist/browser/rest/clientDefinitions.d.ts.map +0 -1
- package/dist/browser/rest/clientDefinitions.js +0 -4
- package/dist/browser/rest/clientDefinitions.js.map +0 -1
- package/dist/browser/rest/healthDataAIServicesClient.d.ts +0 -15
- package/dist/browser/rest/healthDataAIServicesClient.d.ts.map +0 -1
- package/dist/browser/rest/healthDataAIServicesClient.js +0 -42
- package/dist/browser/rest/healthDataAIServicesClient.js.map +0 -1
- package/dist/browser/rest/index.d.ts +0 -12
- package/dist/browser/rest/index.d.ts.map +0 -1
- package/dist/browser/rest/index.js +0 -14
- package/dist/browser/rest/index.js.map +0 -1
- package/dist/browser/rest/isUnexpected.d.ts +0 -14
- package/dist/browser/rest/isUnexpected.d.ts.map +0 -1
- package/dist/browser/rest/isUnexpected.js +0 -83
- package/dist/browser/rest/isUnexpected.js.map +0 -1
- package/dist/browser/rest/models.d.ts +0 -213
- package/dist/browser/rest/models.d.ts.map +0 -1
- package/dist/browser/rest/models.js +0 -4
- package/dist/browser/rest/models.js.map +0 -1
- package/dist/browser/rest/outputModels.d.ts +0 -304
- package/dist/browser/rest/outputModels.d.ts.map +0 -1
- package/dist/browser/rest/outputModels.js +0 -4
- package/dist/browser/rest/outputModels.js.map +0 -1
- package/dist/browser/rest/paginateHelper.d.ts +0 -43
- package/dist/browser/rest/paginateHelper.d.ts.map +0 -1
- package/dist/browser/rest/paginateHelper.js +0 -70
- package/dist/browser/rest/paginateHelper.js.map +0 -1
- package/dist/browser/rest/parameters.d.ts +0 -27
- package/dist/browser/rest/parameters.d.ts.map +0 -1
- package/dist/browser/rest/parameters.js +0 -4
- package/dist/browser/rest/parameters.js.map +0 -1
- package/dist/browser/rest/pollingHelper.d.ts +0 -81
- package/dist/browser/rest/pollingHelper.d.ts.map +0 -1
- package/dist/browser/rest/pollingHelper.js +0 -97
- package/dist/browser/rest/pollingHelper.js.map +0 -1
- package/dist/browser/rest/responses.d.ts +0 -190
- package/dist/browser/rest/responses.d.ts.map +0 -1
- package/dist/browser/rest/responses.js +0 -4
- package/dist/browser/rest/responses.js.map +0 -1
- package/dist/commonjs/api/pagingHelpers.d.ts +0 -7
- package/dist/commonjs/api/pagingHelpers.d.ts.map +0 -1
- package/dist/commonjs/api/pagingHelpers.js.map +0 -1
- package/dist/commonjs/api/pollingHelpers.d.ts.map +0 -1
- package/dist/commonjs/api/pollingHelpers.js.map +0 -1
- package/dist/commonjs/models/options.d.ts.map +0 -1
- package/dist/commonjs/models/options.js.map +0 -1
- package/dist/commonjs/models/pagingTypes.d.ts.map +0 -1
- package/dist/commonjs/models/pagingTypes.js +0 -5
- package/dist/commonjs/models/pagingTypes.js.map +0 -1
- package/dist/commonjs/rest/clientDefinitions.d.ts +0 -61
- package/dist/commonjs/rest/clientDefinitions.d.ts.map +0 -1
- package/dist/commonjs/rest/clientDefinitions.js +0 -5
- package/dist/commonjs/rest/clientDefinitions.js.map +0 -1
- package/dist/commonjs/rest/healthDataAIServicesClient.d.ts +0 -15
- package/dist/commonjs/rest/healthDataAIServicesClient.d.ts.map +0 -1
- package/dist/commonjs/rest/healthDataAIServicesClient.js +0 -45
- package/dist/commonjs/rest/healthDataAIServicesClient.js.map +0 -1
- package/dist/commonjs/rest/index.d.ts +0 -12
- package/dist/commonjs/rest/index.d.ts.map +0 -1
- package/dist/commonjs/rest/index.js +0 -17
- package/dist/commonjs/rest/index.js.map +0 -1
- package/dist/commonjs/rest/isUnexpected.d.ts +0 -14
- package/dist/commonjs/rest/isUnexpected.d.ts.map +0 -1
- package/dist/commonjs/rest/isUnexpected.js +0 -86
- package/dist/commonjs/rest/isUnexpected.js.map +0 -1
- package/dist/commonjs/rest/models.d.ts +0 -213
- package/dist/commonjs/rest/models.d.ts.map +0 -1
- package/dist/commonjs/rest/models.js +0 -5
- package/dist/commonjs/rest/models.js.map +0 -1
- package/dist/commonjs/rest/outputModels.d.ts +0 -304
- package/dist/commonjs/rest/outputModels.d.ts.map +0 -1
- package/dist/commonjs/rest/outputModels.js +0 -5
- package/dist/commonjs/rest/outputModels.js.map +0 -1
- package/dist/commonjs/rest/paginateHelper.d.ts +0 -43
- package/dist/commonjs/rest/paginateHelper.d.ts.map +0 -1
- package/dist/commonjs/rest/paginateHelper.js +0 -73
- package/dist/commonjs/rest/paginateHelper.js.map +0 -1
- package/dist/commonjs/rest/parameters.d.ts +0 -27
- package/dist/commonjs/rest/parameters.d.ts.map +0 -1
- package/dist/commonjs/rest/parameters.js +0 -5
- package/dist/commonjs/rest/parameters.js.map +0 -1
- package/dist/commonjs/rest/pollingHelper.d.ts +0 -81
- package/dist/commonjs/rest/pollingHelper.d.ts.map +0 -1
- package/dist/commonjs/rest/pollingHelper.js +0 -100
- package/dist/commonjs/rest/pollingHelper.js.map +0 -1
- package/dist/commonjs/rest/responses.d.ts +0 -190
- package/dist/commonjs/rest/responses.d.ts.map +0 -1
- package/dist/commonjs/rest/responses.js +0 -5
- package/dist/commonjs/rest/responses.js.map +0 -1
- package/dist/esm/api/pagingHelpers.d.ts +0 -7
- package/dist/esm/api/pagingHelpers.d.ts.map +0 -1
- package/dist/esm/api/pagingHelpers.js.map +0 -1
- package/dist/esm/api/pollingHelpers.d.ts.map +0 -1
- package/dist/esm/api/pollingHelpers.js.map +0 -1
- package/dist/esm/models/options.d.ts.map +0 -1
- package/dist/esm/models/options.js +0 -4
- package/dist/esm/models/options.js.map +0 -1
- package/dist/esm/models/pagingTypes.d.ts.map +0 -1
- package/dist/esm/models/pagingTypes.js +0 -4
- package/dist/esm/models/pagingTypes.js.map +0 -1
- package/dist/esm/rest/clientDefinitions.d.ts +0 -61
- package/dist/esm/rest/clientDefinitions.d.ts.map +0 -1
- package/dist/esm/rest/clientDefinitions.js +0 -4
- package/dist/esm/rest/clientDefinitions.js.map +0 -1
- package/dist/esm/rest/healthDataAIServicesClient.d.ts +0 -15
- package/dist/esm/rest/healthDataAIServicesClient.d.ts.map +0 -1
- package/dist/esm/rest/healthDataAIServicesClient.js +0 -42
- package/dist/esm/rest/healthDataAIServicesClient.js.map +0 -1
- package/dist/esm/rest/index.d.ts +0 -12
- package/dist/esm/rest/index.d.ts.map +0 -1
- package/dist/esm/rest/index.js +0 -14
- package/dist/esm/rest/index.js.map +0 -1
- package/dist/esm/rest/isUnexpected.d.ts +0 -14
- package/dist/esm/rest/isUnexpected.d.ts.map +0 -1
- package/dist/esm/rest/isUnexpected.js +0 -83
- package/dist/esm/rest/isUnexpected.js.map +0 -1
- package/dist/esm/rest/models.d.ts +0 -213
- package/dist/esm/rest/models.d.ts.map +0 -1
- package/dist/esm/rest/models.js +0 -4
- package/dist/esm/rest/models.js.map +0 -1
- package/dist/esm/rest/outputModels.d.ts +0 -304
- package/dist/esm/rest/outputModels.d.ts.map +0 -1
- package/dist/esm/rest/outputModels.js +0 -4
- package/dist/esm/rest/outputModels.js.map +0 -1
- package/dist/esm/rest/paginateHelper.d.ts +0 -43
- package/dist/esm/rest/paginateHelper.d.ts.map +0 -1
- package/dist/esm/rest/paginateHelper.js +0 -70
- package/dist/esm/rest/paginateHelper.js.map +0 -1
- package/dist/esm/rest/parameters.d.ts +0 -27
- package/dist/esm/rest/parameters.d.ts.map +0 -1
- package/dist/esm/rest/parameters.js +0 -4
- package/dist/esm/rest/parameters.js.map +0 -1
- package/dist/esm/rest/pollingHelper.d.ts +0 -81
- package/dist/esm/rest/pollingHelper.d.ts.map +0 -1
- package/dist/esm/rest/pollingHelper.js +0 -97
- package/dist/esm/rest/pollingHelper.js.map +0 -1
- package/dist/esm/rest/responses.d.ts +0 -190
- package/dist/esm/rest/responses.d.ts.map +0 -1
- package/dist/esm/rest/responses.js +0 -4
- package/dist/esm/rest/responses.js.map +0 -1
- package/dist/react-native/api/pagingHelpers.d.ts +0 -7
- package/dist/react-native/api/pagingHelpers.d.ts.map +0 -1
- package/dist/react-native/api/pagingHelpers.js.map +0 -1
- package/dist/react-native/api/pollingHelpers.d.ts.map +0 -1
- package/dist/react-native/api/pollingHelpers.js.map +0 -1
- package/dist/react-native/models/options.d.ts.map +0 -1
- package/dist/react-native/models/options.js +0 -4
- package/dist/react-native/models/options.js.map +0 -1
- package/dist/react-native/models/pagingTypes.d.ts.map +0 -1
- package/dist/react-native/models/pagingTypes.js +0 -4
- package/dist/react-native/models/pagingTypes.js.map +0 -1
- package/dist/react-native/rest/clientDefinitions.d.ts +0 -61
- package/dist/react-native/rest/clientDefinitions.d.ts.map +0 -1
- package/dist/react-native/rest/clientDefinitions.js +0 -4
- package/dist/react-native/rest/clientDefinitions.js.map +0 -1
- package/dist/react-native/rest/healthDataAIServicesClient.d.ts +0 -15
- package/dist/react-native/rest/healthDataAIServicesClient.d.ts.map +0 -1
- package/dist/react-native/rest/healthDataAIServicesClient.js +0 -42
- package/dist/react-native/rest/healthDataAIServicesClient.js.map +0 -1
- package/dist/react-native/rest/index.d.ts +0 -12
- package/dist/react-native/rest/index.d.ts.map +0 -1
- package/dist/react-native/rest/index.js +0 -14
- package/dist/react-native/rest/index.js.map +0 -1
- package/dist/react-native/rest/isUnexpected.d.ts +0 -14
- package/dist/react-native/rest/isUnexpected.d.ts.map +0 -1
- package/dist/react-native/rest/isUnexpected.js +0 -83
- package/dist/react-native/rest/isUnexpected.js.map +0 -1
- package/dist/react-native/rest/models.d.ts +0 -213
- package/dist/react-native/rest/models.d.ts.map +0 -1
- package/dist/react-native/rest/models.js +0 -4
- package/dist/react-native/rest/models.js.map +0 -1
- package/dist/react-native/rest/outputModels.d.ts +0 -304
- package/dist/react-native/rest/outputModels.d.ts.map +0 -1
- package/dist/react-native/rest/outputModels.js +0 -4
- package/dist/react-native/rest/outputModels.js.map +0 -1
- package/dist/react-native/rest/paginateHelper.d.ts +0 -43
- package/dist/react-native/rest/paginateHelper.d.ts.map +0 -1
- package/dist/react-native/rest/paginateHelper.js +0 -70
- package/dist/react-native/rest/paginateHelper.js.map +0 -1
- package/dist/react-native/rest/parameters.d.ts +0 -27
- package/dist/react-native/rest/parameters.d.ts.map +0 -1
- package/dist/react-native/rest/parameters.js +0 -4
- package/dist/react-native/rest/parameters.js.map +0 -1
- package/dist/react-native/rest/pollingHelper.d.ts +0 -81
- package/dist/react-native/rest/pollingHelper.d.ts.map +0 -1
- package/dist/react-native/rest/pollingHelper.js +0 -97
- package/dist/react-native/rest/pollingHelper.js.map +0 -1
- package/dist/react-native/rest/responses.d.ts +0 -190
- package/dist/react-native/rest/responses.d.ts.map +0 -1
- package/dist/react-native/rest/responses.js +0 -4
- package/dist/react-native/rest/responses.js.map +0 -1
- /package/dist/browser/{models → api}/options.d.ts +0 -0
- /package/dist/commonjs/{models → api}/options.d.ts +0 -0
- /package/dist/esm/{models → api}/options.d.ts +0 -0
- /package/dist/react-native/{models → api}/options.d.ts +0 -0
|
@@ -1,304 +0,0 @@
|
|
|
1
|
-
import { Paged } from "@azure/core-paging";
|
|
2
|
-
/** Details of a REST API operation, returned from the Resource Provider Operations API */
|
|
3
|
-
export interface OperationOutput {
|
|
4
|
-
/** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" */
|
|
5
|
-
readonly name?: string;
|
|
6
|
-
/** Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure Resource Manager/control-plane operations. */
|
|
7
|
-
readonly isDataAction?: boolean;
|
|
8
|
-
/** Localized display information for this particular operation. */
|
|
9
|
-
readonly display?: OperationDisplayOutput;
|
|
10
|
-
/**
|
|
11
|
-
* The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
|
|
12
|
-
*
|
|
13
|
-
* Possible values: "user", "system", "user,system"
|
|
14
|
-
*/
|
|
15
|
-
readonly origin?: OriginOutput;
|
|
16
|
-
/**
|
|
17
|
-
* Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
|
|
18
|
-
*
|
|
19
|
-
* Possible values: "Internal"
|
|
20
|
-
*/
|
|
21
|
-
actionType?: ActionTypeOutput;
|
|
22
|
-
}
|
|
23
|
-
/** Localized display information for and operation. */
|
|
24
|
-
export interface OperationDisplayOutput {
|
|
25
|
-
/** The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". */
|
|
26
|
-
readonly provider?: string;
|
|
27
|
-
/** The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". */
|
|
28
|
-
readonly resource?: string;
|
|
29
|
-
/** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". */
|
|
30
|
-
readonly operation?: string;
|
|
31
|
-
/** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */
|
|
32
|
-
readonly description?: string;
|
|
33
|
-
}
|
|
34
|
-
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */
|
|
35
|
-
export interface ErrorResponseOutput {
|
|
36
|
-
/** The error object. */
|
|
37
|
-
error?: ErrorDetailOutput;
|
|
38
|
-
}
|
|
39
|
-
/** The error detail. */
|
|
40
|
-
export interface ErrorDetailOutput {
|
|
41
|
-
/** The error code. */
|
|
42
|
-
readonly code?: string;
|
|
43
|
-
/** The error message. */
|
|
44
|
-
readonly message?: string;
|
|
45
|
-
/** The error target. */
|
|
46
|
-
readonly target?: string;
|
|
47
|
-
/** The error details. */
|
|
48
|
-
readonly details?: Array<ErrorDetailOutput>;
|
|
49
|
-
/** The error additional info. */
|
|
50
|
-
readonly additionalInfo?: Array<ErrorAdditionalInfoOutput>;
|
|
51
|
-
}
|
|
52
|
-
/** The resource management error additional info. */
|
|
53
|
-
export interface ErrorAdditionalInfoOutput {
|
|
54
|
-
/** The additional info type. */
|
|
55
|
-
readonly type?: string;
|
|
56
|
-
/** The additional info. */
|
|
57
|
-
readonly info?: Record<string, any>;
|
|
58
|
-
}
|
|
59
|
-
/** A HealthDataAIServicesProviderHub resource */
|
|
60
|
-
export interface DeidServiceOutput extends TrackedResourceOutput {
|
|
61
|
-
/** The resource-specific properties for this resource. */
|
|
62
|
-
properties?: DeidServicePropertiesOutput;
|
|
63
|
-
/** The managed service identities assigned to this resource. */
|
|
64
|
-
identity?: ManagedServiceIdentityOutput;
|
|
65
|
-
}
|
|
66
|
-
/** Details of the HealthDataAIServices DeidService. */
|
|
67
|
-
export interface DeidServicePropertiesOutput {
|
|
68
|
-
/**
|
|
69
|
-
* The status of the last operation.
|
|
70
|
-
*
|
|
71
|
-
* Possible values: "Provisioning", "Updating", "Deleting", "Accepted"
|
|
72
|
-
*/
|
|
73
|
-
readonly provisioningState?: ProvisioningStateOutput;
|
|
74
|
-
/** Deid service url. */
|
|
75
|
-
readonly serviceUrl?: string;
|
|
76
|
-
/** List of private endpoint connections. */
|
|
77
|
-
readonly privateEndpointConnections?: Array<PrivateEndpointConnectionOutput>;
|
|
78
|
-
/** Gets or sets allow or disallow public network access to resource */
|
|
79
|
-
publicNetworkAccess?: PublicNetworkAccessOutput;
|
|
80
|
-
}
|
|
81
|
-
/** The private endpoint connection resource */
|
|
82
|
-
export interface PrivateEndpointConnectionOutput extends ResourceOutput {
|
|
83
|
-
/** The private endpoint connection properties */
|
|
84
|
-
properties?: PrivateEndpointConnectionPropertiesOutput;
|
|
85
|
-
}
|
|
86
|
-
/** Properties of the private endpoint connection. */
|
|
87
|
-
export interface PrivateEndpointConnectionPropertiesOutput {
|
|
88
|
-
/** The group ids for the private endpoint resource. */
|
|
89
|
-
readonly groupIds?: string[];
|
|
90
|
-
/** The private endpoint resource. */
|
|
91
|
-
privateEndpoint?: PrivateEndpointOutput;
|
|
92
|
-
/** A collection of information about the state of the connection between service consumer and provider. */
|
|
93
|
-
privateLinkServiceConnectionState: PrivateLinkServiceConnectionStateOutput;
|
|
94
|
-
/**
|
|
95
|
-
* The provisioning state of the private endpoint connection resource.
|
|
96
|
-
*
|
|
97
|
-
* Possible values: "Succeeded", "Creating", "Deleting", "Failed"
|
|
98
|
-
*/
|
|
99
|
-
readonly provisioningState?: PrivateEndpointConnectionProvisioningStateOutput;
|
|
100
|
-
}
|
|
101
|
-
/** The Private Endpoint resource. */
|
|
102
|
-
export interface PrivateEndpointOutput {
|
|
103
|
-
/** The resource identifier for private endpoint */
|
|
104
|
-
readonly id?: string;
|
|
105
|
-
}
|
|
106
|
-
/** A collection of information about the state of the connection between service consumer and provider. */
|
|
107
|
-
export interface PrivateLinkServiceConnectionStateOutput {
|
|
108
|
-
/**
|
|
109
|
-
* Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
|
|
110
|
-
*
|
|
111
|
-
* Possible values: "Pending", "Approved", "Rejected"
|
|
112
|
-
*/
|
|
113
|
-
status?: PrivateEndpointServiceConnectionStatusOutput;
|
|
114
|
-
/** The reason for approval/rejection of the connection. */
|
|
115
|
-
description?: string;
|
|
116
|
-
/** A message indicating if changes on the service provider require any updates on the consumer. */
|
|
117
|
-
actionsRequired?: string;
|
|
118
|
-
}
|
|
119
|
-
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
120
|
-
export interface ResourceOutput {
|
|
121
|
-
/** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */
|
|
122
|
-
readonly id?: string;
|
|
123
|
-
/** The name of the resource */
|
|
124
|
-
readonly name?: string;
|
|
125
|
-
/** The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */
|
|
126
|
-
readonly type?: string;
|
|
127
|
-
/** Azure Resource Manager metadata containing createdBy and modifiedBy information. */
|
|
128
|
-
readonly systemData?: SystemDataOutput;
|
|
129
|
-
}
|
|
130
|
-
/** Metadata pertaining to creation and last modification of the resource. */
|
|
131
|
-
export interface SystemDataOutput {
|
|
132
|
-
/** The identity that created the resource. */
|
|
133
|
-
createdBy?: string;
|
|
134
|
-
/**
|
|
135
|
-
* The type of identity that created the resource.
|
|
136
|
-
*
|
|
137
|
-
* Possible values: "User", "Application", "ManagedIdentity", "Key"
|
|
138
|
-
*/
|
|
139
|
-
createdByType?: CreatedByTypeOutput;
|
|
140
|
-
/** The timestamp of resource creation (UTC). */
|
|
141
|
-
createdAt?: string;
|
|
142
|
-
/** The identity that last modified the resource. */
|
|
143
|
-
lastModifiedBy?: string;
|
|
144
|
-
/**
|
|
145
|
-
* The type of identity that last modified the resource.
|
|
146
|
-
*
|
|
147
|
-
* Possible values: "User", "Application", "ManagedIdentity", "Key"
|
|
148
|
-
*/
|
|
149
|
-
lastModifiedByType?: CreatedByTypeOutput;
|
|
150
|
-
/** The timestamp of resource last modification (UTC) */
|
|
151
|
-
lastModifiedAt?: string;
|
|
152
|
-
}
|
|
153
|
-
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
154
|
-
export interface TrackedResourceOutput extends ResourceOutput {
|
|
155
|
-
/** Resource tags. */
|
|
156
|
-
tags?: Record<string, string>;
|
|
157
|
-
/** The geo-location where the resource lives */
|
|
158
|
-
location: string;
|
|
159
|
-
}
|
|
160
|
-
/** The resource model definition containing the full set of allowed properties for a resource. Except properties bag, there cannot be a top level property outside of this set. */
|
|
161
|
-
export interface ResourceModelWithAllowedPropertySetOutput extends TrackedResourceOutput {
|
|
162
|
-
/**
|
|
163
|
-
* The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource.
|
|
164
|
-
* If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
|
|
165
|
-
*/
|
|
166
|
-
managedBy?: string;
|
|
167
|
-
/**
|
|
168
|
-
* Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type.
|
|
169
|
-
* If supported, the resource provider must validate and persist this value.
|
|
170
|
-
*/
|
|
171
|
-
kind?: string;
|
|
172
|
-
/**
|
|
173
|
-
* The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention.
|
|
174
|
-
* Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19),
|
|
175
|
-
* If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
|
|
176
|
-
*/
|
|
177
|
-
eTag?: string;
|
|
178
|
-
identity?: IdentityOutput;
|
|
179
|
-
sku?: SkuOutput;
|
|
180
|
-
plan?: PlanOutput;
|
|
181
|
-
}
|
|
182
|
-
/** Identity for the resource. */
|
|
183
|
-
export interface IdentityOutput {
|
|
184
|
-
/** The principal ID of resource identity. The value must be an UUID. */
|
|
185
|
-
readonly principalId?: string;
|
|
186
|
-
/** The tenant ID of resource. The value must be an UUID. */
|
|
187
|
-
readonly tenantId?: string;
|
|
188
|
-
/** The identity type. */
|
|
189
|
-
type?: ResourceIdentityTypeOutput;
|
|
190
|
-
}
|
|
191
|
-
/** The resource model definition representing SKU */
|
|
192
|
-
export interface SkuOutput {
|
|
193
|
-
/** The name of the SKU. Ex - P3. It is typically a letter+number code */
|
|
194
|
-
name: string;
|
|
195
|
-
/** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */
|
|
196
|
-
tier?: SkuTierOutput;
|
|
197
|
-
/** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */
|
|
198
|
-
size?: string;
|
|
199
|
-
/** If the service has different generations of hardware, for the same SKU, then that can be captured here. */
|
|
200
|
-
family?: string;
|
|
201
|
-
/** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */
|
|
202
|
-
capacity?: number;
|
|
203
|
-
}
|
|
204
|
-
/** Plan for the resource. */
|
|
205
|
-
export interface PlanOutput {
|
|
206
|
-
/** A user defined name of the 3rd Party Artifact that is being procured. */
|
|
207
|
-
name: string;
|
|
208
|
-
/** The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic */
|
|
209
|
-
publisher: string;
|
|
210
|
-
/** The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. */
|
|
211
|
-
product: string;
|
|
212
|
-
/** A publisher provided promotion code as provisioned in Data Market for the said product/artifact. */
|
|
213
|
-
promotionCode?: string;
|
|
214
|
-
/** The version of the desired product/artifact. */
|
|
215
|
-
version?: string;
|
|
216
|
-
}
|
|
217
|
-
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
218
|
-
export interface ProxyResourceOutput extends ResourceOutput {
|
|
219
|
-
}
|
|
220
|
-
/** Holder for private endpoint connections */
|
|
221
|
-
export interface PrivateEndpointConnectionResourceOutput extends ProxyResourceOutput {
|
|
222
|
-
/** The resource-specific properties for this resource. */
|
|
223
|
-
properties?: PrivateEndpointConnectionPropertiesOutput;
|
|
224
|
-
}
|
|
225
|
-
/** Private Links for DeidService resource */
|
|
226
|
-
export interface PrivateLinkResourceOutput extends ProxyResourceOutput {
|
|
227
|
-
/** The resource-specific properties for this resource. */
|
|
228
|
-
properties?: PrivateLinkResourcePropertiesOutput;
|
|
229
|
-
}
|
|
230
|
-
/** Properties of a private link resource. */
|
|
231
|
-
export interface PrivateLinkResourcePropertiesOutput {
|
|
232
|
-
/** The private link resource group id. */
|
|
233
|
-
readonly groupId?: string;
|
|
234
|
-
/** The private link resource required member names. */
|
|
235
|
-
readonly requiredMembers?: string[];
|
|
236
|
-
/** The private link resource private link DNS zone name. */
|
|
237
|
-
requiredZoneNames?: string[];
|
|
238
|
-
}
|
|
239
|
-
/** The base extension resource. */
|
|
240
|
-
export interface ExtensionResourceOutput extends ResourceOutput {
|
|
241
|
-
}
|
|
242
|
-
/** The resource model definition for an Azure Resource Manager resource with an etag. */
|
|
243
|
-
export interface AzureEntityResourceOutput extends ResourceOutput {
|
|
244
|
-
/** Resource Etag. */
|
|
245
|
-
readonly etag?: string;
|
|
246
|
-
}
|
|
247
|
-
/** A private link resource. */
|
|
248
|
-
export interface PrivateLinkResourceOutput extends ResourceOutput {
|
|
249
|
-
/** Resource properties. */
|
|
250
|
-
properties?: PrivateLinkResourcePropertiesOutput;
|
|
251
|
-
}
|
|
252
|
-
/** Managed service identity (system assigned and/or user assigned identities) */
|
|
253
|
-
export interface ManagedServiceIdentityOutput {
|
|
254
|
-
/** The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. */
|
|
255
|
-
readonly principalId?: string;
|
|
256
|
-
/** The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. */
|
|
257
|
-
readonly tenantId?: string;
|
|
258
|
-
/**
|
|
259
|
-
* The type of managed identity assigned to this resource.
|
|
260
|
-
*
|
|
261
|
-
* Possible values: "None", "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned"
|
|
262
|
-
*/
|
|
263
|
-
type: ManagedServiceIdentityTypeOutput;
|
|
264
|
-
/** The identities assigned to this resource by the user. */
|
|
265
|
-
userAssignedIdentities?: Record<string, UserAssignedIdentityOutput | null>;
|
|
266
|
-
}
|
|
267
|
-
/** User assigned identity properties */
|
|
268
|
-
export interface UserAssignedIdentityOutput {
|
|
269
|
-
/** The principal ID of the assigned identity. */
|
|
270
|
-
readonly principalId?: string;
|
|
271
|
-
/** The client ID of the assigned identity. */
|
|
272
|
-
readonly clientId?: string;
|
|
273
|
-
}
|
|
274
|
-
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
|
|
275
|
-
export type OperationListResultOutput = Paged<OperationOutput>;
|
|
276
|
-
/** Alias for OriginOutput */
|
|
277
|
-
export type OriginOutput = string;
|
|
278
|
-
/** Alias for ActionTypeOutput */
|
|
279
|
-
export type ActionTypeOutput = string;
|
|
280
|
-
/** Alias for ResourceProvisioningStateOutput */
|
|
281
|
-
export type ResourceProvisioningStateOutput = string;
|
|
282
|
-
/** Alias for ProvisioningStateOutput */
|
|
283
|
-
export type ProvisioningStateOutput = string;
|
|
284
|
-
/** Alias for PrivateEndpointServiceConnectionStatusOutput */
|
|
285
|
-
export type PrivateEndpointServiceConnectionStatusOutput = string;
|
|
286
|
-
/** Alias for PrivateEndpointConnectionProvisioningStateOutput */
|
|
287
|
-
export type PrivateEndpointConnectionProvisioningStateOutput = string;
|
|
288
|
-
/** Alias for CreatedByTypeOutput */
|
|
289
|
-
export type CreatedByTypeOutput = string;
|
|
290
|
-
/** Alias for ResourceIdentityTypeOutput */
|
|
291
|
-
export type ResourceIdentityTypeOutput = "SystemAssigned";
|
|
292
|
-
/** Alias for SkuTierOutput */
|
|
293
|
-
export type SkuTierOutput = "Free" | "Basic" | "Standard" | "Premium";
|
|
294
|
-
/** State of the public network access. */
|
|
295
|
-
export type PublicNetworkAccessOutput = "Enabled" | "Disabled";
|
|
296
|
-
/** Alias for ManagedServiceIdentityTypeOutput */
|
|
297
|
-
export type ManagedServiceIdentityTypeOutput = string;
|
|
298
|
-
/** The response of a DeidService list operation. */
|
|
299
|
-
export type DeidServiceListResultOutput = Paged<DeidServiceOutput>;
|
|
300
|
-
/** The response of a PrivateEndpointConnectionResource list operation. */
|
|
301
|
-
export type PrivateEndpointConnectionResourceListResultOutput = Paged<PrivateEndpointConnectionResourceOutput>;
|
|
302
|
-
/** The response of a PrivateLinkResource list operation. */
|
|
303
|
-
export type PrivateLinkResourceListResultOutput = Paged<PrivateLinkResourceOutput>;
|
|
304
|
-
//# sourceMappingURL=outputModels.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"outputModels.d.ts","sourceRoot":"","sources":["../../../src/rest/outputModels.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,0FAA0F;AAC1F,MAAM,WAAW,eAAe;IAC9B,sLAAsL;IACtL,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,6JAA6J;IAC7J,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;IAChC,mEAAmE;IACnE,QAAQ,CAAC,OAAO,CAAC,EAAE,s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mBAAmB,GAAG,MAAM,CAAC;AACzC,2CAA2C;AAC3C,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,CAAC;AAC1D,8BAA8B;AAC9B,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,CAAC;AACtE,0CAA0C;AAC1C,MAAM,MAAM,yBAAyB,GAAG,SAAS,GAAG,UAAU,CAAC;AAC/D,iDAAiD;AACjD,MAAM,MAAM,gCAAgC,GAAG,MAAM,CAAC;AACtD,oDAAoD;AACpD,MAAM,MAAM,2BAA2B,GAAG,KAAK,CAAC,iBAAiB,CAAC,CAAC;AACnE,0EAA0E;AAC1E,MAAM,MAAM,iDAAiD,GAC3D,KAAK,CAAC,uCAAuC,CAAC,CAAC;AACjD,4DAA4D;AAC5D,MAAM,MAAM,mCAAmC,GAAG,KAAK,CAAC,yBAAyB,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"outputModels.js","sourceRoot":"","sources":["../../../src/rest/outputModels.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { Paged } from \"@azure/core-paging\";\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface OperationOutput {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n readonly display?: OperationDisplayOutput;\n /**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\"\n *\n * Possible values: \"user\", \"system\", \"user,system\"\n */\n readonly origin?: OriginOutput;\n /**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.\n *\n * Possible values: \"Internal\"\n */\n actionType?: ActionTypeOutput;\n}\n\n/** Localized display information for and operation. */\nexport interface OperationDisplayOutput {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponseOutput {\n /** The error object. */\n error?: ErrorDetailOutput;\n}\n\n/** The error detail. */\nexport interface ErrorDetailOutput {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: Array<ErrorDetailOutput>;\n /** The error additional info. */\n readonly additionalInfo?: Array<ErrorAdditionalInfoOutput>;\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfoOutput {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: Record<string, any>;\n}\n\n/** A HealthDataAIServicesProviderHub resource */\nexport interface DeidServiceOutput extends TrackedResourceOutput {\n /** The resource-specific properties for this resource. */\n properties?: DeidServicePropertiesOutput;\n /** The managed service identities assigned to this resource. */\n identity?: ManagedServiceIdentityOutput;\n}\n\n/** Details of the HealthDataAIServices DeidService. */\nexport interface DeidServicePropertiesOutput {\n /**\n * The status of the last operation.\n *\n * Possible values: \"Provisioning\", \"Updating\", \"Deleting\", \"Accepted\"\n */\n readonly provisioningState?: ProvisioningStateOutput;\n /** Deid service url. */\n readonly serviceUrl?: string;\n /** List of private endpoint connections. */\n readonly privateEndpointConnections?: Array<PrivateEndpointConnectionOutput>;\n /** Gets or sets allow or disallow public network access to resource */\n publicNetworkAccess?: PublicNetworkAccessOutput;\n}\n\n/** The private endpoint connection resource */\nexport interface PrivateEndpointConnectionOutput extends ResourceOutput {\n /** The private endpoint connection properties */\n properties?: PrivateEndpointConnectionPropertiesOutput;\n}\n\n/** Properties of the private endpoint connection. */\nexport interface PrivateEndpointConnectionPropertiesOutput {\n /** The group ids for the private endpoint resource. */\n readonly groupIds?: string[];\n /** The private endpoint resource. */\n privateEndpoint?: PrivateEndpointOutput;\n /** A collection of information about the state of the connection between service consumer and provider. */\n privateLinkServiceConnectionState: PrivateLinkServiceConnectionStateOutput;\n /**\n * The provisioning state of the private endpoint connection resource.\n *\n * Possible values: \"Succeeded\", \"Creating\", \"Deleting\", \"Failed\"\n */\n readonly provisioningState?: PrivateEndpointConnectionProvisioningStateOutput;\n}\n\n/** The Private Endpoint resource. */\nexport interface PrivateEndpointOutput {\n /** The resource identifier for private endpoint */\n readonly id?: string;\n}\n\n/** A collection of information about the state of the connection between service consumer and provider. */\nexport interface PrivateLinkServiceConnectionStateOutput {\n /**\n * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.\n *\n * Possible values: \"Pending\", \"Approved\", \"Rejected\"\n */\n status?: PrivateEndpointServiceConnectionStatusOutput;\n /** The reason for approval/rejection of the connection. */\n description?: string;\n /** A message indicating if changes on the service provider require any updates on the consumer. */\n actionsRequired?: string;\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface ResourceOutput {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemDataOutput;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemDataOutput {\n /** The identity that created the resource. */\n createdBy?: string;\n /**\n * The type of identity that created the resource.\n *\n * Possible values: \"User\", \"Application\", \"ManagedIdentity\", \"Key\"\n */\n createdByType?: CreatedByTypeOutput;\n /** The timestamp of resource creation (UTC). */\n createdAt?: string;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /**\n * The type of identity that last modified the resource.\n *\n * Possible values: \"User\", \"Application\", \"ManagedIdentity\", \"Key\"\n */\n lastModifiedByType?: CreatedByTypeOutput;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: string;\n}\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResourceOutput extends ResourceOutput {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location: string;\n}\n\n/** The resource model definition containing the full set of allowed properties for a resource. Except properties bag, there cannot be a top level property outside of this set. */\nexport interface ResourceModelWithAllowedPropertySetOutput extends TrackedResourceOutput {\n /**\n * The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource.\n * If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.\n */\n managedBy?: string;\n /**\n * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type.\n * If supported, the resource provider must validate and persist this value.\n */\n kind?: string;\n /**\n * The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention.\n * Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19),\n * If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\n */\n eTag?: string;\n identity?: IdentityOutput;\n sku?: SkuOutput;\n plan?: PlanOutput;\n}\n\n/** Identity for the resource. */\nexport interface IdentityOutput {\n /** The principal ID of resource identity. The value must be an UUID. */\n readonly principalId?: string;\n /** The tenant ID of resource. The value must be an UUID. */\n readonly tenantId?: string;\n /** The identity type. */\n type?: ResourceIdentityTypeOutput;\n}\n\n/** The resource model definition representing SKU */\nexport interface SkuOutput {\n /** The name of the SKU. Ex - P3. It is typically a letter+number code */\n name: string;\n /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */\n tier?: SkuTierOutput;\n /** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */\n size?: string;\n /** If the service has different generations of hardware, for the same SKU, then that can be captured here. */\n family?: string;\n /** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */\n capacity?: number;\n}\n\n/** Plan for the resource. */\nexport interface PlanOutput {\n /** A user defined name of the 3rd Party Artifact that is being procured. */\n name: string;\n /** The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic */\n publisher: string;\n /** The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. */\n product: string;\n /** A publisher provided promotion code as provisioned in Data Market for the said product/artifact. */\n promotionCode?: string;\n /** The version of the desired product/artifact. */\n version?: string;\n}\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResourceOutput extends ResourceOutput {}\n\n/** Holder for private endpoint connections */\nexport interface PrivateEndpointConnectionResourceOutput extends ProxyResourceOutput {\n /** The resource-specific properties for this resource. */\n properties?: PrivateEndpointConnectionPropertiesOutput;\n}\n\n/** Private Links for DeidService resource */\nexport interface PrivateLinkResourceOutput extends ProxyResourceOutput {\n /** The resource-specific properties for this resource. */\n properties?: PrivateLinkResourcePropertiesOutput;\n}\n\n/** Properties of a private link resource. */\nexport interface PrivateLinkResourcePropertiesOutput {\n /** The private link resource group id. */\n readonly groupId?: string;\n /** The private link resource required member names. */\n readonly requiredMembers?: string[];\n /** The private link resource private link DNS zone name. */\n requiredZoneNames?: string[];\n}\n\n/** The base extension resource. */\nexport interface ExtensionResourceOutput extends ResourceOutput {}\n\n/** The resource model definition for an Azure Resource Manager resource with an etag. */\nexport interface AzureEntityResourceOutput extends ResourceOutput {\n /** Resource Etag. */\n readonly etag?: string;\n}\n\n/** A private link resource. */\nexport interface PrivateLinkResourceOutput extends ResourceOutput {\n /** Resource properties. */\n properties?: PrivateLinkResourcePropertiesOutput;\n}\n\n/** Managed service identity (system assigned and/or user assigned identities) */\nexport interface ManagedServiceIdentityOutput {\n /** The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. */\n readonly principalId?: string;\n /** The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. */\n readonly tenantId?: string;\n /**\n * The type of managed identity assigned to this resource.\n *\n * Possible values: \"None\", \"SystemAssigned\", \"UserAssigned\", \"SystemAssigned,UserAssigned\"\n */\n type: ManagedServiceIdentityTypeOutput;\n /** The identities assigned to this resource by the user. */\n userAssignedIdentities?: Record<string, UserAssignedIdentityOutput | null>;\n}\n\n/** User assigned identity properties */\nexport interface UserAssignedIdentityOutput {\n /** The principal ID of the assigned identity. */\n readonly principalId?: string;\n /** The client ID of the assigned identity. */\n readonly clientId?: string;\n}\n\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport type OperationListResultOutput = Paged<OperationOutput>;\n/** Alias for OriginOutput */\nexport type OriginOutput = string;\n/** Alias for ActionTypeOutput */\nexport type ActionTypeOutput = string;\n/** Alias for ResourceProvisioningStateOutput */\nexport type ResourceProvisioningStateOutput = string;\n/** Alias for ProvisioningStateOutput */\nexport type ProvisioningStateOutput = string;\n/** Alias for PrivateEndpointServiceConnectionStatusOutput */\nexport type PrivateEndpointServiceConnectionStatusOutput = string;\n/** Alias for PrivateEndpointConnectionProvisioningStateOutput */\nexport type PrivateEndpointConnectionProvisioningStateOutput = string;\n/** Alias for CreatedByTypeOutput */\nexport type CreatedByTypeOutput = string;\n/** Alias for ResourceIdentityTypeOutput */\nexport type ResourceIdentityTypeOutput = \"SystemAssigned\";\n/** Alias for SkuTierOutput */\nexport type SkuTierOutput = \"Free\" | \"Basic\" | \"Standard\" | \"Premium\";\n/** State of the public network access. */\nexport type PublicNetworkAccessOutput = \"Enabled\" | \"Disabled\";\n/** Alias for ManagedServiceIdentityTypeOutput */\nexport type ManagedServiceIdentityTypeOutput = string;\n/** The response of a DeidService list operation. */\nexport type DeidServiceListResultOutput = Paged<DeidServiceOutput>;\n/** The response of a PrivateEndpointConnectionResource list operation. */\nexport type PrivateEndpointConnectionResourceListResultOutput =\n Paged<PrivateEndpointConnectionResourceOutput>;\n/** The response of a PrivateLinkResource list operation. */\nexport type PrivateLinkResourceListResultOutput = Paged<PrivateLinkResourceOutput>;\n"]}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Client, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
3
|
-
/**
|
|
4
|
-
* Helper type to extract the type of an array
|
|
5
|
-
*/
|
|
6
|
-
export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
|
|
7
|
-
/**
|
|
8
|
-
* The type of a custom function that defines how to get a page and a link to the next one if any.
|
|
9
|
-
*/
|
|
10
|
-
export type GetPage<TPage> = (pageLink: string, maxPageSize?: number) => Promise<{
|
|
11
|
-
page: TPage;
|
|
12
|
-
nextPageLink?: string;
|
|
13
|
-
}>;
|
|
14
|
-
/**
|
|
15
|
-
* Options for the paging helper
|
|
16
|
-
*/
|
|
17
|
-
export interface PagingOptions<TResponse> {
|
|
18
|
-
/**
|
|
19
|
-
* Custom function to extract pagination details for crating the PagedAsyncIterableIterator
|
|
20
|
-
*/
|
|
21
|
-
customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Helper type to infer the Type of the paged elements from the response type
|
|
25
|
-
* This type is generated based on the swagger information for x-ms-pageable
|
|
26
|
-
* specifically on the itemName property which indicates the property of the response
|
|
27
|
-
* where the page items are found. The default value is `value`.
|
|
28
|
-
* This type will allow us to provide strongly typed Iterator based on the response we get as second parameter
|
|
29
|
-
*/
|
|
30
|
-
export type PaginateReturn<TResult> = TResult extends {
|
|
31
|
-
body: {
|
|
32
|
-
value?: infer TPage;
|
|
33
|
-
};
|
|
34
|
-
} ? GetArrayType<TPage> : Array<unknown>;
|
|
35
|
-
/**
|
|
36
|
-
* Helper to paginate results from an initial response that follows the specification of Autorest `x-ms-pageable` extension
|
|
37
|
-
* @param client - Client to use for sending the next page requests
|
|
38
|
-
* @param initialResponse - Initial response containing the nextLink and current page of elements
|
|
39
|
-
* @param customGetPage - Optional - Function to define how to extract the page and next link to be used to paginate the results
|
|
40
|
-
* @returns - PagedAsyncIterableIterator to iterate the elements
|
|
41
|
-
*/
|
|
42
|
-
export declare function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
|
|
43
|
-
//# sourceMappingURL=paginateHelper.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"paginateHelper.d.ts","sourceRoot":"","sources":["../../../src/rest/paginateHelper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyB,0BAA0B,EAAe,MAAM,oBAAoB,CAAC;AACpG,OAAO,EAAE,MAAM,EAAmB,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEzF;;GAEG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,CAAC,SAAS,KAAK,CAAC,MAAM,KAAK,CAAC,GAAG,KAAK,GAAG,KAAK,CAAC;AAE3E;;GAEG;AACH,MAAM,MAAM,OAAO,CAAC,KAAK,IAAI,CAC3B,QAAQ,EAAE,MAAM,EAChB,WAAW,CAAC,EAAE,MAAM,KACjB,OAAO,CAAC;IACX,IAAI,EAAE,KAAK,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,WAAW,aAAa,CAAC,SAAS;IACtC;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC;CACtD;AAED;;;;;;GAMG;AACH,MAAM,MAAM,cAAc,CAAC,OAAO,IAAI,OAAO,SAAS;IACpD,IAAI,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,KAAK,CAAA;KAAE,CAAC;CAC/B,GACG,YAAY,CAAC,KAAK,CAAC,GACnB,KAAK,CAAC,OAAO,CAAC,CAAC;AAEnB;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,SAAS,SAAS,qBAAqB,EAC9D,MAAM,EAAE,MAAM,EACd,eAAe,EAAE,SAAS,EAC1B,OAAO,GAAE,aAAa,CAAC,SAAS,CAAM,GACrC,0BAA0B,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,CA0BvD"}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright (c) Microsoft Corporation.
|
|
3
|
-
// Licensed under the MIT license.
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.paginate = paginate;
|
|
6
|
-
const core_paging_1 = require("@azure/core-paging");
|
|
7
|
-
const core_client_1 = require("@azure-rest/core-client");
|
|
8
|
-
/**
|
|
9
|
-
* Helper to paginate results from an initial response that follows the specification of Autorest `x-ms-pageable` extension
|
|
10
|
-
* @param client - Client to use for sending the next page requests
|
|
11
|
-
* @param initialResponse - Initial response containing the nextLink and current page of elements
|
|
12
|
-
* @param customGetPage - Optional - Function to define how to extract the page and next link to be used to paginate the results
|
|
13
|
-
* @returns - PagedAsyncIterableIterator to iterate the elements
|
|
14
|
-
*/
|
|
15
|
-
function paginate(client, initialResponse, options = {}) {
|
|
16
|
-
let firstRun = true;
|
|
17
|
-
const itemName = "value";
|
|
18
|
-
const nextLinkName = "nextLink";
|
|
19
|
-
const { customGetPage } = options;
|
|
20
|
-
const pagedResult = {
|
|
21
|
-
firstPageLink: "",
|
|
22
|
-
getPage: typeof customGetPage === "function"
|
|
23
|
-
? customGetPage
|
|
24
|
-
: async (pageLink) => {
|
|
25
|
-
const result = firstRun ? initialResponse : await client.pathUnchecked(pageLink).get();
|
|
26
|
-
firstRun = false;
|
|
27
|
-
checkPagingRequest(result);
|
|
28
|
-
const nextLink = getNextLink(result.body, nextLinkName);
|
|
29
|
-
const values = getElements(result.body, itemName);
|
|
30
|
-
return {
|
|
31
|
-
page: values,
|
|
32
|
-
nextPageLink: nextLink,
|
|
33
|
-
};
|
|
34
|
-
},
|
|
35
|
-
};
|
|
36
|
-
return (0, core_paging_1.getPagedAsyncIterator)(pagedResult);
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Gets for the value of nextLink in the body
|
|
40
|
-
*/
|
|
41
|
-
function getNextLink(body, nextLinkName) {
|
|
42
|
-
if (!nextLinkName) {
|
|
43
|
-
return undefined;
|
|
44
|
-
}
|
|
45
|
-
const nextLink = body[nextLinkName];
|
|
46
|
-
if (typeof nextLink !== "string" && typeof nextLink !== "undefined") {
|
|
47
|
-
throw new Error(`Body Property ${nextLinkName} should be a string or undefined`);
|
|
48
|
-
}
|
|
49
|
-
return nextLink;
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Gets the elements of the current request in the body.
|
|
53
|
-
*/
|
|
54
|
-
function getElements(body, itemName) {
|
|
55
|
-
const value = body[itemName];
|
|
56
|
-
// value has to be an array according to the x-ms-pageable extension.
|
|
57
|
-
// The fact that this must be an array is used above to calculate the
|
|
58
|
-
// type of elements in the page in PaginateReturn
|
|
59
|
-
if (!Array.isArray(value)) {
|
|
60
|
-
throw new Error(`Couldn't paginate response\n Body doesn't contain an array property with name: ${itemName}`);
|
|
61
|
-
}
|
|
62
|
-
return value !== null && value !== void 0 ? value : [];
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* Checks if a request failed
|
|
66
|
-
*/
|
|
67
|
-
function checkPagingRequest(response) {
|
|
68
|
-
const Http2xxStatusCodes = ["200", "201", "202", "203", "204", "205", "206", "207", "208", "226"];
|
|
69
|
-
if (!Http2xxStatusCodes.includes(response.status)) {
|
|
70
|
-
throw (0, core_client_1.createRestError)(`Pagination failed with unexpected statusCode ${response.status}`, response);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
//# sourceMappingURL=paginateHelper.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"paginateHelper.js","sourceRoot":"","sources":["../../../src/rest/paginateHelper.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAmDlC,4BA8BC;AA/ED,oDAAoG;AACpG,yDAAyF;AAyCzF;;;;;;GAMG;AACH,SAAgB,QAAQ,CACtB,MAAc,EACd,eAA0B,EAC1B,UAAoC,EAAE;IAItC,IAAI,QAAQ,GAAG,IAAI,CAAC;IACpB,MAAM,QAAQ,GAAG,OAAO,CAAC;IACzB,MAAM,YAAY,GAAG,UAAU,CAAC;IAChC,MAAM,EAAE,aAAa,EAAE,GAAG,OAAO,CAAC;IAClC,MAAM,WAAW,GAA4B;QAC3C,aAAa,EAAE,EAAE;QACjB,OAAO,EACL,OAAO,aAAa,KAAK,UAAU;YACjC,CAAC,CAAC,aAAa;YACf,CAAC,CAAC,KAAK,EAAE,QAAgB,EAAE,EAAE;gBACzB,MAAM,MAAM,GAAG,QAAQ,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,MAAM,MAAM,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,GAAG,EAAE,CAAC;gBACvF,QAAQ,GAAG,KAAK,CAAC;gBACjB,kBAAkB,CAAC,MAAM,CAAC,CAAC;gBAC3B,MAAM,QAAQ,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;gBACxD,MAAM,MAAM,GAAG,WAAW,CAAW,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;gBAC5D,OAAO;oBACL,IAAI,EAAE,MAAM;oBACZ,YAAY,EAAE,QAAQ;iBACvB,CAAC;YACJ,CAAC;KACR,CAAC;IA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oft Corporation.\n// Licensed under the MIT license.\n\nimport { getPagedAsyncIterator, PagedAsyncIterableIterator, PagedResult } from \"@azure/core-paging\";\nimport { Client, createRestError, PathUncheckedResponse } from \"@azure-rest/core-client\";\n\n/**\n * Helper type to extract the type of an array\n */\nexport type GetArrayType<T> = T extends Array<infer TData> ? TData : never;\n\n/**\n * The type of a custom function that defines how to get a page and a link to the next one if any.\n */\nexport type GetPage<TPage> = (\n pageLink: string,\n maxPageSize?: number,\n) => Promise<{\n page: TPage;\n nextPageLink?: string;\n}>;\n\n/**\n * Options for the paging helper\n */\nexport interface PagingOptions<TResponse> {\n /**\n * Custom function to extract pagination details for crating the PagedAsyncIterableIterator\n */\n customGetPage?: GetPage<PaginateReturn<TResponse>[]>;\n}\n\n/**\n * Helper type to infer the Type of the paged elements from the response type\n * This type is generated based on the swagger information for x-ms-pageable\n * specifically on the itemName property which indicates the property of the response\n * where the page items are found. The default value is `value`.\n * This type will allow us to provide strongly typed Iterator based on the response we get as second parameter\n */\nexport type PaginateReturn<TResult> = TResult extends {\n body: { value?: infer TPage };\n}\n ? GetArrayType<TPage>\n : Array<unknown>;\n\n/**\n * Helper to paginate results from an initial response that follows the specification of Autorest `x-ms-pageable` extension\n * @param client - Client to use for sending the next page requests\n * @param initialResponse - Initial response containing the nextLink and current page of elements\n * @param customGetPage - Optional - Function to define how to extract the page and next link to be used to paginate the results\n * @returns - PagedAsyncIterableIterator to iterate the elements\n */\nexport function paginate<TResponse extends PathUncheckedResponse>(\n client: Client,\n initialResponse: TResponse,\n options: PagingOptions<TResponse> = {},\n): PagedAsyncIterableIterator<PaginateReturn<TResponse>> {\n // Extract element type from initial response\n type TElement = PaginateReturn<TResponse>;\n let firstRun = true;\n const itemName = \"value\";\n const nextLinkName = \"nextLink\";\n const { customGetPage } = options;\n const pagedResult: PagedResult<TElement[]> = {\n firstPageLink: \"\",\n getPage:\n typeof customGetPage === \"function\"\n ? customGetPage\n : async (pageLink: string) => {\n const result = firstRun ? initialResponse : await client.pathUnchecked(pageLink).get();\n firstRun = false;\n checkPagingRequest(result);\n const nextLink = getNextLink(result.body, nextLinkName);\n const values = getElements<TElement>(result.body, itemName);\n return {\n page: values,\n nextPageLink: nextLink,\n };\n },\n };\n\n return getPagedAsyncIterator(pagedResult);\n}\n\n/**\n * Gets for the value of nextLink in the body\n */\nfunction getNextLink(body: unknown, nextLinkName?: string): string | undefined {\n if (!nextLinkName) {\n return undefined;\n }\n\n const nextLink = (body as Record<string, unknown>)[nextLinkName];\n\n if (typeof nextLink !== \"string\" && typeof nextLink !== \"undefined\") {\n throw new Error(`Body Property ${nextLinkName} should be a string or undefined`);\n }\n\n return nextLink;\n}\n\n/**\n * Gets the elements of the current request in the body.\n */\nfunction getElements<T = unknown>(body: unknown, itemName: string): T[] {\n const value = (body as Record<string, unknown>)[itemName] as T[];\n\n // value has to be an array according to the x-ms-pageable extension.\n // The fact that this must be an array is used above to calculate the\n // type of elements in the page in PaginateReturn\n if (!Array.isArray(value)) {\n throw new Error(\n `Couldn't paginate response\\n Body doesn't contain an array property with name: ${itemName}`,\n );\n }\n\n return value ?? [];\n}\n\n/**\n * Checks if a request failed\n */\nfunction checkPagingRequest(response: PathUncheckedResponse): void {\n const Http2xxStatusCodes = [\"200\", \"201\", \"202\", \"203\", \"204\", \"205\", \"206\", \"207\", \"208\", \"226\"];\n if (!Http2xxStatusCodes.includes(response.status)) {\n throw createRestError(\n `Pagination failed with unexpected statusCode ${response.status}`,\n response,\n );\n }\n}\n"]}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { RequestParameters } from "@azure-rest/core-client";
|
|
2
|
-
import { DeidService, DeidUpdate, PrivateEndpointConnectionResource } from "./models.js";
|
|
3
|
-
export type OperationsListParameters = RequestParameters;
|
|
4
|
-
export type DeidServicesGetParameters = RequestParameters;
|
|
5
|
-
export type DeidServicesListByResourceGroupParameters = RequestParameters;
|
|
6
|
-
export type DeidServicesListBySubscriptionParameters = RequestParameters;
|
|
7
|
-
export interface DeidServicesCreateBodyParam {
|
|
8
|
-
/** Resource create parameters. */
|
|
9
|
-
body: DeidService;
|
|
10
|
-
}
|
|
11
|
-
export type DeidServicesCreateParameters = DeidServicesCreateBodyParam & RequestParameters;
|
|
12
|
-
export interface DeidServicesUpdateBodyParam {
|
|
13
|
-
/** The resource properties to be updated. */
|
|
14
|
-
body: DeidUpdate;
|
|
15
|
-
}
|
|
16
|
-
export type DeidServicesUpdateParameters = DeidServicesUpdateBodyParam & RequestParameters;
|
|
17
|
-
export type DeidServicesDeleteParameters = RequestParameters;
|
|
18
|
-
export type PrivateEndpointConnectionsGetParameters = RequestParameters;
|
|
19
|
-
export interface PrivateEndpointConnectionsCreateBodyParam {
|
|
20
|
-
/** Resource create parameters. */
|
|
21
|
-
body: PrivateEndpointConnectionResource;
|
|
22
|
-
}
|
|
23
|
-
export type PrivateEndpointConnectionsCreateParameters = PrivateEndpointConnectionsCreateBodyParam & RequestParameters;
|
|
24
|
-
export type PrivateEndpointConnectionsDeleteParameters = RequestParameters;
|
|
25
|
-
export type PrivateEndpointConnectionsListByDeidServiceParameters = RequestParameters;
|
|
26
|
-
export type PrivateLinksListByDeidServiceParameters = RequestParameters;
|
|
27
|
-
//# sourceMappingURL=parameters.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/rest/parameters.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,iCAAiC,EAAE,MAAM,aAAa,CAAC;AAEzF,MAAM,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;AACzD,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;AAC1D,MAAM,MAAM,yCAAyC,GAAG,iBAAiB,CAAC;AAC1E,MAAM,MAAM,wCAAwC,GAAG,iBAAiB,CAAC;AAEzE,MAAM,WAAW,2BAA2B;IAC1C,kCAAkC;IAClC,IAAI,EAAE,WAAW,CAAC;CACnB;AAED,MAAM,MAAM,4BAA4B,GAAG,2BAA2B,GAAG,iBAAiB,CAAC;AAE3F,MAAM,WAAW,2BAA2B;IAC1C,6CAA6C;IAC7C,IAAI,EAAE,UAAU,CAAC;CAClB;AAED,MAAM,MAAM,4BAA4B,GAAG,2BAA2B,GAAG,iBAAiB,CAAC;AAC3F,MAAM,MAAM,4BAA4B,GAAG,iBAAiB,CAAC;AAC7D,MAAM,MAAM,uCAAuC,GAAG,iBAAiB,CAAC;AAExE,MAAM,WAAW,yCAAyC;IACxD,kCAAkC;IAClC,IAAI,EAAE,iCAAiC,CAAC;CACzC;AAED,MAAM,MAAM,0CAA0C,GAAG,yCAAyC,GAChG,iBAAiB,CAAC;AACpB,MAAM,MAAM,0CAA0C,GAAG,iBAAiB,CAAC;AAC3E,MAAM,MAAM,qDAAqD,GAAG,iBAAiB,CAAC;AACtF,MAAM,MAAM,uCAAuC,GAAG,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/rest/parameters.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { RequestParameters } from \"@azure-rest/core-client\";\nimport { DeidService, DeidUpdate, PrivateEndpointConnectionResource } from \"./models.js\";\n\nexport type OperationsListParameters = RequestParameters;\nexport type DeidServicesGetParameters = RequestParameters;\nexport type DeidServicesListByResourceGroupParameters = RequestParameters;\nexport type DeidServicesListBySubscriptionParameters = RequestParameters;\n\nexport interface DeidServicesCreateBodyParam {\n /** Resource create parameters. */\n body: DeidService;\n}\n\nexport type DeidServicesCreateParameters = DeidServicesCreateBodyParam & RequestParameters;\n\nexport interface DeidServicesUpdateBodyParam {\n /** The resource properties to be updated. */\n body: DeidUpdate;\n}\n\nexport type DeidServicesUpdateParameters = DeidServicesUpdateBodyParam & RequestParameters;\nexport type DeidServicesDeleteParameters = RequestParameters;\nexport type PrivateEndpointConnectionsGetParameters = RequestParameters;\n\nexport interface PrivateEndpointConnectionsCreateBodyParam {\n /** Resource create parameters. */\n body: PrivateEndpointConnectionResource;\n}\n\nexport type PrivateEndpointConnectionsCreateParameters = PrivateEndpointConnectionsCreateBodyParam &\n RequestParameters;\nexport type PrivateEndpointConnectionsDeleteParameters = RequestParameters;\nexport type PrivateEndpointConnectionsListByDeidServiceParameters = RequestParameters;\nexport type PrivateLinksListByDeidServiceParameters = RequestParameters;\n"]}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { Client } from "@azure-rest/core-client";
|
|
2
|
-
import { AbortSignalLike } from "@azure/abort-controller";
|
|
3
|
-
import { CancelOnProgress, CreateHttpPollerOptions, OperationState } from "@azure/core-lro";
|
|
4
|
-
import { DeidServicesCreate200Response, DeidServicesCreate201Response, DeidServicesCreateDefaultResponse, DeidServicesCreateLogicalResponse, DeidServicesUpdate200Response, DeidServicesUpdate202Response, DeidServicesUpdateDefaultResponse, DeidServicesUpdateLogicalResponse, DeidServicesDelete202Response, DeidServicesDelete204Response, DeidServicesDeleteDefaultResponse, DeidServicesDeleteLogicalResponse, PrivateEndpointConnectionsCreate200Response, PrivateEndpointConnectionsCreate201Response, PrivateEndpointConnectionsCreateDefaultResponse, PrivateEndpointConnectionsCreateLogicalResponse, PrivateEndpointConnectionsDelete202Response, PrivateEndpointConnectionsDelete204Response, PrivateEndpointConnectionsDeleteDefaultResponse, PrivateEndpointConnectionsDeleteLogicalResponse } from "./responses.js";
|
|
5
|
-
/**
|
|
6
|
-
* A simple poller that can be used to poll a long running operation.
|
|
7
|
-
*/
|
|
8
|
-
export interface SimplePollerLike<TState extends OperationState<TResult>, TResult> {
|
|
9
|
-
/**
|
|
10
|
-
* Returns true if the poller has finished polling.
|
|
11
|
-
*/
|
|
12
|
-
isDone(): boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Returns the state of the operation.
|
|
15
|
-
*/
|
|
16
|
-
getOperationState(): TState;
|
|
17
|
-
/**
|
|
18
|
-
* Returns the result value of the operation,
|
|
19
|
-
* regardless of the state of the poller.
|
|
20
|
-
* It can return undefined or an incomplete form of the final TResult value
|
|
21
|
-
* depending on the implementation.
|
|
22
|
-
*/
|
|
23
|
-
getResult(): TResult | undefined;
|
|
24
|
-
/**
|
|
25
|
-
* Returns a promise that will resolve once a single polling request finishes.
|
|
26
|
-
* It does this by calling the update method of the Poller's operation.
|
|
27
|
-
*/
|
|
28
|
-
poll(options?: {
|
|
29
|
-
abortSignal?: AbortSignalLike;
|
|
30
|
-
}): Promise<TState>;
|
|
31
|
-
/**
|
|
32
|
-
* Returns a promise that will resolve once the underlying operation is completed.
|
|
33
|
-
*/
|
|
34
|
-
pollUntilDone(pollOptions?: {
|
|
35
|
-
abortSignal?: AbortSignalLike;
|
|
36
|
-
}): Promise<TResult>;
|
|
37
|
-
/**
|
|
38
|
-
* Invokes the provided callback after each polling is completed,
|
|
39
|
-
* sending the current state of the poller's operation.
|
|
40
|
-
*
|
|
41
|
-
* It returns a method that can be used to stop receiving updates on the given callback function.
|
|
42
|
-
*/
|
|
43
|
-
onProgress(callback: (state: TState) => void): CancelOnProgress;
|
|
44
|
-
/**
|
|
45
|
-
* Returns a promise that could be used for serialized version of the poller's operation
|
|
46
|
-
* by invoking the operation's serialize method.
|
|
47
|
-
*/
|
|
48
|
-
serialize(): Promise<string>;
|
|
49
|
-
/**
|
|
50
|
-
* Wait the poller to be submitted.
|
|
51
|
-
*/
|
|
52
|
-
submitted(): Promise<void>;
|
|
53
|
-
/**
|
|
54
|
-
* Returns a string representation of the poller's operation. Similar to serialize but returns a string.
|
|
55
|
-
* @deprecated Use serialize() instead.
|
|
56
|
-
*/
|
|
57
|
-
toString(): string;
|
|
58
|
-
/**
|
|
59
|
-
* Stops the poller from continuing to poll. Please note this will only stop the client-side polling
|
|
60
|
-
* @deprecated Use abortSignal to stop polling instead.
|
|
61
|
-
*/
|
|
62
|
-
stopPolling(): void;
|
|
63
|
-
/**
|
|
64
|
-
* Returns true if the poller is stopped.
|
|
65
|
-
* @deprecated Use abortSignal status to track this instead.
|
|
66
|
-
*/
|
|
67
|
-
isStopped(): boolean;
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* Helper function that builds a Poller object to help polling a long running operation.
|
|
71
|
-
* @param client - Client to use for sending the request to get additional pages.
|
|
72
|
-
* @param initialResponse - The initial response.
|
|
73
|
-
* @param options - Options to set a resume state or custom polling interval.
|
|
74
|
-
* @returns - A poller object to poll for operation state updates and eventually get the final response.
|
|
75
|
-
*/
|
|
76
|
-
export declare function getLongRunningPoller<TResult extends DeidServicesCreateLogicalResponse | DeidServicesCreateDefaultResponse>(client: Client, initialResponse: DeidServicesCreate200Response | DeidServicesCreate201Response | DeidServicesCreateDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
77
|
-
export declare function getLongRunningPoller<TResult extends DeidServicesUpdateLogicalResponse | DeidServicesUpdateDefaultResponse>(client: Client, initialResponse: DeidServicesUpdate200Response | DeidServicesUpdate202Response | DeidServicesUpdateDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
78
|
-
export declare function getLongRunningPoller<TResult extends DeidServicesDeleteLogicalResponse | DeidServicesDeleteDefaultResponse>(client: Client, initialResponse: DeidServicesDelete202Response | DeidServicesDelete204Response | DeidServicesDeleteDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
79
|
-
export declare function getLongRunningPoller<TResult extends PrivateEndpointConnectionsCreateLogicalResponse | PrivateEndpointConnectionsCreateDefaultResponse>(client: Client, initialResponse: PrivateEndpointConnectionsCreate200Response | PrivateEndpointConnectionsCreate201Response | PrivateEndpointConnectionsCreateDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
80
|
-
export declare function getLongRunningPoller<TResult extends PrivateEndpointConnectionsDeleteLogicalResponse | PrivateEndpointConnectionsDeleteDefaultResponse>(client: Client, initialResponse: PrivateEndpointConnectionsDelete202Response | PrivateEndpointConnectionsDelete204Response | PrivateEndpointConnectionsDeleteDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
81
|
-
//# sourceMappingURL=pollingHelper.d.ts.map
|