共用方式為


BlobsModelFactory.BlobDownloadDetails Method

Definition

Creates a new BlobDownloadDetails instance for mocking.

public static Azure.Storage.Blobs.Models.BlobDownloadDetails BlobDownloadDetails (Azure.Storage.Blobs.Models.BlobType blobType = Azure.Storage.Blobs.Models.BlobType.Block, long contentLength = 0, string contentType = default, byte[] contentHash = default, DateTimeOffset lastModified = default, System.Collections.Generic.IDictionary<string,string> metadata = default, string contentRange = default, string contentEncoding = default, string cacheControl = default, string contentDisposition = default, string contentLanguage = default, long blobSequenceNumber = 0, DateTimeOffset copyCompletedOn = 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, Azure.Storage.Blobs.Models.LeaseDurationType leaseDuration = Azure.Storage.Blobs.Models.LeaseDurationType.Infinite, Azure.Storage.Blobs.Models.LeaseState leaseState = Azure.Storage.Blobs.Models.LeaseState.Available, Azure.Storage.Blobs.Models.LeaseStatus leaseStatus = Azure.Storage.Blobs.Models.LeaseStatus.Locked, string acceptRanges = default, int blobCommittedBlockCount = 0, bool isServerEncrypted = false, string encryptionKeySha256 = default, string encryptionScope = default, byte[] blobContentHash = default, long tagCount = 0, string versionId = default, bool isSealed = false, System.Collections.Generic.IList<Azure.Storage.Blobs.Models.ObjectReplicationPolicy> objectReplicationSourceProperties = default, string objectReplicationDestinationPolicy = default, bool hasLegalHold = false, DateTimeOffset createdOn = default, Azure.ETag eTag = default);
static member BlobDownloadDetails : Azure.Storage.Blobs.Models.BlobType * int64 * string * byte[] * DateTimeOffset * System.Collections.Generic.IDictionary<string, string> * string * string * string * string * string * int64 * DateTimeOffset * string * string * string * Uri * Azure.Storage.Blobs.Models.CopyStatus * Azure.Storage.Blobs.Models.LeaseDurationType * Azure.Storage.Blobs.Models.LeaseState * Azure.Storage.Blobs.Models.LeaseStatus * string * int * bool * string * string * byte[] * int64 * string * bool * System.Collections.Generic.IList<Azure.Storage.Blobs.Models.ObjectReplicationPolicy> * string * bool * DateTimeOffset * Azure.ETag -> Azure.Storage.Blobs.Models.BlobDownloadDetails
Public Shared Function BlobDownloadDetails (Optional blobType As BlobType = Azure.Storage.Blobs.Models.BlobType.Block, Optional contentLength As Long = 0, Optional contentType As String = Nothing, Optional contentHash As Byte() = Nothing, Optional lastModified As DateTimeOffset = Nothing, Optional metadata As IDictionary(Of String, String) = Nothing, Optional contentRange As String = Nothing, Optional contentEncoding As String = Nothing, Optional cacheControl As String = Nothing, Optional contentDisposition As String = Nothing, Optional contentLanguage As String = Nothing, Optional blobSequenceNumber As Long = 0, Optional copyCompletedOn As DateTimeOffset = 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 leaseDuration As LeaseDurationType = Azure.Storage.Blobs.Models.LeaseDurationType.Infinite, Optional leaseState As LeaseState = Azure.Storage.Blobs.Models.LeaseState.Available, Optional leaseStatus As LeaseStatus = Azure.Storage.Blobs.Models.LeaseStatus.Locked, Optional acceptRanges As String = Nothing, Optional blobCommittedBlockCount As Integer = 0, Optional isServerEncrypted As Boolean = false, Optional encryptionKeySha256 As String = Nothing, Optional encryptionScope As String = Nothing, Optional blobContentHash As Byte() = Nothing, Optional tagCount As Long = 0, Optional versionId As String = Nothing, Optional isSealed As Boolean = false, Optional objectReplicationSourceProperties As IList(Of ObjectReplicationPolicy) = Nothing, Optional objectReplicationDestinationPolicy As String = Nothing, Optional hasLegalHold As Boolean = false, Optional createdOn As DateTimeOffset = Nothing, Optional eTag As ETag = Nothing) As BlobDownloadDetails

Parameters

blobType
BlobType
contentLength
Int64
contentType
String
contentHash
Byte[]
lastModified
DateTimeOffset
contentRange
String
contentEncoding
String
cacheControl
String
contentDisposition
String
contentLanguage
String
blobSequenceNumber
Int64
copyCompletedOn
DateTimeOffset
copyStatusDescription
String
copyId
String
copyProgress
String
copySource
Uri
copyStatus
CopyStatus
leaseDuration
LeaseDurationType
leaseState
LeaseState
leaseStatus
LeaseStatus
acceptRanges
String
blobCommittedBlockCount
Int32
isServerEncrypted
Boolean
encryptionKeySha256
String
encryptionScope
String
blobContentHash
Byte[]
tagCount
Int64
versionId
String
isSealed
Boolean
objectReplicationSourceProperties
IList<ObjectReplicationPolicy>
objectReplicationDestinationPolicy
String
hasLegalHold
Boolean
createdOn
DateTimeOffset
eTag
ETag

Returns

Applies to