class Azure::Storage::Mgmt::V2019_06_01::Models::FileShareItem

The file share properties be listed out.

Attributes

access_tier[RW]

@return [ShareAccessTier] 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'

access_tier_change_time[RW]

@return [DateTime] Indicates the last modification time for share access tier.

access_tier_status[RW]

@return [String] Indicates if there is a pending transition for access tier.

deleted[RW]

@return [Boolean] Indicates whether the share was deleted.

deleted_time[RW]

@return [DateTime] The deleted time if the share was deleted.

enabled_protocols[RW]

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

last_modified_time[RW]

@return [DateTime] Returns the date and time the share was last modified.

metadata[RW]

@return [Hash{String => String}] A name-value pair to associate with the share as metadata.

remaining_retention_days[RW]

@return [Integer] Remaining retention days for share that was soft deleted.

root_squash[RW]

@return [RootSquashType] The property is for NFS share only. The default is NoRootSquash. Possible values include: 'NoRootSquash', 'RootSquash', 'AllSquash'

share_quota[RW]

@return [Integer] 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.

share_usage_bytes[RW]

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

version[RW]

@return [String] The version of the share.

Public Class Methods

mapper() click to toggle source

Mapper for FileShareItem class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-06-01/generated/azure_mgmt_storage/models/file_share_item.rb, line 75
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'FileShareItem',
    type: {
      name: 'Composite',
      class_name: 'FileShareItem',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        },
        last_modified_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.lastModifiedTime',
          type: {
            name: 'DateTime'
          }
        },
        metadata: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.metadata',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        share_quota: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.shareQuota',
          constraints: {
            InclusiveMaximum: 102400,
            InclusiveMinimum: 1
          },
          type: {
            name: 'Number'
          }
        },
        enabled_protocols: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.enabledProtocols',
          type: {
            name: 'String'
          }
        },
        root_squash: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.rootSquash',
          type: {
            name: 'String'
          }
        },
        version: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.version',
          type: {
            name: 'String'
          }
        },
        deleted: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.deleted',
          type: {
            name: 'Boolean'
          }
        },
        deleted_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.deletedTime',
          type: {
            name: 'DateTime'
          }
        },
        remaining_retention_days: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.remainingRetentionDays',
          type: {
            name: 'Number'
          }
        },
        access_tier: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.accessTier',
          type: {
            name: 'String'
          }
        },
        access_tier_change_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.accessTierChangeTime',
          type: {
            name: 'DateTime'
          }
        },
        access_tier_status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.accessTierStatus',
          type: {
            name: 'String'
          }
        },
        share_usage_bytes: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.shareUsageBytes',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end