Class: Azure::ServiceFabric::V6_4_0_36::Models::DiagnosticsRef

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.4.0.36/generated/azure_service_fabric/models/diagnostics_ref.rb

Overview

Reference to sinks in DiagnosticsDescription.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#enabledBoolean

Returns Status of whether or not sinks are enabled.

Returns:

  • (Boolean)

    Status of whether or not sinks are enabled.



16
17
18
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/diagnostics_ref.rb', line 16

def enabled
  @enabled
end

#sink_refsArray<String>

the list of sinks in DiagnosticsDescription.

Returns:

  • (Array<String>)

    List of sinks to be used if enabled. References



20
21
22
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/diagnostics_ref.rb', line 20

def sink_refs
  @sink_refs
end

Class Method Details

.mapperObject

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



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
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/diagnostics_ref.rb', line 27

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DiagnosticsRef',
    type: {
      name: 'Composite',
      class_name: 'DiagnosticsRef',
      model_properties: {
        enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'enabled',
          type: {
            name: 'Boolean'
          }
        },
        sink_refs: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sinkRefs',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end