Class: SDM::AmazonEKS
- Inherits:
-
Object
- Object
- SDM::AmazonEKS
- Defined in:
- lib/models/porcelain.rb
Instance Attribute Summary collapse
-
#access_key ⇒ Object
Returns the value of attribute access_key.
-
#certificate_authority ⇒ Object
Returns the value of attribute certificate_authority.
-
#cluster_name ⇒ Object
Returns the value of attribute cluster_name.
-
#endpoint ⇒ Object
Returns the value of attribute endpoint.
-
#healthcheck_namespace ⇒ Object
Returns the value of attribute healthcheck_namespace.
-
#healthy ⇒ Object
True if the datasource is reachable and the credentials are valid.
-
#id ⇒ Object
Unique identifier of the Resource.
-
#name ⇒ Object
Unique human-readable name of the Resource.
-
#region ⇒ Object
Returns the value of attribute region.
-
#role_arn ⇒ Object
Returns the value of attribute role_arn.
-
#role_external_id ⇒ Object
Returns the value of attribute role_external_id.
-
#secret_access_key ⇒ Object
Returns the value of attribute secret_access_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.
Instance Method Summary collapse
-
#initialize(id: nil, name: nil, healthy: nil, tags: nil, secret_store_id: nil, endpoint: nil, access_key: nil, secret_access_key: nil, certificate_authority: nil, region: nil, cluster_name: nil, role_arn: nil, role_external_id: nil, healthcheck_namespace: nil) ⇒ AmazonEKS
constructor
A new instance of AmazonEKS.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(id: nil, name: nil, healthy: nil, tags: nil, secret_store_id: nil, endpoint: nil, access_key: nil, secret_access_key: nil, certificate_authority: nil, region: nil, cluster_name: nil, role_arn: nil, role_external_id: nil, healthcheck_namespace: nil) ⇒ AmazonEKS
Returns a new instance of AmazonEKS.
1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 |
# File 'lib/models/porcelain.rb', line 1994 def initialize( id: nil, name: nil, healthy: nil, tags: nil, secret_store_id: nil, endpoint: nil, access_key: nil, secret_access_key: nil, certificate_authority: nil, region: nil, cluster_name: nil, role_arn: nil, role_external_id: nil, healthcheck_namespace: nil ) if id != nil @id = id end if name != nil @name = name end if healthy != nil @healthy = healthy end if != nil @tags = end if secret_store_id != nil @secret_store_id = secret_store_id end if endpoint != nil @endpoint = endpoint end if access_key != nil @access_key = access_key end if secret_access_key != nil @secret_access_key = secret_access_key end if != nil @certificate_authority = end if region != nil @region = region end if cluster_name != nil @cluster_name = cluster_name end if role_arn != nil @role_arn = role_arn end if role_external_id != nil @role_external_id = role_external_id end if healthcheck_namespace != nil @healthcheck_namespace = healthcheck_namespace end end |
Instance Attribute Details
#access_key ⇒ Object
Returns the value of attribute access_key.
1978 1979 1980 |
# File 'lib/models/porcelain.rb', line 1978 def access_key @access_key end |
#certificate_authority ⇒ Object
Returns the value of attribute certificate_authority.
1982 1983 1984 |
# File 'lib/models/porcelain.rb', line 1982 def @certificate_authority end |
#cluster_name ⇒ Object
Returns the value of attribute cluster_name.
1986 1987 1988 |
# File 'lib/models/porcelain.rb', line 1986 def cluster_name @cluster_name end |
#endpoint ⇒ Object
Returns the value of attribute endpoint.
1976 1977 1978 |
# File 'lib/models/porcelain.rb', line 1976 def endpoint @endpoint end |
#healthcheck_namespace ⇒ Object
Returns the value of attribute healthcheck_namespace.
1992 1993 1994 |
# File 'lib/models/porcelain.rb', line 1992 def healthcheck_namespace @healthcheck_namespace end |
#healthy ⇒ Object
True if the datasource is reachable and the credentials are valid.
1970 1971 1972 |
# File 'lib/models/porcelain.rb', line 1970 def healthy @healthy end |
#id ⇒ Object
Unique identifier of the Resource.
1966 1967 1968 |
# File 'lib/models/porcelain.rb', line 1966 def id @id end |
#name ⇒ Object
Unique human-readable name of the Resource.
1968 1969 1970 |
# File 'lib/models/porcelain.rb', line 1968 def name @name end |
#region ⇒ Object
Returns the value of attribute region.
1984 1985 1986 |
# File 'lib/models/porcelain.rb', line 1984 def region @region end |
#role_arn ⇒ Object
Returns the value of attribute role_arn.
1988 1989 1990 |
# File 'lib/models/porcelain.rb', line 1988 def role_arn @role_arn end |
#role_external_id ⇒ Object
Returns the value of attribute role_external_id.
1990 1991 1992 |
# File 'lib/models/porcelain.rb', line 1990 def role_external_id @role_external_id end |
#secret_access_key ⇒ Object
Returns the value of attribute secret_access_key.
1980 1981 1982 |
# File 'lib/models/porcelain.rb', line 1980 def secret_access_key @secret_access_key end |
#secret_store_id ⇒ Object
ID of the secret store containing credentials for this resource, if any.
1974 1975 1976 |
# File 'lib/models/porcelain.rb', line 1974 def secret_store_id @secret_store_id end |
#tags ⇒ Object
Tags is a map of key, value pairs.
1972 1973 1974 |
# File 'lib/models/porcelain.rb', line 1972 def @tags end |
Instance Method Details
#to_json(options = {}) ⇒ Object
2054 2055 2056 2057 2058 2059 2060 |
# File 'lib/models/porcelain.rb', line 2054 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 |