Codeunit 2020 Image Analysis Management

Base Application, System.AI

src/Layers/W1/BaseApp/System/AI/ImageAnalysis/ImageAnalysisManagement.Codeunit.al12 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

Initialize line 52

  1. 63writesTable 2020 Image Analysis Setup Insert
  2. 67callsTable 2020 Image Analysis Setup GetApiKeyAsSecret
  3. 69callsCodeunit 2006 Azure AI Usage SetImageAnalysisIsSetup
  4. 71callsCodeunit 2006 Azure AI Usage SetImageAnalysisIsSetup
  5. 77callsCodeunit 2006 Azure AI Usage GetLimitPeriod
  6. 78callsCodeunit 2006 Azure AI Usage GetResourceLimit
  7. 82callsSetLimitInYears
  8. 84callsCodeunit 457 Environment Information IsSaaS
  9. 85callsTryAcquireOAuth2Token
  10. 86callsGetImageAnalysisCredentials

SetMedia line 95

  1. 102callsCodeunit 419 File Management ServerTempFileName

SetImagePath line 109

  1. 113callsCodeunit 419 File Management IsAllowedPath

SetBlob line 117

  1. 121callsCodeunit 419 File Management ServerTempFileName
  2. 122callsCodeunit 419 File Management BLOBExportToServerFile

AnalyzeTags line 172

  1. 174callsAnalyze

AnalyzeColors line 177

  1. 179callsAnalyze

AnalyzeFaces line 182

  1. 184callsAnalyze

Analyze line 195

  1. 201callsInitialize
  2. 202callsSetLastError
  3. 203raisesOnBeforeImageAnalysis
  4. 206callsTable 2020 Image Analysis Setup IsUsageLimitReached
  5. 210callsSetLastError
  6. 213callsSetLastError
  7. 215callsTable 2020 Image Analysis Setup IsUsageLimitReached
  8. 216callsSetLastError
  9. 218callsInvokeAnalysisWithAuth
  10. 219callsTable 2020 Image Analysis Setup Increment
  11. 222callsSetLastError
  12. 224callsSetLastError
  13. 226callsCodeunit 2021 Image Analysis Result SetResult
  14. 227raisesOnAfterImageAnalysis
  15. 229callsHasError

SetHttpMessageHandler line 233

  1. 238callsCodeunit 2024 Image Analysis Wrapper V1.0 SetHttpMessageHandler

GetLastError line 248

  1. 252callsHasError

TryAcquireOAuth2Token line 310, local

  1. 329callsCodeunit 2200 Azure Key Vault GetAzureKeyVaultSecret
  2. 333callsCodeunit 2200 Azure Key Vault GetAzureKeyVaultSecret
  3. 335callsCodeunit 2200 Azure Key Vault GetAzureKeyVaultCertificate
  4. 337callsCodeunit 2200 Azure Key Vault GetAzureKeyVaultSecret
  5. 339callsCodeunit 2200 Azure Key Vault GetAzureKeyVaultSecret
  6. 349callsExtractParameterValue
  7. 350callsExtractParameterValue
  8. 351callsExtractParameterValue
  9. 353callsCodeunit 2004 Machine Learning KeyVaultMgmt. GetLimitTypeOptionFromText
  10. 357callsCodeunit 501 OAuth2 AcquireTokensWithCertificate

GetImageAnalysisCredentials line 375

  1. 386callsCodeunit 2200 Azure Key Vault GetAzureKeyVaultSecret
  2. 402callsExtractParameterValue
  3. 403callsExtractParameterValue
  4. 404callsExtractParameterValue
  5. 405callsExtractParameterValue
  6. 407callsCodeunit 2004 Machine Learning KeyVaultMgmt. GetLimitTypeOptionFromText