@azure/arm-healthdataaiservices 1.0.0-alpha.20241127.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 +3 -13
- 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 +31 -423
- 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 +28 -6
- 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.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 +7 -25
- 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.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 +21 -125
- 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 +7 -37
- 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.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.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.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.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 +1 -1
- package/dist/browser/healthDataAIServicesClient.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 +2 -2
- package/dist/browser/index.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 +1 -1
- 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 +318 -72
- 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 +26 -10
- 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 +4 -5
- 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 +6 -11
- 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 +29 -421
- 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 +27 -6
- 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.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 +6 -24
- package/dist/commonjs/api/operations/index.js.map +1 -1
- package/dist/commonjs/api/options.d.ts.map +1 -0
- 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 +19 -123
- 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 +6 -36
- 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.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.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.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.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 +1 -1
- package/dist/commonjs/healthDataAIServicesClient.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 +3 -2
- package/dist/commonjs/index.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 +3 -2
- 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 +349 -75
- 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 +26 -10
- 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 +4 -5
- 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 +6 -11
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -0
- 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 +31 -423
- 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 +28 -6
- 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.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 +7 -25
- 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.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 +21 -125
- 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 +7 -37
- 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.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.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.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.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 +1 -1
- package/dist/esm/healthDataAIServicesClient.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 +2 -2
- package/dist/esm/index.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 +1 -1
- 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 +318 -72
- 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 +26 -10
- 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 +4 -5
- 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 +6 -11
- 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 +31 -423
- 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 +28 -6
- 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.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 +7 -25
- 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.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 +21 -125
- 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 +7 -37
- 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.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.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.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.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 +1 -1
- package/dist/react-native/healthDataAIServicesClient.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 +2 -2
- package/dist/react-native/index.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 +1 -1
- 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 +318 -72
- 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 +26 -10
- 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 +4 -5
- 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 +6 -11
- package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
- package/package.json +41 -52
- 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.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.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.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/browser/{models → api}/options.js +0 -0
- /package/dist/commonjs/{models → api}/options.d.ts +0 -0
- /package/dist/commonjs/{models → api}/options.js +0 -0
- /package/dist/esm/{models → api}/options.d.ts +0 -0
- /package/dist/esm/{models → api}/options.js +0 -0
- /package/dist/react-native/{models → api}/options.d.ts +0 -0
- /package/dist/react-native/{models → api}/options.js +0 -0
|
@@ -1,95 +1,20 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { operationOptionsToRequestParameters, createRestError, } from "@azure-rest/core-client";
|
|
8
|
-
import { serializeRecord } from "../../helpers/serializerHelpers.js";
|
|
3
|
+
import { deidServiceSerializer, deidServiceDeserializer, _deidServiceListResultDeserializer, deidUpdateSerializer, } from "../../models/models.js";
|
|
4
|
+
import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
|
|
6
|
+
import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
|
|
9
7
|
export function _deidServicesGetSend(context, subscriptionId, resourceGroupName, deidServiceName, options = { requestOptions: {} }) {
|
|
10
8
|
return context
|
|
11
9
|
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}", subscriptionId, resourceGroupName, deidServiceName)
|
|
12
10
|
.get(Object.assign({}, operationOptionsToRequestParameters(options)));
|
|
13
11
|
}
|
|
14
12
|
export async function _deidServicesGetDeserialize(result) {
|
|
15
|
-
|
|
16
|
-
if (
|
|
13
|
+
const expectedStatuses = ["200"];
|
|
14
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
17
15
|
throw createRestError(result);
|
|
18
16
|
}
|
|
19
|
-
return
|
|
20
|
-
tags: result.body["tags"],
|
|
21
|
-
location: result.body["location"],
|
|
22
|
-
id: result.body["id"],
|
|
23
|
-
name: result.body["name"],
|
|
24
|
-
type: result.body["type"],
|
|
25
|
-
systemData: !result.body.systemData
|
|
26
|
-
? undefined
|
|
27
|
-
: {
|
|
28
|
-
createdBy: (_a = result.body.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
|
|
29
|
-
createdByType: (_b = result.body.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
|
|
30
|
-
createdAt: ((_c = result.body.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
|
|
31
|
-
? new Date((_d = result.body.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
|
|
32
|
-
: undefined,
|
|
33
|
-
lastModifiedBy: (_e = result.body.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
|
|
34
|
-
lastModifiedByType: (_f = result.body.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
|
|
35
|
-
lastModifiedAt: ((_g = result.body.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
|
|
36
|
-
? new Date((_h = result.body.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
|
|
37
|
-
: undefined,
|
|
38
|
-
},
|
|
39
|
-
properties: !result.body.properties
|
|
40
|
-
? undefined
|
|
41
|
-
: {
|
|
42
|
-
provisioningState: (_j = result.body.properties) === null || _j === void 0 ? void 0 : _j["provisioningState"],
|
|
43
|
-
serviceUrl: (_k = result.body.properties) === null || _k === void 0 ? void 0 : _k["serviceUrl"],
|
|
44
|
-
privateEndpointConnections: ((_l = result.body.properties) === null || _l === void 0 ? void 0 : _l["privateEndpointConnections"]) === undefined
|
|
45
|
-
? (_m = result.body.properties) === null || _m === void 0 ? void 0 : _m["privateEndpointConnections"]
|
|
46
|
-
: (_o = result.body.properties) === null || _o === void 0 ? void 0 : _o["privateEndpointConnections"].map((p) => {
|
|
47
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
48
|
-
return {
|
|
49
|
-
id: p["id"],
|
|
50
|
-
name: p["name"],
|
|
51
|
-
type: p["type"],
|
|
52
|
-
systemData: !p.systemData
|
|
53
|
-
? undefined
|
|
54
|
-
: {
|
|
55
|
-
createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
|
|
56
|
-
createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
|
|
57
|
-
createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
|
|
58
|
-
? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
|
|
59
|
-
: undefined,
|
|
60
|
-
lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
|
|
61
|
-
lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
|
|
62
|
-
lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
|
|
63
|
-
? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
|
|
64
|
-
: undefined,
|
|
65
|
-
},
|
|
66
|
-
properties: !p.properties
|
|
67
|
-
? undefined
|
|
68
|
-
: {
|
|
69
|
-
groupIds: (_j = p.properties) === null || _j === void 0 ? void 0 : _j["groupIds"],
|
|
70
|
-
privateEndpoint: !((_k = p.properties) === null || _k === void 0 ? void 0 : _k.privateEndpoint)
|
|
71
|
-
? undefined
|
|
72
|
-
: { id: (_m = (_l = p.properties) === null || _l === void 0 ? void 0 : _l.privateEndpoint) === null || _m === void 0 ? void 0 : _m["id"] },
|
|
73
|
-
privateLinkServiceConnectionState: {
|
|
74
|
-
status: (_o = p.properties) === null || _o === void 0 ? void 0 : _o.privateLinkServiceConnectionState["status"],
|
|
75
|
-
description: (_p = p.properties) === null || _p === void 0 ? void 0 : _p.privateLinkServiceConnectionState["description"],
|
|
76
|
-
actionsRequired: (_q = p.properties) === null || _q === void 0 ? void 0 : _q.privateLinkServiceConnectionState["actionsRequired"],
|
|
77
|
-
},
|
|
78
|
-
provisioningState: (_r = p.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
|
|
79
|
-
},
|
|
80
|
-
};
|
|
81
|
-
}),
|
|
82
|
-
publicNetworkAccess: (_p = result.body.properties) === null || _p === void 0 ? void 0 : _p["publicNetworkAccess"],
|
|
83
|
-
},
|
|
84
|
-
identity: !result.body.identity
|
|
85
|
-
? undefined
|
|
86
|
-
: {
|
|
87
|
-
principalId: (_q = result.body.identity) === null || _q === void 0 ? void 0 : _q["principalId"],
|
|
88
|
-
tenantId: (_r = result.body.identity) === null || _r === void 0 ? void 0 : _r["tenantId"],
|
|
89
|
-
type: (_s = result.body.identity) === null || _s === void 0 ? void 0 : _s["type"],
|
|
90
|
-
userAssignedIdentities: (_t = result.body.identity) === null || _t === void 0 ? void 0 : _t["userAssignedIdentities"],
|
|
91
|
-
},
|
|
92
|
-
};
|
|
17
|
+
return deidServiceDeserializer(result.body);
|
|
93
18
|
}
|
|
94
19
|
/** Get a DeidService */
|
|
95
20
|
export async function deidServicesGet(context, subscriptionId, resourceGroupName, deidServiceName, options = { requestOptions: {} }) {
|
|
@@ -104,95 +29,17 @@ export function _deidServicesListByResourceGroupSend(context, subscriptionId, re
|
|
|
104
29
|
.get(Object.assign({}, operationOptionsToRequestParameters(options)));
|
|
105
30
|
}
|
|
106
31
|
export async function _deidServicesListByResourceGroupDeserialize(result) {
|
|
107
|
-
|
|
32
|
+
const expectedStatuses = ["200"];
|
|
33
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
108
34
|
throw createRestError(result);
|
|
109
35
|
}
|
|
110
|
-
return
|
|
111
|
-
value: result.body["value"].map((p) => {
|
|
112
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
|
|
113
|
-
return {
|
|
114
|
-
tags: p["tags"],
|
|
115
|
-
location: p["location"],
|
|
116
|
-
id: p["id"],
|
|
117
|
-
name: p["name"],
|
|
118
|
-
type: p["type"],
|
|
119
|
-
systemData: !p.systemData
|
|
120
|
-
? undefined
|
|
121
|
-
: {
|
|
122
|
-
createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
|
|
123
|
-
createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
|
|
124
|
-
createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
|
|
125
|
-
? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
|
|
126
|
-
: undefined,
|
|
127
|
-
lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
|
|
128
|
-
lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
|
|
129
|
-
lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
|
|
130
|
-
? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
|
|
131
|
-
: undefined,
|
|
132
|
-
},
|
|
133
|
-
properties: !p.properties
|
|
134
|
-
? undefined
|
|
135
|
-
: {
|
|
136
|
-
provisioningState: (_j = p.properties) === null || _j === void 0 ? void 0 : _j["provisioningState"],
|
|
137
|
-
serviceUrl: (_k = p.properties) === null || _k === void 0 ? void 0 : _k["serviceUrl"],
|
|
138
|
-
privateEndpointConnections: ((_l = p.properties) === null || _l === void 0 ? void 0 : _l["privateEndpointConnections"]) === undefined
|
|
139
|
-
? (_m = p.properties) === null || _m === void 0 ? void 0 : _m["privateEndpointConnections"]
|
|
140
|
-
: (_o = p.properties) === null || _o === void 0 ? void 0 : _o["privateEndpointConnections"].map((p) => {
|
|
141
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
142
|
-
return {
|
|
143
|
-
id: p["id"],
|
|
144
|
-
name: p["name"],
|
|
145
|
-
type: p["type"],
|
|
146
|
-
systemData: !p.systemData
|
|
147
|
-
? undefined
|
|
148
|
-
: {
|
|
149
|
-
createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
|
|
150
|
-
createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
|
|
151
|
-
createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
|
|
152
|
-
? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
|
|
153
|
-
: undefined,
|
|
154
|
-
lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
|
|
155
|
-
lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
|
|
156
|
-
lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
|
|
157
|
-
? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
|
|
158
|
-
: undefined,
|
|
159
|
-
},
|
|
160
|
-
properties: !p.properties
|
|
161
|
-
? undefined
|
|
162
|
-
: {
|
|
163
|
-
groupIds: (_j = p.properties) === null || _j === void 0 ? void 0 : _j["groupIds"],
|
|
164
|
-
privateEndpoint: !((_k = p.properties) === null || _k === void 0 ? void 0 : _k.privateEndpoint)
|
|
165
|
-
? undefined
|
|
166
|
-
: { id: (_m = (_l = p.properties) === null || _l === void 0 ? void 0 : _l.privateEndpoint) === null || _m === void 0 ? void 0 : _m["id"] },
|
|
167
|
-
privateLinkServiceConnectionState: {
|
|
168
|
-
status: (_o = p.properties) === null || _o === void 0 ? void 0 : _o.privateLinkServiceConnectionState["status"],
|
|
169
|
-
description: (_p = p.properties) === null || _p === void 0 ? void 0 : _p.privateLinkServiceConnectionState["description"],
|
|
170
|
-
actionsRequired: (_q = p.properties) === null || _q === void 0 ? void 0 : _q.privateLinkServiceConnectionState["actionsRequired"],
|
|
171
|
-
},
|
|
172
|
-
provisioningState: (_r = p.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
|
|
173
|
-
},
|
|
174
|
-
};
|
|
175
|
-
}),
|
|
176
|
-
publicNetworkAccess: (_p = p.properties) === null || _p === void 0 ? void 0 : _p["publicNetworkAccess"],
|
|
177
|
-
},
|
|
178
|
-
identity: !p.identity
|
|
179
|
-
? undefined
|
|
180
|
-
: {
|
|
181
|
-
principalId: (_q = p.identity) === null || _q === void 0 ? void 0 : _q["principalId"],
|
|
182
|
-
tenantId: (_r = p.identity) === null || _r === void 0 ? void 0 : _r["tenantId"],
|
|
183
|
-
type: (_s = p.identity) === null || _s === void 0 ? void 0 : _s["type"],
|
|
184
|
-
userAssignedIdentities: (_t = p.identity) === null || _t === void 0 ? void 0 : _t["userAssignedIdentities"],
|
|
185
|
-
},
|
|
186
|
-
};
|
|
187
|
-
}),
|
|
188
|
-
nextLink: result.body["nextLink"],
|
|
189
|
-
};
|
|
36
|
+
return _deidServiceListResultDeserializer(result.body);
|
|
190
37
|
}
|
|
191
38
|
/** List DeidService resources by resource group */
|
|
192
39
|
export function deidServicesListByResourceGroup(context, subscriptionId, resourceGroupName, options = {
|
|
193
40
|
requestOptions: {},
|
|
194
41
|
}) {
|
|
195
|
-
return buildPagedAsyncIterator(context, () => _deidServicesListByResourceGroupSend(context, subscriptionId, resourceGroupName, options), _deidServicesListByResourceGroupDeserialize, { itemName: "value", nextLinkName: "nextLink" });
|
|
42
|
+
return buildPagedAsyncIterator(context, () => _deidServicesListByResourceGroupSend(context, subscriptionId, resourceGroupName, options), _deidServicesListByResourceGroupDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
196
43
|
}
|
|
197
44
|
export function _deidServicesListBySubscriptionSend(context, subscriptionId, options = {
|
|
198
45
|
requestOptions: {},
|
|
@@ -202,299 +49,58 @@ export function _deidServicesListBySubscriptionSend(context, subscriptionId, opt
|
|
|
202
49
|
.get(Object.assign({}, operationOptionsToRequestParameters(options)));
|
|
203
50
|
}
|
|
204
51
|
export async function _deidServicesListBySubscriptionDeserialize(result) {
|
|
205
|
-
|
|
52
|
+
const expectedStatuses = ["200"];
|
|
53
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
206
54
|
throw createRestError(result);
|
|
207
55
|
}
|
|
208
|
-
return
|
|
209
|
-
value: result.body["value"].map((p) => {
|
|
210
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
|
|
211
|
-
return {
|
|
212
|
-
tags: p["tags"],
|
|
213
|
-
location: p["location"],
|
|
214
|
-
id: p["id"],
|
|
215
|
-
name: p["name"],
|
|
216
|
-
type: p["type"],
|
|
217
|
-
systemData: !p.systemData
|
|
218
|
-
? undefined
|
|
219
|
-
: {
|
|
220
|
-
createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
|
|
221
|
-
createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
|
|
222
|
-
createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
|
|
223
|
-
? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
|
|
224
|
-
: undefined,
|
|
225
|
-
lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
|
|
226
|
-
lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
|
|
227
|
-
lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
|
|
228
|
-
? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
|
|
229
|
-
: undefined,
|
|
230
|
-
},
|
|
231
|
-
properties: !p.properties
|
|
232
|
-
? undefined
|
|
233
|
-
: {
|
|
234
|
-
provisioningState: (_j = p.properties) === null || _j === void 0 ? void 0 : _j["provisioningState"],
|
|
235
|
-
serviceUrl: (_k = p.properties) === null || _k === void 0 ? void 0 : _k["serviceUrl"],
|
|
236
|
-
privateEndpointConnections: ((_l = p.properties) === null || _l === void 0 ? void 0 : _l["privateEndpointConnections"]) === undefined
|
|
237
|
-
? (_m = p.properties) === null || _m === void 0 ? void 0 : _m["privateEndpointConnections"]
|
|
238
|
-
: (_o = p.properties) === null || _o === void 0 ? void 0 : _o["privateEndpointConnections"].map((p) => {
|
|
239
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
240
|
-
return {
|
|
241
|
-
id: p["id"],
|
|
242
|
-
name: p["name"],
|
|
243
|
-
type: p["type"],
|
|
244
|
-
systemData: !p.systemData
|
|
245
|
-
? undefined
|
|
246
|
-
: {
|
|
247
|
-
createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
|
|
248
|
-
createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
|
|
249
|
-
createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
|
|
250
|
-
? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
|
|
251
|
-
: undefined,
|
|
252
|
-
lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
|
|
253
|
-
lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
|
|
254
|
-
lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
|
|
255
|
-
? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
|
|
256
|
-
: undefined,
|
|
257
|
-
},
|
|
258
|
-
properties: !p.properties
|
|
259
|
-
? undefined
|
|
260
|
-
: {
|
|
261
|
-
groupIds: (_j = p.properties) === null || _j === void 0 ? void 0 : _j["groupIds"],
|
|
262
|
-
privateEndpoint: !((_k = p.properties) === null || _k === void 0 ? void 0 : _k.privateEndpoint)
|
|
263
|
-
? undefined
|
|
264
|
-
: { id: (_m = (_l = p.properties) === null || _l === void 0 ? void 0 : _l.privateEndpoint) === null || _m === void 0 ? void 0 : _m["id"] },
|
|
265
|
-
privateLinkServiceConnectionState: {
|
|
266
|
-
status: (_o = p.properties) === null || _o === void 0 ? void 0 : _o.privateLinkServiceConnectionState["status"],
|
|
267
|
-
description: (_p = p.properties) === null || _p === void 0 ? void 0 : _p.privateLinkServiceConnectionState["description"],
|
|
268
|
-
actionsRequired: (_q = p.properties) === null || _q === void 0 ? void 0 : _q.privateLinkServiceConnectionState["actionsRequired"],
|
|
269
|
-
},
|
|
270
|
-
provisioningState: (_r = p.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
|
|
271
|
-
},
|
|
272
|
-
};
|
|
273
|
-
}),
|
|
274
|
-
publicNetworkAccess: (_p = p.properties) === null || _p === void 0 ? void 0 : _p["publicNetworkAccess"],
|
|
275
|
-
},
|
|
276
|
-
identity: !p.identity
|
|
277
|
-
? undefined
|
|
278
|
-
: {
|
|
279
|
-
principalId: (_q = p.identity) === null || _q === void 0 ? void 0 : _q["principalId"],
|
|
280
|
-
tenantId: (_r = p.identity) === null || _r === void 0 ? void 0 : _r["tenantId"],
|
|
281
|
-
type: (_s = p.identity) === null || _s === void 0 ? void 0 : _s["type"],
|
|
282
|
-
userAssignedIdentities: (_t = p.identity) === null || _t === void 0 ? void 0 : _t["userAssignedIdentities"],
|
|
283
|
-
},
|
|
284
|
-
};
|
|
285
|
-
}),
|
|
286
|
-
nextLink: result.body["nextLink"],
|
|
287
|
-
};
|
|
56
|
+
return _deidServiceListResultDeserializer(result.body);
|
|
288
57
|
}
|
|
289
58
|
/** List DeidService resources by subscription ID */
|
|
290
59
|
export function deidServicesListBySubscription(context, subscriptionId, options = {
|
|
291
60
|
requestOptions: {},
|
|
292
61
|
}) {
|
|
293
|
-
return buildPagedAsyncIterator(context, () => _deidServicesListBySubscriptionSend(context, subscriptionId, options), _deidServicesListBySubscriptionDeserialize, { itemName: "value", nextLinkName: "nextLink" });
|
|
62
|
+
return buildPagedAsyncIterator(context, () => _deidServicesListBySubscriptionSend(context, subscriptionId, options), _deidServicesListBySubscriptionDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
294
63
|
}
|
|
295
64
|
export function _deidServicesCreateSend(context, subscriptionId, resourceGroupName, deidServiceName, resource, options = { requestOptions: {} }) {
|
|
296
65
|
return context
|
|
297
66
|
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}", subscriptionId, resourceGroupName, deidServiceName)
|
|
298
|
-
.put(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { body:
|
|
299
|
-
tags: !resource.tags ? resource.tags : serializeRecord(resource.tags),
|
|
300
|
-
location: resource["location"],
|
|
301
|
-
properties: !resource.properties
|
|
302
|
-
? resource.properties
|
|
303
|
-
: deidServicePropertiesSerializer(resource.properties),
|
|
304
|
-
identity: !resource.identity
|
|
305
|
-
? resource.identity
|
|
306
|
-
: managedServiceIdentitySerializer(resource.identity),
|
|
307
|
-
} }));
|
|
67
|
+
.put(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { body: deidServiceSerializer(resource) }));
|
|
308
68
|
}
|
|
309
69
|
export async function _deidServicesCreateDeserialize(result) {
|
|
310
|
-
|
|
311
|
-
if (
|
|
70
|
+
const expectedStatuses = ["200", "201"];
|
|
71
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
312
72
|
throw createRestError(result);
|
|
313
73
|
}
|
|
314
|
-
|
|
315
|
-
return {
|
|
316
|
-
tags: res.body["tags"],
|
|
317
|
-
location: res.body["location"],
|
|
318
|
-
id: res.body["id"],
|
|
319
|
-
name: res.body["name"],
|
|
320
|
-
type: res.body["type"],
|
|
321
|
-
systemData: !res.body.systemData
|
|
322
|
-
? undefined
|
|
323
|
-
: {
|
|
324
|
-
createdBy: (_a = res.body.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
|
|
325
|
-
createdByType: (_b = res.body.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
|
|
326
|
-
createdAt: ((_c = res.body.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
|
|
327
|
-
? new Date((_d = res.body.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
|
|
328
|
-
: undefined,
|
|
329
|
-
lastModifiedBy: (_e = res.body.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
|
|
330
|
-
lastModifiedByType: (_f = res.body.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
|
|
331
|
-
lastModifiedAt: ((_g = res.body.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
|
|
332
|
-
? new Date((_h = res.body.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
|
|
333
|
-
: undefined,
|
|
334
|
-
},
|
|
335
|
-
properties: !res.body.properties
|
|
336
|
-
? undefined
|
|
337
|
-
: {
|
|
338
|
-
provisioningState: (_j = res.body.properties) === null || _j === void 0 ? void 0 : _j["provisioningState"],
|
|
339
|
-
serviceUrl: (_k = res.body.properties) === null || _k === void 0 ? void 0 : _k["serviceUrl"],
|
|
340
|
-
privateEndpointConnections: ((_l = res.body.properties) === null || _l === void 0 ? void 0 : _l["privateEndpointConnections"]) === undefined
|
|
341
|
-
? (_m = res.body.properties) === null || _m === void 0 ? void 0 : _m["privateEndpointConnections"]
|
|
342
|
-
: (_o = res.body.properties) === null || _o === void 0 ? void 0 : _o["privateEndpointConnections"].map((p) => {
|
|
343
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
344
|
-
return {
|
|
345
|
-
id: p["id"],
|
|
346
|
-
name: p["name"],
|
|
347
|
-
type: p["type"],
|
|
348
|
-
systemData: !p.systemData
|
|
349
|
-
? undefined
|
|
350
|
-
: {
|
|
351
|
-
createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
|
|
352
|
-
createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
|
|
353
|
-
createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
|
|
354
|
-
? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
|
|
355
|
-
: undefined,
|
|
356
|
-
lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
|
|
357
|
-
lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
|
|
358
|
-
lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
|
|
359
|
-
? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
|
|
360
|
-
: undefined,
|
|
361
|
-
},
|
|
362
|
-
properties: !p.properties
|
|
363
|
-
? undefined
|
|
364
|
-
: {
|
|
365
|
-
groupIds: (_j = p.properties) === null || _j === void 0 ? void 0 : _j["groupIds"],
|
|
366
|
-
privateEndpoint: !((_k = p.properties) === null || _k === void 0 ? void 0 : _k.privateEndpoint)
|
|
367
|
-
? undefined
|
|
368
|
-
: { id: (_m = (_l = p.properties) === null || _l === void 0 ? void 0 : _l.privateEndpoint) === null || _m === void 0 ? void 0 : _m["id"] },
|
|
369
|
-
privateLinkServiceConnectionState: {
|
|
370
|
-
status: (_o = p.properties) === null || _o === void 0 ? void 0 : _o.privateLinkServiceConnectionState["status"],
|
|
371
|
-
description: (_p = p.properties) === null || _p === void 0 ? void 0 : _p.privateLinkServiceConnectionState["description"],
|
|
372
|
-
actionsRequired: (_q = p.properties) === null || _q === void 0 ? void 0 : _q.privateLinkServiceConnectionState["actionsRequired"],
|
|
373
|
-
},
|
|
374
|
-
provisioningState: (_r = p.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
|
|
375
|
-
},
|
|
376
|
-
};
|
|
377
|
-
}),
|
|
378
|
-
publicNetworkAccess: (_p = res.body.properties) === null || _p === void 0 ? void 0 : _p["publicNetworkAccess"],
|
|
379
|
-
},
|
|
380
|
-
identity: !res.body.identity
|
|
381
|
-
? undefined
|
|
382
|
-
: {
|
|
383
|
-
principalId: (_q = res.body.identity) === null || _q === void 0 ? void 0 : _q["principalId"],
|
|
384
|
-
tenantId: (_r = res.body.identity) === null || _r === void 0 ? void 0 : _r["tenantId"],
|
|
385
|
-
type: (_s = res.body.identity) === null || _s === void 0 ? void 0 : _s["type"],
|
|
386
|
-
userAssignedIdentities: (_t = res.body.identity) === null || _t === void 0 ? void 0 : _t["userAssignedIdentities"],
|
|
387
|
-
},
|
|
388
|
-
};
|
|
74
|
+
return deidServiceDeserializer(result.body);
|
|
389
75
|
}
|
|
390
76
|
/** Create a DeidService */
|
|
391
77
|
export function deidServicesCreate(context, subscriptionId, resourceGroupName, deidServiceName, resource, options = { requestOptions: {} }) {
|
|
392
|
-
return getLongRunningPoller(context, _deidServicesCreateDeserialize, {
|
|
78
|
+
return getLongRunningPoller(context, _deidServicesCreateDeserialize, ["200", "201"], {
|
|
393
79
|
updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
394
80
|
abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
|
|
395
81
|
getInitialResponse: () => _deidServicesCreateSend(context, subscriptionId, resourceGroupName, deidServiceName, resource, options),
|
|
82
|
+
resourceLocationConfig: "azure-async-operation",
|
|
396
83
|
});
|
|
397
84
|
}
|
|
398
85
|
export function _deidServicesUpdateSend(context, subscriptionId, resourceGroupName, deidServiceName, properties, options = { requestOptions: {} }) {
|
|
399
86
|
return context
|
|
400
87
|
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}", subscriptionId, resourceGroupName, deidServiceName)
|
|
401
|
-
.patch(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { body:
|
|
402
|
-
tags: !properties.tags ? properties.tags : serializeRecord(properties.tags),
|
|
403
|
-
identity: !properties.identity
|
|
404
|
-
? properties.identity
|
|
405
|
-
: managedServiceIdentityUpdateSerializer(properties.identity),
|
|
406
|
-
properties: !properties.properties
|
|
407
|
-
? properties.properties
|
|
408
|
-
: deidPropertiesUpdateSerializer(properties.properties),
|
|
409
|
-
} }));
|
|
88
|
+
.patch(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { body: deidUpdateSerializer(properties) }));
|
|
410
89
|
}
|
|
411
90
|
export async function _deidServicesUpdateDeserialize(result) {
|
|
412
|
-
|
|
413
|
-
if (
|
|
91
|
+
const expectedStatuses = ["200", "202"];
|
|
92
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
414
93
|
throw createRestError(result);
|
|
415
94
|
}
|
|
416
|
-
|
|
417
|
-
return {
|
|
418
|
-
tags: res.body["tags"],
|
|
419
|
-
location: res.body["location"],
|
|
420
|
-
id: res.body["id"],
|
|
421
|
-
name: res.body["name"],
|
|
422
|
-
type: res.body["type"],
|
|
423
|
-
systemData: !res.body.systemData
|
|
424
|
-
? undefined
|
|
425
|
-
: {
|
|
426
|
-
createdBy: (_a = res.body.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
|
|
427
|
-
createdByType: (_b = res.body.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
|
|
428
|
-
createdAt: ((_c = res.body.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
|
|
429
|
-
? new Date((_d = res.body.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
|
|
430
|
-
: undefined,
|
|
431
|
-
lastModifiedBy: (_e = res.body.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
|
|
432
|
-
lastModifiedByType: (_f = res.body.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
|
|
433
|
-
lastModifiedAt: ((_g = res.body.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
|
|
434
|
-
? new Date((_h = res.body.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
|
|
435
|
-
: undefined,
|
|
436
|
-
},
|
|
437
|
-
properties: !res.body.properties
|
|
438
|
-
? undefined
|
|
439
|
-
: {
|
|
440
|
-
provisioningState: (_j = res.body.properties) === null || _j === void 0 ? void 0 : _j["provisioningState"],
|
|
441
|
-
serviceUrl: (_k = res.body.properties) === null || _k === void 0 ? void 0 : _k["serviceUrl"],
|
|
442
|
-
privateEndpointConnections: ((_l = res.body.properties) === null || _l === void 0 ? void 0 : _l["privateEndpointConnections"]) === undefined
|
|
443
|
-
? (_m = res.body.properties) === null || _m === void 0 ? void 0 : _m["privateEndpointConnections"]
|
|
444
|
-
: (_o = res.body.properties) === null || _o === void 0 ? void 0 : _o["privateEndpointConnections"].map((p) => {
|
|
445
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
446
|
-
return {
|
|
447
|
-
id: p["id"],
|
|
448
|
-
name: p["name"],
|
|
449
|
-
type: p["type"],
|
|
450
|
-
systemData: !p.systemData
|
|
451
|
-
? undefined
|
|
452
|
-
: {
|
|
453
|
-
createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
|
|
454
|
-
createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
|
|
455
|
-
createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
|
|
456
|
-
? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
|
|
457
|
-
: undefined,
|
|
458
|
-
lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
|
|
459
|
-
lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
|
|
460
|
-
lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
|
|
461
|
-
? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
|
|
462
|
-
: undefined,
|
|
463
|
-
},
|
|
464
|
-
properties: !p.properties
|
|
465
|
-
? undefined
|
|
466
|
-
: {
|
|
467
|
-
groupIds: (_j = p.properties) === null || _j === void 0 ? void 0 : _j["groupIds"],
|
|
468
|
-
privateEndpoint: !((_k = p.properties) === null || _k === void 0 ? void 0 : _k.privateEndpoint)
|
|
469
|
-
? undefined
|
|
470
|
-
: { id: (_m = (_l = p.properties) === null || _l === void 0 ? void 0 : _l.privateEndpoint) === null || _m === void 0 ? void 0 : _m["id"] },
|
|
471
|
-
privateLinkServiceConnectionState: {
|
|
472
|
-
status: (_o = p.properties) === null || _o === void 0 ? void 0 : _o.privateLinkServiceConnectionState["status"],
|
|
473
|
-
description: (_p = p.properties) === null || _p === void 0 ? void 0 : _p.privateLinkServiceConnectionState["description"],
|
|
474
|
-
actionsRequired: (_q = p.properties) === null || _q === void 0 ? void 0 : _q.privateLinkServiceConnectionState["actionsRequired"],
|
|
475
|
-
},
|
|
476
|
-
provisioningState: (_r = p.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
|
|
477
|
-
},
|
|
478
|
-
};
|
|
479
|
-
}),
|
|
480
|
-
publicNetworkAccess: (_p = res.body.properties) === null || _p === void 0 ? void 0 : _p["publicNetworkAccess"],
|
|
481
|
-
},
|
|
482
|
-
identity: !res.body.identity
|
|
483
|
-
? undefined
|
|
484
|
-
: {
|
|
485
|
-
principalId: (_q = res.body.identity) === null || _q === void 0 ? void 0 : _q["principalId"],
|
|
486
|
-
tenantId: (_r = res.body.identity) === null || _r === void 0 ? void 0 : _r["tenantId"],
|
|
487
|
-
type: (_s = res.body.identity) === null || _s === void 0 ? void 0 : _s["type"],
|
|
488
|
-
userAssignedIdentities: (_t = res.body.identity) === null || _t === void 0 ? void 0 : _t["userAssignedIdentities"],
|
|
489
|
-
},
|
|
490
|
-
};
|
|
95
|
+
return deidServiceDeserializer(result.body);
|
|
491
96
|
}
|
|
492
97
|
/** Update a DeidService */
|
|
493
98
|
export function deidServicesUpdate(context, subscriptionId, resourceGroupName, deidServiceName, properties, options = { requestOptions: {} }) {
|
|
494
|
-
return getLongRunningPoller(context, _deidServicesUpdateDeserialize, {
|
|
99
|
+
return getLongRunningPoller(context, _deidServicesUpdateDeserialize, ["200", "202"], {
|
|
495
100
|
updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
496
101
|
abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
|
|
497
102
|
getInitialResponse: () => _deidServicesUpdateSend(context, subscriptionId, resourceGroupName, deidServiceName, properties, options),
|
|
103
|
+
resourceLocationConfig: "location",
|
|
498
104
|
});
|
|
499
105
|
}
|
|
500
106
|
export function _deidServicesDeleteSend(context, subscriptionId, resourceGroupName, deidServiceName, options = { requestOptions: {} }) {
|
|
@@ -503,17 +109,19 @@ export function _deidServicesDeleteSend(context, subscriptionId, resourceGroupNa
|
|
|
503
109
|
.delete(Object.assign({}, operationOptionsToRequestParameters(options)));
|
|
504
110
|
}
|
|
505
111
|
export async function _deidServicesDeleteDeserialize(result) {
|
|
506
|
-
|
|
112
|
+
const expectedStatuses = ["202", "204", "200"];
|
|
113
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
507
114
|
throw createRestError(result);
|
|
508
115
|
}
|
|
509
116
|
return;
|
|
510
117
|
}
|
|
511
118
|
/** Delete a DeidService */
|
|
512
119
|
export function deidServicesDelete(context, subscriptionId, resourceGroupName, deidServiceName, options = { requestOptions: {} }) {
|
|
513
|
-
return getLongRunningPoller(context, _deidServicesDeleteDeserialize, {
|
|
120
|
+
return getLongRunningPoller(context, _deidServicesDeleteDeserialize, ["202", "204", "200"], {
|
|
514
121
|
updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
515
122
|
abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
|
|
516
123
|
getInitialResponse: () => _deidServicesDeleteSend(context, subscriptionId, resourceGroupName, deidServiceName, options),
|
|
124
|
+
resourceLocationConfig: "location",
|
|
517
125
|
});
|
|
518
126
|
}
|
|
519
127
|
//# sourceMappingURL=index.js.map
|