Condividi tramite


BlobContainerInner Class

Definition

Properties of the blob container, including Id, resource name, resource type, Etag.

[Microsoft.Rest.Serialization.JsonTransformation]
public class BlobContainerInner : Microsoft.Azure.Management.Storage.Fluent.Models.AzureEntityResourceInner
[<Microsoft.Rest.Serialization.JsonTransformation>]
type BlobContainerInner = class
    inherit AzureEntityResourceInner
Public Class BlobContainerInner
Inherits AzureEntityResourceInner
Inheritance
Attributes

Constructors

BlobContainerInner()

Initializes a new instance of the BlobContainerInner class.

BlobContainerInner(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 BlobContainerInner class.

Properties

Etag

Gets resource Etag.

(Inherited from AzureEntityResourceInner)
HasImmutabilityPolicy

Gets 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.

HasLegalHold

Gets 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.

Id

Resource Id. Setter is protected because Id needs to be set in Network resources.

(Inherited from ProxyResource)
ImmutabilityPolicy

Gets the ImmutabilityPolicy property of the container.

LastModifiedTime

Gets returns the date and time the container was last modified.

LeaseDuration

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

LeaseState

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

LeaseStatus

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

LegalHold

Gets the LegalHold property of the container.

Location

Resource location

(Inherited from Resource)
Metadata

Gets or sets a name-value pair to associate with the container as metadata.

Name

Resource name

(Inherited from ProxyResource)
PublicAccess

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

Tags

Resource tags

(Inherited from Resource)
Type

Resource type

(Inherited from ProxyResource)

Methods

Validate()

Validate the object.

Applies to