Class: Azure::ARM::Insights::Models::ServiceDiagnosticSettings
- Inherits:
-
Object
- Object
- Azure::ARM::Insights::Models::ServiceDiagnosticSettings
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_insights/models/service_diagnostic_settings.rb
Overview
The diagnostic settings for service.
Instance Attribute Summary collapse
-
#logs ⇒ Array<LogSettings>
The list of logs settings.
-
#metrics ⇒ Array<MetricSettings>
The list of metric settings.
-
#service_bus_rule_id ⇒ String
in which you would like to have Event Hubs created for streaming Diagnostic Logs.
-
#storage_account_id ⇒ String
would like to send Diagnostic Logs.
-
#workspace_id ⇒ String
workspace) for a Log Analytics workspace to which you would like to send Diagnostic Logs.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ServiceDiagnosticSettings class as Ruby Hash.
Instance Attribute Details
#logs ⇒ Array<LogSettings>
Returns the list of logs settings.
29 30 31 |
# File 'lib/generated/azure_mgmt_insights/models/service_diagnostic_settings.rb', line 29 def logs @logs end |
#metrics ⇒ Array<MetricSettings>
Returns the list of metric settings.
26 27 28 |
# File 'lib/generated/azure_mgmt_insights/models/service_diagnostic_settings.rb', line 26 def metrics @metrics end |
#service_bus_rule_id ⇒ String
in which you would like to have Event Hubs created for streaming Diagnostic Logs. The rule ID is of the format: ‘bus resource ID/authorizationrules/name’.
23 24 25 |
# File 'lib/generated/azure_mgmt_insights/models/service_diagnostic_settings.rb', line 23 def service_bus_rule_id @service_bus_rule_id end |
#storage_account_id ⇒ String
would like to send Diagnostic Logs.
17 18 19 |
# File 'lib/generated/azure_mgmt_insights/models/service_diagnostic_settings.rb', line 17 def storage_account_id @storage_account_id end |
#workspace_id ⇒ String
workspace) for a 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
35 36 37 |
# File 'lib/generated/azure_mgmt_insights/models/service_diagnostic_settings.rb', line 35 def workspace_id @workspace_id end |
Class Method Details
.mapper ⇒ Object
Mapper for ServiceDiagnosticSettings class as Ruby Hash. This will be used for serialization/deserialization.
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 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 |
# File 'lib/generated/azure_mgmt_insights/models/service_diagnostic_settings.rb', line 42 def self.mapper() { required: false, serialized_name: 'ServiceDiagnosticSettings', type: { name: 'Composite', class_name: 'ServiceDiagnosticSettings', model_properties: { storage_account_id: { required: false, serialized_name: 'storageAccountId', type: { name: 'String' } }, service_bus_rule_id: { required: false, serialized_name: 'serviceBusRuleId', type: { name: 'String' } }, metrics: { required: false, serialized_name: 'metrics', type: { name: 'Sequence', element: { required: false, serialized_name: 'MetricSettingsElementType', type: { name: 'Composite', class_name: 'MetricSettings' } } } }, logs: { required: false, serialized_name: 'logs', type: { name: 'Sequence', element: { required: false, serialized_name: 'LogSettingsElementType', type: { name: 'Composite', class_name: 'LogSettings' } } } }, workspace_id: { required: false, serialized_name: 'workspaceId', type: { name: 'String' } } } } } end |