Class: Azure::Profiles::Latest::ManagedApplications::Mgmt::ManagedApplicationsManagementClass
- Inherits:
-
Object
- Object
- Azure::Profiles::Latest::ManagedApplications::Mgmt::ManagedApplicationsManagementClass
- Defined in:
- lib/latest/modules/managedapplications_profile_module.rb
Defined Under Namespace
Classes: ModelClasses
Instance Attribute Summary collapse
-
#application_definitions ⇒ Object
readonly
Returns the value of attribute application_definitions.
-
#applications ⇒ Object
readonly
Returns the value of attribute applications.
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#configurable ⇒ Object
readonly
Returns the value of attribute configurable.
-
#model_classes ⇒ Object
readonly
Returns the value of attribute model_classes.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
- #add_telemetry(client) ⇒ Object
-
#initialize(configurable, base_url = nil, options = nil) ⇒ ManagedApplicationsManagementClass
constructor
A new instance of ManagedApplicationsManagementClass.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(configurable, base_url = nil, options = nil) ⇒ ManagedApplicationsManagementClass
Returns a new instance of ManagedApplicationsManagementClass.
37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/latest/modules/managedapplications_profile_module.rb', line 37 def initialize(configurable, base_url=nil, =nil) @configurable, @base_url, @options = configurable, base_url, @client_0 = Azure::ManagedApplications::Mgmt::V2018_06_01::ApplicationClient.new(configurable.credentials, base_url, ) if(@client_0.respond_to?(:subscription_id)) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) @applications = @client_0.applications @application_definitions = @client_0.application_definitions @model_classes = ModelClasses.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
56 57 58 59 60 61 62 |
# File 'lib/latest/modules/managedapplications_profile_module.rb', line 56 def method_missing(method, *args) if @client_0.respond_to?method @client_0.send(method, *args) else super end end |
Instance Attribute Details
#application_definitions ⇒ Object (readonly)
Returns the value of attribute application_definitions.
35 36 37 |
# File 'lib/latest/modules/managedapplications_profile_module.rb', line 35 def application_definitions @application_definitions end |
#applications ⇒ Object (readonly)
Returns the value of attribute applications.
35 36 37 |
# File 'lib/latest/modules/managedapplications_profile_module.rb', line 35 def applications @applications end |
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url.
35 36 37 |
# File 'lib/latest/modules/managedapplications_profile_module.rb', line 35 def base_url @base_url end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
35 36 37 |
# File 'lib/latest/modules/managedapplications_profile_module.rb', line 35 def configurable @configurable end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
35 36 37 |
# File 'lib/latest/modules/managedapplications_profile_module.rb', line 35 def model_classes @model_classes end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
35 36 37 |
# File 'lib/latest/modules/managedapplications_profile_module.rb', line 35 def @options end |