tencentcloud.WedataBaseline
Explore with Pulumi AI
Provides a resource to create a wedata baseline
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.WedataBaseline("example", {
baselineCreateAlarmRuleRequest: {
alarmLevel: 2,
alarmRecipientIds: ["100028439226"],
alarmRecipientType: 1,
alarmRecipients: ["tf_user"],
alarmTypes: [
"baseLineBroken",
"baseLineWarning",
"baseLineTaskFailure",
],
alarmWays: [
"email",
"sms",
],
},
baselineName: "tf_example",
baselineType: "D",
createName: "tf_user",
createUin: "100028439226",
inChargeName: "100028439226",
inChargeUin: "tf_user",
isNewAlarm: true,
projectId: "1927766435649077248",
promiseTasks: [{
projectId: "1927766435649077248",
taskCycle: "D",
taskId: "20231030145334153",
taskInChargeName: ";tf_user;",
taskName: "tf_demo_task",
workflowId: "e4dafb2e-76eb-11ee-bfeb-b8cef68a6637",
workflowName: "dataflow_mpp",
}],
promiseTime: "00:00:00",
warningMargin: 30,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.WedataBaseline("example",
baseline_create_alarm_rule_request={
"alarm_level": 2,
"alarm_recipient_ids": ["100028439226"],
"alarm_recipient_type": 1,
"alarm_recipients": ["tf_user"],
"alarm_types": [
"baseLineBroken",
"baseLineWarning",
"baseLineTaskFailure",
],
"alarm_ways": [
"email",
"sms",
],
},
baseline_name="tf_example",
baseline_type="D",
create_name="tf_user",
create_uin="100028439226",
in_charge_name="100028439226",
in_charge_uin="tf_user",
is_new_alarm=True,
project_id="1927766435649077248",
promise_tasks=[{
"project_id": "1927766435649077248",
"task_cycle": "D",
"task_id": "20231030145334153",
"task_in_charge_name": ";tf_user;",
"task_name": "tf_demo_task",
"workflow_id": "e4dafb2e-76eb-11ee-bfeb-b8cef68a6637",
"workflow_name": "dataflow_mpp",
}],
promise_time="00:00:00",
warning_margin=30)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewWedataBaseline(ctx, "example", &tencentcloud.WedataBaselineArgs{
BaselineCreateAlarmRuleRequest: &tencentcloud.WedataBaselineBaselineCreateAlarmRuleRequestArgs{
AlarmLevel: pulumi.Float64(2),
AlarmRecipientIds: pulumi.StringArray{
pulumi.String("100028439226"),
},
AlarmRecipientType: pulumi.Float64(1),
AlarmRecipients: pulumi.StringArray{
pulumi.String("tf_user"),
},
AlarmTypes: pulumi.StringArray{
pulumi.String("baseLineBroken"),
pulumi.String("baseLineWarning"),
pulumi.String("baseLineTaskFailure"),
},
AlarmWays: pulumi.StringArray{
pulumi.String("email"),
pulumi.String("sms"),
},
},
BaselineName: pulumi.String("tf_example"),
BaselineType: pulumi.String("D"),
CreateName: pulumi.String("tf_user"),
CreateUin: pulumi.String("100028439226"),
InChargeName: pulumi.String("100028439226"),
InChargeUin: pulumi.String("tf_user"),
IsNewAlarm: pulumi.Bool(true),
ProjectId: pulumi.String("1927766435649077248"),
PromiseTasks: tencentcloud.WedataBaselinePromiseTaskArray{
&tencentcloud.WedataBaselinePromiseTaskArgs{
ProjectId: pulumi.String("1927766435649077248"),
TaskCycle: pulumi.String("D"),
TaskId: pulumi.String("20231030145334153"),
TaskInChargeName: pulumi.String(";tf_user;"),
TaskName: pulumi.String("tf_demo_task"),
WorkflowId: pulumi.String("e4dafb2e-76eb-11ee-bfeb-b8cef68a6637"),
WorkflowName: pulumi.String("dataflow_mpp"),
},
},
PromiseTime: pulumi.String("00:00:00"),
WarningMargin: pulumi.Float64(30),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.WedataBaseline("example", new()
{
BaselineCreateAlarmRuleRequest = new Tencentcloud.Inputs.WedataBaselineBaselineCreateAlarmRuleRequestArgs
{
AlarmLevel = 2,
AlarmRecipientIds = new[]
{
"100028439226",
},
AlarmRecipientType = 1,
AlarmRecipients = new[]
{
"tf_user",
},
AlarmTypes = new[]
{
"baseLineBroken",
"baseLineWarning",
"baseLineTaskFailure",
},
AlarmWays = new[]
{
"email",
"sms",
},
},
BaselineName = "tf_example",
BaselineType = "D",
CreateName = "tf_user",
CreateUin = "100028439226",
InChargeName = "100028439226",
InChargeUin = "tf_user",
IsNewAlarm = true,
ProjectId = "1927766435649077248",
PromiseTasks = new[]
{
new Tencentcloud.Inputs.WedataBaselinePromiseTaskArgs
{
ProjectId = "1927766435649077248",
TaskCycle = "D",
TaskId = "20231030145334153",
TaskInChargeName = ";tf_user;",
TaskName = "tf_demo_task",
WorkflowId = "e4dafb2e-76eb-11ee-bfeb-b8cef68a6637",
WorkflowName = "dataflow_mpp",
},
},
PromiseTime = "00:00:00",
WarningMargin = 30,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.WedataBaseline;
import com.pulumi.tencentcloud.WedataBaselineArgs;
import com.pulumi.tencentcloud.inputs.WedataBaselineBaselineCreateAlarmRuleRequestArgs;
import com.pulumi.tencentcloud.inputs.WedataBaselinePromiseTaskArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new WedataBaseline("example", WedataBaselineArgs.builder()
.baselineCreateAlarmRuleRequest(WedataBaselineBaselineCreateAlarmRuleRequestArgs.builder()
.alarmLevel(2)
.alarmRecipientIds("100028439226")
.alarmRecipientType(1)
.alarmRecipients("tf_user")
.alarmTypes(
"baseLineBroken",
"baseLineWarning",
"baseLineTaskFailure")
.alarmWays(
"email",
"sms")
.build())
.baselineName("tf_example")
.baselineType("D")
.createName("tf_user")
.createUin("100028439226")
.inChargeName("100028439226")
.inChargeUin("tf_user")
.isNewAlarm(true)
.projectId("1927766435649077248")
.promiseTasks(WedataBaselinePromiseTaskArgs.builder()
.projectId("1927766435649077248")
.taskCycle("D")
.taskId("20231030145334153")
.taskInChargeName(";tf_user;")
.taskName("tf_demo_task")
.workflowId("e4dafb2e-76eb-11ee-bfeb-b8cef68a6637")
.workflowName("dataflow_mpp")
.build())
.promiseTime("00:00:00")
.warningMargin(30)
.build());
}
}
resources:
example:
type: tencentcloud:WedataBaseline
properties:
baselineCreateAlarmRuleRequest:
alarmLevel: 2
alarmRecipientIds:
- '100028439226'
alarmRecipientType: 1
alarmRecipients:
- tf_user
alarmTypes:
- baseLineBroken
- baseLineWarning
- baseLineTaskFailure
alarmWays:
- email
- sms
baselineName: tf_example
baselineType: D
createName: tf_user
createUin: '100028439226'
inChargeName: '100028439226'
inChargeUin: tf_user
isNewAlarm: true
projectId: '1927766435649077248'
promiseTasks:
- projectId: '1927766435649077248'
taskCycle: D
taskId: '20231030145334153'
taskInChargeName: ;tf_user;
taskName: tf_demo_task
workflowId: e4dafb2e-76eb-11ee-bfeb-b8cef68a6637
workflowName: dataflow_mpp
promiseTime: 00:00:00
warningMargin: 30
Create WedataBaseline Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WedataBaseline(name: string, args: WedataBaselineArgs, opts?: CustomResourceOptions);
@overload
def WedataBaseline(resource_name: str,
args: WedataBaselineArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WedataBaseline(resource_name: str,
opts: Optional[ResourceOptions] = None,
in_charge_name: Optional[str] = None,
warning_margin: Optional[float] = None,
baseline_name: Optional[str] = None,
baseline_type: Optional[str] = None,
create_name: Optional[str] = None,
create_uin: Optional[str] = None,
is_new_alarm: Optional[bool] = None,
in_charge_uin: Optional[str] = None,
promise_time: Optional[str] = None,
project_id: Optional[str] = None,
promise_tasks: Optional[Sequence[WedataBaselinePromiseTaskArgs]] = None,
baseline_create_alarm_rule_request: Optional[WedataBaselineBaselineCreateAlarmRuleRequestArgs] = None,
alarm_rule_dto: Optional[WedataBaselineAlarmRuleDtoArgs] = None,
wedata_baseline_id: Optional[str] = None)
func NewWedataBaseline(ctx *Context, name string, args WedataBaselineArgs, opts ...ResourceOption) (*WedataBaseline, error)
public WedataBaseline(string name, WedataBaselineArgs args, CustomResourceOptions? opts = null)
public WedataBaseline(String name, WedataBaselineArgs args)
public WedataBaseline(String name, WedataBaselineArgs args, CustomResourceOptions options)
type: tencentcloud:WedataBaseline
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args WedataBaselineArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args WedataBaselineArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args WedataBaselineArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WedataBaselineArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WedataBaselineArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
WedataBaseline Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The WedataBaseline resource accepts the following input properties:
- Baseline
Name string - Baseline Name.
- Baseline
Type string - D or H; representing daily baseline and hourly baseline respectively.
- Create
Name string - Creator Name.
- Create
Uin string - Creator ID.
- In
Charge stringName - Baseline Owner Name.
- In
Charge stringUin - Baseline Owner ID.
- Is
New boolAlarm - Is it a newly created alarm rule.
- Project
Id string - Project ID.
- Promise
Tasks List<WedataBaseline Promise Task> - Promise Tasks.
- Promise
Time string - Service Assurance Time.
- Warning
Margin double - Warning Margin in minutes.
- Alarm
Rule WedataDto Baseline Alarm Rule Dto - Existing Alarm Rule Information.
- Baseline
Create WedataAlarm Rule Request Baseline Baseline Create Alarm Rule Request - Description of the New Alarm Rule.
- Wedata
Baseline stringId - ID of the resource.
- Baseline
Name string - Baseline Name.
- Baseline
Type string - D or H; representing daily baseline and hourly baseline respectively.
- Create
Name string - Creator Name.
- Create
Uin string - Creator ID.
- In
Charge stringName - Baseline Owner Name.
- In
Charge stringUin - Baseline Owner ID.
- Is
New boolAlarm - Is it a newly created alarm rule.
- Project
Id string - Project ID.
- Promise
Tasks []WedataBaseline Promise Task Args - Promise Tasks.
- Promise
Time string - Service Assurance Time.
- Warning
Margin float64 - Warning Margin in minutes.
- Alarm
Rule WedataDto Baseline Alarm Rule Dto Args - Existing Alarm Rule Information.
- Baseline
Create WedataAlarm Rule Request Baseline Baseline Create Alarm Rule Request Args - Description of the New Alarm Rule.
- Wedata
Baseline stringId - ID of the resource.
- baseline
Name String - Baseline Name.
- baseline
Type String - D or H; representing daily baseline and hourly baseline respectively.
- create
Name String - Creator Name.
- create
Uin String - Creator ID.
- in
Charge StringName - Baseline Owner Name.
- in
Charge StringUin - Baseline Owner ID.
- is
New BooleanAlarm - Is it a newly created alarm rule.
- project
Id String - Project ID.
- promise
Tasks List<WedataBaseline Promise Task> - Promise Tasks.
- promise
Time String - Service Assurance Time.
- warning
Margin Double - Warning Margin in minutes.
- alarm
Rule WedataDto Baseline Alarm Rule Dto - Existing Alarm Rule Information.
- baseline
Create WedataAlarm Rule Request Baseline Baseline Create Alarm Rule Request - Description of the New Alarm Rule.
- wedata
Baseline StringId - ID of the resource.
- baseline
Name string - Baseline Name.
- baseline
Type string - D or H; representing daily baseline and hourly baseline respectively.
- create
Name string - Creator Name.
- create
Uin string - Creator ID.
- in
Charge stringName - Baseline Owner Name.
- in
Charge stringUin - Baseline Owner ID.
- is
New booleanAlarm - Is it a newly created alarm rule.
- project
Id string - Project ID.
- promise
Tasks WedataBaseline Promise Task[] - Promise Tasks.
- promise
Time string - Service Assurance Time.
- warning
Margin number - Warning Margin in minutes.
- alarm
Rule WedataDto Baseline Alarm Rule Dto - Existing Alarm Rule Information.
- baseline
Create WedataAlarm Rule Request Baseline Baseline Create Alarm Rule Request - Description of the New Alarm Rule.
- wedata
Baseline stringId - ID of the resource.
- baseline_
name str - Baseline Name.
- baseline_
type str - D or H; representing daily baseline and hourly baseline respectively.
- create_
name str - Creator Name.
- create_
uin str - Creator ID.
- in_
charge_ strname - Baseline Owner Name.
- in_
charge_ struin - Baseline Owner ID.
- is_
new_ boolalarm - Is it a newly created alarm rule.
- project_
id str - Project ID.
- promise_
tasks Sequence[WedataBaseline Promise Task Args] - Promise Tasks.
- promise_
time str - Service Assurance Time.
- warning_
margin float - Warning Margin in minutes.
- alarm_
rule_ Wedatadto Baseline Alarm Rule Dto Args - Existing Alarm Rule Information.
- baseline_
create_ Wedataalarm_ rule_ request Baseline Baseline Create Alarm Rule Request Args - Description of the New Alarm Rule.
- wedata_
baseline_ strid - ID of the resource.
- baseline
Name String - Baseline Name.
- baseline
Type String - D or H; representing daily baseline and hourly baseline respectively.
- create
Name String - Creator Name.
- create
Uin String - Creator ID.
- in
Charge StringName - Baseline Owner Name.
- in
Charge StringUin - Baseline Owner ID.
- is
New BooleanAlarm - Is it a newly created alarm rule.
- project
Id String - Project ID.
- promise
Tasks List<Property Map> - Promise Tasks.
- promise
Time String - Service Assurance Time.
- warning
Margin Number - Warning Margin in minutes.
- alarm
Rule Property MapDto - Existing Alarm Rule Information.
- baseline
Create Property MapAlarm Rule Request - Description of the New Alarm Rule.
- wedata
Baseline StringId - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the WedataBaseline resource produces the following output properties:
- Baseline
Id string - Baseline ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Baseline
Id string - Baseline ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- baseline
Id String - Baseline ID.
- id String
- The provider-assigned unique ID for this managed resource.
- baseline
Id string - Baseline ID.
- id string
- The provider-assigned unique ID for this managed resource.
- baseline_
id str - Baseline ID.
- id str
- The provider-assigned unique ID for this managed resource.
- baseline
Id String - Baseline ID.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing WedataBaseline Resource
Get an existing WedataBaseline resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: WedataBaselineState, opts?: CustomResourceOptions): WedataBaseline
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
alarm_rule_dto: Optional[WedataBaselineAlarmRuleDtoArgs] = None,
baseline_create_alarm_rule_request: Optional[WedataBaselineBaselineCreateAlarmRuleRequestArgs] = None,
baseline_id: Optional[str] = None,
baseline_name: Optional[str] = None,
baseline_type: Optional[str] = None,
create_name: Optional[str] = None,
create_uin: Optional[str] = None,
in_charge_name: Optional[str] = None,
in_charge_uin: Optional[str] = None,
is_new_alarm: Optional[bool] = None,
project_id: Optional[str] = None,
promise_tasks: Optional[Sequence[WedataBaselinePromiseTaskArgs]] = None,
promise_time: Optional[str] = None,
warning_margin: Optional[float] = None,
wedata_baseline_id: Optional[str] = None) -> WedataBaseline
func GetWedataBaseline(ctx *Context, name string, id IDInput, state *WedataBaselineState, opts ...ResourceOption) (*WedataBaseline, error)
public static WedataBaseline Get(string name, Input<string> id, WedataBaselineState? state, CustomResourceOptions? opts = null)
public static WedataBaseline get(String name, Output<String> id, WedataBaselineState state, CustomResourceOptions options)
resources: _: type: tencentcloud:WedataBaseline get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Alarm
Rule WedataDto Baseline Alarm Rule Dto - Existing Alarm Rule Information.
- Baseline
Create WedataAlarm Rule Request Baseline Baseline Create Alarm Rule Request - Description of the New Alarm Rule.
- Baseline
Id string - Baseline ID.
- Baseline
Name string - Baseline Name.
- Baseline
Type string - D or H; representing daily baseline and hourly baseline respectively.
- Create
Name string - Creator Name.
- Create
Uin string - Creator ID.
- In
Charge stringName - Baseline Owner Name.
- In
Charge stringUin - Baseline Owner ID.
- Is
New boolAlarm - Is it a newly created alarm rule.
- Project
Id string - Project ID.
- Promise
Tasks List<WedataBaseline Promise Task> - Promise Tasks.
- Promise
Time string - Service Assurance Time.
- Warning
Margin double - Warning Margin in minutes.
- Wedata
Baseline stringId - ID of the resource.
- Alarm
Rule WedataDto Baseline Alarm Rule Dto Args - Existing Alarm Rule Information.
- Baseline
Create WedataAlarm Rule Request Baseline Baseline Create Alarm Rule Request Args - Description of the New Alarm Rule.
- Baseline
Id string - Baseline ID.
- Baseline
Name string - Baseline Name.
- Baseline
Type string - D or H; representing daily baseline and hourly baseline respectively.
- Create
Name string - Creator Name.
- Create
Uin string - Creator ID.
- In
Charge stringName - Baseline Owner Name.
- In
Charge stringUin - Baseline Owner ID.
- Is
New boolAlarm - Is it a newly created alarm rule.
- Project
Id string - Project ID.
- Promise
Tasks []WedataBaseline Promise Task Args - Promise Tasks.
- Promise
Time string - Service Assurance Time.
- Warning
Margin float64 - Warning Margin in minutes.
- Wedata
Baseline stringId - ID of the resource.
- alarm
Rule WedataDto Baseline Alarm Rule Dto - Existing Alarm Rule Information.
- baseline
Create WedataAlarm Rule Request Baseline Baseline Create Alarm Rule Request - Description of the New Alarm Rule.
- baseline
Id String - Baseline ID.
- baseline
Name String - Baseline Name.
- baseline
Type String - D or H; representing daily baseline and hourly baseline respectively.
- create
Name String - Creator Name.
- create
Uin String - Creator ID.
- in
Charge StringName - Baseline Owner Name.
- in
Charge StringUin - Baseline Owner ID.
- is
New BooleanAlarm - Is it a newly created alarm rule.
- project
Id String - Project ID.
- promise
Tasks List<WedataBaseline Promise Task> - Promise Tasks.
- promise
Time String - Service Assurance Time.
- warning
Margin Double - Warning Margin in minutes.
- wedata
Baseline StringId - ID of the resource.
- alarm
Rule WedataDto Baseline Alarm Rule Dto - Existing Alarm Rule Information.
- baseline
Create WedataAlarm Rule Request Baseline Baseline Create Alarm Rule Request - Description of the New Alarm Rule.
- baseline
Id string - Baseline ID.
- baseline
Name string - Baseline Name.
- baseline
Type string - D or H; representing daily baseline and hourly baseline respectively.
- create
Name string - Creator Name.
- create
Uin string - Creator ID.
- in
Charge stringName - Baseline Owner Name.
- in
Charge stringUin - Baseline Owner ID.
- is
New booleanAlarm - Is it a newly created alarm rule.
- project
Id string - Project ID.
- promise
Tasks WedataBaseline Promise Task[] - Promise Tasks.
- promise
Time string - Service Assurance Time.
- warning
Margin number - Warning Margin in minutes.
- wedata
Baseline stringId - ID of the resource.
- alarm_
rule_ Wedatadto Baseline Alarm Rule Dto Args - Existing Alarm Rule Information.
- baseline_
create_ Wedataalarm_ rule_ request Baseline Baseline Create Alarm Rule Request Args - Description of the New Alarm Rule.
- baseline_
id str - Baseline ID.
- baseline_
name str - Baseline Name.
- baseline_
type str - D or H; representing daily baseline and hourly baseline respectively.
- create_
name str - Creator Name.
- create_
uin str - Creator ID.
- in_
charge_ strname - Baseline Owner Name.
- in_
charge_ struin - Baseline Owner ID.
- is_
new_ boolalarm - Is it a newly created alarm rule.
- project_
id str - Project ID.
- promise_
tasks Sequence[WedataBaseline Promise Task Args] - Promise Tasks.
- promise_
time str - Service Assurance Time.
- warning_
margin float - Warning Margin in minutes.
- wedata_
baseline_ strid - ID of the resource.
- alarm
Rule Property MapDto - Existing Alarm Rule Information.
- baseline
Create Property MapAlarm Rule Request - Description of the New Alarm Rule.
- baseline
Id String - Baseline ID.
- baseline
Name String - Baseline Name.
- baseline
Type String - D or H; representing daily baseline and hourly baseline respectively.
- create
Name String - Creator Name.
- create
Uin String - Creator ID.
- in
Charge StringName - Baseline Owner Name.
- in
Charge StringUin - Baseline Owner ID.
- is
New BooleanAlarm - Is it a newly created alarm rule.
- project
Id String - Project ID.
- promise
Tasks List<Property Map> - Promise Tasks.
- promise
Time String - Service Assurance Time.
- warning
Margin Number - Warning Margin in minutes.
- wedata
Baseline StringId - ID of the resource.
Supporting Types
WedataBaselineAlarmRuleDto, WedataBaselineAlarmRuleDtoArgs
- Alarm
Level stringType - Important;Urgent;Normal.
- Alarm
Rule stringId - Alarm Rule ID.
- Alarm
Level stringType - Important;Urgent;Normal.
- Alarm
Rule stringId - Alarm Rule ID.
- alarm
Level StringType - Important;Urgent;Normal.
- alarm
Rule StringId - Alarm Rule ID.
- alarm
Level stringType - Important;Urgent;Normal.
- alarm
Rule stringId - Alarm Rule ID.
- alarm_
level_ strtype - Important;Urgent;Normal.
- alarm_
rule_ strid - Alarm Rule ID.
- alarm
Level StringType - Important;Urgent;Normal.
- alarm
Rule StringId - Alarm Rule ID.
WedataBaselineBaselineCreateAlarmRuleRequest, WedataBaselineBaselineCreateAlarmRuleRequestArgs
- Alarm
Level double - Alarm Level, 1. Normal, 2. Important, 3. Urgent (default is 1. Normal)Note: This field may return null, indicating no valid value.
- Alarm
Recipient List<string>Ids - Alarm Recipient IDsNote: This field may return null, indicating no valid value.
- Alarm
Recipient doubleType - Alarm Recipient Type: 1. Specified Personnel, 2. Task Owner, 3. Duty Roster (default is 1. Specified Personnel)Note: This field may return null, indicating no valid value.
- Alarm
Recipients List<string> - Alarm RecipientsNote: This field may return null, indicating no valid value.
- Alarm
Types List<string> - Alarm Types, 1. Failure Alarm, 2. Timeout Alarm, 3. Success Alarm, 4. Baseline Violation, 5. Baseline Warning, 6. Baseline Task Failure (default is 1. Failure Alarm)Note: This field may return null, indicating no valid value.
- Alarm
Ways List<string> - Alarm Methods, 1. Email, 2. SMS, 3. WeChat, 4. Voice, 5. Enterprise WeChat, 6. HTTP, 7. Enterprise WeChat Group; Alarm method code list (default is 1. Email)Note: This field may return null, indicating no valid value.
- Creator string
- Creator UINNote: This field may return null, indicating no valid value.
- Creator
Id string - Creator NameNote: This field may return null, indicating no valid value.
- Ext
Info string - Extended Information, 1. Estimated Runtime (default), 2. Estimated Completion Time, 3. Estimated Scheduling Time, 4. Incomplete within the Cycle; Value Types: 1. Specified Value, 2. Historical Average (default is 1. Specified Value)Note: This field may return null, indicating no valid value.
- Monitor
Object List<string>Ids - Monitoring ObjectsNote: This field may return null, indicating no valid value.
- Monitor
Type double - Monitoring Type, 1. Task, 2. Workflow, 3. Project, 4. Baseline (default is 1. Task)Note: This field may return null, indicating no valid value.
- Project
Id string - Project NameNote: This field may return null, indicating no valid value.
- Rule
Name string - Rule NameNote: This field may return null, indicating no valid value.
- Alarm
Level float64 - Alarm Level, 1. Normal, 2. Important, 3. Urgent (default is 1. Normal)Note: This field may return null, indicating no valid value.
- Alarm
Recipient []stringIds - Alarm Recipient IDsNote: This field may return null, indicating no valid value.
- Alarm
Recipient float64Type - Alarm Recipient Type: 1. Specified Personnel, 2. Task Owner, 3. Duty Roster (default is 1. Specified Personnel)Note: This field may return null, indicating no valid value.
- Alarm
Recipients []string - Alarm RecipientsNote: This field may return null, indicating no valid value.
- Alarm
Types []string - Alarm Types, 1. Failure Alarm, 2. Timeout Alarm, 3. Success Alarm, 4. Baseline Violation, 5. Baseline Warning, 6. Baseline Task Failure (default is 1. Failure Alarm)Note: This field may return null, indicating no valid value.
- Alarm
Ways []string - Alarm Methods, 1. Email, 2. SMS, 3. WeChat, 4. Voice, 5. Enterprise WeChat, 6. HTTP, 7. Enterprise WeChat Group; Alarm method code list (default is 1. Email)Note: This field may return null, indicating no valid value.
- Creator string
- Creator UINNote: This field may return null, indicating no valid value.
- Creator
Id string - Creator NameNote: This field may return null, indicating no valid value.
- Ext
Info string - Extended Information, 1. Estimated Runtime (default), 2. Estimated Completion Time, 3. Estimated Scheduling Time, 4. Incomplete within the Cycle; Value Types: 1. Specified Value, 2. Historical Average (default is 1. Specified Value)Note: This field may return null, indicating no valid value.
- Monitor
Object []stringIds - Monitoring ObjectsNote: This field may return null, indicating no valid value.
- Monitor
Type float64 - Monitoring Type, 1. Task, 2. Workflow, 3. Project, 4. Baseline (default is 1. Task)Note: This field may return null, indicating no valid value.
- Project
Id string - Project NameNote: This field may return null, indicating no valid value.
- Rule
Name string - Rule NameNote: This field may return null, indicating no valid value.
- alarm
Level Double - Alarm Level, 1. Normal, 2. Important, 3. Urgent (default is 1. Normal)Note: This field may return null, indicating no valid value.
- alarm
Recipient List<String>Ids - Alarm Recipient IDsNote: This field may return null, indicating no valid value.
- alarm
Recipient DoubleType - Alarm Recipient Type: 1. Specified Personnel, 2. Task Owner, 3. Duty Roster (default is 1. Specified Personnel)Note: This field may return null, indicating no valid value.
- alarm
Recipients List<String> - Alarm RecipientsNote: This field may return null, indicating no valid value.
- alarm
Types List<String> - Alarm Types, 1. Failure Alarm, 2. Timeout Alarm, 3. Success Alarm, 4. Baseline Violation, 5. Baseline Warning, 6. Baseline Task Failure (default is 1. Failure Alarm)Note: This field may return null, indicating no valid value.
- alarm
Ways List<String> - Alarm Methods, 1. Email, 2. SMS, 3. WeChat, 4. Voice, 5. Enterprise WeChat, 6. HTTP, 7. Enterprise WeChat Group; Alarm method code list (default is 1. Email)Note: This field may return null, indicating no valid value.
- creator String
- Creator UINNote: This field may return null, indicating no valid value.
- creator
Id String - Creator NameNote: This field may return null, indicating no valid value.
- ext
Info String - Extended Information, 1. Estimated Runtime (default), 2. Estimated Completion Time, 3. Estimated Scheduling Time, 4. Incomplete within the Cycle; Value Types: 1. Specified Value, 2. Historical Average (default is 1. Specified Value)Note: This field may return null, indicating no valid value.
- monitor
Object List<String>Ids - Monitoring ObjectsNote: This field may return null, indicating no valid value.
- monitor
Type Double - Monitoring Type, 1. Task, 2. Workflow, 3. Project, 4. Baseline (default is 1. Task)Note: This field may return null, indicating no valid value.
- project
Id String - Project NameNote: This field may return null, indicating no valid value.
- rule
Name String - Rule NameNote: This field may return null, indicating no valid value.
- alarm
Level number - Alarm Level, 1. Normal, 2. Important, 3. Urgent (default is 1. Normal)Note: This field may return null, indicating no valid value.
- alarm
Recipient string[]Ids - Alarm Recipient IDsNote: This field may return null, indicating no valid value.
- alarm
Recipient numberType - Alarm Recipient Type: 1. Specified Personnel, 2. Task Owner, 3. Duty Roster (default is 1. Specified Personnel)Note: This field may return null, indicating no valid value.
- alarm
Recipients string[] - Alarm RecipientsNote: This field may return null, indicating no valid value.
- alarm
Types string[] - Alarm Types, 1. Failure Alarm, 2. Timeout Alarm, 3. Success Alarm, 4. Baseline Violation, 5. Baseline Warning, 6. Baseline Task Failure (default is 1. Failure Alarm)Note: This field may return null, indicating no valid value.
- alarm
Ways string[] - Alarm Methods, 1. Email, 2. SMS, 3. WeChat, 4. Voice, 5. Enterprise WeChat, 6. HTTP, 7. Enterprise WeChat Group; Alarm method code list (default is 1. Email)Note: This field may return null, indicating no valid value.
- creator string
- Creator UINNote: This field may return null, indicating no valid value.
- creator
Id string - Creator NameNote: This field may return null, indicating no valid value.
- ext
Info string - Extended Information, 1. Estimated Runtime (default), 2. Estimated Completion Time, 3. Estimated Scheduling Time, 4. Incomplete within the Cycle; Value Types: 1. Specified Value, 2. Historical Average (default is 1. Specified Value)Note: This field may return null, indicating no valid value.
- monitor
Object string[]Ids - Monitoring ObjectsNote: This field may return null, indicating no valid value.
- monitor
Type number - Monitoring Type, 1. Task, 2. Workflow, 3. Project, 4. Baseline (default is 1. Task)Note: This field may return null, indicating no valid value.
- project
Id string - Project NameNote: This field may return null, indicating no valid value.
- rule
Name string - Rule NameNote: This field may return null, indicating no valid value.
- alarm_
level float - Alarm Level, 1. Normal, 2. Important, 3. Urgent (default is 1. Normal)Note: This field may return null, indicating no valid value.
- alarm_
recipient_ Sequence[str]ids - Alarm Recipient IDsNote: This field may return null, indicating no valid value.
- alarm_
recipient_ floattype - Alarm Recipient Type: 1. Specified Personnel, 2. Task Owner, 3. Duty Roster (default is 1. Specified Personnel)Note: This field may return null, indicating no valid value.
- alarm_
recipients Sequence[str] - Alarm RecipientsNote: This field may return null, indicating no valid value.
- alarm_
types Sequence[str] - Alarm Types, 1. Failure Alarm, 2. Timeout Alarm, 3. Success Alarm, 4. Baseline Violation, 5. Baseline Warning, 6. Baseline Task Failure (default is 1. Failure Alarm)Note: This field may return null, indicating no valid value.
- alarm_
ways Sequence[str] - Alarm Methods, 1. Email, 2. SMS, 3. WeChat, 4. Voice, 5. Enterprise WeChat, 6. HTTP, 7. Enterprise WeChat Group; Alarm method code list (default is 1. Email)Note: This field may return null, indicating no valid value.
- creator str
- Creator UINNote: This field may return null, indicating no valid value.
- creator_
id str - Creator NameNote: This field may return null, indicating no valid value.
- ext_
info str - Extended Information, 1. Estimated Runtime (default), 2. Estimated Completion Time, 3. Estimated Scheduling Time, 4. Incomplete within the Cycle; Value Types: 1. Specified Value, 2. Historical Average (default is 1. Specified Value)Note: This field may return null, indicating no valid value.
- monitor_
object_ Sequence[str]ids - Monitoring ObjectsNote: This field may return null, indicating no valid value.
- monitor_
type float - Monitoring Type, 1. Task, 2. Workflow, 3. Project, 4. Baseline (default is 1. Task)Note: This field may return null, indicating no valid value.
- project_
id str - Project NameNote: This field may return null, indicating no valid value.
- rule_
name str - Rule NameNote: This field may return null, indicating no valid value.
- alarm
Level Number - Alarm Level, 1. Normal, 2. Important, 3. Urgent (default is 1. Normal)Note: This field may return null, indicating no valid value.
- alarm
Recipient List<String>Ids - Alarm Recipient IDsNote: This field may return null, indicating no valid value.
- alarm
Recipient NumberType - Alarm Recipient Type: 1. Specified Personnel, 2. Task Owner, 3. Duty Roster (default is 1. Specified Personnel)Note: This field may return null, indicating no valid value.
- alarm
Recipients List<String> - Alarm RecipientsNote: This field may return null, indicating no valid value.
- alarm
Types List<String> - Alarm Types, 1. Failure Alarm, 2. Timeout Alarm, 3. Success Alarm, 4. Baseline Violation, 5. Baseline Warning, 6. Baseline Task Failure (default is 1. Failure Alarm)Note: This field may return null, indicating no valid value.
- alarm
Ways List<String> - Alarm Methods, 1. Email, 2. SMS, 3. WeChat, 4. Voice, 5. Enterprise WeChat, 6. HTTP, 7. Enterprise WeChat Group; Alarm method code list (default is 1. Email)Note: This field may return null, indicating no valid value.
- creator String
- Creator UINNote: This field may return null, indicating no valid value.
- creator
Id String - Creator NameNote: This field may return null, indicating no valid value.
- ext
Info String - Extended Information, 1. Estimated Runtime (default), 2. Estimated Completion Time, 3. Estimated Scheduling Time, 4. Incomplete within the Cycle; Value Types: 1. Specified Value, 2. Historical Average (default is 1. Specified Value)Note: This field may return null, indicating no valid value.
- monitor
Object List<String>Ids - Monitoring ObjectsNote: This field may return null, indicating no valid value.
- monitor
Type Number - Monitoring Type, 1. Task, 2. Workflow, 3. Project, 4. Baseline (default is 1. Task)Note: This field may return null, indicating no valid value.
- project
Id String - Project NameNote: This field may return null, indicating no valid value.
- rule
Name String - Rule NameNote: This field may return null, indicating no valid value.
WedataBaselinePromiseTask, WedataBaselinePromiseTaskArgs
- Project
Id string - Project ID.
- Task
Cycle string - Task Scheduling Cycle.
- Task
Id string - Task ID.
- Task
In stringCharge Name - Task Owner Name.
- Task
In stringCharge Uin - Task Owner ID.
- Task
Name string - Task Name.
- Workflow
Id string - Workflow ID.
- Workflow
Name string - Workflow Name.
- Project
Id string - Project ID.
- Task
Cycle string - Task Scheduling Cycle.
- Task
Id string - Task ID.
- Task
In stringCharge Name - Task Owner Name.
- Task
In stringCharge Uin - Task Owner ID.
- Task
Name string - Task Name.
- Workflow
Id string - Workflow ID.
- Workflow
Name string - Workflow Name.
- project
Id String - Project ID.
- task
Cycle String - Task Scheduling Cycle.
- task
Id String - Task ID.
- task
In StringCharge Name - Task Owner Name.
- task
In StringCharge Uin - Task Owner ID.
- task
Name String - Task Name.
- workflow
Id String - Workflow ID.
- workflow
Name String - Workflow Name.
- project
Id string - Project ID.
- task
Cycle string - Task Scheduling Cycle.
- task
Id string - Task ID.
- task
In stringCharge Name - Task Owner Name.
- task
In stringCharge Uin - Task Owner ID.
- task
Name string - Task Name.
- workflow
Id string - Workflow ID.
- workflow
Name string - Workflow Name.
- project_
id str - Project ID.
- task_
cycle str - Task Scheduling Cycle.
- task_
id str - Task ID.
- task_
in_ strcharge_ name - Task Owner Name.
- task_
in_ strcharge_ uin - Task Owner ID.
- task_
name str - Task Name.
- workflow_
id str - Workflow ID.
- workflow_
name str - Workflow Name.
- project
Id String - Project ID.
- task
Cycle String - Task Scheduling Cycle.
- task
Id String - Task ID.
- task
In StringCharge Name - Task Owner Name.
- task
In StringCharge Uin - Task Owner ID.
- task
Name String - Task Name.
- workflow
Id String - Workflow ID.
- workflow
Name String - Workflow Name.
Import
wedata baseline can be imported using the id, e.g.
$ pulumi import tencentcloud:index/wedataBaseline:WedataBaseline example 1927766435649077248#2
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.