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.
-
#bind_interface ⇒ Object
Bind interface.
-
#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
The path used to check the health of your connection.
-
#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.
-
#remote_identity_group_id ⇒ Object
Returns the value of attribute remote_identity_group_id.
-
#remote_identity_healthcheck_username ⇒ Object
Returns the value of attribute remote_identity_healthcheck_username.
-
#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(access_key: nil, bind_interface: nil, certificate_authority: nil, cluster_name: nil, egress_filter: nil, endpoint: nil, healthcheck_namespace: nil, healthy: nil, id: nil, name: nil, region: nil, remote_identity_group_id: nil, remote_identity_healthcheck_username: nil, role_arn: nil, role_external_id: nil, secret_access_key: nil, secret_store_id: nil, tags: nil) ⇒ AmazonEKS
constructor
A new instance of AmazonEKS.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(access_key: nil, bind_interface: nil, certificate_authority: nil, cluster_name: nil, egress_filter: nil, endpoint: nil, healthcheck_namespace: nil, healthy: nil, id: nil, name: nil, region: nil, remote_identity_group_id: nil, remote_identity_healthcheck_username: nil, role_arn: nil, role_external_id: nil, secret_access_key: nil, secret_store_id: nil, tags: nil) ⇒ AmazonEKS
Returns a new instance of AmazonEKS.
1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 |
# File 'lib/models/porcelain.rb', line 1001 def initialize( access_key: nil, bind_interface: nil, certificate_authority: nil, cluster_name: nil, egress_filter: nil, endpoint: nil, healthcheck_namespace: nil, healthy: nil, id: nil, name: nil, region: nil, remote_identity_group_id: nil, remote_identity_healthcheck_username: nil, role_arn: nil, role_external_id: nil, secret_access_key: nil, secret_store_id: nil, tags: nil ) @access_key = access_key == nil ? "" : access_key @bind_interface = bind_interface == nil ? "" : bind_interface @certificate_authority = == nil ? "" : @cluster_name = cluster_name == nil ? "" : cluster_name @egress_filter = egress_filter == nil ? "" : egress_filter @endpoint = endpoint == nil ? "" : endpoint @healthcheck_namespace = healthcheck_namespace == nil ? "" : healthcheck_namespace @healthy = healthy == nil ? false : healthy @id = id == nil ? "" : id @name = name == nil ? "" : name @region = region == nil ? "" : region @remote_identity_group_id = remote_identity_group_id == nil ? "" : remote_identity_group_id @remote_identity_healthcheck_username = remote_identity_healthcheck_username == nil ? "" : remote_identity_healthcheck_username @role_arn = role_arn == nil ? "" : role_arn @role_external_id = role_external_id == nil ? "" : role_external_id @secret_access_key = secret_access_key == nil ? "" : secret_access_key @secret_store_id = secret_store_id == nil ? "" : secret_store_id @tags = == nil ? SDM::() : end |
Instance Attribute Details
#access_key ⇒ Object
Returns the value of attribute access_key.
965 966 967 |
# File 'lib/models/porcelain.rb', line 965 def access_key @access_key end |
#bind_interface ⇒ Object
Bind interface
967 968 969 |
# File 'lib/models/porcelain.rb', line 967 def bind_interface @bind_interface end |
#certificate_authority ⇒ Object
Returns the value of attribute certificate_authority.
969 970 971 |
# File 'lib/models/porcelain.rb', line 969 def @certificate_authority end |
#cluster_name ⇒ Object
Returns the value of attribute cluster_name.
971 972 973 |
# File 'lib/models/porcelain.rb', line 971 def cluster_name @cluster_name end |
#egress_filter ⇒ Object
A filter applied to the routing logic to pin datasource to nodes.
973 974 975 |
# File 'lib/models/porcelain.rb', line 973 def egress_filter @egress_filter end |
#endpoint ⇒ Object
Returns the value of attribute endpoint.
975 976 977 |
# File 'lib/models/porcelain.rb', line 975 def endpoint @endpoint end |
#healthcheck_namespace ⇒ Object
The path used to check the health of your connection. Defaults to default
.
977 978 979 |
# File 'lib/models/porcelain.rb', line 977 def healthcheck_namespace @healthcheck_namespace end |
#healthy ⇒ Object
True if the datasource is reachable and the credentials are valid.
979 980 981 |
# File 'lib/models/porcelain.rb', line 979 def healthy @healthy end |
#id ⇒ Object
Unique identifier of the Resource.
981 982 983 |
# File 'lib/models/porcelain.rb', line 981 def id @id end |
#name ⇒ Object
Unique human-readable name of the Resource.
983 984 985 |
# File 'lib/models/porcelain.rb', line 983 def name @name end |
#region ⇒ Object
Returns the value of attribute region.
985 986 987 |
# File 'lib/models/porcelain.rb', line 985 def region @region end |
#remote_identity_group_id ⇒ Object
Returns the value of attribute remote_identity_group_id.
987 988 989 |
# File 'lib/models/porcelain.rb', line 987 def remote_identity_group_id @remote_identity_group_id end |
#remote_identity_healthcheck_username ⇒ Object
Returns the value of attribute remote_identity_healthcheck_username.
989 990 991 |
# File 'lib/models/porcelain.rb', line 989 def remote_identity_healthcheck_username @remote_identity_healthcheck_username end |
#role_arn ⇒ Object
Returns the value of attribute role_arn.
991 992 993 |
# File 'lib/models/porcelain.rb', line 991 def role_arn @role_arn end |
#role_external_id ⇒ Object
Returns the value of attribute role_external_id.
993 994 995 |
# File 'lib/models/porcelain.rb', line 993 def role_external_id @role_external_id end |
#secret_access_key ⇒ Object
Returns the value of attribute secret_access_key.
995 996 997 |
# File 'lib/models/porcelain.rb', line 995 def secret_access_key @secret_access_key end |
#secret_store_id ⇒ Object
ID of the secret store containing credentials for this resource, if any.
997 998 999 |
# File 'lib/models/porcelain.rb', line 997 def secret_store_id @secret_store_id end |
#tags ⇒ Object
Tags is a map of key, value pairs.
999 1000 1001 |
# File 'lib/models/porcelain.rb', line 999 def @tags end |
Instance Method Details
#to_json(options = {}) ⇒ Object
1041 1042 1043 1044 1045 1046 1047 |
# File 'lib/models/porcelain.rb', line 1041 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 |