Codeunit 2004 Machine Learning KeyVaultMgmt.

Base Application, System.AI

Source AL, 279 lines

src/Layers/W1/BaseApp/System/AI/MachineLearningKeyVaultMgmt.Codeunit.allines 6 to 21 of 279, Copyright (c) Microsoft Corporation. MIT

codeunit 2004 "Machine Learning KeyVaultMgmt."{    SingleInstance = true;    trigger OnRun()    begin    end;    var        LimitTypeOption: Option Year,Month,Day,Hour;        MLKVTok: Label 'Azure Machine Learning', Locked = true;        MissingFirstPartyAppIdOrCertificateTelemetryTxt: Label 'The first-party app id or certificate have not been initialized.', Locked = true;        MissingKVNameTelemetryTxt: Label '%1 could not be found in in KV.', Locked = true;        OAuthAquireTokenErr: Label 'Failed to get OAuth from AcquireTokensWithCertificate', Locked = true;        OAuthEmtpyAccessTokenErr: Label 'Access Token from AcquireTokensWithCertificate is empty.', Locked = true;        FirstPartyAppIdKVNameLbl: Label 'AzureML-Client', Locked = true;

All 279 lines

Public procedures 3 in 29

GetLimitTypeOptionFromText(LimitTypeTxt: Text): Integer17-29
GetMachineLearningCredentials(SecretName: Text; var ApiUri: Text[250]; var ApiKey: SecretText; var LimitType: Option; var Limit: Decimal)new in 23
GetMachineLearningCredentials(var ApiUrl: Text[250]; var ApiAccessToken: SecretText; var LimitType: Option; var Limit: Decimal): Booleannew in 24

All 5 procedures in 17-29

Changes 1 in 27

List17181920212223242526272829
Procedures231
GetMachineLearningCredentials(SecretName: Text; var ApiUri: Text[250]; var ApiKey: Text[200]; var LimitType: Option; var Limit: Decimal)gone after 26
gone

All 6 changes in 17-29