Class: Azure::Storage::Profiles::Latest::Mgmt::StorageManagementClass
- Inherits:
-
Object
- Object
- Azure::Storage::Profiles::Latest::Mgmt::StorageManagementClass
- Defined in:
- lib/profiles/latest/modules/storage_profile_module.rb
Overview
StorageManagementClass
Direct Known Subclasses
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_inventory_policies ⇒ Object
readonly
Returns the value of attribute blob_inventory_policies.
-
#blob_services ⇒ Object
readonly
Returns the value of attribute blob_services.
-
#configurable ⇒ Object
readonly
Returns the value of attribute configurable.
-
#deleted_accounts ⇒ Object
readonly
Returns the value of attribute deleted_accounts.
-
#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(options = {}) ⇒ StorageManagementClass
constructor
A new instance of StorageManagementClass.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ StorageManagementClass
Returns a new instance of StorageManagementClass.
215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 |
# File 'lib/profiles/latest/modules/storage_profile_module.rb', line 215 def initialize( = {}) if .is_a?(Hash) && .length == 0 @options = else @options = end reset!() @configurable = self @base_url = [:base_url].nil? ? nil:[:base_url] @options = [:options].nil? ? nil:[:options] @client_0 = Azure::Storage::Mgmt::V2021_01_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 @deleted_accounts = @client_0.deleted_accounts @usages = @client_0.usages @management_policies = @client_0.management_policies @blob_inventory_policies = @client_0.blob_inventory_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
261 262 263 264 265 266 267 |
# File 'lib/profiles/latest/modules/storage_profile_module.rb', line 261 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.
213 214 215 |
# File 'lib/profiles/latest/modules/storage_profile_module.rb', line 213 def base_url @base_url end |
#blob_containers ⇒ Object (readonly)
Returns the value of attribute blob_containers.
213 214 215 |
# File 'lib/profiles/latest/modules/storage_profile_module.rb', line 213 def blob_containers @blob_containers end |
#blob_inventory_policies ⇒ Object (readonly)
Returns the value of attribute blob_inventory_policies.
213 214 215 |
# File 'lib/profiles/latest/modules/storage_profile_module.rb', line 213 def blob_inventory_policies @blob_inventory_policies end |
#blob_services ⇒ Object (readonly)
Returns the value of attribute blob_services.
213 214 215 |
# File 'lib/profiles/latest/modules/storage_profile_module.rb', line 213 def blob_services @blob_services end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
213 214 215 |
# File 'lib/profiles/latest/modules/storage_profile_module.rb', line 213 def configurable @configurable end |
#deleted_accounts ⇒ Object (readonly)
Returns the value of attribute deleted_accounts.
213 214 215 |
# File 'lib/profiles/latest/modules/storage_profile_module.rb', line 213 def deleted_accounts @deleted_accounts end |
#encryption_scopes ⇒ Object (readonly)
Returns the value of attribute encryption_scopes.
213 214 215 |
# File 'lib/profiles/latest/modules/storage_profile_module.rb', line 213 def encryption_scopes @encryption_scopes end |
#file_services ⇒ Object (readonly)
Returns the value of attribute file_services.
213 214 215 |
# File 'lib/profiles/latest/modules/storage_profile_module.rb', line 213 def file_services @file_services end |
#file_shares ⇒ Object (readonly)
Returns the value of attribute file_shares.
213 214 215 |
# File 'lib/profiles/latest/modules/storage_profile_module.rb', line 213 def file_shares @file_shares end |
#management_policies ⇒ Object (readonly)
Returns the value of attribute management_policies.
213 214 215 |
# File 'lib/profiles/latest/modules/storage_profile_module.rb', line 213 def management_policies @management_policies end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
213 214 215 |
# File 'lib/profiles/latest/modules/storage_profile_module.rb', line 213 def model_classes @model_classes end |
#object_replication_policies_operations ⇒ Object (readonly)
Returns the value of attribute object_replication_policies_operations.
213 214 215 |
# File 'lib/profiles/latest/modules/storage_profile_module.rb', line 213 def object_replication_policies_operations @object_replication_policies_operations end |
#operations ⇒ Object (readonly)
Returns the value of attribute operations.
213 214 215 |
# File 'lib/profiles/latest/modules/storage_profile_module.rb', line 213 def operations @operations end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
213 214 215 |
# File 'lib/profiles/latest/modules/storage_profile_module.rb', line 213 def @options end |
#private_endpoint_connections ⇒ Object (readonly)
Returns the value of attribute private_endpoint_connections.
213 214 215 |
# File 'lib/profiles/latest/modules/storage_profile_module.rb', line 213 def private_endpoint_connections @private_endpoint_connections end |
#private_link_resources ⇒ Object (readonly)
Returns the value of attribute private_link_resources.
213 214 215 |
# File 'lib/profiles/latest/modules/storage_profile_module.rb', line 213 def private_link_resources @private_link_resources end |
#queue ⇒ Object (readonly)
Returns the value of attribute queue.
213 214 215 |
# File 'lib/profiles/latest/modules/storage_profile_module.rb', line 213 def queue @queue end |
#queue_services ⇒ Object (readonly)
Returns the value of attribute queue_services.
213 214 215 |
# File 'lib/profiles/latest/modules/storage_profile_module.rb', line 213 def queue_services @queue_services end |
#skus ⇒ Object (readonly)
Returns the value of attribute skus.
213 214 215 |
# File 'lib/profiles/latest/modules/storage_profile_module.rb', line 213 def skus @skus end |
#storage_accounts ⇒ Object (readonly)
Returns the value of attribute storage_accounts.
213 214 215 |
# File 'lib/profiles/latest/modules/storage_profile_module.rb', line 213 def storage_accounts @storage_accounts end |
#table_operations ⇒ Object (readonly)
Returns the value of attribute table_operations.
213 214 215 |
# File 'lib/profiles/latest/modules/storage_profile_module.rb', line 213 def table_operations @table_operations end |
#table_services ⇒ Object (readonly)
Returns the value of attribute table_services.
213 214 215 |
# File 'lib/profiles/latest/modules/storage_profile_module.rb', line 213 def table_services @table_services end |
#usages ⇒ Object (readonly)
Returns the value of attribute usages.
213 214 215 |
# File 'lib/profiles/latest/modules/storage_profile_module.rb', line 213 def usages @usages end |
Instance Method Details
#add_telemetry(client) ⇒ Object
256 257 258 259 |
# File 'lib/profiles/latest/modules/storage_profile_module.rb', line 256 def add_telemetry(client) profile_information = 'Profiles/Latest/Storage/Mgmt' client.add_user_agent_information(profile_information) end |