Class: Azure::Profiles::Latest::DataBox::Mgmt::DataBoxManagementClass
- Inherits:
-
Object
- Object
- Azure::Profiles::Latest::DataBox::Mgmt::DataBoxManagementClass
- Defined in:
- lib/latest/modules/databox_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.
-
#jobs ⇒ Object
readonly
Returns the value of attribute jobs.
-
#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.
-
#service ⇒ Object
readonly
Returns the value of attribute service.
Instance Method Summary collapse
- #add_telemetry(client) ⇒ Object
-
#initialize(configurable, base_url = nil, options = nil) ⇒ DataBoxManagementClass
constructor
A new instance of DataBoxManagementClass.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(configurable, base_url = nil, options = nil) ⇒ DataBoxManagementClass
Returns a new instance of DataBoxManagementClass.
84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/latest/modules/databox_profile_module.rb', line 84 def initialize(configurable, base_url=nil, =nil) @configurable, @base_url, @options = configurable, base_url, @client_0 = Azure::DataBox::Mgmt::V2018_01_01::DataBoxManagementClient.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 @jobs = @client_0.jobs @service = @client_0.service @model_classes = ModelClasses.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
104 105 106 107 108 109 110 |
# File 'lib/latest/modules/databox_profile_module.rb', line 104 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.
82 83 84 |
# File 'lib/latest/modules/databox_profile_module.rb', line 82 def base_url @base_url end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
82 83 84 |
# File 'lib/latest/modules/databox_profile_module.rb', line 82 def configurable @configurable end |
#jobs ⇒ Object (readonly)
Returns the value of attribute jobs.
82 83 84 |
# File 'lib/latest/modules/databox_profile_module.rb', line 82 def jobs @jobs end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
82 83 84 |
# File 'lib/latest/modules/databox_profile_module.rb', line 82 def model_classes @model_classes end |
#operations ⇒ Object (readonly)
Returns the value of attribute operations.
82 83 84 |
# File 'lib/latest/modules/databox_profile_module.rb', line 82 def operations @operations end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
82 83 84 |
# File 'lib/latest/modules/databox_profile_module.rb', line 82 def @options end |
#service ⇒ Object (readonly)
Returns the value of attribute service.
82 83 84 |
# File 'lib/latest/modules/databox_profile_module.rb', line 82 def service @service end |