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.
2511 2512 2513 |
# File 'lib/infrawrench/client.rb', line 2511 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
2538 2539 2540 2541 2542 2543 2544 2545 2546 |
# File 'lib/infrawrench/client.rb', line 2538 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 |