Class: Azure::AlertsManagement::Mgmt::V2019_03_01::Models::ThrottlingInformation

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-03-01/generated/azure_mgmt_alerts_management/models/throttling_information.rb

Overview

Optional throttling information for the alert rule.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#durationDuration

before notifying on the alert rule again. The time granularity must be in minutes and minimum value is 0 minutes

Returns:

  • (Duration)

    The required duration (in ISO8601 format) to wait



18
19
20
# File 'lib/2019-03-01/generated/azure_mgmt_alerts_management/models/throttling_information.rb', line 18

def duration
  @duration
end

Class Method Details

.mapperObject

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



25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# File 'lib/2019-03-01/generated/azure_mgmt_alerts_management/models/throttling_information.rb', line 25

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ThrottlingInformation',
    type: {
      name: 'Composite',
      class_name: 'ThrottlingInformation',
      model_properties: {
        duration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'duration',
          type: {
            name: 'TimeSpan'
          }
        }
      }
    }
  }
end