Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,29 +31,27 @@ module Models
autoload :RuleCondition, 'generated/azure_mgmt_insights/models/rule_condition.rb'
autoload :RuleDataSource, 'generated/azure_mgmt_insights/models/rule_data_source.rb'
autoload :MetricTrigger, 'generated/azure_mgmt_insights/models/metric_trigger.rb'
autoload :MetricSettings, 'generated/azure_mgmt_insights/models/metric_settings.rb'
autoload :LogSettings, 'generated/azure_mgmt_insights/models/log_settings.rb'
autoload :ServiceDiagnosticSettings, 'generated/azure_mgmt_insights/models/service_diagnostic_settings.rb'
autoload :TimeWindow, 'generated/azure_mgmt_insights/models/time_window.rb'
autoload :RecurrentSchedule, 'generated/azure_mgmt_insights/models/recurrent_schedule.rb'
autoload :AlertRuleResourceCollection, 'generated/azure_mgmt_insights/models/alert_rule_resource_collection.rb'
autoload :RuleAction, 'generated/azure_mgmt_insights/models/rule_action.rb'
autoload :AutoscaleProfile, 'generated/azure_mgmt_insights/models/autoscale_profile.rb'
autoload :ScaleCapacity, 'generated/azure_mgmt_insights/models/scale_capacity.rb'
autoload :WebhookNotification, 'generated/azure_mgmt_insights/models/webhook_notification.rb'
autoload :ScaleAction, 'generated/azure_mgmt_insights/models/scale_action.rb'
autoload :RuleAction, 'generated/azure_mgmt_insights/models/rule_action.rb'
autoload :AlertRuleResourceCollection, 'generated/azure_mgmt_insights/models/alert_rule_resource_collection.rb'
autoload :AutoscaleSettingResourceCollection, 'generated/azure_mgmt_insights/models/autoscale_setting_resource_collection.rb'
autoload :MetricSettings, 'generated/azure_mgmt_insights/models/metric_settings.rb'
autoload :ScaleRule, 'generated/azure_mgmt_insights/models/scale_rule.rb'
autoload :RuleManagementEventClaimsDataSource, 'generated/azure_mgmt_insights/models/rule_management_event_claims_data_source.rb'
autoload :Recurrence, 'generated/azure_mgmt_insights/models/recurrence.rb'
autoload :EmailNotification, 'generated/azure_mgmt_insights/models/email_notification.rb'
autoload :LogProfileCollection, 'generated/azure_mgmt_insights/models/log_profile_collection.rb'
autoload :AutoscaleNotification, 'generated/azure_mgmt_insights/models/autoscale_notification.rb'
autoload :LogProfileProperties, 'generated/azure_mgmt_insights/models/log_profile_properties.rb'
autoload :ScaleRule, 'generated/azure_mgmt_insights/models/scale_rule.rb'
autoload :IncidentListResult, 'generated/azure_mgmt_insights/models/incident_list_result.rb'
autoload :RetentionPolicy, 'generated/azure_mgmt_insights/models/retention_policy.rb'
autoload :ManagementEventAggregationCondition, 'generated/azure_mgmt_insights/models/management_event_aggregation_condition.rb'
autoload :EmailNotification, 'generated/azure_mgmt_insights/models/email_notification.rb'
autoload :IncidentListResult, 'generated/azure_mgmt_insights/models/incident_list_result.rb'
autoload :AutoscaleNotification, 'generated/azure_mgmt_insights/models/autoscale_notification.rb'
autoload :Incident, 'generated/azure_mgmt_insights/models/incident.rb'
autoload :Recurrence, 'generated/azure_mgmt_insights/models/recurrence.rb'
autoload :ManagementEventAggregationCondition, 'generated/azure_mgmt_insights/models/management_event_aggregation_condition.rb'
autoload :AutoscaleSettingResource, 'generated/azure_mgmt_insights/models/autoscale_setting_resource.rb'
autoload :ServiceDiagnosticSettingsResource, 'generated/azure_mgmt_insights/models/service_diagnostic_settings_resource.rb'
autoload :RuleMetricDataSource, 'generated/azure_mgmt_insights/models/rule_metric_data_source.rb'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,7 @@ def get_async(log_profile_name, custom_headers = nil)
# Create or update a log profile in Azure Monitoring REST API.
#
# @param log_profile_name [String] The name of the log profile.
# @param parameters [LogProfileProperties] Parameters supplied to the
# operation.
# @param parameters [LogProfileResource] Parameters supplied to the operation.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
Expand All @@ -205,8 +204,7 @@ def create_or_update(log_profile_name, parameters, custom_headers = nil)
# Create or update a log profile in Azure Monitoring REST API.
#
# @param log_profile_name [String] The name of the log profile.
# @param parameters [LogProfileProperties] Parameters supplied to the
# operation.
# @param parameters [LogProfileResource] Parameters supplied to the operation.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
Expand All @@ -220,8 +218,7 @@ def create_or_update_with_http_info(log_profile_name, parameters, custom_headers
# Create or update a log profile in Azure Monitoring REST API.
#
# @param log_profile_name [String] The name of the log profile.
# @param parameters [LogProfileProperties] Parameters supplied to the
# operation.
# @param parameters [LogProfileResource] Parameters supplied to the operation.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
Expand All @@ -243,7 +240,7 @@ def create_or_update_async(log_profile_name, parameters, custom_headers = nil)
request_headers['Content-Type'] = 'application/json; charset=utf-8'

# Serialize Request
request_mapper = LogProfileProperties.mapper()
request_mapper = LogProfileResource.mapper()
request_content = @client.serialize(request_mapper, parameters, 'parameters')
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def self.mapper()
}
},
storage_account_id: {
required: true,
required: false,
serialized_name: 'properties.storageAccountId',
type: {
name: 'String'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ class RecurrentSchedule

include MsRestAzure

# @return [String] the time zone for the hours of the profile. See
# examples of valid timezone are: Dateline Standard Time, UTC-11,
# @return [String] the timezone for the hours of the profile. Some
# examples of valid timezones are: Dateline Standard Time, UTC-11,
# Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time
# (Mexico), Pacific Standard Time, US Mountain Standard Time, Mountain
# Standard Time (Mexico), Mountain Standard Time, Central America
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,46 @@ class TimeWindow

include MsRestAzure

# @return [String] the time zone of the start and end times for the
# profile. See examples of valid timezone ids over here:
# https://msdn.microsoft.com/en-us/library/azure/dn931928.aspx
# @return [String] the timezone of the start and end times for the
# profile. Some examples of valid timezones are: Dateline Standard Time,
# UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard
# Time (Mexico), Pacific Standard Time, US Mountain Standard Time,
# Mountain Standard Time (Mexico), Mountain Standard Time, Central
# America Standard Time, Central Standard Time, Central Standard Time
# (Mexico), Canada Central Standard Time, SA Pacific Standard Time,
# Eastern Standard Time, US Eastern Standard Time, Venezuela Standard
# Time, Paraguay Standard Time, Atlantic Standard Time, Central Brazilian
# Standard Time, SA Western Standard Time, Pacific SA Standard Time,
# Newfoundland Standard Time, E. South America Standard Time, Argentina
# Standard Time, SA Eastern Standard Time, Greenland Standard Time,
# Montevideo Standard Time, Bahia Standard Time, UTC-02, Mid-Atlantic
# Standard Time, Azores Standard Time, Cape Verde Standard Time, Morocco
# Standard Time, UTC, GMT Standard Time, Greenwich Standard Time, W.
# Europe Standard Time, Central Europe Standard Time, Romance Standard
# Time, Central European Standard Time, W. Central Africa Standard Time,
# Namibia Standard Time, Jordan Standard Time, GTB Standard Time, Middle
# East Standard Time, Egypt Standard Time, Syria Standard Time, E. Europe
# Standard Time, South Africa Standard Time, FLE Standard Time, Turkey
# Standard Time, Israel Standard Time, Kaliningrad Standard Time, Libya
# Standard Time, Arabic Standard Time, Arab Standard Time, Belarus
# Standard Time, Russian Standard Time, E. Africa Standard Time, Iran
# Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia
# Time Zone 3, Mauritius Standard Time, Georgian Standard Time, Caucasus
# Standard Time, Afghanistan Standard Time, West Asia Standard Time,
# Ekaterinburg Standard Time, Pakistan Standard Time, India Standard
# Time, Sri Lanka Standard Time, Nepal Standard Time, Central Asia
# Standard Time, Bangladesh Standard Time, N. Central Asia Standard Time,
# Myanmar Standard Time, SE Asia Standard Time, North Asia Standard Time,
# China Standard Time, North Asia East Standard Time, Singapore Standard
# Time, W. Australia Standard Time, Taipei Standard Time, Ulaanbaatar
# Standard Time, Tokyo Standard Time, Korea Standard Time, Yakutsk
# Standard Time, Cen. Australia Standard Time, AUS Central Standard Time,
# E. Australia Standard Time, AUS Eastern Standard Time, West Pacific
# Standard Time, Tasmania Standard Time, Magadan Standard Time,
# Vladivostok Standard Time, Russia Time Zone 10, Central Pacific
# Standard Time, Russia Time Zone 11, New Zealand Standard Time, UTC+12,
# Fiji Standard Time, Kamchatka Standard Time, Tonga Standard Time, Samoa
# Standard Time, Line Islands Standard Time
attr_accessor :time_zone

# @return [DateTime] the start time for the profile in ISO 8601 format.
Expand Down
Loading