共用方式為


BlobsModelFactory.BlobItemProperties Method

Definition

Creates a new BlobItemProperties instance for mocking.

public static Azure.Storage.Blobs.Models.BlobItemProperties BlobItemProperties (bool accessTierInferred, bool? serverEncrypted = default, string contentType = default, string contentEncoding = default, string contentLanguage = default, byte[] contentHash = default, string contentDisposition = default, string cacheControl = default, long? blobSequenceNumber = default, Azure.Storage.Blobs.Models.BlobType? blobType = default, Azure.Storage.Blobs.Models.LeaseStatus? leaseStatus = default, Azure.Storage.Blobs.Models.LeaseState? leaseState = default, Azure.Storage.Blobs.Models.LeaseDurationType? leaseDuration = default, string copyId = default, Azure.Storage.Blobs.Models.CopyStatus? copyStatus = default, Uri copySource = default, string copyProgress = default, string copyStatusDescription = default, long? contentLength = default, bool? incrementalCopy = default, string destinationSnapshot = default, int? remainingRetentionDays = default, Azure.Storage.Blobs.Models.AccessTier? accessTier = default, DateTimeOffset? lastModified = default, Azure.Storage.Blobs.Models.ArchiveStatus? archiveStatus = default, string customerProvidedKeySha256 = default, string encryptionScope = default, long? tagCount = default, DateTimeOffset? expiresOn = default, bool? isSealed = default, Azure.Storage.Blobs.Models.RehydratePriority? rehydratePriority = default, DateTimeOffset? lastAccessedOn = default, Azure.ETag? eTag = default, DateTimeOffset? createdOn = default, DateTimeOffset? copyCompletedOn = default, DateTimeOffset? deletedOn = default, DateTimeOffset? accessTierChangedOn = default);
static member BlobItemProperties : bool * Nullable<bool> * string * string * string * byte[] * string * string * Nullable<int64> * Nullable<Azure.Storage.Blobs.Models.BlobType> * Nullable<Azure.Storage.Blobs.Models.LeaseStatus> * Nullable<Azure.Storage.Blobs.Models.LeaseState> * Nullable<Azure.Storage.Blobs.Models.LeaseDurationType> * string * Nullable<Azure.Storage.Blobs.Models.CopyStatus> * Uri * string * string * Nullable<int64> * Nullable<bool> * string * Nullable<int> * Nullable<Azure.Storage.Blobs.Models.AccessTier> * Nullable<DateTimeOffset> * Nullable<Azure.Storage.Blobs.Models.ArchiveStatus> * string * string * Nullable<int64> * Nullable<DateTimeOffset> * Nullable<bool> * Nullable<Azure.Storage.Blobs.Models.RehydratePriority> * Nullable<DateTimeOffset> * Nullable<Azure.ETag> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.Storage.Blobs.Models.BlobItemProperties
Public Shared Function BlobItemProperties (accessTierInferred As Boolean, Optional serverEncrypted As Nullable(Of Boolean) = Nothing, Optional contentType As String = Nothing, Optional contentEncoding As String = Nothing, Optional contentLanguage As String = Nothing, Optional contentHash As Byte() = Nothing, Optional contentDisposition As String = Nothing, Optional cacheControl As String = Nothing, Optional blobSequenceNumber As Nullable(Of Long) = Nothing, Optional blobType As Nullable(Of BlobType) = Nothing, Optional leaseStatus As Nullable(Of LeaseStatus) = Nothing, Optional leaseState As Nullable(Of LeaseState) = Nothing, Optional leaseDuration As Nullable(Of LeaseDurationType) = Nothing, Optional copyId As String = Nothing, Optional copyStatus As Nullable(Of CopyStatus) = Nothing, Optional copySource As Uri = Nothing, Optional copyProgress As String = Nothing, Optional copyStatusDescription As String = Nothing, Optional contentLength As Nullable(Of Long) = Nothing, Optional incrementalCopy As Nullable(Of Boolean) = Nothing, Optional destinationSnapshot As String = Nothing, Optional remainingRetentionDays As Nullable(Of Integer) = Nothing, Optional accessTier As Nullable(Of AccessTier) = Nothing, Optional lastModified As Nullable(Of DateTimeOffset) = Nothing, Optional archiveStatus As Nullable(Of ArchiveStatus) = Nothing, Optional customerProvidedKeySha256 As String = Nothing, Optional encryptionScope As String = Nothing, Optional tagCount As Nullable(Of Long) = Nothing, Optional expiresOn As Nullable(Of DateTimeOffset) = Nothing, Optional isSealed As Nullable(Of Boolean) = Nothing, Optional rehydratePriority As Nullable(Of RehydratePriority) = Nothing, Optional lastAccessedOn As Nullable(Of DateTimeOffset) = Nothing, Optional eTag As Nullable(Of ETag) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional copyCompletedOn As Nullable(Of DateTimeOffset) = Nothing, Optional deletedOn As Nullable(Of DateTimeOffset) = Nothing, Optional accessTierChangedOn As Nullable(Of DateTimeOffset) = Nothing) As BlobItemProperties

Parameters

accessTierInferred
Boolean
serverEncrypted
Nullable<Boolean>
contentType
String
contentEncoding
String
contentLanguage
String
contentHash
Byte[]
contentDisposition
String
cacheControl
String
blobSequenceNumber
Nullable<Int64>
blobType
Nullable<BlobType>
leaseStatus
Nullable<LeaseStatus>
leaseState
Nullable<LeaseState>
leaseDuration
Nullable<LeaseDurationType>
copyId
String
copyStatus
Nullable<CopyStatus>
copySource
Uri
copyProgress
String
copyStatusDescription
String
contentLength
Nullable<Int64>
incrementalCopy
Nullable<Boolean>
destinationSnapshot
String
remainingRetentionDays
Nullable<Int32>
accessTier
Nullable<AccessTier>
lastModified
Nullable<DateTimeOffset>
archiveStatus
Nullable<ArchiveStatus>
customerProvidedKeySha256
String
encryptionScope
String
tagCount
Nullable<Int64>
isSealed
Nullable<Boolean>
rehydratePriority
Nullable<RehydratePriority>
lastAccessedOn
Nullable<DateTimeOffset>
eTag
Nullable<ETag>
copyCompletedOn
Nullable<DateTimeOffset>
accessTierChangedOn
Nullable<DateTimeOffset>

Returns

Applies to