Class: Azure::Profiles::V2017_03_09::Storage::Mgmt::StorageClass
- Inherits:
-
Object
- Object
- Azure::Profiles::V2017_03_09::Storage::Mgmt::StorageClass
- Defined in:
- lib/v2017_03_09/modules/storage_profile_module.rb
Overview
Storage
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.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#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
-
#initialize(configurable, base_url = nil, options = nil) ⇒ StorageClass
constructor
A new instance of StorageClass.
Constructor Details
#initialize(configurable, base_url = nil, options = nil) ⇒ StorageClass
Returns a new instance of StorageClass.
40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/v2017_03_09/modules/storage_profile_module.rb', line 40 def initialize(configurable, base_url=nil, =nil) @configurable, @base_url, = configurable, base_url, client_0 = Azure::Storage::Mgmt::V2015_06_15::StorageManagementClient.new(configurable.credentials, base_url, ) if(client_0.respond_to?(:subscription_id)) client_0.subscription_id = configurable.subscription_id end @storage_accounts = client_0.storage_accounts @usage_operations = client_0.usage_operations @model_classes = ModelClasses.new end |
Instance Attribute Details
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url.
38 39 40 |
# File 'lib/v2017_03_09/modules/storage_profile_module.rb', line 38 def base_url @base_url end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
38 39 40 |
# File 'lib/v2017_03_09/modules/storage_profile_module.rb', line 38 def configurable @configurable end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
38 39 40 |
# File 'lib/v2017_03_09/modules/storage_profile_module.rb', line 38 def model_classes @model_classes end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
38 39 40 |
# File 'lib/v2017_03_09/modules/storage_profile_module.rb', line 38 def end |
#storage_accounts ⇒ Object (readonly)
Returns the value of attribute storage_accounts.
38 39 40 |
# File 'lib/v2017_03_09/modules/storage_profile_module.rb', line 38 def storage_accounts @storage_accounts end |
#usage_operations ⇒ Object (readonly)
Returns the value of attribute usage_operations.
38 39 40 |
# File 'lib/v2017_03_09/modules/storage_profile_module.rb', line 38 def usage_operations @usage_operations end |