GetFileShareResult

data class GetFileShareResult(val accessTier: String? = null, val accessTierChangeTime: String, val accessTierStatus: String, val deleted: Boolean, val deletedTime: String, val enabledProtocols: String? = null, val etag: String, val id: String, val lastModifiedTime: String, val leaseDuration: String, val leaseState: String, val leaseStatus: String, val metadata: Map<String, String>? = null, val name: String, val remainingRetentionDays: Int, val rootSquash: String? = null, val shareQuota: Int? = null, val shareUsageBytes: Double, val signedIdentifiers: List<SignedIdentifierResponse>? = null, val snapshotTime: String, val type: String, val version: String)

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

Constructors

Link copied to clipboard
constructor(accessTier: String? = null, accessTierChangeTime: String, accessTierStatus: String, deleted: Boolean, deletedTime: String, enabledProtocols: String? = null, etag: String, id: String, lastModifiedTime: String, leaseDuration: String, leaseState: String, leaseStatus: String, metadata: Map<String, String>? = null, name: String, remainingRetentionDays: Int, rootSquash: String? = null, shareQuota: Int? = null, shareUsageBytes: Double, signedIdentifiers: List<SignedIdentifierResponse>? = null, snapshotTime: String, type: String, version: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val accessTier: String? = null

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

Link copied to clipboard

Indicates the last modification time for share access tier.

Link copied to clipboard

Indicates if there is a pending transition for access tier.

Link copied to clipboard

Indicates whether the share was deleted.

Link copied to clipboard

The deleted time if the share was deleted.

Link copied to clipboard

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

Link copied to clipboard

Resource Etag.

Link copied to clipboard
val id: String

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

Link copied to clipboard

Returns the date and time the share was last modified.

Link copied to clipboard

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

Link copied to clipboard

Lease state of the share.

Link copied to clipboard

The lease status of the share.

Link copied to clipboard
val metadata: Map<String, String>? = null

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

Link copied to clipboard

The name of the resource

Link copied to clipboard

Remaining retention days for share that was soft deleted.

Link copied to clipboard
val rootSquash: String? = null

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

Link copied to clipboard
val shareQuota: Int? = null

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.

Link copied to clipboard

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

Link copied to clipboard

List of stored access policies specified on the share.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

The version of the share.