Class: Azure::Profiles::V2020_09_01_Hybrid::KeyVault::Mgmt::KeyVaultManagementClass
- Inherits:
-
Object
- Object
- Azure::Profiles::V2020_09_01_Hybrid::KeyVault::Mgmt::KeyVaultManagementClass
- Defined in:
- lib/v2020_09_01_hybrid/modules/keyvault_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.
-
#keys ⇒ Object
readonly
Returns the value of attribute keys.
-
#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.
-
#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.
-
#vaults ⇒ Object
readonly
Returns the value of attribute vaults.
Instance Method Summary collapse
- #add_telemetry(client) ⇒ Object
-
#initialize(configurable, base_url = nil, options = nil) ⇒ KeyVaultManagementClass
constructor
A new instance of KeyVaultManagementClass.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(configurable, base_url = nil, options = nil) ⇒ KeyVaultManagementClass
Returns a new instance of KeyVaultManagementClass.
460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 |
# File 'lib/v2020_09_01_hybrid/modules/keyvault_profile_module.rb', line 460 def initialize(configurable, base_url=nil, =nil) @configurable, @base_url, @options = configurable, base_url, @client_0 = Azure::KeyVault::Mgmt::V2019_09_01::KeyVaultManagementClient.new(configurable.credentials, base_url, ) if(@client_0.respond_to?(:subscription_id)) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) @vaults = @client_0.vaults @private_endpoint_connections = @client_0.private_endpoint_connections @private_link_resources = @client_0.private_link_resources @operations = @client_0.operations @keys = @client_0.keys @model_classes = ModelClasses.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
482 483 484 485 486 487 488 |
# File 'lib/v2020_09_01_hybrid/modules/keyvault_profile_module.rb', line 482 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.
458 459 460 |
# File 'lib/v2020_09_01_hybrid/modules/keyvault_profile_module.rb', line 458 def base_url @base_url end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
458 459 460 |
# File 'lib/v2020_09_01_hybrid/modules/keyvault_profile_module.rb', line 458 def configurable @configurable end |
#keys ⇒ Object (readonly)
Returns the value of attribute keys.
458 459 460 |
# File 'lib/v2020_09_01_hybrid/modules/keyvault_profile_module.rb', line 458 def keys @keys end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
458 459 460 |
# File 'lib/v2020_09_01_hybrid/modules/keyvault_profile_module.rb', line 458 def model_classes @model_classes end |
#operations ⇒ Object (readonly)
Returns the value of attribute operations.
458 459 460 |
# File 'lib/v2020_09_01_hybrid/modules/keyvault_profile_module.rb', line 458 def operations @operations end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
458 459 460 |
# File 'lib/v2020_09_01_hybrid/modules/keyvault_profile_module.rb', line 458 def @options end |
#private_endpoint_connections ⇒ Object (readonly)
Returns the value of attribute private_endpoint_connections.
458 459 460 |
# File 'lib/v2020_09_01_hybrid/modules/keyvault_profile_module.rb', line 458 def private_endpoint_connections @private_endpoint_connections end |
#private_link_resources ⇒ Object (readonly)
Returns the value of attribute private_link_resources.
458 459 460 |
# File 'lib/v2020_09_01_hybrid/modules/keyvault_profile_module.rb', line 458 def private_link_resources @private_link_resources end |
#vaults ⇒ Object (readonly)
Returns the value of attribute vaults.
458 459 460 |
# File 'lib/v2020_09_01_hybrid/modules/keyvault_profile_module.rb', line 458 def vaults @vaults end |
Instance Method Details
#add_telemetry(client) ⇒ Object
477 478 479 480 |
# File 'lib/v2020_09_01_hybrid/modules/keyvault_profile_module.rb', line 477 def add_telemetry(client) profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/V2020_09_01_Hybrid/KeyVault/Mgmt" client.add_user_agent_information(profile_information) end |