Class: Azure::Network::Mgmt::V2018_02_01::Models::Availability

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-02-01/generated/azure_mgmt_network/models/availability.rb

Overview

Availability of the metric.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#blob_durationString

Returns Duration of the availability blob.

Returns:

  • (String)

    Duration of the availability blob.


22
23
24
# File 'lib/2018-02-01/generated/azure_mgmt_network/models/availability.rb', line 22

def blob_duration
  @blob_duration
end

#retentionString

Returns The retention of the availability.

Returns:

  • (String)

    The retention of the availability.


19
20
21
# File 'lib/2018-02-01/generated/azure_mgmt_network/models/availability.rb', line 19

def retention
  @retention
end

#time_grainString

Returns The time grain of the availability.

Returns:

  • (String)

    The time grain of the availability.


16
17
18
# File 'lib/2018-02-01/generated/azure_mgmt_network/models/availability.rb', line 16

def time_grain
  @time_grain
end

Class Method Details

.mapperObject

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-02-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