Sentry v0.0.9 published on Friday, Nov 15, 2024 by Pulumiverse
sentry.getSentryMetricAlert
Explore with Pulumi AI
Example Usage
Using getSentryMetricAlert
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 getSentryMetricAlert(args: GetSentryMetricAlertArgs, opts?: InvokeOptions): Promise<GetSentryMetricAlertResult>
function getSentryMetricAlertOutput(args: GetSentryMetricAlertOutputArgs, opts?: InvokeOptions): Output<GetSentryMetricAlertResult>
def get_sentry_metric_alert(internal_id: Optional[str] = None,
organization: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSentryMetricAlertResult
def get_sentry_metric_alert_output(internal_id: Optional[pulumi.Input[str]] = None,
organization: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSentryMetricAlertResult]
func LookupSentryMetricAlert(ctx *Context, args *LookupSentryMetricAlertArgs, opts ...InvokeOption) (*LookupSentryMetricAlertResult, error)
func LookupSentryMetricAlertOutput(ctx *Context, args *LookupSentryMetricAlertOutputArgs, opts ...InvokeOption) LookupSentryMetricAlertResultOutput
> Note: This function is named LookupSentryMetricAlert
in the Go SDK.
public static class GetSentryMetricAlert
{
public static Task<GetSentryMetricAlertResult> InvokeAsync(GetSentryMetricAlertArgs args, InvokeOptions? opts = null)
public static Output<GetSentryMetricAlertResult> Invoke(GetSentryMetricAlertInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSentryMetricAlertResult> getSentryMetricAlert(GetSentryMetricAlertArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: sentry:index/getSentryMetricAlert:getSentryMetricAlert
arguments:
# arguments dictionary
The following arguments are supported:
- Internal
Id string - The internal ID for this metric alert.
- Organization string
- The slug of the organization the metric alert belongs to.
- Project string
- The slug of the project the metric alert belongs to.
- Internal
Id string - The internal ID for this metric alert.
- Organization string
- The slug of the organization the metric alert belongs to.
- Project string
- The slug of the project the metric alert belongs to.
- internal
Id String - The internal ID for this metric alert.
- organization String
- The slug of the organization the metric alert belongs to.
- project String
- The slug of the project the metric alert belongs to.
- internal
Id string - The internal ID for this metric alert.
- organization string
- The slug of the organization the metric alert belongs to.
- project string
- The slug of the project the metric alert belongs to.
- internal_
id str - The internal ID for this metric alert.
- organization str
- The slug of the organization the metric alert belongs to.
- project str
- The slug of the project the metric alert belongs to.
- internal
Id String - The internal ID for this metric alert.
- organization String
- The slug of the organization the metric alert belongs to.
- project String
- The slug of the project the metric alert belongs to.
getSentryMetricAlert Result
The following output properties are available:
- Aggregate string
- Dataset string
- Environment string
- Event
Types List<string> - The events type of dataset.
- Id string
- The provider-assigned unique ID for this managed resource.
- Internal
Id string - The internal ID for this metric alert.
- Name string
- The metric alert name.
- Organization string
- The slug of the organization the metric alert belongs to.
- Owner string
- Project string
- The slug of the project the metric alert belongs to.
- Query string
- Resolve
Threshold double - Threshold
Type int - Time
Window double - Triggers
List<Pulumiverse.
Sentry. Outputs. Get Sentry Metric Alert Trigger>
- Aggregate string
- Dataset string
- Environment string
- Event
Types []string - The events type of dataset.
- Id string
- The provider-assigned unique ID for this managed resource.
- Internal
Id string - The internal ID for this metric alert.
- Name string
- The metric alert name.
- Organization string
- The slug of the organization the metric alert belongs to.
- Owner string
- Project string
- The slug of the project the metric alert belongs to.
- Query string
- Resolve
Threshold float64 - Threshold
Type int - Time
Window float64 - Triggers
[]Get
Sentry Metric Alert Trigger
- aggregate String
- dataset String
- environment String
- event
Types List<String> - The events type of dataset.
- id String
- The provider-assigned unique ID for this managed resource.
- internal
Id String - The internal ID for this metric alert.
- name String
- The metric alert name.
- organization String
- The slug of the organization the metric alert belongs to.
- owner String
- project String
- The slug of the project the metric alert belongs to.
- query String
- resolve
Threshold Double - threshold
Type Integer - time
Window Double - triggers
List<Get
Sentry Metric Alert Trigger>
- aggregate string
- dataset string
- environment string
- event
Types string[] - The events type of dataset.
- id string
- The provider-assigned unique ID for this managed resource.
- internal
Id string - The internal ID for this metric alert.
- name string
- The metric alert name.
- organization string
- The slug of the organization the metric alert belongs to.
- owner string
- project string
- The slug of the project the metric alert belongs to.
- query string
- resolve
Threshold number - threshold
Type number - time
Window number - triggers
Get
Sentry Metric Alert Trigger[]
- aggregate str
- dataset str
- environment str
- event_
types Sequence[str] - The events type of dataset.
- id str
- The provider-assigned unique ID for this managed resource.
- internal_
id str - The internal ID for this metric alert.
- name str
- The metric alert name.
- organization str
- The slug of the organization the metric alert belongs to.
- owner str
- project str
- The slug of the project the metric alert belongs to.
- query str
- resolve_
threshold float - threshold_
type int - time_
window float - triggers
Sequence[Get
Sentry Metric Alert Trigger]
- aggregate String
- dataset String
- environment String
- event
Types List<String> - The events type of dataset.
- id String
- The provider-assigned unique ID for this managed resource.
- internal
Id String - The internal ID for this metric alert.
- name String
- The metric alert name.
- organization String
- The slug of the organization the metric alert belongs to.
- owner String
- project String
- The slug of the project the metric alert belongs to.
- query String
- resolve
Threshold Number - threshold
Type Number - time
Window Number - triggers List<Property Map>
Supporting Types
GetSentryMetricAlertTrigger
- Actions
List<Pulumiverse.
Sentry. Inputs. Get Sentry Metric Alert Trigger Action> - Alert
Threshold double - Id string
- Label string
- Resolve
Threshold double - Threshold
Type int
- Actions
[]Get
Sentry Metric Alert Trigger Action - Alert
Threshold float64 - Id string
- Label string
- Resolve
Threshold float64 - Threshold
Type int
- actions
List<Get
Sentry Metric Alert Trigger Action> - alert
Threshold Double - id String
- label String
- resolve
Threshold Double - threshold
Type Integer
- actions
Get
Sentry Metric Alert Trigger Action[] - alert
Threshold number - id string
- label string
- resolve
Threshold number - threshold
Type number
- actions List<Property Map>
- alert
Threshold Number - id String
- label String
- resolve
Threshold Number - threshold
Type Number
GetSentryMetricAlertTriggerAction
- Id string
- Integration
Id int - Target
Identifier string - Target
Type string - Type string
- Id string
- Integration
Id int - Target
Identifier string - Target
Type string - Type string
- id String
- integration
Id Integer - target
Identifier String - target
Type String - type String
- id string
- integration
Id number - target
Identifier string - target
Type string - type string
- id str
- integration_
id int - target_
identifier str - target_
type str - type str
- id String
- integration
Id Number - target
Identifier String - target
Type String - type String
Package Details
- Repository
- sentry pulumiverse/pulumi-sentry
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
sentry
Terraform Provider.