INNER CODE UNIT · Go
dataSourceSentryMetricAlert
jianyuan/terraform-provider-sentry · sentry/data_source_sentry_metric_alert.go:15
func dataSourceSentryMetricAlert() *schema.Resource {
return &schema.Resource{
Description: "⚠️ This resource is deprecated.",
DeprecationMessage: "This resource is deprecated.",
ReadContext: dataSourceSentryMetricAlertRead,
Schema: map[string]*schema.Schema{
"organization": {
Description: "The slug of the organization the metric alert belongs to.",
Type: schema.TypeString,
Required: true,
},
"project": {
Description: "The slug of the project the metric alert belongs to.",
Type: schema.TypeString,
Required: true,
},
"internal_id": {