diff --git a/management/azure_mgmt_monitor/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/diagnostic_settings_resource.rb b/management/azure_mgmt_monitor/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/diagnostic_settings_resource.rb index 1d2be53c34..04012903a8 100644 --- a/management/azure_mgmt_monitor/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/diagnostic_settings_resource.rb +++ b/management/azure_mgmt_monitor/lib/2017-05-01-preview/generated/azure_mgmt_monitor/models/diagnostic_settings_resource.rb @@ -27,18 +27,24 @@ class DiagnosticSettingsResource < ProxyOnlyResource # default event hub will be selected. attr_accessor :event_hub_name - # @return [Array] the list of metric settings. + # @return [Array] The list of metric settings. attr_accessor :metrics - # @return [Array] the list of logs settings. + # @return [Array] The list of logs settings. attr_accessor :logs - # @return [String] The workspace ID (resource ID of a Log Analytics - # workspace) for a Log Analytics workspace to which you would like to - # send Diagnostic Logs. Example: + # @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 attr_accessor :workspace_id + # @return [String] A string indicating whether the export to Log + # Analytics should use the default destination type, i.e. + # AzureDiagnostics, or use a destination type constructed as follows: + # _. Possible + # values are: Dedicated and null (null is default.) + attr_accessor :log_analytics_destination_type + # # Mapper for DiagnosticSettingsResource class as Ruby Hash. @@ -140,6 +146,13 @@ def self.mapper() type: { name: 'String' } + }, + log_analytics_destination_type: { + required: false, + serialized_name: 'properties.logAnalyticsDestinationType', + type: { + name: 'String' + } } } }