Dela via


BlobsModelFactory.BlobContainerProperties Method

Definition

Creates a new BlobContainerProperties instance for mocking.

public static Azure.Storage.Blobs.Models.BlobContainerProperties BlobContainerProperties (DateTimeOffset lastModified, Azure.ETag eTag, Azure.Storage.Blobs.Models.LeaseState? leaseState = default, Azure.Storage.Blobs.Models.LeaseDurationType? leaseDuration = default, Azure.Storage.Blobs.Models.PublicAccessType? publicAccess = default, bool? hasImmutabilityPolicy = default, Azure.Storage.Blobs.Models.LeaseStatus? leaseStatus = default, string defaultEncryptionScope = default, bool? preventEncryptionScopeOverride = default, DateTimeOffset? deletedOn = default, int? remainingRetentionDays = default, System.Collections.Generic.IDictionary<string,string> metadata = default, bool? hasLegalHold = default);
static member BlobContainerProperties : DateTimeOffset * Azure.ETag * Nullable<Azure.Storage.Blobs.Models.LeaseState> * Nullable<Azure.Storage.Blobs.Models.LeaseDurationType> * Nullable<Azure.Storage.Blobs.Models.PublicAccessType> * Nullable<bool> * Nullable<Azure.Storage.Blobs.Models.LeaseStatus> * string * Nullable<bool> * Nullable<DateTimeOffset> * Nullable<int> * System.Collections.Generic.IDictionary<string, string> * Nullable<bool> -> Azure.Storage.Blobs.Models.BlobContainerProperties
Public Shared Function BlobContainerProperties (lastModified As DateTimeOffset, eTag As ETag, Optional leaseState As Nullable(Of LeaseState) = Nothing, Optional leaseDuration As Nullable(Of LeaseDurationType) = Nothing, Optional publicAccess As Nullable(Of PublicAccessType) = Nothing, Optional hasImmutabilityPolicy As Nullable(Of Boolean) = Nothing, Optional leaseStatus As Nullable(Of LeaseStatus) = Nothing, Optional defaultEncryptionScope As String = Nothing, Optional preventEncryptionScopeOverride As Nullable(Of Boolean) = Nothing, Optional deletedOn As Nullable(Of DateTimeOffset) = Nothing, Optional remainingRetentionDays As Nullable(Of Integer) = Nothing, Optional metadata As IDictionary(Of String, String) = Nothing, Optional hasLegalHold As Nullable(Of Boolean) = Nothing) As BlobContainerProperties

Parameters

lastModified
DateTimeOffset
eTag
ETag
leaseState
Nullable<LeaseState>
leaseDuration
Nullable<LeaseDurationType>
publicAccess
Nullable<PublicAccessType>
hasImmutabilityPolicy
Nullable<Boolean>
leaseStatus
Nullable<LeaseStatus>
defaultEncryptionScope
String
preventEncryptionScopeOverride
Nullable<Boolean>
remainingRetentionDays
Nullable<Int32>
hasLegalHold
Nullable<Boolean>

Returns

Applies to