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)
public static Output<GetSentryMetricAlertResult> getSentryMetricAlert(GetSentryMetricAlertArgs args, InvokeOptions options)
fn::invoke:
function: sentry:index/getSentryMetricAlert:getSentryMetricAlert
arguments:
# arguments dictionary
The following arguments are supported:
- Internal
Id 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. 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. 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. 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.
- internal
Id 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
- 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
This property is required. List<Pulumiverse.Sentry. Inputs. Get Sentry Metric Alert Trigger Action> - Alert
Threshold This property is required. double - Id
This property is required. string - Label
This property is required. string - Resolve
Threshold This property is required. double - Threshold
Type This property is required. int
- Actions
This property is required. []GetSentry Metric Alert Trigger Action - Alert
Threshold This property is required. float64 - Id
This property is required. string - Label
This property is required. string - Resolve
Threshold This property is required. float64 - Threshold
Type This property is required. int
- actions
This property is required. List<GetSentry Metric Alert Trigger Action> - alert
Threshold This property is required. Double - id
This property is required. String - label
This property is required. String - resolve
Threshold This property is required. Double - threshold
Type This property is required. Integer
- actions
This property is required. GetSentry Metric Alert Trigger Action[] - alert
Threshold This property is required. number - id
This property is required. string - label
This property is required. string - resolve
Threshold This property is required. number - threshold
Type This property is required. number
- actions
This property is required. Sequence[GetSentry Metric Alert Trigger Action] - 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> - alert
Threshold This property is required. Number - id
This property is required. String - label
This property is required. String - resolve
Threshold This property is required. Number - threshold
Type This property is required. Number
GetSentryMetricAlertTriggerAction
- Id
This property is required. string - Integration
Id This property is required. int - Target
Identifier This property is required. string - Target
Type This property is required. string - Type
This property is required. string
- Id
This property is required. string - Integration
Id This property is required. int - Target
Identifier This property is required. string - Target
Type This property is required. string - Type
This property is required. string
- id
This property is required. String - integration
Id This property is required. Integer - target
Identifier This property is required. String - target
Type This property is required. String - type
This property is required. String
- id
This property is required. string - integration
Id This property is required. number - target
Identifier This property is required. string - target
Type 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 - integration
Id This property is required. Number - target
Identifier This property is required. String - target
Type 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.