Class: Azure::ARM::Insights::Models::ServiceDiagnosticSettingsCreateOrUpdateParameters
- Inherits:
-
Object
- Object
- Azure::ARM::Insights::Models::ServiceDiagnosticSettingsCreateOrUpdateParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_insights/models/service_diagnostic_settings_create_or_update_parameters.rb
Overview
Parameters supplied to the Create or Update service configuration.
Instance Attribute Summary collapse
-
#logs ⇒ Array<LogSettings>
The list of logs.
-
#metrics ⇒ Array<MetricSettings>
The list of metrics.
-
#service_bus_rule_id ⇒ String
The id of the service bus rule.
-
#storage_account_id ⇒ String
The resource id of the storage account.
-
#workspace_id ⇒ String
The OMS workspace Id.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ServiceDiagnosticSettingsCreateOrUpdateParameters class as Ruby Hash.
Instance Attribute Details
#logs ⇒ Array<LogSettings>
Returns the list of logs.
25 26 27 |
# File 'lib/generated/azure_mgmt_insights/models/service_diagnostic_settings_create_or_update_parameters.rb', line 25 def logs @logs end |
#metrics ⇒ Array<MetricSettings>
Returns the list of metrics.
22 23 24 |
# File 'lib/generated/azure_mgmt_insights/models/service_diagnostic_settings_create_or_update_parameters.rb', line 22 def metrics @metrics end |
#service_bus_rule_id ⇒ String
Returns the id of the service bus rule.
19 20 21 |
# File 'lib/generated/azure_mgmt_insights/models/service_diagnostic_settings_create_or_update_parameters.rb', line 19 def service_bus_rule_id @service_bus_rule_id end |
#storage_account_id ⇒ String
Returns the resource id of the storage account.
16 17 18 |
# File 'lib/generated/azure_mgmt_insights/models/service_diagnostic_settings_create_or_update_parameters.rb', line 16 def storage_account_id @storage_account_id end |
#workspace_id ⇒ String
Returns the OMS workspace Id.
28 29 30 |
# File 'lib/generated/azure_mgmt_insights/models/service_diagnostic_settings_create_or_update_parameters.rb', line 28 def workspace_id @workspace_id end |
Class Method Details
.mapper ⇒ Object
Mapper for ServiceDiagnosticSettingsCreateOrUpdateParameters class as Ruby Hash. This will be used for serialization/deserialization.
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 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 |
# File 'lib/generated/azure_mgmt_insights/models/service_diagnostic_settings_create_or_update_parameters.rb', line 36 def self.mapper() { required: false, serialized_name: 'ServiceDiagnosticSettingsCreateOrUpdateParameters', type: { name: 'Composite', class_name: 'ServiceDiagnosticSettingsCreateOrUpdateParameters', model_properties: { storage_account_id: { required: false, serialized_name: 'properties.storageAccountId', type: { name: 'String' } }, service_bus_rule_id: { required: false, serialized_name: 'properties.serviceBusRuleId', type: { name: 'String' } }, metrics: { required: false, serialized_name: 'properties.metrics', type: { name: 'Sequence', element: { required: false, serialized_name: 'MetricSettingsElementType', type: { name: 'Composite', class_name: 'MetricSettings' } } } }, logs: { required: false, serialized_name: 'properties.logs', type: { name: 'Sequence', element: { required: false, serialized_name: 'LogSettingsElementType', type: { name: 'Composite', class_name: 'LogSettings' } } } }, workspace_id: { required: false, serialized_name: 'properties.workspaceId', type: { name: 'String' } } } } } end |