class Azure::ServiceFabric::V7_0_0_42::Models::DiagnosticsSinkProperties
Properties of a DiagnosticsSink.
Attributes
description[RW]
@return [String] A description of the sink.
kind[RW]
name[RW]
@return [String] Name of the sink. This value is referenced by DiagnosticsReferenceDescription
Private Class Methods
mapper()
click to toggle source
Mapper for DiagnosticsSinkProperties
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/7.0.0.42/generated/azure_service_fabric/models/diagnostics_sink_properties.rb, line 36 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DiagnosticsSinkProperties', type: { name: 'Composite', polymorphic_discriminator: 'kind', uber_parent: 'DiagnosticsSinkProperties', class_name: 'DiagnosticsSinkProperties', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, description: { client_side_validation: true, required: false, serialized_name: 'description', type: { name: 'String' } } } } } end
new()
click to toggle source
# File lib/7.0.0.42/generated/azure_service_fabric/models/diagnostics_sink_properties.rb, line 18 def initialize @kind = "DiagnosticsSinkProperties" end