Codeunit 8951 "AFS File Client Impl."
System Application · System.Azure.Storage.Files
Across versions
- BC23-30present
Neighbourhood 11 connected objects and pages
System Application · System.Azure.Storage.Files · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
Events published
OnPutFileRangesAfterPutOperation(ResponseIndex: Integer; var AFSOperationResponse: Codeunit "AFS Operation Response")(integration)
Procedures
Initialize(StorageAccountName: Text; FileShare: Text; Path: Text; Authorization: Interface "Storage Service Authorization"; ApiVersion: Enum "Storage Service API Version")SetBaseUrl(BaseUrl: Text)CreateDirectory(DirectoryPath: Text; AFSOptionalParameters: Codeunit "AFS Optional Parameters"): Codeunit "AFS Operation Response"DeleteDirectory(DirectoryPath: Text; AFSOptionalParameters: Codeunit "AFS Optional Parameters"): Codeunit "AFS Operation Response"ListDirectory(DirectoryPath: Text[2048]; var AFSDirectoryContent: Record "AFS Directory Content"; PreserveDirectoryContent: Boolean; AFSOptionalParameters: Codeunit "AFS Optional Parameters"): Codeunit "AFS Operation Response"ListFileHandles(Path: Text; var AFSHandle: Record "AFS Handle"; AFSOptionalParameters: Codeunit "AFS Optional Parameters"): Codeunit "AFS Operation Response"RenameFile(SourceFilePath: Text; DestinationFilePath: Text; AFSOptionalParameters: Codeunit "AFS Optional Parameters"): Codeunit "AFS Operation Response"CreateFile(FilePath: Text; InStream: InStream; AFSOptionalParameters: Codeunit "AFS Optional Parameters"): Codeunit "AFS Operation Response"CreateFile(FilePath: Text; FileSize: Integer; AFSOptionalParameters: Codeunit "AFS Optional Parameters"): Codeunit "AFS Operation Response"GetFileAsFile(FilePath: Text; AFSOptionalParameters: Codeunit "AFS Optional Parameters"): Codeunit "AFS Operation Response"GetFileAsStream(FilePath: Text; var TargetInStream: InStream; AFSOptionalParameters: Codeunit "AFS Optional Parameters"): Codeunit "AFS Operation Response"GetFileAsText(FilePath: Text; var TargetText: Text; AFSOptionalParameters: Codeunit "AFS Optional Parameters"): Codeunit "AFS Operation Response"GetFileMetadata(FilePath: Text; var TargetMetadata: Dictionary of [Text, Text]; AFSOptionalParameters: Codeunit "AFS Optional Parameters"): Codeunit "AFS Operation Response"SetFileMetadata(FilePath: Text; Metadata: Dictionary of [Text, Text]; AFSOptionalParameters: Codeunit "AFS Optional Parameters"): Codeunit "AFS Operation Response"PutFileUI(AFSOptionalParameters: Codeunit "AFS Optional Parameters"): Codeunit "AFS Operation Response"PutFileStream(FilePath: Text; var SourceInStream: InStream; AFSOptionalParameters: Codeunit "AFS Optional Parameters"): Codeunit "AFS Operation Response"PutFileText(FilePath: Text; SourceText: Text; AFSOptionalParameters: Codeunit "AFS Optional Parameters"): Codeunit "AFS Operation Response"DeleteFile(FilePath: Text; AFSOptionalParameters: Codeunit "AFS Optional Parameters"): Codeunit "AFS Operation Response"CopyFile(SourceFileURI: Text; DestinationFilePath: Text; AFSOptionalParameters: Codeunit "AFS Optional Parameters"): Codeunit "AFS Operation Response"AbortCopyFile(DestinationFilePath: Text; CopyID: Text; AFSOptionalParameters: Codeunit "AFS Optional Parameters"): Codeunit "AFS Operation Response"FileAcquireLease(FilePath: Text; AFSOptionalParameters: Codeunit "AFS Optional Parameters"; ProposedLeaseId: Guid; var LeaseId: Guid): Codeunit "AFS Operation Response"FileReleaseLease(FilePath: Text; AFSOptionalParameters: Codeunit "AFS Optional Parameters"; LeaseId: Guid): Codeunit "AFS Operation Response"FileBreakLease(FilePath: Text; AFSOptionalParameters: Codeunit "AFS Optional Parameters"; LeaseId: Guid): Codeunit "AFS Operation Response"FileChangeLease(FilePath: Text; AFSOptionalParameters: Codeunit "AFS Optional Parameters"; var LeaseId: Guid; ProposedLeaseId: Guid): Codeunit "AFS Operation Response"
Plus 7 local procedures.
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 8952 “AFS Operation Payload Impl.” (84 calls:
AbortCopyFile → AddRequestHeader,AbortCopyFile → AddUriParameter,AbortCopyFile → GetPath, …) - Codeunit 8959 “AFS Operation Response” (46 calls:
AbortCopyFile → GetError,AbortCopyFile → IsSuccessful,AcquireLease → GetHeaderValueFromResponseHeaders, …) - Codeunit 8711 “Telemetry” (21 calls:
AbortCopyFile → LogMessage,CopyFile → LogMessage,CreateDirectory → LogMessage, …) - Codeunit 8954 “AFS Web Request Helper” (17 calls:
AbortCopyFile → PutOperation,AcquireLease → PutOperation,BreakLease → PutOperation, …) - Codeunit 8956 “AFS Optional Parameters” (10 calls:
AcquireLease → LeaseAction,AcquireLease → LeaseDuration,AcquireLease → ProposedLeaseId, …) - Codeunit 8960 “XML Utility Impl.” (7 calls:
ListDirectory → CreateDirectoryContentNodeListFromResponse,ListDirectory → DirectoryContentNodeListToTempRecord,ListDirectory → GetDirectoryPathFromResponse, …) - Codeunit 4100 “Temp Blob” (4 calls:
PutFile → CreateInStream,PutFile → CreateOutStream,PutFileRanges → CreateInStream, …) - Codeunit 8953 “AFS HttpContent Helper” (4 calls:
CreateFile → GetContentLength,PutFileRanges → AddFilePutContentHeaders,PutFileRanges → GetContentLength, …) - Codeunit 8955 “AFS Format Helper” (2 calls:
AcquireLease → RemoveCurlyBracketsFromString,ChangeLease → RemoveCurlyBracketsFromString) - Codeunit 8958 “AFS HttpHeader Helper” (1 call:
GetFileMetadata → GetMetadataHeaders)
Called by
- Codeunit 8950 “AFS File Client” (23 calls:
AbortCopyFile → AbortCopyFile,AcquireLease → FileAcquireLease,BreakLease → FileBreakLease, …)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "AFS File Client Impl."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.