Class: SDM::SSHCustomerKey
- Inherits:
-
Object
- Object
- SDM::SSHCustomerKey
- Defined in:
- lib/models/porcelain.rb
Instance Attribute Summary collapse
-
#allow_deprecated_key_exchanges ⇒ Object
Returns the value of attribute allow_deprecated_key_exchanges.
-
#egress_filter ⇒ Object
A filter applied to the routing logic to pin datasource to nodes.
-
#healthy ⇒ Object
True if the datasource is reachable and the credentials are valid.
-
#hostname ⇒ Object
Returns the value of attribute hostname.
-
#id ⇒ Object
Unique identifier of the Resource.
-
#name ⇒ Object
Unique human-readable name of the Resource.
-
#port ⇒ Object
Returns the value of attribute port.
-
#port_forwarding ⇒ Object
Returns the value of attribute port_forwarding.
-
#private_key ⇒ Object
Returns the value of attribute private_key.
-
#secret_store_id ⇒ Object
ID of the secret store containing credentials for this resource, if any.
-
#tags ⇒ Object
Tags is a map of key, value pairs.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(allow_deprecated_key_exchanges: nil, egress_filter: nil, healthy: nil, hostname: nil, id: nil, name: nil, port: nil, port_forwarding: nil, private_key: nil, secret_store_id: nil, tags: nil, username: nil) ⇒ SSHCustomerKey
constructor
A new instance of SSHCustomerKey.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(allow_deprecated_key_exchanges: nil, egress_filter: nil, healthy: nil, hostname: nil, id: nil, name: nil, port: nil, port_forwarding: nil, private_key: nil, secret_store_id: nil, tags: nil, username: nil) ⇒ SSHCustomerKey
Returns a new instance of SSHCustomerKey.
6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 |
# File 'lib/models/porcelain.rb', line 6851 def initialize( allow_deprecated_key_exchanges: nil, egress_filter: nil, healthy: nil, hostname: nil, id: nil, name: nil, port: nil, port_forwarding: nil, private_key: nil, secret_store_id: nil, tags: nil, username: nil ) if allow_deprecated_key_exchanges != nil @allow_deprecated_key_exchanges = allow_deprecated_key_exchanges end if egress_filter != nil @egress_filter = egress_filter end if healthy != nil @healthy = healthy end if hostname != nil @hostname = hostname end if id != nil @id = id end if name != nil @name = name end if port != nil @port = port end if port_forwarding != nil @port_forwarding = port_forwarding end if private_key != nil @private_key = private_key end if secret_store_id != nil @secret_store_id = secret_store_id end if != nil @tags = end if username != nil @username = username end end |
Instance Attribute Details
#allow_deprecated_key_exchanges ⇒ Object
Returns the value of attribute allow_deprecated_key_exchanges.
6827 6828 6829 |
# File 'lib/models/porcelain.rb', line 6827 def allow_deprecated_key_exchanges @allow_deprecated_key_exchanges end |
#egress_filter ⇒ Object
A filter applied to the routing logic to pin datasource to nodes.
6829 6830 6831 |
# File 'lib/models/porcelain.rb', line 6829 def egress_filter @egress_filter end |
#healthy ⇒ Object
True if the datasource is reachable and the credentials are valid.
6831 6832 6833 |
# File 'lib/models/porcelain.rb', line 6831 def healthy @healthy end |
#hostname ⇒ Object
Returns the value of attribute hostname.
6833 6834 6835 |
# File 'lib/models/porcelain.rb', line 6833 def hostname @hostname end |
#id ⇒ Object
Unique identifier of the Resource.
6835 6836 6837 |
# File 'lib/models/porcelain.rb', line 6835 def id @id end |
#name ⇒ Object
Unique human-readable name of the Resource.
6837 6838 6839 |
# File 'lib/models/porcelain.rb', line 6837 def name @name end |
#port ⇒ Object
Returns the value of attribute port.
6839 6840 6841 |
# File 'lib/models/porcelain.rb', line 6839 def port @port end |
#port_forwarding ⇒ Object
Returns the value of attribute port_forwarding.
6841 6842 6843 |
# File 'lib/models/porcelain.rb', line 6841 def port_forwarding @port_forwarding end |
#private_key ⇒ Object
Returns the value of attribute private_key.
6843 6844 6845 |
# File 'lib/models/porcelain.rb', line 6843 def private_key @private_key end |
#secret_store_id ⇒ Object
ID of the secret store containing credentials for this resource, if any.
6845 6846 6847 |
# File 'lib/models/porcelain.rb', line 6845 def secret_store_id @secret_store_id end |
#tags ⇒ Object
Tags is a map of key, value pairs.
6847 6848 6849 |
# File 'lib/models/porcelain.rb', line 6847 def @tags end |
#username ⇒ Object
Returns the value of attribute username.
6849 6850 6851 |
# File 'lib/models/porcelain.rb', line 6849 def username @username end |
Instance Method Details
#to_json(options = {}) ⇒ Object
6903 6904 6905 6906 6907 6908 6909 |
# File 'lib/models/porcelain.rb', line 6903 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 |