ListContainerItem Constructors
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.
Overloads
ListContainerItem() |
Initializes a new instance of the ListContainerItem class. |
ListContainerItem(String, String, String, String, Nullable<PublicAccess>, Nullable<DateTime>, LeaseStatus, LeaseState, LeaseDuration, IDictionary<String, String>, ImmutabilityPolicyProperties, LegalHoldProperties, Nullable<Boolean>, Nullable<Boolean>) |
Initializes a new instance of the ListContainerItem class. |
ListContainerItem()
Initializes a new instance of the ListContainerItem class.
public ListContainerItem ();
Public Sub New ()
Applies to
ListContainerItem(String, String, String, String, Nullable<PublicAccess>, Nullable<DateTime>, LeaseStatus, LeaseState, LeaseDuration, IDictionary<String, String>, ImmutabilityPolicyProperties, LegalHoldProperties, Nullable<Boolean>, Nullable<Boolean>)
Initializes a new instance of the ListContainerItem class.
public ListContainerItem (string id = default, string name = default, string type = default, string etag = default, Microsoft.Azure.Management.Storage.Fluent.Models.PublicAccess? publicAccess = default, DateTime? lastModifiedTime = default, Microsoft.Azure.Management.Storage.Fluent.Models.LeaseStatus leaseStatus = default, Microsoft.Azure.Management.Storage.Fluent.Models.LeaseState leaseState = default, Microsoft.Azure.Management.Storage.Fluent.Models.LeaseDuration leaseDuration = default, System.Collections.Generic.IDictionary<string,string> metadata = default, Microsoft.Azure.Management.Storage.Fluent.Models.ImmutabilityPolicyProperties immutabilityPolicy = default, Microsoft.Azure.Management.Storage.Fluent.Models.LegalHoldProperties legalHold = default, bool? hasLegalHold = default, bool? hasImmutabilityPolicy = default);
new Microsoft.Azure.Management.Storage.Fluent.Models.ListContainerItem : string * string * string * string * Nullable<Microsoft.Azure.Management.Storage.Fluent.Models.PublicAccess> * Nullable<DateTime> * Microsoft.Azure.Management.Storage.Fluent.Models.LeaseStatus * Microsoft.Azure.Management.Storage.Fluent.Models.LeaseState * Microsoft.Azure.Management.Storage.Fluent.Models.LeaseDuration * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Storage.Fluent.Models.ImmutabilityPolicyProperties * Microsoft.Azure.Management.Storage.Fluent.Models.LegalHoldProperties * Nullable<bool> * Nullable<bool> -> Microsoft.Azure.Management.Storage.Fluent.Models.ListContainerItem
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional etag As String = Nothing, Optional publicAccess As Nullable(Of PublicAccess) = Nothing, Optional lastModifiedTime As Nullable(Of DateTime) = Nothing, Optional leaseStatus As LeaseStatus = Nothing, Optional leaseState As LeaseState = Nothing, Optional leaseDuration As LeaseDuration = 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)
Parameters
- id
- String
- name
- String
- type
- String
- etag
- String
Resource Etag.
- publicAccess
- Nullable<PublicAccess>
Specifies whether data in the container may be accessed publicly and the level of access. Possible values include: 'Container', 'Blob', 'None'
- leaseStatus
- LeaseStatus
The lease status of the container. Possible values include: 'Locked', 'Unlocked'
- leaseState
- LeaseState
Lease state of the container. Possible values include: 'Available', 'Leased', 'Expired', 'Breaking', 'Broken'
- leaseDuration
- LeaseDuration
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.
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.
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.