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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET