Sdílet prostřednictvím


FileShareItem Constructors

Definition

Overloads

FileShareItem()

Initializes a new instance of the FileShareItem class.

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

FileShareItem()

Initializes a new instance of the FileShareItem class.

public FileShareItem ();
Public Sub New ()

Applies to

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

public FileShareItem (string id = default, string name = default, string type = default, string etag = default, DateTime? lastModifiedTime = default, System.Collections.Generic.IDictionary<string,string> metadata = default, int? shareQuota = default, string enabledProtocols = default, string rootSquash = default, string version = default, bool? deleted = default, DateTime? deletedTime = default, int? remainingRetentionDays = default, string accessTier = default, DateTime? accessTierChangeTime = default, string accessTierStatus = default, long? shareUsageBytes = default, string leaseStatus = default, string leaseState = default, string leaseDuration = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Storage.Models.SignedIdentifier> signedIdentifiers = default, DateTime? snapshotTime = default);
new Microsoft.Azure.Management.Storage.Models.FileShareItem : string * string * string * string * Nullable<DateTime> * System.Collections.Generic.IDictionary<string, string> * Nullable<int> * string * string * string * Nullable<bool> * Nullable<DateTime> * Nullable<int> * string * Nullable<DateTime> * string * Nullable<int64> * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Storage.Models.SignedIdentifier> * Nullable<DateTime> -> Microsoft.Azure.Management.Storage.Models.FileShareItem
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional etag As String = Nothing, Optional lastModifiedTime As Nullable(Of DateTime) = Nothing, Optional metadata As IDictionary(Of String, String) = Nothing, Optional shareQuota As Nullable(Of Integer) = Nothing, Optional enabledProtocols As String = Nothing, Optional rootSquash As String = Nothing, Optional version As String = Nothing, Optional deleted As Nullable(Of Boolean) = Nothing, Optional deletedTime As Nullable(Of DateTime) = Nothing, Optional remainingRetentionDays As Nullable(Of Integer) = Nothing, Optional accessTier As String = Nothing, Optional accessTierChangeTime As Nullable(Of DateTime) = Nothing, Optional accessTierStatus As String = Nothing, Optional shareUsageBytes As Nullable(Of Long) = Nothing, Optional leaseStatus As String = Nothing, Optional leaseState As String = Nothing, Optional leaseDuration As String = Nothing, Optional signedIdentifiers As IList(Of SignedIdentifier) = Nothing, Optional snapshotTime As Nullable(Of DateTime) = Nothing)

Parameters

id
String

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

name
String

The name of the resource

type
String

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

etag
String

Resource Etag.

lastModifiedTime
Nullable<DateTime>

Returns the date and time the share was last modified.

metadata
IDictionary<String,String>

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

shareQuota
Nullable<Int32>

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.

enabledProtocols
String

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

rootSquash
String

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

version
String

The version of the share.

deleted
Nullable<Boolean>

Indicates whether the share was deleted.

deletedTime
Nullable<DateTime>

The deleted time if the share was deleted.

remainingRetentionDays
Nullable<Int32>

Remaining retention days for share that was soft deleted.

accessTier
String

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
Nullable<DateTime>

Indicates the last modification time for share access tier.

accessTierStatus
String

Indicates if there is a pending transition for access tier.

shareUsageBytes
Nullable<Int64>

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

leaseStatus
String

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

leaseState
String

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

leaseDuration
String

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

signedIdentifiers
IList<SignedIdentifier>

List of stored access policies specified on the share.

snapshotTime
Nullable<DateTime>

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

Applies to