Class: SDM::KubernetesServiceAccountUserImpersonation
- Inherits:
-
Object
- Object
- SDM::KubernetesServiceAccountUserImpersonation
- Defined in:
- lib/models/porcelain.rb
Instance Attribute Summary collapse
-
#egress_filter ⇒ Object
A filter applied to the routing logic to pin datasource to nodes.
-
#healthcheck_namespace ⇒ Object
Returns the value of attribute healthcheck_namespace.
-
#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.
-
#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.
-
#token ⇒ Object
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize(id: nil, name: nil, healthy: nil, tags: nil, secret_store_id: nil, egress_filter: nil, hostname: nil, port: nil, token: nil, healthcheck_namespace: nil) ⇒ KubernetesServiceAccountUserImpersonation
constructor
A new instance of KubernetesServiceAccountUserImpersonation.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(id: nil, name: nil, healthy: nil, tags: nil, secret_store_id: nil, egress_filter: nil, hostname: nil, port: nil, token: nil, healthcheck_namespace: nil) ⇒ KubernetesServiceAccountUserImpersonation
Returns a new instance of KubernetesServiceAccountUserImpersonation.
2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 |
# File 'lib/models/porcelain.rb', line 2377 def initialize( id: nil, name: nil, healthy: nil, tags: nil, secret_store_id: nil, egress_filter: nil, hostname: nil, port: nil, token: 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 hostname != nil @hostname = hostname end if port != nil @port = port end if token != nil @token = token end if healthcheck_namespace != nil @healthcheck_namespace = healthcheck_namespace end end |
Instance Attribute Details
#egress_filter ⇒ Object
A filter applied to the routing logic to pin datasource to nodes.
2367 2368 2369 |
# File 'lib/models/porcelain.rb', line 2367 def egress_filter @egress_filter end |
#healthcheck_namespace ⇒ Object
Returns the value of attribute healthcheck_namespace.
2375 2376 2377 |
# File 'lib/models/porcelain.rb', line 2375 def healthcheck_namespace @healthcheck_namespace end |
#healthy ⇒ Object
True if the datasource is reachable and the credentials are valid.
2361 2362 2363 |
# File 'lib/models/porcelain.rb', line 2361 def healthy @healthy end |
#hostname ⇒ Object
Returns the value of attribute hostname.
2369 2370 2371 |
# File 'lib/models/porcelain.rb', line 2369 def hostname @hostname end |
#id ⇒ Object
Unique identifier of the Resource.
2357 2358 2359 |
# File 'lib/models/porcelain.rb', line 2357 def id @id end |
#name ⇒ Object
Unique human-readable name of the Resource.
2359 2360 2361 |
# File 'lib/models/porcelain.rb', line 2359 def name @name end |
#port ⇒ Object
Returns the value of attribute port.
2371 2372 2373 |
# File 'lib/models/porcelain.rb', line 2371 def port @port end |
#secret_store_id ⇒ Object
ID of the secret store containing credentials for this resource, if any.
2365 2366 2367 |
# File 'lib/models/porcelain.rb', line 2365 def secret_store_id @secret_store_id end |
#tags ⇒ Object
Tags is a map of key, value pairs.
2363 2364 2365 |
# File 'lib/models/porcelain.rb', line 2363 def @tags end |
#token ⇒ Object
Returns the value of attribute token.
2373 2374 2375 |
# File 'lib/models/porcelain.rb', line 2373 def token @token end |
Instance Method Details
#to_json(options = {}) ⇒ Object
2421 2422 2423 2424 2425 2426 2427 |
# File 'lib/models/porcelain.rb', line 2421 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 |