Class: Azure::Mysql::Mgmt::V2017_12_01::Models::LogFile
- Inherits:
-
ProxyResource
- Object
- ProxyResource
- Azure::Mysql::Mgmt::V2017_12_01::Models::LogFile
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-12-01/generated/azure_mgmt_mysql/models/log_file.rb
Overview
Represents a log file.
Instance Attribute Summary collapse
-
#created_time ⇒ DateTime
Creation timestamp of the log file.
-
#last_modified_time ⇒ DateTime
Last modified timestamp of the log file.
-
#log_file_type ⇒ String
Type of the log file.
-
#size_in_kb ⇒ Integer
Size of the log file.
-
#url ⇒ String
The url to download the log file from.
Attributes inherited from ProxyResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for LogFile class as Ruby Hash.
Instance Attribute Details
#created_time ⇒ DateTime
Returns Creation timestamp of the log file.
19 20 21 |
# File 'lib/2017-12-01/generated/azure_mgmt_mysql/models/log_file.rb', line 19 def created_time @created_time end |
#last_modified_time ⇒ DateTime
Returns Last modified timestamp of the log file.
22 23 24 |
# File 'lib/2017-12-01/generated/azure_mgmt_mysql/models/log_file.rb', line 22 def last_modified_time @last_modified_time end |
#log_file_type ⇒ String
Returns Type of the log file.
25 26 27 |
# File 'lib/2017-12-01/generated/azure_mgmt_mysql/models/log_file.rb', line 25 def log_file_type @log_file_type end |
#size_in_kb ⇒ Integer
Returns Size of the log file.
16 17 18 |
# File 'lib/2017-12-01/generated/azure_mgmt_mysql/models/log_file.rb', line 16 def size_in_kb @size_in_kb end |
#url ⇒ String
Returns The url to download the log file from.
28 29 30 |
# File 'lib/2017-12-01/generated/azure_mgmt_mysql/models/log_file.rb', line 28 def url @url end |
Class Method Details
.mapper ⇒ Object
Mapper for LogFile class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2017-12-01/generated/azure_mgmt_mysql/models/log_file.rb', line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'LogFile', type: { name: 'Composite', class_name: 'LogFile', 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' } }, size_in_kb: { client_side_validation: true, required: false, serialized_name: 'properties.sizeInKB', type: { name: 'Number' } }, created_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.createdTime', type: { name: 'DateTime' } }, last_modified_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModifiedTime', type: { name: 'DateTime' } }, log_file_type: { client_side_validation: true, required: false, serialized_name: 'properties.type', type: { name: 'String' } }, url: { client_side_validation: true, required: false, serialized_name: 'properties.url', type: { name: 'String' } } } } } end |