Class: Azure::Network::Mgmt::V2018_07_01::Models::Availability
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2018_07_01::Models::Availability
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_network/models/availability.rb
Overview
Availability of the metric.
Instance Attribute Summary collapse
-
#blob_duration ⇒ String
Duration of the availability blob.
-
#retention ⇒ String
The retention of the availability.
-
#time_grain ⇒ String
The time grain of the availability.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Availability class as Ruby Hash.
Instance Attribute Details
#blob_duration ⇒ String
Returns Duration of the availability blob.
22 23 24 |
# File 'lib/2018-07-01/generated/azure_mgmt_network/models/availability.rb', line 22 def blob_duration @blob_duration end |
#retention ⇒ String
Returns The retention of the availability.
19 20 21 |
# File 'lib/2018-07-01/generated/azure_mgmt_network/models/availability.rb', line 19 def retention @retention end |
#time_grain ⇒ String
Returns The time grain of the availability.
16 17 18 |
# File 'lib/2018-07-01/generated/azure_mgmt_network/models/availability.rb', line 16 def time_grain @time_grain end |
Class Method Details
.mapper ⇒ Object
Mapper for Availability class as Ruby Hash. This will be used for serialization/deserialization.
29 30 31 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 |
# File 'lib/2018-07-01/generated/azure_mgmt_network/models/availability.rb', line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Availability', type: { name: 'Composite', class_name: 'Availability', model_properties: { time_grain: { client_side_validation: true, required: false, serialized_name: 'timeGrain', type: { name: 'String' } }, retention: { client_side_validation: true, required: false, serialized_name: 'retention', type: { name: 'String' } }, blob_duration: { client_side_validation: true, required: false, serialized_name: 'blobDuration', type: { name: 'String' } } } } } end |