class Azure::SecurityInsights::Profiles::Latest::Mgmt::SecurityInsightsManagementClass
Attributes
actions[R]
alert_rule_templates[R]
alert_rules[R]
base_url[R]
bookmarks[R]
configurable[R]
data_connectors[R]
incident_comments[R]
incidents[R]
model_classes[R]
operations[R]
options[R]
Public Class Methods
new(options = {})
click to toggle source
# File lib/profiles/latest/modules/securityinsights_profile_module.rb, line 108 def initialize(options = {}) if options.is_a?(Hash) && options.length == 0 @options = setup_default_options else @options = options end reset!(options) @configurable = self @base_url = options[:base_url].nil? ? nil:options[:base_url] @options = options[:options].nil? ? nil:options[:options] @client_0 = Azure::SecurityInsights::Mgmt::V2020_01_01::SecurityInsights.new(configurable.credentials, base_url, options) if(@client_0.respond_to?(:subscription_id)) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) @operations = @client_0.operations @alert_rules = @client_0.alert_rules @actions = @client_0.actions @alert_rule_templates = @client_0.alert_rule_templates @bookmarks = @client_0.bookmarks @data_connectors = @client_0.data_connectors @incidents = @client_0.incidents @incident_comments = @client_0.incident_comments @model_classes = ModelClasses.new end
Public Instance Methods
add_telemetry(client)
click to toggle source
# File lib/profiles/latest/modules/securityinsights_profile_module.rb, line 138 def add_telemetry(client) profile_information = 'Profiles/Latest/SecurityInsights/Mgmt' client.add_user_agent_information(profile_information) end
method_missing(method, *args)
click to toggle source
Calls superclass method
# File lib/profiles/latest/modules/securityinsights_profile_module.rb, line 143 def method_missing(method, *args) if @client_0.respond_to?method @client_0.send(method, *args) else super end end