Share via


BlobsModelFactory.BlobDownloadInfo Method

Definition

Creates a new BlobDownloadInfo instance for mocking.

public static Azure.Storage.Blobs.Models.BlobDownloadInfo BlobDownloadInfo (DateTimeOffset lastModified = default, long blobSequenceNumber = 0, Azure.Storage.Blobs.Models.BlobType blobType = Azure.Storage.Blobs.Models.BlobType.Block, byte[] contentCrc64 = default, string contentLanguage = default, string copyStatusDescription = default, string copyId = default, string copyProgress = default, Uri copySource = default, Azure.Storage.Blobs.Models.CopyStatus copyStatus = Azure.Storage.Blobs.Models.CopyStatus.Pending, string contentDisposition = default, Azure.Storage.Blobs.Models.LeaseDurationType leaseDuration = Azure.Storage.Blobs.Models.LeaseDurationType.Infinite, string cacheControl = default, Azure.Storage.Blobs.Models.LeaseState leaseState = Azure.Storage.Blobs.Models.LeaseState.Available, string contentEncoding = default, Azure.Storage.Blobs.Models.LeaseStatus leaseStatus = Azure.Storage.Blobs.Models.LeaseStatus.Locked, byte[] contentHash = default, string acceptRanges = default, Azure.ETag eTag = default, int blobCommittedBlockCount = 0, string contentRange = default, bool isServerEncrypted = false, string contentType = default, string encryptionKeySha256 = default, string encryptionScope = default, long contentLength = 0, byte[] blobContentHash = default, string versionId = default, System.Collections.Generic.IDictionary<string,string> metadata = default, System.IO.Stream content = default, DateTimeOffset copyCompletionTime = default, long tagCount = 0, DateTimeOffset lastAccessed = default);
static member BlobDownloadInfo : DateTimeOffset * int64 * Azure.Storage.Blobs.Models.BlobType * byte[] * string * string * string * string * Uri * Azure.Storage.Blobs.Models.CopyStatus * string * Azure.Storage.Blobs.Models.LeaseDurationType * string * Azure.Storage.Blobs.Models.LeaseState * string * Azure.Storage.Blobs.Models.LeaseStatus * byte[] * string * Azure.ETag * int * string * bool * string * string * string * int64 * byte[] * string * System.Collections.Generic.IDictionary<string, string> * System.IO.Stream * DateTimeOffset * int64 * DateTimeOffset -> Azure.Storage.Blobs.Models.BlobDownloadInfo
Public Shared Function BlobDownloadInfo (Optional lastModified As DateTimeOffset = Nothing, Optional blobSequenceNumber As Long = 0, Optional blobType As BlobType = Azure.Storage.Blobs.Models.BlobType.Block, Optional contentCrc64 As Byte() = Nothing, Optional contentLanguage As String = Nothing, Optional copyStatusDescription As String = Nothing, Optional copyId As String = Nothing, Optional copyProgress As String = Nothing, Optional copySource As Uri = Nothing, Optional copyStatus As CopyStatus = Azure.Storage.Blobs.Models.CopyStatus.Pending, Optional contentDisposition As String = Nothing, Optional leaseDuration As LeaseDurationType = Azure.Storage.Blobs.Models.LeaseDurationType.Infinite, Optional cacheControl As String = Nothing, Optional leaseState As LeaseState = Azure.Storage.Blobs.Models.LeaseState.Available, Optional contentEncoding As String = Nothing, Optional leaseStatus As LeaseStatus = Azure.Storage.Blobs.Models.LeaseStatus.Locked, Optional contentHash As Byte() = Nothing, Optional acceptRanges As String = Nothing, Optional eTag As ETag = Nothing, Optional blobCommittedBlockCount As Integer = 0, Optional contentRange As String = Nothing, Optional isServerEncrypted As Boolean = false, Optional contentType As String = Nothing, Optional encryptionKeySha256 As String = Nothing, Optional encryptionScope As String = Nothing, Optional contentLength As Long = 0, Optional blobContentHash As Byte() = Nothing, Optional versionId As String = Nothing, Optional metadata As IDictionary(Of String, String) = Nothing, Optional content As Stream = Nothing, Optional copyCompletionTime As DateTimeOffset = Nothing, Optional tagCount As Long = 0, Optional lastAccessed As DateTimeOffset = Nothing) As BlobDownloadInfo

Parameters

lastModified
DateTimeOffset
blobSequenceNumber
Int64
blobType
BlobType
contentCrc64
Byte[]
contentLanguage
String
copyStatusDescription
String
copyId
String
copyProgress
String
copySource
Uri
copyStatus
CopyStatus
contentDisposition
String
leaseDuration
LeaseDurationType
cacheControl
String
leaseState
LeaseState
contentEncoding
String
leaseStatus
LeaseStatus
contentHash
Byte[]
acceptRanges
String
eTag
ETag
blobCommittedBlockCount
Int32
contentRange
String
isServerEncrypted
Boolean
contentType
String
encryptionKeySha256
String
encryptionScope
String
contentLength
Int64
blobContentHash
Byte[]
versionId
String
content
Stream
copyCompletionTime
DateTimeOffset
tagCount
Int64
lastAccessed
DateTimeOffset

Returns

Applies to