Class: SDM::VaultAWSEC2Store
- Inherits:
-
Object
- Object
- SDM::VaultAWSEC2Store
- Defined in:
- lib/models/porcelain.rb
Overview
VaultAWSEC2Store is currently unstable, and its API may change, or it may be removed, without a major version bump.
Instance Attribute Summary collapse
-
#id ⇒ Object
Unique identifier of the SecretStore.
-
#name ⇒ Object
Unique human-readable name of the SecretStore.
-
#namespace ⇒ Object
The namespace to make requests within.
-
#server_address ⇒ Object
The URL of the Vault to target.
-
#tags ⇒ Object
Tags is a map of key, value pairs.
Instance Method Summary collapse
-
#initialize(id: nil, name: nil, namespace: nil, server_address: nil, tags: nil) ⇒ VaultAWSEC2Store
constructor
A new instance of VaultAWSEC2Store.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(id: nil, name: nil, namespace: nil, server_address: nil, tags: nil) ⇒ VaultAWSEC2Store
11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 |
# File 'lib/models/porcelain.rb', line 11101 def initialize( id: nil, name: nil, namespace: nil, server_address: nil, tags: nil ) @id = id == nil ? "" : id @name = name == nil ? "" : name @namespace = namespace == nil ? "" : namespace @server_address = server_address == nil ? "" : server_address = == nil ? SDM::() : end |
Instance Attribute Details
#id ⇒ Object
Unique identifier of the SecretStore.
11091 11092 11093 |
# File 'lib/models/porcelain.rb', line 11091 def id @id end |
#name ⇒ Object
Unique human-readable name of the SecretStore.
11093 11094 11095 |
# File 'lib/models/porcelain.rb', line 11093 def name @name end |
#namespace ⇒ Object
The namespace to make requests within
11095 11096 11097 |
# File 'lib/models/porcelain.rb', line 11095 def namespace @namespace end |
#server_address ⇒ Object
The URL of the Vault to target
11097 11098 11099 |
# File 'lib/models/porcelain.rb', line 11097 def server_address @server_address end |
#tags ⇒ Object
Tags is a map of key, value pairs.
11099 11100 11101 |
# File 'lib/models/porcelain.rb', line 11099 def end |
Instance Method Details
#to_json(options = {}) ⇒ Object
11115 11116 11117 11118 11119 11120 11121 |
# File 'lib/models/porcelain.rb', line 11115 def to_json( = {}) hash = {} self.instance_variables.each do |var| hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var end hash.to_json end |