Class: Azure::Profiles::V2019_03_01_Hybrid::Storage::Mgmt::StorageManagementClass
- Inherits:
-
Object
- Object
- Azure::Profiles::V2019_03_01_Hybrid::Storage::Mgmt::StorageManagementClass
- Defined in:
- lib/v2019_03_01_hybrid/modules/storage_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.
-
#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.
-
#skus ⇒ Object
readonly
Returns the value of attribute skus.
-
#storage_accounts ⇒ Object
readonly
Returns the value of attribute storage_accounts.
-
#usage_operations ⇒ Object
readonly
Returns the value of attribute usage_operations.
Instance Method Summary collapse
- #add_telemetry(client) ⇒ Object
-
#initialize(configurable, base_url = nil, options = nil) ⇒ StorageManagementClass
constructor
A new instance of StorageManagementClass.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(configurable, base_url = nil, options = nil) ⇒ StorageManagementClass
Returns a new instance of StorageManagementClass.
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'lib/v2019_03_01_hybrid/modules/storage_profile_module.rb', line 78 def initialize(configurable, base_url=nil, =nil) @configurable, @base_url, @options = configurable, base_url, @client_0 = Azure::Storage::Mgmt::V2017_10_01::StorageManagementClient.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 @skus = @client_0.skus @storage_accounts = @client_0.storage_accounts @usage_operations = @client_0.usage_operations @model_classes = ModelClasses.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
99 100 101 102 103 104 105 |
# File 'lib/v2019_03_01_hybrid/modules/storage_profile_module.rb', line 99 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.
76 77 78 |
# File 'lib/v2019_03_01_hybrid/modules/storage_profile_module.rb', line 76 def base_url @base_url end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
76 77 78 |
# File 'lib/v2019_03_01_hybrid/modules/storage_profile_module.rb', line 76 def configurable @configurable end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
76 77 78 |
# File 'lib/v2019_03_01_hybrid/modules/storage_profile_module.rb', line 76 def model_classes @model_classes end |
#operations ⇒ Object (readonly)
Returns the value of attribute operations.
76 77 78 |
# File 'lib/v2019_03_01_hybrid/modules/storage_profile_module.rb', line 76 def operations @operations end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
76 77 78 |
# File 'lib/v2019_03_01_hybrid/modules/storage_profile_module.rb', line 76 def @options end |
#skus ⇒ Object (readonly)
Returns the value of attribute skus.
76 77 78 |
# File 'lib/v2019_03_01_hybrid/modules/storage_profile_module.rb', line 76 def skus @skus end |
#storage_accounts ⇒ Object (readonly)
Returns the value of attribute storage_accounts.
76 77 78 |
# File 'lib/v2019_03_01_hybrid/modules/storage_profile_module.rb', line 76 def storage_accounts @storage_accounts end |
#usage_operations ⇒ Object (readonly)
Returns the value of attribute usage_operations.
76 77 78 |
# File 'lib/v2019_03_01_hybrid/modules/storage_profile_module.rb', line 76 def usage_operations @usage_operations end |