Delen via


BlobContainer Constructors

Definition

Overloads

BlobContainer()

Initializes a new instance of the BlobContainer class.

BlobContainer(String, String, String, String, String, Nullable<Boolean>, Nullable<DateTime>, Nullable<Int32>, String, Nullable<Boolean>, Nullable<PublicAccess>, Nullable<DateTime>, String, String, String, IDictionary<String,String>, ImmutabilityPolicyProperties, LegalHoldProperties, Nullable<Boolean>, Nullable<Boolean>, ImmutableStorageWithVersioning, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the BlobContainer class.

BlobContainer()

Initializes a new instance of the BlobContainer class.

public BlobContainer ();
Public Sub New ()

Applies to

BlobContainer(String, String, String, String, String, Nullable<Boolean>, Nullable<DateTime>, Nullable<Int32>, String, Nullable<Boolean>, Nullable<PublicAccess>, Nullable<DateTime>, String, String, String, IDictionary<String,String>, ImmutabilityPolicyProperties, LegalHoldProperties, Nullable<Boolean>, Nullable<Boolean>, ImmutableStorageWithVersioning, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the BlobContainer class.

public BlobContainer (string id = default, string name = default, string type = default, string etag = default, string version = default, bool? deleted = default, DateTime? deletedTime = default, int? remainingRetentionDays = default, string defaultEncryptionScope = default, bool? denyEncryptionScopeOverride = default, Microsoft.Azure.Management.Storage.Models.PublicAccess? publicAccess = default, DateTime? lastModifiedTime = default, string leaseStatus = default, string leaseState = default, string leaseDuration = default, System.Collections.Generic.IDictionary<string,string> metadata = default, Microsoft.Azure.Management.Storage.Models.ImmutabilityPolicyProperties immutabilityPolicy = default, Microsoft.Azure.Management.Storage.Models.LegalHoldProperties legalHold = default, bool? hasLegalHold = default, bool? hasImmutabilityPolicy = default, Microsoft.Azure.Management.Storage.Models.ImmutableStorageWithVersioning immutableStorageWithVersioning = default, bool? enableNfsV3RootSquash = default, bool? enableNfsV3AllSquash = default);
new Microsoft.Azure.Management.Storage.Models.BlobContainer : string * string * string * string * string * Nullable<bool> * Nullable<DateTime> * Nullable<int> * string * Nullable<bool> * Nullable<Microsoft.Azure.Management.Storage.Models.PublicAccess> * Nullable<DateTime> * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Storage.Models.ImmutabilityPolicyProperties * Microsoft.Azure.Management.Storage.Models.LegalHoldProperties * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.Storage.Models.ImmutableStorageWithVersioning * Nullable<bool> * Nullable<bool> -> Microsoft.Azure.Management.Storage.Models.BlobContainer
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional etag As String = Nothing, Optional version As String = Nothing, Optional deleted As Nullable(Of Boolean) = Nothing, Optional deletedTime As Nullable(Of DateTime) = Nothing, Optional remainingRetentionDays As Nullable(Of Integer) = Nothing, Optional defaultEncryptionScope As String = Nothing, Optional denyEncryptionScopeOverride As Nullable(Of Boolean) = Nothing, Optional publicAccess As Nullable(Of PublicAccess) = Nothing, Optional lastModifiedTime As Nullable(Of DateTime) = Nothing, Optional leaseStatus As String = Nothing, Optional leaseState As String = Nothing, Optional leaseDuration As String = Nothing, Optional metadata As IDictionary(Of String, String) = Nothing, Optional immutabilityPolicy As ImmutabilityPolicyProperties = Nothing, Optional legalHold As LegalHoldProperties = Nothing, Optional hasLegalHold As Nullable(Of Boolean) = Nothing, Optional hasImmutabilityPolicy As Nullable(Of Boolean) = Nothing, Optional immutableStorageWithVersioning As ImmutableStorageWithVersioning = Nothing, Optional enableNfsV3RootSquash As Nullable(Of Boolean) = Nothing, Optional enableNfsV3AllSquash As Nullable(Of Boolean) = Nothing)

Parameters

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

etag
String

Resource Etag.

version
String

The version of the deleted blob container.

deleted
Nullable<Boolean>

Indicates whether the blob container was deleted.

deletedTime
Nullable<DateTime>

Blob container deletion time.

remainingRetentionDays
Nullable<Int32>

Remaining retention days for soft deleted blob container.

defaultEncryptionScope
String

Default the container to use specified encryption scope for all writes.

denyEncryptionScopeOverride
Nullable<Boolean>

Block override of encryption scope from the container default.

publicAccess
Nullable<PublicAccess>

Specifies whether data in the container may be accessed publicly and the level of access. Possible values include: 'Container', 'Blob', 'None'

lastModifiedTime
Nullable<DateTime>

Returns the date and time the container was last modified.

leaseStatus
String

The lease status of the container. Possible values include: 'Locked', 'Unlocked'

leaseState
String

Lease state of the container. Possible values include: 'Available', 'Leased', 'Expired', 'Breaking', 'Broken'

leaseDuration
String

Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased. Possible values include: 'Infinite', 'Fixed'

metadata
IDictionary<String,String>

A name-value pair to associate with the container as metadata.

immutabilityPolicy
ImmutabilityPolicyProperties

The ImmutabilityPolicy property of the container.

legalHold
LegalHoldProperties

The LegalHold property of the container.

hasLegalHold
Nullable<Boolean>

The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account.

hasImmutabilityPolicy
Nullable<Boolean>

The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public property is set to false by SRP if ImmutabilityPolicy has not been created for this container.

immutableStorageWithVersioning
ImmutableStorageWithVersioning

The object level immutability property of the container. The property is immutable and can only be set to true at the container creation time. Existing containers must undergo a migration process.

enableNfsV3RootSquash
Nullable<Boolean>

Enable NFSv3 root squash on blob container.

enableNfsV3AllSquash
Nullable<Boolean>

Enable NFSv3 all squash on blob container.

Applies to