FilesModelFactory.StorageFileProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new StorageFileProperties instance for mocking.
public static Azure.Storage.Files.Shares.Models.ShareFileProperties StorageFileProperties(DateTimeOffset lastModified = default, System.Collections.Generic.IDictionary<string,string> metadata = default, long contentLength = 0, string contentType = default, Azure.ETag eTag = default, byte[] contentHash = default, System.Collections.Generic.IEnumerable<string> contentEncoding = default, string cacheControl = default, string contentDisposition = default, System.Collections.Generic.IEnumerable<string> contentLanguage = default, DateTimeOffset copyCompletedOn = default, string copyStatusDescription = default, string copyId = default, string copyProgress = default, string copySource = default, Azure.Storage.Files.Shares.Models.CopyStatus copyStatus = Azure.Storage.Files.Shares.Models.CopyStatus.Pending, bool isServerEncrypted = false, Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties = default, Azure.Storage.Files.Shares.Models.FilePosixProperties posixProperties = default);
static member StorageFileProperties : DateTimeOffset * System.Collections.Generic.IDictionary<string, string> * int64 * string * Azure.ETag * byte[] * seq<string> * string * string * seq<string> * DateTimeOffset * string * string * string * string * Azure.Storage.Files.Shares.Models.CopyStatus * bool * Azure.Storage.Files.Shares.Models.FileSmbProperties * Azure.Storage.Files.Shares.Models.FilePosixProperties -> Azure.Storage.Files.Shares.Models.ShareFileProperties
Public Shared Function StorageFileProperties (Optional lastModified As DateTimeOffset = Nothing, Optional metadata As IDictionary(Of String, String) = Nothing, Optional contentLength As Long = 0, Optional contentType As String = Nothing, Optional eTag As ETag = Nothing, Optional contentHash As Byte() = Nothing, Optional contentEncoding As IEnumerable(Of String) = Nothing, Optional cacheControl As String = Nothing, Optional contentDisposition As String = Nothing, Optional contentLanguage As IEnumerable(Of String) = Nothing, Optional copyCompletedOn As DateTimeOffset = Nothing, Optional copyStatusDescription As String = Nothing, Optional copyId As String = Nothing, Optional copyProgress As String = Nothing, Optional copySource As String = Nothing, Optional copyStatus As CopyStatus = Azure.Storage.Files.Shares.Models.CopyStatus.Pending, Optional isServerEncrypted As Boolean = false, Optional smbProperties As FileSmbProperties = Nothing, Optional posixProperties As FilePosixProperties = Nothing) As ShareFileProperties
Parameters
- lastModified
- DateTimeOffset
- metadata
- IDictionary<String,String>
- contentLength
- Int64
- contentType
- String
- eTag
- ETag
- contentHash
- Byte[]
- contentEncoding
- IEnumerable<String>
- cacheControl
- String
- contentDisposition
- String
- contentLanguage
- IEnumerable<String>
- copyCompletedOn
- DateTimeOffset
- copyStatusDescription
- String
- copyId
- String
- copyProgress
- String
- copySource
- String
- copyStatus
- CopyStatus
- isServerEncrypted
- Boolean
- smbProperties
- FileSmbProperties
- posixProperties
- FilePosixProperties
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET