Class: Azure::Storage::Mgmt::V2019_04_01::Models::FileShare
- Inherits:
-
AzureEntityResource
- Object
- Resource
- AzureEntityResource
- Azure::Storage::Mgmt::V2019_04_01::Models::FileShare
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-04-01/generated/azure_mgmt_storage/models/file_share.rb
Overview
Properties of the file share, including Id, resource name, resource type, Etag.
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 FileShare class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#last_modified_time ⇒ DateTime
modified.
18 19 20 |
# File 'lib/2019-04-01/generated/azure_mgmt_storage/models/file_share.rb', line 18 def last_modified_time @last_modified_time end |
#metadata ⇒ Hash{String => String}
the share as metadata.
22 23 24 |
# File 'lib/2019-04-01/generated/azure_mgmt_storage/models/file_share.rb', line 22 def @metadata end |
#share_quota ⇒ Integer
greater than 0, and less than or equal to 5TB (5120).
26 27 28 |
# File 'lib/2019-04-01/generated/azure_mgmt_storage/models/file_share.rb', line 26 def share_quota @share_quota end |
Class Method Details
.mapper ⇒ Object
Mapper for FileShare class as Ruby Hash. This will be used for serialization/deserialization.
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 118 |
# File 'lib/2019-04-01/generated/azure_mgmt_storage/models/file_share.rb', line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'FileShare', type: { name: 'Composite', class_name: 'FileShare', 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 |