BlobsModelFactory.BlobContainerProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>
- leaseStatus
- Nullable<LeaseStatus>
- defaultEncryptionScope
- String
- deletedOn
- Nullable<DateTimeOffset>
- metadata
- IDictionary<String,String>
Returns
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET