class Azure::Monitor::Mgmt::V2017_05_01_preview::Models::SubscriptionLogSettings
Part of Subscription diagnostic setting. Specifies the settings for a particular log.
Attributes
category[RW]
@return [String] Name of a Subscription Diagnostic Log category for a resource type this setting is applied to.
enabled[RW]
@return [Boolean] a value indicating whether this log is enabled.
Private Class Methods
mapper()
click to toggle source
Mapper for SubscriptionLogSettings
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/subscription_log_settings.rb, line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SubscriptionLogSettings', type: { name: 'Composite', class_name: 'SubscriptionLogSettings', model_properties: { category: { client_side_validation: true, required: false, serialized_name: 'category', type: { name: 'String' } }, enabled: { client_side_validation: true, required: true, serialized_name: 'enabled', type: { name: 'Boolean' } } } } } end