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

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>
Copy
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]
Copy
func LookupSentryMetricAlert(ctx *Context, args *LookupSentryMetricAlertArgs, opts ...InvokeOption) (*LookupSentryMetricAlertResult, error)
func LookupSentryMetricAlertOutput(ctx *Context, args *LookupSentryMetricAlertOutputArgs, opts ...InvokeOption) LookupSentryMetricAlertResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetSentryMetricAlertResult> getSentryMetricAlert(GetSentryMetricAlertArgs args, InvokeOptions options)
public static Output<GetSentryMetricAlertResult> getSentryMetricAlert(GetSentryMetricAlertArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: sentry:index/getSentryMetricAlert:getSentryMetricAlert
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

InternalId This property is required. string
The internal ID for this metric alert.
Organization This property is required. string
The slug of the organization the metric alert belongs to.
Project This property is required. string
The slug of the project the metric alert belongs to.
InternalId This property is required. string
The internal ID for this metric alert.
Organization This property is required. string
The slug of the organization the metric alert belongs to.
Project This property is required. string
The slug of the project the metric alert belongs to.
internalId This property is required. String
The internal ID for this metric alert.
organization This property is required. String
The slug of the organization the metric alert belongs to.
project This property is required. String
The slug of the project the metric alert belongs to.
internalId This property is required. string
The internal ID for this metric alert.
organization This property is required. string
The slug of the organization the metric alert belongs to.
project This property is required. string
The slug of the project the metric alert belongs to.
internal_id This property is required. str
The internal ID for this metric alert.
organization This property is required. str
The slug of the organization the metric alert belongs to.
project This property is required. str
The slug of the project the metric alert belongs to.
internalId This property is required. String
The internal ID for this metric alert.
organization This property is required. String
The slug of the organization the metric alert belongs to.
project This property is required. 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

Actions This property is required. List<Pulumiverse.Sentry.Inputs.GetSentryMetricAlertTriggerAction>
AlertThreshold This property is required. double
Id This property is required. string
Label This property is required. string
ResolveThreshold This property is required. double
ThresholdType This property is required. int
Actions This property is required. []GetSentryMetricAlertTriggerAction
AlertThreshold This property is required. float64
Id This property is required. string
Label This property is required. string
ResolveThreshold This property is required. float64
ThresholdType This property is required. int
actions This property is required. List<GetSentryMetricAlertTriggerAction>
alertThreshold This property is required. Double
id This property is required. String
label This property is required. String
resolveThreshold This property is required. Double
thresholdType This property is required. Integer
actions This property is required. GetSentryMetricAlertTriggerAction[]
alertThreshold This property is required. number
id This property is required. string
label This property is required. string
resolveThreshold This property is required. number
thresholdType This property is required. number
actions This property is required. Sequence[GetSentryMetricAlertTriggerAction]
alert_threshold This property is required. float
id This property is required. str
label This property is required. str
resolve_threshold This property is required. float
threshold_type This property is required. int
actions This property is required. List<Property Map>
alertThreshold This property is required. Number
id This property is required. String
label This property is required. String
resolveThreshold This property is required. Number
thresholdType This property is required. Number

GetSentryMetricAlertTriggerAction

Id This property is required. string
IntegrationId This property is required. int
TargetIdentifier This property is required. string
TargetType This property is required. string
Type This property is required. string
Id This property is required. string
IntegrationId This property is required. int
TargetIdentifier This property is required. string
TargetType This property is required. string
Type This property is required. string
id This property is required. String
integrationId This property is required. Integer
targetIdentifier This property is required. String
targetType This property is required. String
type This property is required. String
id This property is required. string
integrationId This property is required. number
targetIdentifier This property is required. string
targetType This property is required. string
type This property is required. string
id This property is required. str
integration_id This property is required. int
target_identifier This property is required. str
target_type This property is required. str
type This property is required. str
id This property is required. String
integrationId This property is required. Number
targetIdentifier This property is required. String
targetType This property is required. String
type This property is required. String

Package Details

Repository
sentry pulumiverse/pulumi-sentry
License
Apache-2.0
Notes
This Pulumi package is based on the sentry Terraform Provider.