Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly
rootly.getIncidentPostMortem
Explore with Pulumi AI
Example Usage
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.rootly.RootlyFunctions;
import com.pulumi.rootly.inputs.GetIncidentPostMortemArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var my-incident-retrospective = RootlyFunctions.getIncidentPostMortem(GetIncidentPostMortemArgs.builder()
.slug("my-incident-retrospective-slug")
.build());
}
}
Coming soon!
Coming soon!
variables:
my-incident-retrospective:
fn::invoke:
Function: rootly:getIncidentPostMortem
Arguments:
slug: my-incident-retrospective-slug
Using getIncidentPostMortem
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getIncidentPostMortem(args: GetIncidentPostMortemArgs, opts?: InvokeOptions): Promise<GetIncidentPostMortemResult>
function getIncidentPostMortemOutput(args: GetIncidentPostMortemOutputArgs, opts?: InvokeOptions): Output<GetIncidentPostMortemResult>
def get_incident_post_mortem(created_at: Optional[Mapping[str, Any]] = None,
mitigated_at: Optional[Mapping[str, Any]] = None,
resolved_at: Optional[Mapping[str, Any]] = None,
started_at: Optional[Mapping[str, Any]] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIncidentPostMortemResult
def get_incident_post_mortem_output(created_at: Optional[pulumi.Input[Mapping[str, Any]]] = None,
mitigated_at: Optional[pulumi.Input[Mapping[str, Any]]] = None,
resolved_at: Optional[pulumi.Input[Mapping[str, Any]]] = None,
started_at: Optional[pulumi.Input[Mapping[str, Any]]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIncidentPostMortemResult]
func GetIncidentPostMortem(ctx *Context, args *GetIncidentPostMortemArgs, opts ...InvokeOption) (*GetIncidentPostMortemResult, error)
func GetIncidentPostMortemOutput(ctx *Context, args *GetIncidentPostMortemOutputArgs, opts ...InvokeOption) GetIncidentPostMortemResultOutput
> Note: This function is named GetIncidentPostMortem
in the Go SDK.
public static class GetIncidentPostMortem
{
public static Task<GetIncidentPostMortemResult> InvokeAsync(GetIncidentPostMortemArgs args, InvokeOptions? opts = null)
public static Output<GetIncidentPostMortemResult> Invoke(GetIncidentPostMortemInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIncidentPostMortemResult> getIncidentPostMortem(GetIncidentPostMortemArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: rootly:index/getIncidentPostMortem:getIncidentPostMortem
arguments:
# arguments dictionary
The following arguments are supported:
- Created
At Dictionary<string, object> - Filter by date range using 'lt' and 'gt'.
- Mitigated
At Dictionary<string, object> - Filter by date range using 'lt' and 'gt'.
- Resolved
At Dictionary<string, object> - Filter by date range using 'lt' and 'gt'.
- Started
At Dictionary<string, object> - Filter by date range using 'lt' and 'gt'.
- Status string
- Created
At map[string]interface{} - Filter by date range using 'lt' and 'gt'.
- Mitigated
At map[string]interface{} - Filter by date range using 'lt' and 'gt'.
- Resolved
At map[string]interface{} - Filter by date range using 'lt' and 'gt'.
- Started
At map[string]interface{} - Filter by date range using 'lt' and 'gt'.
- Status string
- created
At Map<String,Object> - Filter by date range using 'lt' and 'gt'.
- mitigated
At Map<String,Object> - Filter by date range using 'lt' and 'gt'.
- resolved
At Map<String,Object> - Filter by date range using 'lt' and 'gt'.
- started
At Map<String,Object> - Filter by date range using 'lt' and 'gt'.
- status String
- created
At {[key: string]: any} - Filter by date range using 'lt' and 'gt'.
- mitigated
At {[key: string]: any} - Filter by date range using 'lt' and 'gt'.
- resolved
At {[key: string]: any} - Filter by date range using 'lt' and 'gt'.
- started
At {[key: string]: any} - Filter by date range using 'lt' and 'gt'.
- status string
- created_
at Mapping[str, Any] - Filter by date range using 'lt' and 'gt'.
- mitigated_
at Mapping[str, Any] - Filter by date range using 'lt' and 'gt'.
- resolved_
at Mapping[str, Any] - Filter by date range using 'lt' and 'gt'.
- started_
at Mapping[str, Any] - Filter by date range using 'lt' and 'gt'.
- status str
- created
At Map<Any> - Filter by date range using 'lt' and 'gt'.
- mitigated
At Map<Any> - Filter by date range using 'lt' and 'gt'.
- resolved
At Map<Any> - Filter by date range using 'lt' and 'gt'.
- started
At Map<Any> - Filter by date range using 'lt' and 'gt'.
- status String
getIncidentPostMortem Result
The following output properties are available:
- Id string
- The ID of this resource.
- Status string
- Created
At Dictionary<string, object> - Filter by date range using 'lt' and 'gt'.
- Mitigated
At Dictionary<string, object> - Filter by date range using 'lt' and 'gt'.
- Resolved
At Dictionary<string, object> - Filter by date range using 'lt' and 'gt'.
- Started
At Dictionary<string, object> - Filter by date range using 'lt' and 'gt'.
- Id string
- The ID of this resource.
- Status string
- Created
At map[string]interface{} - Filter by date range using 'lt' and 'gt'.
- Mitigated
At map[string]interface{} - Filter by date range using 'lt' and 'gt'.
- Resolved
At map[string]interface{} - Filter by date range using 'lt' and 'gt'.
- Started
At map[string]interface{} - Filter by date range using 'lt' and 'gt'.
- id String
- The ID of this resource.
- status String
- created
At Map<String,Object> - Filter by date range using 'lt' and 'gt'.
- mitigated
At Map<String,Object> - Filter by date range using 'lt' and 'gt'.
- resolved
At Map<String,Object> - Filter by date range using 'lt' and 'gt'.
- started
At Map<String,Object> - Filter by date range using 'lt' and 'gt'.
- id string
- The ID of this resource.
- status string
- created
At {[key: string]: any} - Filter by date range using 'lt' and 'gt'.
- mitigated
At {[key: string]: any} - Filter by date range using 'lt' and 'gt'.
- resolved
At {[key: string]: any} - Filter by date range using 'lt' and 'gt'.
- started
At {[key: string]: any} - Filter by date range using 'lt' and 'gt'.
- id str
- The ID of this resource.
- status str
- created_
at Mapping[str, Any] - Filter by date range using 'lt' and 'gt'.
- mitigated_
at Mapping[str, Any] - Filter by date range using 'lt' and 'gt'.
- resolved_
at Mapping[str, Any] - Filter by date range using 'lt' and 'gt'.
- started_
at Mapping[str, Any] - Filter by date range using 'lt' and 'gt'.
- id String
- The ID of this resource.
- status String
- created
At Map<Any> - Filter by date range using 'lt' and 'gt'.
- mitigated
At Map<Any> - Filter by date range using 'lt' and 'gt'.
- resolved
At Map<Any> - Filter by date range using 'lt' and 'gt'.
- started
At Map<Any> - Filter by date range using 'lt' and 'gt'.
Package Details
- Repository
- rootly rootlyhq/pulumi-rootly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rootly
Terraform Provider.