Class: SDM::AzureStore
- Inherits:
-
Object
- Object
- SDM::AzureStore
- Defined in:
- lib/models/porcelain.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Unique identifier of the SecretStore.
-
#name ⇒ Object
Unique human-readable name of the SecretStore.
-
#tags ⇒ Object
Tags is a map of key, value pairs.
-
#vault_uri ⇒ Object
Returns the value of attribute vault_uri.
Instance Method Summary collapse
-
#initialize(id: nil, name: nil, tags: nil, vault_uri: nil) ⇒ AzureStore
constructor
A new instance of AzureStore.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(id: nil, name: nil, tags: nil, vault_uri: nil) ⇒ AzureStore
Returns a new instance of AzureStore.
1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 |
# File 'lib/models/porcelain.rb', line 1848 def initialize( id: nil, name: nil, tags: nil, vault_uri: nil ) if id != nil @id = id end if name != nil @name = name end if != nil @tags = end if vault_uri != nil @vault_uri = vault_uri end end |
Instance Attribute Details
#id ⇒ Object
Unique identifier of the SecretStore.
1840 1841 1842 |
# File 'lib/models/porcelain.rb', line 1840 def id @id end |
#name ⇒ Object
Unique human-readable name of the SecretStore.
1842 1843 1844 |
# File 'lib/models/porcelain.rb', line 1842 def name @name end |
#tags ⇒ Object
Tags is a map of key, value pairs.
1844 1845 1846 |
# File 'lib/models/porcelain.rb', line 1844 def @tags end |
#vault_uri ⇒ Object
Returns the value of attribute vault_uri.
1846 1847 1848 |
# File 'lib/models/porcelain.rb', line 1846 def vault_uri @vault_uri end |
Instance Method Details
#to_json(options = {}) ⇒ Object
1868 1869 1870 1871 1872 1873 1874 |
# File 'lib/models/porcelain.rb', line 1868 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 |