arms

package
v3.39.1 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 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) AlertContactGroupName added in v3.27.0

func (o AlertContactGroupOutput) AlertContactGroupName() pulumi.StringOutput

The name of the resource.

func (AlertContactGroupOutput) ContactIds added in v3.27.0

The list id of alert contact.

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) AlertContactName added in v3.27.0

func (o AlertContactOutput) AlertContactName() pulumi.StringPtrOutput

The name of the alert contact.

func (AlertContactOutput) DingRobotWebhookUrl added in v3.27.0

func (o AlertContactOutput) DingRobotWebhookUrl() pulumi.StringPtrOutput

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.

func (AlertContactOutput) ElementType

func (AlertContactOutput) ElementType() reflect.Type

func (AlertContactOutput) Email added in v3.27.0

The email address of the alert contact. You must specify at least one of the following parameters: PhoneNum, Email, and DingRobotWebhookUrl.

func (AlertContactOutput) PhoneNum added in v3.27.0

The mobile number of the alert contact. You must specify at least one of the following parameters: PhoneNum, Email, and DingRobotWebhookUrl.

func (AlertContactOutput) SystemNoc added in v3.27.0

func (o AlertContactOutput) SystemNoc() pulumi.BoolPtrOutput

Specifies whether the alert contact receives system notifications. Valid values: true: receives system notifications. false: does not receive system notifications.

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) DispatchRuleName added in v3.27.0

func (o DispatchRuleOutput) DispatchRuleName() pulumi.StringOutput

The name of the dispatch policy.

func (DispatchRuleOutput) DispatchType added in v3.27.0

func (o DispatchRuleOutput) DispatchType() pulumi.StringPtrOutput

The alert handling method. Valid values: CREATE_ALERT: generates an alert. DISCARD_ALERT: discards the alert event and generates no alert.

func (DispatchRuleOutput) ElementType added in v3.8.0

func (DispatchRuleOutput) ElementType() reflect.Type

func (DispatchRuleOutput) GroupRules added in v3.27.0

Sets the event group. See the following `Block groupRules`. It will be ignored when `dispatchType = "DISCARD_ALERT"`.

func (DispatchRuleOutput) IsRecover added in v3.27.0

func (o DispatchRuleOutput) IsRecover() pulumi.BoolPtrOutput

Specifies whether to send the restored alert. Valid values: true: sends the alert. false: does not send the alert.

func (DispatchRuleOutput) LabelMatchExpressionGrids added in v3.27.0

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

func (DispatchRuleOutput) NotifyRules added in v3.27.0

Sets the notification rule. See the following `Block notifyRules`. It will be ignored when `dispatchType = "DISCARD_ALERT"`.

func (DispatchRuleOutput) Status added in v3.27.0

The resource status of Alert Dispatch Rule.

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"`
	// File name where to save data source results (after running `pulumi preview`).
	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"`
	// File name where to save data source results (after running `pulumi preview`).
	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"`
	// File name where to save data source results (after running `pulumi preview`).
	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"`
	// File name where to save data source results (after running `pulumi preview`).
	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"`
	// File name where to save data source results (after running `pulumi preview`).
	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"`
	// File name where to save data source results (after running `pulumi preview`).
	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 GetIntegrationExportersArgs added in v3.36.0

type GetIntegrationExportersArgs struct {
	// The ID of the Prometheus instance.
	ClusterId string `pulumi:"clusterId"`
	// A list of Integration Exporter IDs.
	Ids []string `pulumi:"ids"`
	// The type of prometheus integration.
	IntegrationType string `pulumi:"integrationType"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getIntegrationExporters.

type GetIntegrationExportersIntegrationExporter added in v3.36.0

type GetIntegrationExportersIntegrationExporter struct {
	// The ID of the Prometheus instance.
	ClusterId string `pulumi:"clusterId"`
	// Integration Exporter Type.
	ExporterType string `pulumi:"exporterType"`
	// The ID of the Integration Exporter. It formats as `<cluster_id>:<integration_type>:<instance_id>`.
	Id string `pulumi:"id"`
	// The ID of the Integration Exporter instance.
	InstanceId int `pulumi:"instanceId"`
	// The name of the instance.
	InstanceName string `pulumi:"instanceName"`
	// The type of prometheus integration.
	IntegrationType string `pulumi:"integrationType"`
	// Exporter configuration parameter json string.
	Param string `pulumi:"param"`
	// Monitor the target address.
	Target string `pulumi:"target"`
	// The version information.
	Version string `pulumi:"version"`
}

type GetIntegrationExportersIntegrationExporterArgs added in v3.36.0

type GetIntegrationExportersIntegrationExporterArgs struct {
	// The ID of the Prometheus instance.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// Integration Exporter Type.
	ExporterType pulumi.StringInput `pulumi:"exporterType"`
	// The ID of the Integration Exporter. It formats as `<cluster_id>:<integration_type>:<instance_id>`.
	Id pulumi.StringInput `pulumi:"id"`
	// The ID of the Integration Exporter instance.
	InstanceId pulumi.IntInput `pulumi:"instanceId"`
	// The name of the instance.
	InstanceName pulumi.StringInput `pulumi:"instanceName"`
	// The type of prometheus integration.
	IntegrationType pulumi.StringInput `pulumi:"integrationType"`
	// Exporter configuration parameter json string.
	Param pulumi.StringInput `pulumi:"param"`
	// Monitor the target address.
	Target pulumi.StringInput `pulumi:"target"`
	// The version information.
	Version pulumi.StringInput `pulumi:"version"`
}

func (GetIntegrationExportersIntegrationExporterArgs) ElementType added in v3.36.0

func (GetIntegrationExportersIntegrationExporterArgs) ToGetIntegrationExportersIntegrationExporterOutput added in v3.36.0

func (i GetIntegrationExportersIntegrationExporterArgs) ToGetIntegrationExportersIntegrationExporterOutput() GetIntegrationExportersIntegrationExporterOutput

func (GetIntegrationExportersIntegrationExporterArgs) ToGetIntegrationExportersIntegrationExporterOutputWithContext added in v3.36.0

func (i GetIntegrationExportersIntegrationExporterArgs) ToGetIntegrationExportersIntegrationExporterOutputWithContext(ctx context.Context) GetIntegrationExportersIntegrationExporterOutput

type GetIntegrationExportersIntegrationExporterArray added in v3.36.0

type GetIntegrationExportersIntegrationExporterArray []GetIntegrationExportersIntegrationExporterInput

func (GetIntegrationExportersIntegrationExporterArray) ElementType added in v3.36.0

func (GetIntegrationExportersIntegrationExporterArray) ToGetIntegrationExportersIntegrationExporterArrayOutput added in v3.36.0

func (i GetIntegrationExportersIntegrationExporterArray) ToGetIntegrationExportersIntegrationExporterArrayOutput() GetIntegrationExportersIntegrationExporterArrayOutput

func (GetIntegrationExportersIntegrationExporterArray) ToGetIntegrationExportersIntegrationExporterArrayOutputWithContext added in v3.36.0

func (i GetIntegrationExportersIntegrationExporterArray) ToGetIntegrationExportersIntegrationExporterArrayOutputWithContext(ctx context.Context) GetIntegrationExportersIntegrationExporterArrayOutput

type GetIntegrationExportersIntegrationExporterArrayInput added in v3.36.0

type GetIntegrationExportersIntegrationExporterArrayInput interface {
	pulumi.Input

	ToGetIntegrationExportersIntegrationExporterArrayOutput() GetIntegrationExportersIntegrationExporterArrayOutput
	ToGetIntegrationExportersIntegrationExporterArrayOutputWithContext(context.Context) GetIntegrationExportersIntegrationExporterArrayOutput
}

GetIntegrationExportersIntegrationExporterArrayInput is an input type that accepts GetIntegrationExportersIntegrationExporterArray and GetIntegrationExportersIntegrationExporterArrayOutput values. You can construct a concrete instance of `GetIntegrationExportersIntegrationExporterArrayInput` via:

GetIntegrationExportersIntegrationExporterArray{ GetIntegrationExportersIntegrationExporterArgs{...} }

type GetIntegrationExportersIntegrationExporterArrayOutput added in v3.36.0

type GetIntegrationExportersIntegrationExporterArrayOutput struct{ *pulumi.OutputState }

func (GetIntegrationExportersIntegrationExporterArrayOutput) ElementType added in v3.36.0

func (GetIntegrationExportersIntegrationExporterArrayOutput) Index added in v3.36.0

func (GetIntegrationExportersIntegrationExporterArrayOutput) ToGetIntegrationExportersIntegrationExporterArrayOutput added in v3.36.0

func (GetIntegrationExportersIntegrationExporterArrayOutput) ToGetIntegrationExportersIntegrationExporterArrayOutputWithContext added in v3.36.0

func (o GetIntegrationExportersIntegrationExporterArrayOutput) ToGetIntegrationExportersIntegrationExporterArrayOutputWithContext(ctx context.Context) GetIntegrationExportersIntegrationExporterArrayOutput

type GetIntegrationExportersIntegrationExporterInput added in v3.36.0

type GetIntegrationExportersIntegrationExporterInput interface {
	pulumi.Input

	ToGetIntegrationExportersIntegrationExporterOutput() GetIntegrationExportersIntegrationExporterOutput
	ToGetIntegrationExportersIntegrationExporterOutputWithContext(context.Context) GetIntegrationExportersIntegrationExporterOutput
}

GetIntegrationExportersIntegrationExporterInput is an input type that accepts GetIntegrationExportersIntegrationExporterArgs and GetIntegrationExportersIntegrationExporterOutput values. You can construct a concrete instance of `GetIntegrationExportersIntegrationExporterInput` via:

GetIntegrationExportersIntegrationExporterArgs{...}

type GetIntegrationExportersIntegrationExporterOutput added in v3.36.0

type GetIntegrationExportersIntegrationExporterOutput struct{ *pulumi.OutputState }

func (GetIntegrationExportersIntegrationExporterOutput) ClusterId added in v3.36.0

The ID of the Prometheus instance.

func (GetIntegrationExportersIntegrationExporterOutput) ElementType added in v3.36.0

func (GetIntegrationExportersIntegrationExporterOutput) ExporterType added in v3.36.0

Integration Exporter Type.

func (GetIntegrationExportersIntegrationExporterOutput) Id added in v3.36.0

The ID of the Integration Exporter. It formats as `<cluster_id>:<integration_type>:<instance_id>`.

func (GetIntegrationExportersIntegrationExporterOutput) InstanceId added in v3.36.0

The ID of the Integration Exporter instance.

func (GetIntegrationExportersIntegrationExporterOutput) InstanceName added in v3.36.0

The name of the instance.

func (GetIntegrationExportersIntegrationExporterOutput) IntegrationType added in v3.36.0

The type of prometheus integration.

func (GetIntegrationExportersIntegrationExporterOutput) Param added in v3.36.0

Exporter configuration parameter json string.

func (GetIntegrationExportersIntegrationExporterOutput) Target added in v3.36.0

Monitor the target address.

func (GetIntegrationExportersIntegrationExporterOutput) ToGetIntegrationExportersIntegrationExporterOutput added in v3.36.0

func (o GetIntegrationExportersIntegrationExporterOutput) ToGetIntegrationExportersIntegrationExporterOutput() GetIntegrationExportersIntegrationExporterOutput

func (GetIntegrationExportersIntegrationExporterOutput) ToGetIntegrationExportersIntegrationExporterOutputWithContext added in v3.36.0

func (o GetIntegrationExportersIntegrationExporterOutput) ToGetIntegrationExportersIntegrationExporterOutputWithContext(ctx context.Context) GetIntegrationExportersIntegrationExporterOutput

func (GetIntegrationExportersIntegrationExporterOutput) Version added in v3.36.0

The version information.

type GetIntegrationExportersOutputArgs added in v3.36.0

type GetIntegrationExportersOutputArgs struct {
	// The ID of the Prometheus instance.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// A list of Integration Exporter IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The type of prometheus integration.
	IntegrationType pulumi.StringInput `pulumi:"integrationType"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getIntegrationExporters.

func (GetIntegrationExportersOutputArgs) ElementType added in v3.36.0

type GetIntegrationExportersResult added in v3.36.0

type GetIntegrationExportersResult struct {
	// The ID of the Prometheus instance.
	ClusterId string `pulumi:"clusterId"`
	// The provider-assigned unique ID for this managed resource.
	Id  string   `pulumi:"id"`
	Ids []string `pulumi:"ids"`
	// A list of Integration Exporters. Each element contains the following attributes:
	IntegrationExporters []GetIntegrationExportersIntegrationExporter `pulumi:"integrationExporters"`
	// The type of prometheus integration.
	IntegrationType string  `pulumi:"integrationType"`
	OutputFile      *string `pulumi:"outputFile"`
}

A collection of values returned by getIntegrationExporters.

func GetIntegrationExporters added in v3.36.0

func GetIntegrationExporters(ctx *pulumi.Context, args *GetIntegrationExportersArgs, opts ...pulumi.InvokeOption) (*GetIntegrationExportersResult, error)

This data source provides the Arms Integration Exporters of the current Alibaba Cloud user.

> **NOTE:** Available in v1.203.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.GetIntegrationExporters(ctx, &arms.GetIntegrationExportersArgs{
			Ids: []string{
				"example_id",
			},
			ClusterId:       "your_cluster_id",
			IntegrationType: "kafka",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("armsIntegrationExportersId1", ids.IntegrationExporters[0].Id)
		return nil
	})
}

```

type GetIntegrationExportersResultOutput added in v3.36.0

type GetIntegrationExportersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getIntegrationExporters.

func GetIntegrationExportersOutput added in v3.36.0

func (GetIntegrationExportersResultOutput) ClusterId added in v3.36.0

The ID of the Prometheus instance.

func (GetIntegrationExportersResultOutput) ElementType added in v3.36.0

func (GetIntegrationExportersResultOutput) Id added in v3.36.0

The provider-assigned unique ID for this managed resource.

func (GetIntegrationExportersResultOutput) Ids added in v3.36.0

func (GetIntegrationExportersResultOutput) IntegrationExporters added in v3.36.0

A list of Integration Exporters. Each element contains the following attributes:

func (GetIntegrationExportersResultOutput) IntegrationType added in v3.36.0

The type of prometheus integration.

func (GetIntegrationExportersResultOutput) OutputFile added in v3.36.0

func (GetIntegrationExportersResultOutput) ToGetIntegrationExportersResultOutput added in v3.36.0

func (o GetIntegrationExportersResultOutput) ToGetIntegrationExportersResultOutput() GetIntegrationExportersResultOutput

func (GetIntegrationExportersResultOutput) ToGetIntegrationExportersResultOutputWithContext added in v3.36.0

func (o GetIntegrationExportersResultOutput) ToGetIntegrationExportersResultOutputWithContext(ctx context.Context) GetIntegrationExportersResultOutput

type GetPrometheisArgs added in v3.36.0

type GetPrometheisArgs struct {
	// A list of Prometheus IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Prometheus name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The ID of the resource group.
	ResourceGroupId *string `pulumi:"resourceGroupId"`
	// A mapping of tags to assign to the resource.
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of arguments for invoking getPrometheis.

type GetPrometheisOutputArgs added in v3.36.0

type GetPrometheisOutputArgs struct {
	// A list of Prometheus IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Prometheus name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput `pulumi:"resourceGroupId"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput `pulumi:"tags"`
}

A collection of arguments for invoking getPrometheis.

func (GetPrometheisOutputArgs) ElementType added in v3.36.0

func (GetPrometheisOutputArgs) ElementType() reflect.Type

type GetPrometheisPromethei added in v3.36.0

type GetPrometheisPromethei struct {
	// The ID of the cluster.
	ClusterId string `pulumi:"clusterId"`
	// The name of the cluster.
	ClusterName string `pulumi:"clusterName"`
	// The type of the cluster.
	ClusterType string `pulumi:"clusterType"`
	// The ID of the Grafana workspace.
	GrafanaInstanceId string `pulumi:"grafanaInstanceId"`
	// The ID of the Prometheus.
	Id string `pulumi:"id"`
	// The ID of the resource group.
	ResourceGroupId string `pulumi:"resourceGroupId"`
	// The ID of the security group.
	SecurityGroupId string `pulumi:"securityGroupId"`
	// The child instance json string of the globalView instance.
	SubClustersJson string `pulumi:"subClustersJson"`
	// A mapping of tags to assign to the resource.
	Tags map[string]interface{} `pulumi:"tags"`
	// The ID of the VPC.
	VpcId string `pulumi:"vpcId"`
	// The ID of the VSwitch.
	VswitchId string `pulumi:"vswitchId"`
}

type GetPrometheisPrometheiArgs added in v3.36.0

type GetPrometheisPrometheiArgs struct {
	// The ID of the cluster.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// The name of the cluster.
	ClusterName pulumi.StringInput `pulumi:"clusterName"`
	// The type of the cluster.
	ClusterType pulumi.StringInput `pulumi:"clusterType"`
	// The ID of the Grafana workspace.
	GrafanaInstanceId pulumi.StringInput `pulumi:"grafanaInstanceId"`
	// The ID of the Prometheus.
	Id pulumi.StringInput `pulumi:"id"`
	// The ID of the resource group.
	ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"`
	// The ID of the security group.
	SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"`
	// The child instance json string of the globalView instance.
	SubClustersJson pulumi.StringInput `pulumi:"subClustersJson"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput `pulumi:"tags"`
	// The ID of the VPC.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// The ID of the VSwitch.
	VswitchId pulumi.StringInput `pulumi:"vswitchId"`
}

func (GetPrometheisPrometheiArgs) ElementType added in v3.36.0

func (GetPrometheisPrometheiArgs) ElementType() reflect.Type

func (GetPrometheisPrometheiArgs) ToGetPrometheisPrometheiOutput added in v3.36.0

func (i GetPrometheisPrometheiArgs) ToGetPrometheisPrometheiOutput() GetPrometheisPrometheiOutput

func (GetPrometheisPrometheiArgs) ToGetPrometheisPrometheiOutputWithContext added in v3.36.0

func (i GetPrometheisPrometheiArgs) ToGetPrometheisPrometheiOutputWithContext(ctx context.Context) GetPrometheisPrometheiOutput

type GetPrometheisPrometheiArray added in v3.36.0

type GetPrometheisPrometheiArray []GetPrometheisPrometheiInput

func (GetPrometheisPrometheiArray) ElementType added in v3.36.0

func (GetPrometheisPrometheiArray) ToGetPrometheisPrometheiArrayOutput added in v3.36.0

func (i GetPrometheisPrometheiArray) ToGetPrometheisPrometheiArrayOutput() GetPrometheisPrometheiArrayOutput

func (GetPrometheisPrometheiArray) ToGetPrometheisPrometheiArrayOutputWithContext added in v3.36.0

func (i GetPrometheisPrometheiArray) ToGetPrometheisPrometheiArrayOutputWithContext(ctx context.Context) GetPrometheisPrometheiArrayOutput

type GetPrometheisPrometheiArrayInput added in v3.36.0

type GetPrometheisPrometheiArrayInput interface {
	pulumi.Input

	ToGetPrometheisPrometheiArrayOutput() GetPrometheisPrometheiArrayOutput
	ToGetPrometheisPrometheiArrayOutputWithContext(context.Context) GetPrometheisPrometheiArrayOutput
}

GetPrometheisPrometheiArrayInput is an input type that accepts GetPrometheisPrometheiArray and GetPrometheisPrometheiArrayOutput values. You can construct a concrete instance of `GetPrometheisPrometheiArrayInput` via:

GetPrometheisPrometheiArray{ GetPrometheisPrometheiArgs{...} }

type GetPrometheisPrometheiArrayOutput added in v3.36.0

type GetPrometheisPrometheiArrayOutput struct{ *pulumi.OutputState }

func (GetPrometheisPrometheiArrayOutput) ElementType added in v3.36.0

func (GetPrometheisPrometheiArrayOutput) Index added in v3.36.0

func (GetPrometheisPrometheiArrayOutput) ToGetPrometheisPrometheiArrayOutput added in v3.36.0

func (o GetPrometheisPrometheiArrayOutput) ToGetPrometheisPrometheiArrayOutput() GetPrometheisPrometheiArrayOutput

func (GetPrometheisPrometheiArrayOutput) ToGetPrometheisPrometheiArrayOutputWithContext added in v3.36.0

func (o GetPrometheisPrometheiArrayOutput) ToGetPrometheisPrometheiArrayOutputWithContext(ctx context.Context) GetPrometheisPrometheiArrayOutput

type GetPrometheisPrometheiInput added in v3.36.0

type GetPrometheisPrometheiInput interface {
	pulumi.Input

	ToGetPrometheisPrometheiOutput() GetPrometheisPrometheiOutput
	ToGetPrometheisPrometheiOutputWithContext(context.Context) GetPrometheisPrometheiOutput
}

GetPrometheisPrometheiInput is an input type that accepts GetPrometheisPrometheiArgs and GetPrometheisPrometheiOutput values. You can construct a concrete instance of `GetPrometheisPrometheiInput` via:

GetPrometheisPrometheiArgs{...}

type GetPrometheisPrometheiOutput added in v3.36.0

type GetPrometheisPrometheiOutput struct{ *pulumi.OutputState }

func (GetPrometheisPrometheiOutput) ClusterId added in v3.36.0

The ID of the cluster.

func (GetPrometheisPrometheiOutput) ClusterName added in v3.36.0

The name of the cluster.

func (GetPrometheisPrometheiOutput) ClusterType added in v3.36.0

The type of the cluster.

func (GetPrometheisPrometheiOutput) ElementType added in v3.36.0

func (GetPrometheisPrometheiOutput) GrafanaInstanceId added in v3.36.0

func (o GetPrometheisPrometheiOutput) GrafanaInstanceId() pulumi.StringOutput

The ID of the Grafana workspace.

func (GetPrometheisPrometheiOutput) Id added in v3.36.0

The ID of the Prometheus.

func (GetPrometheisPrometheiOutput) ResourceGroupId added in v3.36.0

func (o GetPrometheisPrometheiOutput) ResourceGroupId() pulumi.StringOutput

The ID of the resource group.

func (GetPrometheisPrometheiOutput) SecurityGroupId added in v3.36.0

func (o GetPrometheisPrometheiOutput) SecurityGroupId() pulumi.StringOutput

The ID of the security group.

func (GetPrometheisPrometheiOutput) SubClustersJson added in v3.36.0

func (o GetPrometheisPrometheiOutput) SubClustersJson() pulumi.StringOutput

The child instance json string of the globalView instance.

func (GetPrometheisPrometheiOutput) Tags added in v3.36.0

A mapping of tags to assign to the resource.

func (GetPrometheisPrometheiOutput) ToGetPrometheisPrometheiOutput added in v3.36.0

func (o GetPrometheisPrometheiOutput) ToGetPrometheisPrometheiOutput() GetPrometheisPrometheiOutput

func (GetPrometheisPrometheiOutput) ToGetPrometheisPrometheiOutputWithContext added in v3.36.0

func (o GetPrometheisPrometheiOutput) ToGetPrometheisPrometheiOutputWithContext(ctx context.Context) GetPrometheisPrometheiOutput

func (GetPrometheisPrometheiOutput) VpcId added in v3.36.0

The ID of the VPC.

func (GetPrometheisPrometheiOutput) VswitchId added in v3.36.0

The ID of the VSwitch.

type GetPrometheisResult added in v3.36.0

type GetPrometheisResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id        string   `pulumi:"id"`
	Ids       []string `pulumi:"ids"`
	NameRegex *string  `pulumi:"nameRegex"`
	// A list of Prometheus names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// A list of Prometheis. Each element contains the following attributes:
	Prometheis []GetPrometheisPromethei `pulumi:"prometheis"`
	// The ID of the resource group.
	ResourceGroupId *string `pulumi:"resourceGroupId"`
	// The tag of the Prometheus.
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of values returned by getPrometheis.

func GetPrometheis added in v3.36.0

func GetPrometheis(ctx *pulumi.Context, args *GetPrometheisArgs, opts ...pulumi.InvokeOption) (*GetPrometheisResult, error)

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

> **NOTE:** Available in v1.203.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.GetPrometheis(ctx, &arms.GetPrometheisArgs{
			Ids: []string{
				"example_id",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("armsPrometheisId1", ids.Prometheis[0].Id)
		nameRegex, err := arms.GetPrometheis(ctx, &arms.GetPrometheisArgs{
			NameRegex: pulumi.StringRef("tf-example"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("armsPrometheisId2", nameRegex.Prometheis[0].Id)
		return nil
	})
}

```

type GetPrometheisResultOutput added in v3.36.0

type GetPrometheisResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPrometheis.

func GetPrometheisOutput added in v3.36.0

func GetPrometheisOutput(ctx *pulumi.Context, args GetPrometheisOutputArgs, opts ...pulumi.InvokeOption) GetPrometheisResultOutput

func (GetPrometheisResultOutput) ElementType added in v3.36.0

func (GetPrometheisResultOutput) ElementType() reflect.Type

func (GetPrometheisResultOutput) Id added in v3.36.0

The provider-assigned unique ID for this managed resource.

func (GetPrometheisResultOutput) Ids added in v3.36.0

func (GetPrometheisResultOutput) NameRegex added in v3.36.0

func (GetPrometheisResultOutput) Names added in v3.36.0

A list of Prometheus names.

func (GetPrometheisResultOutput) OutputFile added in v3.36.0

func (GetPrometheisResultOutput) Prometheis added in v3.36.0

A list of Prometheis. Each element contains the following attributes:

func (GetPrometheisResultOutput) ResourceGroupId added in v3.36.0

func (o GetPrometheisResultOutput) ResourceGroupId() pulumi.StringPtrOutput

The ID of the resource group.

func (GetPrometheisResultOutput) Tags added in v3.36.0

The tag of the Prometheus.

func (GetPrometheisResultOutput) ToGetPrometheisResultOutput added in v3.36.0

func (o GetPrometheisResultOutput) ToGetPrometheisResultOutput() GetPrometheisResultOutput

func (GetPrometheisResultOutput) ToGetPrometheisResultOutputWithContext added in v3.36.0

func (o GetPrometheisResultOutput) ToGetPrometheisResultOutputWithContext(ctx context.Context) GetPrometheisResultOutput

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"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The status of the resource. Valid values: `0`, `1`.
	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"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of the resource. Valid values: `0`, `1`.
	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`.
	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`.
	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`.

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 GetRemoteWritesArgs added in v3.37.0

type GetRemoteWritesArgs struct {
	// The ID of the Prometheus instance.
	ClusterId string `pulumi:"clusterId"`
	// A list of Remote Write IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Remote Write name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getRemoteWrites.

type GetRemoteWritesOutputArgs added in v3.37.0

type GetRemoteWritesOutputArgs struct {
	// The ID of the Prometheus instance.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// A list of Remote Write IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Remote Write name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getRemoteWrites.

func (GetRemoteWritesOutputArgs) ElementType added in v3.37.0

func (GetRemoteWritesOutputArgs) ElementType() reflect.Type

type GetRemoteWritesRemoteWrite added in v3.37.0

type GetRemoteWritesRemoteWrite struct {
	// The ID of the Prometheus instance.
	ClusterId string `pulumi:"clusterId"`
	// The ID of the Remote Write. It formats as `<cluster_id>:<remote_write_name>`.
	Id string `pulumi:"id"`
	// The name of the Remote Write configuration item.
	RemoteWriteName string `pulumi:"remoteWriteName"`
	// The details of the Remote Write configuration item. The value is in the YAML format.
	RemoteWriteYaml string `pulumi:"remoteWriteYaml"`
}

type GetRemoteWritesRemoteWriteArgs added in v3.37.0

type GetRemoteWritesRemoteWriteArgs struct {
	// The ID of the Prometheus instance.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// The ID of the Remote Write. It formats as `<cluster_id>:<remote_write_name>`.
	Id pulumi.StringInput `pulumi:"id"`
	// The name of the Remote Write configuration item.
	RemoteWriteName pulumi.StringInput `pulumi:"remoteWriteName"`
	// The details of the Remote Write configuration item. The value is in the YAML format.
	RemoteWriteYaml pulumi.StringInput `pulumi:"remoteWriteYaml"`
}

func (GetRemoteWritesRemoteWriteArgs) ElementType added in v3.37.0

func (GetRemoteWritesRemoteWriteArgs) ToGetRemoteWritesRemoteWriteOutput added in v3.37.0

func (i GetRemoteWritesRemoteWriteArgs) ToGetRemoteWritesRemoteWriteOutput() GetRemoteWritesRemoteWriteOutput

func (GetRemoteWritesRemoteWriteArgs) ToGetRemoteWritesRemoteWriteOutputWithContext added in v3.37.0

func (i GetRemoteWritesRemoteWriteArgs) ToGetRemoteWritesRemoteWriteOutputWithContext(ctx context.Context) GetRemoteWritesRemoteWriteOutput

type GetRemoteWritesRemoteWriteArray added in v3.37.0

type GetRemoteWritesRemoteWriteArray []GetRemoteWritesRemoteWriteInput

func (GetRemoteWritesRemoteWriteArray) ElementType added in v3.37.0

func (GetRemoteWritesRemoteWriteArray) ToGetRemoteWritesRemoteWriteArrayOutput added in v3.37.0

func (i GetRemoteWritesRemoteWriteArray) ToGetRemoteWritesRemoteWriteArrayOutput() GetRemoteWritesRemoteWriteArrayOutput

func (GetRemoteWritesRemoteWriteArray) ToGetRemoteWritesRemoteWriteArrayOutputWithContext added in v3.37.0

func (i GetRemoteWritesRemoteWriteArray) ToGetRemoteWritesRemoteWriteArrayOutputWithContext(ctx context.Context) GetRemoteWritesRemoteWriteArrayOutput

type GetRemoteWritesRemoteWriteArrayInput added in v3.37.0

type GetRemoteWritesRemoteWriteArrayInput interface {
	pulumi.Input

	ToGetRemoteWritesRemoteWriteArrayOutput() GetRemoteWritesRemoteWriteArrayOutput
	ToGetRemoteWritesRemoteWriteArrayOutputWithContext(context.Context) GetRemoteWritesRemoteWriteArrayOutput
}

GetRemoteWritesRemoteWriteArrayInput is an input type that accepts GetRemoteWritesRemoteWriteArray and GetRemoteWritesRemoteWriteArrayOutput values. You can construct a concrete instance of `GetRemoteWritesRemoteWriteArrayInput` via:

GetRemoteWritesRemoteWriteArray{ GetRemoteWritesRemoteWriteArgs{...} }

type GetRemoteWritesRemoteWriteArrayOutput added in v3.37.0

type GetRemoteWritesRemoteWriteArrayOutput struct{ *pulumi.OutputState }

func (GetRemoteWritesRemoteWriteArrayOutput) ElementType added in v3.37.0

func (GetRemoteWritesRemoteWriteArrayOutput) Index added in v3.37.0

func (GetRemoteWritesRemoteWriteArrayOutput) ToGetRemoteWritesRemoteWriteArrayOutput added in v3.37.0

func (o GetRemoteWritesRemoteWriteArrayOutput) ToGetRemoteWritesRemoteWriteArrayOutput() GetRemoteWritesRemoteWriteArrayOutput

func (GetRemoteWritesRemoteWriteArrayOutput) ToGetRemoteWritesRemoteWriteArrayOutputWithContext added in v3.37.0

func (o GetRemoteWritesRemoteWriteArrayOutput) ToGetRemoteWritesRemoteWriteArrayOutputWithContext(ctx context.Context) GetRemoteWritesRemoteWriteArrayOutput

type GetRemoteWritesRemoteWriteInput added in v3.37.0

type GetRemoteWritesRemoteWriteInput interface {
	pulumi.Input

	ToGetRemoteWritesRemoteWriteOutput() GetRemoteWritesRemoteWriteOutput
	ToGetRemoteWritesRemoteWriteOutputWithContext(context.Context) GetRemoteWritesRemoteWriteOutput
}

GetRemoteWritesRemoteWriteInput is an input type that accepts GetRemoteWritesRemoteWriteArgs and GetRemoteWritesRemoteWriteOutput values. You can construct a concrete instance of `GetRemoteWritesRemoteWriteInput` via:

GetRemoteWritesRemoteWriteArgs{...}

type GetRemoteWritesRemoteWriteOutput added in v3.37.0

type GetRemoteWritesRemoteWriteOutput struct{ *pulumi.OutputState }

func (GetRemoteWritesRemoteWriteOutput) ClusterId added in v3.37.0

The ID of the Prometheus instance.

func (GetRemoteWritesRemoteWriteOutput) ElementType added in v3.37.0

func (GetRemoteWritesRemoteWriteOutput) Id added in v3.37.0

The ID of the Remote Write. It formats as `<cluster_id>:<remote_write_name>`.

func (GetRemoteWritesRemoteWriteOutput) RemoteWriteName added in v3.37.0

The name of the Remote Write configuration item.

func (GetRemoteWritesRemoteWriteOutput) RemoteWriteYaml added in v3.37.0

The details of the Remote Write configuration item. The value is in the YAML format.

func (GetRemoteWritesRemoteWriteOutput) ToGetRemoteWritesRemoteWriteOutput added in v3.37.0

func (o GetRemoteWritesRemoteWriteOutput) ToGetRemoteWritesRemoteWriteOutput() GetRemoteWritesRemoteWriteOutput

func (GetRemoteWritesRemoteWriteOutput) ToGetRemoteWritesRemoteWriteOutputWithContext added in v3.37.0

func (o GetRemoteWritesRemoteWriteOutput) ToGetRemoteWritesRemoteWriteOutputWithContext(ctx context.Context) GetRemoteWritesRemoteWriteOutput

type GetRemoteWritesResult added in v3.37.0

type GetRemoteWritesResult struct {
	// The ID of the Prometheus instance.
	ClusterId string `pulumi:"clusterId"`
	// The provider-assigned unique ID for this managed resource.
	Id        string   `pulumi:"id"`
	Ids       []string `pulumi:"ids"`
	NameRegex *string  `pulumi:"nameRegex"`
	// A list of Remote Write names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// A list of Remote Writes. Each element contains the following attributes:
	RemoteWrites []GetRemoteWritesRemoteWrite `pulumi:"remoteWrites"`
}

A collection of values returned by getRemoteWrites.

func GetRemoteWrites added in v3.37.0

func GetRemoteWrites(ctx *pulumi.Context, args *GetRemoteWritesArgs, opts ...pulumi.InvokeOption) (*GetRemoteWritesResult, error)

This data source provides the Arms Remote Writes of the current Alibaba Cloud user.

> **NOTE:** Available in v1.204.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.GetRemoteWrites(ctx, &arms.GetRemoteWritesArgs{
			Ids: []string{
				"example_id",
			},
			ClusterId: "your_cluster_id",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("armsRemoteWritesId1", ids.RemoteWrites[0].Id)
		nameRegex, err := arms.GetRemoteWrites(ctx, &arms.GetRemoteWritesArgs{
			NameRegex: pulumi.StringRef("tf-example"),
			ClusterId: "your_cluster_id",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("armsRemoteWritesId2", nameRegex.RemoteWrites[0].Id)
		return nil
	})
}

```

type GetRemoteWritesResultOutput added in v3.37.0

type GetRemoteWritesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRemoteWrites.

func GetRemoteWritesOutput added in v3.37.0

func (GetRemoteWritesResultOutput) ClusterId added in v3.37.0

The ID of the Prometheus instance.

func (GetRemoteWritesResultOutput) ElementType added in v3.37.0

func (GetRemoteWritesResultOutput) Id added in v3.37.0

The provider-assigned unique ID for this managed resource.

func (GetRemoteWritesResultOutput) Ids added in v3.37.0

func (GetRemoteWritesResultOutput) NameRegex added in v3.37.0

func (GetRemoteWritesResultOutput) Names added in v3.37.0

A list of Remote Write names.

func (GetRemoteWritesResultOutput) OutputFile added in v3.37.0

func (GetRemoteWritesResultOutput) RemoteWrites added in v3.37.0

A list of Remote Writes. Each element contains the following attributes:

func (GetRemoteWritesResultOutput) ToGetRemoteWritesResultOutput added in v3.37.0

func (o GetRemoteWritesResultOutput) ToGetRemoteWritesResultOutput() GetRemoteWritesResultOutput

func (GetRemoteWritesResultOutput) ToGetRemoteWritesResultOutputWithContext added in v3.37.0

func (o GetRemoteWritesResultOutput) ToGetRemoteWritesResultOutputWithContext(ctx context.Context) GetRemoteWritesResultOutput

type IntegrationExporter added in v3.36.0

type IntegrationExporter struct {
	pulumi.CustomResourceState

	// The ID of the Prometheus instance.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The ID of the Integration Exporter instance.
	InstanceId pulumi.IntOutput `pulumi:"instanceId"`
	// The type of prometheus integration.
	IntegrationType pulumi.StringOutput `pulumi:"integrationType"`
	// Exporter configuration parameter json string.
	Param pulumi.StringOutput `pulumi:"param"`
}

Provides a Application Real-Time Monitoring Service (ARMS) Integration Exporter resource.

For information about Application Real-Time Monitoring Service (ARMS) Integration Exporter and how to use it, see [What is Integration Exporter](https://www.alibabacloud.com/help/en/application-real-time-monitoring-service/latest/api-doc-arms-2019-08-08-api-doc-addprometheusintegration).

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

## Example Usage

Basic Usage

```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultNetworks, err := vpc.GetNetworks(ctx, &vpc.GetNetworksArgs{
			NameRegex: pulumi.StringRef("your_name_regex"),
		}, nil)
		if err != nil {
			return err
		}
		defaultSwitches, err := vpc.GetSwitches(ctx, &vpc.GetSwitchesArgs{
			VpcId: pulumi.StringRef(defaultNetworks.Ids[0]),
		}, nil)
		if err != nil {
			return err
		}
		defaultResourceGroups, err := resourcemanager.GetResourceGroups(ctx, nil, nil)
		if err != nil {
			return err
		}
		defaultSecurityGroup, err := ecs.NewSecurityGroup(ctx, "defaultSecurityGroup", &ecs.SecurityGroupArgs{
			VpcId: *pulumi.String(defaultNetworks.Ids[0]),
		})
		if err != nil {
			return err
		}
		defaultPrometheus, err := arms.NewPrometheus(ctx, "defaultPrometheus", &arms.PrometheusArgs{
			ClusterType:       pulumi.String("ecs"),
			GrafanaInstanceId: pulumi.String("free"),
			VpcId:             *pulumi.String(defaultNetworks.Ids[0]),
			VswitchId:         *pulumi.String(defaultSwitches.Ids[0]),
			SecurityGroupId:   defaultSecurityGroup.ID(),
			ClusterName:       pulumi.String(fmt.Sprintf("%v-%v", _var.Name, defaultNetworks.Ids[0])),
			ResourceGroupId:   *pulumi.String(defaultResourceGroups.Groups[0].Id),
			Tags: pulumi.AnyMap{
				"Created": pulumi.Any("TF"),
				"For":     pulumi.Any("Prometheus"),
			},
		})
		if err != nil {
			return err
		}
		_, err = arms.NewIntegrationExporter(ctx, "defaultIntegrationExporter", &arms.IntegrationExporterArgs{
			ClusterId:       defaultPrometheus.ID(),
			IntegrationType: pulumi.String("kafka"),
			Param:           pulumi.String("{\"tls_insecure-skip-tls-verify\":\"none=tls.insecure-skip-tls-verify\",\"tls_enabled\":\"none=tls.enabled\",\"sasl_mechanism\":\"\",\"name\":\"kafka1\",\"sasl_enabled\":\"none=sasl.enabled\",\"ip_ports\":\"abc:888\",\"scrape_interval\":30,\"version\":\"0.10.1.0\"}"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import alicloud:arms/integrationExporter:IntegrationExporter example <cluster_id>:<integration_type>:<instance_id>

```

func GetIntegrationExporter added in v3.36.0

func GetIntegrationExporter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IntegrationExporterState, opts ...pulumi.ResourceOption) (*IntegrationExporter, error)

GetIntegrationExporter gets an existing IntegrationExporter 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 NewIntegrationExporter added in v3.36.0

func NewIntegrationExporter(ctx *pulumi.Context,
	name string, args *IntegrationExporterArgs, opts ...pulumi.ResourceOption) (*IntegrationExporter, error)

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

func (*IntegrationExporter) ElementType added in v3.36.0

func (*IntegrationExporter) ElementType() reflect.Type

func (*IntegrationExporter) ToIntegrationExporterOutput added in v3.36.0

func (i *IntegrationExporter) ToIntegrationExporterOutput() IntegrationExporterOutput

func (*IntegrationExporter) ToIntegrationExporterOutputWithContext added in v3.36.0

func (i *IntegrationExporter) ToIntegrationExporterOutputWithContext(ctx context.Context) IntegrationExporterOutput

type IntegrationExporterArgs added in v3.36.0

type IntegrationExporterArgs struct {
	// The ID of the Prometheus instance.
	ClusterId pulumi.StringInput
	// The type of prometheus integration.
	IntegrationType pulumi.StringInput
	// Exporter configuration parameter json string.
	Param pulumi.StringInput
}

The set of arguments for constructing a IntegrationExporter resource.

func (IntegrationExporterArgs) ElementType added in v3.36.0

func (IntegrationExporterArgs) ElementType() reflect.Type

type IntegrationExporterArray added in v3.36.0

type IntegrationExporterArray []IntegrationExporterInput

func (IntegrationExporterArray) ElementType added in v3.36.0

func (IntegrationExporterArray) ElementType() reflect.Type

func (IntegrationExporterArray) ToIntegrationExporterArrayOutput added in v3.36.0

func (i IntegrationExporterArray) ToIntegrationExporterArrayOutput() IntegrationExporterArrayOutput

func (IntegrationExporterArray) ToIntegrationExporterArrayOutputWithContext added in v3.36.0

func (i IntegrationExporterArray) ToIntegrationExporterArrayOutputWithContext(ctx context.Context) IntegrationExporterArrayOutput

type IntegrationExporterArrayInput added in v3.36.0

type IntegrationExporterArrayInput interface {
	pulumi.Input

	ToIntegrationExporterArrayOutput() IntegrationExporterArrayOutput
	ToIntegrationExporterArrayOutputWithContext(context.Context) IntegrationExporterArrayOutput
}

IntegrationExporterArrayInput is an input type that accepts IntegrationExporterArray and IntegrationExporterArrayOutput values. You can construct a concrete instance of `IntegrationExporterArrayInput` via:

IntegrationExporterArray{ IntegrationExporterArgs{...} }

type IntegrationExporterArrayOutput added in v3.36.0

type IntegrationExporterArrayOutput struct{ *pulumi.OutputState }

func (IntegrationExporterArrayOutput) ElementType added in v3.36.0

func (IntegrationExporterArrayOutput) Index added in v3.36.0

func (IntegrationExporterArrayOutput) ToIntegrationExporterArrayOutput added in v3.36.0

func (o IntegrationExporterArrayOutput) ToIntegrationExporterArrayOutput() IntegrationExporterArrayOutput

func (IntegrationExporterArrayOutput) ToIntegrationExporterArrayOutputWithContext added in v3.36.0

func (o IntegrationExporterArrayOutput) ToIntegrationExporterArrayOutputWithContext(ctx context.Context) IntegrationExporterArrayOutput

type IntegrationExporterInput added in v3.36.0

type IntegrationExporterInput interface {
	pulumi.Input

	ToIntegrationExporterOutput() IntegrationExporterOutput
	ToIntegrationExporterOutputWithContext(ctx context.Context) IntegrationExporterOutput
}

type IntegrationExporterMap added in v3.36.0

type IntegrationExporterMap map[string]IntegrationExporterInput

func (IntegrationExporterMap) ElementType added in v3.36.0

func (IntegrationExporterMap) ElementType() reflect.Type

func (IntegrationExporterMap) ToIntegrationExporterMapOutput added in v3.36.0

func (i IntegrationExporterMap) ToIntegrationExporterMapOutput() IntegrationExporterMapOutput

func (IntegrationExporterMap) ToIntegrationExporterMapOutputWithContext added in v3.36.0

func (i IntegrationExporterMap) ToIntegrationExporterMapOutputWithContext(ctx context.Context) IntegrationExporterMapOutput

type IntegrationExporterMapInput added in v3.36.0

type IntegrationExporterMapInput interface {
	pulumi.Input

	ToIntegrationExporterMapOutput() IntegrationExporterMapOutput
	ToIntegrationExporterMapOutputWithContext(context.Context) IntegrationExporterMapOutput
}

IntegrationExporterMapInput is an input type that accepts IntegrationExporterMap and IntegrationExporterMapOutput values. You can construct a concrete instance of `IntegrationExporterMapInput` via:

IntegrationExporterMap{ "key": IntegrationExporterArgs{...} }

type IntegrationExporterMapOutput added in v3.36.0

type IntegrationExporterMapOutput struct{ *pulumi.OutputState }

func (IntegrationExporterMapOutput) ElementType added in v3.36.0

func (IntegrationExporterMapOutput) MapIndex added in v3.36.0

func (IntegrationExporterMapOutput) ToIntegrationExporterMapOutput added in v3.36.0

func (o IntegrationExporterMapOutput) ToIntegrationExporterMapOutput() IntegrationExporterMapOutput

func (IntegrationExporterMapOutput) ToIntegrationExporterMapOutputWithContext added in v3.36.0

func (o IntegrationExporterMapOutput) ToIntegrationExporterMapOutputWithContext(ctx context.Context) IntegrationExporterMapOutput

type IntegrationExporterOutput added in v3.36.0

type IntegrationExporterOutput struct{ *pulumi.OutputState }

func (IntegrationExporterOutput) ClusterId added in v3.36.0

The ID of the Prometheus instance.

func (IntegrationExporterOutput) ElementType added in v3.36.0

func (IntegrationExporterOutput) ElementType() reflect.Type

func (IntegrationExporterOutput) InstanceId added in v3.36.0

The ID of the Integration Exporter instance.

func (IntegrationExporterOutput) IntegrationType added in v3.36.0

func (o IntegrationExporterOutput) IntegrationType() pulumi.StringOutput

The type of prometheus integration.

func (IntegrationExporterOutput) Param added in v3.36.0

Exporter configuration parameter json string.

func (IntegrationExporterOutput) ToIntegrationExporterOutput added in v3.36.0

func (o IntegrationExporterOutput) ToIntegrationExporterOutput() IntegrationExporterOutput

func (IntegrationExporterOutput) ToIntegrationExporterOutputWithContext added in v3.36.0

func (o IntegrationExporterOutput) ToIntegrationExporterOutputWithContext(ctx context.Context) IntegrationExporterOutput

type IntegrationExporterState added in v3.36.0

type IntegrationExporterState struct {
	// The ID of the Prometheus instance.
	ClusterId pulumi.StringPtrInput
	// The ID of the Integration Exporter instance.
	InstanceId pulumi.IntPtrInput
	// The type of prometheus integration.
	IntegrationType pulumi.StringPtrInput
	// Exporter configuration parameter json string.
	Param pulumi.StringPtrInput
}

func (IntegrationExporterState) ElementType added in v3.36.0

func (IntegrationExporterState) ElementType() reflect.Type

type Prometheus added in v3.36.0

type Prometheus struct {
	pulumi.CustomResourceState

	// The ID of the Kubernetes cluster. This parameter is required, if you set `clusterType` to `aliyun-cs`.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The name of the created cluster. This parameter is required, if you set `clusterType` to `remote-write`, `ecs` or `global-view`.
	ClusterName pulumi.StringOutput `pulumi:"clusterName"`
	// The type of the Prometheus instance. Valid values: `remote-write`, `ecs`, `global-view`, `aliyun-cs`.
	ClusterType pulumi.StringOutput `pulumi:"clusterType"`
	// The ID of the Grafana dedicated instance. When using the shared version of Grafana, you can set `grafanaInstanceId` to `free`.
	GrafanaInstanceId pulumi.StringOutput `pulumi:"grafanaInstanceId"`
	// The ID of the resource group.
	ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"`
	// The ID of the security group. This parameter is required, if you set `clusterType` to `ecs` or `aliyun-cs`(ASK instance).
	SecurityGroupId pulumi.StringPtrOutput `pulumi:"securityGroupId"`
	// The child instance json string of the globalView instance.
	SubClustersJson pulumi.StringPtrOutput `pulumi:"subClustersJson"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The ID of the VPC. This parameter is required, if you set `clusterType` to `ecs` or `aliyun-cs`(ASK instance).
	VpcId pulumi.StringPtrOutput `pulumi:"vpcId"`
	// The ID of the VSwitch. This parameter is required, if you set `clusterType` to `ecs` or `aliyun-cs`(ASK instance).
	VswitchId pulumi.StringPtrOutput `pulumi:"vswitchId"`
}

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

For information about Application Real-Time Monitoring Service (ARMS) Prometheus and how to use it, see [What is Prometheus](https://www.alibabacloud.com/help/en/application-real-time-monitoring-service/latest/api-doc-arms-2019-08-08-api-doc-createprometheusinstance).

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

## Example Usage

Basic Usage

```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultNetworks, err := vpc.GetNetworks(ctx, &vpc.GetNetworksArgs{
			NameRegex: pulumi.StringRef("your_name_regex"),
		}, nil)
		if err != nil {
			return err
		}
		defaultSwitches, err := vpc.GetSwitches(ctx, &vpc.GetSwitchesArgs{
			VpcId: pulumi.StringRef(defaultNetworks.Ids[0]),
		}, nil)
		if err != nil {
			return err
		}
		defaultResourceGroups, err := resourcemanager.GetResourceGroups(ctx, nil, nil)
		if err != nil {
			return err
		}
		defaultSecurityGroup, err := ecs.NewSecurityGroup(ctx, "defaultSecurityGroup", &ecs.SecurityGroupArgs{
			VpcId: *pulumi.String(defaultNetworks.Ids[0]),
		})
		if err != nil {
			return err
		}
		_, err = arms.NewPrometheus(ctx, "defaultPrometheus", &arms.PrometheusArgs{
			ClusterType:       pulumi.String("ecs"),
			GrafanaInstanceId: pulumi.String("free"),
			VpcId:             *pulumi.String(defaultNetworks.Ids[0]),
			VswitchId:         *pulumi.String(defaultSwitches.Ids[0]),
			SecurityGroupId:   defaultSecurityGroup.ID(),
			ClusterName:       pulumi.String(fmt.Sprintf("%v-%v", _var.Name, defaultNetworks.Ids[0])),
			ResourceGroupId:   *pulumi.String(defaultResourceGroups.Groups[0].Id),
			Tags: pulumi.AnyMap{
				"Created": pulumi.Any("TF"),
				"For":     pulumi.Any("Prometheus"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import alicloud:arms/prometheus:Prometheus example <id>

```

func GetPrometheus added in v3.36.0

func GetPrometheus(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PrometheusState, opts ...pulumi.ResourceOption) (*Prometheus, error)

GetPrometheus gets an existing Prometheus 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 NewPrometheus added in v3.36.0

func NewPrometheus(ctx *pulumi.Context,
	name string, args *PrometheusArgs, opts ...pulumi.ResourceOption) (*Prometheus, error)

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

func (*Prometheus) ElementType added in v3.36.0

func (*Prometheus) ElementType() reflect.Type

func (*Prometheus) ToPrometheusOutput added in v3.36.0

func (i *Prometheus) ToPrometheusOutput() PrometheusOutput

func (*Prometheus) ToPrometheusOutputWithContext added in v3.36.0

func (i *Prometheus) ToPrometheusOutputWithContext(ctx context.Context) PrometheusOutput

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 label.
	Name *string `pulumi:"name"`
	// The value of the label.
	Value *string `pulumi:"value"`
}

type PrometheusAlertRuleAnnotationArgs added in v3.8.0

type PrometheusAlertRuleAnnotationArgs struct {
	// The name of the label.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The value of the label.
	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 label.

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 label.

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 label.
	Name *string `pulumi:"name"`
	// The value of the label.
	Value *string `pulumi:"value"`
}

type PrometheusAlertRuleLabelArgs added in v3.8.0

type PrometheusAlertRuleLabelArgs struct {
	// The name of the label.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The value of the label.
	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 label.

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 label.

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) Annotations added in v3.27.0

The annotations of the alert rule.. See the following `Block annotations`.

func (PrometheusAlertRuleOutput) ClusterId added in v3.27.0

The ID of the cluster.

func (PrometheusAlertRuleOutput) DispatchRuleId added in v3.27.0

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

func (PrometheusAlertRuleOutput) Duration added in v3.27.0

The duration of the alert.

func (PrometheusAlertRuleOutput) ElementType added in v3.8.0

func (PrometheusAlertRuleOutput) ElementType() reflect.Type

func (PrometheusAlertRuleOutput) Expression added in v3.27.0

The alert rule expression that follows the PromQL syntax.

func (PrometheusAlertRuleOutput) Labels added in v3.27.0

The labels of the resource. See the following `Block labels`.

func (PrometheusAlertRuleOutput) Message added in v3.27.0

The message of the alert notification.

func (PrometheusAlertRuleOutput) NotifyType added in v3.27.0

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

func (PrometheusAlertRuleOutput) PrometheusAlertRuleId added in v3.27.0

func (o PrometheusAlertRuleOutput) PrometheusAlertRuleId() pulumi.IntOutput

The first ID of the resource.

func (PrometheusAlertRuleOutput) PrometheusAlertRuleName added in v3.27.0

func (o PrometheusAlertRuleOutput) PrometheusAlertRuleName() pulumi.StringOutput

The name of the resource.

func (PrometheusAlertRuleOutput) Status added in v3.27.0

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

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

func (PrometheusAlertRuleOutput) Type added in v3.27.0

The type of the alert rule.

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

type PrometheusArgs added in v3.36.0

type PrometheusArgs struct {
	// The ID of the Kubernetes cluster. This parameter is required, if you set `clusterType` to `aliyun-cs`.
	ClusterId pulumi.StringPtrInput
	// The name of the created cluster. This parameter is required, if you set `clusterType` to `remote-write`, `ecs` or `global-view`.
	ClusterName pulumi.StringPtrInput
	// The type of the Prometheus instance. Valid values: `remote-write`, `ecs`, `global-view`, `aliyun-cs`.
	ClusterType pulumi.StringInput
	// The ID of the Grafana dedicated instance. When using the shared version of Grafana, you can set `grafanaInstanceId` to `free`.
	GrafanaInstanceId pulumi.StringInput
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput
	// The ID of the security group. This parameter is required, if you set `clusterType` to `ecs` or `aliyun-cs`(ASK instance).
	SecurityGroupId pulumi.StringPtrInput
	// The child instance json string of the globalView instance.
	SubClustersJson pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The ID of the VPC. This parameter is required, if you set `clusterType` to `ecs` or `aliyun-cs`(ASK instance).
	VpcId pulumi.StringPtrInput
	// The ID of the VSwitch. This parameter is required, if you set `clusterType` to `ecs` or `aliyun-cs`(ASK instance).
	VswitchId pulumi.StringPtrInput
}

The set of arguments for constructing a Prometheus resource.

func (PrometheusArgs) ElementType added in v3.36.0

func (PrometheusArgs) ElementType() reflect.Type

type PrometheusArray added in v3.36.0

type PrometheusArray []PrometheusInput

func (PrometheusArray) ElementType added in v3.36.0

func (PrometheusArray) ElementType() reflect.Type

func (PrometheusArray) ToPrometheusArrayOutput added in v3.36.0

func (i PrometheusArray) ToPrometheusArrayOutput() PrometheusArrayOutput

func (PrometheusArray) ToPrometheusArrayOutputWithContext added in v3.36.0

func (i PrometheusArray) ToPrometheusArrayOutputWithContext(ctx context.Context) PrometheusArrayOutput

type PrometheusArrayInput added in v3.36.0

type PrometheusArrayInput interface {
	pulumi.Input

	ToPrometheusArrayOutput() PrometheusArrayOutput
	ToPrometheusArrayOutputWithContext(context.Context) PrometheusArrayOutput
}

PrometheusArrayInput is an input type that accepts PrometheusArray and PrometheusArrayOutput values. You can construct a concrete instance of `PrometheusArrayInput` via:

PrometheusArray{ PrometheusArgs{...} }

type PrometheusArrayOutput added in v3.36.0

type PrometheusArrayOutput struct{ *pulumi.OutputState }

func (PrometheusArrayOutput) ElementType added in v3.36.0

func (PrometheusArrayOutput) ElementType() reflect.Type

func (PrometheusArrayOutput) Index added in v3.36.0

func (PrometheusArrayOutput) ToPrometheusArrayOutput added in v3.36.0

func (o PrometheusArrayOutput) ToPrometheusArrayOutput() PrometheusArrayOutput

func (PrometheusArrayOutput) ToPrometheusArrayOutputWithContext added in v3.36.0

func (o PrometheusArrayOutput) ToPrometheusArrayOutputWithContext(ctx context.Context) PrometheusArrayOutput

type PrometheusInput added in v3.36.0

type PrometheusInput interface {
	pulumi.Input

	ToPrometheusOutput() PrometheusOutput
	ToPrometheusOutputWithContext(ctx context.Context) PrometheusOutput
}

type PrometheusMap added in v3.36.0

type PrometheusMap map[string]PrometheusInput

func (PrometheusMap) ElementType added in v3.36.0

func (PrometheusMap) ElementType() reflect.Type

func (PrometheusMap) ToPrometheusMapOutput added in v3.36.0

func (i PrometheusMap) ToPrometheusMapOutput() PrometheusMapOutput

func (PrometheusMap) ToPrometheusMapOutputWithContext added in v3.36.0

func (i PrometheusMap) ToPrometheusMapOutputWithContext(ctx context.Context) PrometheusMapOutput

type PrometheusMapInput added in v3.36.0

type PrometheusMapInput interface {
	pulumi.Input

	ToPrometheusMapOutput() PrometheusMapOutput
	ToPrometheusMapOutputWithContext(context.Context) PrometheusMapOutput
}

PrometheusMapInput is an input type that accepts PrometheusMap and PrometheusMapOutput values. You can construct a concrete instance of `PrometheusMapInput` via:

PrometheusMap{ "key": PrometheusArgs{...} }

type PrometheusMapOutput added in v3.36.0

type PrometheusMapOutput struct{ *pulumi.OutputState }

func (PrometheusMapOutput) ElementType added in v3.36.0

func (PrometheusMapOutput) ElementType() reflect.Type

func (PrometheusMapOutput) MapIndex added in v3.36.0

func (PrometheusMapOutput) ToPrometheusMapOutput added in v3.36.0

func (o PrometheusMapOutput) ToPrometheusMapOutput() PrometheusMapOutput

func (PrometheusMapOutput) ToPrometheusMapOutputWithContext added in v3.36.0

func (o PrometheusMapOutput) ToPrometheusMapOutputWithContext(ctx context.Context) PrometheusMapOutput

type PrometheusOutput added in v3.36.0

type PrometheusOutput struct{ *pulumi.OutputState }

func (PrometheusOutput) ClusterId added in v3.36.0

func (o PrometheusOutput) ClusterId() pulumi.StringOutput

The ID of the Kubernetes cluster. This parameter is required, if you set `clusterType` to `aliyun-cs`.

func (PrometheusOutput) ClusterName added in v3.36.0

func (o PrometheusOutput) ClusterName() pulumi.StringOutput

The name of the created cluster. This parameter is required, if you set `clusterType` to `remote-write`, `ecs` or `global-view`.

func (PrometheusOutput) ClusterType added in v3.36.0

func (o PrometheusOutput) ClusterType() pulumi.StringOutput

The type of the Prometheus instance. Valid values: `remote-write`, `ecs`, `global-view`, `aliyun-cs`.

func (PrometheusOutput) ElementType added in v3.36.0

func (PrometheusOutput) ElementType() reflect.Type

func (PrometheusOutput) GrafanaInstanceId added in v3.36.0

func (o PrometheusOutput) GrafanaInstanceId() pulumi.StringOutput

The ID of the Grafana dedicated instance. When using the shared version of Grafana, you can set `grafanaInstanceId` to `free`.

func (PrometheusOutput) ResourceGroupId added in v3.36.0

func (o PrometheusOutput) ResourceGroupId() pulumi.StringOutput

The ID of the resource group.

func (PrometheusOutput) SecurityGroupId added in v3.36.0

func (o PrometheusOutput) SecurityGroupId() pulumi.StringPtrOutput

The ID of the security group. This parameter is required, if you set `clusterType` to `ecs` or `aliyun-cs`(ASK instance).

func (PrometheusOutput) SubClustersJson added in v3.36.0

func (o PrometheusOutput) SubClustersJson() pulumi.StringPtrOutput

The child instance json string of the globalView instance.

func (PrometheusOutput) Tags added in v3.36.0

A mapping of tags to assign to the resource.

func (PrometheusOutput) ToPrometheusOutput added in v3.36.0

func (o PrometheusOutput) ToPrometheusOutput() PrometheusOutput

func (PrometheusOutput) ToPrometheusOutputWithContext added in v3.36.0

func (o PrometheusOutput) ToPrometheusOutputWithContext(ctx context.Context) PrometheusOutput

func (PrometheusOutput) VpcId added in v3.36.0

The ID of the VPC. This parameter is required, if you set `clusterType` to `ecs` or `aliyun-cs`(ASK instance).

func (PrometheusOutput) VswitchId added in v3.36.0

func (o PrometheusOutput) VswitchId() pulumi.StringPtrOutput

The ID of the VSwitch. This parameter is required, if you set `clusterType` to `ecs` or `aliyun-cs`(ASK instance).

type PrometheusState added in v3.36.0

type PrometheusState struct {
	// The ID of the Kubernetes cluster. This parameter is required, if you set `clusterType` to `aliyun-cs`.
	ClusterId pulumi.StringPtrInput
	// The name of the created cluster. This parameter is required, if you set `clusterType` to `remote-write`, `ecs` or `global-view`.
	ClusterName pulumi.StringPtrInput
	// The type of the Prometheus instance. Valid values: `remote-write`, `ecs`, `global-view`, `aliyun-cs`.
	ClusterType pulumi.StringPtrInput
	// The ID of the Grafana dedicated instance. When using the shared version of Grafana, you can set `grafanaInstanceId` to `free`.
	GrafanaInstanceId pulumi.StringPtrInput
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput
	// The ID of the security group. This parameter is required, if you set `clusterType` to `ecs` or `aliyun-cs`(ASK instance).
	SecurityGroupId pulumi.StringPtrInput
	// The child instance json string of the globalView instance.
	SubClustersJson pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
	// The ID of the VPC. This parameter is required, if you set `clusterType` to `ecs` or `aliyun-cs`(ASK instance).
	VpcId pulumi.StringPtrInput
	// The ID of the VSwitch. This parameter is required, if you set `clusterType` to `ecs` or `aliyun-cs`(ASK instance).
	VswitchId pulumi.StringPtrInput
}

func (PrometheusState) ElementType added in v3.36.0

func (PrometheusState) ElementType() reflect.Type

type RemoteWrite added in v3.37.0

type RemoteWrite struct {
	pulumi.CustomResourceState

	// The ID of the Prometheus instance.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The name of the Remote Write configuration item.
	RemoteWriteName pulumi.StringOutput `pulumi:"remoteWriteName"`
	// The details of the Remote Write configuration item. Specify the value in the YAML format.
	RemoteWriteYaml pulumi.StringOutput `pulumi:"remoteWriteYaml"`
}

Provides a Application Real-Time Monitoring Service (ARMS) Remote Write resource.

For information about Application Real-Time Monitoring Service (ARMS) Remote Write and how to use it, see [What is Remote Write](https://www.alibabacloud.com/help/en/application-real-time-monitoring-service/latest/api-doc-arms-2019-08-08-api-doc-addprometheusremotewrite).

> **NOTE:** Available in v1.204.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.NewRemoteWrite(ctx, "default", &arms.RemoteWriteArgs{
				ClusterId: pulumi.String("your_cluster_id"),
				RemoteWriteYaml: pulumi.String(`remote_write:
  - name: ArmsRemoteWrite
    url: http://47.96.227.137:8080/prometheus/xxx/yyy/cn-hangzhou/api/v3/write
    basic_auth: {username: 666, password: '******'}
    write_relabel_configs:
  - source_labels: [instance_id]
    separator: ;
    regex: si-6e2ca86444db4e55a7c1
    replacement: $1
    action: keep

`),

		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import alicloud:arms/remoteWrite:RemoteWrite example <cluster_id>:<remote_write_name>

```

func GetRemoteWrite added in v3.37.0

func GetRemoteWrite(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RemoteWriteState, opts ...pulumi.ResourceOption) (*RemoteWrite, error)

GetRemoteWrite gets an existing RemoteWrite 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 NewRemoteWrite added in v3.37.0

func NewRemoteWrite(ctx *pulumi.Context,
	name string, args *RemoteWriteArgs, opts ...pulumi.ResourceOption) (*RemoteWrite, error)

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

func (*RemoteWrite) ElementType added in v3.37.0

func (*RemoteWrite) ElementType() reflect.Type

func (*RemoteWrite) ToRemoteWriteOutput added in v3.37.0

func (i *RemoteWrite) ToRemoteWriteOutput() RemoteWriteOutput

func (*RemoteWrite) ToRemoteWriteOutputWithContext added in v3.37.0

func (i *RemoteWrite) ToRemoteWriteOutputWithContext(ctx context.Context) RemoteWriteOutput

type RemoteWriteArgs added in v3.37.0

type RemoteWriteArgs struct {
	// The ID of the Prometheus instance.
	ClusterId pulumi.StringInput
	// The details of the Remote Write configuration item. Specify the value in the YAML format.
	RemoteWriteYaml pulumi.StringInput
}

The set of arguments for constructing a RemoteWrite resource.

func (RemoteWriteArgs) ElementType added in v3.37.0

func (RemoteWriteArgs) ElementType() reflect.Type

type RemoteWriteArray added in v3.37.0

type RemoteWriteArray []RemoteWriteInput

func (RemoteWriteArray) ElementType added in v3.37.0

func (RemoteWriteArray) ElementType() reflect.Type

func (RemoteWriteArray) ToRemoteWriteArrayOutput added in v3.37.0

func (i RemoteWriteArray) ToRemoteWriteArrayOutput() RemoteWriteArrayOutput

func (RemoteWriteArray) ToRemoteWriteArrayOutputWithContext added in v3.37.0

func (i RemoteWriteArray) ToRemoteWriteArrayOutputWithContext(ctx context.Context) RemoteWriteArrayOutput

type RemoteWriteArrayInput added in v3.37.0

type RemoteWriteArrayInput interface {
	pulumi.Input

	ToRemoteWriteArrayOutput() RemoteWriteArrayOutput
	ToRemoteWriteArrayOutputWithContext(context.Context) RemoteWriteArrayOutput
}

RemoteWriteArrayInput is an input type that accepts RemoteWriteArray and RemoteWriteArrayOutput values. You can construct a concrete instance of `RemoteWriteArrayInput` via:

RemoteWriteArray{ RemoteWriteArgs{...} }

type RemoteWriteArrayOutput added in v3.37.0

type RemoteWriteArrayOutput struct{ *pulumi.OutputState }

func (RemoteWriteArrayOutput) ElementType added in v3.37.0

func (RemoteWriteArrayOutput) ElementType() reflect.Type

func (RemoteWriteArrayOutput) Index added in v3.37.0

func (RemoteWriteArrayOutput) ToRemoteWriteArrayOutput added in v3.37.0

func (o RemoteWriteArrayOutput) ToRemoteWriteArrayOutput() RemoteWriteArrayOutput

func (RemoteWriteArrayOutput) ToRemoteWriteArrayOutputWithContext added in v3.37.0

func (o RemoteWriteArrayOutput) ToRemoteWriteArrayOutputWithContext(ctx context.Context) RemoteWriteArrayOutput

type RemoteWriteInput added in v3.37.0

type RemoteWriteInput interface {
	pulumi.Input

	ToRemoteWriteOutput() RemoteWriteOutput
	ToRemoteWriteOutputWithContext(ctx context.Context) RemoteWriteOutput
}

type RemoteWriteMap added in v3.37.0

type RemoteWriteMap map[string]RemoteWriteInput

func (RemoteWriteMap) ElementType added in v3.37.0

func (RemoteWriteMap) ElementType() reflect.Type

func (RemoteWriteMap) ToRemoteWriteMapOutput added in v3.37.0

func (i RemoteWriteMap) ToRemoteWriteMapOutput() RemoteWriteMapOutput

func (RemoteWriteMap) ToRemoteWriteMapOutputWithContext added in v3.37.0

func (i RemoteWriteMap) ToRemoteWriteMapOutputWithContext(ctx context.Context) RemoteWriteMapOutput

type RemoteWriteMapInput added in v3.37.0

type RemoteWriteMapInput interface {
	pulumi.Input

	ToRemoteWriteMapOutput() RemoteWriteMapOutput
	ToRemoteWriteMapOutputWithContext(context.Context) RemoteWriteMapOutput
}

RemoteWriteMapInput is an input type that accepts RemoteWriteMap and RemoteWriteMapOutput values. You can construct a concrete instance of `RemoteWriteMapInput` via:

RemoteWriteMap{ "key": RemoteWriteArgs{...} }

type RemoteWriteMapOutput added in v3.37.0

type RemoteWriteMapOutput struct{ *pulumi.OutputState }

func (RemoteWriteMapOutput) ElementType added in v3.37.0

func (RemoteWriteMapOutput) ElementType() reflect.Type

func (RemoteWriteMapOutput) MapIndex added in v3.37.0

func (RemoteWriteMapOutput) ToRemoteWriteMapOutput added in v3.37.0

func (o RemoteWriteMapOutput) ToRemoteWriteMapOutput() RemoteWriteMapOutput

func (RemoteWriteMapOutput) ToRemoteWriteMapOutputWithContext added in v3.37.0

func (o RemoteWriteMapOutput) ToRemoteWriteMapOutputWithContext(ctx context.Context) RemoteWriteMapOutput

type RemoteWriteOutput added in v3.37.0

type RemoteWriteOutput struct{ *pulumi.OutputState }

func (RemoteWriteOutput) ClusterId added in v3.37.0

func (o RemoteWriteOutput) ClusterId() pulumi.StringOutput

The ID of the Prometheus instance.

func (RemoteWriteOutput) ElementType added in v3.37.0

func (RemoteWriteOutput) ElementType() reflect.Type

func (RemoteWriteOutput) RemoteWriteName added in v3.37.0

func (o RemoteWriteOutput) RemoteWriteName() pulumi.StringOutput

The name of the Remote Write configuration item.

func (RemoteWriteOutput) RemoteWriteYaml added in v3.37.0

func (o RemoteWriteOutput) RemoteWriteYaml() pulumi.StringOutput

The details of the Remote Write configuration item. Specify the value in the YAML format.

func (RemoteWriteOutput) ToRemoteWriteOutput added in v3.37.0

func (o RemoteWriteOutput) ToRemoteWriteOutput() RemoteWriteOutput

func (RemoteWriteOutput) ToRemoteWriteOutputWithContext added in v3.37.0

func (o RemoteWriteOutput) ToRemoteWriteOutputWithContext(ctx context.Context) RemoteWriteOutput

type RemoteWriteState added in v3.37.0

type RemoteWriteState struct {
	// The ID of the Prometheus instance.
	ClusterId pulumi.StringPtrInput
	// The name of the Remote Write configuration item.
	RemoteWriteName pulumi.StringPtrInput
	// The details of the Remote Write configuration item. Specify the value in the YAML format.
	RemoteWriteYaml pulumi.StringPtrInput
}

func (RemoteWriteState) ElementType added in v3.37.0

func (RemoteWriteState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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