public class FileShareInner extends AzureEntityResource
| Constructor and Description |
|---|
FileShareInner() |
| Modifier and Type | Method and Description |
|---|---|
ShareAccessTier |
accessTier()
Get the accessTier property: Access tier for specific share.
|
OffsetDateTime |
accessTierChangeTime()
Get the accessTierChangeTime property: Indicates the last modification time for share access tier.
|
String |
accessTierStatus()
Get the accessTierStatus property: Indicates if there is a pending transition for access tier.
|
Boolean |
deleted()
Get the deleted property: Indicates whether the share was deleted.
|
OffsetDateTime |
deletedTime()
Get the deletedTime property: The deleted time if the share was deleted.
|
EnabledProtocols |
enabledProtocols()
Get the enabledProtocols property: The authentication protocol that is used for the file share.
|
OffsetDateTime |
lastModifiedTime()
Get the lastModifiedTime property: Returns the date and time the share was last modified.
|
Map<String,String> |
metadata()
Get the metadata property: A name-value pair to associate with the share as metadata.
|
Integer |
remainingRetentionDays()
Get the remainingRetentionDays property: Remaining retention days for share that was soft deleted.
|
RootSquashType |
rootSquash()
Get the rootSquash property: The property is for NFS share only.
|
Integer |
shareQuota()
Get the shareQuota property: The maximum size of the share, in gigabytes.
|
Long |
shareUsageBytes()
Get the shareUsageBytes property: The approximate size of the data stored on the share.
|
OffsetDateTime |
snapshotTime()
Get the snapshotTime property: Creation time of share snapshot returned in the response of list shares with
expand param "snapshots".
|
void |
validate()
Validates the instance.
|
String |
version()
Get the version property: The version of the share.
|
FileShareInner |
withAccessTier(ShareAccessTier accessTier)
Set the accessTier property: Access tier for specific share.
|
FileShareInner |
withEnabledProtocols(EnabledProtocols enabledProtocols)
Set the enabledProtocols property: The authentication protocol that is used for the file share.
|
FileShareInner |
withMetadata(Map<String,String> metadata)
Set the metadata property: A name-value pair to associate with the share as metadata.
|
FileShareInner |
withRootSquash(RootSquashType rootSquash)
Set the rootSquash property: The property is for NFS share only.
|
FileShareInner |
withShareQuota(Integer shareQuota)
Set the shareQuota property: The maximum size of the share, in gigabytes.
|
etagpublic OffsetDateTime lastModifiedTime()
public Map<String,String> metadata()
public FileShareInner withMetadata(Map<String,String> metadata)
metadata - the metadata value to set.public Integer shareQuota()
public FileShareInner withShareQuota(Integer shareQuota)
shareQuota - the shareQuota value to set.public EnabledProtocols enabledProtocols()
public FileShareInner withEnabledProtocols(EnabledProtocols enabledProtocols)
enabledProtocols - the enabledProtocols value to set.public RootSquashType rootSquash()
public FileShareInner withRootSquash(RootSquashType rootSquash)
rootSquash - the rootSquash value to set.public String version()
public Boolean deleted()
public OffsetDateTime deletedTime()
public Integer remainingRetentionDays()
public ShareAccessTier accessTier()
public FileShareInner withAccessTier(ShareAccessTier accessTier)
accessTier - the accessTier value to set.public OffsetDateTime accessTierChangeTime()
public String accessTierStatus()
public Long shareUsageBytes()
public OffsetDateTime snapshotTime()
public void validate()
validate in class AzureEntityResourceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.