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