Class: Azure::Storage::Mgmt::V2019_04_01::Models::FileShareItem
- Inherits:
-
AzureEntityResource
- Object
- Resource
- AzureEntityResource
- Azure::Storage::Mgmt::V2019_04_01::Models::FileShareItem
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-04-01/generated/azure_mgmt_storage/models/file_share_item.rb
Overview
The file share properties be listed out.
Instance Attribute Summary collapse
-
#last_modified_time ⇒ DateTime
modified.
-
#metadata ⇒ Hash{String => String}
the share as metadata.
-
#share_quota ⇒ Integer
greater than 0, and less than or equal to 5TB (5120).
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
#last_modified_time ⇒ DateTime
modified.
17 18 19 |
# File 'lib/2019-04-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-04-01/generated/azure_mgmt_storage/models/file_share_item.rb', line 21 def @metadata end |
#share_quota ⇒ Integer
greater than 0, and less than or equal to 5TB (5120).
25 26 27 |
# File 'lib/2019-04-01/generated/azure_mgmt_storage/models/file_share_item.rb', line 25 def share_quota @share_quota end |
Class Method Details
.mapper ⇒ Object
Mapper for FileShareItem class as Ruby Hash. This will be used for serialization/deserialization.
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 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 |
# File 'lib/2019-04-01/generated/azure_mgmt_storage/models/file_share_item.rb', line 32 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: 5120, InclusiveMinimum: 1 }, type: { name: 'Number' } } } } } end |