Class: SDM::AKSServiceAccount
- Inherits:
-
Object
- Object
- SDM::AKSServiceAccount
- 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
The path used to check the health of your connection.
-
#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(egress_filter: nil, healthcheck_namespace: nil, healthy: nil, hostname: nil, id: nil, name: nil, port: nil, secret_store_id: nil, tags: nil, token: nil) ⇒ AKSServiceAccount
constructor
A new instance of AKSServiceAccount.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(egress_filter: nil, healthcheck_namespace: nil, healthy: nil, hostname: nil, id: nil, name: nil, port: nil, secret_store_id: nil, tags: nil, token: nil) ⇒ AKSServiceAccount
Returns a new instance of AKSServiceAccount.
208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 |
# File 'lib/models/porcelain.rb', line 208 def initialize( egress_filter: nil, healthcheck_namespace: nil, healthy: nil, hostname: nil, id: nil, name: nil, port: nil, secret_store_id: nil, tags: nil, token: nil ) if egress_filter != nil @egress_filter = egress_filter end if healthcheck_namespace != nil @healthcheck_namespace = healthcheck_namespace end if healthy != nil @healthy = healthy end if hostname != nil @hostname = hostname end if id != nil @id = id end if name != nil @name = name end if port != nil @port = port end if secret_store_id != nil @secret_store_id = secret_store_id end if != nil = end if token != nil @token = token end end |
Instance Attribute Details
#egress_filter ⇒ Object
A filter applied to the routing logic to pin datasource to nodes.
188 189 190 |
# File 'lib/models/porcelain.rb', line 188 def egress_filter @egress_filter end |
#healthcheck_namespace ⇒ Object
The path used to check the health of your connection. Defaults to ‘default`.
190 191 192 |
# File 'lib/models/porcelain.rb', line 190 def healthcheck_namespace @healthcheck_namespace end |
#healthy ⇒ Object
True if the datasource is reachable and the credentials are valid.
192 193 194 |
# File 'lib/models/porcelain.rb', line 192 def healthy @healthy end |
#hostname ⇒ Object
Returns the value of attribute hostname.
194 195 196 |
# File 'lib/models/porcelain.rb', line 194 def hostname @hostname end |
#id ⇒ Object
Unique identifier of the Resource.
196 197 198 |
# File 'lib/models/porcelain.rb', line 196 def id @id end |
#name ⇒ Object
Unique human-readable name of the Resource.
198 199 200 |
# File 'lib/models/porcelain.rb', line 198 def name @name end |
#port ⇒ Object
Returns the value of attribute port.
200 201 202 |
# File 'lib/models/porcelain.rb', line 200 def port @port end |
#secret_store_id ⇒ Object
ID of the secret store containing credentials for this resource, if any.
202 203 204 |
# File 'lib/models/porcelain.rb', line 202 def secret_store_id @secret_store_id end |
#tags ⇒ Object
Tags is a map of key, value pairs.
204 205 206 |
# File 'lib/models/porcelain.rb', line 204 def end |
#token ⇒ Object
Returns the value of attribute token.
206 207 208 |
# File 'lib/models/porcelain.rb', line 206 def token @token end |
Instance Method Details
#to_json(options = {}) ⇒ Object
252 253 254 255 256 257 258 |
# File 'lib/models/porcelain.rb', line 252 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 |