Skip to main content

FileShareFile

Properties

PropertyTypeAttributesDescription
pathstringRequired, IdentifierThe file path within the share. Parent directories must already exist.
shareNamestringRequired, IdentifierThe containing file share name
cacheControlstringThe file cache control header
contentstringThe file content, as a UTF-8 string. Mutually exclusive with 'contentBase64'.
contentBase64stringThe file content, base64-encoded. Use with Bicep's loadFileAsBase64() to upload a local file. Mutually exclusive with 'content'.
contentDispositionstringThe file content disposition
contentEncodingstringThe file content encoding
contentLanguagestringThe file content language
contentTypestringThe file content type
eTagstringRead-onlyThe file ETag
lastModifiedstringRead-onlyWhen the file was last modified
metadataDictionary<string, String>Name/value pairs to associate with the file
urlstringRead-onlyThe file URL

Dictionary<string, String>

Additional properties of type string are allowed.