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.
-
#egress_filter ⇒ Object
A filter applied to the routing logic to pin datasource to nodes.
-
#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, egress_filter: 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, egress_filter: 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.
2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 |
# File 'lib/models/porcelain.rb', line 2288 def initialize( id: nil, name: nil, healthy: nil, tags: nil, secret_store_id: nil, egress_filter: 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 egress_filter != nil @egress_filter = egress_filter 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.
2272 2273 2274 |
# File 'lib/models/porcelain.rb', line 2272 def access_key @access_key end |
#certificate_authority ⇒ Object
Returns the value of attribute certificate_authority.
2276 2277 2278 |
# File 'lib/models/porcelain.rb', line 2276 def @certificate_authority end |
#cluster_name ⇒ Object
Returns the value of attribute cluster_name.
2280 2281 2282 |
# File 'lib/models/porcelain.rb', line 2280 def cluster_name @cluster_name end |
#egress_filter ⇒ Object
A filter applied to the routing logic to pin datasource to nodes.
2268 2269 2270 |
# File 'lib/models/porcelain.rb', line 2268 def egress_filter @egress_filter end |
#endpoint ⇒ Object
Returns the value of attribute endpoint.
2270 2271 2272 |
# File 'lib/models/porcelain.rb', line 2270 def endpoint @endpoint end |
#healthcheck_namespace ⇒ Object
Returns the value of attribute healthcheck_namespace.
2286 2287 2288 |
# File 'lib/models/porcelain.rb', line 2286 def healthcheck_namespace @healthcheck_namespace end |
#healthy ⇒ Object
True if the datasource is reachable and the credentials are valid.
2262 2263 2264 |
# File 'lib/models/porcelain.rb', line 2262 def healthy @healthy end |
#id ⇒ Object
Unique identifier of the Resource.
2258 2259 2260 |
# File 'lib/models/porcelain.rb', line 2258 def id @id end |
#name ⇒ Object
Unique human-readable name of the Resource.
2260 2261 2262 |
# File 'lib/models/porcelain.rb', line 2260 def name @name end |
#region ⇒ Object
Returns the value of attribute region.
2278 2279 2280 |
# File 'lib/models/porcelain.rb', line 2278 def region @region end |
#role_arn ⇒ Object
Returns the value of attribute role_arn.
2282 2283 2284 |
# File 'lib/models/porcelain.rb', line 2282 def role_arn @role_arn end |
#role_external_id ⇒ Object
Returns the value of attribute role_external_id.
2284 2285 2286 |
# File 'lib/models/porcelain.rb', line 2284 def role_external_id @role_external_id end |
#secret_access_key ⇒ Object
Returns the value of attribute secret_access_key.
2274 2275 2276 |
# File 'lib/models/porcelain.rb', line 2274 def secret_access_key @secret_access_key end |
#secret_store_id ⇒ Object
ID of the secret store containing credentials for this resource, if any.
2266 2267 2268 |
# File 'lib/models/porcelain.rb', line 2266 def secret_store_id @secret_store_id end |
#tags ⇒ Object
Tags is a map of key, value pairs.
2264 2265 2266 |
# File 'lib/models/porcelain.rb', line 2264 def @tags end |
Instance Method Details
#to_json(options = {}) ⇒ Object
2352 2353 2354 2355 2356 2357 2358 |
# File 'lib/models/porcelain.rb', line 2352 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 |