Class: Azure::Profiles::Latest::DataMigration::Mgmt::DataMigrationManagementClass
- Inherits:
-
Object
- Object
- Azure::Profiles::Latest::DataMigration::Mgmt::DataMigrationManagementClass
- Defined in:
- lib/latest/modules/datamigration_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.
-
#files ⇒ Object
readonly
Returns the value of attribute files.
-
#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.
-
#projects ⇒ Object
readonly
Returns the value of attribute projects.
-
#resource_skus ⇒ Object
readonly
Returns the value of attribute resource_skus.
-
#service_tasks ⇒ Object
readonly
Returns the value of attribute service_tasks.
-
#services ⇒ Object
readonly
Returns the value of attribute services.
-
#tasks ⇒ Object
readonly
Returns the value of attribute tasks.
-
#usages ⇒ Object
readonly
Returns the value of attribute usages.
Instance Method Summary collapse
- #add_telemetry(client) ⇒ Object
-
#initialize(configurable, base_url = nil, options = nil) ⇒ DataMigrationManagementClass
constructor
A new instance of DataMigrationManagementClass.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(configurable, base_url = nil, options = nil) ⇒ DataMigrationManagementClass
Returns a new instance of DataMigrationManagementClass.
336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 |
# File 'lib/latest/modules/datamigration_profile_module.rb', line 336 def initialize(configurable, base_url=nil, =nil) @configurable, @base_url, @options = configurable, base_url, @client_0 = Azure::DataMigration::Mgmt::V2018_07_15_preview::DataMigrationServiceClient.new(configurable.credentials, base_url, ) if(@client_0.respond_to?(:subscription_id)) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) @resource_skus = @client_0.resource_skus @services = @client_0.services @tasks = @client_0.tasks @service_tasks = @client_0.service_tasks @projects = @client_0.projects @usages = @client_0.usages @operations = @client_0.operations @files = @client_0.files @model_classes = ModelClasses.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
361 362 363 364 365 366 367 |
# File 'lib/latest/modules/datamigration_profile_module.rb', line 361 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.
334 335 336 |
# File 'lib/latest/modules/datamigration_profile_module.rb', line 334 def base_url @base_url end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
334 335 336 |
# File 'lib/latest/modules/datamigration_profile_module.rb', line 334 def configurable @configurable end |
#files ⇒ Object (readonly)
Returns the value of attribute files.
334 335 336 |
# File 'lib/latest/modules/datamigration_profile_module.rb', line 334 def files @files end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
334 335 336 |
# File 'lib/latest/modules/datamigration_profile_module.rb', line 334 def model_classes @model_classes end |
#operations ⇒ Object (readonly)
Returns the value of attribute operations.
334 335 336 |
# File 'lib/latest/modules/datamigration_profile_module.rb', line 334 def operations @operations end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
334 335 336 |
# File 'lib/latest/modules/datamigration_profile_module.rb', line 334 def @options end |
#projects ⇒ Object (readonly)
Returns the value of attribute projects.
334 335 336 |
# File 'lib/latest/modules/datamigration_profile_module.rb', line 334 def projects @projects end |
#resource_skus ⇒ Object (readonly)
Returns the value of attribute resource_skus.
334 335 336 |
# File 'lib/latest/modules/datamigration_profile_module.rb', line 334 def resource_skus @resource_skus end |
#service_tasks ⇒ Object (readonly)
Returns the value of attribute service_tasks.
334 335 336 |
# File 'lib/latest/modules/datamigration_profile_module.rb', line 334 def service_tasks @service_tasks end |
#services ⇒ Object (readonly)
Returns the value of attribute services.
334 335 336 |
# File 'lib/latest/modules/datamigration_profile_module.rb', line 334 def services @services end |
#tasks ⇒ Object (readonly)
Returns the value of attribute tasks.
334 335 336 |
# File 'lib/latest/modules/datamigration_profile_module.rb', line 334 def tasks @tasks end |
#usages ⇒ Object (readonly)
Returns the value of attribute usages.
334 335 336 |
# File 'lib/latest/modules/datamigration_profile_module.rb', line 334 def usages @usages end |