Aracılığıyla paylaş


FileShare Class

Definition

Properties of the file share, including Id, resource name, resource type, Etag.

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

Constructors

FileShare()

Initializes a new instance of the FileShare class.

FileShare(String, String, String, String, Nullable<DateTime>, IDictionary<String,String>, Nullable<Int32>, String, String, String, Nullable<Boolean>, Nullable<DateTime>, Nullable<Int32>, String, Nullable<DateTime>, String, Nullable<Int64>, String, String, String, IList<SignedIdentifier>, Nullable<DateTime>)

Initializes a new instance of the FileShare class.

Properties

AccessTier

Gets or sets access tier for specific share. GpV2 account can choose between TransactionOptimized (default), Hot, and Cool. FileStorage account can choose Premium. Possible values include: 'TransactionOptimized', 'Hot', 'Cool', 'Premium'

AccessTierChangeTime

Gets indicates the last modification time for share access tier.

AccessTierStatus

Gets indicates if there is a pending transition for access tier.

Deleted

Gets indicates whether the share was deleted.

DeletedTime

Gets the deleted time if the share was deleted.

EnabledProtocols

Gets or sets the authentication protocol that is used for the file share. Can only be specified when creating a share. Possible values include: 'SMB', 'NFS'

Etag

Gets resource Etag.

(Inherited from AzureEntityResource)
Id

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

(Inherited from Resource)
LastModifiedTime

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

LeaseDuration

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

LeaseState

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

LeaseStatus

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

Metadata

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

Name

Gets the name of the resource

(Inherited from Resource)
RemainingRetentionDays

Gets remaining retention days for share that was soft deleted.

RootSquash

Gets or sets the property is for NFS share only. The default is NoRootSquash. Possible values include: 'NoRootSquash', 'RootSquash', 'AllSquash'

ShareQuota

Gets or sets the maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400.

ShareUsageBytes

Gets the approximate size of the data stored on the share. Note that this value may not include all recently created or recently resized files.

SignedIdentifiers

Gets or sets list of stored access policies specified on the share.

SnapshotTime

Gets creation time of share snapshot returned in the response of list shares with expand param "snapshots".

Type

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

(Inherited from Resource)
Version

Gets the version of the share.

Methods

Validate()

Validate the object.

Applies to