@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
|
@@ -14,10 +14,9 @@ exports.privateEndpointConnectionsDelete = privateEndpointConnectionsDelete;
|
|
|
14
14
|
exports._privateEndpointConnectionsListByDeidServiceSend = _privateEndpointConnectionsListByDeidServiceSend;
|
|
15
15
|
exports._privateEndpointConnectionsListByDeidServiceDeserialize = _privateEndpointConnectionsListByDeidServiceDeserialize;
|
|
16
16
|
exports.privateEndpointConnectionsListByDeidService = privateEndpointConnectionsListByDeidService;
|
|
17
|
-
const pollingHelpers_js_1 = require("../pollingHelpers.js");
|
|
18
17
|
const models_js_1 = require("../../models/models.js");
|
|
19
|
-
const pagingHelpers_js_1 = require("
|
|
20
|
-
const
|
|
18
|
+
const pagingHelpers_js_1 = require("../../static-helpers/pagingHelpers.js");
|
|
19
|
+
const pollingHelpers_js_1 = require("../../static-helpers/pollingHelpers.js");
|
|
21
20
|
const core_client_1 = require("@azure-rest/core-client");
|
|
22
21
|
function _privateEndpointConnectionsGetSend(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, options = { requestOptions: {} }) {
|
|
23
22
|
return context
|
|
@@ -25,43 +24,11 @@ function _privateEndpointConnectionsGetSend(context, subscriptionId, resourceGro
|
|
|
25
24
|
.get(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)));
|
|
26
25
|
}
|
|
27
26
|
async function _privateEndpointConnectionsGetDeserialize(result) {
|
|
28
|
-
|
|
29
|
-
if (
|
|
27
|
+
const expectedStatuses = ["200"];
|
|
28
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
30
29
|
throw (0, core_client_1.createRestError)(result);
|
|
31
30
|
}
|
|
32
|
-
return
|
|
33
|
-
id: result.body["id"],
|
|
34
|
-
name: result.body["name"],
|
|
35
|
-
type: result.body["type"],
|
|
36
|
-
systemData: !result.body.systemData
|
|
37
|
-
? undefined
|
|
38
|
-
: {
|
|
39
|
-
createdBy: (_a = result.body.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
|
|
40
|
-
createdByType: (_b = result.body.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
|
|
41
|
-
createdAt: ((_c = result.body.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
|
|
42
|
-
? new Date((_d = result.body.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
|
|
43
|
-
: undefined,
|
|
44
|
-
lastModifiedBy: (_e = result.body.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
|
|
45
|
-
lastModifiedByType: (_f = result.body.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
|
|
46
|
-
lastModifiedAt: ((_g = result.body.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
|
|
47
|
-
? new Date((_h = result.body.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
|
|
48
|
-
: undefined,
|
|
49
|
-
},
|
|
50
|
-
properties: !result.body.properties
|
|
51
|
-
? undefined
|
|
52
|
-
: {
|
|
53
|
-
groupIds: (_j = result.body.properties) === null || _j === void 0 ? void 0 : _j["groupIds"],
|
|
54
|
-
privateEndpoint: !((_k = result.body.properties) === null || _k === void 0 ? void 0 : _k.privateEndpoint)
|
|
55
|
-
? undefined
|
|
56
|
-
: { id: (_m = (_l = result.body.properties) === null || _l === void 0 ? void 0 : _l.privateEndpoint) === null || _m === void 0 ? void 0 : _m["id"] },
|
|
57
|
-
privateLinkServiceConnectionState: {
|
|
58
|
-
status: (_o = result.body.properties) === null || _o === void 0 ? void 0 : _o.privateLinkServiceConnectionState["status"],
|
|
59
|
-
description: (_p = result.body.properties) === null || _p === void 0 ? void 0 : _p.privateLinkServiceConnectionState["description"],
|
|
60
|
-
actionsRequired: (_q = result.body.properties) === null || _q === void 0 ? void 0 : _q.privateLinkServiceConnectionState["actionsRequired"],
|
|
61
|
-
},
|
|
62
|
-
provisioningState: (_r = result.body.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
|
|
63
|
-
},
|
|
64
|
-
};
|
|
31
|
+
return (0, models_js_1.privateEndpointConnectionResourceDeserializer)(result.body);
|
|
65
32
|
}
|
|
66
33
|
/** Get a specific private connection */
|
|
67
34
|
async function privateEndpointConnectionsGet(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, options = { requestOptions: {} }) {
|
|
@@ -73,60 +40,24 @@ function _privateEndpointConnectionsCreateSend(context, subscriptionId, resource
|
|
|
73
40
|
}) {
|
|
74
41
|
return context
|
|
75
42
|
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthDataAIServices/deidServices/{deidServiceName}/privateEndpointConnections/{privateEndpointConnectionName}", subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName)
|
|
76
|
-
.put(Object.assign(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)), { body:
|
|
77
|
-
properties: !resource.properties
|
|
78
|
-
? resource.properties
|
|
79
|
-
: (0, models_js_1.privateEndpointConnectionPropertiesSerializer)(resource.properties),
|
|
80
|
-
} }));
|
|
43
|
+
.put(Object.assign(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)), { body: (0, models_js_1.privateEndpointConnectionResourceSerializer)(resource) }));
|
|
81
44
|
}
|
|
82
45
|
async function _privateEndpointConnectionsCreateDeserialize(result) {
|
|
83
|
-
|
|
84
|
-
if (
|
|
46
|
+
const expectedStatuses = ["200", "201"];
|
|
47
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
85
48
|
throw (0, core_client_1.createRestError)(result);
|
|
86
49
|
}
|
|
87
|
-
|
|
88
|
-
return {
|
|
89
|
-
id: res.body["id"],
|
|
90
|
-
name: res.body["name"],
|
|
91
|
-
type: res.body["type"],
|
|
92
|
-
systemData: !res.body.systemData
|
|
93
|
-
? undefined
|
|
94
|
-
: {
|
|
95
|
-
createdBy: (_a = res.body.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
|
|
96
|
-
createdByType: (_b = res.body.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
|
|
97
|
-
createdAt: ((_c = res.body.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
|
|
98
|
-
? new Date((_d = res.body.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
|
|
99
|
-
: undefined,
|
|
100
|
-
lastModifiedBy: (_e = res.body.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
|
|
101
|
-
lastModifiedByType: (_f = res.body.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
|
|
102
|
-
lastModifiedAt: ((_g = res.body.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
|
|
103
|
-
? new Date((_h = res.body.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
|
|
104
|
-
: undefined,
|
|
105
|
-
},
|
|
106
|
-
properties: !res.body.properties
|
|
107
|
-
? undefined
|
|
108
|
-
: {
|
|
109
|
-
groupIds: (_j = res.body.properties) === null || _j === void 0 ? void 0 : _j["groupIds"],
|
|
110
|
-
privateEndpoint: !((_k = res.body.properties) === null || _k === void 0 ? void 0 : _k.privateEndpoint)
|
|
111
|
-
? undefined
|
|
112
|
-
: { id: (_m = (_l = res.body.properties) === null || _l === void 0 ? void 0 : _l.privateEndpoint) === null || _m === void 0 ? void 0 : _m["id"] },
|
|
113
|
-
privateLinkServiceConnectionState: {
|
|
114
|
-
status: (_o = res.body.properties) === null || _o === void 0 ? void 0 : _o.privateLinkServiceConnectionState["status"],
|
|
115
|
-
description: (_p = res.body.properties) === null || _p === void 0 ? void 0 : _p.privateLinkServiceConnectionState["description"],
|
|
116
|
-
actionsRequired: (_q = res.body.properties) === null || _q === void 0 ? void 0 : _q.privateLinkServiceConnectionState["actionsRequired"],
|
|
117
|
-
},
|
|
118
|
-
provisioningState: (_r = res.body.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
|
|
119
|
-
},
|
|
120
|
-
};
|
|
50
|
+
return (0, models_js_1.privateEndpointConnectionResourceDeserializer)(result.body);
|
|
121
51
|
}
|
|
122
52
|
/** Create a Private endpoint connection */
|
|
123
53
|
function privateEndpointConnectionsCreate(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, resource, options = {
|
|
124
54
|
requestOptions: {},
|
|
125
55
|
}) {
|
|
126
|
-
return (0, pollingHelpers_js_1.getLongRunningPoller)(context, _privateEndpointConnectionsCreateDeserialize, {
|
|
56
|
+
return (0, pollingHelpers_js_1.getLongRunningPoller)(context, _privateEndpointConnectionsCreateDeserialize, ["200", "201"], {
|
|
127
57
|
updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
128
58
|
abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
|
|
129
59
|
getInitialResponse: () => _privateEndpointConnectionsCreateSend(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, resource, options),
|
|
60
|
+
resourceLocationConfig: "azure-async-operation",
|
|
130
61
|
});
|
|
131
62
|
}
|
|
132
63
|
function _privateEndpointConnectionsDeleteSend(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, options = {
|
|
@@ -137,7 +68,8 @@ function _privateEndpointConnectionsDeleteSend(context, subscriptionId, resource
|
|
|
137
68
|
.delete(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)));
|
|
138
69
|
}
|
|
139
70
|
async function _privateEndpointConnectionsDeleteDeserialize(result) {
|
|
140
|
-
|
|
71
|
+
const expectedStatuses = ["202", "204", "200"];
|
|
72
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
141
73
|
throw (0, core_client_1.createRestError)(result);
|
|
142
74
|
}
|
|
143
75
|
return;
|
|
@@ -146,10 +78,11 @@ async function _privateEndpointConnectionsDeleteDeserialize(result) {
|
|
|
146
78
|
function privateEndpointConnectionsDelete(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, options = {
|
|
147
79
|
requestOptions: {},
|
|
148
80
|
}) {
|
|
149
|
-
return (0, pollingHelpers_js_1.getLongRunningPoller)(context, _privateEndpointConnectionsDeleteDeserialize, {
|
|
81
|
+
return (0, pollingHelpers_js_1.getLongRunningPoller)(context, _privateEndpointConnectionsDeleteDeserialize, ["202", "204", "200"], {
|
|
150
82
|
updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
151
83
|
abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
|
|
152
84
|
getInitialResponse: () => _privateEndpointConnectionsDeleteSend(context, subscriptionId, resourceGroupName, deidServiceName, privateEndpointConnectionName, options),
|
|
85
|
+
resourceLocationConfig: "location",
|
|
153
86
|
});
|
|
154
87
|
}
|
|
155
88
|
function _privateEndpointConnectionsListByDeidServiceSend(context, subscriptionId, resourceGroupName, deidServiceName, options = {
|
|
@@ -160,53 +93,16 @@ function _privateEndpointConnectionsListByDeidServiceSend(context, subscriptionI
|
|
|
160
93
|
.get(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)));
|
|
161
94
|
}
|
|
162
95
|
async function _privateEndpointConnectionsListByDeidServiceDeserialize(result) {
|
|
163
|
-
|
|
96
|
+
const expectedStatuses = ["200"];
|
|
97
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
164
98
|
throw (0, core_client_1.createRestError)(result);
|
|
165
99
|
}
|
|
166
|
-
return
|
|
167
|
-
value: result.body["value"].map((p) => {
|
|
168
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
169
|
-
return {
|
|
170
|
-
id: p["id"],
|
|
171
|
-
name: p["name"],
|
|
172
|
-
type: p["type"],
|
|
173
|
-
systemData: !p.systemData
|
|
174
|
-
? undefined
|
|
175
|
-
: {
|
|
176
|
-
createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
|
|
177
|
-
createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
|
|
178
|
-
createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
|
|
179
|
-
? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
|
|
180
|
-
: undefined,
|
|
181
|
-
lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
|
|
182
|
-
lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
|
|
183
|
-
lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
|
|
184
|
-
? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
|
|
185
|
-
: undefined,
|
|
186
|
-
},
|
|
187
|
-
properties: !p.properties
|
|
188
|
-
? undefined
|
|
189
|
-
: {
|
|
190
|
-
groupIds: (_j = p.properties) === null || _j === void 0 ? void 0 : _j["groupIds"],
|
|
191
|
-
privateEndpoint: !((_k = p.properties) === null || _k === void 0 ? void 0 : _k.privateEndpoint)
|
|
192
|
-
? undefined
|
|
193
|
-
: { id: (_m = (_l = p.properties) === null || _l === void 0 ? void 0 : _l.privateEndpoint) === null || _m === void 0 ? void 0 : _m["id"] },
|
|
194
|
-
privateLinkServiceConnectionState: {
|
|
195
|
-
status: (_o = p.properties) === null || _o === void 0 ? void 0 : _o.privateLinkServiceConnectionState["status"],
|
|
196
|
-
description: (_p = p.properties) === null || _p === void 0 ? void 0 : _p.privateLinkServiceConnectionState["description"],
|
|
197
|
-
actionsRequired: (_q = p.properties) === null || _q === void 0 ? void 0 : _q.privateLinkServiceConnectionState["actionsRequired"],
|
|
198
|
-
},
|
|
199
|
-
provisioningState: (_r = p.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
|
|
200
|
-
},
|
|
201
|
-
};
|
|
202
|
-
}),
|
|
203
|
-
nextLink: result.body["nextLink"],
|
|
204
|
-
};
|
|
100
|
+
return (0, models_js_1._privateEndpointConnectionResourceListResultDeserializer)(result.body);
|
|
205
101
|
}
|
|
206
102
|
/** List private endpoint connections on the given resource */
|
|
207
103
|
function privateEndpointConnectionsListByDeidService(context, subscriptionId, resourceGroupName, deidServiceName, options = {
|
|
208
104
|
requestOptions: {},
|
|
209
105
|
}) {
|
|
210
|
-
return (0, pagingHelpers_js_1.buildPagedAsyncIterator)(context, () => _privateEndpointConnectionsListByDeidServiceSend(context, subscriptionId, resourceGroupName, deidServiceName, options), _privateEndpointConnectionsListByDeidServiceDeserialize, { itemName: "value", nextLinkName: "nextLink" });
|
|
106
|
+
return (0, pagingHelpers_js_1.buildPagedAsyncIterator)(context, () => _privateEndpointConnectionsListByDeidServiceSend(context, subscriptionId, resourceGroupName, deidServiceName, options), _privateEndpointConnectionsListByDeidServiceDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
211
107
|
}
|
|
212
108
|
//# 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;;AAuClC,gFAmBC;AAED,8FA2CC;AAGD,sEAiBC;AAED,sFAgCC;AAED,oGAgDC;AAGD,4EA+BC;AAED,sFAwBC;AAED,oGAYC;AAGD,4EAuBC;AAED,4GAoBC;AAED,0HAiDC;AAGD,kGAsBC;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AE,iCAAiC,CAAC,aAAa,CAAC;4BAC3E,eAAe,EAAE,MAAA,CAAC,CAAC,UAAU,0CAAE,iCAAiC,CAAC,iBAAiB,CAAC;yBACpF;wBACD,iBAAiB,EAAE,MAAA,CAAC,CAAC,UAAU,0CAAG,mBAAmB,CAAC;qBACvD;aACN,CAAC;QACJ,CAAC,CAAC;QACF,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC;KAClC,CAAC;AACJ,CAAC;AAED,8DAA8D;AAC9D,SAAgB,2CAA2C,CACzD,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,eAAuB,EACvB,UAAqE;IACnE,cAAc,EAAE,EAAE;CACnB;IAED,OAAO,IAAA,0CAAuB,EAC5B,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;;AA6BlC,gFAiBC;AAED,8FASC;AAGD,sEAiBC;AAED,sFAuBC;AAED,oGASC;AAGD,4EAqCC;AAED,sFAmBC;AAED,oGASC;AAGD,4EA6BC;AAED,4GAiBC;AAED,0HASC;AAGD,kGAuBC;AAxQD,sDAMgC;AAChC,4EAG+C;AAC/C,8EAA8E;AAC9E,yDAKiC;AAGjC,SAAgB,kCAAkC,CAChD,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,eAAuB,EACvB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,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,IAAA,6BAAe,EAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,IAAA,oEAAwD,EAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC/E,CAAC;AAED,8DAA8D;AAC9D,SAAgB,2CAA2C,CACzD,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,eAAuB,EACvB,UAAqE;IACnE,cAAc,EAAE,EAAE;CACnB;IAED,OAAO,IAAA,0CAAuB,EAC5B,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"}
|
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports._privateLinksListByDeidServiceSend = _privateLinksListByDeidServiceSend;
|
|
6
6
|
exports._privateLinksListByDeidServiceDeserialize = _privateLinksListByDeidServiceDeserialize;
|
|
7
7
|
exports.privateLinksListByDeidService = privateLinksListByDeidService;
|
|
8
|
-
const
|
|
9
|
-
const
|
|
8
|
+
const models_js_1 = require("../../models/models.js");
|
|
9
|
+
const pagingHelpers_js_1 = require("../../static-helpers/pagingHelpers.js");
|
|
10
10
|
const core_client_1 = require("@azure-rest/core-client");
|
|
11
11
|
function _privateLinksListByDeidServiceSend(context, subscriptionId, resourceGroupName, deidServiceName, options = { requestOptions: {} }) {
|
|
12
12
|
return context
|
|
@@ -14,44 +14,14 @@ function _privateLinksListByDeidServiceSend(context, subscriptionId, resourceGro
|
|
|
14
14
|
.get(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)));
|
|
15
15
|
}
|
|
16
16
|
async function _privateLinksListByDeidServiceDeserialize(result) {
|
|
17
|
-
|
|
17
|
+
const expectedStatuses = ["200"];
|
|
18
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
18
19
|
throw (0, core_client_1.createRestError)(result);
|
|
19
20
|
}
|
|
20
|
-
return
|
|
21
|
-
value: result.body["value"].map((p) => {
|
|
22
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
23
|
-
return {
|
|
24
|
-
id: p["id"],
|
|
25
|
-
name: p["name"],
|
|
26
|
-
type: p["type"],
|
|
27
|
-
systemData: !p.systemData
|
|
28
|
-
? undefined
|
|
29
|
-
: {
|
|
30
|
-
createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
|
|
31
|
-
createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
|
|
32
|
-
createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
|
|
33
|
-
? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
|
|
34
|
-
: undefined,
|
|
35
|
-
lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
|
|
36
|
-
lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
|
|
37
|
-
lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
|
|
38
|
-
? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
|
|
39
|
-
: undefined,
|
|
40
|
-
},
|
|
41
|
-
properties: !p.properties
|
|
42
|
-
? undefined
|
|
43
|
-
: {
|
|
44
|
-
groupId: (_j = p.properties) === null || _j === void 0 ? void 0 : _j["groupId"],
|
|
45
|
-
requiredMembers: (_k = p.properties) === null || _k === void 0 ? void 0 : _k["requiredMembers"],
|
|
46
|
-
requiredZoneNames: (_l = p.properties) === null || _l === void 0 ? void 0 : _l["requiredZoneNames"],
|
|
47
|
-
},
|
|
48
|
-
};
|
|
49
|
-
}),
|
|
50
|
-
nextLink: result.body["nextLink"],
|
|
51
|
-
};
|
|
21
|
+
return (0, models_js_1._privateLinkResourceListResultDeserializer)(result.body);
|
|
52
22
|
}
|
|
53
23
|
/** List private links on the given resource */
|
|
54
24
|
function privateLinksListByDeidService(context, subscriptionId, resourceGroupName, deidServiceName, options = { requestOptions: {} }) {
|
|
55
|
-
return (0, pagingHelpers_js_1.buildPagedAsyncIterator)(context, () => _privateLinksListByDeidServiceSend(context, subscriptionId, resourceGroupName, deidServiceName, options), _privateLinksListByDeidServiceDeserialize, { itemName: "value", nextLinkName: "nextLink" });
|
|
25
|
+
return (0, pagingHelpers_js_1.buildPagedAsyncIterator)(context, () => _privateLinksListByDeidServiceSend(context, subscriptionId, resourceGroupName, deidServiceName, options), _privateLinksListByDeidServiceDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
56
26
|
}
|
|
57
27
|
//# 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;;AAsBlC,gFAeC;AAED,8FASC;AAGD,sEAqBC;AAlED,sDAIgC;AAChC,4EAG+C;AAC/C,yDAKiC;AAEjC,SAAgB,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,IAAA,iDAAmC,EAAC,OAAO,CAAC,EAAG,CAAC;AAC9D,CAAC;AAEM,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,IAAA,6BAAe,EAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,IAAA,sDAA0C,EAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACjE,CAAC;AAED,+CAA+C;AAC/C,SAAgB,6BAA6B,CAC3C,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,eAAuB,EACvB,UAAuD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE7E,OAAO,IAAA,0CAAuB,EAC5B,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
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/deidServices/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AASvF,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EACL,6BAA6B,EAC7B,6CAA6C,EAC7C,4CAA4C,EAC5C,gCAAgC,EAChC,gCAAgC,EAChC,gCAAgC,EACjC,MAAM,sBAAsB,CAAC;AAE9B,wDAAwD;AACxD,MAAM,WAAW,sBAAsB;IACrC,wBAAwB;IACxB,GAAG,EAAE,CACH,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,6BAA6B,KACpC,OAAO,CAAC,WAAW,CAAC,CAAC;IAC1B,mDAAmD;IACnD,mBAAmB,EAAE,CACnB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,6CAA6C,KACpD,0BAA0B,CAAC,WAAW,CAAC,CAAC;IAC7C,oDAAoD;IACpD,kBAAkB,EAAE,CAClB,OAAO,CAAC,EAAE,4CAA4C,KACnD,0BAA0B,CAAC,WAAW,CAAC,CAAC;IAC7C,2BAA2B;IAC3B,MAAM,EAAE,CACN,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,QAAQ,EAAE,WAAW,EACrB,OAAO,CAAC,EAAE,gCAAgC,KACvC,UAAU,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,WAAW,CAAC,CAAC;IAC1D,2BAA2B;IAC3B,MAAM,EAAE,CACN,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,gCAAgC,KACvC,UAAU,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;;AA8DlC,0CA+CC;AAED,8DAOC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/deidServices/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AA8DlC,0CA+CC;AAED,8DAOC;AAnHD,8DAOyC;AAoDzC,SAAgB,eAAe,CAAC,OAAoC,EAAE,cAAsB;IAC1F,OAAO;QACL,GAAG,EAAE,CACH,iBAAyB,EACzB,eAAuB,EACvB,OAAuC,EACvC,EAAE,CAAC,IAAA,0BAAe,EAAC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,eAAe,EAAE,OAAO,CAAC;QAC1F,mBAAmB,EAAE,CACnB,iBAAyB,EACzB,OAAuD,EACvD,EAAE,CAAC,IAAA,0CAA+B,EAAC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,OAAO,CAAC;QACzF,kBAAkB,EAAE,CAAC,OAAsD,EAAE,EAAE,CAC7E,IAAA,yCAA8B,EAAC,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC;QAClE,MAAM,EAAE,CACN,iBAAyB,EACzB,eAAuB,EACvB,QAAqB,EACrB,OAA0C,EAC1C,EAAE,CACF,IAAA,6BAAkB,EAChB,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,IAAA,6BAAkB,EAChB,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,UAAU,EACV,OAAO,CACR;QACH,MAAM,EAAE,CACN,iBAAyB,EACzB,eAAuB,EACvB,OAA0C,EAC1C,EAAE,CAAC,IAAA,6BAAkB,EAAC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,eAAe,EAAE,OAAO,CAAC;KAC9F,CAAC;AACJ,CAAC;AAED,SAAgB,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;;AAclC,sCAIC;AAED,0DAMC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/operations/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAclC,sCAIC;AAED,0DAMC;AAvBD,4DAA+D;AAW/D,SAAgB,aAAa,CAAC,OAAoC;IAChE,OAAO;QACL,IAAI,EAAE,CAAC,OAAsC,EAAE,EAAE,CAAC,IAAA,yBAAc,EAAC,OAAO,EAAE,OAAO,CAAC;KACnF,CAAC;AACJ,CAAC;AAED,SAAgB,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,OAAO,EACL,2CAA2C,EAC3C,8CAA8C,EAC9C,8CAA8C,EAC9C,yDAAyD,EAC1D,MAAM,sBAAsB,CAAC;AAO9B,OAAO,EAAE,iCAAiC,EAAE,MAAM,wBAAwB,CAAC;AAC3E,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAE7D,sEAAsE;AACtE,MAAM,WAAW,oCAAoC;IACnD,wCAAwC;IACxC,GAAG,EAAE,CACH,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,KAClD,OAAO,CAAC,iCAAiC,CAAC,CAAC;IAChD,2CAA2C;IAC3C,MAAM,EAAE,CACN,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,6BAA6B,EAAE,MAAM,EACrC,QAAQ,EAAE,iCAAiC,EAC3C,OAAO,CAAC,EAAE,8CAA8C,KACrD,UAAU,CACb,cAAc,CAAC,iCAAiC,CAAC,EACjD,iCAAiC,CAClC,CAAC;IACF,6CAA6C;IAC7C,MAAM,EAAE,CACN,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,KACrD,UAAU,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAC5C,8DAA8D;IAC9D,iBAAiB,EAAE,CACjB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,yDAAyD,KAChE,0BAA0B,CAAC,iCAAiC,CAAC,CAAC;CACpE;AAED,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,2BAA2B,EACpC,cAAc,EAAE,MAAM;6BAIC,MAAM,mBACR,MAAM,iCACQ,MAAM,YAC3B,2CAA2C;gCAWlC,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;;AAsDlC,sEA8DC;AAED,0FAOC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/privateEndpointConnections/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAsDlC,sEA8DC;AAED,0FAOC;AApHD,4EAKuD;AAwCvD,SAAgB,6BAA6B,CAC3C,OAAoC,EACpC,cAAsB;IAEtB,OAAO;QACL,GAAG,EAAE,CACH,iBAAyB,EACzB,eAAuB,EACvB,6BAAqC,EACrC,OAAqD,EACrD,EAAE,CACF,IAAA,wCAA6B,EAC3B,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,IAAA,2CAAgC,EAC9B,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,IAAA,2CAAgC,EAC9B,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,6BAA6B,EAC7B,OAAO,CACR;QACH,iBAAiB,EAAE,CACjB,iBAAyB,EACzB,eAAuB,EACvB,OAAmE,EACnE,EAAE,CACF,IAAA,sDAA2C,EACzC,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,OAAO,CACR;KACJ,CAAC;AACJ,CAAC;AAED,SAAgB,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"]}
|