class Azure::Network::Mgmt::V2018_01_01::Models::Availability

Availability of the metric.

Attributes

blob_duration[RW]

@return [String] Duration of the availability blob.

retention[RW]

@return [String] The retention of the availability.

time_grain[RW]

@return [String] The time grain of the availability.

Public Class Methods

mapper() click to toggle source

Mapper for Availability class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-01-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