Table of Contents

Class ShareProperties

Namespace
Azure.Storage.Files.Shares.Models
Assembly
Azure.Storage.Files.Shares.dll

Properties of a share.

public class ShareProperties
Inheritance
ShareProperties
Inherited Members

Properties

AccessTier

AccessTier.

public string AccessTier { get; }

Property Value

string

AccessTierChangeTime

AccessTierChangeTime.

public DateTimeOffset? AccessTierChangeTime { get; }

Property Value

DateTimeOffset?

AccessTierTransitionState

AccessTierTransitionState.

public string AccessTierTransitionState { get; }

Property Value

string

DeletedOn

DeletedTime.

public DateTimeOffset? DeletedOn { get; }

Property Value

DateTimeOffset?

ETag

Etag.

public ETag? ETag { get; }

Property Value

ETag?

EnableSnapshotVirtualDirectoryAccess

Optional. Supported in version 2023-08-03 and above. Only applicable for premium file storage accounts. Specifies whether the snapshot virtual directory should be accessible at the root of share mount point when NFS is enabled. If not specified, the default is true.

public bool? EnableSnapshotVirtualDirectoryAccess { get; }

Property Value

bool?

LastModified

Last-Modified.

public DateTimeOffset? LastModified { get; }

Property Value

DateTimeOffset?

LeaseDuration

When a share is leased, specifies whether the lease is of infinite or fixed duration.

public ShareLeaseDuration? LeaseDuration { get; }

Property Value

ShareLeaseDuration?

LeaseState

Lease state of the share.

public ShareLeaseState? LeaseState { get; }

Property Value

ShareLeaseState?

LeaseStatus

The current lease status of the share.

public ShareLeaseStatus? LeaseStatus { get; }

Property Value

ShareLeaseStatus?

Metadata

Metadata.

public IDictionary<string, string> Metadata { get; }

Property Value

IDictionary<string, string>

NextAllowedQuotaDowngradeTime

NextAllowedQuotaDowngradeTime.

public DateTimeOffset? NextAllowedQuotaDowngradeTime { get; }

Property Value

DateTimeOffset?

Protocols

EnabledProtocols.

public ShareProtocols? Protocols { get; }

Property Value

ShareProtocols?

ProvisionedBandwidthMiBps

Provisioned bandwidth in metabits/second. Only applicable to premium file accounts.

public int? ProvisionedBandwidthMiBps { get; }

Property Value

int?

ProvisionedIops

ProvisionedIops.

public int? ProvisionedIops { get; }

Property Value

int?

QuotaInGB

QuotaInGB.

public int? QuotaInGB { get; }

Property Value

int?

RemainingRetentionDays

RemainingRetentionDays.

public int? RemainingRetentionDays { get; }

Property Value

int?

RootSquash

RootSquash.

public ShareRootSquash? RootSquash { get; }

Property Value

ShareRootSquash?