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.
2053 2054 2055 |
# File 'lib/infrawrench/client.rb', line 2053 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
2080 2081 2082 2083 2084 2085 2086 2087 2088 |
# File 'lib/infrawrench/client.rb', line 2080 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 |