Class: Azure::Profiles::Latest::Hanaonazure::Mgmt::HanaonazureManagementClass
- Inherits:
-
Object
- Object
- Azure::Profiles::Latest::Hanaonazure::Mgmt::HanaonazureManagementClass
- Defined in:
- lib/latest/modules/hanaonazure_profile_module.rb
Defined Under Namespace
Classes: ModelClasses
Instance Attribute Summary collapse
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#configurable ⇒ Object
readonly
Returns the value of attribute configurable.
-
#hana_instances ⇒ Object
readonly
Returns the value of attribute hana_instances.
-
#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.
-
#sap_monitors ⇒ Object
readonly
Returns the value of attribute sap_monitors.
Instance Method Summary collapse
- #add_telemetry(client) ⇒ Object
-
#initialize(configurable, base_url = nil, options = nil) ⇒ HanaonazureManagementClass
constructor
A new instance of HanaonazureManagementClass.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(configurable, base_url = nil, options = nil) ⇒ HanaonazureManagementClass
Returns a new instance of HanaonazureManagementClass.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/latest/modules/hanaonazure_profile_module.rb', line 41 def initialize(configurable, base_url=nil, =nil) @configurable, @base_url, @options = configurable, base_url, @client_0 = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::HanaManagementClient.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 @hana_instances = @client_0.hana_instances @sap_monitors = @client_0.sap_monitors @model_classes = ModelClasses.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
61 62 63 64 65 66 67 |
# File 'lib/latest/modules/hanaonazure_profile_module.rb', line 61 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.
39 40 41 |
# File 'lib/latest/modules/hanaonazure_profile_module.rb', line 39 def base_url @base_url end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
39 40 41 |
# File 'lib/latest/modules/hanaonazure_profile_module.rb', line 39 def configurable @configurable end |
#hana_instances ⇒ Object (readonly)
Returns the value of attribute hana_instances.
39 40 41 |
# File 'lib/latest/modules/hanaonazure_profile_module.rb', line 39 def hana_instances @hana_instances end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
39 40 41 |
# File 'lib/latest/modules/hanaonazure_profile_module.rb', line 39 def model_classes @model_classes end |
#operations ⇒ Object (readonly)
Returns the value of attribute operations.
39 40 41 |
# File 'lib/latest/modules/hanaonazure_profile_module.rb', line 39 def operations @operations end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
39 40 41 |
# File 'lib/latest/modules/hanaonazure_profile_module.rb', line 39 def @options end |
#sap_monitors ⇒ Object (readonly)
Returns the value of attribute sap_monitors.
39 40 41 |
# File 'lib/latest/modules/hanaonazure_profile_module.rb', line 39 def sap_monitors @sap_monitors end |