Class: Azure::Profiles::V2020_09_01_Hybrid::Storage::Mgmt::StorageManagementClass
- Inherits:
-
Object
- Object
- Azure::Profiles::V2020_09_01_Hybrid::Storage::Mgmt::StorageManagementClass
- Defined in:
- lib/v2020_09_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.
-
#blob_containers ⇒ Object
readonly
Returns the value of attribute blob_containers.
-
#blob_services ⇒ Object
readonly
Returns the value of attribute blob_services.
-
#configurable ⇒ Object
readonly
Returns the value of attribute configurable.
-
#encryption_scopes ⇒ Object
readonly
Returns the value of attribute encryption_scopes.
-
#file_services ⇒ Object
readonly
Returns the value of attribute file_services.
-
#file_shares ⇒ Object
readonly
Returns the value of attribute file_shares.
-
#management_policies ⇒ Object
readonly
Returns the value of attribute management_policies.
-
#model_classes ⇒ Object
readonly
Returns the value of attribute model_classes.
-
#object_replication_policies_operations ⇒ Object
readonly
Returns the value of attribute object_replication_policies_operations.
-
#operations ⇒ Object
readonly
Returns the value of attribute operations.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#private_endpoint_connections ⇒ Object
readonly
Returns the value of attribute private_endpoint_connections.
-
#private_link_resources ⇒ Object
readonly
Returns the value of attribute private_link_resources.
-
#queue ⇒ Object
readonly
Returns the value of attribute queue.
-
#queue_services ⇒ Object
readonly
Returns the value of attribute queue_services.
-
#skus ⇒ Object
readonly
Returns the value of attribute skus.
-
#storage_accounts ⇒ Object
readonly
Returns the value of attribute storage_accounts.
-
#table_operations ⇒ Object
readonly
Returns the value of attribute table_operations.
-
#table_services ⇒ Object
readonly
Returns the value of attribute table_services.
-
#usages ⇒ Object
readonly
Returns the value of attribute usages.
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
187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'lib/v2020_09_01_hybrid/modules/storage_profile_module.rb', line 187 def initialize(configurable, base_url=nil, =nil) @configurable, @base_url, = configurable, base_url, @client_0 = Azure::Storage::Mgmt::V2019_06_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 @usages = @client_0.usages @management_policies = @client_0.management_policies @private_endpoint_connections = @client_0.private_endpoint_connections @private_link_resources = @client_0.private_link_resources @object_replication_policies_operations = @client_0.object_replication_policies_operations @encryption_scopes = @client_0.encryption_scopes @blob_services = @client_0.blob_services @blob_containers = @client_0.blob_containers @file_services = @client_0.file_services @file_shares = @client_0.file_shares @queue_services = @client_0.queue_services @queue = @client_0.queue @table_services = @client_0.table_services @table_operations = @client_0.table_operations @model_classes = ModelClasses.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
221 222 223 224 225 226 227 |
# File 'lib/v2020_09_01_hybrid/modules/storage_profile_module.rb', line 221 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.
185 186 187 |
# File 'lib/v2020_09_01_hybrid/modules/storage_profile_module.rb', line 185 def base_url @base_url end |
#blob_containers ⇒ Object (readonly)
Returns the value of attribute blob_containers.
185 186 187 |
# File 'lib/v2020_09_01_hybrid/modules/storage_profile_module.rb', line 185 def blob_containers @blob_containers end |
#blob_services ⇒ Object (readonly)
Returns the value of attribute blob_services.
185 186 187 |
# File 'lib/v2020_09_01_hybrid/modules/storage_profile_module.rb', line 185 def blob_services @blob_services end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
185 186 187 |
# File 'lib/v2020_09_01_hybrid/modules/storage_profile_module.rb', line 185 def configurable @configurable end |
#encryption_scopes ⇒ Object (readonly)
Returns the value of attribute encryption_scopes.
185 186 187 |
# File 'lib/v2020_09_01_hybrid/modules/storage_profile_module.rb', line 185 def encryption_scopes @encryption_scopes end |
#file_services ⇒ Object (readonly)
Returns the value of attribute file_services.
185 186 187 |
# File 'lib/v2020_09_01_hybrid/modules/storage_profile_module.rb', line 185 def file_services @file_services end |
#file_shares ⇒ Object (readonly)
Returns the value of attribute file_shares.
185 186 187 |
# File 'lib/v2020_09_01_hybrid/modules/storage_profile_module.rb', line 185 def file_shares @file_shares end |
#management_policies ⇒ Object (readonly)
Returns the value of attribute management_policies.
185 186 187 |
# File 'lib/v2020_09_01_hybrid/modules/storage_profile_module.rb', line 185 def management_policies @management_policies end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
185 186 187 |
# File 'lib/v2020_09_01_hybrid/modules/storage_profile_module.rb', line 185 def model_classes @model_classes end |
#object_replication_policies_operations ⇒ Object (readonly)
Returns the value of attribute object_replication_policies_operations.
185 186 187 |
# File 'lib/v2020_09_01_hybrid/modules/storage_profile_module.rb', line 185 def object_replication_policies_operations @object_replication_policies_operations end |
#operations ⇒ Object (readonly)
Returns the value of attribute operations.
185 186 187 |
# File 'lib/v2020_09_01_hybrid/modules/storage_profile_module.rb', line 185 def operations @operations end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
185 186 187 |
# File 'lib/v2020_09_01_hybrid/modules/storage_profile_module.rb', line 185 def end |
#private_endpoint_connections ⇒ Object (readonly)
Returns the value of attribute private_endpoint_connections.
185 186 187 |
# File 'lib/v2020_09_01_hybrid/modules/storage_profile_module.rb', line 185 def private_endpoint_connections @private_endpoint_connections end |
#private_link_resources ⇒ Object (readonly)
Returns the value of attribute private_link_resources.
185 186 187 |
# File 'lib/v2020_09_01_hybrid/modules/storage_profile_module.rb', line 185 def private_link_resources @private_link_resources end |
#queue ⇒ Object (readonly)
Returns the value of attribute queue.
185 186 187 |
# File 'lib/v2020_09_01_hybrid/modules/storage_profile_module.rb', line 185 def queue @queue end |
#queue_services ⇒ Object (readonly)
Returns the value of attribute queue_services.
185 186 187 |
# File 'lib/v2020_09_01_hybrid/modules/storage_profile_module.rb', line 185 def queue_services @queue_services end |
#skus ⇒ Object (readonly)
Returns the value of attribute skus.
185 186 187 |
# File 'lib/v2020_09_01_hybrid/modules/storage_profile_module.rb', line 185 def skus @skus end |
#storage_accounts ⇒ Object (readonly)
Returns the value of attribute storage_accounts.
185 186 187 |
# File 'lib/v2020_09_01_hybrid/modules/storage_profile_module.rb', line 185 def storage_accounts @storage_accounts end |
#table_operations ⇒ Object (readonly)
Returns the value of attribute table_operations.
185 186 187 |
# File 'lib/v2020_09_01_hybrid/modules/storage_profile_module.rb', line 185 def table_operations @table_operations end |
#table_services ⇒ Object (readonly)
Returns the value of attribute table_services.
185 186 187 |
# File 'lib/v2020_09_01_hybrid/modules/storage_profile_module.rb', line 185 def table_services @table_services end |
#usages ⇒ Object (readonly)
Returns the value of attribute usages.
185 186 187 |
# File 'lib/v2020_09_01_hybrid/modules/storage_profile_module.rb', line 185 def usages @usages end |
Instance Method Details
#add_telemetry(client) ⇒ Object
216 217 218 219 |
# File 'lib/v2020_09_01_hybrid/modules/storage_profile_module.rb', line 216 def add_telemetry(client) profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/V2020_09_01_Hybrid/Storage/Mgmt" client.add_user_agent_information(profile_information) end |