Class: Telnyx::Resources::GlobalIPAssignmentHealth

Inherits:
Object
  • Object
show all
Defined in:
lib/telnyx/resources/global_ip_assignment_health.rb

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ GlobalIPAssignmentHealth

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of GlobalIPAssignmentHealth.

Parameters:



34
35
36
# File 'lib/telnyx/resources/global_ip_assignment_health.rb', line 34

def initialize(client:)
  @client = client
end

Instance Method Details

#retrieve(filter: nil, request_options: {}) ⇒ Telnyx::Models::GlobalIPAssignmentHealthRetrieveResponse

Some parameter documentations has been truncated, see Models::GlobalIPAssignmentHealthRetrieveParams for more details.

Global IP Assignment Health Check Metrics

Parameters:

Returns:

See Also:



20
21
22
23
24
25
26
27
28
29
# File 'lib/telnyx/resources/global_ip_assignment_health.rb', line 20

def retrieve(params = {})
  parsed, options = Telnyx::GlobalIPAssignmentHealthRetrieveParams.dump_request(params)
  @client.request(
    method: :get,
    path: "global_ip_assignment_health",
    query: parsed,
    model: Telnyx::Models::GlobalIPAssignmentHealthRetrieveResponse,
    options: options
  )
end