Class: Infrawrench::BlastRadiusNamespace
- Inherits:
-
Object
- Object
- Infrawrench::BlastRadiusNamespace
- Defined in:
- lib/infrawrench/client.rb,
sig/infrawrench/sdk.rbs
Overview
client.blast_radius
Instance Method Summary collapse
-
#get(resource_id:, org_id: nil, request_options: nil) ⇒ Hash
What breaks if this resource is deleted.
-
#initialize(transport) ⇒ BlastRadiusNamespace
constructor
private
A new instance of BlastRadiusNamespace.
Constructor Details
#initialize(transport) ⇒ BlastRadiusNamespace
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 BlastRadiusNamespace.
2308 2309 2310 |
# File 'lib/infrawrench/client.rb', line 2308 def initialize(transport) @transport = transport end |
Instance Method Details
#get(resource_id:, org_id: nil, request_options: nil) ⇒ Hash
What breaks if this resource is deleted
An impact report for one resource, assembled from the dependency graph walked inbound, network flow attribution, and the org objects that name the resource without depending on it (dashboards, custom graphs, probes, status pages, metric alerts, leases, schedules, saved log queries, workflows, and its recorded owner).
The endpoint answers 200 with a partial report rather than failing when a
source is unavailable; unchecked says which, in prose.
Requires permission: resources:read.
GET /api/org/orgId/blast-radius
Raises on 400: Missing resourceId
2335 2336 2337 2338 2339 2340 2341 2342 2343 |
# File 'lib/infrawrench/client.rb', line 2335 def get(resource_id:, org_id: nil, request_options: nil) @transport.request( http_method: "GET", path: "/api/org/{orgId}/blast-radius", path_params: { "orgId" => org_id }, query: { "resourceId" => resource_id }, request_options: ) end |