Class: Azure::ARM::StreamAnalytics::Models::DiagnosticCondition

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_stream_analytics/models/diagnostic_condition.rb

Overview

Condition applicable to the resource, or to the job overall, that warrant customer attention.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#codeString

Returns The opaque diagnostic code.

Returns:

  • (String)

    The opaque diagnostic code.



23
24
25
# File 'lib/generated/azure_mgmt_stream_analytics/models/diagnostic_condition.rb', line 23

def code
  @code
end

#messageString

detail. Localized in the Accept-Language of the client request.

Returns:

  • (String)

    The human-readable message describing the condition in



27
28
29
# File 'lib/generated/azure_mgmt_stream_analytics/models/diagnostic_condition.rb', line 27

def message
  @message
end

#sinceString

Customers should be able to find a corresponding event in the ops log around this time.

Returns:

  • (String)

    The UTC timestamp of when the condition started.



20
21
22
# File 'lib/generated/azure_mgmt_stream_analytics/models/diagnostic_condition.rb', line 20

def since
  @since
end

Class Method Details

.mapperObject

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



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
# File 'lib/generated/azure_mgmt_stream_analytics/models/diagnostic_condition.rb', line 34

def self.mapper()
  {
    required: false,
    serialized_name: 'DiagnosticCondition',
    type: {
      name: 'Composite',
      class_name: 'DiagnosticCondition',
      model_properties: {
        since: {
          required: false,
          read_only: true,
          serialized_name: 'since',
          type: {
            name: 'String'
          }
        },
        code: {
          required: false,
          read_only: true,
          serialized_name: 'code',
          type: {
            name: 'String'
          }
        },
        message: {
          required: false,
          read_only: true,
          serialized_name: 'message',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end