Class: TerraformWrapper::Shared::Backends::Azure
- Includes:
- Logging
- Defined in:
- lib/terraform-wrapper/shared/backends/azure.rb
Constant Summary collapse
- @@type =
'azure'
Instance Attribute Summary collapse
-
#account ⇒ Object
readonly
Returns the value of attribute account.
-
#container ⇒ Object
readonly
Returns the value of attribute container.
-
#group ⇒ Object
readonly
Returns the value of attribute group.
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
- #hash ⇒ Object
-
#initialize(options:, variables:) ⇒ Azure
constructor
A new instance of Azure.
Methods included from Logging
configure_logger_for, logger_for
Methods inherited from Common
Constructor Details
#initialize(options:, variables:) ⇒ Azure
Returns a new instance of Azure.
27 28 29 |
# File 'lib/terraform-wrapper/shared/backends/azure.rb', line 27 def initialize(options:, variables:) construct(options: , variables: variables) end |
Instance Attribute Details
#account ⇒ Object (readonly)
Returns the value of attribute account.
23 24 25 |
# File 'lib/terraform-wrapper/shared/backends/azure.rb', line 23 def account @account end |
#container ⇒ Object (readonly)
Returns the value of attribute container.
23 24 25 |
# File 'lib/terraform-wrapper/shared/backends/azure.rb', line 23 def container @container end |
#group ⇒ Object (readonly)
Returns the value of attribute group.
23 24 25 |
# File 'lib/terraform-wrapper/shared/backends/azure.rb', line 23 def group @group end |
#key ⇒ Object (readonly)
Returns the value of attribute key.
23 24 25 |
# File 'lib/terraform-wrapper/shared/backends/azure.rb', line 23 def key @key end |
Instance Method Details
#hash ⇒ Object
33 34 35 36 37 38 39 40 |
# File 'lib/terraform-wrapper/shared/backends/azure.rb', line 33 def hash { 'container_name' => @container, 'key' => @key, 'resource_group_name' => @group, 'storage_account_name' => @account } end |