Condividi tramite


FileShareData Class

Definition

A class representing the FileShare data model. Properties of the file share, including Id, resource name, resource type, Etag.

public class FileShareData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Storage.FileShareData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Storage.FileShareData>
public class FileShareData : Azure.ResourceManager.Models.ResourceData
type FileShareData = class
    inherit ResourceData
    interface IJsonModel<FileShareData>
    interface IPersistableModel<FileShareData>
type FileShareData = class
    inherit ResourceData
Public Class FileShareData
Inherits ResourceData
Implements IJsonModel(Of FileShareData), IPersistableModel(Of FileShareData)
Public Class FileShareData
Inherits ResourceData
Inheritance
FileShareData
Implements

Constructors

FileShareData()

Initializes a new instance of FileShareData.

Properties

AccessTier

Access tier for specific share. GpV2 account can choose between TransactionOptimized (default), Hot, and Cool. FileStorage account can choose Premium.

AccessTierChangeOn

Indicates the last modification time for share access tier.

AccessTierStatus

Indicates if there is a pending transition for access tier.

DeletedOn

The deleted time if the share was deleted.

EnabledProtocol

The authentication protocol that is used for the file share. Can only be specified when creating a share.

ETag

Resource Etag.

Id

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

(Inherited from ResourceData)
IsDeleted

Indicates whether the share was deleted.

LastModifiedOn

Returns the date and time the share was last modified.

LeaseDuration

Specifies whether the lease on a share is of infinite or fixed duration, only when the share is leased.

LeaseState

Lease state of the share.

LeaseStatus

The lease status of the share.

Metadata

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

Name

The name of the resource.

(Inherited from ResourceData)
RemainingRetentionDays

Remaining retention days for share that was soft deleted.

ResourceType

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

(Inherited from ResourceData)
RootSquash

The property is for NFS share only. The default is NoRootSquash.

ShareQuota

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

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

List of stored access policies specified on the share.

SnapshotOn

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

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Version

The version of the share.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<FileShareData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<FileShareData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FileShareData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FileShareData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<FileShareData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to