Class: Azure::Storage::Mgmt::V2019_06_01::Models::FileShareItem
- Inherits:
-
AzureEntityResource
- Object
- Resource
- AzureEntityResource
- Azure::Storage::Mgmt::V2019_06_01::Models::FileShareItem
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-06-01/generated/azure_mgmt_storage/models/file_share_item.rb
Overview
The file share properties be listed out.
Instance Attribute Summary collapse
-
#access_tier ⇒ ShareAccessTier
can choose between TransactionOptimized (default), Hot, and Cool.
-
#access_tier_change_time ⇒ DateTime
access tier.
-
#access_tier_status ⇒ String
tier.
-
#deleted ⇒ Boolean
Indicates whether the share was deleted.
-
#deleted_time ⇒ DateTime
The deleted time if the share was deleted.
-
#enabled_protocols ⇒ EnabledProtocols
the file share.
-
#last_modified_time ⇒ DateTime
modified.
-
#metadata ⇒ Hash{String => String}
the share as metadata.
-
#remaining_retention_days ⇒ Integer
deleted.
-
#root_squash ⇒ RootSquashType
default is NoRootSquash.
-
#share_quota ⇒ Integer
greater than 0, and less than or equal to 5TB (5120).
-
#share_usage_bytes ⇒ Integer
Note that this value may not include all recently created or recently resized files.
-
#version ⇒ String
The version of the share.
Attributes inherited from AzureEntityResource
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for FileShareItem class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#access_tier ⇒ ShareAccessTier
can choose between TransactionOptimized (default), Hot, and Cool. FileStorage account can choose Premium. Possible values include: ‘TransactionOptimized’, ‘Hot’, ‘Cool’, ‘Premium’
55 56 57 |
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/file_share_item.rb', line 55 def access_tier @access_tier end |
#access_tier_change_time ⇒ DateTime
access tier.
59 60 61 |
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/file_share_item.rb', line 59 def access_tier_change_time @access_tier_change_time end |
#access_tier_status ⇒ String
tier.
63 64 65 |
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/file_share_item.rb', line 63 def access_tier_status @access_tier_status end |
#deleted ⇒ Boolean
Returns Indicates whether the share was deleted.
42 43 44 |
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/file_share_item.rb', line 42 def deleted @deleted end |
#deleted_time ⇒ DateTime
Returns The deleted time if the share was deleted.
45 46 47 |
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/file_share_item.rb', line 45 def deleted_time @deleted_time end |
#enabled_protocols ⇒ EnabledProtocols
the file share. Can only be specified when creating a share. Possible values include: ‘SMB’, ‘NFS’
31 32 33 |
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/file_share_item.rb', line 31 def enabled_protocols @enabled_protocols end |
#last_modified_time ⇒ DateTime
modified.
17 18 19 |
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/file_share_item.rb', line 17 def last_modified_time @last_modified_time end |
#metadata ⇒ Hash{String => String}
the share as metadata.
21 22 23 |
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/file_share_item.rb', line 21 def @metadata end |
#remaining_retention_days ⇒ Integer
deleted.
49 50 51 |
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/file_share_item.rb', line 49 def remaining_retention_days @remaining_retention_days end |
#root_squash ⇒ RootSquashType
default is NoRootSquash. Possible values include: ‘NoRootSquash’, ‘RootSquash’, ‘AllSquash’
36 37 38 |
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/file_share_item.rb', line 36 def root_squash @root_squash end |
#share_quota ⇒ Integer
greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400.
26 27 28 |
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/file_share_item.rb', line 26 def share_quota @share_quota end |
#share_usage_bytes ⇒ Integer
Note that this value may not include all recently created or recently resized files.
68 69 70 |
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/file_share_item.rb', line 68 def share_usage_bytes @share_usage_bytes end |
#version ⇒ String
Returns The version of the share.
39 40 41 |
# File 'lib/2019-06-01/generated/azure_mgmt_storage/models/file_share_item.rb', line 39 def version @version end |
Class Method Details
.mapper ⇒ Object
Mapper for FileShareItem class as Ruby Hash. This will be used for serialization/deserialization.
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 |
# 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 |