Class: Azure::Compute::Mgmt::V2020_12_01::Models::LogAnalyticsInputBase

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-12-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb

Overview

Api input base class for LogAnalytics Api.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#blob_container_sas_uriString

LogAnalytics Api writes output logs to.

Returns:

  • (String)

    SAS Uri of the logging blob container to which



17
18
19
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb', line 17

def blob_container_sas_uri
  @blob_container_sas_uri
end

#from_timeDateTime

Returns From time of the query.

Returns:

  • (DateTime)

    From time of the query



20
21
22
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb', line 20

def from_time
  @from_time
end

#group_by_client_application_idBoolean

Returns Group query result by Client Application ID.

Returns:

  • (Boolean)

    Group query result by Client Application ID.



35
36
37
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb', line 35

def group_by_client_application_id
  @group_by_client_application_id
end

#group_by_operation_nameBoolean

Returns Group query result by Operation Name.

Returns:

  • (Boolean)

    Group query result by Operation Name.



29
30
31
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb', line 29

def group_by_operation_name
  @group_by_operation_name
end

#group_by_resource_nameBoolean

Returns Group query result by Resource Name.

Returns:

  • (Boolean)

    Group query result by Resource Name.



32
33
34
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb', line 32

def group_by_resource_name
  @group_by_resource_name
end

#group_by_throttle_policyBoolean

Returns Group query result by Throttle Policy applied.

Returns:

  • (Boolean)

    Group query result by Throttle Policy applied.



26
27
28
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb', line 26

def group_by_throttle_policy
  @group_by_throttle_policy
end

#group_by_user_agentBoolean

Returns Group query result by User Agent.

Returns:

  • (Boolean)

    Group query result by User Agent.



38
39
40
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb', line 38

def group_by_user_agent
  @group_by_user_agent
end

#to_timeDateTime

Returns To time of the query.

Returns:

  • (DateTime)

    To time of the query



23
24
25
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb', line 23

def to_time
  @to_time
end

Class Method Details

.mapperObject

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



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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb', line 45

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LogAnalyticsInputBase',
    type: {
      name: 'Composite',
      class_name: 'LogAnalyticsInputBase',
      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'
          }
        },
        group_by_client_application_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'groupByClientApplicationId',
          type: {
            name: 'Boolean'
          }
        },
        group_by_user_agent: {
          client_side_validation: true,
          required: false,
          serialized_name: 'groupByUserAgent',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end