Class: Azure::Compute::Mgmt::V2017_12_01::Models::RequestRateByIntervalInput

Inherits:
LogAnalyticsInputBase show all
Includes:
MsRestAzure
Defined in:
lib/2017-12-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb

Overview

Api request input for LogAnalytics getRequestRateByInterval Api.

Instance Attribute Summary collapse

Attributes inherited from LogAnalyticsInputBase

#blob_container_sas_uri, #from_time, #group_by_operation_name, #group_by_resource_name, #group_by_throttle_policy, #to_time

Class Method Summary collapse

Instance Attribute Details

#interval_lengthIntervalInMins

LogAnalytics call rate logs. Possible values include: 'ThreeMins', 'FiveMins', 'ThirtyMins', 'SixtyMins'

Returns:



18
19
20
# File 'lib/2017-12-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb', line 18

def interval_length
  @interval_length
end

Class Method Details

.mapperObject

Mapper for RequestRateByIntervalInput 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
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
# File 'lib/2017-12-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb', line 25

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RequestRateByIntervalInput',
    type: {
      name: 'Composite',
      class_name: 'RequestRateByIntervalInput',
      model_properties: {
        blob_container_sas_uri: {
          client_side_validation: true,
          required: true,
          serialized_name: 'blobContainerSasUri',
          type: {
            name: 'String'
          }
        },
        from_time: {
          client_side_validation: true,
          required: true,
          serialized_name: 'fromTime',
          type: {
            name: 'DateTime'
          }
        },
        to_time: {
          client_side_validation: true,
          required: true,
          serialized_name: 'toTime',
          type: {
            name: 'DateTime'
          }
        },
        group_by_throttle_policy: {
          client_side_validation: true,
          required: false,
          serialized_name: 'groupByThrottlePolicy',
          type: {
            name: 'Boolean'
          }
        },
        group_by_operation_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'groupByOperationName',
          type: {
            name: 'Boolean'
          }
        },
        group_by_resource_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'groupByResourceName',
          type: {
            name: 'Boolean'
          }
        },
        interval_length: {
          client_side_validation: true,
          required: true,
          serialized_name: 'intervalLength',
          type: {
            name: 'Enum',
            module: 'IntervalInMins'
          }
        }
      }
    }
  }
end