class Azure::Monitor::Mgmt::V2017_05_01_preview::Models::SubscriptionDiagnosticSettingsResource
The subscription diagnostic setting resource.
Attributes
@return [String] The name of the event hub. If none is specified, the default event hub will be selected.
@return [Array<SubscriptionLogSettings>] The list of logs settings.
@return [String] The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility.
@return [String] The resource ID of the storage account to which you would like to send Diagnostic Logs.
@return [String] The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2
Private Class Methods
Mapper for SubscriptionDiagnosticSettingsResource
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/subscription_diagnostic_settings_resource.rb, line 43 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SubscriptionDiagnosticSettingsResource', type: { name: 'Composite', class_name: 'SubscriptionDiagnosticSettingsResource', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, storage_account_id: { client_side_validation: true, required: false, serialized_name: 'properties.storageAccountId', type: { name: 'String' } }, service_bus_rule_id: { client_side_validation: true, required: false, serialized_name: 'properties.serviceBusRuleId', type: { name: 'String' } }, event_hub_authorization_rule_id: { client_side_validation: true, required: false, serialized_name: 'properties.eventHubAuthorizationRuleId', type: { name: 'String' } }, event_hub_name: { client_side_validation: true, required: false, serialized_name: 'properties.eventHubName', type: { name: 'String' } }, logs: { client_side_validation: true, required: false, serialized_name: 'properties.logs', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'SubscriptionLogSettingsElementType', type: { name: 'Composite', class_name: 'SubscriptionLogSettings' } } } }, workspace_id: { client_side_validation: true, required: false, serialized_name: 'properties.workspaceId', type: { name: 'String' } } } } } end