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