Class: Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DiagnosticCondition

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-03-01/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.



22
23
24
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/diagnostic_condition.rb', line 22

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



26
27
28
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/diagnostic_condition.rb', line 26

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.



19
20
21
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/diagnostic_condition.rb', line 19

def since
  @since
end

Class Method Details

.mapperObject

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



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

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