arms

package
v3.23.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertContact

type AlertContact struct {
	pulumi.CustomResourceState

	// The name of the alert contact.
	AlertContactName pulumi.StringPtrOutput `pulumi:"alertContactName"`
	// The webhook URL of the DingTalk chatbot. For more information about how to obtain the URL, see Configure a DingTalk chatbot to send alert notifications: https://www.alibabacloud.com/help/en/doc-detail/106247.htm. You must specify at least one of the following parameters: PhoneNum, Email, and DingRobotWebhookUrl.
	DingRobotWebhookUrl pulumi.StringPtrOutput `pulumi:"dingRobotWebhookUrl"`
	// The email address of the alert contact. You must specify at least one of the following parameters: PhoneNum, Email, and DingRobotWebhookUrl.
	Email pulumi.StringPtrOutput `pulumi:"email"`
	// The mobile number of the alert contact. You must specify at least one of the following parameters: PhoneNum, Email, and DingRobotWebhookUrl.
	PhoneNum pulumi.StringPtrOutput `pulumi:"phoneNum"`
	// Specifies whether the alert contact receives system notifications. Valid values:  true: receives system notifications. false: does not receive system notifications.
	SystemNoc pulumi.BoolPtrOutput `pulumi:"systemNoc"`
}

Provides a Application Real-Time Monitoring Service (ARMS) Alert Contact resource.

For information about Application Real-Time Monitoring Service (ARMS) Alert Contact and how to use it, see [What is Alert Contact](https://www.alibabacloud.com/help/en/doc-detail/42953.htm).

> **NOTE:** Available in v1.129.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/arms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := arms.NewAlertContact(ctx, "example", &arms.AlertContactArgs{
			AlertContactName:    pulumi.String("example_value"),
			DingRobotWebhookUrl: pulumi.String("https://oapi.dingtalk.com/robot/send?access_token=91f2f6****"),
			Email:               pulumi.String("someone@example.com"),
			PhoneNum:            pulumi.String("1381111****"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Application Real-Time Monitoring Service (ARMS) Alert Contact can be imported using the id, e.g.

```sh

$ pulumi import alicloud:arms/alertContact:AlertContact example <id>

```

func GetAlertContact

func GetAlertContact(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AlertContactState, opts ...pulumi.ResourceOption) (*AlertContact, error)

GetAlertContact gets an existing AlertContact resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAlertContact

func NewAlertContact(ctx *pulumi.Context,
	name string, args *AlertContactArgs, opts ...pulumi.ResourceOption) (*AlertContact, error)

NewAlertContact registers a new resource with the given unique name, arguments, and options.

func (*AlertContact) ElementType

func (*AlertContact) ElementType() reflect.Type

func (*AlertContact) ToAlertContactOutput

func (i *AlertContact) ToAlertContactOutput() AlertContactOutput

func (*AlertContact) ToAlertContactOutputWithContext

func (i *AlertContact) ToAlertContactOutputWithContext(ctx context.Context) AlertContactOutput

type AlertContactArgs

type AlertContactArgs struct {
	// The name of the alert contact.
	AlertContactName pulumi.StringPtrInput
	// The webhook URL of the DingTalk chatbot. For more information about how to obtain the URL, see Configure a DingTalk chatbot to send alert notifications: https://www.alibabacloud.com/help/en/doc-detail/106247.htm. You must specify at least one of the following parameters: PhoneNum, Email, and DingRobotWebhookUrl.
	DingRobotWebhookUrl pulumi.StringPtrInput
	// The email address of the alert contact. You must specify at least one of the following parameters: PhoneNum, Email, and DingRobotWebhookUrl.
	Email pulumi.StringPtrInput
	// The mobile number of the alert contact. You must specify at least one of the following parameters: PhoneNum, Email, and DingRobotWebhookUrl.
	PhoneNum pulumi.StringPtrInput
	// Specifies whether the alert contact receives system notifications. Valid values:  true: receives system notifications. false: does not receive system notifications.
	SystemNoc pulumi.BoolPtrInput
}

The set of arguments for constructing a AlertContact resource.

func (AlertContactArgs) ElementType

func (AlertContactArgs) ElementType() reflect.Type

type AlertContactArray

type AlertContactArray []AlertContactInput

func (AlertContactArray) ElementType

func (AlertContactArray) ElementType() reflect.Type

func (AlertContactArray) ToAlertContactArrayOutput

func (i AlertContactArray) ToAlertContactArrayOutput() AlertContactArrayOutput

func (AlertContactArray) ToAlertContactArrayOutputWithContext

func (i AlertContactArray) ToAlertContactArrayOutputWithContext(ctx context.Context) AlertContactArrayOutput

type AlertContactArrayInput

type AlertContactArrayInput interface {
	pulumi.Input

	ToAlertContactArrayOutput() AlertContactArrayOutput
	ToAlertContactArrayOutputWithContext(context.Context) AlertContactArrayOutput
}

AlertContactArrayInput is an input type that accepts AlertContactArray and AlertContactArrayOutput values. You can construct a concrete instance of `AlertContactArrayInput` via:

AlertContactArray{ AlertContactArgs{...} }

type AlertContactArrayOutput

type AlertContactArrayOutput struct{ *pulumi.OutputState }

func (AlertContactArrayOutput) ElementType

func (AlertContactArrayOutput) ElementType() reflect.Type

func (AlertContactArrayOutput) Index

func (AlertContactArrayOutput) ToAlertContactArrayOutput

func (o AlertContactArrayOutput) ToAlertContactArrayOutput() AlertContactArrayOutput

func (AlertContactArrayOutput) ToAlertContactArrayOutputWithContext

func (o AlertContactArrayOutput) ToAlertContactArrayOutputWithContext(ctx context.Context) AlertContactArrayOutput

type AlertContactGroup added in v3.6.0

type AlertContactGroup struct {
	pulumi.CustomResourceState

	// The name of the resource.
	AlertContactGroupName pulumi.StringOutput `pulumi:"alertContactGroupName"`
	// The list id of alert contact.
	ContactIds pulumi.StringArrayOutput `pulumi:"contactIds"`
}

Provides a Application Real-Time Monitoring Service (ARMS) Alert Contact Group resource.

For information about Application Real-Time Monitoring Service (ARMS) Alert Contact Group and how to use it, see [What is Alert Contact Group](https://www.alibabacloud.com/help/zh/doc-detail/130677.htm).

> **NOTE:** Available in v1.131.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/arms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleAlertContact, err := arms.NewAlertContact(ctx, "exampleAlertContact", &arms.AlertContactArgs{
			AlertContactName:    pulumi.String("example_value"),
			DingRobotWebhookUrl: pulumi.String("https://oapi.dingtalk.com/robot/send?access_token=91f2f6****"),
			Email:               pulumi.String("someone@example.com"),
			PhoneNum:            pulumi.String("1381111****"),
		})
		if err != nil {
			return err
		}
		_, err = arms.NewAlertContactGroup(ctx, "exampleAlertContactGroup", &arms.AlertContactGroupArgs{
			AlertContactGroupName: pulumi.String("example_value"),
			ContactIds: pulumi.StringArray{
				exampleAlertContact.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Application Real-Time Monitoring Service (ARMS) Alert Contact Group can be imported using the id, e.g.

```sh

$ pulumi import alicloud:arms/alertContactGroup:AlertContactGroup example <id>

```

func GetAlertContactGroup added in v3.6.0

func GetAlertContactGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AlertContactGroupState, opts ...pulumi.ResourceOption) (*AlertContactGroup, error)

GetAlertContactGroup gets an existing AlertContactGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAlertContactGroup added in v3.6.0

func NewAlertContactGroup(ctx *pulumi.Context,
	name string, args *AlertContactGroupArgs, opts ...pulumi.ResourceOption) (*AlertContactGroup, error)

NewAlertContactGroup registers a new resource with the given unique name, arguments, and options.

func (*AlertContactGroup) ElementType added in v3.6.0

func (*AlertContactGroup) ElementType() reflect.Type

func (*AlertContactGroup) ToAlertContactGroupOutput added in v3.6.0

func (i *AlertContactGroup) ToAlertContactGroupOutput() AlertContactGroupOutput

func (*AlertContactGroup) ToAlertContactGroupOutputWithContext added in v3.6.0

func (i *AlertContactGroup) ToAlertContactGroupOutputWithContext(ctx context.Context) AlertContactGroupOutput

type AlertContactGroupArgs added in v3.6.0

type AlertContactGroupArgs struct {
	// The name of the resource.
	AlertContactGroupName pulumi.StringInput
	// The list id of alert contact.
	ContactIds pulumi.StringArrayInput
}

The set of arguments for constructing a AlertContactGroup resource.

func (AlertContactGroupArgs) ElementType added in v3.6.0

func (AlertContactGroupArgs) ElementType() reflect.Type

type AlertContactGroupArray added in v3.6.0

type AlertContactGroupArray []AlertContactGroupInput

func (AlertContactGroupArray) ElementType added in v3.6.0

func (AlertContactGroupArray) ElementType() reflect.Type

func (AlertContactGroupArray) ToAlertContactGroupArrayOutput added in v3.6.0

func (i AlertContactGroupArray) ToAlertContactGroupArrayOutput() AlertContactGroupArrayOutput

func (AlertContactGroupArray) ToAlertContactGroupArrayOutputWithContext added in v3.6.0

func (i AlertContactGroupArray) ToAlertContactGroupArrayOutputWithContext(ctx context.Context) AlertContactGroupArrayOutput

type AlertContactGroupArrayInput added in v3.6.0

type AlertContactGroupArrayInput interface {
	pulumi.Input

	ToAlertContactGroupArrayOutput() AlertContactGroupArrayOutput
	ToAlertContactGroupArrayOutputWithContext(context.Context) AlertContactGroupArrayOutput
}

AlertContactGroupArrayInput is an input type that accepts AlertContactGroupArray and AlertContactGroupArrayOutput values. You can construct a concrete instance of `AlertContactGroupArrayInput` via:

AlertContactGroupArray{ AlertContactGroupArgs{...} }

type AlertContactGroupArrayOutput added in v3.6.0

type AlertContactGroupArrayOutput struct{ *pulumi.OutputState }

func (AlertContactGroupArrayOutput) ElementType added in v3.6.0

func (AlertContactGroupArrayOutput) Index added in v3.6.0

func (AlertContactGroupArrayOutput) ToAlertContactGroupArrayOutput added in v3.6.0

func (o AlertContactGroupArrayOutput) ToAlertContactGroupArrayOutput() AlertContactGroupArrayOutput

func (AlertContactGroupArrayOutput) ToAlertContactGroupArrayOutputWithContext added in v3.6.0

func (o AlertContactGroupArrayOutput) ToAlertContactGroupArrayOutputWithContext(ctx context.Context) AlertContactGroupArrayOutput

type AlertContactGroupInput added in v3.6.0

type AlertContactGroupInput interface {
	pulumi.Input

	ToAlertContactGroupOutput() AlertContactGroupOutput
	ToAlertContactGroupOutputWithContext(ctx context.Context) AlertContactGroupOutput
}

type AlertContactGroupMap added in v3.6.0

type AlertContactGroupMap map[string]AlertContactGroupInput

func (AlertContactGroupMap) ElementType added in v3.6.0

func (AlertContactGroupMap) ElementType() reflect.Type

func (AlertContactGroupMap) ToAlertContactGroupMapOutput added in v3.6.0

func (i AlertContactGroupMap) ToAlertContactGroupMapOutput() AlertContactGroupMapOutput

func (AlertContactGroupMap) ToAlertContactGroupMapOutputWithContext added in v3.6.0

func (i AlertContactGroupMap) ToAlertContactGroupMapOutputWithContext(ctx context.Context) AlertContactGroupMapOutput

type AlertContactGroupMapInput added in v3.6.0

type AlertContactGroupMapInput interface {
	pulumi.Input

	ToAlertContactGroupMapOutput() AlertContactGroupMapOutput
	ToAlertContactGroupMapOutputWithContext(context.Context) AlertContactGroupMapOutput
}

AlertContactGroupMapInput is an input type that accepts AlertContactGroupMap and AlertContactGroupMapOutput values. You can construct a concrete instance of `AlertContactGroupMapInput` via:

AlertContactGroupMap{ "key": AlertContactGroupArgs{...} }

type AlertContactGroupMapOutput added in v3.6.0

type AlertContactGroupMapOutput struct{ *pulumi.OutputState }

func (AlertContactGroupMapOutput) ElementType added in v3.6.0

func (AlertContactGroupMapOutput) ElementType() reflect.Type

func (AlertContactGroupMapOutput) MapIndex added in v3.6.0

func (AlertContactGroupMapOutput) ToAlertContactGroupMapOutput added in v3.6.0

func (o AlertContactGroupMapOutput) ToAlertContactGroupMapOutput() AlertContactGroupMapOutput

func (AlertContactGroupMapOutput) ToAlertContactGroupMapOutputWithContext added in v3.6.0

func (o AlertContactGroupMapOutput) ToAlertContactGroupMapOutputWithContext(ctx context.Context) AlertContactGroupMapOutput

type AlertContactGroupOutput added in v3.6.0

type AlertContactGroupOutput struct{ *pulumi.OutputState }

func (AlertContactGroupOutput) ElementType added in v3.6.0

func (AlertContactGroupOutput) ElementType() reflect.Type

func (AlertContactGroupOutput) ToAlertContactGroupOutput added in v3.6.0

func (o AlertContactGroupOutput) ToAlertContactGroupOutput() AlertContactGroupOutput

func (AlertContactGroupOutput) ToAlertContactGroupOutputWithContext added in v3.6.0

func (o AlertContactGroupOutput) ToAlertContactGroupOutputWithContext(ctx context.Context) AlertContactGroupOutput

type AlertContactGroupState added in v3.6.0

type AlertContactGroupState struct {
	// The name of the resource.
	AlertContactGroupName pulumi.StringPtrInput
	// The list id of alert contact.
	ContactIds pulumi.StringArrayInput
}

func (AlertContactGroupState) ElementType added in v3.6.0

func (AlertContactGroupState) ElementType() reflect.Type

type AlertContactInput

type AlertContactInput interface {
	pulumi.Input

	ToAlertContactOutput() AlertContactOutput
	ToAlertContactOutputWithContext(ctx context.Context) AlertContactOutput
}

type AlertContactMap

type AlertContactMap map[string]AlertContactInput

func (AlertContactMap) ElementType

func (AlertContactMap) ElementType() reflect.Type

func (AlertContactMap) ToAlertContactMapOutput

func (i AlertContactMap) ToAlertContactMapOutput() AlertContactMapOutput

func (AlertContactMap) ToAlertContactMapOutputWithContext

func (i AlertContactMap) ToAlertContactMapOutputWithContext(ctx context.Context) AlertContactMapOutput

type AlertContactMapInput

type AlertContactMapInput interface {
	pulumi.Input

	ToAlertContactMapOutput() AlertContactMapOutput
	ToAlertContactMapOutputWithContext(context.Context) AlertContactMapOutput
}

AlertContactMapInput is an input type that accepts AlertContactMap and AlertContactMapOutput values. You can construct a concrete instance of `AlertContactMapInput` via:

AlertContactMap{ "key": AlertContactArgs{...} }

type AlertContactMapOutput

type AlertContactMapOutput struct{ *pulumi.OutputState }

func (AlertContactMapOutput) ElementType

func (AlertContactMapOutput) ElementType() reflect.Type

func (AlertContactMapOutput) MapIndex

func (AlertContactMapOutput) ToAlertContactMapOutput

func (o AlertContactMapOutput) ToAlertContactMapOutput() AlertContactMapOutput

func (AlertContactMapOutput) ToAlertContactMapOutputWithContext

func (o AlertContactMapOutput) ToAlertContactMapOutputWithContext(ctx context.Context) AlertContactMapOutput

type AlertContactOutput

type AlertContactOutput struct{ *pulumi.OutputState }

func (AlertContactOutput) ElementType

func (AlertContactOutput) ElementType() reflect.Type

func (AlertContactOutput) ToAlertContactOutput

func (o AlertContactOutput) ToAlertContactOutput() AlertContactOutput

func (AlertContactOutput) ToAlertContactOutputWithContext

func (o AlertContactOutput) ToAlertContactOutputWithContext(ctx context.Context) AlertContactOutput

type AlertContactState

type AlertContactState struct {
	// The name of the alert contact.
	AlertContactName pulumi.StringPtrInput
	// The webhook URL of the DingTalk chatbot. For more information about how to obtain the URL, see Configure a DingTalk chatbot to send alert notifications: https://www.alibabacloud.com/help/en/doc-detail/106247.htm. You must specify at least one of the following parameters: PhoneNum, Email, and DingRobotWebhookUrl.
	DingRobotWebhookUrl pulumi.StringPtrInput
	// The email address of the alert contact. You must specify at least one of the following parameters: PhoneNum, Email, and DingRobotWebhookUrl.
	Email pulumi.StringPtrInput
	// The mobile number of the alert contact. You must specify at least one of the following parameters: PhoneNum, Email, and DingRobotWebhookUrl.
	PhoneNum pulumi.StringPtrInput
	// Specifies whether the alert contact receives system notifications. Valid values:  true: receives system notifications. false: does not receive system notifications.
	SystemNoc pulumi.BoolPtrInput
}

func (AlertContactState) ElementType

func (AlertContactState) ElementType() reflect.Type

type DispatchRule added in v3.8.0

type DispatchRule struct {
	pulumi.CustomResourceState

	// The name of the dispatch policy.
	DispatchRuleName pulumi.StringOutput `pulumi:"dispatchRuleName"`
	// The alert handling method. Valid values: CREATE_ALERT: generates an alert. DISCARD_ALERT: discards the alert event and generates no alert.
	DispatchType pulumi.StringPtrOutput `pulumi:"dispatchType"`
	// Sets the event group. See the following `Block groupRules`. It will be ignored  when `dispatchType = "DISCARD_ALERT"`.
	GroupRules DispatchRuleGroupRuleArrayOutput `pulumi:"groupRules"`
	// Specifies whether to send the restored alert. Valid values: true: sends the alert. false: does not send the alert.
	IsRecover pulumi.BoolPtrOutput `pulumi:"isRecover"`
	// Sets the dispatch rule. See the following `Block labelMatchExpressionGrid`.
	LabelMatchExpressionGrids DispatchRuleLabelMatchExpressionGridArrayOutput `pulumi:"labelMatchExpressionGrids"`
	// Sets the notification rule. See the following `Block notifyRules`. It will be ignored  when `dispatchType = "DISCARD_ALERT"`.
	NotifyRules DispatchRuleNotifyRuleArrayOutput `pulumi:"notifyRules"`
	// The resource status of Alert Dispatch Rule.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a Application Real-Time Monitoring Service (ARMS) Alert Dispatch Rule resource.

For information about Application Real-Time Monitoring Service (ARMS) Alert Dispatch Rule and how to use it, see [What is Alert Dispatch_Rule](https://www.alibabacloud.com/help/en/doc-detail/203146.htm).

> **NOTE:** Available in v1.136.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/arms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultAlertContact, err := arms.NewAlertContact(ctx, "defaultAlertContact", &arms.AlertContactArgs{
			AlertContactName: pulumi.String("example_value"),
			Email:            pulumi.String("example_value@aaa.com"),
		})
		if err != nil {
			return err
		}
		defaultAlertContactGroup, err := arms.NewAlertContactGroup(ctx, "defaultAlertContactGroup", &arms.AlertContactGroupArgs{
			AlertContactGroupName: pulumi.String("example_value"),
			ContactIds: pulumi.StringArray{
				defaultAlertContact.ID(),
			},
		})
		if err != nil {
			return err
		}
		_, err = arms.NewDispatchRule(ctx, "defaultDispatchRule", &arms.DispatchRuleArgs{
			DispatchRuleName: pulumi.String("example_value"),
			DispatchType:     pulumi.String("CREATE_ALERT"),
			GroupRules: arms.DispatchRuleGroupRuleArray{
				&arms.DispatchRuleGroupRuleArgs{
					GroupWaitTime:  pulumi.Int(5),
					GroupInterval:  pulumi.Int(15),
					RepeatInterval: pulumi.Int(100),
					GroupingFields: pulumi.StringArray{
						pulumi.String("alertname"),
					},
				},
			},
			LabelMatchExpressionGrids: arms.DispatchRuleLabelMatchExpressionGridArray{
				&arms.DispatchRuleLabelMatchExpressionGridArgs{
					LabelMatchExpressionGroups: arms.DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArray{
						&arms.DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArgs{
							LabelMatchExpressions: arms.DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArray{
								&arms.DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArgs{
									Key:      pulumi.String("_aliyun_arms_involvedObject_kind"),
									Value:    pulumi.String("app"),
									Operator: pulumi.String("eq"),
								},
							},
						},
					},
				},
			},
			NotifyRules: arms.DispatchRuleNotifyRuleArray{
				&arms.DispatchRuleNotifyRuleArgs{
					NotifyObjects: arms.DispatchRuleNotifyRuleNotifyObjectArray{
						&arms.DispatchRuleNotifyRuleNotifyObjectArgs{
							NotifyObjectId: defaultAlertContact.ID(),
							NotifyType:     pulumi.String("ARMS_CONTACT"),
							Name:           pulumi.String("example_value"),
						},
						&arms.DispatchRuleNotifyRuleNotifyObjectArgs{
							NotifyObjectId: defaultAlertContactGroup.ID(),
							NotifyType:     pulumi.String("ARMS_CONTACT_GROUP"),
							Name:           pulumi.String("example_value"),
						},
					},
					NotifyChannels: pulumi.StringArray{
						pulumi.String("dingTalk"),
						pulumi.String("wechat"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Application Real-Time Monitoring Service (ARMS) Alert Contact can be imported using the id, e.g.

```sh

$ pulumi import alicloud:arms/dispatchRule:DispatchRule example <id>

```

func GetDispatchRule added in v3.8.0

func GetDispatchRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DispatchRuleState, opts ...pulumi.ResourceOption) (*DispatchRule, error)

GetDispatchRule gets an existing DispatchRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDispatchRule added in v3.8.0

func NewDispatchRule(ctx *pulumi.Context,
	name string, args *DispatchRuleArgs, opts ...pulumi.ResourceOption) (*DispatchRule, error)

NewDispatchRule registers a new resource with the given unique name, arguments, and options.

func (*DispatchRule) ElementType added in v3.8.0

func (*DispatchRule) ElementType() reflect.Type

func (*DispatchRule) ToDispatchRuleOutput added in v3.8.0

func (i *DispatchRule) ToDispatchRuleOutput() DispatchRuleOutput

func (*DispatchRule) ToDispatchRuleOutputWithContext added in v3.8.0

func (i *DispatchRule) ToDispatchRuleOutputWithContext(ctx context.Context) DispatchRuleOutput

type DispatchRuleArgs added in v3.8.0

type DispatchRuleArgs struct {
	// The name of the dispatch policy.
	DispatchRuleName pulumi.StringInput
	// The alert handling method. Valid values: CREATE_ALERT: generates an alert. DISCARD_ALERT: discards the alert event and generates no alert.
	DispatchType pulumi.StringPtrInput
	// Sets the event group. See the following `Block groupRules`. It will be ignored  when `dispatchType = "DISCARD_ALERT"`.
	GroupRules DispatchRuleGroupRuleArrayInput
	// Specifies whether to send the restored alert. Valid values: true: sends the alert. false: does not send the alert.
	IsRecover pulumi.BoolPtrInput
	// Sets the dispatch rule. See the following `Block labelMatchExpressionGrid`.
	LabelMatchExpressionGrids DispatchRuleLabelMatchExpressionGridArrayInput
	// Sets the notification rule. See the following `Block notifyRules`. It will be ignored  when `dispatchType = "DISCARD_ALERT"`.
	NotifyRules DispatchRuleNotifyRuleArrayInput
}

The set of arguments for constructing a DispatchRule resource.

func (DispatchRuleArgs) ElementType added in v3.8.0

func (DispatchRuleArgs) ElementType() reflect.Type

type DispatchRuleArray added in v3.8.0

type DispatchRuleArray []DispatchRuleInput

func (DispatchRuleArray) ElementType added in v3.8.0

func (DispatchRuleArray) ElementType() reflect.Type

func (DispatchRuleArray) ToDispatchRuleArrayOutput added in v3.8.0

func (i DispatchRuleArray) ToDispatchRuleArrayOutput() DispatchRuleArrayOutput

func (DispatchRuleArray) ToDispatchRuleArrayOutputWithContext added in v3.8.0

func (i DispatchRuleArray) ToDispatchRuleArrayOutputWithContext(ctx context.Context) DispatchRuleArrayOutput

type DispatchRuleArrayInput added in v3.8.0

type DispatchRuleArrayInput interface {
	pulumi.Input

	ToDispatchRuleArrayOutput() DispatchRuleArrayOutput
	ToDispatchRuleArrayOutputWithContext(context.Context) DispatchRuleArrayOutput
}

DispatchRuleArrayInput is an input type that accepts DispatchRuleArray and DispatchRuleArrayOutput values. You can construct a concrete instance of `DispatchRuleArrayInput` via:

DispatchRuleArray{ DispatchRuleArgs{...} }

type DispatchRuleArrayOutput added in v3.8.0

type DispatchRuleArrayOutput struct{ *pulumi.OutputState }

func (DispatchRuleArrayOutput) ElementType added in v3.8.0

func (DispatchRuleArrayOutput) ElementType() reflect.Type

func (DispatchRuleArrayOutput) Index added in v3.8.0

func (DispatchRuleArrayOutput) ToDispatchRuleArrayOutput added in v3.8.0

func (o DispatchRuleArrayOutput) ToDispatchRuleArrayOutput() DispatchRuleArrayOutput

func (DispatchRuleArrayOutput) ToDispatchRuleArrayOutputWithContext added in v3.8.0

func (o DispatchRuleArrayOutput) ToDispatchRuleArrayOutputWithContext(ctx context.Context) DispatchRuleArrayOutput

type DispatchRuleGroupRule added in v3.8.0

type DispatchRuleGroupRule struct {
	GroupId *int `pulumi:"groupId"`
	// The duration for which the system waits after the first alert is sent. After the duration, all alerts are sent in a single notification to the handler.
	GroupInterval int `pulumi:"groupInterval"`
	// The duration for which the system waits after the first alert is sent. After the duration, all alerts are sent in a single notification to the handler.
	GroupWaitTime int `pulumi:"groupWaitTime"`
	// The fields that are used to group events. Events with the same field content are assigned to a group. Alerts with the same specified grouping field are sent to the handler in separate notifications.
	GroupingFields []string `pulumi:"groupingFields"`
	// The silence period of repeated alerts. All alerts are repeatedly sent at specified intervals until the alerts are cleared. The minimum value is 61. Default to 600.
	RepeatInterval *int `pulumi:"repeatInterval"`
}

type DispatchRuleGroupRuleArgs added in v3.8.0

type DispatchRuleGroupRuleArgs struct {
	GroupId pulumi.IntPtrInput `pulumi:"groupId"`
	// The duration for which the system waits after the first alert is sent. After the duration, all alerts are sent in a single notification to the handler.
	GroupInterval pulumi.IntInput `pulumi:"groupInterval"`
	// The duration for which the system waits after the first alert is sent. After the duration, all alerts are sent in a single notification to the handler.
	GroupWaitTime pulumi.IntInput `pulumi:"groupWaitTime"`
	// The fields that are used to group events. Events with the same field content are assigned to a group. Alerts with the same specified grouping field are sent to the handler in separate notifications.
	GroupingFields pulumi.StringArrayInput `pulumi:"groupingFields"`
	// The silence period of repeated alerts. All alerts are repeatedly sent at specified intervals until the alerts are cleared. The minimum value is 61. Default to 600.
	RepeatInterval pulumi.IntPtrInput `pulumi:"repeatInterval"`
}

func (DispatchRuleGroupRuleArgs) ElementType added in v3.8.0

func (DispatchRuleGroupRuleArgs) ElementType() reflect.Type

func (DispatchRuleGroupRuleArgs) ToDispatchRuleGroupRuleOutput added in v3.8.0

func (i DispatchRuleGroupRuleArgs) ToDispatchRuleGroupRuleOutput() DispatchRuleGroupRuleOutput

func (DispatchRuleGroupRuleArgs) ToDispatchRuleGroupRuleOutputWithContext added in v3.8.0

func (i DispatchRuleGroupRuleArgs) ToDispatchRuleGroupRuleOutputWithContext(ctx context.Context) DispatchRuleGroupRuleOutput

type DispatchRuleGroupRuleArray added in v3.8.0

type DispatchRuleGroupRuleArray []DispatchRuleGroupRuleInput

func (DispatchRuleGroupRuleArray) ElementType added in v3.8.0

func (DispatchRuleGroupRuleArray) ElementType() reflect.Type

func (DispatchRuleGroupRuleArray) ToDispatchRuleGroupRuleArrayOutput added in v3.8.0

func (i DispatchRuleGroupRuleArray) ToDispatchRuleGroupRuleArrayOutput() DispatchRuleGroupRuleArrayOutput

func (DispatchRuleGroupRuleArray) ToDispatchRuleGroupRuleArrayOutputWithContext added in v3.8.0

func (i DispatchRuleGroupRuleArray) ToDispatchRuleGroupRuleArrayOutputWithContext(ctx context.Context) DispatchRuleGroupRuleArrayOutput

type DispatchRuleGroupRuleArrayInput added in v3.8.0

type DispatchRuleGroupRuleArrayInput interface {
	pulumi.Input

	ToDispatchRuleGroupRuleArrayOutput() DispatchRuleGroupRuleArrayOutput
	ToDispatchRuleGroupRuleArrayOutputWithContext(context.Context) DispatchRuleGroupRuleArrayOutput
}

DispatchRuleGroupRuleArrayInput is an input type that accepts DispatchRuleGroupRuleArray and DispatchRuleGroupRuleArrayOutput values. You can construct a concrete instance of `DispatchRuleGroupRuleArrayInput` via:

DispatchRuleGroupRuleArray{ DispatchRuleGroupRuleArgs{...} }

type DispatchRuleGroupRuleArrayOutput added in v3.8.0

type DispatchRuleGroupRuleArrayOutput struct{ *pulumi.OutputState }

func (DispatchRuleGroupRuleArrayOutput) ElementType added in v3.8.0

func (DispatchRuleGroupRuleArrayOutput) Index added in v3.8.0

func (DispatchRuleGroupRuleArrayOutput) ToDispatchRuleGroupRuleArrayOutput added in v3.8.0

func (o DispatchRuleGroupRuleArrayOutput) ToDispatchRuleGroupRuleArrayOutput() DispatchRuleGroupRuleArrayOutput

func (DispatchRuleGroupRuleArrayOutput) ToDispatchRuleGroupRuleArrayOutputWithContext added in v3.8.0

func (o DispatchRuleGroupRuleArrayOutput) ToDispatchRuleGroupRuleArrayOutputWithContext(ctx context.Context) DispatchRuleGroupRuleArrayOutput

type DispatchRuleGroupRuleInput added in v3.8.0

type DispatchRuleGroupRuleInput interface {
	pulumi.Input

	ToDispatchRuleGroupRuleOutput() DispatchRuleGroupRuleOutput
	ToDispatchRuleGroupRuleOutputWithContext(context.Context) DispatchRuleGroupRuleOutput
}

DispatchRuleGroupRuleInput is an input type that accepts DispatchRuleGroupRuleArgs and DispatchRuleGroupRuleOutput values. You can construct a concrete instance of `DispatchRuleGroupRuleInput` via:

DispatchRuleGroupRuleArgs{...}

type DispatchRuleGroupRuleOutput added in v3.8.0

type DispatchRuleGroupRuleOutput struct{ *pulumi.OutputState }

func (DispatchRuleGroupRuleOutput) ElementType added in v3.8.0

func (DispatchRuleGroupRuleOutput) GroupId added in v3.8.0

func (DispatchRuleGroupRuleOutput) GroupInterval added in v3.8.0

func (o DispatchRuleGroupRuleOutput) GroupInterval() pulumi.IntOutput

The duration for which the system waits after the first alert is sent. After the duration, all alerts are sent in a single notification to the handler.

func (DispatchRuleGroupRuleOutput) GroupWaitTime added in v3.8.0

func (o DispatchRuleGroupRuleOutput) GroupWaitTime() pulumi.IntOutput

The duration for which the system waits after the first alert is sent. After the duration, all alerts are sent in a single notification to the handler.

func (DispatchRuleGroupRuleOutput) GroupingFields added in v3.8.0

The fields that are used to group events. Events with the same field content are assigned to a group. Alerts with the same specified grouping field are sent to the handler in separate notifications.

func (DispatchRuleGroupRuleOutput) RepeatInterval added in v3.8.0

func (o DispatchRuleGroupRuleOutput) RepeatInterval() pulumi.IntPtrOutput

The silence period of repeated alerts. All alerts are repeatedly sent at specified intervals until the alerts are cleared. The minimum value is 61. Default to 600.

func (DispatchRuleGroupRuleOutput) ToDispatchRuleGroupRuleOutput added in v3.8.0

func (o DispatchRuleGroupRuleOutput) ToDispatchRuleGroupRuleOutput() DispatchRuleGroupRuleOutput

func (DispatchRuleGroupRuleOutput) ToDispatchRuleGroupRuleOutputWithContext added in v3.8.0

func (o DispatchRuleGroupRuleOutput) ToDispatchRuleGroupRuleOutputWithContext(ctx context.Context) DispatchRuleGroupRuleOutput

type DispatchRuleInput added in v3.8.0

type DispatchRuleInput interface {
	pulumi.Input

	ToDispatchRuleOutput() DispatchRuleOutput
	ToDispatchRuleOutputWithContext(ctx context.Context) DispatchRuleOutput
}

type DispatchRuleLabelMatchExpressionGrid added in v3.8.0

type DispatchRuleLabelMatchExpressionGrid struct {
	// Sets the dispatch rule. See the following `Block labelMatchExpressionGroups`.
	LabelMatchExpressionGroups []DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroup `pulumi:"labelMatchExpressionGroups"`
}

type DispatchRuleLabelMatchExpressionGridArgs added in v3.8.0

type DispatchRuleLabelMatchExpressionGridArgs struct {
	// Sets the dispatch rule. See the following `Block labelMatchExpressionGroups`.
	LabelMatchExpressionGroups DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayInput `pulumi:"labelMatchExpressionGroups"`
}

func (DispatchRuleLabelMatchExpressionGridArgs) ElementType added in v3.8.0

func (DispatchRuleLabelMatchExpressionGridArgs) ToDispatchRuleLabelMatchExpressionGridOutput added in v3.8.0

func (i DispatchRuleLabelMatchExpressionGridArgs) ToDispatchRuleLabelMatchExpressionGridOutput() DispatchRuleLabelMatchExpressionGridOutput

func (DispatchRuleLabelMatchExpressionGridArgs) ToDispatchRuleLabelMatchExpressionGridOutputWithContext added in v3.8.0

func (i DispatchRuleLabelMatchExpressionGridArgs) ToDispatchRuleLabelMatchExpressionGridOutputWithContext(ctx context.Context) DispatchRuleLabelMatchExpressionGridOutput

type DispatchRuleLabelMatchExpressionGridArray added in v3.8.0

type DispatchRuleLabelMatchExpressionGridArray []DispatchRuleLabelMatchExpressionGridInput

func (DispatchRuleLabelMatchExpressionGridArray) ElementType added in v3.8.0

func (DispatchRuleLabelMatchExpressionGridArray) ToDispatchRuleLabelMatchExpressionGridArrayOutput added in v3.8.0

func (i DispatchRuleLabelMatchExpressionGridArray) ToDispatchRuleLabelMatchExpressionGridArrayOutput() DispatchRuleLabelMatchExpressionGridArrayOutput

func (DispatchRuleLabelMatchExpressionGridArray) ToDispatchRuleLabelMatchExpressionGridArrayOutputWithContext added in v3.8.0

func (i DispatchRuleLabelMatchExpressionGridArray) ToDispatchRuleLabelMatchExpressionGridArrayOutputWithContext(ctx context.Context) DispatchRuleLabelMatchExpressionGridArrayOutput

type DispatchRuleLabelMatchExpressionGridArrayInput added in v3.8.0

type DispatchRuleLabelMatchExpressionGridArrayInput interface {
	pulumi.Input

	ToDispatchRuleLabelMatchExpressionGridArrayOutput() DispatchRuleLabelMatchExpressionGridArrayOutput
	ToDispatchRuleLabelMatchExpressionGridArrayOutputWithContext(context.Context) DispatchRuleLabelMatchExpressionGridArrayOutput
}

DispatchRuleLabelMatchExpressionGridArrayInput is an input type that accepts DispatchRuleLabelMatchExpressionGridArray and DispatchRuleLabelMatchExpressionGridArrayOutput values. You can construct a concrete instance of `DispatchRuleLabelMatchExpressionGridArrayInput` via:

DispatchRuleLabelMatchExpressionGridArray{ DispatchRuleLabelMatchExpressionGridArgs{...} }

type DispatchRuleLabelMatchExpressionGridArrayOutput added in v3.8.0

type DispatchRuleLabelMatchExpressionGridArrayOutput struct{ *pulumi.OutputState }

func (DispatchRuleLabelMatchExpressionGridArrayOutput) ElementType added in v3.8.0

func (DispatchRuleLabelMatchExpressionGridArrayOutput) Index added in v3.8.0

func (DispatchRuleLabelMatchExpressionGridArrayOutput) ToDispatchRuleLabelMatchExpressionGridArrayOutput added in v3.8.0

func (o DispatchRuleLabelMatchExpressionGridArrayOutput) ToDispatchRuleLabelMatchExpressionGridArrayOutput() DispatchRuleLabelMatchExpressionGridArrayOutput

func (DispatchRuleLabelMatchExpressionGridArrayOutput) ToDispatchRuleLabelMatchExpressionGridArrayOutputWithContext added in v3.8.0

func (o DispatchRuleLabelMatchExpressionGridArrayOutput) ToDispatchRuleLabelMatchExpressionGridArrayOutputWithContext(ctx context.Context) DispatchRuleLabelMatchExpressionGridArrayOutput

type DispatchRuleLabelMatchExpressionGridInput added in v3.8.0

type DispatchRuleLabelMatchExpressionGridInput interface {
	pulumi.Input

	ToDispatchRuleLabelMatchExpressionGridOutput() DispatchRuleLabelMatchExpressionGridOutput
	ToDispatchRuleLabelMatchExpressionGridOutputWithContext(context.Context) DispatchRuleLabelMatchExpressionGridOutput
}

DispatchRuleLabelMatchExpressionGridInput is an input type that accepts DispatchRuleLabelMatchExpressionGridArgs and DispatchRuleLabelMatchExpressionGridOutput values. You can construct a concrete instance of `DispatchRuleLabelMatchExpressionGridInput` via:

DispatchRuleLabelMatchExpressionGridArgs{...}

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroup added in v3.8.0

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroup struct {
	// Sets the dispatch rule. See the following `Block labelMatchExpressions`.
	LabelMatchExpressions []DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpression `pulumi:"labelMatchExpressions"`
}

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArgs added in v3.8.0

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArgs struct {
	// Sets the dispatch rule. See the following `Block labelMatchExpressions`.
	LabelMatchExpressions DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayInput `pulumi:"labelMatchExpressions"`
}

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArgs) ElementType added in v3.8.0

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArgs) ToDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput added in v3.8.0

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArgs) ToDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutputWithContext added in v3.8.0

func (i DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArgs) ToDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutputWithContext(ctx context.Context) DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArray added in v3.8.0

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArray []DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupInput

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArray) ElementType added in v3.8.0

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArray) ToDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutput added in v3.8.0

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArray) ToDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutputWithContext added in v3.8.0

func (i DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArray) ToDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutputWithContext(ctx context.Context) DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutput

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayInput added in v3.8.0

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayInput interface {
	pulumi.Input

	ToDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutput() DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutput
	ToDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutputWithContext(context.Context) DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutput
}

DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayInput is an input type that accepts DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArray and DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutput values. You can construct a concrete instance of `DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayInput` via:

DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArray{ DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArgs{...} }

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutput added in v3.8.0

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutput struct{ *pulumi.OutputState }

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutput) ElementType added in v3.8.0

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutput) Index added in v3.8.0

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutput) ToDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutput added in v3.8.0

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutput) ToDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutputWithContext added in v3.8.0

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupInput added in v3.8.0

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupInput interface {
	pulumi.Input

	ToDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput() DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput
	ToDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutputWithContext(context.Context) DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput
}

DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupInput is an input type that accepts DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArgs and DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput values. You can construct a concrete instance of `DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupInput` via:

DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupArgs{...}

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpression added in v3.8.0

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpression struct {
	// The key of the tag of the dispatch rule. Valud values:
	// * _aliyun_arms_userid: user ID
	// * _aliyun_arms_involvedObject_kind: type of the associated object
	// * _aliyun_arms_involvedObject_id: ID of the associated object
	// * _aliyun_arms_involvedObject_name: name of the associated object
	// * _aliyun_arms_alert_name: alert name
	// * _aliyun_arms_alert_rule_id: alert rule ID
	// * _aliyun_arms_alert_type: alert type
	// * _aliyun_arms_alert_level: alert severity
	Key string `pulumi:"key"`
	// The operator used in the dispatch rule. Valid values:
	// * eq: equals to.
	// * re: matches a regular expression.
	Operator string `pulumi:"operator"`
	// The value of the tag.
	Value string `pulumi:"value"`
}

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArgs added in v3.8.0

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArgs struct {
	// The key of the tag of the dispatch rule. Valud values:
	// * _aliyun_arms_userid: user ID
	// * _aliyun_arms_involvedObject_kind: type of the associated object
	// * _aliyun_arms_involvedObject_id: ID of the associated object
	// * _aliyun_arms_involvedObject_name: name of the associated object
	// * _aliyun_arms_alert_name: alert name
	// * _aliyun_arms_alert_rule_id: alert rule ID
	// * _aliyun_arms_alert_type: alert type
	// * _aliyun_arms_alert_level: alert severity
	Key pulumi.StringInput `pulumi:"key"`
	// The operator used in the dispatch rule. Valid values:
	// * eq: equals to.
	// * re: matches a regular expression.
	Operator pulumi.StringInput `pulumi:"operator"`
	// The value of the tag.
	Value pulumi.StringInput `pulumi:"value"`
}

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArgs) ElementType added in v3.8.0

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArgs) ToDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput added in v3.8.0

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArgs) ToDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutputWithContext added in v3.8.0

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArray added in v3.8.0

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArray []DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionInput

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArray) ElementType added in v3.8.0

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArray) ToDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutput added in v3.8.0

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArray) ToDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutputWithContext added in v3.8.0

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayInput added in v3.8.0

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayInput interface {
	pulumi.Input

	ToDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutput() DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutput
	ToDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutputWithContext(context.Context) DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutput
}

DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayInput is an input type that accepts DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArray and DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutput values. You can construct a concrete instance of `DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayInput` via:

DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArray{ DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArgs{...} }

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutput added in v3.8.0

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutput struct{ *pulumi.OutputState }

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutput) ElementType added in v3.8.0

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutput) Index added in v3.8.0

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutput) ToDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutput added in v3.8.0

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutput) ToDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutputWithContext added in v3.8.0

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionInput added in v3.8.0

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionInput interface {
	pulumi.Input

	ToDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput() DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput
	ToDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutputWithContext(context.Context) DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput
}

DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionInput is an input type that accepts DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArgs and DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput values. You can construct a concrete instance of `DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionInput` via:

DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArgs{...}

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput added in v3.8.0

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput struct{ *pulumi.OutputState }

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput) ElementType added in v3.8.0

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput) Key added in v3.8.0

The key of the tag of the dispatch rule. Valud values: * _aliyun_arms_userid: user ID * _aliyun_arms_involvedObject_kind: type of the associated object * _aliyun_arms_involvedObject_id: ID of the associated object * _aliyun_arms_involvedObject_name: name of the associated object * _aliyun_arms_alert_name: alert name * _aliyun_arms_alert_rule_id: alert rule ID * _aliyun_arms_alert_type: alert type * _aliyun_arms_alert_level: alert severity

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput) Operator added in v3.8.0

The operator used in the dispatch rule. Valid values: * eq: equals to. * re: matches a regular expression.

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput) ToDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput added in v3.8.0

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput) ToDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutputWithContext added in v3.8.0

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput) Value added in v3.8.0

The value of the tag.

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput added in v3.8.0

type DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput struct{ *pulumi.OutputState }

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput) ElementType added in v3.8.0

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput) LabelMatchExpressions added in v3.8.0

Sets the dispatch rule. See the following `Block labelMatchExpressions`.

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput) ToDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput added in v3.8.0

func (DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput) ToDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutputWithContext added in v3.8.0

func (o DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput) ToDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutputWithContext(ctx context.Context) DispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput

type DispatchRuleLabelMatchExpressionGridOutput added in v3.8.0

type DispatchRuleLabelMatchExpressionGridOutput struct{ *pulumi.OutputState }

func (DispatchRuleLabelMatchExpressionGridOutput) ElementType added in v3.8.0

func (DispatchRuleLabelMatchExpressionGridOutput) LabelMatchExpressionGroups added in v3.8.0

Sets the dispatch rule. See the following `Block labelMatchExpressionGroups`.

func (DispatchRuleLabelMatchExpressionGridOutput) ToDispatchRuleLabelMatchExpressionGridOutput added in v3.8.0

func (o DispatchRuleLabelMatchExpressionGridOutput) ToDispatchRuleLabelMatchExpressionGridOutput() DispatchRuleLabelMatchExpressionGridOutput

func (DispatchRuleLabelMatchExpressionGridOutput) ToDispatchRuleLabelMatchExpressionGridOutputWithContext added in v3.8.0

func (o DispatchRuleLabelMatchExpressionGridOutput) ToDispatchRuleLabelMatchExpressionGridOutputWithContext(ctx context.Context) DispatchRuleLabelMatchExpressionGridOutput

type DispatchRuleMap added in v3.8.0

type DispatchRuleMap map[string]DispatchRuleInput

func (DispatchRuleMap) ElementType added in v3.8.0

func (DispatchRuleMap) ElementType() reflect.Type

func (DispatchRuleMap) ToDispatchRuleMapOutput added in v3.8.0

func (i DispatchRuleMap) ToDispatchRuleMapOutput() DispatchRuleMapOutput

func (DispatchRuleMap) ToDispatchRuleMapOutputWithContext added in v3.8.0

func (i DispatchRuleMap) ToDispatchRuleMapOutputWithContext(ctx context.Context) DispatchRuleMapOutput

type DispatchRuleMapInput added in v3.8.0

type DispatchRuleMapInput interface {
	pulumi.Input

	ToDispatchRuleMapOutput() DispatchRuleMapOutput
	ToDispatchRuleMapOutputWithContext(context.Context) DispatchRuleMapOutput
}

DispatchRuleMapInput is an input type that accepts DispatchRuleMap and DispatchRuleMapOutput values. You can construct a concrete instance of `DispatchRuleMapInput` via:

DispatchRuleMap{ "key": DispatchRuleArgs{...} }

type DispatchRuleMapOutput added in v3.8.0

type DispatchRuleMapOutput struct{ *pulumi.OutputState }

func (DispatchRuleMapOutput) ElementType added in v3.8.0

func (DispatchRuleMapOutput) ElementType() reflect.Type

func (DispatchRuleMapOutput) MapIndex added in v3.8.0

func (DispatchRuleMapOutput) ToDispatchRuleMapOutput added in v3.8.0

func (o DispatchRuleMapOutput) ToDispatchRuleMapOutput() DispatchRuleMapOutput

func (DispatchRuleMapOutput) ToDispatchRuleMapOutputWithContext added in v3.8.0

func (o DispatchRuleMapOutput) ToDispatchRuleMapOutputWithContext(ctx context.Context) DispatchRuleMapOutput

type DispatchRuleNotifyRule added in v3.8.0

type DispatchRuleNotifyRule struct {
	// The notification method. Valid values: dingTalk, sms, webhook, email, and wechat.
	NotifyChannels []string `pulumi:"notifyChannels"`
	// Sets the notification object. See the following `Block notifyObjects`.
	NotifyObjects []DispatchRuleNotifyRuleNotifyObject `pulumi:"notifyObjects"`
}

type DispatchRuleNotifyRuleArgs added in v3.8.0

type DispatchRuleNotifyRuleArgs struct {
	// The notification method. Valid values: dingTalk, sms, webhook, email, and wechat.
	NotifyChannels pulumi.StringArrayInput `pulumi:"notifyChannels"`
	// Sets the notification object. See the following `Block notifyObjects`.
	NotifyObjects DispatchRuleNotifyRuleNotifyObjectArrayInput `pulumi:"notifyObjects"`
}

func (DispatchRuleNotifyRuleArgs) ElementType added in v3.8.0

func (DispatchRuleNotifyRuleArgs) ElementType() reflect.Type

func (DispatchRuleNotifyRuleArgs) ToDispatchRuleNotifyRuleOutput added in v3.8.0

func (i DispatchRuleNotifyRuleArgs) ToDispatchRuleNotifyRuleOutput() DispatchRuleNotifyRuleOutput

func (DispatchRuleNotifyRuleArgs) ToDispatchRuleNotifyRuleOutputWithContext added in v3.8.0

func (i DispatchRuleNotifyRuleArgs) ToDispatchRuleNotifyRuleOutputWithContext(ctx context.Context) DispatchRuleNotifyRuleOutput

type DispatchRuleNotifyRuleArray added in v3.8.0

type DispatchRuleNotifyRuleArray []DispatchRuleNotifyRuleInput

func (DispatchRuleNotifyRuleArray) ElementType added in v3.8.0

func (DispatchRuleNotifyRuleArray) ToDispatchRuleNotifyRuleArrayOutput added in v3.8.0

func (i DispatchRuleNotifyRuleArray) ToDispatchRuleNotifyRuleArrayOutput() DispatchRuleNotifyRuleArrayOutput

func (DispatchRuleNotifyRuleArray) ToDispatchRuleNotifyRuleArrayOutputWithContext added in v3.8.0

func (i DispatchRuleNotifyRuleArray) ToDispatchRuleNotifyRuleArrayOutputWithContext(ctx context.Context) DispatchRuleNotifyRuleArrayOutput

type DispatchRuleNotifyRuleArrayInput added in v3.8.0

type DispatchRuleNotifyRuleArrayInput interface {
	pulumi.Input

	ToDispatchRuleNotifyRuleArrayOutput() DispatchRuleNotifyRuleArrayOutput
	ToDispatchRuleNotifyRuleArrayOutputWithContext(context.Context) DispatchRuleNotifyRuleArrayOutput
}

DispatchRuleNotifyRuleArrayInput is an input type that accepts DispatchRuleNotifyRuleArray and DispatchRuleNotifyRuleArrayOutput values. You can construct a concrete instance of `DispatchRuleNotifyRuleArrayInput` via:

DispatchRuleNotifyRuleArray{ DispatchRuleNotifyRuleArgs{...} }

type DispatchRuleNotifyRuleArrayOutput added in v3.8.0

type DispatchRuleNotifyRuleArrayOutput struct{ *pulumi.OutputState }

func (DispatchRuleNotifyRuleArrayOutput) ElementType added in v3.8.0

func (DispatchRuleNotifyRuleArrayOutput) Index added in v3.8.0

func (DispatchRuleNotifyRuleArrayOutput) ToDispatchRuleNotifyRuleArrayOutput added in v3.8.0

func (o DispatchRuleNotifyRuleArrayOutput) ToDispatchRuleNotifyRuleArrayOutput() DispatchRuleNotifyRuleArrayOutput

func (DispatchRuleNotifyRuleArrayOutput) ToDispatchRuleNotifyRuleArrayOutputWithContext added in v3.8.0

func (o DispatchRuleNotifyRuleArrayOutput) ToDispatchRuleNotifyRuleArrayOutputWithContext(ctx context.Context) DispatchRuleNotifyRuleArrayOutput

type DispatchRuleNotifyRuleInput added in v3.8.0

type DispatchRuleNotifyRuleInput interface {
	pulumi.Input

	ToDispatchRuleNotifyRuleOutput() DispatchRuleNotifyRuleOutput
	ToDispatchRuleNotifyRuleOutputWithContext(context.Context) DispatchRuleNotifyRuleOutput
}

DispatchRuleNotifyRuleInput is an input type that accepts DispatchRuleNotifyRuleArgs and DispatchRuleNotifyRuleOutput values. You can construct a concrete instance of `DispatchRuleNotifyRuleInput` via:

DispatchRuleNotifyRuleArgs{...}

type DispatchRuleNotifyRuleNotifyObject added in v3.8.0

type DispatchRuleNotifyRuleNotifyObject struct {
	// The name of the contact or contact group.
	Name string `pulumi:"name"`
	// The ID of the contact or contact group.
	NotifyObjectId string `pulumi:"notifyObjectId"`
	// The type of the alert contact. Valid values: ARMS_CONTACT: contact. ARMS_CONTACT_GROUP: contact group.
	NotifyType string `pulumi:"notifyType"`
}

type DispatchRuleNotifyRuleNotifyObjectArgs added in v3.8.0

type DispatchRuleNotifyRuleNotifyObjectArgs struct {
	// The name of the contact or contact group.
	Name pulumi.StringInput `pulumi:"name"`
	// The ID of the contact or contact group.
	NotifyObjectId pulumi.StringInput `pulumi:"notifyObjectId"`
	// The type of the alert contact. Valid values: ARMS_CONTACT: contact. ARMS_CONTACT_GROUP: contact group.
	NotifyType pulumi.StringInput `pulumi:"notifyType"`
}

func (DispatchRuleNotifyRuleNotifyObjectArgs) ElementType added in v3.8.0

func (DispatchRuleNotifyRuleNotifyObjectArgs) ToDispatchRuleNotifyRuleNotifyObjectOutput added in v3.8.0

func (i DispatchRuleNotifyRuleNotifyObjectArgs) ToDispatchRuleNotifyRuleNotifyObjectOutput() DispatchRuleNotifyRuleNotifyObjectOutput

func (DispatchRuleNotifyRuleNotifyObjectArgs) ToDispatchRuleNotifyRuleNotifyObjectOutputWithContext added in v3.8.0

func (i DispatchRuleNotifyRuleNotifyObjectArgs) ToDispatchRuleNotifyRuleNotifyObjectOutputWithContext(ctx context.Context) DispatchRuleNotifyRuleNotifyObjectOutput

type DispatchRuleNotifyRuleNotifyObjectArray added in v3.8.0

type DispatchRuleNotifyRuleNotifyObjectArray []DispatchRuleNotifyRuleNotifyObjectInput

func (DispatchRuleNotifyRuleNotifyObjectArray) ElementType added in v3.8.0

func (DispatchRuleNotifyRuleNotifyObjectArray) ToDispatchRuleNotifyRuleNotifyObjectArrayOutput added in v3.8.0

func (i DispatchRuleNotifyRuleNotifyObjectArray) ToDispatchRuleNotifyRuleNotifyObjectArrayOutput() DispatchRuleNotifyRuleNotifyObjectArrayOutput

func (DispatchRuleNotifyRuleNotifyObjectArray) ToDispatchRuleNotifyRuleNotifyObjectArrayOutputWithContext added in v3.8.0

func (i DispatchRuleNotifyRuleNotifyObjectArray) ToDispatchRuleNotifyRuleNotifyObjectArrayOutputWithContext(ctx context.Context) DispatchRuleNotifyRuleNotifyObjectArrayOutput

type DispatchRuleNotifyRuleNotifyObjectArrayInput added in v3.8.0

type DispatchRuleNotifyRuleNotifyObjectArrayInput interface {
	pulumi.Input

	ToDispatchRuleNotifyRuleNotifyObjectArrayOutput() DispatchRuleNotifyRuleNotifyObjectArrayOutput
	ToDispatchRuleNotifyRuleNotifyObjectArrayOutputWithContext(context.Context) DispatchRuleNotifyRuleNotifyObjectArrayOutput
}

DispatchRuleNotifyRuleNotifyObjectArrayInput is an input type that accepts DispatchRuleNotifyRuleNotifyObjectArray and DispatchRuleNotifyRuleNotifyObjectArrayOutput values. You can construct a concrete instance of `DispatchRuleNotifyRuleNotifyObjectArrayInput` via:

DispatchRuleNotifyRuleNotifyObjectArray{ DispatchRuleNotifyRuleNotifyObjectArgs{...} }

type DispatchRuleNotifyRuleNotifyObjectArrayOutput added in v3.8.0

type DispatchRuleNotifyRuleNotifyObjectArrayOutput struct{ *pulumi.OutputState }

func (DispatchRuleNotifyRuleNotifyObjectArrayOutput) ElementType added in v3.8.0

func (DispatchRuleNotifyRuleNotifyObjectArrayOutput) Index added in v3.8.0

func (DispatchRuleNotifyRuleNotifyObjectArrayOutput) ToDispatchRuleNotifyRuleNotifyObjectArrayOutput added in v3.8.0

func (o DispatchRuleNotifyRuleNotifyObjectArrayOutput) ToDispatchRuleNotifyRuleNotifyObjectArrayOutput() DispatchRuleNotifyRuleNotifyObjectArrayOutput

func (DispatchRuleNotifyRuleNotifyObjectArrayOutput) ToDispatchRuleNotifyRuleNotifyObjectArrayOutputWithContext added in v3.8.0

func (o DispatchRuleNotifyRuleNotifyObjectArrayOutput) ToDispatchRuleNotifyRuleNotifyObjectArrayOutputWithContext(ctx context.Context) DispatchRuleNotifyRuleNotifyObjectArrayOutput

type DispatchRuleNotifyRuleNotifyObjectInput added in v3.8.0

type DispatchRuleNotifyRuleNotifyObjectInput interface {
	pulumi.Input

	ToDispatchRuleNotifyRuleNotifyObjectOutput() DispatchRuleNotifyRuleNotifyObjectOutput
	ToDispatchRuleNotifyRuleNotifyObjectOutputWithContext(context.Context) DispatchRuleNotifyRuleNotifyObjectOutput
}

DispatchRuleNotifyRuleNotifyObjectInput is an input type that accepts DispatchRuleNotifyRuleNotifyObjectArgs and DispatchRuleNotifyRuleNotifyObjectOutput values. You can construct a concrete instance of `DispatchRuleNotifyRuleNotifyObjectInput` via:

DispatchRuleNotifyRuleNotifyObjectArgs{...}

type DispatchRuleNotifyRuleNotifyObjectOutput added in v3.8.0

type DispatchRuleNotifyRuleNotifyObjectOutput struct{ *pulumi.OutputState }

func (DispatchRuleNotifyRuleNotifyObjectOutput) ElementType added in v3.8.0

func (DispatchRuleNotifyRuleNotifyObjectOutput) Name added in v3.8.0

The name of the contact or contact group.

func (DispatchRuleNotifyRuleNotifyObjectOutput) NotifyObjectId added in v3.8.0

The ID of the contact or contact group.

func (DispatchRuleNotifyRuleNotifyObjectOutput) NotifyType added in v3.8.0

The type of the alert contact. Valid values: ARMS_CONTACT: contact. ARMS_CONTACT_GROUP: contact group.

func (DispatchRuleNotifyRuleNotifyObjectOutput) ToDispatchRuleNotifyRuleNotifyObjectOutput added in v3.8.0

func (o DispatchRuleNotifyRuleNotifyObjectOutput) ToDispatchRuleNotifyRuleNotifyObjectOutput() DispatchRuleNotifyRuleNotifyObjectOutput

func (DispatchRuleNotifyRuleNotifyObjectOutput) ToDispatchRuleNotifyRuleNotifyObjectOutputWithContext added in v3.8.0

func (o DispatchRuleNotifyRuleNotifyObjectOutput) ToDispatchRuleNotifyRuleNotifyObjectOutputWithContext(ctx context.Context) DispatchRuleNotifyRuleNotifyObjectOutput

type DispatchRuleNotifyRuleOutput added in v3.8.0

type DispatchRuleNotifyRuleOutput struct{ *pulumi.OutputState }

func (DispatchRuleNotifyRuleOutput) ElementType added in v3.8.0

func (DispatchRuleNotifyRuleOutput) NotifyChannels added in v3.8.0

The notification method. Valid values: dingTalk, sms, webhook, email, and wechat.

func (DispatchRuleNotifyRuleOutput) NotifyObjects added in v3.8.0

Sets the notification object. See the following `Block notifyObjects`.

func (DispatchRuleNotifyRuleOutput) ToDispatchRuleNotifyRuleOutput added in v3.8.0

func (o DispatchRuleNotifyRuleOutput) ToDispatchRuleNotifyRuleOutput() DispatchRuleNotifyRuleOutput

func (DispatchRuleNotifyRuleOutput) ToDispatchRuleNotifyRuleOutputWithContext added in v3.8.0

func (o DispatchRuleNotifyRuleOutput) ToDispatchRuleNotifyRuleOutputWithContext(ctx context.Context) DispatchRuleNotifyRuleOutput

type DispatchRuleOutput added in v3.8.0

type DispatchRuleOutput struct{ *pulumi.OutputState }

func (DispatchRuleOutput) ElementType added in v3.8.0

func (DispatchRuleOutput) ElementType() reflect.Type

func (DispatchRuleOutput) ToDispatchRuleOutput added in v3.8.0

func (o DispatchRuleOutput) ToDispatchRuleOutput() DispatchRuleOutput

func (DispatchRuleOutput) ToDispatchRuleOutputWithContext added in v3.8.0

func (o DispatchRuleOutput) ToDispatchRuleOutputWithContext(ctx context.Context) DispatchRuleOutput

type DispatchRuleState added in v3.8.0

type DispatchRuleState struct {
	// The name of the dispatch policy.
	DispatchRuleName pulumi.StringPtrInput
	// The alert handling method. Valid values: CREATE_ALERT: generates an alert. DISCARD_ALERT: discards the alert event and generates no alert.
	DispatchType pulumi.StringPtrInput
	// Sets the event group. See the following `Block groupRules`. It will be ignored  when `dispatchType = "DISCARD_ALERT"`.
	GroupRules DispatchRuleGroupRuleArrayInput
	// Specifies whether to send the restored alert. Valid values: true: sends the alert. false: does not send the alert.
	IsRecover pulumi.BoolPtrInput
	// Sets the dispatch rule. See the following `Block labelMatchExpressionGrid`.
	LabelMatchExpressionGrids DispatchRuleLabelMatchExpressionGridArrayInput
	// Sets the notification rule. See the following `Block notifyRules`. It will be ignored  when `dispatchType = "DISCARD_ALERT"`.
	NotifyRules DispatchRuleNotifyRuleArrayInput
	// The resource status of Alert Dispatch Rule.
	Status pulumi.StringPtrInput
}

func (DispatchRuleState) ElementType added in v3.8.0

func (DispatchRuleState) ElementType() reflect.Type

type GetAlertContactGroupsArgs added in v3.6.0

type GetAlertContactGroupsArgs struct {
	// The name of the resource.
	AlertContactGroupName *string `pulumi:"alertContactGroupName"`
	// The contact id.
	ContactId *string `pulumi:"contactId"`
	// The contact name.
	ContactName *string `pulumi:"contactName"`
	// A list of Alert Contact Group IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Alert Contact Group name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getAlertContactGroups.

type GetAlertContactGroupsGroup added in v3.6.0

type GetAlertContactGroupsGroup struct {
	// The first ID of the resource.
	AlertContactGroupId string `pulumi:"alertContactGroupId"`
	// The name of the resource.
	AlertContactGroupName string `pulumi:"alertContactGroupName"`
	// contact ids.
	ContactIds []string `pulumi:"contactIds"`
	// The creation time of the resource.
	CreateTime string `pulumi:"createTime"`
	// The ID of the Alert Contact Group.
	Id string `pulumi:"id"`
}

type GetAlertContactGroupsGroupArgs added in v3.6.0

type GetAlertContactGroupsGroupArgs struct {
	// The first ID of the resource.
	AlertContactGroupId pulumi.StringInput `pulumi:"alertContactGroupId"`
	// The name of the resource.
	AlertContactGroupName pulumi.StringInput `pulumi:"alertContactGroupName"`
	// contact ids.
	ContactIds pulumi.StringArrayInput `pulumi:"contactIds"`
	// The creation time of the resource.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The ID of the Alert Contact Group.
	Id pulumi.StringInput `pulumi:"id"`
}

func (GetAlertContactGroupsGroupArgs) ElementType added in v3.6.0

func (GetAlertContactGroupsGroupArgs) ToGetAlertContactGroupsGroupOutput added in v3.6.0

func (i GetAlertContactGroupsGroupArgs) ToGetAlertContactGroupsGroupOutput() GetAlertContactGroupsGroupOutput

func (GetAlertContactGroupsGroupArgs) ToGetAlertContactGroupsGroupOutputWithContext added in v3.6.0

func (i GetAlertContactGroupsGroupArgs) ToGetAlertContactGroupsGroupOutputWithContext(ctx context.Context) GetAlertContactGroupsGroupOutput

type GetAlertContactGroupsGroupArray added in v3.6.0

type GetAlertContactGroupsGroupArray []GetAlertContactGroupsGroupInput

func (GetAlertContactGroupsGroupArray) ElementType added in v3.6.0

func (GetAlertContactGroupsGroupArray) ToGetAlertContactGroupsGroupArrayOutput added in v3.6.0

func (i GetAlertContactGroupsGroupArray) ToGetAlertContactGroupsGroupArrayOutput() GetAlertContactGroupsGroupArrayOutput

func (GetAlertContactGroupsGroupArray) ToGetAlertContactGroupsGroupArrayOutputWithContext added in v3.6.0

func (i GetAlertContactGroupsGroupArray) ToGetAlertContactGroupsGroupArrayOutputWithContext(ctx context.Context) GetAlertContactGroupsGroupArrayOutput

type GetAlertContactGroupsGroupArrayInput added in v3.6.0

type GetAlertContactGroupsGroupArrayInput interface {
	pulumi.Input

	ToGetAlertContactGroupsGroupArrayOutput() GetAlertContactGroupsGroupArrayOutput
	ToGetAlertContactGroupsGroupArrayOutputWithContext(context.Context) GetAlertContactGroupsGroupArrayOutput
}

GetAlertContactGroupsGroupArrayInput is an input type that accepts GetAlertContactGroupsGroupArray and GetAlertContactGroupsGroupArrayOutput values. You can construct a concrete instance of `GetAlertContactGroupsGroupArrayInput` via:

GetAlertContactGroupsGroupArray{ GetAlertContactGroupsGroupArgs{...} }

type GetAlertContactGroupsGroupArrayOutput added in v3.6.0

type GetAlertContactGroupsGroupArrayOutput struct{ *pulumi.OutputState }

func (GetAlertContactGroupsGroupArrayOutput) ElementType added in v3.6.0

func (GetAlertContactGroupsGroupArrayOutput) Index added in v3.6.0

func (GetAlertContactGroupsGroupArrayOutput) ToGetAlertContactGroupsGroupArrayOutput added in v3.6.0

func (o GetAlertContactGroupsGroupArrayOutput) ToGetAlertContactGroupsGroupArrayOutput() GetAlertContactGroupsGroupArrayOutput

func (GetAlertContactGroupsGroupArrayOutput) ToGetAlertContactGroupsGroupArrayOutputWithContext added in v3.6.0

func (o GetAlertContactGroupsGroupArrayOutput) ToGetAlertContactGroupsGroupArrayOutputWithContext(ctx context.Context) GetAlertContactGroupsGroupArrayOutput

type GetAlertContactGroupsGroupInput added in v3.6.0

type GetAlertContactGroupsGroupInput interface {
	pulumi.Input

	ToGetAlertContactGroupsGroupOutput() GetAlertContactGroupsGroupOutput
	ToGetAlertContactGroupsGroupOutputWithContext(context.Context) GetAlertContactGroupsGroupOutput
}

GetAlertContactGroupsGroupInput is an input type that accepts GetAlertContactGroupsGroupArgs and GetAlertContactGroupsGroupOutput values. You can construct a concrete instance of `GetAlertContactGroupsGroupInput` via:

GetAlertContactGroupsGroupArgs{...}

type GetAlertContactGroupsGroupOutput added in v3.6.0

type GetAlertContactGroupsGroupOutput struct{ *pulumi.OutputState }

func (GetAlertContactGroupsGroupOutput) AlertContactGroupId added in v3.6.0

func (o GetAlertContactGroupsGroupOutput) AlertContactGroupId() pulumi.StringOutput

The first ID of the resource.

func (GetAlertContactGroupsGroupOutput) AlertContactGroupName added in v3.6.0

func (o GetAlertContactGroupsGroupOutput) AlertContactGroupName() pulumi.StringOutput

The name of the resource.

func (GetAlertContactGroupsGroupOutput) ContactIds added in v3.6.0

contact ids.

func (GetAlertContactGroupsGroupOutput) CreateTime added in v3.6.0

The creation time of the resource.

func (GetAlertContactGroupsGroupOutput) ElementType added in v3.6.0

func (GetAlertContactGroupsGroupOutput) Id added in v3.6.0

The ID of the Alert Contact Group.

func (GetAlertContactGroupsGroupOutput) ToGetAlertContactGroupsGroupOutput added in v3.6.0

func (o GetAlertContactGroupsGroupOutput) ToGetAlertContactGroupsGroupOutput() GetAlertContactGroupsGroupOutput

func (GetAlertContactGroupsGroupOutput) ToGetAlertContactGroupsGroupOutputWithContext added in v3.6.0

func (o GetAlertContactGroupsGroupOutput) ToGetAlertContactGroupsGroupOutputWithContext(ctx context.Context) GetAlertContactGroupsGroupOutput

type GetAlertContactGroupsOutputArgs added in v3.9.0

type GetAlertContactGroupsOutputArgs struct {
	// The name of the resource.
	AlertContactGroupName pulumi.StringPtrInput `pulumi:"alertContactGroupName"`
	// The contact id.
	ContactId pulumi.StringPtrInput `pulumi:"contactId"`
	// The contact name.
	ContactName pulumi.StringPtrInput `pulumi:"contactName"`
	// A list of Alert Contact Group IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Alert Contact Group name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getAlertContactGroups.

func (GetAlertContactGroupsOutputArgs) ElementType added in v3.9.0

type GetAlertContactGroupsResult added in v3.6.0

type GetAlertContactGroupsResult struct {
	AlertContactGroupName *string                      `pulumi:"alertContactGroupName"`
	ContactId             *string                      `pulumi:"contactId"`
	ContactName           *string                      `pulumi:"contactName"`
	Groups                []GetAlertContactGroupsGroup `pulumi:"groups"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of values returned by getAlertContactGroups.

func GetAlertContactGroups added in v3.6.0

func GetAlertContactGroups(ctx *pulumi.Context, args *GetAlertContactGroupsArgs, opts ...pulumi.InvokeOption) (*GetAlertContactGroupsResult, error)

This data source provides the Arms Alert Contact Groups of the current Alibaba Cloud user.

> **NOTE:** Available in v1.131.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/arms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		nameRegex, err := arms.GetAlertContactGroups(ctx, &arms.GetAlertContactGroupsArgs{
			NameRegex: pulumi.StringRef("^my-AlertContactGroup"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("armsAlertContactGroupId", nameRegex.Groups[0].Id)
		return nil
	})
}

```

type GetAlertContactGroupsResultOutput added in v3.9.0

type GetAlertContactGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAlertContactGroups.

func GetAlertContactGroupsOutput added in v3.9.0

func (GetAlertContactGroupsResultOutput) AlertContactGroupName added in v3.9.0

func (o GetAlertContactGroupsResultOutput) AlertContactGroupName() pulumi.StringPtrOutput

func (GetAlertContactGroupsResultOutput) ContactId added in v3.9.0

func (GetAlertContactGroupsResultOutput) ContactName added in v3.9.0

func (GetAlertContactGroupsResultOutput) ElementType added in v3.9.0

func (GetAlertContactGroupsResultOutput) Groups added in v3.9.0

func (GetAlertContactGroupsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetAlertContactGroupsResultOutput) Ids added in v3.9.0

func (GetAlertContactGroupsResultOutput) NameRegex added in v3.9.0

func (GetAlertContactGroupsResultOutput) Names added in v3.9.0

func (GetAlertContactGroupsResultOutput) OutputFile added in v3.9.0

func (GetAlertContactGroupsResultOutput) ToGetAlertContactGroupsResultOutput added in v3.9.0

func (o GetAlertContactGroupsResultOutput) ToGetAlertContactGroupsResultOutput() GetAlertContactGroupsResultOutput

func (GetAlertContactGroupsResultOutput) ToGetAlertContactGroupsResultOutputWithContext added in v3.9.0

func (o GetAlertContactGroupsResultOutput) ToGetAlertContactGroupsResultOutputWithContext(ctx context.Context) GetAlertContactGroupsResultOutput

type GetAlertContactsArgs

type GetAlertContactsArgs struct {
	// The name of the alert contact.
	AlertContactName *string `pulumi:"alertContactName"`
	// The email address of the alert contact.
	Email *string `pulumi:"email"`
	// A list of Alert Contact IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Alert Contact name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// The mobile number of the alert contact.
	PhoneNum *string `pulumi:"phoneNum"`
}

A collection of arguments for invoking getAlertContacts.

type GetAlertContactsContact

type GetAlertContactsContact struct {
	// Contact ID.
	AlertContactId string `pulumi:"alertContactId"`
	// The name of the alert contact.
	AlertContactName string `pulumi:"alertContactName"`
	// The Creation Time Timestamp.
	CreateTime string `pulumi:"createTime"`
	// The webhook URL of the DingTalk chatbot.
	DingRobotWebhookUrl string `pulumi:"dingRobotWebhookUrl"`
	// The email address of the alert contact.
	Email string `pulumi:"email"`
	// The ID of the Alert Contact.
	Id string `pulumi:"id"`
	// The mobile number of the alert contact.
	PhoneNum string `pulumi:"phoneNum"`
	// Specifies whether the alert contact receives system notifications.
	SystemNoc bool `pulumi:"systemNoc"`
	// Webhook Information.
	Webhook string `pulumi:"webhook"`
}

type GetAlertContactsContactArgs

type GetAlertContactsContactArgs struct {
	// Contact ID.
	AlertContactId pulumi.StringInput `pulumi:"alertContactId"`
	// The name of the alert contact.
	AlertContactName pulumi.StringInput `pulumi:"alertContactName"`
	// The Creation Time Timestamp.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The webhook URL of the DingTalk chatbot.
	DingRobotWebhookUrl pulumi.StringInput `pulumi:"dingRobotWebhookUrl"`
	// The email address of the alert contact.
	Email pulumi.StringInput `pulumi:"email"`
	// The ID of the Alert Contact.
	Id pulumi.StringInput `pulumi:"id"`
	// The mobile number of the alert contact.
	PhoneNum pulumi.StringInput `pulumi:"phoneNum"`
	// Specifies whether the alert contact receives system notifications.
	SystemNoc pulumi.BoolInput `pulumi:"systemNoc"`
	// Webhook Information.
	Webhook pulumi.StringInput `pulumi:"webhook"`
}

func (GetAlertContactsContactArgs) ElementType

func (GetAlertContactsContactArgs) ToGetAlertContactsContactOutput

func (i GetAlertContactsContactArgs) ToGetAlertContactsContactOutput() GetAlertContactsContactOutput

func (GetAlertContactsContactArgs) ToGetAlertContactsContactOutputWithContext

func (i GetAlertContactsContactArgs) ToGetAlertContactsContactOutputWithContext(ctx context.Context) GetAlertContactsContactOutput

type GetAlertContactsContactArray

type GetAlertContactsContactArray []GetAlertContactsContactInput

func (GetAlertContactsContactArray) ElementType

func (GetAlertContactsContactArray) ToGetAlertContactsContactArrayOutput

func (i GetAlertContactsContactArray) ToGetAlertContactsContactArrayOutput() GetAlertContactsContactArrayOutput

func (GetAlertContactsContactArray) ToGetAlertContactsContactArrayOutputWithContext

func (i GetAlertContactsContactArray) ToGetAlertContactsContactArrayOutputWithContext(ctx context.Context) GetAlertContactsContactArrayOutput

type GetAlertContactsContactArrayInput

type GetAlertContactsContactArrayInput interface {
	pulumi.Input

	ToGetAlertContactsContactArrayOutput() GetAlertContactsContactArrayOutput
	ToGetAlertContactsContactArrayOutputWithContext(context.Context) GetAlertContactsContactArrayOutput
}

GetAlertContactsContactArrayInput is an input type that accepts GetAlertContactsContactArray and GetAlertContactsContactArrayOutput values. You can construct a concrete instance of `GetAlertContactsContactArrayInput` via:

GetAlertContactsContactArray{ GetAlertContactsContactArgs{...} }

type GetAlertContactsContactArrayOutput

type GetAlertContactsContactArrayOutput struct{ *pulumi.OutputState }

func (GetAlertContactsContactArrayOutput) ElementType

func (GetAlertContactsContactArrayOutput) Index

func (GetAlertContactsContactArrayOutput) ToGetAlertContactsContactArrayOutput

func (o GetAlertContactsContactArrayOutput) ToGetAlertContactsContactArrayOutput() GetAlertContactsContactArrayOutput

func (GetAlertContactsContactArrayOutput) ToGetAlertContactsContactArrayOutputWithContext

func (o GetAlertContactsContactArrayOutput) ToGetAlertContactsContactArrayOutputWithContext(ctx context.Context) GetAlertContactsContactArrayOutput

type GetAlertContactsContactInput

type GetAlertContactsContactInput interface {
	pulumi.Input

	ToGetAlertContactsContactOutput() GetAlertContactsContactOutput
	ToGetAlertContactsContactOutputWithContext(context.Context) GetAlertContactsContactOutput
}

GetAlertContactsContactInput is an input type that accepts GetAlertContactsContactArgs and GetAlertContactsContactOutput values. You can construct a concrete instance of `GetAlertContactsContactInput` via:

GetAlertContactsContactArgs{...}

type GetAlertContactsContactOutput

type GetAlertContactsContactOutput struct{ *pulumi.OutputState }

func (GetAlertContactsContactOutput) AlertContactId

Contact ID.

func (GetAlertContactsContactOutput) AlertContactName

func (o GetAlertContactsContactOutput) AlertContactName() pulumi.StringOutput

The name of the alert contact.

func (GetAlertContactsContactOutput) CreateTime

The Creation Time Timestamp.

func (GetAlertContactsContactOutput) DingRobotWebhookUrl

func (o GetAlertContactsContactOutput) DingRobotWebhookUrl() pulumi.StringOutput

The webhook URL of the DingTalk chatbot.

func (GetAlertContactsContactOutput) ElementType

func (GetAlertContactsContactOutput) Email

The email address of the alert contact.

func (GetAlertContactsContactOutput) Id

The ID of the Alert Contact.

func (GetAlertContactsContactOutput) PhoneNum

The mobile number of the alert contact.

func (GetAlertContactsContactOutput) SystemNoc

Specifies whether the alert contact receives system notifications.

func (GetAlertContactsContactOutput) ToGetAlertContactsContactOutput

func (o GetAlertContactsContactOutput) ToGetAlertContactsContactOutput() GetAlertContactsContactOutput

func (GetAlertContactsContactOutput) ToGetAlertContactsContactOutputWithContext

func (o GetAlertContactsContactOutput) ToGetAlertContactsContactOutputWithContext(ctx context.Context) GetAlertContactsContactOutput

func (GetAlertContactsContactOutput) Webhook

Webhook Information.

type GetAlertContactsOutputArgs added in v3.9.0

type GetAlertContactsOutputArgs struct {
	// The name of the alert contact.
	AlertContactName pulumi.StringPtrInput `pulumi:"alertContactName"`
	// The email address of the alert contact.
	Email pulumi.StringPtrInput `pulumi:"email"`
	// A list of Alert Contact IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Alert Contact name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The mobile number of the alert contact.
	PhoneNum pulumi.StringPtrInput `pulumi:"phoneNum"`
}

A collection of arguments for invoking getAlertContacts.

func (GetAlertContactsOutputArgs) ElementType added in v3.9.0

func (GetAlertContactsOutputArgs) ElementType() reflect.Type

type GetAlertContactsResult

type GetAlertContactsResult struct {
	AlertContactName *string                   `pulumi:"alertContactName"`
	Contacts         []GetAlertContactsContact `pulumi:"contacts"`
	Email            *string                   `pulumi:"email"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	PhoneNum   *string  `pulumi:"phoneNum"`
}

A collection of values returned by getAlertContacts.

func GetAlertContacts

func GetAlertContacts(ctx *pulumi.Context, args *GetAlertContactsArgs, opts ...pulumi.InvokeOption) (*GetAlertContactsResult, error)

This data source provides the Arms Alert Contacts of the current Alibaba Cloud user.

> **NOTE:** Available in v1.129.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/arms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := arms.GetAlertContacts(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("armsAlertContactId1", ids.Contacts[0].Id)
		nameRegex, err := arms.GetAlertContacts(ctx, &arms.GetAlertContactsArgs{
			NameRegex: pulumi.StringRef("^my-AlertContact"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("armsAlertContactId2", nameRegex.Contacts[0].Id)
		return nil
	})
}

```

type GetAlertContactsResultOutput added in v3.9.0

type GetAlertContactsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAlertContacts.

func GetAlertContactsOutput added in v3.9.0

func (GetAlertContactsResultOutput) AlertContactName added in v3.9.0

func (GetAlertContactsResultOutput) Contacts added in v3.9.0

func (GetAlertContactsResultOutput) ElementType added in v3.9.0

func (GetAlertContactsResultOutput) Email added in v3.9.0

func (GetAlertContactsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetAlertContactsResultOutput) Ids added in v3.9.0

func (GetAlertContactsResultOutput) NameRegex added in v3.9.0

func (GetAlertContactsResultOutput) Names added in v3.9.0

func (GetAlertContactsResultOutput) OutputFile added in v3.9.0

func (GetAlertContactsResultOutput) PhoneNum added in v3.9.0

func (GetAlertContactsResultOutput) ToGetAlertContactsResultOutput added in v3.9.0

func (o GetAlertContactsResultOutput) ToGetAlertContactsResultOutput() GetAlertContactsResultOutput

func (GetAlertContactsResultOutput) ToGetAlertContactsResultOutputWithContext added in v3.9.0

func (o GetAlertContactsResultOutput) ToGetAlertContactsResultOutputWithContext(ctx context.Context) GetAlertContactsResultOutput

type GetDispatchRulesArgs added in v3.8.0

type GetDispatchRulesArgs struct {
	// The name of the dispatch rule.
	DispatchRuleName *string `pulumi:"dispatchRuleName"`
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails *bool `pulumi:"enableDetails"`
	// A list of dispatch rule id.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Dispatch Rule name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getDispatchRules.

type GetDispatchRulesOutputArgs added in v3.9.0

type GetDispatchRulesOutputArgs struct {
	// The name of the dispatch rule.
	DispatchRuleName pulumi.StringPtrInput `pulumi:"dispatchRuleName"`
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// A list of dispatch rule id.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Dispatch Rule name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getDispatchRules.

func (GetDispatchRulesOutputArgs) ElementType added in v3.9.0

func (GetDispatchRulesOutputArgs) ElementType() reflect.Type

type GetDispatchRulesResult added in v3.8.0

type GetDispatchRulesResult struct {
	DispatchRuleName *string `pulumi:"dispatchRuleName"`
	EnableDetails    *bool   `pulumi:"enableDetails"`
	// The provider-assigned unique ID for this managed resource.
	Id         string                 `pulumi:"id"`
	Ids        []string               `pulumi:"ids"`
	NameRegex  *string                `pulumi:"nameRegex"`
	Names      []string               `pulumi:"names"`
	OutputFile *string                `pulumi:"outputFile"`
	Rules      []GetDispatchRulesRule `pulumi:"rules"`
}

A collection of values returned by getDispatchRules.

func GetDispatchRules added in v3.8.0

func GetDispatchRules(ctx *pulumi.Context, args *GetDispatchRulesArgs, opts ...pulumi.InvokeOption) (*GetDispatchRulesResult, error)

This data source provides the Arms Dispatch Rules of the current Alibaba Cloud user.

> **NOTE:** Available in v1.136.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/arms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := arms.GetDispatchRules(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("armsDispatchRuleId1", ids.Rules[0].Id)
		nameRegex, err := arms.GetDispatchRules(ctx, &arms.GetDispatchRulesArgs{
			NameRegex: pulumi.StringRef("^my-DispatchRule"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("armsDispatchRuleId2", nameRegex.Rules[0].Id)
		return nil
	})
}

```

type GetDispatchRulesResultOutput added in v3.9.0

type GetDispatchRulesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDispatchRules.

func GetDispatchRulesOutput added in v3.9.0

func (GetDispatchRulesResultOutput) DispatchRuleName added in v3.9.0

func (GetDispatchRulesResultOutput) ElementType added in v3.9.0

func (GetDispatchRulesResultOutput) EnableDetails added in v3.9.0

func (GetDispatchRulesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetDispatchRulesResultOutput) Ids added in v3.9.0

func (GetDispatchRulesResultOutput) NameRegex added in v3.9.0

func (GetDispatchRulesResultOutput) Names added in v3.9.0

func (GetDispatchRulesResultOutput) OutputFile added in v3.9.0

func (GetDispatchRulesResultOutput) Rules added in v3.9.0

func (GetDispatchRulesResultOutput) ToGetDispatchRulesResultOutput added in v3.9.0

func (o GetDispatchRulesResultOutput) ToGetDispatchRulesResultOutput() GetDispatchRulesResultOutput

func (GetDispatchRulesResultOutput) ToGetDispatchRulesResultOutputWithContext added in v3.9.0

func (o GetDispatchRulesResultOutput) ToGetDispatchRulesResultOutputWithContext(ctx context.Context) GetDispatchRulesResultOutput

type GetDispatchRulesRule added in v3.8.0

type GetDispatchRulesRule struct {
	// Dispatch rule ID.
	DispatchRuleId string `pulumi:"dispatchRuleId"`
	// The name of the dispatch rule.
	DispatchRuleName string `pulumi:"dispatchRuleName"`
	DispatchType     string `pulumi:"dispatchType"`
	// Sets the event group.
	GroupRules []GetDispatchRulesRuleGroupRule `pulumi:"groupRules"`
	// The ID of the Dispatch Rule.
	Id string `pulumi:"id"`
	// Sets the dispatch rule.
	LabelMatchExpressionGrids []GetDispatchRulesRuleLabelMatchExpressionGrid `pulumi:"labelMatchExpressionGrids"`
	// Sets the notification rule.
	NotifyRules []GetDispatchRulesRuleNotifyRule `pulumi:"notifyRules"`
	// The resource status of Alert Dispatch Rule.
	Status string `pulumi:"status"`
}

type GetDispatchRulesRuleArgs added in v3.8.0

type GetDispatchRulesRuleArgs struct {
	// Dispatch rule ID.
	DispatchRuleId pulumi.StringInput `pulumi:"dispatchRuleId"`
	// The name of the dispatch rule.
	DispatchRuleName pulumi.StringInput `pulumi:"dispatchRuleName"`
	DispatchType     pulumi.StringInput `pulumi:"dispatchType"`
	// Sets the event group.
	GroupRules GetDispatchRulesRuleGroupRuleArrayInput `pulumi:"groupRules"`
	// The ID of the Dispatch Rule.
	Id pulumi.StringInput `pulumi:"id"`
	// Sets the dispatch rule.
	LabelMatchExpressionGrids GetDispatchRulesRuleLabelMatchExpressionGridArrayInput `pulumi:"labelMatchExpressionGrids"`
	// Sets the notification rule.
	NotifyRules GetDispatchRulesRuleNotifyRuleArrayInput `pulumi:"notifyRules"`
	// The resource status of Alert Dispatch Rule.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetDispatchRulesRuleArgs) ElementType added in v3.8.0

func (GetDispatchRulesRuleArgs) ElementType() reflect.Type

func (GetDispatchRulesRuleArgs) ToGetDispatchRulesRuleOutput added in v3.8.0

func (i GetDispatchRulesRuleArgs) ToGetDispatchRulesRuleOutput() GetDispatchRulesRuleOutput

func (GetDispatchRulesRuleArgs) ToGetDispatchRulesRuleOutputWithContext added in v3.8.0

func (i GetDispatchRulesRuleArgs) ToGetDispatchRulesRuleOutputWithContext(ctx context.Context) GetDispatchRulesRuleOutput

type GetDispatchRulesRuleArray added in v3.8.0

type GetDispatchRulesRuleArray []GetDispatchRulesRuleInput

func (GetDispatchRulesRuleArray) ElementType added in v3.8.0

func (GetDispatchRulesRuleArray) ElementType() reflect.Type

func (GetDispatchRulesRuleArray) ToGetDispatchRulesRuleArrayOutput added in v3.8.0

func (i GetDispatchRulesRuleArray) ToGetDispatchRulesRuleArrayOutput() GetDispatchRulesRuleArrayOutput

func (GetDispatchRulesRuleArray) ToGetDispatchRulesRuleArrayOutputWithContext added in v3.8.0

func (i GetDispatchRulesRuleArray) ToGetDispatchRulesRuleArrayOutputWithContext(ctx context.Context) GetDispatchRulesRuleArrayOutput

type GetDispatchRulesRuleArrayInput added in v3.8.0

type GetDispatchRulesRuleArrayInput interface {
	pulumi.Input

	ToGetDispatchRulesRuleArrayOutput() GetDispatchRulesRuleArrayOutput
	ToGetDispatchRulesRuleArrayOutputWithContext(context.Context) GetDispatchRulesRuleArrayOutput
}

GetDispatchRulesRuleArrayInput is an input type that accepts GetDispatchRulesRuleArray and GetDispatchRulesRuleArrayOutput values. You can construct a concrete instance of `GetDispatchRulesRuleArrayInput` via:

GetDispatchRulesRuleArray{ GetDispatchRulesRuleArgs{...} }

type GetDispatchRulesRuleArrayOutput added in v3.8.0

type GetDispatchRulesRuleArrayOutput struct{ *pulumi.OutputState }

func (GetDispatchRulesRuleArrayOutput) ElementType added in v3.8.0

func (GetDispatchRulesRuleArrayOutput) Index added in v3.8.0

func (GetDispatchRulesRuleArrayOutput) ToGetDispatchRulesRuleArrayOutput added in v3.8.0

func (o GetDispatchRulesRuleArrayOutput) ToGetDispatchRulesRuleArrayOutput() GetDispatchRulesRuleArrayOutput

func (GetDispatchRulesRuleArrayOutput) ToGetDispatchRulesRuleArrayOutputWithContext added in v3.8.0

func (o GetDispatchRulesRuleArrayOutput) ToGetDispatchRulesRuleArrayOutputWithContext(ctx context.Context) GetDispatchRulesRuleArrayOutput

type GetDispatchRulesRuleGroupRule added in v3.8.0

type GetDispatchRulesRuleGroupRule struct {
	GroupId int `pulumi:"groupId"`
	// The duration for which the system waits after the first alert is sent. After the duration, all alerts are sent in a single notification to the handler.
	GroupInterval int `pulumi:"groupInterval"`
	// The duration for which the system waits after the first alert is sent. After the duration, all alerts are sent in a single notification to the handler.
	GroupWaitTime int `pulumi:"groupWaitTime"`
	// The fields that are used to group events. Events with the same field content are assigned to a group. Alerts with the same specified grouping field are sent to the handler in separate notifications.
	GroupingFields []string `pulumi:"groupingFields"`
	// The silence period of repeated alerts. All alerts are repeatedly sent at specified intervals until the alerts are cleared. The minimum value is 61. Default to 600.
	RepeatInterval int `pulumi:"repeatInterval"`
}

type GetDispatchRulesRuleGroupRuleArgs added in v3.8.0

type GetDispatchRulesRuleGroupRuleArgs struct {
	GroupId pulumi.IntInput `pulumi:"groupId"`
	// The duration for which the system waits after the first alert is sent. After the duration, all alerts are sent in a single notification to the handler.
	GroupInterval pulumi.IntInput `pulumi:"groupInterval"`
	// The duration for which the system waits after the first alert is sent. After the duration, all alerts are sent in a single notification to the handler.
	GroupWaitTime pulumi.IntInput `pulumi:"groupWaitTime"`
	// The fields that are used to group events. Events with the same field content are assigned to a group. Alerts with the same specified grouping field are sent to the handler in separate notifications.
	GroupingFields pulumi.StringArrayInput `pulumi:"groupingFields"`
	// The silence period of repeated alerts. All alerts are repeatedly sent at specified intervals until the alerts are cleared. The minimum value is 61. Default to 600.
	RepeatInterval pulumi.IntInput `pulumi:"repeatInterval"`
}

func (GetDispatchRulesRuleGroupRuleArgs) ElementType added in v3.8.0

func (GetDispatchRulesRuleGroupRuleArgs) ToGetDispatchRulesRuleGroupRuleOutput added in v3.8.0

func (i GetDispatchRulesRuleGroupRuleArgs) ToGetDispatchRulesRuleGroupRuleOutput() GetDispatchRulesRuleGroupRuleOutput

func (GetDispatchRulesRuleGroupRuleArgs) ToGetDispatchRulesRuleGroupRuleOutputWithContext added in v3.8.0

func (i GetDispatchRulesRuleGroupRuleArgs) ToGetDispatchRulesRuleGroupRuleOutputWithContext(ctx context.Context) GetDispatchRulesRuleGroupRuleOutput

type GetDispatchRulesRuleGroupRuleArray added in v3.8.0

type GetDispatchRulesRuleGroupRuleArray []GetDispatchRulesRuleGroupRuleInput

func (GetDispatchRulesRuleGroupRuleArray) ElementType added in v3.8.0

func (GetDispatchRulesRuleGroupRuleArray) ToGetDispatchRulesRuleGroupRuleArrayOutput added in v3.8.0

func (i GetDispatchRulesRuleGroupRuleArray) ToGetDispatchRulesRuleGroupRuleArrayOutput() GetDispatchRulesRuleGroupRuleArrayOutput

func (GetDispatchRulesRuleGroupRuleArray) ToGetDispatchRulesRuleGroupRuleArrayOutputWithContext added in v3.8.0

func (i GetDispatchRulesRuleGroupRuleArray) ToGetDispatchRulesRuleGroupRuleArrayOutputWithContext(ctx context.Context) GetDispatchRulesRuleGroupRuleArrayOutput

type GetDispatchRulesRuleGroupRuleArrayInput added in v3.8.0

type GetDispatchRulesRuleGroupRuleArrayInput interface {
	pulumi.Input

	ToGetDispatchRulesRuleGroupRuleArrayOutput() GetDispatchRulesRuleGroupRuleArrayOutput
	ToGetDispatchRulesRuleGroupRuleArrayOutputWithContext(context.Context) GetDispatchRulesRuleGroupRuleArrayOutput
}

GetDispatchRulesRuleGroupRuleArrayInput is an input type that accepts GetDispatchRulesRuleGroupRuleArray and GetDispatchRulesRuleGroupRuleArrayOutput values. You can construct a concrete instance of `GetDispatchRulesRuleGroupRuleArrayInput` via:

GetDispatchRulesRuleGroupRuleArray{ GetDispatchRulesRuleGroupRuleArgs{...} }

type GetDispatchRulesRuleGroupRuleArrayOutput added in v3.8.0

type GetDispatchRulesRuleGroupRuleArrayOutput struct{ *pulumi.OutputState }

func (GetDispatchRulesRuleGroupRuleArrayOutput) ElementType added in v3.8.0

func (GetDispatchRulesRuleGroupRuleArrayOutput) Index added in v3.8.0

func (GetDispatchRulesRuleGroupRuleArrayOutput) ToGetDispatchRulesRuleGroupRuleArrayOutput added in v3.8.0

func (o GetDispatchRulesRuleGroupRuleArrayOutput) ToGetDispatchRulesRuleGroupRuleArrayOutput() GetDispatchRulesRuleGroupRuleArrayOutput

func (GetDispatchRulesRuleGroupRuleArrayOutput) ToGetDispatchRulesRuleGroupRuleArrayOutputWithContext added in v3.8.0

func (o GetDispatchRulesRuleGroupRuleArrayOutput) ToGetDispatchRulesRuleGroupRuleArrayOutputWithContext(ctx context.Context) GetDispatchRulesRuleGroupRuleArrayOutput

type GetDispatchRulesRuleGroupRuleInput added in v3.8.0

type GetDispatchRulesRuleGroupRuleInput interface {
	pulumi.Input

	ToGetDispatchRulesRuleGroupRuleOutput() GetDispatchRulesRuleGroupRuleOutput
	ToGetDispatchRulesRuleGroupRuleOutputWithContext(context.Context) GetDispatchRulesRuleGroupRuleOutput
}

GetDispatchRulesRuleGroupRuleInput is an input type that accepts GetDispatchRulesRuleGroupRuleArgs and GetDispatchRulesRuleGroupRuleOutput values. You can construct a concrete instance of `GetDispatchRulesRuleGroupRuleInput` via:

GetDispatchRulesRuleGroupRuleArgs{...}

type GetDispatchRulesRuleGroupRuleOutput added in v3.8.0

type GetDispatchRulesRuleGroupRuleOutput struct{ *pulumi.OutputState }

func (GetDispatchRulesRuleGroupRuleOutput) ElementType added in v3.8.0

func (GetDispatchRulesRuleGroupRuleOutput) GroupId added in v3.8.0

func (GetDispatchRulesRuleGroupRuleOutput) GroupInterval added in v3.8.0

The duration for which the system waits after the first alert is sent. After the duration, all alerts are sent in a single notification to the handler.

func (GetDispatchRulesRuleGroupRuleOutput) GroupWaitTime added in v3.8.0

The duration for which the system waits after the first alert is sent. After the duration, all alerts are sent in a single notification to the handler.

func (GetDispatchRulesRuleGroupRuleOutput) GroupingFields added in v3.8.0

The fields that are used to group events. Events with the same field content are assigned to a group. Alerts with the same specified grouping field are sent to the handler in separate notifications.

func (GetDispatchRulesRuleGroupRuleOutput) RepeatInterval added in v3.8.0

The silence period of repeated alerts. All alerts are repeatedly sent at specified intervals until the alerts are cleared. The minimum value is 61. Default to 600.

func (GetDispatchRulesRuleGroupRuleOutput) ToGetDispatchRulesRuleGroupRuleOutput added in v3.8.0

func (o GetDispatchRulesRuleGroupRuleOutput) ToGetDispatchRulesRuleGroupRuleOutput() GetDispatchRulesRuleGroupRuleOutput

func (GetDispatchRulesRuleGroupRuleOutput) ToGetDispatchRulesRuleGroupRuleOutputWithContext added in v3.8.0

func (o GetDispatchRulesRuleGroupRuleOutput) ToGetDispatchRulesRuleGroupRuleOutputWithContext(ctx context.Context) GetDispatchRulesRuleGroupRuleOutput

type GetDispatchRulesRuleInput added in v3.8.0

type GetDispatchRulesRuleInput interface {
	pulumi.Input

	ToGetDispatchRulesRuleOutput() GetDispatchRulesRuleOutput
	ToGetDispatchRulesRuleOutputWithContext(context.Context) GetDispatchRulesRuleOutput
}

GetDispatchRulesRuleInput is an input type that accepts GetDispatchRulesRuleArgs and GetDispatchRulesRuleOutput values. You can construct a concrete instance of `GetDispatchRulesRuleInput` via:

GetDispatchRulesRuleArgs{...}

type GetDispatchRulesRuleLabelMatchExpressionGrid added in v3.8.0

type GetDispatchRulesRuleLabelMatchExpressionGrid struct {
	// Sets the dispatch rule.
	LabelMatchExpressionGroups []GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroup `pulumi:"labelMatchExpressionGroups"`
}

type GetDispatchRulesRuleLabelMatchExpressionGridArgs added in v3.8.0

type GetDispatchRulesRuleLabelMatchExpressionGridArgs struct {
	// Sets the dispatch rule.
	LabelMatchExpressionGroups GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayInput `pulumi:"labelMatchExpressionGroups"`
}

func (GetDispatchRulesRuleLabelMatchExpressionGridArgs) ElementType added in v3.8.0

func (GetDispatchRulesRuleLabelMatchExpressionGridArgs) ToGetDispatchRulesRuleLabelMatchExpressionGridOutput added in v3.8.0

func (i GetDispatchRulesRuleLabelMatchExpressionGridArgs) ToGetDispatchRulesRuleLabelMatchExpressionGridOutput() GetDispatchRulesRuleLabelMatchExpressionGridOutput

func (GetDispatchRulesRuleLabelMatchExpressionGridArgs) ToGetDispatchRulesRuleLabelMatchExpressionGridOutputWithContext added in v3.8.0

func (i GetDispatchRulesRuleLabelMatchExpressionGridArgs) ToGetDispatchRulesRuleLabelMatchExpressionGridOutputWithContext(ctx context.Context) GetDispatchRulesRuleLabelMatchExpressionGridOutput

type GetDispatchRulesRuleLabelMatchExpressionGridArray added in v3.8.0

type GetDispatchRulesRuleLabelMatchExpressionGridArray []GetDispatchRulesRuleLabelMatchExpressionGridInput

func (GetDispatchRulesRuleLabelMatchExpressionGridArray) ElementType added in v3.8.0

func (GetDispatchRulesRuleLabelMatchExpressionGridArray) ToGetDispatchRulesRuleLabelMatchExpressionGridArrayOutput added in v3.8.0

func (i GetDispatchRulesRuleLabelMatchExpressionGridArray) ToGetDispatchRulesRuleLabelMatchExpressionGridArrayOutput() GetDispatchRulesRuleLabelMatchExpressionGridArrayOutput

func (GetDispatchRulesRuleLabelMatchExpressionGridArray) ToGetDispatchRulesRuleLabelMatchExpressionGridArrayOutputWithContext added in v3.8.0

func (i GetDispatchRulesRuleLabelMatchExpressionGridArray) ToGetDispatchRulesRuleLabelMatchExpressionGridArrayOutputWithContext(ctx context.Context) GetDispatchRulesRuleLabelMatchExpressionGridArrayOutput

type GetDispatchRulesRuleLabelMatchExpressionGridArrayInput added in v3.8.0

type GetDispatchRulesRuleLabelMatchExpressionGridArrayInput interface {
	pulumi.Input

	ToGetDispatchRulesRuleLabelMatchExpressionGridArrayOutput() GetDispatchRulesRuleLabelMatchExpressionGridArrayOutput
	ToGetDispatchRulesRuleLabelMatchExpressionGridArrayOutputWithContext(context.Context) GetDispatchRulesRuleLabelMatchExpressionGridArrayOutput
}

GetDispatchRulesRuleLabelMatchExpressionGridArrayInput is an input type that accepts GetDispatchRulesRuleLabelMatchExpressionGridArray and GetDispatchRulesRuleLabelMatchExpressionGridArrayOutput values. You can construct a concrete instance of `GetDispatchRulesRuleLabelMatchExpressionGridArrayInput` via:

GetDispatchRulesRuleLabelMatchExpressionGridArray{ GetDispatchRulesRuleLabelMatchExpressionGridArgs{...} }

type GetDispatchRulesRuleLabelMatchExpressionGridArrayOutput added in v3.8.0

type GetDispatchRulesRuleLabelMatchExpressionGridArrayOutput struct{ *pulumi.OutputState }

func (GetDispatchRulesRuleLabelMatchExpressionGridArrayOutput) ElementType added in v3.8.0

func (GetDispatchRulesRuleLabelMatchExpressionGridArrayOutput) Index added in v3.8.0

func (GetDispatchRulesRuleLabelMatchExpressionGridArrayOutput) ToGetDispatchRulesRuleLabelMatchExpressionGridArrayOutput added in v3.8.0

func (GetDispatchRulesRuleLabelMatchExpressionGridArrayOutput) ToGetDispatchRulesRuleLabelMatchExpressionGridArrayOutputWithContext added in v3.8.0

func (o GetDispatchRulesRuleLabelMatchExpressionGridArrayOutput) ToGetDispatchRulesRuleLabelMatchExpressionGridArrayOutputWithContext(ctx context.Context) GetDispatchRulesRuleLabelMatchExpressionGridArrayOutput

type GetDispatchRulesRuleLabelMatchExpressionGridInput added in v3.8.0

type GetDispatchRulesRuleLabelMatchExpressionGridInput interface {
	pulumi.Input

	ToGetDispatchRulesRuleLabelMatchExpressionGridOutput() GetDispatchRulesRuleLabelMatchExpressionGridOutput
	ToGetDispatchRulesRuleLabelMatchExpressionGridOutputWithContext(context.Context) GetDispatchRulesRuleLabelMatchExpressionGridOutput
}

GetDispatchRulesRuleLabelMatchExpressionGridInput is an input type that accepts GetDispatchRulesRuleLabelMatchExpressionGridArgs and GetDispatchRulesRuleLabelMatchExpressionGridOutput values. You can construct a concrete instance of `GetDispatchRulesRuleLabelMatchExpressionGridInput` via:

GetDispatchRulesRuleLabelMatchExpressionGridArgs{...}

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroup added in v3.8.0

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroup struct {
	// Sets the dispatch rule.
	LabelMatchExpressions []GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpression `pulumi:"labelMatchExpressions"`
}

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArgs added in v3.8.0

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArgs struct {
	// Sets the dispatch rule.
	LabelMatchExpressions GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayInput `pulumi:"labelMatchExpressions"`
}

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArgs) ElementType added in v3.8.0

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArgs) ToGetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput added in v3.8.0

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArgs) ToGetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutputWithContext added in v3.8.0

func (i GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArgs) ToGetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutputWithContext(ctx context.Context) GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArray added in v3.8.0

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArray []GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupInput

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArray) ElementType added in v3.8.0

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArray) ToGetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutput added in v3.8.0

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArray) ToGetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutputWithContext added in v3.8.0

func (i GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArray) ToGetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutputWithContext(ctx context.Context) GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutput

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayInput added in v3.8.0

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayInput interface {
	pulumi.Input

	ToGetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutput() GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutput
	ToGetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutputWithContext(context.Context) GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutput
}

GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayInput is an input type that accepts GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArray and GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutput values. You can construct a concrete instance of `GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayInput` via:

GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArray{ GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArgs{...} }

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutput added in v3.8.0

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutput struct{ *pulumi.OutputState }

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutput) ElementType added in v3.8.0

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutput) Index added in v3.8.0

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutput) ToGetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutput added in v3.8.0

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutput) ToGetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArrayOutputWithContext added in v3.8.0

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupInput added in v3.8.0

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupInput interface {
	pulumi.Input

	ToGetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput() GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput
	ToGetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutputWithContext(context.Context) GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput
}

GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupInput is an input type that accepts GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArgs and GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput values. You can construct a concrete instance of `GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupInput` via:

GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupArgs{...}

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpression added in v3.8.0

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpression struct {
	// The key of the tag of the dispatch rule.
	Key string `pulumi:"key"`
	// The operator used in the dispatch rule.
	Operator string `pulumi:"operator"`
	// The value of the tag.
	Value string `pulumi:"value"`
}

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArgs added in v3.8.0

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArgs struct {
	// The key of the tag of the dispatch rule.
	Key pulumi.StringInput `pulumi:"key"`
	// The operator used in the dispatch rule.
	Operator pulumi.StringInput `pulumi:"operator"`
	// The value of the tag.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArgs) ElementType added in v3.8.0

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArgs) ToGetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput added in v3.8.0

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArgs) ToGetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutputWithContext added in v3.8.0

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArray added in v3.8.0

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArray []GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionInput

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArray) ElementType added in v3.8.0

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArray) ToGetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutput added in v3.8.0

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArray) ToGetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutputWithContext added in v3.8.0

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayInput added in v3.8.0

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayInput interface {
	pulumi.Input

	ToGetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutput() GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutput
	ToGetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutputWithContext(context.Context) GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutput
}

GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayInput is an input type that accepts GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArray and GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutput values. You can construct a concrete instance of `GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayInput` via:

GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArray{ GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArgs{...} }

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutput added in v3.8.0

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutput struct{ *pulumi.OutputState }

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutput) ElementType added in v3.8.0

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutput) Index added in v3.8.0

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutput) ToGetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutput added in v3.8.0

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutput) ToGetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArrayOutputWithContext added in v3.8.0

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionInput added in v3.8.0

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionInput interface {
	pulumi.Input

	ToGetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput() GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput
	ToGetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutputWithContext(context.Context) GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput
}

GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionInput is an input type that accepts GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArgs and GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput values. You can construct a concrete instance of `GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionInput` via:

GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionArgs{...}

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput added in v3.8.0

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput struct{ *pulumi.OutputState }

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput) ElementType added in v3.8.0

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput) Key added in v3.8.0

The key of the tag of the dispatch rule.

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput) Operator added in v3.8.0

The operator used in the dispatch rule.

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput) ToGetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput added in v3.8.0

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput) ToGetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutputWithContext added in v3.8.0

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupLabelMatchExpressionOutput) Value added in v3.8.0

The value of the tag.

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput added in v3.8.0

type GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput struct{ *pulumi.OutputState }

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput) ElementType added in v3.8.0

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput) LabelMatchExpressions added in v3.8.0

Sets the dispatch rule.

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput) ToGetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput added in v3.8.0

func (GetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutput) ToGetDispatchRulesRuleLabelMatchExpressionGridLabelMatchExpressionGroupOutputWithContext added in v3.8.0

type GetDispatchRulesRuleLabelMatchExpressionGridOutput added in v3.8.0

type GetDispatchRulesRuleLabelMatchExpressionGridOutput struct{ *pulumi.OutputState }

func (GetDispatchRulesRuleLabelMatchExpressionGridOutput) ElementType added in v3.8.0

func (GetDispatchRulesRuleLabelMatchExpressionGridOutput) LabelMatchExpressionGroups added in v3.8.0

Sets the dispatch rule.

func (GetDispatchRulesRuleLabelMatchExpressionGridOutput) ToGetDispatchRulesRuleLabelMatchExpressionGridOutput added in v3.8.0

func (o GetDispatchRulesRuleLabelMatchExpressionGridOutput) ToGetDispatchRulesRuleLabelMatchExpressionGridOutput() GetDispatchRulesRuleLabelMatchExpressionGridOutput

func (GetDispatchRulesRuleLabelMatchExpressionGridOutput) ToGetDispatchRulesRuleLabelMatchExpressionGridOutputWithContext added in v3.8.0

func (o GetDispatchRulesRuleLabelMatchExpressionGridOutput) ToGetDispatchRulesRuleLabelMatchExpressionGridOutputWithContext(ctx context.Context) GetDispatchRulesRuleLabelMatchExpressionGridOutput

type GetDispatchRulesRuleNotifyRule added in v3.8.0

type GetDispatchRulesRuleNotifyRule struct {
	// The notification method.
	NotifyChannels []string `pulumi:"notifyChannels"`
	// Sets the notification object.
	NotifyObjects []GetDispatchRulesRuleNotifyRuleNotifyObject `pulumi:"notifyObjects"`
}

type GetDispatchRulesRuleNotifyRuleArgs added in v3.8.0

type GetDispatchRulesRuleNotifyRuleArgs struct {
	// The notification method.
	NotifyChannels pulumi.StringArrayInput `pulumi:"notifyChannels"`
	// Sets the notification object.
	NotifyObjects GetDispatchRulesRuleNotifyRuleNotifyObjectArrayInput `pulumi:"notifyObjects"`
}

func (GetDispatchRulesRuleNotifyRuleArgs) ElementType added in v3.8.0

func (GetDispatchRulesRuleNotifyRuleArgs) ToGetDispatchRulesRuleNotifyRuleOutput added in v3.8.0

func (i GetDispatchRulesRuleNotifyRuleArgs) ToGetDispatchRulesRuleNotifyRuleOutput() GetDispatchRulesRuleNotifyRuleOutput

func (GetDispatchRulesRuleNotifyRuleArgs) ToGetDispatchRulesRuleNotifyRuleOutputWithContext added in v3.8.0

func (i GetDispatchRulesRuleNotifyRuleArgs) ToGetDispatchRulesRuleNotifyRuleOutputWithContext(ctx context.Context) GetDispatchRulesRuleNotifyRuleOutput

type GetDispatchRulesRuleNotifyRuleArray added in v3.8.0

type GetDispatchRulesRuleNotifyRuleArray []GetDispatchRulesRuleNotifyRuleInput

func (GetDispatchRulesRuleNotifyRuleArray) ElementType added in v3.8.0

func (GetDispatchRulesRuleNotifyRuleArray) ToGetDispatchRulesRuleNotifyRuleArrayOutput added in v3.8.0

func (i GetDispatchRulesRuleNotifyRuleArray) ToGetDispatchRulesRuleNotifyRuleArrayOutput() GetDispatchRulesRuleNotifyRuleArrayOutput

func (GetDispatchRulesRuleNotifyRuleArray) ToGetDispatchRulesRuleNotifyRuleArrayOutputWithContext added in v3.8.0

func (i GetDispatchRulesRuleNotifyRuleArray) ToGetDispatchRulesRuleNotifyRuleArrayOutputWithContext(ctx context.Context) GetDispatchRulesRuleNotifyRuleArrayOutput

type GetDispatchRulesRuleNotifyRuleArrayInput added in v3.8.0

type GetDispatchRulesRuleNotifyRuleArrayInput interface {
	pulumi.Input

	ToGetDispatchRulesRuleNotifyRuleArrayOutput() GetDispatchRulesRuleNotifyRuleArrayOutput
	ToGetDispatchRulesRuleNotifyRuleArrayOutputWithContext(context.Context) GetDispatchRulesRuleNotifyRuleArrayOutput
}

GetDispatchRulesRuleNotifyRuleArrayInput is an input type that accepts GetDispatchRulesRuleNotifyRuleArray and GetDispatchRulesRuleNotifyRuleArrayOutput values. You can construct a concrete instance of `GetDispatchRulesRuleNotifyRuleArrayInput` via:

GetDispatchRulesRuleNotifyRuleArray{ GetDispatchRulesRuleNotifyRuleArgs{...} }

type GetDispatchRulesRuleNotifyRuleArrayOutput added in v3.8.0

type GetDispatchRulesRuleNotifyRuleArrayOutput struct{ *pulumi.OutputState }

func (GetDispatchRulesRuleNotifyRuleArrayOutput) ElementType added in v3.8.0

func (GetDispatchRulesRuleNotifyRuleArrayOutput) Index added in v3.8.0

func (GetDispatchRulesRuleNotifyRuleArrayOutput) ToGetDispatchRulesRuleNotifyRuleArrayOutput added in v3.8.0

func (o GetDispatchRulesRuleNotifyRuleArrayOutput) ToGetDispatchRulesRuleNotifyRuleArrayOutput() GetDispatchRulesRuleNotifyRuleArrayOutput

func (GetDispatchRulesRuleNotifyRuleArrayOutput) ToGetDispatchRulesRuleNotifyRuleArrayOutputWithContext added in v3.8.0

func (o GetDispatchRulesRuleNotifyRuleArrayOutput) ToGetDispatchRulesRuleNotifyRuleArrayOutputWithContext(ctx context.Context) GetDispatchRulesRuleNotifyRuleArrayOutput

type GetDispatchRulesRuleNotifyRuleInput added in v3.8.0

type GetDispatchRulesRuleNotifyRuleInput interface {
	pulumi.Input

	ToGetDispatchRulesRuleNotifyRuleOutput() GetDispatchRulesRuleNotifyRuleOutput
	ToGetDispatchRulesRuleNotifyRuleOutputWithContext(context.Context) GetDispatchRulesRuleNotifyRuleOutput
}

GetDispatchRulesRuleNotifyRuleInput is an input type that accepts GetDispatchRulesRuleNotifyRuleArgs and GetDispatchRulesRuleNotifyRuleOutput values. You can construct a concrete instance of `GetDispatchRulesRuleNotifyRuleInput` via:

GetDispatchRulesRuleNotifyRuleArgs{...}

type GetDispatchRulesRuleNotifyRuleNotifyObject added in v3.8.0

type GetDispatchRulesRuleNotifyRuleNotifyObject struct {
	// The name of the contact or contact group.
	Name string `pulumi:"name"`
	// The ID of the contact or contact group.
	NotifyObjectId string `pulumi:"notifyObjectId"`
	// The type of the alert contact.
	NotifyType string `pulumi:"notifyType"`
}

type GetDispatchRulesRuleNotifyRuleNotifyObjectArgs added in v3.8.0

type GetDispatchRulesRuleNotifyRuleNotifyObjectArgs struct {
	// The name of the contact or contact group.
	Name pulumi.StringInput `pulumi:"name"`
	// The ID of the contact or contact group.
	NotifyObjectId pulumi.StringInput `pulumi:"notifyObjectId"`
	// The type of the alert contact.
	NotifyType pulumi.StringInput `pulumi:"notifyType"`
}

func (GetDispatchRulesRuleNotifyRuleNotifyObjectArgs) ElementType added in v3.8.0

func (GetDispatchRulesRuleNotifyRuleNotifyObjectArgs) ToGetDispatchRulesRuleNotifyRuleNotifyObjectOutput added in v3.8.0

func (i GetDispatchRulesRuleNotifyRuleNotifyObjectArgs) ToGetDispatchRulesRuleNotifyRuleNotifyObjectOutput() GetDispatchRulesRuleNotifyRuleNotifyObjectOutput

func (GetDispatchRulesRuleNotifyRuleNotifyObjectArgs) ToGetDispatchRulesRuleNotifyRuleNotifyObjectOutputWithContext added in v3.8.0

func (i GetDispatchRulesRuleNotifyRuleNotifyObjectArgs) ToGetDispatchRulesRuleNotifyRuleNotifyObjectOutputWithContext(ctx context.Context) GetDispatchRulesRuleNotifyRuleNotifyObjectOutput

type GetDispatchRulesRuleNotifyRuleNotifyObjectArray added in v3.8.0

type GetDispatchRulesRuleNotifyRuleNotifyObjectArray []GetDispatchRulesRuleNotifyRuleNotifyObjectInput

func (GetDispatchRulesRuleNotifyRuleNotifyObjectArray) ElementType added in v3.8.0

func (GetDispatchRulesRuleNotifyRuleNotifyObjectArray) ToGetDispatchRulesRuleNotifyRuleNotifyObjectArrayOutput added in v3.8.0

func (i GetDispatchRulesRuleNotifyRuleNotifyObjectArray) ToGetDispatchRulesRuleNotifyRuleNotifyObjectArrayOutput() GetDispatchRulesRuleNotifyRuleNotifyObjectArrayOutput

func (GetDispatchRulesRuleNotifyRuleNotifyObjectArray) ToGetDispatchRulesRuleNotifyRuleNotifyObjectArrayOutputWithContext added in v3.8.0

func (i GetDispatchRulesRuleNotifyRuleNotifyObjectArray) ToGetDispatchRulesRuleNotifyRuleNotifyObjectArrayOutputWithContext(ctx context.Context) GetDispatchRulesRuleNotifyRuleNotifyObjectArrayOutput

type GetDispatchRulesRuleNotifyRuleNotifyObjectArrayInput added in v3.8.0

type GetDispatchRulesRuleNotifyRuleNotifyObjectArrayInput interface {
	pulumi.Input

	ToGetDispatchRulesRuleNotifyRuleNotifyObjectArrayOutput() GetDispatchRulesRuleNotifyRuleNotifyObjectArrayOutput
	ToGetDispatchRulesRuleNotifyRuleNotifyObjectArrayOutputWithContext(context.Context) GetDispatchRulesRuleNotifyRuleNotifyObjectArrayOutput
}

GetDispatchRulesRuleNotifyRuleNotifyObjectArrayInput is an input type that accepts GetDispatchRulesRuleNotifyRuleNotifyObjectArray and GetDispatchRulesRuleNotifyRuleNotifyObjectArrayOutput values. You can construct a concrete instance of `GetDispatchRulesRuleNotifyRuleNotifyObjectArrayInput` via:

GetDispatchRulesRuleNotifyRuleNotifyObjectArray{ GetDispatchRulesRuleNotifyRuleNotifyObjectArgs{...} }

type GetDispatchRulesRuleNotifyRuleNotifyObjectArrayOutput added in v3.8.0

type GetDispatchRulesRuleNotifyRuleNotifyObjectArrayOutput struct{ *pulumi.OutputState }

func (GetDispatchRulesRuleNotifyRuleNotifyObjectArrayOutput) ElementType added in v3.8.0

func (GetDispatchRulesRuleNotifyRuleNotifyObjectArrayOutput) Index added in v3.8.0

func (GetDispatchRulesRuleNotifyRuleNotifyObjectArrayOutput) ToGetDispatchRulesRuleNotifyRuleNotifyObjectArrayOutput added in v3.8.0

func (GetDispatchRulesRuleNotifyRuleNotifyObjectArrayOutput) ToGetDispatchRulesRuleNotifyRuleNotifyObjectArrayOutputWithContext added in v3.8.0

func (o GetDispatchRulesRuleNotifyRuleNotifyObjectArrayOutput) ToGetDispatchRulesRuleNotifyRuleNotifyObjectArrayOutputWithContext(ctx context.Context) GetDispatchRulesRuleNotifyRuleNotifyObjectArrayOutput

type GetDispatchRulesRuleNotifyRuleNotifyObjectInput added in v3.8.0

type GetDispatchRulesRuleNotifyRuleNotifyObjectInput interface {
	pulumi.Input

	ToGetDispatchRulesRuleNotifyRuleNotifyObjectOutput() GetDispatchRulesRuleNotifyRuleNotifyObjectOutput
	ToGetDispatchRulesRuleNotifyRuleNotifyObjectOutputWithContext(context.Context) GetDispatchRulesRuleNotifyRuleNotifyObjectOutput
}

GetDispatchRulesRuleNotifyRuleNotifyObjectInput is an input type that accepts GetDispatchRulesRuleNotifyRuleNotifyObjectArgs and GetDispatchRulesRuleNotifyRuleNotifyObjectOutput values. You can construct a concrete instance of `GetDispatchRulesRuleNotifyRuleNotifyObjectInput` via:

GetDispatchRulesRuleNotifyRuleNotifyObjectArgs{...}

type GetDispatchRulesRuleNotifyRuleNotifyObjectOutput added in v3.8.0

type GetDispatchRulesRuleNotifyRuleNotifyObjectOutput struct{ *pulumi.OutputState }

func (GetDispatchRulesRuleNotifyRuleNotifyObjectOutput) ElementType added in v3.8.0

func (GetDispatchRulesRuleNotifyRuleNotifyObjectOutput) Name added in v3.8.0

The name of the contact or contact group.

func (GetDispatchRulesRuleNotifyRuleNotifyObjectOutput) NotifyObjectId added in v3.8.0

The ID of the contact or contact group.

func (GetDispatchRulesRuleNotifyRuleNotifyObjectOutput) NotifyType added in v3.8.0

The type of the alert contact.

func (GetDispatchRulesRuleNotifyRuleNotifyObjectOutput) ToGetDispatchRulesRuleNotifyRuleNotifyObjectOutput added in v3.8.0

func (o GetDispatchRulesRuleNotifyRuleNotifyObjectOutput) ToGetDispatchRulesRuleNotifyRuleNotifyObjectOutput() GetDispatchRulesRuleNotifyRuleNotifyObjectOutput

func (GetDispatchRulesRuleNotifyRuleNotifyObjectOutput) ToGetDispatchRulesRuleNotifyRuleNotifyObjectOutputWithContext added in v3.8.0

func (o GetDispatchRulesRuleNotifyRuleNotifyObjectOutput) ToGetDispatchRulesRuleNotifyRuleNotifyObjectOutputWithContext(ctx context.Context) GetDispatchRulesRuleNotifyRuleNotifyObjectOutput

type GetDispatchRulesRuleNotifyRuleOutput added in v3.8.0

type GetDispatchRulesRuleNotifyRuleOutput struct{ *pulumi.OutputState }

func (GetDispatchRulesRuleNotifyRuleOutput) ElementType added in v3.8.0

func (GetDispatchRulesRuleNotifyRuleOutput) NotifyChannels added in v3.8.0

The notification method.

func (GetDispatchRulesRuleNotifyRuleOutput) NotifyObjects added in v3.8.0

Sets the notification object.

func (GetDispatchRulesRuleNotifyRuleOutput) ToGetDispatchRulesRuleNotifyRuleOutput added in v3.8.0

func (o GetDispatchRulesRuleNotifyRuleOutput) ToGetDispatchRulesRuleNotifyRuleOutput() GetDispatchRulesRuleNotifyRuleOutput

func (GetDispatchRulesRuleNotifyRuleOutput) ToGetDispatchRulesRuleNotifyRuleOutputWithContext added in v3.8.0

func (o GetDispatchRulesRuleNotifyRuleOutput) ToGetDispatchRulesRuleNotifyRuleOutputWithContext(ctx context.Context) GetDispatchRulesRuleNotifyRuleOutput

type GetDispatchRulesRuleOutput added in v3.8.0

type GetDispatchRulesRuleOutput struct{ *pulumi.OutputState }

func (GetDispatchRulesRuleOutput) DispatchRuleId added in v3.8.0

func (o GetDispatchRulesRuleOutput) DispatchRuleId() pulumi.StringOutput

Dispatch rule ID.

func (GetDispatchRulesRuleOutput) DispatchRuleName added in v3.8.0

func (o GetDispatchRulesRuleOutput) DispatchRuleName() pulumi.StringOutput

The name of the dispatch rule.

func (GetDispatchRulesRuleOutput) DispatchType added in v3.8.0

func (GetDispatchRulesRuleOutput) ElementType added in v3.8.0

func (GetDispatchRulesRuleOutput) ElementType() reflect.Type

func (GetDispatchRulesRuleOutput) GroupRules added in v3.8.0

Sets the event group.

func (GetDispatchRulesRuleOutput) Id added in v3.8.0

The ID of the Dispatch Rule.

func (GetDispatchRulesRuleOutput) LabelMatchExpressionGrids added in v3.8.0

Sets the dispatch rule.

func (GetDispatchRulesRuleOutput) NotifyRules added in v3.8.0

Sets the notification rule.

func (GetDispatchRulesRuleOutput) Status added in v3.8.0

The resource status of Alert Dispatch Rule.

func (GetDispatchRulesRuleOutput) ToGetDispatchRulesRuleOutput added in v3.8.0

func (o GetDispatchRulesRuleOutput) ToGetDispatchRulesRuleOutput() GetDispatchRulesRuleOutput

func (GetDispatchRulesRuleOutput) ToGetDispatchRulesRuleOutputWithContext added in v3.8.0

func (o GetDispatchRulesRuleOutput) ToGetDispatchRulesRuleOutputWithContext(ctx context.Context) GetDispatchRulesRuleOutput

type GetPrometheusAlertRulesArgs added in v3.8.0

type GetPrometheusAlertRulesArgs struct {
	// The ID of the cluster.
	ClusterId string `pulumi:"clusterId"`
	// A list of Prometheus Alert Rule IDs.
	Ids              []string `pulumi:"ids"`
	MatchExpressions *string  `pulumi:"matchExpressions"`
	// A regex string to filter results by Prometheus Alert Rule name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// The status of the resource. Valid values: `0`, `1`.
	// * `1`: open.
	// * `0`: off.
	Status *int `pulumi:"status"`
	// The type of the alert rule.
	Type *string `pulumi:"type"`
}

A collection of arguments for invoking getPrometheusAlertRules.

type GetPrometheusAlertRulesOutputArgs added in v3.9.0

type GetPrometheusAlertRulesOutputArgs struct {
	// The ID of the cluster.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// A list of Prometheus Alert Rule IDs.
	Ids              pulumi.StringArrayInput `pulumi:"ids"`
	MatchExpressions pulumi.StringPtrInput   `pulumi:"matchExpressions"`
	// A regex string to filter results by Prometheus Alert Rule name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of the resource. Valid values: `0`, `1`.
	// * `1`: open.
	// * `0`: off.
	Status pulumi.IntPtrInput `pulumi:"status"`
	// The type of the alert rule.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

A collection of arguments for invoking getPrometheusAlertRules.

func (GetPrometheusAlertRulesOutputArgs) ElementType added in v3.9.0

type GetPrometheusAlertRulesResult added in v3.8.0

type GetPrometheusAlertRulesResult struct {
	ClusterId string `pulumi:"clusterId"`
	// The provider-assigned unique ID for this managed resource.
	Id               string                        `pulumi:"id"`
	Ids              []string                      `pulumi:"ids"`
	MatchExpressions *string                       `pulumi:"matchExpressions"`
	NameRegex        *string                       `pulumi:"nameRegex"`
	Names            []string                      `pulumi:"names"`
	OutputFile       *string                       `pulumi:"outputFile"`
	Rules            []GetPrometheusAlertRulesRule `pulumi:"rules"`
	Status           *int                          `pulumi:"status"`
	Type             *string                       `pulumi:"type"`
}

A collection of values returned by getPrometheusAlertRules.

func GetPrometheusAlertRules added in v3.8.0

func GetPrometheusAlertRules(ctx *pulumi.Context, args *GetPrometheusAlertRulesArgs, opts ...pulumi.InvokeOption) (*GetPrometheusAlertRulesResult, error)

This data source provides the Arms Prometheus Alert Rules of the current Alibaba Cloud user.

> **NOTE:** Available in v1.136.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/arms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := arms.GetPrometheusAlertRules(ctx, &arms.GetPrometheusAlertRulesArgs{
			ClusterId: "example_value",
			Ids: []string{
				"example_value-1",
				"example_value-2",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("armsPrometheusAlertRuleId1", ids.Rules[0].Id)
		nameRegex, err := arms.GetPrometheusAlertRules(ctx, &arms.GetPrometheusAlertRulesArgs{
			ClusterId: "example_value",
			NameRegex: pulumi.StringRef("^my-PrometheusAlertRule"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("armsPrometheusAlertRuleId2", nameRegex.Rules[0].Id)
		return nil
	})
}

```

type GetPrometheusAlertRulesResultOutput added in v3.9.0

type GetPrometheusAlertRulesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPrometheusAlertRules.

func (GetPrometheusAlertRulesResultOutput) ClusterId added in v3.9.0

func (GetPrometheusAlertRulesResultOutput) ElementType added in v3.9.0

func (GetPrometheusAlertRulesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetPrometheusAlertRulesResultOutput) Ids added in v3.9.0

func (GetPrometheusAlertRulesResultOutput) MatchExpressions added in v3.9.0

func (GetPrometheusAlertRulesResultOutput) NameRegex added in v3.9.0

func (GetPrometheusAlertRulesResultOutput) Names added in v3.9.0

func (GetPrometheusAlertRulesResultOutput) OutputFile added in v3.9.0

func (GetPrometheusAlertRulesResultOutput) Rules added in v3.9.0

func (GetPrometheusAlertRulesResultOutput) Status added in v3.9.0

func (GetPrometheusAlertRulesResultOutput) ToGetPrometheusAlertRulesResultOutput added in v3.9.0

func (o GetPrometheusAlertRulesResultOutput) ToGetPrometheusAlertRulesResultOutput() GetPrometheusAlertRulesResultOutput

func (GetPrometheusAlertRulesResultOutput) ToGetPrometheusAlertRulesResultOutputWithContext added in v3.9.0

func (o GetPrometheusAlertRulesResultOutput) ToGetPrometheusAlertRulesResultOutputWithContext(ctx context.Context) GetPrometheusAlertRulesResultOutput

func (GetPrometheusAlertRulesResultOutput) Type added in v3.9.0

type GetPrometheusAlertRulesRule added in v3.8.0

type GetPrometheusAlertRulesRule struct {
	// The annotations of the alert rule.
	Annotations []GetPrometheusAlertRulesRuleAnnotation `pulumi:"annotations"`
	// The ID of the cluster.
	ClusterId string `pulumi:"clusterId"`
	// The ID of the notification policy. This parameter is required when the `notifyType` parameter is set to `DISPATCH_RULE`.
	DispatchRuleId string `pulumi:"dispatchRuleId"`
	// -The duration of the alert.
	Duration string `pulumi:"duration"`
	// The alert rule expression that follows the PromQL syntax..
	Expression string `pulumi:"expression"`
	// The ID of the Prometheus Alert Rule.
	Id string `pulumi:"id"`
	// -The labels of the resource.
	Labels []GetPrometheusAlertRulesRuleLabel `pulumi:"labels"`
	// The message of the alert notification.
	Message string `pulumi:"message"`
	// The method of sending the alert notification. Valid values: `ALERT_MANAGER`, `DISPATCH_RULE`.
	NotifyType string `pulumi:"notifyType"`
	// The first ID of the resource.
	PrometheusAlertRuleId string `pulumi:"prometheusAlertRuleId"`
	// The name of the resource.
	PrometheusAlertRuleName string `pulumi:"prometheusAlertRuleName"`
	// The status of the resource. Valid values: `0`, `1`.
	// * `1`: open.
	// * `0`: off.
	Status int `pulumi:"status"`
	// The type of the alert rule.
	Type string `pulumi:"type"`
}

type GetPrometheusAlertRulesRuleAnnotation added in v3.8.0

type GetPrometheusAlertRulesRuleAnnotation struct {
	// The name of the label.
	Name string `pulumi:"name"`
	// The value of the label.
	Value string `pulumi:"value"`
}

type GetPrometheusAlertRulesRuleAnnotationArgs added in v3.8.0

type GetPrometheusAlertRulesRuleAnnotationArgs struct {
	// The name of the label.
	Name pulumi.StringInput `pulumi:"name"`
	// The value of the label.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetPrometheusAlertRulesRuleAnnotationArgs) ElementType added in v3.8.0

func (GetPrometheusAlertRulesRuleAnnotationArgs) ToGetPrometheusAlertRulesRuleAnnotationOutput added in v3.8.0

func (i GetPrometheusAlertRulesRuleAnnotationArgs) ToGetPrometheusAlertRulesRuleAnnotationOutput() GetPrometheusAlertRulesRuleAnnotationOutput

func (GetPrometheusAlertRulesRuleAnnotationArgs) ToGetPrometheusAlertRulesRuleAnnotationOutputWithContext added in v3.8.0

func (i GetPrometheusAlertRulesRuleAnnotationArgs) ToGetPrometheusAlertRulesRuleAnnotationOutputWithContext(ctx context.Context) GetPrometheusAlertRulesRuleAnnotationOutput

type GetPrometheusAlertRulesRuleAnnotationArray added in v3.8.0

type GetPrometheusAlertRulesRuleAnnotationArray []GetPrometheusAlertRulesRuleAnnotationInput

func (GetPrometheusAlertRulesRuleAnnotationArray) ElementType added in v3.8.0

func (GetPrometheusAlertRulesRuleAnnotationArray) ToGetPrometheusAlertRulesRuleAnnotationArrayOutput added in v3.8.0

func (i GetPrometheusAlertRulesRuleAnnotationArray) ToGetPrometheusAlertRulesRuleAnnotationArrayOutput() GetPrometheusAlertRulesRuleAnnotationArrayOutput

func (GetPrometheusAlertRulesRuleAnnotationArray) ToGetPrometheusAlertRulesRuleAnnotationArrayOutputWithContext added in v3.8.0

func (i GetPrometheusAlertRulesRuleAnnotationArray) ToGetPrometheusAlertRulesRuleAnnotationArrayOutputWithContext(ctx context.Context) GetPrometheusAlertRulesRuleAnnotationArrayOutput

type GetPrometheusAlertRulesRuleAnnotationArrayInput added in v3.8.0

type GetPrometheusAlertRulesRuleAnnotationArrayInput interface {
	pulumi.Input

	ToGetPrometheusAlertRulesRuleAnnotationArrayOutput() GetPrometheusAlertRulesRuleAnnotationArrayOutput
	ToGetPrometheusAlertRulesRuleAnnotationArrayOutputWithContext(context.Context) GetPrometheusAlertRulesRuleAnnotationArrayOutput
}

GetPrometheusAlertRulesRuleAnnotationArrayInput is an input type that accepts GetPrometheusAlertRulesRuleAnnotationArray and GetPrometheusAlertRulesRuleAnnotationArrayOutput values. You can construct a concrete instance of `GetPrometheusAlertRulesRuleAnnotationArrayInput` via:

GetPrometheusAlertRulesRuleAnnotationArray{ GetPrometheusAlertRulesRuleAnnotationArgs{...} }

type GetPrometheusAlertRulesRuleAnnotationArrayOutput added in v3.8.0

type GetPrometheusAlertRulesRuleAnnotationArrayOutput struct{ *pulumi.OutputState }

func (GetPrometheusAlertRulesRuleAnnotationArrayOutput) ElementType added in v3.8.0

func (GetPrometheusAlertRulesRuleAnnotationArrayOutput) Index added in v3.8.0

func (GetPrometheusAlertRulesRuleAnnotationArrayOutput) ToGetPrometheusAlertRulesRuleAnnotationArrayOutput added in v3.8.0

func (o GetPrometheusAlertRulesRuleAnnotationArrayOutput) ToGetPrometheusAlertRulesRuleAnnotationArrayOutput() GetPrometheusAlertRulesRuleAnnotationArrayOutput

func (GetPrometheusAlertRulesRuleAnnotationArrayOutput) ToGetPrometheusAlertRulesRuleAnnotationArrayOutputWithContext added in v3.8.0

func (o GetPrometheusAlertRulesRuleAnnotationArrayOutput) ToGetPrometheusAlertRulesRuleAnnotationArrayOutputWithContext(ctx context.Context) GetPrometheusAlertRulesRuleAnnotationArrayOutput

type GetPrometheusAlertRulesRuleAnnotationInput added in v3.8.0

type GetPrometheusAlertRulesRuleAnnotationInput interface {
	pulumi.Input

	ToGetPrometheusAlertRulesRuleAnnotationOutput() GetPrometheusAlertRulesRuleAnnotationOutput
	ToGetPrometheusAlertRulesRuleAnnotationOutputWithContext(context.Context) GetPrometheusAlertRulesRuleAnnotationOutput
}

GetPrometheusAlertRulesRuleAnnotationInput is an input type that accepts GetPrometheusAlertRulesRuleAnnotationArgs and GetPrometheusAlertRulesRuleAnnotationOutput values. You can construct a concrete instance of `GetPrometheusAlertRulesRuleAnnotationInput` via:

GetPrometheusAlertRulesRuleAnnotationArgs{...}

type GetPrometheusAlertRulesRuleAnnotationOutput added in v3.8.0

type GetPrometheusAlertRulesRuleAnnotationOutput struct{ *pulumi.OutputState }

func (GetPrometheusAlertRulesRuleAnnotationOutput) ElementType added in v3.8.0

func (GetPrometheusAlertRulesRuleAnnotationOutput) Name added in v3.8.0

The name of the label.

func (GetPrometheusAlertRulesRuleAnnotationOutput) ToGetPrometheusAlertRulesRuleAnnotationOutput added in v3.8.0

func (o GetPrometheusAlertRulesRuleAnnotationOutput) ToGetPrometheusAlertRulesRuleAnnotationOutput() GetPrometheusAlertRulesRuleAnnotationOutput

func (GetPrometheusAlertRulesRuleAnnotationOutput) ToGetPrometheusAlertRulesRuleAnnotationOutputWithContext added in v3.8.0

func (o GetPrometheusAlertRulesRuleAnnotationOutput) ToGetPrometheusAlertRulesRuleAnnotationOutputWithContext(ctx context.Context) GetPrometheusAlertRulesRuleAnnotationOutput

func (GetPrometheusAlertRulesRuleAnnotationOutput) Value added in v3.8.0

The value of the label.

type GetPrometheusAlertRulesRuleArgs added in v3.8.0

type GetPrometheusAlertRulesRuleArgs struct {
	// The annotations of the alert rule.
	Annotations GetPrometheusAlertRulesRuleAnnotationArrayInput `pulumi:"annotations"`
	// The ID of the cluster.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// The ID of the notification policy. This parameter is required when the `notifyType` parameter is set to `DISPATCH_RULE`.
	DispatchRuleId pulumi.StringInput `pulumi:"dispatchRuleId"`
	// -The duration of the alert.
	Duration pulumi.StringInput `pulumi:"duration"`
	// The alert rule expression that follows the PromQL syntax..
	Expression pulumi.StringInput `pulumi:"expression"`
	// The ID of the Prometheus Alert Rule.
	Id pulumi.StringInput `pulumi:"id"`
	// -The labels of the resource.
	Labels GetPrometheusAlertRulesRuleLabelArrayInput `pulumi:"labels"`
	// The message of the alert notification.
	Message pulumi.StringInput `pulumi:"message"`
	// The method of sending the alert notification. Valid values: `ALERT_MANAGER`, `DISPATCH_RULE`.
	NotifyType pulumi.StringInput `pulumi:"notifyType"`
	// The first ID of the resource.
	PrometheusAlertRuleId pulumi.StringInput `pulumi:"prometheusAlertRuleId"`
	// The name of the resource.
	PrometheusAlertRuleName pulumi.StringInput `pulumi:"prometheusAlertRuleName"`
	// The status of the resource. Valid values: `0`, `1`.
	// * `1`: open.
	// * `0`: off.
	Status pulumi.IntInput `pulumi:"status"`
	// The type of the alert rule.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetPrometheusAlertRulesRuleArgs) ElementType added in v3.8.0

func (GetPrometheusAlertRulesRuleArgs) ToGetPrometheusAlertRulesRuleOutput added in v3.8.0

func (i GetPrometheusAlertRulesRuleArgs) ToGetPrometheusAlertRulesRuleOutput() GetPrometheusAlertRulesRuleOutput

func (GetPrometheusAlertRulesRuleArgs) ToGetPrometheusAlertRulesRuleOutputWithContext added in v3.8.0

func (i GetPrometheusAlertRulesRuleArgs) ToGetPrometheusAlertRulesRuleOutputWithContext(ctx context.Context) GetPrometheusAlertRulesRuleOutput

type GetPrometheusAlertRulesRuleArray added in v3.8.0

type GetPrometheusAlertRulesRuleArray []GetPrometheusAlertRulesRuleInput

func (GetPrometheusAlertRulesRuleArray) ElementType added in v3.8.0

func (GetPrometheusAlertRulesRuleArray) ToGetPrometheusAlertRulesRuleArrayOutput added in v3.8.0

func (i GetPrometheusAlertRulesRuleArray) ToGetPrometheusAlertRulesRuleArrayOutput() GetPrometheusAlertRulesRuleArrayOutput

func (GetPrometheusAlertRulesRuleArray) ToGetPrometheusAlertRulesRuleArrayOutputWithContext added in v3.8.0

func (i GetPrometheusAlertRulesRuleArray) ToGetPrometheusAlertRulesRuleArrayOutputWithContext(ctx context.Context) GetPrometheusAlertRulesRuleArrayOutput

type GetPrometheusAlertRulesRuleArrayInput added in v3.8.0

type GetPrometheusAlertRulesRuleArrayInput interface {
	pulumi.Input

	ToGetPrometheusAlertRulesRuleArrayOutput() GetPrometheusAlertRulesRuleArrayOutput
	ToGetPrometheusAlertRulesRuleArrayOutputWithContext(context.Context) GetPrometheusAlertRulesRuleArrayOutput
}

GetPrometheusAlertRulesRuleArrayInput is an input type that accepts GetPrometheusAlertRulesRuleArray and GetPrometheusAlertRulesRuleArrayOutput values. You can construct a concrete instance of `GetPrometheusAlertRulesRuleArrayInput` via:

GetPrometheusAlertRulesRuleArray{ GetPrometheusAlertRulesRuleArgs{...} }

type GetPrometheusAlertRulesRuleArrayOutput added in v3.8.0

type GetPrometheusAlertRulesRuleArrayOutput struct{ *pulumi.OutputState }

func (GetPrometheusAlertRulesRuleArrayOutput) ElementType added in v3.8.0

func (GetPrometheusAlertRulesRuleArrayOutput) Index added in v3.8.0

func (GetPrometheusAlertRulesRuleArrayOutput) ToGetPrometheusAlertRulesRuleArrayOutput added in v3.8.0

func (o GetPrometheusAlertRulesRuleArrayOutput) ToGetPrometheusAlertRulesRuleArrayOutput() GetPrometheusAlertRulesRuleArrayOutput

func (GetPrometheusAlertRulesRuleArrayOutput) ToGetPrometheusAlertRulesRuleArrayOutputWithContext added in v3.8.0

func (o GetPrometheusAlertRulesRuleArrayOutput) ToGetPrometheusAlertRulesRuleArrayOutputWithContext(ctx context.Context) GetPrometheusAlertRulesRuleArrayOutput

type GetPrometheusAlertRulesRuleInput added in v3.8.0

type GetPrometheusAlertRulesRuleInput interface {
	pulumi.Input

	ToGetPrometheusAlertRulesRuleOutput() GetPrometheusAlertRulesRuleOutput
	ToGetPrometheusAlertRulesRuleOutputWithContext(context.Context) GetPrometheusAlertRulesRuleOutput
}

GetPrometheusAlertRulesRuleInput is an input type that accepts GetPrometheusAlertRulesRuleArgs and GetPrometheusAlertRulesRuleOutput values. You can construct a concrete instance of `GetPrometheusAlertRulesRuleInput` via:

GetPrometheusAlertRulesRuleArgs{...}

type GetPrometheusAlertRulesRuleLabel added in v3.8.0

type GetPrometheusAlertRulesRuleLabel struct {
	// The name of the label.
	Name string `pulumi:"name"`
	// The value of the label.
	Value string `pulumi:"value"`
}

type GetPrometheusAlertRulesRuleLabelArgs added in v3.8.0

type GetPrometheusAlertRulesRuleLabelArgs struct {
	// The name of the label.
	Name pulumi.StringInput `pulumi:"name"`
	// The value of the label.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetPrometheusAlertRulesRuleLabelArgs) ElementType added in v3.8.0

func (GetPrometheusAlertRulesRuleLabelArgs) ToGetPrometheusAlertRulesRuleLabelOutput added in v3.8.0

func (i GetPrometheusAlertRulesRuleLabelArgs) ToGetPrometheusAlertRulesRuleLabelOutput() GetPrometheusAlertRulesRuleLabelOutput

func (GetPrometheusAlertRulesRuleLabelArgs) ToGetPrometheusAlertRulesRuleLabelOutputWithContext added in v3.8.0

func (i GetPrometheusAlertRulesRuleLabelArgs) ToGetPrometheusAlertRulesRuleLabelOutputWithContext(ctx context.Context) GetPrometheusAlertRulesRuleLabelOutput

type GetPrometheusAlertRulesRuleLabelArray added in v3.8.0

type GetPrometheusAlertRulesRuleLabelArray []GetPrometheusAlertRulesRuleLabelInput

func (GetPrometheusAlertRulesRuleLabelArray) ElementType added in v3.8.0

func (GetPrometheusAlertRulesRuleLabelArray) ToGetPrometheusAlertRulesRuleLabelArrayOutput added in v3.8.0

func (i GetPrometheusAlertRulesRuleLabelArray) ToGetPrometheusAlertRulesRuleLabelArrayOutput() GetPrometheusAlertRulesRuleLabelArrayOutput

func (GetPrometheusAlertRulesRuleLabelArray) ToGetPrometheusAlertRulesRuleLabelArrayOutputWithContext added in v3.8.0

func (i GetPrometheusAlertRulesRuleLabelArray) ToGetPrometheusAlertRulesRuleLabelArrayOutputWithContext(ctx context.Context) GetPrometheusAlertRulesRuleLabelArrayOutput

type GetPrometheusAlertRulesRuleLabelArrayInput added in v3.8.0

type GetPrometheusAlertRulesRuleLabelArrayInput interface {
	pulumi.Input

	ToGetPrometheusAlertRulesRuleLabelArrayOutput() GetPrometheusAlertRulesRuleLabelArrayOutput
	ToGetPrometheusAlertRulesRuleLabelArrayOutputWithContext(context.Context) GetPrometheusAlertRulesRuleLabelArrayOutput
}

GetPrometheusAlertRulesRuleLabelArrayInput is an input type that accepts GetPrometheusAlertRulesRuleLabelArray and GetPrometheusAlertRulesRuleLabelArrayOutput values. You can construct a concrete instance of `GetPrometheusAlertRulesRuleLabelArrayInput` via:

GetPrometheusAlertRulesRuleLabelArray{ GetPrometheusAlertRulesRuleLabelArgs{...} }

type GetPrometheusAlertRulesRuleLabelArrayOutput added in v3.8.0

type GetPrometheusAlertRulesRuleLabelArrayOutput struct{ *pulumi.OutputState }

func (GetPrometheusAlertRulesRuleLabelArrayOutput) ElementType added in v3.8.0

func (GetPrometheusAlertRulesRuleLabelArrayOutput) Index added in v3.8.0

func (GetPrometheusAlertRulesRuleLabelArrayOutput) ToGetPrometheusAlertRulesRuleLabelArrayOutput added in v3.8.0

func (o GetPrometheusAlertRulesRuleLabelArrayOutput) ToGetPrometheusAlertRulesRuleLabelArrayOutput() GetPrometheusAlertRulesRuleLabelArrayOutput

func (GetPrometheusAlertRulesRuleLabelArrayOutput) ToGetPrometheusAlertRulesRuleLabelArrayOutputWithContext added in v3.8.0

func (o GetPrometheusAlertRulesRuleLabelArrayOutput) ToGetPrometheusAlertRulesRuleLabelArrayOutputWithContext(ctx context.Context) GetPrometheusAlertRulesRuleLabelArrayOutput

type GetPrometheusAlertRulesRuleLabelInput added in v3.8.0

type GetPrometheusAlertRulesRuleLabelInput interface {
	pulumi.Input

	ToGetPrometheusAlertRulesRuleLabelOutput() GetPrometheusAlertRulesRuleLabelOutput
	ToGetPrometheusAlertRulesRuleLabelOutputWithContext(context.Context) GetPrometheusAlertRulesRuleLabelOutput
}

GetPrometheusAlertRulesRuleLabelInput is an input type that accepts GetPrometheusAlertRulesRuleLabelArgs and GetPrometheusAlertRulesRuleLabelOutput values. You can construct a concrete instance of `GetPrometheusAlertRulesRuleLabelInput` via:

GetPrometheusAlertRulesRuleLabelArgs{...}

type GetPrometheusAlertRulesRuleLabelOutput added in v3.8.0

type GetPrometheusAlertRulesRuleLabelOutput struct{ *pulumi.OutputState }

func (GetPrometheusAlertRulesRuleLabelOutput) ElementType added in v3.8.0

func (GetPrometheusAlertRulesRuleLabelOutput) Name added in v3.8.0

The name of the label.

func (GetPrometheusAlertRulesRuleLabelOutput) ToGetPrometheusAlertRulesRuleLabelOutput added in v3.8.0

func (o GetPrometheusAlertRulesRuleLabelOutput) ToGetPrometheusAlertRulesRuleLabelOutput() GetPrometheusAlertRulesRuleLabelOutput

func (GetPrometheusAlertRulesRuleLabelOutput) ToGetPrometheusAlertRulesRuleLabelOutputWithContext added in v3.8.0

func (o GetPrometheusAlertRulesRuleLabelOutput) ToGetPrometheusAlertRulesRuleLabelOutputWithContext(ctx context.Context) GetPrometheusAlertRulesRuleLabelOutput

func (GetPrometheusAlertRulesRuleLabelOutput) Value added in v3.8.0

The value of the label.

type GetPrometheusAlertRulesRuleOutput added in v3.8.0

type GetPrometheusAlertRulesRuleOutput struct{ *pulumi.OutputState }

func (GetPrometheusAlertRulesRuleOutput) Annotations added in v3.8.0

The annotations of the alert rule.

func (GetPrometheusAlertRulesRuleOutput) ClusterId added in v3.8.0

The ID of the cluster.

func (GetPrometheusAlertRulesRuleOutput) DispatchRuleId added in v3.8.0

The ID of the notification policy. This parameter is required when the `notifyType` parameter is set to `DISPATCH_RULE`.

func (GetPrometheusAlertRulesRuleOutput) Duration added in v3.8.0

-The duration of the alert.

func (GetPrometheusAlertRulesRuleOutput) ElementType added in v3.8.0

func (GetPrometheusAlertRulesRuleOutput) Expression added in v3.8.0

The alert rule expression that follows the PromQL syntax..

func (GetPrometheusAlertRulesRuleOutput) Id added in v3.8.0

The ID of the Prometheus Alert Rule.

func (GetPrometheusAlertRulesRuleOutput) Labels added in v3.8.0

-The labels of the resource.

func (GetPrometheusAlertRulesRuleOutput) Message added in v3.8.0

The message of the alert notification.

func (GetPrometheusAlertRulesRuleOutput) NotifyType added in v3.8.0

The method of sending the alert notification. Valid values: `ALERT_MANAGER`, `DISPATCH_RULE`.

func (GetPrometheusAlertRulesRuleOutput) PrometheusAlertRuleId added in v3.8.0

func (o GetPrometheusAlertRulesRuleOutput) PrometheusAlertRuleId() pulumi.StringOutput

The first ID of the resource.

func (GetPrometheusAlertRulesRuleOutput) PrometheusAlertRuleName added in v3.8.0

func (o GetPrometheusAlertRulesRuleOutput) PrometheusAlertRuleName() pulumi.StringOutput

The name of the resource.

func (GetPrometheusAlertRulesRuleOutput) Status added in v3.8.0

The status of the resource. Valid values: `0`, `1`. * `1`: open. * `0`: off.

func (GetPrometheusAlertRulesRuleOutput) ToGetPrometheusAlertRulesRuleOutput added in v3.8.0

func (o GetPrometheusAlertRulesRuleOutput) ToGetPrometheusAlertRulesRuleOutput() GetPrometheusAlertRulesRuleOutput

func (GetPrometheusAlertRulesRuleOutput) ToGetPrometheusAlertRulesRuleOutputWithContext added in v3.8.0

func (o GetPrometheusAlertRulesRuleOutput) ToGetPrometheusAlertRulesRuleOutputWithContext(ctx context.Context) GetPrometheusAlertRulesRuleOutput

func (GetPrometheusAlertRulesRuleOutput) Type added in v3.8.0

The type of the alert rule.

type PrometheusAlertRule added in v3.8.0

type PrometheusAlertRule struct {
	pulumi.CustomResourceState

	// The annotations of the alert rule.. See the following `Block annotations`.
	Annotations PrometheusAlertRuleAnnotationArrayOutput `pulumi:"annotations"`
	// The ID of the cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The ID of the notification policy. This parameter is required when the `notifyType` parameter is set to `DISPATCH_RULE`.
	DispatchRuleId pulumi.StringPtrOutput `pulumi:"dispatchRuleId"`
	// The duration of the alert.
	Duration pulumi.StringOutput `pulumi:"duration"`
	// The alert rule expression that follows the PromQL syntax.
	Expression pulumi.StringOutput `pulumi:"expression"`
	// The labels of the resource. See the following `Block labels`.
	Labels PrometheusAlertRuleLabelArrayOutput `pulumi:"labels"`
	// The message of the alert notification.
	Message pulumi.StringOutput `pulumi:"message"`
	// The method of sending the alert notification. Valid values: `ALERT_MANAGER`, `DISPATCH_RULE`.
	NotifyType pulumi.StringPtrOutput `pulumi:"notifyType"`
	// The first ID of the resource.
	PrometheusAlertRuleId pulumi.IntOutput `pulumi:"prometheusAlertRuleId"`
	// The name of the resource.
	PrometheusAlertRuleName pulumi.StringOutput `pulumi:"prometheusAlertRuleName"`
	// The status of the resource. Valid values: `0`, `1`.
	Status pulumi.IntOutput `pulumi:"status"`
	// The type of the alert rule.
	Type pulumi.StringOutput `pulumi:"type"`
}

Provides a Application Real-Time Monitoring Service (ARMS) Prometheus Alert Rule resource.

For information about Application Real-Time Monitoring Service (ARMS) Prometheus Alert Rule and how to use it, see [What is Prometheus Alert Rule](https://www.alibabacloud.com/help/en/doc-detail/212056.htm).

> **NOTE:** Available in v1.136.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/arms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := arms.NewPrometheusAlertRule(ctx, "example", &arms.PrometheusAlertRuleArgs{
			ClusterId:               pulumi.String("example_value"),
			Duration:                pulumi.String("example_value"),
			Expression:              pulumi.String("example_value"),
			Message:                 pulumi.String("example_value"),
			PrometheusAlertRuleName: pulumi.String("example_value"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Application Real-Time Monitoring Service (ARMS) Prometheus Alert Rule can be imported using the id, e.g.

```sh

$ pulumi import alicloud:arms/prometheusAlertRule:PrometheusAlertRule example <cluster_id>:<prometheus_alert_rule_id>

```

func GetPrometheusAlertRule added in v3.8.0

func GetPrometheusAlertRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PrometheusAlertRuleState, opts ...pulumi.ResourceOption) (*PrometheusAlertRule, error)

GetPrometheusAlertRule gets an existing PrometheusAlertRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPrometheusAlertRule added in v3.8.0

func NewPrometheusAlertRule(ctx *pulumi.Context,
	name string, args *PrometheusAlertRuleArgs, opts ...pulumi.ResourceOption) (*PrometheusAlertRule, error)

NewPrometheusAlertRule registers a new resource with the given unique name, arguments, and options.

func (*PrometheusAlertRule) ElementType added in v3.8.0

func (*PrometheusAlertRule) ElementType() reflect.Type

func (*PrometheusAlertRule) ToPrometheusAlertRuleOutput added in v3.8.0

func (i *PrometheusAlertRule) ToPrometheusAlertRuleOutput() PrometheusAlertRuleOutput

func (*PrometheusAlertRule) ToPrometheusAlertRuleOutputWithContext added in v3.8.0

func (i *PrometheusAlertRule) ToPrometheusAlertRuleOutputWithContext(ctx context.Context) PrometheusAlertRuleOutput

type PrometheusAlertRuleAnnotation added in v3.8.0

type PrometheusAlertRuleAnnotation struct {
	// The name of the annotation.
	Name *string `pulumi:"name"`
	// The value of the annotation.
	Value *string `pulumi:"value"`
}

type PrometheusAlertRuleAnnotationArgs added in v3.8.0

type PrometheusAlertRuleAnnotationArgs struct {
	// The name of the annotation.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The value of the annotation.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (PrometheusAlertRuleAnnotationArgs) ElementType added in v3.8.0

func (PrometheusAlertRuleAnnotationArgs) ToPrometheusAlertRuleAnnotationOutput added in v3.8.0

func (i PrometheusAlertRuleAnnotationArgs) ToPrometheusAlertRuleAnnotationOutput() PrometheusAlertRuleAnnotationOutput

func (PrometheusAlertRuleAnnotationArgs) ToPrometheusAlertRuleAnnotationOutputWithContext added in v3.8.0

func (i PrometheusAlertRuleAnnotationArgs) ToPrometheusAlertRuleAnnotationOutputWithContext(ctx context.Context) PrometheusAlertRuleAnnotationOutput

type PrometheusAlertRuleAnnotationArray added in v3.8.0

type PrometheusAlertRuleAnnotationArray []PrometheusAlertRuleAnnotationInput

func (PrometheusAlertRuleAnnotationArray) ElementType added in v3.8.0

func (PrometheusAlertRuleAnnotationArray) ToPrometheusAlertRuleAnnotationArrayOutput added in v3.8.0

func (i PrometheusAlertRuleAnnotationArray) ToPrometheusAlertRuleAnnotationArrayOutput() PrometheusAlertRuleAnnotationArrayOutput

func (PrometheusAlertRuleAnnotationArray) ToPrometheusAlertRuleAnnotationArrayOutputWithContext added in v3.8.0

func (i PrometheusAlertRuleAnnotationArray) ToPrometheusAlertRuleAnnotationArrayOutputWithContext(ctx context.Context) PrometheusAlertRuleAnnotationArrayOutput

type PrometheusAlertRuleAnnotationArrayInput added in v3.8.0

type PrometheusAlertRuleAnnotationArrayInput interface {
	pulumi.Input

	ToPrometheusAlertRuleAnnotationArrayOutput() PrometheusAlertRuleAnnotationArrayOutput
	ToPrometheusAlertRuleAnnotationArrayOutputWithContext(context.Context) PrometheusAlertRuleAnnotationArrayOutput
}

PrometheusAlertRuleAnnotationArrayInput is an input type that accepts PrometheusAlertRuleAnnotationArray and PrometheusAlertRuleAnnotationArrayOutput values. You can construct a concrete instance of `PrometheusAlertRuleAnnotationArrayInput` via:

PrometheusAlertRuleAnnotationArray{ PrometheusAlertRuleAnnotationArgs{...} }

type PrometheusAlertRuleAnnotationArrayOutput added in v3.8.0

type PrometheusAlertRuleAnnotationArrayOutput struct{ *pulumi.OutputState }

func (PrometheusAlertRuleAnnotationArrayOutput) ElementType added in v3.8.0

func (PrometheusAlertRuleAnnotationArrayOutput) Index added in v3.8.0

func (PrometheusAlertRuleAnnotationArrayOutput) ToPrometheusAlertRuleAnnotationArrayOutput added in v3.8.0

func (o PrometheusAlertRuleAnnotationArrayOutput) ToPrometheusAlertRuleAnnotationArrayOutput() PrometheusAlertRuleAnnotationArrayOutput

func (PrometheusAlertRuleAnnotationArrayOutput) ToPrometheusAlertRuleAnnotationArrayOutputWithContext added in v3.8.0

func (o PrometheusAlertRuleAnnotationArrayOutput) ToPrometheusAlertRuleAnnotationArrayOutputWithContext(ctx context.Context) PrometheusAlertRuleAnnotationArrayOutput

type PrometheusAlertRuleAnnotationInput added in v3.8.0

type PrometheusAlertRuleAnnotationInput interface {
	pulumi.Input

	ToPrometheusAlertRuleAnnotationOutput() PrometheusAlertRuleAnnotationOutput
	ToPrometheusAlertRuleAnnotationOutputWithContext(context.Context) PrometheusAlertRuleAnnotationOutput
}

PrometheusAlertRuleAnnotationInput is an input type that accepts PrometheusAlertRuleAnnotationArgs and PrometheusAlertRuleAnnotationOutput values. You can construct a concrete instance of `PrometheusAlertRuleAnnotationInput` via:

PrometheusAlertRuleAnnotationArgs{...}

type PrometheusAlertRuleAnnotationOutput added in v3.8.0

type PrometheusAlertRuleAnnotationOutput struct{ *pulumi.OutputState }

func (PrometheusAlertRuleAnnotationOutput) ElementType added in v3.8.0

func (PrometheusAlertRuleAnnotationOutput) Name added in v3.8.0

The name of the annotation.

func (PrometheusAlertRuleAnnotationOutput) ToPrometheusAlertRuleAnnotationOutput added in v3.8.0

func (o PrometheusAlertRuleAnnotationOutput) ToPrometheusAlertRuleAnnotationOutput() PrometheusAlertRuleAnnotationOutput

func (PrometheusAlertRuleAnnotationOutput) ToPrometheusAlertRuleAnnotationOutputWithContext added in v3.8.0

func (o PrometheusAlertRuleAnnotationOutput) ToPrometheusAlertRuleAnnotationOutputWithContext(ctx context.Context) PrometheusAlertRuleAnnotationOutput

func (PrometheusAlertRuleAnnotationOutput) Value added in v3.8.0

The value of the annotation.

type PrometheusAlertRuleArgs added in v3.8.0

type PrometheusAlertRuleArgs struct {
	// The annotations of the alert rule.. See the following `Block annotations`.
	Annotations PrometheusAlertRuleAnnotationArrayInput
	// The ID of the cluster.
	ClusterId pulumi.StringInput
	// The ID of the notification policy. This parameter is required when the `notifyType` parameter is set to `DISPATCH_RULE`.
	DispatchRuleId pulumi.StringPtrInput
	// The duration of the alert.
	Duration pulumi.StringInput
	// The alert rule expression that follows the PromQL syntax.
	Expression pulumi.StringInput
	// The labels of the resource. See the following `Block labels`.
	Labels PrometheusAlertRuleLabelArrayInput
	// The message of the alert notification.
	Message pulumi.StringInput
	// The method of sending the alert notification. Valid values: `ALERT_MANAGER`, `DISPATCH_RULE`.
	NotifyType pulumi.StringPtrInput
	// The name of the resource.
	PrometheusAlertRuleName pulumi.StringInput
	// The type of the alert rule.
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a PrometheusAlertRule resource.

func (PrometheusAlertRuleArgs) ElementType added in v3.8.0

func (PrometheusAlertRuleArgs) ElementType() reflect.Type

type PrometheusAlertRuleArray added in v3.8.0

type PrometheusAlertRuleArray []PrometheusAlertRuleInput

func (PrometheusAlertRuleArray) ElementType added in v3.8.0

func (PrometheusAlertRuleArray) ElementType() reflect.Type

func (PrometheusAlertRuleArray) ToPrometheusAlertRuleArrayOutput added in v3.8.0

func (i PrometheusAlertRuleArray) ToPrometheusAlertRuleArrayOutput() PrometheusAlertRuleArrayOutput

func (PrometheusAlertRuleArray) ToPrometheusAlertRuleArrayOutputWithContext added in v3.8.0

func (i PrometheusAlertRuleArray) ToPrometheusAlertRuleArrayOutputWithContext(ctx context.Context) PrometheusAlertRuleArrayOutput

type PrometheusAlertRuleArrayInput added in v3.8.0

type PrometheusAlertRuleArrayInput interface {
	pulumi.Input

	ToPrometheusAlertRuleArrayOutput() PrometheusAlertRuleArrayOutput
	ToPrometheusAlertRuleArrayOutputWithContext(context.Context) PrometheusAlertRuleArrayOutput
}

PrometheusAlertRuleArrayInput is an input type that accepts PrometheusAlertRuleArray and PrometheusAlertRuleArrayOutput values. You can construct a concrete instance of `PrometheusAlertRuleArrayInput` via:

PrometheusAlertRuleArray{ PrometheusAlertRuleArgs{...} }

type PrometheusAlertRuleArrayOutput added in v3.8.0

type PrometheusAlertRuleArrayOutput struct{ *pulumi.OutputState }

func (PrometheusAlertRuleArrayOutput) ElementType added in v3.8.0

func (PrometheusAlertRuleArrayOutput) Index added in v3.8.0

func (PrometheusAlertRuleArrayOutput) ToPrometheusAlertRuleArrayOutput added in v3.8.0

func (o PrometheusAlertRuleArrayOutput) ToPrometheusAlertRuleArrayOutput() PrometheusAlertRuleArrayOutput

func (PrometheusAlertRuleArrayOutput) ToPrometheusAlertRuleArrayOutputWithContext added in v3.8.0

func (o PrometheusAlertRuleArrayOutput) ToPrometheusAlertRuleArrayOutputWithContext(ctx context.Context) PrometheusAlertRuleArrayOutput

type PrometheusAlertRuleInput added in v3.8.0

type PrometheusAlertRuleInput interface {
	pulumi.Input

	ToPrometheusAlertRuleOutput() PrometheusAlertRuleOutput
	ToPrometheusAlertRuleOutputWithContext(ctx context.Context) PrometheusAlertRuleOutput
}

type PrometheusAlertRuleLabel added in v3.8.0

type PrometheusAlertRuleLabel struct {
	// The name of the annotation.
	Name *string `pulumi:"name"`
	// The value of the annotation.
	Value *string `pulumi:"value"`
}

type PrometheusAlertRuleLabelArgs added in v3.8.0

type PrometheusAlertRuleLabelArgs struct {
	// The name of the annotation.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The value of the annotation.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (PrometheusAlertRuleLabelArgs) ElementType added in v3.8.0

func (PrometheusAlertRuleLabelArgs) ToPrometheusAlertRuleLabelOutput added in v3.8.0

func (i PrometheusAlertRuleLabelArgs) ToPrometheusAlertRuleLabelOutput() PrometheusAlertRuleLabelOutput

func (PrometheusAlertRuleLabelArgs) ToPrometheusAlertRuleLabelOutputWithContext added in v3.8.0

func (i PrometheusAlertRuleLabelArgs) ToPrometheusAlertRuleLabelOutputWithContext(ctx context.Context) PrometheusAlertRuleLabelOutput

type PrometheusAlertRuleLabelArray added in v3.8.0

type PrometheusAlertRuleLabelArray []PrometheusAlertRuleLabelInput

func (PrometheusAlertRuleLabelArray) ElementType added in v3.8.0

func (PrometheusAlertRuleLabelArray) ToPrometheusAlertRuleLabelArrayOutput added in v3.8.0

func (i PrometheusAlertRuleLabelArray) ToPrometheusAlertRuleLabelArrayOutput() PrometheusAlertRuleLabelArrayOutput

func (PrometheusAlertRuleLabelArray) ToPrometheusAlertRuleLabelArrayOutputWithContext added in v3.8.0

func (i PrometheusAlertRuleLabelArray) ToPrometheusAlertRuleLabelArrayOutputWithContext(ctx context.Context) PrometheusAlertRuleLabelArrayOutput

type PrometheusAlertRuleLabelArrayInput added in v3.8.0

type PrometheusAlertRuleLabelArrayInput interface {
	pulumi.Input

	ToPrometheusAlertRuleLabelArrayOutput() PrometheusAlertRuleLabelArrayOutput
	ToPrometheusAlertRuleLabelArrayOutputWithContext(context.Context) PrometheusAlertRuleLabelArrayOutput
}

PrometheusAlertRuleLabelArrayInput is an input type that accepts PrometheusAlertRuleLabelArray and PrometheusAlertRuleLabelArrayOutput values. You can construct a concrete instance of `PrometheusAlertRuleLabelArrayInput` via:

PrometheusAlertRuleLabelArray{ PrometheusAlertRuleLabelArgs{...} }

type PrometheusAlertRuleLabelArrayOutput added in v3.8.0

type PrometheusAlertRuleLabelArrayOutput struct{ *pulumi.OutputState }

func (PrometheusAlertRuleLabelArrayOutput) ElementType added in v3.8.0

func (PrometheusAlertRuleLabelArrayOutput) Index added in v3.8.0

func (PrometheusAlertRuleLabelArrayOutput) ToPrometheusAlertRuleLabelArrayOutput added in v3.8.0

func (o PrometheusAlertRuleLabelArrayOutput) ToPrometheusAlertRuleLabelArrayOutput() PrometheusAlertRuleLabelArrayOutput

func (PrometheusAlertRuleLabelArrayOutput) ToPrometheusAlertRuleLabelArrayOutputWithContext added in v3.8.0

func (o PrometheusAlertRuleLabelArrayOutput) ToPrometheusAlertRuleLabelArrayOutputWithContext(ctx context.Context) PrometheusAlertRuleLabelArrayOutput

type PrometheusAlertRuleLabelInput added in v3.8.0

type PrometheusAlertRuleLabelInput interface {
	pulumi.Input

	ToPrometheusAlertRuleLabelOutput() PrometheusAlertRuleLabelOutput
	ToPrometheusAlertRuleLabelOutputWithContext(context.Context) PrometheusAlertRuleLabelOutput
}

PrometheusAlertRuleLabelInput is an input type that accepts PrometheusAlertRuleLabelArgs and PrometheusAlertRuleLabelOutput values. You can construct a concrete instance of `PrometheusAlertRuleLabelInput` via:

PrometheusAlertRuleLabelArgs{...}

type PrometheusAlertRuleLabelOutput added in v3.8.0

type PrometheusAlertRuleLabelOutput struct{ *pulumi.OutputState }

func (PrometheusAlertRuleLabelOutput) ElementType added in v3.8.0

func (PrometheusAlertRuleLabelOutput) Name added in v3.8.0

The name of the annotation.

func (PrometheusAlertRuleLabelOutput) ToPrometheusAlertRuleLabelOutput added in v3.8.0

func (o PrometheusAlertRuleLabelOutput) ToPrometheusAlertRuleLabelOutput() PrometheusAlertRuleLabelOutput

func (PrometheusAlertRuleLabelOutput) ToPrometheusAlertRuleLabelOutputWithContext added in v3.8.0

func (o PrometheusAlertRuleLabelOutput) ToPrometheusAlertRuleLabelOutputWithContext(ctx context.Context) PrometheusAlertRuleLabelOutput

func (PrometheusAlertRuleLabelOutput) Value added in v3.8.0

The value of the annotation.

type PrometheusAlertRuleMap added in v3.8.0

type PrometheusAlertRuleMap map[string]PrometheusAlertRuleInput

func (PrometheusAlertRuleMap) ElementType added in v3.8.0

func (PrometheusAlertRuleMap) ElementType() reflect.Type

func (PrometheusAlertRuleMap) ToPrometheusAlertRuleMapOutput added in v3.8.0

func (i PrometheusAlertRuleMap) ToPrometheusAlertRuleMapOutput() PrometheusAlertRuleMapOutput

func (PrometheusAlertRuleMap) ToPrometheusAlertRuleMapOutputWithContext added in v3.8.0

func (i PrometheusAlertRuleMap) ToPrometheusAlertRuleMapOutputWithContext(ctx context.Context) PrometheusAlertRuleMapOutput

type PrometheusAlertRuleMapInput added in v3.8.0

type PrometheusAlertRuleMapInput interface {
	pulumi.Input

	ToPrometheusAlertRuleMapOutput() PrometheusAlertRuleMapOutput
	ToPrometheusAlertRuleMapOutputWithContext(context.Context) PrometheusAlertRuleMapOutput
}

PrometheusAlertRuleMapInput is an input type that accepts PrometheusAlertRuleMap and PrometheusAlertRuleMapOutput values. You can construct a concrete instance of `PrometheusAlertRuleMapInput` via:

PrometheusAlertRuleMap{ "key": PrometheusAlertRuleArgs{...} }

type PrometheusAlertRuleMapOutput added in v3.8.0

type PrometheusAlertRuleMapOutput struct{ *pulumi.OutputState }

func (PrometheusAlertRuleMapOutput) ElementType added in v3.8.0

func (PrometheusAlertRuleMapOutput) MapIndex added in v3.8.0

func (PrometheusAlertRuleMapOutput) ToPrometheusAlertRuleMapOutput added in v3.8.0

func (o PrometheusAlertRuleMapOutput) ToPrometheusAlertRuleMapOutput() PrometheusAlertRuleMapOutput

func (PrometheusAlertRuleMapOutput) ToPrometheusAlertRuleMapOutputWithContext added in v3.8.0

func (o PrometheusAlertRuleMapOutput) ToPrometheusAlertRuleMapOutputWithContext(ctx context.Context) PrometheusAlertRuleMapOutput

type PrometheusAlertRuleOutput added in v3.8.0

type PrometheusAlertRuleOutput struct{ *pulumi.OutputState }

func (PrometheusAlertRuleOutput) ElementType added in v3.8.0

func (PrometheusAlertRuleOutput) ElementType() reflect.Type

func (PrometheusAlertRuleOutput) ToPrometheusAlertRuleOutput added in v3.8.0

func (o PrometheusAlertRuleOutput) ToPrometheusAlertRuleOutput() PrometheusAlertRuleOutput

func (PrometheusAlertRuleOutput) ToPrometheusAlertRuleOutputWithContext added in v3.8.0

func (o PrometheusAlertRuleOutput) ToPrometheusAlertRuleOutputWithContext(ctx context.Context) PrometheusAlertRuleOutput

type PrometheusAlertRuleState added in v3.8.0

type PrometheusAlertRuleState struct {
	// The annotations of the alert rule.. See the following `Block annotations`.
	Annotations PrometheusAlertRuleAnnotationArrayInput
	// The ID of the cluster.
	ClusterId pulumi.StringPtrInput
	// The ID of the notification policy. This parameter is required when the `notifyType` parameter is set to `DISPATCH_RULE`.
	DispatchRuleId pulumi.StringPtrInput
	// The duration of the alert.
	Duration pulumi.StringPtrInput
	// The alert rule expression that follows the PromQL syntax.
	Expression pulumi.StringPtrInput
	// The labels of the resource. See the following `Block labels`.
	Labels PrometheusAlertRuleLabelArrayInput
	// The message of the alert notification.
	Message pulumi.StringPtrInput
	// The method of sending the alert notification. Valid values: `ALERT_MANAGER`, `DISPATCH_RULE`.
	NotifyType pulumi.StringPtrInput
	// The first ID of the resource.
	PrometheusAlertRuleId pulumi.IntPtrInput
	// The name of the resource.
	PrometheusAlertRuleName pulumi.StringPtrInput
	// The status of the resource. Valid values: `0`, `1`.
	Status pulumi.IntPtrInput
	// The type of the alert rule.
	Type pulumi.StringPtrInput
}

func (PrometheusAlertRuleState) ElementType added in v3.8.0

func (PrometheusAlertRuleState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL