@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,53 +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";
|
|
3
|
+
import { privateEndpointConnectionResourceSerializer, privateEndpointConnectionResourceDeserializer, _privateEndpointConnectionResourceListResultDeserializer, } 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";
|
|
8
7
|
export function _privateEndpointConnectionsGetSend(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, options = { requestOptions: {} }) {
|
|
9
8
|
return context
|
|
10
9
|
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}", subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName)
|
|
11
10
|
.get(Object.assign({}, operationOptionsToRequestParameters(options)));
|
|
12
11
|
}
|
|
13
12
|
export async function _privateEndpointConnectionsGetDeserialize(result) {
|
|
14
|
-
|
|
15
|
-
if (
|
|
13
|
+
const expectedStatuses = ["200"];
|
|
14
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
16
15
|
throw createRestError(result);
|
|
17
16
|
}
|
|
18
|
-
return
|
|
19
|
-
id: result.body["id"],
|
|
20
|
-
name: result.body["name"],
|
|
21
|
-
type: result.body["type"],
|
|
22
|
-
systemData: !result.body.systemData
|
|
23
|
-
? undefined
|
|
24
|
-
: {
|
|
25
|
-
createdBy: (_a = result.body.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
|
|
26
|
-
createdByType: (_b = result.body.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
|
|
27
|
-
createdAt: ((_c = result.body.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
|
|
28
|
-
? new Date((_d = result.body.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
|
|
29
|
-
: undefined,
|
|
30
|
-
lastModifiedBy: (_e = result.body.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
|
|
31
|
-
lastModifiedByType: (_f = result.body.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
|
|
32
|
-
lastModifiedAt: ((_g = result.body.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
|
|
33
|
-
? new Date((_h = result.body.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
|
|
34
|
-
: undefined,
|
|
35
|
-
},
|
|
36
|
-
properties: !result.body.properties
|
|
37
|
-
? undefined
|
|
38
|
-
: {
|
|
39
|
-
groupIds: (_j = result.body.properties) === null || _j === void 0 ? void 0 : _j["groupIds"],
|
|
40
|
-
privateEndpoint: !((_k = result.body.properties) === null || _k === void 0 ? void 0 : _k.privateEndpoint)
|
|
41
|
-
? undefined
|
|
42
|
-
: { id: (_m = (_l = result.body.properties) === null || _l === void 0 ? void 0 : _l.privateEndpoint) === null || _m === void 0 ? void 0 : _m["id"] },
|
|
43
|
-
privateLinkServiceConnectionState: {
|
|
44
|
-
status: (_o = result.body.properties) === null || _o === void 0 ? void 0 : _o.privateLinkServiceConnectionState["status"],
|
|
45
|
-
description: (_p = result.body.properties) === null || _p === void 0 ? void 0 : _p.privateLinkServiceConnectionState["description"],
|
|
46
|
-
actionsRequired: (_q = result.body.properties) === null || _q === void 0 ? void 0 : _q.privateLinkServiceConnectionState["actionsRequired"],
|
|
47
|
-
},
|
|
48
|
-
provisioningState: (_r = result.body.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
|
|
49
|
-
},
|
|
50
|
-
};
|
|
17
|
+
return privateEndpointConnectionResourceDeserializer(result.body);
|
|
51
18
|
}
|
|
52
19
|
/** Get a specific private connection */
|
|
53
20
|
export async function privateEndpointConnectionsGet(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, options = { requestOptions: {} }) {
|
|
@@ -59,60 +26,24 @@ export function _privateEndpointConnectionsCreateSend(context, subscriptionId, r
|
|
|
59
26
|
}) {
|
|
60
27
|
return context
|
|
61
28
|
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}", subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName)
|
|
62
|
-
.put(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { body:
|
|
63
|
-
properties: !resource.properties
|
|
64
|
-
? resource.properties
|
|
65
|
-
: privateEndpointConnectionPropertiesSerializer(resource.properties),
|
|
66
|
-
} }));
|
|
29
|
+
.put(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { body: privateEndpointConnectionResourceSerializer(resource) }));
|
|
67
30
|
}
|
|
68
31
|
export async function _privateEndpointConnectionsCreateDeserialize(result) {
|
|
69
|
-
|
|
70
|
-
if (
|
|
32
|
+
const expectedStatuses = ["200", "201"];
|
|
33
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
71
34
|
throw createRestError(result);
|
|
72
35
|
}
|
|
73
|
-
|
|
74
|
-
return {
|
|
75
|
-
id: res.body["id"],
|
|
76
|
-
name: res.body["name"],
|
|
77
|
-
type: res.body["type"],
|
|
78
|
-
systemData: !res.body.systemData
|
|
79
|
-
? undefined
|
|
80
|
-
: {
|
|
81
|
-
createdBy: (_a = res.body.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
|
|
82
|
-
createdByType: (_b = res.body.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
|
|
83
|
-
createdAt: ((_c = res.body.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
|
|
84
|
-
? new Date((_d = res.body.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
|
|
85
|
-
: undefined,
|
|
86
|
-
lastModifiedBy: (_e = res.body.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
|
|
87
|
-
lastModifiedByType: (_f = res.body.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
|
|
88
|
-
lastModifiedAt: ((_g = res.body.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
|
|
89
|
-
? new Date((_h = res.body.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
|
|
90
|
-
: undefined,
|
|
91
|
-
},
|
|
92
|
-
properties: !res.body.properties
|
|
93
|
-
? undefined
|
|
94
|
-
: {
|
|
95
|
-
groupIds: (_j = res.body.properties) === null || _j === void 0 ? void 0 : _j["groupIds"],
|
|
96
|
-
privateEndpoint: !((_k = res.body.properties) === null || _k === void 0 ? void 0 : _k.privateEndpoint)
|
|
97
|
-
? undefined
|
|
98
|
-
: { id: (_m = (_l = res.body.properties) === null || _l === void 0 ? void 0 : _l.privateEndpoint) === null || _m === void 0 ? void 0 : _m["id"] },
|
|
99
|
-
privateLinkServiceConnectionState: {
|
|
100
|
-
status: (_o = res.body.properties) === null || _o === void 0 ? void 0 : _o.privateLinkServiceConnectionState["status"],
|
|
101
|
-
description: (_p = res.body.properties) === null || _p === void 0 ? void 0 : _p.privateLinkServiceConnectionState["description"],
|
|
102
|
-
actionsRequired: (_q = res.body.properties) === null || _q === void 0 ? void 0 : _q.privateLinkServiceConnectionState["actionsRequired"],
|
|
103
|
-
},
|
|
104
|
-
provisioningState: (_r = res.body.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
|
|
105
|
-
},
|
|
106
|
-
};
|
|
36
|
+
return privateEndpointConnectionResourceDeserializer(result.body);
|
|
107
37
|
}
|
|
108
38
|
/** Create a Private endpoint connection */
|
|
109
39
|
export function privateEndpointConnectionsCreate(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, resource, options = {
|
|
110
40
|
requestOptions: {},
|
|
111
41
|
}) {
|
|
112
|
-
return getLongRunningPoller(context, _privateEndpointConnectionsCreateDeserialize, {
|
|
42
|
+
return getLongRunningPoller(context, _privateEndpointConnectionsCreateDeserialize, ["200", "201"], {
|
|
113
43
|
updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
114
44
|
abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
|
|
115
45
|
getInitialResponse: () => _privateEndpointConnectionsCreateSend(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, resource, options),
|
|
46
|
+
resourceLocationConfig: "azure-async-operation",
|
|
116
47
|
});
|
|
117
48
|
}
|
|
118
49
|
export function _privateEndpointConnectionsDeleteSend(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, options = {
|
|
@@ -123,7 +54,8 @@ export function _privateEndpointConnectionsDeleteSend(context, subscriptionId, r
|
|
|
123
54
|
.delete(Object.assign({}, operationOptionsToRequestParameters(options)));
|
|
124
55
|
}
|
|
125
56
|
export async function _privateEndpointConnectionsDeleteDeserialize(result) {
|
|
126
|
-
|
|
57
|
+
const expectedStatuses = ["202", "204", "200"];
|
|
58
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
127
59
|
throw createRestError(result);
|
|
128
60
|
}
|
|
129
61
|
return;
|
|
@@ -132,10 +64,11 @@ export async function _privateEndpointConnectionsDeleteDeserialize(result) {
|
|
|
132
64
|
export function privateEndpointConnectionsDelete(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, options = {
|
|
133
65
|
requestOptions: {},
|
|
134
66
|
}) {
|
|
135
|
-
return getLongRunningPoller(context, _privateEndpointConnectionsDeleteDeserialize, {
|
|
67
|
+
return getLongRunningPoller(context, _privateEndpointConnectionsDeleteDeserialize, ["202", "204", "200"], {
|
|
136
68
|
updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
137
69
|
abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
|
|
138
70
|
getInitialResponse: () => _privateEndpointConnectionsDeleteSend(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, options),
|
|
71
|
+
resourceLocationConfig: "location",
|
|
139
72
|
});
|
|
140
73
|
}
|
|
141
74
|
export function _privateEndpointConnectionsListByDeidServiceSend(context, subscriptionId, resourceGroupName, deidServiceName, options = {
|
|
@@ -146,53 +79,16 @@ export function _privateEndpointConnectionsListByDeidServiceSend(context, subscr
|
|
|
146
79
|
.get(Object.assign({}, operationOptionsToRequestParameters(options)));
|
|
147
80
|
}
|
|
148
81
|
export async function _privateEndpointConnectionsListByDeidServiceDeserialize(result) {
|
|
149
|
-
|
|
82
|
+
const expectedStatuses = ["200"];
|
|
83
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
150
84
|
throw createRestError(result);
|
|
151
85
|
}
|
|
152
|
-
return
|
|
153
|
-
value: result.body["value"].map((p) => {
|
|
154
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
155
|
-
return {
|
|
156
|
-
id: p["id"],
|
|
157
|
-
name: p["name"],
|
|
158
|
-
type: p["type"],
|
|
159
|
-
systemData: !p.systemData
|
|
160
|
-
? undefined
|
|
161
|
-
: {
|
|
162
|
-
createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
|
|
163
|
-
createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
|
|
164
|
-
createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
|
|
165
|
-
? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
|
|
166
|
-
: undefined,
|
|
167
|
-
lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
|
|
168
|
-
lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
|
|
169
|
-
lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
|
|
170
|
-
? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
|
|
171
|
-
: undefined,
|
|
172
|
-
},
|
|
173
|
-
properties: !p.properties
|
|
174
|
-
? undefined
|
|
175
|
-
: {
|
|
176
|
-
groupIds: (_j = p.properties) === null || _j === void 0 ? void 0 : _j["groupIds"],
|
|
177
|
-
privateEndpoint: !((_k = p.properties) === null || _k === void 0 ? void 0 : _k.privateEndpoint)
|
|
178
|
-
? undefined
|
|
179
|
-
: { id: (_m = (_l = p.properties) === null || _l === void 0 ? void 0 : _l.privateEndpoint) === null || _m === void 0 ? void 0 : _m["id"] },
|
|
180
|
-
privateLinkServiceConnectionState: {
|
|
181
|
-
status: (_o = p.properties) === null || _o === void 0 ? void 0 : _o.privateLinkServiceConnectionState["status"],
|
|
182
|
-
description: (_p = p.properties) === null || _p === void 0 ? void 0 : _p.privateLinkServiceConnectionState["description"],
|
|
183
|
-
actionsRequired: (_q = p.properties) === null || _q === void 0 ? void 0 : _q.privateLinkServiceConnectionState["actionsRequired"],
|
|
184
|
-
},
|
|
185
|
-
provisioningState: (_r = p.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
|
|
186
|
-
},
|
|
187
|
-
};
|
|
188
|
-
}),
|
|
189
|
-
nextLink: result.body["nextLink"],
|
|
190
|
-
};
|
|
86
|
+
return _privateEndpointConnectionResourceListResultDeserializer(result.body);
|
|
191
87
|
}
|
|
192
88
|
/** List private endpoint connections on the given resource */
|
|
193
89
|
export function privateEndpointConnectionsListByDeidService(context, subscriptionId, resourceGroupName, deidServiceName, options = {
|
|
194
90
|
requestOptions: {},
|
|
195
91
|
}) {
|
|
196
|
-
return buildPagedAsyncIterator(context, () => _privateEndpointConnectionsListByDeidServiceSend(context, subscriptionId, resourceGroupName, deidServiceName, options), _privateEndpointConnectionsListByDeidServiceDeserialize, { itemName: "value", nextLinkName: "nextLink" });
|
|
92
|
+
return buildPagedAsyncIterator(context, () => _privateEndpointConnectionsListByDeidServiceSend(context, subscriptionId, resourceGroupName, deidServiceName, options), _privateEndpointConnectionsListByDeidServiceDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
197
93
|
}
|
|
198
94
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/privateEndpointConnections/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAE5D,OAAO,EACL,6CAA6C,GAG9C,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EACL,YAAY,GAcb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,mCAAmC,EACnC,eAAe,GAChB,MAAM,yBAAyB,CAAC;AAQjC,MAAM,UAAU,kCAAkC,CAChD,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,eAAuB,EACvB,6BAAqC,EACrC,UAAuD,EAAE,cAAc,EAAE,EAAE,EAAE;I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EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC;KAClC,CAAC;AACJ,CAAC;AAED,8DAA8D;AAC9D,MAAM,UAAU,2CAA2C,CACzD,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,eAAuB,EACvB,UAAqE;IACnE,cAAc,EAAE,EAAE;CACnB;IAED,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CACH,gDAAgD,CAC9C,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,OAAO,CACR,EACH,uDAAuD,EACvD,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { getLongRunningPoller } from \"../pollingHelpers.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n privateEndpointConnectionPropertiesSerializer,\n PrivateEndpointConnectionResource,\n _PrivateEndpointConnectionResourceListResult,\n} from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../models/pagingTypes.js\";\nimport { buildPagedAsyncIterator } from \"../pagingHelpers.js\";\nimport {\n isUnexpected,\n HealthDataAIServicesContext as Client,\n PrivateEndpointConnectionsCreate200Response,\n PrivateEndpointConnectionsCreate201Response,\n PrivateEndpointConnectionsCreateDefaultResponse,\n PrivateEndpointConnectionsCreateLogicalResponse,\n PrivateEndpointConnectionsDelete202Response,\n PrivateEndpointConnectionsDelete204Response,\n PrivateEndpointConnectionsDeleteDefaultResponse,\n PrivateEndpointConnectionsDeleteLogicalResponse,\n PrivateEndpointConnectionsGet200Response,\n PrivateEndpointConnectionsGetDefaultResponse,\n PrivateEndpointConnectionsListByDeidService200Response,\n PrivateEndpointConnectionsListByDeidServiceDefaultResponse,\n} from \"../../rest/index.js\";\nimport {\n StreamableMethod,\n operationOptionsToRequestParameters,\n createRestError,\n} from \"@azure-rest/core-client\";\nimport {\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsCreateOptionalParams,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsListByDeidServiceOptionalParams,\n} from \"../../models/options.js\";\n\nexport function _privateEndpointConnectionsGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod<\n PrivateEndpointConnectionsGet200Response | PrivateEndpointConnectionsGetDefaultResponse\n> {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _privateEndpointConnectionsGetDeserialize(\n result: PrivateEndpointConnectionsGet200Response | PrivateEndpointConnectionsGetDefaultResponse,\n): Promise<PrivateEndpointConnectionResource> {\n if (isUnexpected(result)) {\n throw createRestError(result);\n }\n\n return {\n id: result.body[\"id\"],\n name: result.body[\"name\"],\n type: result.body[\"type\"],\n systemData: !result.body.systemData\n ? undefined\n : {\n createdBy: result.body.systemData?.[\"createdBy\"],\n createdByType: result.body.systemData?.[\"createdByType\"],\n createdAt:\n result.body.systemData?.[\"createdAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: result.body.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: result.body.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n result.body.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !result.body.properties\n ? undefined\n : {\n groupIds: result.body.properties?.[\"groupIds\"],\n privateEndpoint: !result.body.properties?.privateEndpoint\n ? undefined\n : { id: result.body.properties?.privateEndpoint?.[\"id\"] },\n privateLinkServiceConnectionState: {\n status: result.body.properties?.privateLinkServiceConnectionState[\"status\"],\n description: result.body.properties?.privateLinkServiceConnectionState[\"description\"],\n actionsRequired:\n result.body.properties?.privateLinkServiceConnectionState[\"actionsRequired\"],\n },\n provisioningState: result.body.properties?.[\"provisioningState\"],\n },\n };\n}\n\n/** Get a specific private connection */\nexport async function privateEndpointConnectionsGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionsGetOptionalParams = { requestOptions: {} },\n): Promise<PrivateEndpointConnectionResource> {\n const result = await _privateEndpointConnectionsGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n options,\n );\n return _privateEndpointConnectionsGetDeserialize(result);\n}\n\nexport function _privateEndpointConnectionsCreateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n resource: PrivateEndpointConnectionResource,\n options: PrivateEndpointConnectionsCreateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod<\n | PrivateEndpointConnectionsCreate200Response\n | PrivateEndpointConnectionsCreate201Response\n | PrivateEndpointConnectionsCreateDefaultResponse\n | PrivateEndpointConnectionsCreateLogicalResponse\n> {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n )\n .put({\n ...operationOptionsToRequestParameters(options),\n body: {\n properties: !resource.properties\n ? resource.properties\n : privateEndpointConnectionPropertiesSerializer(resource.properties),\n },\n });\n}\n\nexport async function _privateEndpointConnectionsCreateDeserialize(\n result:\n | PrivateEndpointConnectionsCreate200Response\n | PrivateEndpointConnectionsCreate201Response\n | PrivateEndpointConnectionsCreateDefaultResponse\n | PrivateEndpointConnectionsCreateLogicalResponse,\n): Promise<PrivateEndpointConnectionResource> {\n if (isUnexpected(result)) {\n throw createRestError(result);\n }\n\n const res = result as unknown as PrivateEndpointConnectionsCreateLogicalResponse;\n return {\n id: res.body[\"id\"],\n name: res.body[\"name\"],\n type: res.body[\"type\"],\n systemData: !res.body.systemData\n ? undefined\n : {\n createdBy: res.body.systemData?.[\"createdBy\"],\n createdByType: res.body.systemData?.[\"createdByType\"],\n createdAt:\n res.body.systemData?.[\"createdAt\"] !== undefined\n ? new Date(res.body.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: res.body.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: res.body.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n res.body.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(res.body.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !res.body.properties\n ? undefined\n : {\n groupIds: res.body.properties?.[\"groupIds\"],\n privateEndpoint: !res.body.properties?.privateEndpoint\n ? undefined\n : { id: res.body.properties?.privateEndpoint?.[\"id\"] },\n privateLinkServiceConnectionState: {\n status: res.body.properties?.privateLinkServiceConnectionState[\"status\"],\n description: res.body.properties?.privateLinkServiceConnectionState[\"description\"],\n actionsRequired:\n res.body.properties?.privateLinkServiceConnectionState[\"actionsRequired\"],\n },\n provisioningState: res.body.properties?.[\"provisioningState\"],\n },\n };\n}\n\n/** Create a Private endpoint connection */\nexport function privateEndpointConnectionsCreate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n resource: PrivateEndpointConnectionResource,\n options: PrivateEndpointConnectionsCreateOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<\n OperationState<PrivateEndpointConnectionResource>,\n PrivateEndpointConnectionResource\n> {\n return getLongRunningPoller(context, _privateEndpointConnectionsCreateDeserialize, {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _privateEndpointConnectionsCreateSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n resource,\n options,\n ),\n }) as PollerLike<\n OperationState<PrivateEndpointConnectionResource>,\n PrivateEndpointConnectionResource\n >;\n}\n\nexport function _privateEndpointConnectionsDeleteSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionsDeleteOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod<\n | PrivateEndpointConnectionsDelete202Response\n | PrivateEndpointConnectionsDelete204Response\n | PrivateEndpointConnectionsDeleteDefaultResponse\n | PrivateEndpointConnectionsDeleteLogicalResponse\n> {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n )\n .delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _privateEndpointConnectionsDeleteDeserialize(\n result:\n | PrivateEndpointConnectionsDelete202Response\n | PrivateEndpointConnectionsDelete204Response\n | PrivateEndpointConnectionsDeleteDefaultResponse\n | PrivateEndpointConnectionsDeleteLogicalResponse,\n): Promise<void> {\n if (isUnexpected(result)) {\n throw createRestError(result);\n }\n\n return;\n}\n\n/** Delete the private endpoint connection */\nexport function privateEndpointConnectionsDelete(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionsDeleteOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _privateEndpointConnectionsDeleteDeserialize, {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _privateEndpointConnectionsDeleteSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n options,\n ),\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _privateEndpointConnectionsListByDeidServiceSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n options: PrivateEndpointConnectionsListByDeidServiceOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod<\n | PrivateEndpointConnectionsListByDeidService200Response\n | PrivateEndpointConnectionsListByDeidServiceDefaultResponse\n> {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _privateEndpointConnectionsListByDeidServiceDeserialize(\n result:\n | PrivateEndpointConnectionsListByDeidService200Response\n | PrivateEndpointConnectionsListByDeidServiceDefaultResponse,\n): Promise<_PrivateEndpointConnectionResourceListResult> {\n if (isUnexpected(result)) {\n throw createRestError(result);\n }\n\n return {\n value: result.body[\"value\"].map((p) => {\n return {\n id: p[\"id\"],\n name: p[\"name\"],\n type: p[\"type\"],\n systemData: !p.systemData\n ? undefined\n : {\n createdBy: p.systemData?.[\"createdBy\"],\n createdByType: p.systemData?.[\"createdByType\"],\n createdAt:\n p.systemData?.[\"createdAt\"] !== undefined\n ? new Date(p.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: p.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: p.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n p.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(p.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !p.properties\n ? undefined\n : {\n groupIds: p.properties?.[\"groupIds\"],\n privateEndpoint: !p.properties?.privateEndpoint\n ? undefined\n : { id: p.properties?.privateEndpoint?.[\"id\"] },\n privateLinkServiceConnectionState: {\n status: p.properties?.privateLinkServiceConnectionState[\"status\"],\n description: p.properties?.privateLinkServiceConnectionState[\"description\"],\n actionsRequired: p.properties?.privateLinkServiceConnectionState[\"actionsRequired\"],\n },\n provisioningState: p.properties?.[\"provisioningState\"],\n },\n };\n }),\n nextLink: result.body[\"nextLink\"],\n };\n}\n\n/** List private endpoint connections on the given resource */\nexport function privateEndpointConnectionsListByDeidService(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n options: PrivateEndpointConnectionsListByDeidServiceOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<PrivateEndpointConnectionResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _privateEndpointConnectionsListByDeidServiceSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n options,\n ),\n _privateEndpointConnectionsListByDeidServiceDeserialize,\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/privateEndpointConnections/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AASlC,OAAO,EAEL,2CAA2C,EAC3C,6CAA6C,EAE7C,wDAAwD,GACzD,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAGjC,MAAM,UAAU,kCAAkC,CAChD,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,eAAuB,EACvB,6BAAqC,EACrC,UAAuD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE7E,OAAO,OAAO;SACX,IAAI,CACH,uMAAuM,EACvM,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,6BAA6B,CAC9B;SACA,GAAG,mBAAM,mCAAmC,CAAC,OAAO,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MAAM,UAAU,2CAA2C,CACzD,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,eAAuB,EACvB,UAAqE;IACnE,cAAc,EAAE,EAAE;CACnB;IAED,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CACH,gDAAgD,CAC9C,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,OAAO,CACR,EACH,uDAAuD,EACvD,CAAC,KAAK,CAAC,EACP,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n HealthDataAIServicesContext as Client,\n PrivateEndpointConnectionsCreateOptionalParams,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsListByDeidServiceOptionalParams,\n} from \"../index.js\";\nimport {\n PrivateEndpointConnectionResource,\n privateEndpointConnectionResourceSerializer,\n privateEndpointConnectionResourceDeserializer,\n _PrivateEndpointConnectionResourceListResult,\n _privateEndpointConnectionResourceListResultDeserializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _privateEndpointConnectionsGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _privateEndpointConnectionsGetDeserialize(\n result: PathUncheckedResponse,\n): Promise<PrivateEndpointConnectionResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return privateEndpointConnectionResourceDeserializer(result.body);\n}\n\n/** Get a specific private connection */\nexport async function privateEndpointConnectionsGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionsGetOptionalParams = { requestOptions: {} },\n): Promise<PrivateEndpointConnectionResource> {\n const result = await _privateEndpointConnectionsGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n options,\n );\n return _privateEndpointConnectionsGetDeserialize(result);\n}\n\nexport function _privateEndpointConnectionsCreateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n resource: PrivateEndpointConnectionResource,\n options: PrivateEndpointConnectionsCreateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n )\n .put({\n ...operationOptionsToRequestParameters(options),\n body: privateEndpointConnectionResourceSerializer(resource),\n });\n}\n\nexport async function _privateEndpointConnectionsCreateDeserialize(\n result: PathUncheckedResponse,\n): Promise<PrivateEndpointConnectionResource> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return privateEndpointConnectionResourceDeserializer(result.body);\n}\n\n/** Create a Private endpoint connection */\nexport function privateEndpointConnectionsCreate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n resource: PrivateEndpointConnectionResource,\n options: PrivateEndpointConnectionsCreateOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<\n OperationState<PrivateEndpointConnectionResource>,\n PrivateEndpointConnectionResource\n> {\n return getLongRunningPoller(\n context,\n _privateEndpointConnectionsCreateDeserialize,\n [\"200\", \"201\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _privateEndpointConnectionsCreateSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n resource,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n },\n ) as PollerLike<\n OperationState<PrivateEndpointConnectionResource>,\n PrivateEndpointConnectionResource\n >;\n}\n\nexport function _privateEndpointConnectionsDeleteSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionsDeleteOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n )\n .delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _privateEndpointConnectionsDeleteDeserialize(\n result: PathUncheckedResponse,\n): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return;\n}\n\n/** Delete the private endpoint connection */\nexport function privateEndpointConnectionsDelete(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options: PrivateEndpointConnectionsDeleteOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(\n context,\n _privateEndpointConnectionsDeleteDeserialize,\n [\"202\", \"204\", \"200\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _privateEndpointConnectionsDeleteSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n options,\n ),\n resourceLocationConfig: \"location\",\n },\n ) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _privateEndpointConnectionsListByDeidServiceSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n options: PrivateEndpointConnectionsListByDeidServiceOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _privateEndpointConnectionsListByDeidServiceDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PrivateEndpointConnectionResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _privateEndpointConnectionResourceListResultDeserializer(result.body);\n}\n\n/** List private endpoint connections on the given resource */\nexport function privateEndpointConnectionsListByDeidService(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n options: PrivateEndpointConnectionsListByDeidServiceOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<PrivateEndpointConnectionResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _privateEndpointConnectionsListByDeidServiceSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n options,\n ),\n _privateEndpointConnectionsListByDeidServiceDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { StreamableMethod } from "@azure-rest/core-client";
|
|
5
|
-
|
|
6
|
-
export declare function
|
|
7
|
-
export declare function _privateLinksListByDeidServiceDeserialize(result: PrivateLinksListByDeidService200Response | PrivateLinksListByDeidServiceDefaultResponse): Promise<_PrivateLinkResourceListResult>;
|
|
1
|
+
import { HealthDataAIServicesContext as Client, PrivateLinksListByDeidServiceOptionalParams } from "../index.js";
|
|
2
|
+
import { _PrivateLinkResourceListResult, PrivateLinkResource } from "../../models/models.js";
|
|
3
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
+
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
5
|
+
export declare function _privateLinksListByDeidServiceSend(context: Client, subscriptionId: string, resourceGroupName: string, deidServiceName: string, options?: PrivateLinksListByDeidServiceOptionalParams): StreamableMethod;
|
|
6
|
+
export declare function _privateLinksListByDeidServiceDeserialize(result: PathUncheckedResponse): Promise<_PrivateLinkResourceListResult>;
|
|
8
7
|
/** List private links on the given resource */
|
|
9
8
|
export declare function privateLinksListByDeidService(context: Client, subscriptionId: string, resourceGroupName: string, deidServiceName: string, options?: PrivateLinksListByDeidServiceOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
|
|
10
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/privateLinks/index.ts"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/privateLinks/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,2BAA2B,IAAI,MAAM,EACrC,2CAA2C,EAC5C,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,8BAA8B,EAE9B,mBAAmB,EACpB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,0BAA0B,EAE3B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EAGtB,MAAM,yBAAyB,CAAC;AAEjC,wBAAgB,kCAAkC,CAChD,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,GAAE,2CAAoE,GAC5E,gBAAgB,CASlB;AAED,wBAAsB,yCAAyC,CAC7D,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,8BAA8B,CAAC,CAOzC;AAED,+CAA+C;AAC/C,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,GAAE,2CAAoE,GAC5E,0BAA0B,CAAC,mBAAmB,CAAC,CAejD"}
|
|
@@ -1,52 +1,22 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { _privateLinkResourceListResultDeserializer, } from "../../models/models.js";
|
|
4
|
+
import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
|
|
6
6
|
export function _privateLinksListByDeidServiceSend(context, subscriptionId, resourceGroupName, deidServiceName, options = { requestOptions: {} }) {
|
|
7
7
|
return context
|
|
8
8
|
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateLinkResources", subscriptionId, resourceGroupName, deidServiceName)
|
|
9
9
|
.get(Object.assign({}, operationOptionsToRequestParameters(options)));
|
|
10
10
|
}
|
|
11
11
|
export async function _privateLinksListByDeidServiceDeserialize(result) {
|
|
12
|
-
|
|
12
|
+
const expectedStatuses = ["200"];
|
|
13
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
13
14
|
throw createRestError(result);
|
|
14
15
|
}
|
|
15
|
-
return
|
|
16
|
-
value: result.body["value"].map((p) => {
|
|
17
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
18
|
-
return {
|
|
19
|
-
id: p["id"],
|
|
20
|
-
name: p["name"],
|
|
21
|
-
type: p["type"],
|
|
22
|
-
systemData: !p.systemData
|
|
23
|
-
? undefined
|
|
24
|
-
: {
|
|
25
|
-
createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
|
|
26
|
-
createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
|
|
27
|
-
createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
|
|
28
|
-
? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
|
|
29
|
-
: undefined,
|
|
30
|
-
lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
|
|
31
|
-
lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
|
|
32
|
-
lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
|
|
33
|
-
? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
|
|
34
|
-
: undefined,
|
|
35
|
-
},
|
|
36
|
-
properties: !p.properties
|
|
37
|
-
? undefined
|
|
38
|
-
: {
|
|
39
|
-
groupId: (_j = p.properties) === null || _j === void 0 ? void 0 : _j["groupId"],
|
|
40
|
-
requiredMembers: (_k = p.properties) === null || _k === void 0 ? void 0 : _k["requiredMembers"],
|
|
41
|
-
requiredZoneNames: (_l = p.properties) === null || _l === void 0 ? void 0 : _l["requiredZoneNames"],
|
|
42
|
-
},
|
|
43
|
-
};
|
|
44
|
-
}),
|
|
45
|
-
nextLink: result.body["nextLink"],
|
|
46
|
-
};
|
|
16
|
+
return _privateLinkResourceListResultDeserializer(result.body);
|
|
47
17
|
}
|
|
48
18
|
/** List private links on the given resource */
|
|
49
19
|
export function privateLinksListByDeidService(context, subscriptionId, resourceGroupName, deidServiceName, options = { requestOptions: {} }) {
|
|
50
|
-
return buildPagedAsyncIterator(context, () => _privateLinksListByDeidServiceSend(context, subscriptionId, resourceGroupName, deidServiceName, options), _privateLinksListByDeidServiceDeserialize, { itemName: "value", nextLinkName: "nextLink" });
|
|
20
|
+
return buildPagedAsyncIterator(context, () => _privateLinksListByDeidServiceSend(context, subscriptionId, resourceGroupName, deidServiceName, options), _privateLinksListByDeidServiceDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
51
21
|
}
|
|
52
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/privateLinks/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/privateLinks/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAEL,0CAA0C,GAE3C,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAEjC,MAAM,UAAU,kCAAkC,CAChD,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,eAAuB,EACvB,UAAuD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE7E,OAAO,OAAO;SACX,IAAI,CACH,iKAAiK,EACjK,cAAc,EACd,iBAAiB,EACjB,eAAe,CAChB;SACA,GAAG,mBAAM,mCAAmC,CAAC,OAAO,CAAC,EAAG,CAAC;AAC9D,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,yCAAyC,CAC7D,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,0CAA0C,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACjE,CAAC;AAED,+CAA+C;AAC/C,MAAM,UAAU,6BAA6B,CAC3C,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,eAAuB,EACvB,UAAuD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE7E,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CACH,kCAAkC,CAChC,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,OAAO,CACR,EACH,yCAAyC,EACzC,CAAC,KAAK,CAAC,EACP,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n HealthDataAIServicesContext as Client,\n PrivateLinksListByDeidServiceOptionalParams,\n} from \"../index.js\";\nimport {\n _PrivateLinkResourceListResult,\n _privateLinkResourceListResultDeserializer,\n PrivateLinkResource,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _privateLinksListByDeidServiceSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n options: PrivateLinksListByDeidServiceOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateLinkResources\",\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _privateLinksListByDeidServiceDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PrivateLinkResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _privateLinkResourceListResultDeserializer(result.body);\n}\n\n/** List private links on the given resource */\nexport function privateLinksListByDeidService(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n deidServiceName: string,\n options: PrivateLinksListByDeidServiceOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<PrivateLinkResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _privateLinksListByDeidServiceSend(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n options,\n ),\n _privateLinksListByDeidServiceDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { HealthDataAIServicesContext } from "../../api/healthDataAIServicesContext.js";
|
|
2
2
|
import { DeidService, DeidUpdate } from "../../models/models.js";
|
|
3
|
-
import { PagedAsyncIterableIterator } from "../../
|
|
3
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
4
|
import { PollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
-
import { DeidServicesGetOptionalParams, DeidServicesListByResourceGroupOptionalParams, DeidServicesListBySubscriptionOptionalParams, DeidServicesCreateOptionalParams, DeidServicesUpdateOptionalParams, DeidServicesDeleteOptionalParams } from "../../
|
|
5
|
+
import { DeidServicesGetOptionalParams, DeidServicesListByResourceGroupOptionalParams, DeidServicesListBySubscriptionOptionalParams, DeidServicesCreateOptionalParams, DeidServicesUpdateOptionalParams, DeidServicesDeleteOptionalParams } from "../../api/options.js";
|
|
6
6
|
/** Interface representing a DeidServices operations. */
|
|
7
7
|
export interface DeidServicesOperations {
|
|
8
8
|
/** Get a DeidService */
|
|
@@ -20,8 +20,8 @@ export interface DeidServicesOperations {
|
|
|
20
20
|
}
|
|
21
21
|
export declare function getDeidServices(context: HealthDataAIServicesContext, subscriptionId: string): {
|
|
22
22
|
get: (resourceGroupName: string, deidServiceName: string, options?: DeidServicesGetOptionalParams) => Promise<DeidService>;
|
|
23
|
-
listByResourceGroup: (resourceGroupName: string, options?: DeidServicesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<DeidService, DeidService[], import("../../
|
|
24
|
-
listBySubscription: (options?: DeidServicesListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<DeidService, DeidService[], import("../../
|
|
23
|
+
listByResourceGroup: (resourceGroupName: string, options?: DeidServicesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<DeidService, DeidService[], import("../../static-helpers/pagingHelpers.js").PageSettings>;
|
|
24
|
+
listBySubscription: (options?: DeidServicesListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<DeidService, DeidService[], import("../../static-helpers/pagingHelpers.js").PageSettings>;
|
|
25
25
|
create: (resourceGroupName: string, deidServiceName: string, resource: DeidService, options?: DeidServicesCreateOptionalParams) => PollerLike<OperationState<DeidService>, DeidService>;
|
|
26
26
|
update: (resourceGroupName: string, deidServiceName: string, properties: DeidUpdate, options?: DeidServicesUpdateOptionalParams) => PollerLike<OperationState<DeidService>, DeidService>;
|
|
27
27
|
delete: (resourceGroupName: string, deidServiceName: string, options?: DeidServicesDeleteOptionalParams) => PollerLike<OperationState<void>, void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/deidServices/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;
|
|
1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,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,WAAW,CAAC,CAAC;IAC1D,2BAA2B;IAC3B,MAAM,EAAE,CACN,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,gCAAgC,KACvC,UAAU,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;CAC7C;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,2BAA2B,EAAE,cAAc,EAAE,MAAM;6BAGnE,MAAM,mBACR,MAAM,YACb,6BAA6B;6CAGpB,MAAM,YACf,6CAA6C;mCAE1B,4CAA4C;gCAGtD,MAAM,mBACR,MAAM,YACb,WAAW,YACX,gCAAgC;gCAWvB,MAAM,mBACR,MAAM,cACX,UAAU,YACZ,gCAAgC;gCAWvB,MAAM,mBACR,MAAM,YACb,gCAAgC;EAG/C;AAED,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,2BAA2B,EACpC,cAAc,EAAE,MAAM,GACrB,sBAAsB,CAIxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/deidServices/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/deidServices/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,eAAe,EACf,+BAA+B,EAC/B,8BAA8B,EAC9B,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,iCAAiC,CAAC;AAoDzC,MAAM,UAAU,eAAe,CAAC,OAAoC,EAAE,cAAsB;IAC1F,OAAO;QACL,GAAG,EAAE,CACH,iBAAyB,EACzB,eAAuB,EACvB,OAAuC,EACvC,EAAE,CAAC,eAAe,CAAC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,eAAe,EAAE,OAAO,CAAC;QAC1F,mBAAmB,EAAE,CACnB,iBAAyB,EACzB,OAAuD,EACvD,EAAE,CAAC,+BAA+B,CAAC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,OAAO,CAAC;QACzF,kBAAkB,EAAE,CAAC,OAAsD,EAAE,EAAE,CAC7E,8BAA8B,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC;QAClE,MAAM,EAAE,CACN,iBAAyB,EACzB,eAAuB,EACvB,QAAqB,EACrB,OAA0C,EAC1C,EAAE,CACF,kBAAkB,CAChB,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,QAAQ,EACR,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,eAAuB,EACvB,UAAsB,EACtB,OAA0C,EAC1C,EAAE,CACF,kBAAkB,CAChB,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,UAAU,EACV,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,eAAuB,EACvB,OAA0C,EAC1C,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,eAAe,EAAE,OAAO,CAAC;KAC9F,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,yBAAyB,CACvC,OAAoC,EACpC,cAAsB;IAEtB,yBACK,eAAe,CAAC,OAAO,EAAE,cAAc,CAAC,EAC3C;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { HealthDataAIServicesContext } from \"../../api/healthDataAIServicesContext.js\";\nimport {\n deidServicesGet,\n deidServicesListByResourceGroup,\n deidServicesListBySubscription,\n deidServicesCreate,\n deidServicesUpdate,\n deidServicesDelete,\n} from \"../../api/deidServices/index.js\";\nimport { DeidService, DeidUpdate } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n DeidServicesGetOptionalParams,\n DeidServicesListByResourceGroupOptionalParams,\n DeidServicesListBySubscriptionOptionalParams,\n DeidServicesCreateOptionalParams,\n DeidServicesUpdateOptionalParams,\n DeidServicesDeleteOptionalParams,\n} from \"../../api/options.js\";\n\n/** Interface representing a DeidServices operations. */\nexport interface DeidServicesOperations {\n /** Get a DeidService */\n get: (\n resourceGroupName: string,\n deidServiceName: string,\n options?: DeidServicesGetOptionalParams,\n ) => Promise<DeidService>;\n /** List DeidService resources by resource group */\n listByResourceGroup: (\n resourceGroupName: string,\n options?: DeidServicesListByResourceGroupOptionalParams,\n ) => PagedAsyncIterableIterator<DeidService>;\n /** List DeidService resources by subscription ID */\n listBySubscription: (\n options?: DeidServicesListBySubscriptionOptionalParams,\n ) => PagedAsyncIterableIterator<DeidService>;\n /** Create a DeidService */\n create: (\n resourceGroupName: string,\n deidServiceName: string,\n resource: DeidService,\n options?: DeidServicesCreateOptionalParams,\n ) => PollerLike<OperationState<DeidService>, DeidService>;\n /** Update a DeidService */\n update: (\n resourceGroupName: string,\n deidServiceName: string,\n properties: DeidUpdate,\n options?: DeidServicesUpdateOptionalParams,\n ) => PollerLike<OperationState<DeidService>, DeidService>;\n /** Delete a DeidService */\n delete: (\n resourceGroupName: string,\n deidServiceName: string,\n options?: DeidServicesDeleteOptionalParams,\n ) => PollerLike<OperationState<void>, void>;\n}\n\nexport function getDeidServices(context: HealthDataAIServicesContext, subscriptionId: string) {\n return {\n get: (\n resourceGroupName: string,\n deidServiceName: string,\n options?: DeidServicesGetOptionalParams,\n ) => deidServicesGet(context, subscriptionId, resourceGroupName, deidServiceName, options),\n listByResourceGroup: (\n resourceGroupName: string,\n options?: DeidServicesListByResourceGroupOptionalParams,\n ) => deidServicesListByResourceGroup(context, subscriptionId, resourceGroupName, options),\n listBySubscription: (options?: DeidServicesListBySubscriptionOptionalParams) =>\n deidServicesListBySubscription(context, subscriptionId, options),\n create: (\n resourceGroupName: string,\n deidServiceName: string,\n resource: DeidService,\n options?: DeidServicesCreateOptionalParams,\n ) =>\n deidServicesCreate(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n resource,\n options,\n ),\n update: (\n resourceGroupName: string,\n deidServiceName: string,\n properties: DeidUpdate,\n options?: DeidServicesUpdateOptionalParams,\n ) =>\n deidServicesUpdate(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n properties,\n options,\n ),\n delete: (\n resourceGroupName: string,\n deidServiceName: string,\n options?: DeidServicesDeleteOptionalParams,\n ) => deidServicesDelete(context, subscriptionId, resourceGroupName, deidServiceName, options),\n };\n}\n\nexport function getDeidServicesOperations(\n context: HealthDataAIServicesContext,\n subscriptionId: string,\n): DeidServicesOperations {\n return {\n ...getDeidServices(context, subscriptionId),\n };\n}\n"]}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { HealthDataAIServicesContext } from "../../api/healthDataAIServicesContext.js";
|
|
2
|
+
import { OperationsListOptionalParams } from "../../api/options.js";
|
|
2
3
|
import { Operation } from "../../models/models.js";
|
|
3
|
-
import { PagedAsyncIterableIterator } from "../../
|
|
4
|
-
import { OperationsListOptionalParams } from "../../models/options.js";
|
|
4
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
5
|
/** Interface representing a Operations operations. */
|
|
6
6
|
export interface OperationsOperations {
|
|
7
7
|
/** List the operations for the provider */
|
|
8
8
|
list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation>;
|
|
9
9
|
}
|
|
10
10
|
export declare function getOperations(context: HealthDataAIServicesContext): {
|
|
11
|
-
list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation, Operation[], import("../../
|
|
11
|
+
list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation, Operation[], import("../../static-helpers/pagingHelpers.js").PageSettings>;
|
|
12
12
|
};
|
|
13
13
|
export declare function getOperationsOperations(context: HealthDataAIServicesContext): OperationsOperations;
|
|
14
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/operations/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/operations/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AAEvF,OAAO,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AAEnF,sDAAsD;AACtD,MAAM,WAAW,oBAAoB;IACnC,2CAA2C;IAC3C,IAAI,EAAE,CAAC,OAAO,CAAC,EAAE,4BAA4B,KAAK,0BAA0B,CAAC,SAAS,CAAC,CAAC;CACzF;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,2BAA2B;qBAE7C,4BAA4B;EAEhD;AAED,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,2BAA2B,GACnC,oBAAoB,CAItB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/operations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/operations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAW/D,MAAM,UAAU,aAAa,CAAC,OAAoC;IAChE,OAAO;QACL,IAAI,EAAE,CAAC,OAAsC,EAAE,EAAE,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,CAAC;KACnF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,uBAAuB,CACrC,OAAoC;IAEpC,yBACK,aAAa,CAAC,OAAO,CAAC,EACzB;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { HealthDataAIServicesContext } from \"../../api/healthDataAIServicesContext.js\";\nimport { operationsList } from \"../../api/operations/index.js\";\nimport { OperationsListOptionalParams } from \"../../api/options.js\";\nimport { Operation } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a Operations operations. */\nexport interface OperationsOperations {\n /** List the operations for the provider */\n list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation>;\n}\n\nexport function getOperations(context: HealthDataAIServicesContext) {\n return {\n list: (options?: OperationsListOptionalParams) => operationsList(context, options),\n };\n}\n\nexport function getOperationsOperations(\n context: HealthDataAIServicesContext,\n): OperationsOperations {\n return {\n ...getOperations(context),\n };\n}\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { HealthDataAIServicesContext } from "../../api/healthDataAIServicesContext.js";
|
|
2
|
+
import { PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsCreateOptionalParams, PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsListByDeidServiceOptionalParams } from "../../api/options.js";
|
|
2
3
|
import { PrivateEndpointConnectionResource } from "../../models/models.js";
|
|
3
|
-
import { PagedAsyncIterableIterator } from "../../
|
|
4
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
5
|
import { PollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
-
import { PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsCreateOptionalParams, PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsListByDeidServiceOptionalParams } from "../../models/options.js";
|
|
6
6
|
/** Interface representing a PrivateEndpointConnections operations. */
|
|
7
7
|
export interface PrivateEndpointConnectionsOperations {
|
|
8
8
|
/** Get a specific private connection */
|
|
@@ -18,7 +18,7 @@ export declare function getPrivateEndpointConnections(context: HealthDataAIServi
|
|
|
18
18
|
get: (resourceGroupName: string, deidServiceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams) => Promise<PrivateEndpointConnectionResource>;
|
|
19
19
|
create: (resourceGroupName: string, deidServiceName: string, privateEndpointConnectionName: string, resource: PrivateEndpointConnectionResource, options?: PrivateEndpointConnectionsCreateOptionalParams) => PollerLike<OperationState<PrivateEndpointConnectionResource>, PrivateEndpointConnectionResource>;
|
|
20
20
|
delete: (resourceGroupName: string, deidServiceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams) => PollerLike<OperationState<void>, void>;
|
|
21
|
-
listByDeidService: (resourceGroupName: string, deidServiceName: string, options?: PrivateEndpointConnectionsListByDeidServiceOptionalParams) => PagedAsyncIterableIterator<PrivateEndpointConnectionResource, PrivateEndpointConnectionResource[], import("../../
|
|
21
|
+
listByDeidService: (resourceGroupName: string, deidServiceName: string, options?: PrivateEndpointConnectionsListByDeidServiceOptionalParams) => PagedAsyncIterableIterator<PrivateEndpointConnectionResource, PrivateEndpointConnectionResource[], import("../../static-helpers/pagingHelpers.js").PageSettings>;
|
|
22
22
|
};
|
|
23
23
|
export declare function getPrivateEndpointConnectionsOperations(context: HealthDataAIServicesContext, subscriptionId: string): PrivateEndpointConnectionsOperations;
|
|
24
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/privateEndpointConnections/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AACvF,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/privateEndpointConnections/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AACvF,OAA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,MAAM,mBACR,MAAM,iCACQ,MAAM,YAC3B,iCAAiC,YACjC,8CAA8C;gCAYrC,MAAM,mBACR,MAAM,iCACQ,MAAM,YAC3B,8CAA8C;2CAWrC,MAAM,mBACR,MAAM,YACb,yDAAyD;EAUxE;AAED,wBAAgB,uCAAuC,CACrD,OAAO,EAAE,2BAA2B,EACpC,cAAc,EAAE,MAAM,GACrB,oCAAoC,CAItC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/privateEndpointConnections/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/privateEndpointConnections/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AASlC,OAAO,EACL,6BAA6B,EAC7B,gCAAgC,EAChC,gCAAgC,EAChC,2CAA2C,GAC5C,MAAM,+CAA+C,CAAC;AAwCvD,MAAM,UAAU,6BAA6B,CAC3C,OAAoC,EACpC,cAAsB;IAEtB,OAAO;QACL,GAAG,EAAE,CACH,iBAAyB,EACzB,eAAuB,EACvB,6BAAqC,EACrC,OAAqD,EACrD,EAAE,CACF,6BAA6B,CAC3B,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,6BAA6B,EAC7B,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,eAAuB,EACvB,6BAAqC,EACrC,QAA2C,EAC3C,OAAwD,EACxD,EAAE,CACF,gCAAgC,CAC9B,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,6BAA6B,EAC7B,QAAQ,EACR,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,eAAuB,EACvB,6BAAqC,EACrC,OAAwD,EACxD,EAAE,CACF,gCAAgC,CAC9B,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,6BAA6B,EAC7B,OAAO,CACR;QACH,iBAAiB,EAAE,CACjB,iBAAyB,EACzB,eAAuB,EACvB,OAAmE,EACnE,EAAE,CACF,2CAA2C,CACzC,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,OAAO,CACR;KACJ,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,uCAAuC,CACrD,OAAoC,EACpC,cAAsB;IAEtB,yBACK,6BAA6B,CAAC,OAAO,EAAE,cAAc,CAAC,EACzD;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { HealthDataAIServicesContext } from \"../../api/healthDataAIServicesContext.js\";\nimport {\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsCreateOptionalParams,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsListByDeidServiceOptionalParams,\n} from \"../../api/options.js\";\nimport {\n privateEndpointConnectionsGet,\n privateEndpointConnectionsCreate,\n privateEndpointConnectionsDelete,\n privateEndpointConnectionsListByDeidService,\n} from \"../../api/privateEndpointConnections/index.js\";\nimport { PrivateEndpointConnectionResource } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\n/** Interface representing a PrivateEndpointConnections operations. */\nexport interface PrivateEndpointConnectionsOperations {\n /** Get a specific private connection */\n get: (\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams,\n ) => Promise<PrivateEndpointConnectionResource>;\n /** Create a Private endpoint connection */\n create: (\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n resource: PrivateEndpointConnectionResource,\n options?: PrivateEndpointConnectionsCreateOptionalParams,\n ) => PollerLike<\n OperationState<PrivateEndpointConnectionResource>,\n PrivateEndpointConnectionResource\n >;\n /** Delete the private endpoint connection */\n delete: (\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ) => PollerLike<OperationState<void>, void>;\n /** List private endpoint connections on the given resource */\n listByDeidService: (\n resourceGroupName: string,\n deidServiceName: string,\n options?: PrivateEndpointConnectionsListByDeidServiceOptionalParams,\n ) => PagedAsyncIterableIterator<PrivateEndpointConnectionResource>;\n}\n\nexport function getPrivateEndpointConnections(\n context: HealthDataAIServicesContext,\n subscriptionId: string,\n) {\n return {\n get: (\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams,\n ) =>\n privateEndpointConnectionsGet(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n options,\n ),\n create: (\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n resource: PrivateEndpointConnectionResource,\n options?: PrivateEndpointConnectionsCreateOptionalParams,\n ) =>\n privateEndpointConnectionsCreate(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n resource,\n options,\n ),\n delete: (\n resourceGroupName: string,\n deidServiceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ) =>\n privateEndpointConnectionsDelete(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n privateEndpointConnectionName,\n options,\n ),\n listByDeidService: (\n resourceGroupName: string,\n deidServiceName: string,\n options?: PrivateEndpointConnectionsListByDeidServiceOptionalParams,\n ) =>\n privateEndpointConnectionsListByDeidService(\n context,\n subscriptionId,\n resourceGroupName,\n deidServiceName,\n options,\n ),\n };\n}\n\nexport function getPrivateEndpointConnectionsOperations(\n context: HealthDataAIServicesContext,\n subscriptionId: string,\n): PrivateEndpointConnectionsOperations {\n return {\n ...getPrivateEndpointConnections(context, subscriptionId),\n };\n}\n"]}
|