Class: Azure::Profiles::Latest::KeyVault::KeyVaultDataClass
- Inherits:
-
Object
- Object
- Azure::Profiles::Latest::KeyVault::KeyVaultDataClass
- Defined in:
- lib/latest/modules/keyvault_profile_module.rb
Direct Known Subclasses
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.
-
#hsmsecurity_domain ⇒ Object
readonly
Returns the value of attribute hsmsecurity_domain.
-
#model_classes ⇒ Object
readonly
Returns the value of attribute model_classes.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#role_assignments ⇒ Object
readonly
Returns the value of attribute role_assignments.
-
#role_definitions ⇒ Object
readonly
Returns the value of attribute role_definitions.
Instance Method Summary collapse
- #add_telemetry(client) ⇒ Object
-
#initialize(configurable, base_url = nil, options = nil) ⇒ KeyVaultDataClass
constructor
A new instance of KeyVaultDataClass.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(configurable, base_url = nil, options = nil) ⇒ KeyVaultDataClass
Returns a new instance of KeyVaultDataClass.
147 148 149 150 151 152 153 154 155 156 157 158 159 160 |
# File 'lib/latest/modules/keyvault_profile_module.rb', line 147 def initialize(configurable, base_url=nil, =nil) @configurable, @base_url, @options = configurable, base_url, @client_0 = Azure::KeyVault::V7_2_preview::KeyVaultClient.new(configurable.credentials, ) if(@client_0.respond_to?(:subscription_id)) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) @role_definitions = @client_0.role_definitions @role_assignments = @client_0.role_assignments @hsmsecurity_domain = @client_0.hsmsecurity_domain @model_classes = ModelClasses.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
167 168 169 170 171 172 173 |
# File 'lib/latest/modules/keyvault_profile_module.rb', line 167 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.
145 146 147 |
# File 'lib/latest/modules/keyvault_profile_module.rb', line 145 def base_url @base_url end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
145 146 147 |
# File 'lib/latest/modules/keyvault_profile_module.rb', line 145 def configurable @configurable end |
#hsmsecurity_domain ⇒ Object (readonly)
Returns the value of attribute hsmsecurity_domain.
145 146 147 |
# File 'lib/latest/modules/keyvault_profile_module.rb', line 145 def hsmsecurity_domain @hsmsecurity_domain end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
145 146 147 |
# File 'lib/latest/modules/keyvault_profile_module.rb', line 145 def model_classes @model_classes end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
145 146 147 |
# File 'lib/latest/modules/keyvault_profile_module.rb', line 145 def @options end |
#role_assignments ⇒ Object (readonly)
Returns the value of attribute role_assignments.
145 146 147 |
# File 'lib/latest/modules/keyvault_profile_module.rb', line 145 def role_assignments @role_assignments end |
#role_definitions ⇒ Object (readonly)
Returns the value of attribute role_definitions.
145 146 147 |
# File 'lib/latest/modules/keyvault_profile_module.rb', line 145 def role_definitions @role_definitions end |