1. Packages
  2. Sentry
  3. API Docs
  4. getSentryMetricAlert
Sentry v0.0.9 published on Friday, Nov 15, 2024 by Pulumiverse

sentry.getSentryMetricAlert

Explore with Pulumi AI

sentry logo
Sentry v0.0.9 published on Friday, Nov 15, 2024 by Pulumiverse

    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:

    InternalId 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.
    InternalId 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.
    internalId 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.
    internalId 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.
    internalId 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
    EventTypes List<string>
    The events type of dataset.
    Id string
    The provider-assigned unique ID for this managed resource.
    InternalId 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
    ResolveThreshold double
    ThresholdType int
    TimeWindow double
    Triggers List<Pulumiverse.Sentry.Outputs.GetSentryMetricAlertTrigger>
    Aggregate string
    Dataset string
    Environment string
    EventTypes []string
    The events type of dataset.
    Id string
    The provider-assigned unique ID for this managed resource.
    InternalId 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
    ResolveThreshold float64
    ThresholdType int
    TimeWindow float64
    Triggers []GetSentryMetricAlertTrigger
    aggregate String
    dataset String
    environment String
    eventTypes List<String>
    The events type of dataset.
    id String
    The provider-assigned unique ID for this managed resource.
    internalId 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
    resolveThreshold Double
    thresholdType Integer
    timeWindow Double
    triggers List<GetSentryMetricAlertTrigger>
    aggregate string
    dataset string
    environment string
    eventTypes string[]
    The events type of dataset.
    id string
    The provider-assigned unique ID for this managed resource.
    internalId 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
    resolveThreshold number
    thresholdType number
    timeWindow number
    triggers GetSentryMetricAlertTrigger[]
    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[GetSentryMetricAlertTrigger]
    aggregate String
    dataset String
    environment String
    eventTypes List<String>
    The events type of dataset.
    id String
    The provider-assigned unique ID for this managed resource.
    internalId 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
    resolveThreshold Number
    thresholdType Number
    timeWindow Number
    triggers List<Property Map>

    Supporting Types

    GetSentryMetricAlertTrigger

    GetSentryMetricAlertTriggerAction

    Id string
    IntegrationId int
    TargetIdentifier string
    TargetType string
    Type string
    Id string
    IntegrationId int
    TargetIdentifier string
    TargetType string
    Type string
    id String
    integrationId Integer
    targetIdentifier String
    targetType String
    type String
    id string
    integrationId number
    targetIdentifier string
    targetType string
    type string
    id String
    integrationId Number
    targetIdentifier String
    targetType 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.
    sentry logo
    Sentry v0.0.9 published on Friday, Nov 15, 2024 by Pulumiverse