Class: Azure::Profiles::Latest::BatchAI::Mgmt::BatchAIManagementClass
- Inherits:
-
Object
- Object
- Azure::Profiles::Latest::BatchAI::Mgmt::BatchAIManagementClass
- Defined in:
- lib/latest/modules/batchai_profile_module.rb
Defined Under Namespace
Classes: ModelClasses
Instance Attribute Summary collapse
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#clusters ⇒ Object
readonly
Returns the value of attribute clusters.
-
#configurable ⇒ Object
readonly
Returns the value of attribute configurable.
-
#experiments ⇒ Object
readonly
Returns the value of attribute experiments.
-
#file_servers ⇒ Object
readonly
Returns the value of attribute file_servers.
-
#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.
-
#usages ⇒ Object
readonly
Returns the value of attribute usages.
-
#workspaces ⇒ Object
readonly
Returns the value of attribute workspaces.
Instance Method Summary collapse
- #add_telemetry(client) ⇒ Object
-
#initialize(configurable, base_url = nil, options = nil) ⇒ BatchAIManagementClass
constructor
A new instance of BatchAIManagementClass.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(configurable, base_url = nil, options = nil) ⇒ BatchAIManagementClass
Returns a new instance of BatchAIManagementClass.
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 |
# File 'lib/latest/modules/batchai_profile_module.rb', line 115 def initialize(configurable, base_url=nil, =nil) @configurable, @base_url, @options = configurable, base_url, @client_0 = Azure::BatchAI::Mgmt::V2018_05_01::BatchAIManagementClient.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 @usages = @client_0.usages @workspaces = @client_0.workspaces @experiments = @client_0.experiments @jobs = @client_0.jobs @file_servers = @client_0.file_servers @clusters = @client_0.clusters @model_classes = ModelClasses.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
139 140 141 142 143 144 145 |
# File 'lib/latest/modules/batchai_profile_module.rb', line 139 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.
113 114 115 |
# File 'lib/latest/modules/batchai_profile_module.rb', line 113 def base_url @base_url end |
#clusters ⇒ Object (readonly)
Returns the value of attribute clusters.
113 114 115 |
# File 'lib/latest/modules/batchai_profile_module.rb', line 113 def clusters @clusters end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
113 114 115 |
# File 'lib/latest/modules/batchai_profile_module.rb', line 113 def configurable @configurable end |
#experiments ⇒ Object (readonly)
Returns the value of attribute experiments.
113 114 115 |
# File 'lib/latest/modules/batchai_profile_module.rb', line 113 def experiments @experiments end |
#file_servers ⇒ Object (readonly)
Returns the value of attribute file_servers.
113 114 115 |
# File 'lib/latest/modules/batchai_profile_module.rb', line 113 def file_servers @file_servers end |
#jobs ⇒ Object (readonly)
Returns the value of attribute jobs.
113 114 115 |
# File 'lib/latest/modules/batchai_profile_module.rb', line 113 def jobs @jobs end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
113 114 115 |
# File 'lib/latest/modules/batchai_profile_module.rb', line 113 def model_classes @model_classes end |
#operations ⇒ Object (readonly)
Returns the value of attribute operations.
113 114 115 |
# File 'lib/latest/modules/batchai_profile_module.rb', line 113 def operations @operations end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
113 114 115 |
# File 'lib/latest/modules/batchai_profile_module.rb', line 113 def @options end |
#usages ⇒ Object (readonly)
Returns the value of attribute usages.
113 114 115 |
# File 'lib/latest/modules/batchai_profile_module.rb', line 113 def usages @usages end |
#workspaces ⇒ Object (readonly)
Returns the value of attribute workspaces.
113 114 115 |
# File 'lib/latest/modules/batchai_profile_module.rb', line 113 def workspaces @workspaces end |