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.
2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 |
# File 'lib/models/porcelain.rb', line 2462 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.
2446 2447 2448 |
# File 'lib/models/porcelain.rb', line 2446 def access_key @access_key end |
#certificate_authority ⇒ Object
Returns the value of attribute certificate_authority.
2450 2451 2452 |
# File 'lib/models/porcelain.rb', line 2450 def @certificate_authority end |
#cluster_name ⇒ Object
Returns the value of attribute cluster_name.
2454 2455 2456 |
# File 'lib/models/porcelain.rb', line 2454 def cluster_name @cluster_name end |
#egress_filter ⇒ Object
A filter applied to the routing logic to pin datasource to nodes.
2442 2443 2444 |
# File 'lib/models/porcelain.rb', line 2442 def egress_filter @egress_filter end |
#endpoint ⇒ Object
Returns the value of attribute endpoint.
2444 2445 2446 |
# File 'lib/models/porcelain.rb', line 2444 def endpoint @endpoint end |
#healthcheck_namespace ⇒ Object
Returns the value of attribute healthcheck_namespace.
2460 2461 2462 |
# File 'lib/models/porcelain.rb', line 2460 def healthcheck_namespace @healthcheck_namespace end |
#healthy ⇒ Object
True if the datasource is reachable and the credentials are valid.
2436 2437 2438 |
# File 'lib/models/porcelain.rb', line 2436 def healthy @healthy end |
#id ⇒ Object
Unique identifier of the Resource.
2432 2433 2434 |
# File 'lib/models/porcelain.rb', line 2432 def id @id end |
#name ⇒ Object
Unique human-readable name of the Resource.
2434 2435 2436 |
# File 'lib/models/porcelain.rb', line 2434 def name @name end |
#region ⇒ Object
Returns the value of attribute region.
2452 2453 2454 |
# File 'lib/models/porcelain.rb', line 2452 def region @region end |
#role_arn ⇒ Object
Returns the value of attribute role_arn.
2456 2457 2458 |
# File 'lib/models/porcelain.rb', line 2456 def role_arn @role_arn end |
#role_external_id ⇒ Object
Returns the value of attribute role_external_id.
2458 2459 2460 |
# File 'lib/models/porcelain.rb', line 2458 def role_external_id @role_external_id end |
#secret_access_key ⇒ Object
Returns the value of attribute secret_access_key.
2448 2449 2450 |
# File 'lib/models/porcelain.rb', line 2448 def secret_access_key @secret_access_key end |
#secret_store_id ⇒ Object
ID of the secret store containing credentials for this resource, if any.
2440 2441 2442 |
# File 'lib/models/porcelain.rb', line 2440 def secret_store_id @secret_store_id end |
#tags ⇒ Object
Tags is a map of key, value pairs.
2438 2439 2440 |
# File 'lib/models/porcelain.rb', line 2438 def @tags end |
Instance Method Details
#to_json(options = {}) ⇒ Object
2526 2527 2528 2529 2530 2531 2532 |
# File 'lib/models/porcelain.rb', line 2526 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 |