Share via


BlobsModelFactory.BlobProperties Method

Definition

Creates a new BlobProperties instance for mocking.

public static Azure.Storage.Blobs.Models.BlobProperties BlobProperties (DateTimeOffset lastModified = default, Azure.Storage.Blobs.Models.LeaseStatus leaseStatus = Azure.Storage.Blobs.Models.LeaseStatus.Locked, long contentLength = 0, string contentType = default, Azure.ETag eTag = default, Azure.Storage.Blobs.Models.LeaseState leaseState = Azure.Storage.Blobs.Models.LeaseState.Available, string contentEncoding = default, string contentDisposition = default, string contentLanguage = default, string cacheControl = default, long blobSequenceNumber = 0, Azure.Storage.Blobs.Models.LeaseDurationType leaseDuration = Azure.Storage.Blobs.Models.LeaseDurationType.Infinite, string acceptRanges = default, string destinationSnapshot = default, int blobCommittedBlockCount = 0, bool isIncrementalCopy = false, bool isServerEncrypted = false, Azure.Storage.Blobs.Models.CopyStatus? blobCopyStatus = default, string encryptionKeySha256 = default, Uri copySource = default, string encryptionScope = default, string copyProgress = default, string accessTier = default, string copyId = default, bool accessTierInferred = false, string copyStatusDescription = default, string archiveStatus = default, DateTimeOffset copyCompletedOn = default, DateTimeOffset accessTierChangedOn = default, Azure.Storage.Blobs.Models.BlobType blobType = Azure.Storage.Blobs.Models.BlobType.Block, string versionId = default, System.Collections.Generic.IList<Azure.Storage.Blobs.Models.ObjectReplicationPolicy> objectReplicationSourceProperties = default, bool isLatestVersion = false, string objectReplicationDestinationPolicyId = default, long tagCount = 0, System.Collections.Generic.IDictionary<string,string> metadata = default, DateTimeOffset expiresOn = default, DateTimeOffset createdOn = default, bool isSealed = false, string rehydratePriority = default, byte[] contentHash = default, DateTimeOffset lastAccessed = default, Azure.Storage.Blobs.Models.BlobImmutabilityPolicy immutabilityPolicy = default, bool hasLegalHold = false);
static member BlobProperties : DateTimeOffset * Azure.Storage.Blobs.Models.LeaseStatus * int64 * string * Azure.ETag * Azure.Storage.Blobs.Models.LeaseState * string * string * string * string * int64 * Azure.Storage.Blobs.Models.LeaseDurationType * string * string * int * bool * bool * Nullable<Azure.Storage.Blobs.Models.CopyStatus> * string * Uri * string * string * string * string * bool * string * string * DateTimeOffset * DateTimeOffset * Azure.Storage.Blobs.Models.BlobType * string * System.Collections.Generic.IList<Azure.Storage.Blobs.Models.ObjectReplicationPolicy> * bool * string * int64 * System.Collections.Generic.IDictionary<string, string> * DateTimeOffset * DateTimeOffset * bool * string * byte[] * DateTimeOffset * Azure.Storage.Blobs.Models.BlobImmutabilityPolicy * bool -> Azure.Storage.Blobs.Models.BlobProperties
Public Shared Function BlobProperties (Optional lastModified As DateTimeOffset = Nothing, Optional leaseStatus As LeaseStatus = Azure.Storage.Blobs.Models.LeaseStatus.Locked, Optional contentLength As Long = 0, Optional contentType As String = Nothing, Optional eTag As ETag = Nothing, Optional leaseState As LeaseState = Azure.Storage.Blobs.Models.LeaseState.Available, Optional contentEncoding As String = Nothing, Optional contentDisposition As String = Nothing, Optional contentLanguage As String = Nothing, Optional cacheControl As String = Nothing, Optional blobSequenceNumber As Long = 0, Optional leaseDuration As LeaseDurationType = Azure.Storage.Blobs.Models.LeaseDurationType.Infinite, Optional acceptRanges As String = Nothing, Optional destinationSnapshot As String = Nothing, Optional blobCommittedBlockCount As Integer = 0, Optional isIncrementalCopy As Boolean = false, Optional isServerEncrypted As Boolean = false, Optional blobCopyStatus As Nullable(Of CopyStatus) = Nothing, Optional encryptionKeySha256 As String = Nothing, Optional copySource As Uri = Nothing, Optional encryptionScope As String = Nothing, Optional copyProgress As String = Nothing, Optional accessTier As String = Nothing, Optional copyId As String = Nothing, Optional accessTierInferred As Boolean = false, Optional copyStatusDescription As String = Nothing, Optional archiveStatus As String = Nothing, Optional copyCompletedOn As DateTimeOffset = Nothing, Optional accessTierChangedOn As DateTimeOffset = Nothing, Optional blobType As BlobType = Azure.Storage.Blobs.Models.BlobType.Block, Optional versionId As String = Nothing, Optional objectReplicationSourceProperties As IList(Of ObjectReplicationPolicy) = Nothing, Optional isLatestVersion As Boolean = false, Optional objectReplicationDestinationPolicyId As String = Nothing, Optional tagCount As Long = 0, Optional metadata As IDictionary(Of String, String) = Nothing, Optional expiresOn As DateTimeOffset = Nothing, Optional createdOn As DateTimeOffset = Nothing, Optional isSealed As Boolean = false, Optional rehydratePriority As String = Nothing, Optional contentHash As Byte() = Nothing, Optional lastAccessed As DateTimeOffset = Nothing, Optional immutabilityPolicy As BlobImmutabilityPolicy = Nothing, Optional hasLegalHold As Boolean = false) As BlobProperties

Parameters

lastModified
DateTimeOffset
leaseStatus
LeaseStatus
contentLength
Int64
contentType
String
eTag
ETag
leaseState
LeaseState
contentEncoding
String
contentDisposition
String
contentLanguage
String
cacheControl
String
blobSequenceNumber
Int64
leaseDuration
LeaseDurationType
acceptRanges
String
destinationSnapshot
String
blobCommittedBlockCount
Int32
isIncrementalCopy
Boolean
isServerEncrypted
Boolean
blobCopyStatus
Nullable<CopyStatus>
encryptionKeySha256
String
copySource
Uri
encryptionScope
String
copyProgress
String
accessTier
String
copyId
String
accessTierInferred
Boolean
copyStatusDescription
String
archiveStatus
String
copyCompletedOn
DateTimeOffset
accessTierChangedOn
DateTimeOffset
blobType
BlobType
versionId
String
objectReplicationSourceProperties
IList<ObjectReplicationPolicy>
isLatestVersion
Boolean
objectReplicationDestinationPolicyId
String
tagCount
Int64
expiresOn
DateTimeOffset
createdOn
DateTimeOffset
isSealed
Boolean
rehydratePriority
String
contentHash
Byte[]
lastAccessed
DateTimeOffset
immutabilityPolicy
BlobImmutabilityPolicy
hasLegalHold
Boolean

Returns

Applies to