Class: Azure::StreamAnalytics::Profiles::Latest::Mgmt::StreamAnalyticsManagementClass
- Inherits:
-
Object
- Object
- Azure::StreamAnalytics::Profiles::Latest::Mgmt::StreamAnalyticsManagementClass
- Defined in:
- lib/profiles/latest/modules/streamanalytics_profile_module.rb
Overview
StreamAnalyticsManagementClass
Direct Known Subclasses
Instance Attribute Summary collapse
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#configurable ⇒ Object
readonly
Returns the value of attribute configurable.
-
#functions ⇒ Object
readonly
Returns the value of attribute functions.
-
#inputs ⇒ Object
readonly
Returns the value of attribute inputs.
-
#model_classes ⇒ Object
readonly
Returns the value of attribute model_classes.
-
#operations ⇒ Object
readonly
Returns the value of attribute operations.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#outputs ⇒ Object
readonly
Returns the value of attribute outputs.
-
#streaming_jobs ⇒ Object
readonly
Returns the value of attribute streaming_jobs.
-
#subscriptions ⇒ Object
readonly
Returns the value of attribute subscriptions.
-
#transformations ⇒ Object
readonly
Returns the value of attribute transformations.
Instance Method Summary collapse
- #add_telemetry(client) ⇒ Object
-
#initialize(options = {}) ⇒ StreamAnalyticsManagementClass
constructor
A new instance of StreamAnalyticsManagementClass.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ StreamAnalyticsManagementClass
Returns a new instance of StreamAnalyticsManagementClass.
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 |
# File 'lib/profiles/latest/modules/streamanalytics_profile_module.rb', line 98 def initialize( = {}) if .is_a?(Hash) && .length == 0 @options = else @options = end reset!() @configurable = self @base_url = [:base_url].nil? ? nil:[:base_url] @options = [:options].nil? ? nil:[:options] @client_0 = Azure::StreamAnalytics::Mgmt::V2016_03_01::StreamAnalyticsManagementClient.new(configurable.credentials, base_url, ) if(@client_0.respond_to?(:subscription_id)) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) @operations = @client_0.operations @streaming_jobs = @client_0.streaming_jobs @inputs = @client_0.inputs @outputs = @client_0.outputs @transformations = @client_0.transformations @functions = @client_0.functions @subscriptions = @client_0.subscriptions @model_classes = ModelClasses.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
132 133 134 135 136 137 138 |
# File 'lib/profiles/latest/modules/streamanalytics_profile_module.rb', line 132 def method_missing(method, *args) if @client_0.respond_to?method @client_0.send(method, *args) else super end end |
Instance Attribute Details
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url.
96 97 98 |
# File 'lib/profiles/latest/modules/streamanalytics_profile_module.rb', line 96 def base_url @base_url end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
96 97 98 |
# File 'lib/profiles/latest/modules/streamanalytics_profile_module.rb', line 96 def configurable @configurable end |
#functions ⇒ Object (readonly)
Returns the value of attribute functions.
96 97 98 |
# File 'lib/profiles/latest/modules/streamanalytics_profile_module.rb', line 96 def functions @functions end |
#inputs ⇒ Object (readonly)
Returns the value of attribute inputs.
96 97 98 |
# File 'lib/profiles/latest/modules/streamanalytics_profile_module.rb', line 96 def inputs @inputs end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
96 97 98 |
# File 'lib/profiles/latest/modules/streamanalytics_profile_module.rb', line 96 def model_classes @model_classes end |
#operations ⇒ Object (readonly)
Returns the value of attribute operations.
96 97 98 |
# File 'lib/profiles/latest/modules/streamanalytics_profile_module.rb', line 96 def operations @operations end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
96 97 98 |
# File 'lib/profiles/latest/modules/streamanalytics_profile_module.rb', line 96 def @options end |
#outputs ⇒ Object (readonly)
Returns the value of attribute outputs.
96 97 98 |
# File 'lib/profiles/latest/modules/streamanalytics_profile_module.rb', line 96 def outputs @outputs end |
#streaming_jobs ⇒ Object (readonly)
Returns the value of attribute streaming_jobs.
96 97 98 |
# File 'lib/profiles/latest/modules/streamanalytics_profile_module.rb', line 96 def streaming_jobs @streaming_jobs end |
#subscriptions ⇒ Object (readonly)
Returns the value of attribute subscriptions.
96 97 98 |
# File 'lib/profiles/latest/modules/streamanalytics_profile_module.rb', line 96 def subscriptions @subscriptions end |
#transformations ⇒ Object (readonly)
Returns the value of attribute transformations.
96 97 98 |
# File 'lib/profiles/latest/modules/streamanalytics_profile_module.rb', line 96 def transformations @transformations end |
Instance Method Details
#add_telemetry(client) ⇒ Object
127 128 129 130 |
# File 'lib/profiles/latest/modules/streamanalytics_profile_module.rb', line 127 def add_telemetry(client) profile_information = 'Profiles/Latest/StreamAnalytics/Mgmt' client.add_user_agent_information(profile_information) end |