Codeunit 8951 AFS File Client Impl.

System Application, System.Azure.Storage.Files

Source AL, 720 lines

src/System Application/App/Azure File Services API/src/AFSFileClientImpl.Codeunit.allines 12 to 27 of 720, Copyright (c) Microsoft Corporation. MIT

codeunit 8951 "AFS File Client Impl."{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    var        AFSOperationPayload: Codeunit "AFS Operation Payload Impl.";        AFSHttpContentHelper: Codeunit "AFS HttpContent Helper";        AFSWebRequestHelper: Codeunit "AFS Web Request Helper";        AFSFormatHelper: Codeunit "AFS Format Helper";        Telemetry: Codeunit Telemetry;        CreateFileOperationNotSuccessfulErr: Label 'Could not create file %1 in %2.', Comment = '%1 = File Name; %2 = File Share Name';        PutFileOperationNotSuccessfulErr: Label 'Could not put file %1 ranges in %2.', Comment = '%1 = File Name; %2 = File Share Name';        CreateDirectoryOperationNotSuccessfulErr: Label 'Could not create directory %1 in %2.', Comment = '%1 = Directory Name; %2 = File Share Name';        GetFileOperationNotSuccessfulErr: Label 'Could not get File %1.', Comment = '%1 = File Path';

All 720 lines

Events 1 in 29

[IntegrationEvent] OnPutFileRangesAfterPutOperation(ResponseIndex: Integer; var AFSOperationResponse: Codeunit "AFS Operation Response")new in 23

Public procedures 24 in 29

Initialize(StorageAccountName: Text; FileShare: Text; Path: Text; Authorization: Interface "Storage Service Authorization"; ApiVersion: Enum "Storage Service API Version")new in 23
SetBaseUrl(BaseUrl: Text)new in 23
CreateDirectory(DirectoryPath: Text; AFSOptionalParameters: Codeunit "AFS Optional Parameters"): Codeunit "AFS Operation Response"new in 23
DeleteDirectory(DirectoryPath: Text; AFSOptionalParameters: Codeunit "AFS Optional Parameters"): Codeunit "AFS Operation Response"new in 23
ListDirectory(DirectoryPath: Text[2048]; var AFSDirectoryContent: Record "AFS Directory Content"; PreserveDirectoryContent: Boolean; AFSOptionalParameters: Codeunit "AFS Optional Parameters"): Codeunit "AFS Operation Response"new in 23
ListFileHandles(Path: Text; var AFSHandle: Record "AFS Handle"; AFSOptionalParameters: Codeunit "AFS Optional Parameters"): Codeunit "AFS Operation Response"new in 23

All 24 procedures