Provides a resource to create a IGTM monitor
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.IgtmMonitor("example", {
monitorName: "tf-example",
checkProtocol: "PING",
checkInterval: 60,
timeout: 5,
failTimes: 1,
failRate: 50,
detectorStyle: "INTERNAL",
detectorGroupIds: [
30,
31,
32,
34,
37,
38,
39,
1,
2,
3,
7,
8,
9,
10,
11,
12,
],
pingNum: 20,
tcpPort: 443,
path: "/",
returnCodeThreshold: 500,
enableRedirect: "DISABLED",
enableSni: "DISABLED",
packetLossRate: 90,
continuePeriod: 1,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.IgtmMonitor("example",
monitor_name="tf-example",
check_protocol="PING",
check_interval=60,
timeout=5,
fail_times=1,
fail_rate=50,
detector_style="INTERNAL",
detector_group_ids=[
30,
31,
32,
34,
37,
38,
39,
1,
2,
3,
7,
8,
9,
10,
11,
12,
],
ping_num=20,
tcp_port=443,
path="/",
return_code_threshold=500,
enable_redirect="DISABLED",
enable_sni="DISABLED",
packet_loss_rate=90,
continue_period=1)
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.NewIgtmMonitor(ctx, "example", &tencentcloud.IgtmMonitorArgs{
MonitorName: pulumi.String("tf-example"),
CheckProtocol: pulumi.String("PING"),
CheckInterval: pulumi.Float64(60),
Timeout: pulumi.Float64(5),
FailTimes: pulumi.Float64(1),
FailRate: pulumi.Float64(50),
DetectorStyle: pulumi.String("INTERNAL"),
DetectorGroupIds: pulumi.Float64Array{
pulumi.Float64(30),
pulumi.Float64(31),
pulumi.Float64(32),
pulumi.Float64(34),
pulumi.Float64(37),
pulumi.Float64(38),
pulumi.Float64(39),
pulumi.Float64(1),
pulumi.Float64(2),
pulumi.Float64(3),
pulumi.Float64(7),
pulumi.Float64(8),
pulumi.Float64(9),
pulumi.Float64(10),
pulumi.Float64(11),
pulumi.Float64(12),
},
PingNum: pulumi.Float64(20),
TcpPort: pulumi.Float64(443),
Path: pulumi.String("/"),
ReturnCodeThreshold: pulumi.Float64(500),
EnableRedirect: pulumi.String("DISABLED"),
EnableSni: pulumi.String("DISABLED"),
PacketLossRate: pulumi.Float64(90),
ContinuePeriod: pulumi.Float64(1),
})
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.IgtmMonitor("example", new()
{
MonitorName = "tf-example",
CheckProtocol = "PING",
CheckInterval = 60,
Timeout = 5,
FailTimes = 1,
FailRate = 50,
DetectorStyle = "INTERNAL",
DetectorGroupIds = new[]
{
30,
31,
32,
34,
37,
38,
39,
1,
2,
3,
7,
8,
9,
10,
11,
12,
},
PingNum = 20,
TcpPort = 443,
Path = "/",
ReturnCodeThreshold = 500,
EnableRedirect = "DISABLED",
EnableSni = "DISABLED",
PacketLossRate = 90,
ContinuePeriod = 1,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.IgtmMonitor;
import com.pulumi.tencentcloud.IgtmMonitorArgs;
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 IgtmMonitor("example", IgtmMonitorArgs.builder()
.monitorName("tf-example")
.checkProtocol("PING")
.checkInterval(60.0)
.timeout(5.0)
.failTimes(1.0)
.failRate(50.0)
.detectorStyle("INTERNAL")
.detectorGroupIds(
30.0,
31.0,
32.0,
34.0,
37.0,
38.0,
39.0,
1.0,
2.0,
3.0,
7.0,
8.0,
9.0,
10.0,
11.0,
12.0)
.pingNum(20.0)
.tcpPort(443.0)
.path("/")
.returnCodeThreshold(500.0)
.enableRedirect("DISABLED")
.enableSni("DISABLED")
.packetLossRate(90.0)
.continuePeriod(1.0)
.build());
}
}
resources:
example:
type: tencentcloud:IgtmMonitor
properties:
monitorName: tf-example
checkProtocol: PING
checkInterval: 60
timeout: 5
failTimes: 1
failRate: 50
detectorStyle: INTERNAL
detectorGroupIds:
- 30
- 31
- 32
- 34
- 37
- 38
- 39
- 1
- 2
- 3
- 7
- 8
- 9
- 10
- 11
- 12
pingNum: 20
tcpPort: 443
path: /
returnCodeThreshold: 500
enableRedirect: DISABLED
enableSni: DISABLED
packetLossRate: 90
continuePeriod: 1
Create IgtmMonitor Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IgtmMonitor(name: string, args: IgtmMonitorArgs, opts?: CustomResourceOptions);@overload
def IgtmMonitor(resource_name: str,
args: IgtmMonitorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IgtmMonitor(resource_name: str,
opts: Optional[ResourceOptions] = None,
fail_times: Optional[float] = None,
check_protocol: Optional[str] = None,
timeout: Optional[float] = None,
detector_group_ids: Optional[Sequence[float]] = None,
detector_style: Optional[str] = None,
monitor_name: Optional[str] = None,
check_interval: Optional[float] = None,
fail_rate: Optional[float] = None,
igtm_monitor_id: Optional[str] = None,
enable_sni: Optional[str] = None,
host: Optional[str] = None,
enable_redirect: Optional[str] = None,
packet_loss_rate: Optional[float] = None,
path: Optional[str] = None,
ping_num: Optional[float] = None,
return_code_threshold: Optional[float] = None,
tcp_port: Optional[float] = None,
continue_period: Optional[float] = None)func NewIgtmMonitor(ctx *Context, name string, args IgtmMonitorArgs, opts ...ResourceOption) (*IgtmMonitor, error)public IgtmMonitor(string name, IgtmMonitorArgs args, CustomResourceOptions? opts = null)
public IgtmMonitor(String name, IgtmMonitorArgs args)
public IgtmMonitor(String name, IgtmMonitorArgs args, CustomResourceOptions options)
type: tencentcloud:IgtmMonitor
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 IgtmMonitorArgs
- 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 IgtmMonitorArgs
- 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 IgtmMonitorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IgtmMonitorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IgtmMonitorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
IgtmMonitor 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 IgtmMonitor resource accepts the following input properties:
- Check
Interval double - Check interval (seconds), optional values 15 60 120 300.
- Check
Protocol string - Detection protocol, optional values
PING,TCP,HTTP,HTTPS. - Detector
Group List<double>Ids - Detector group ID list separated by commas.
- Detector
Style string - Monitoring node type, optional values AUTO INTERNAL OVERSEAS IPV6 ALL.
- Fail
Rate double - Failure rate, values 20 30 40 50 60 70 80 100, default value 50.
- Fail
Times double - Retry count, optional values 0, 1, 2.
- Monitor
Name string - Monitor name.
- Timeout double
- Timeout time, unit seconds, optional values 2 3 5 10.
- Continue
Period double - Continuous period count, optional values 1-5.
- Enable
Redirect string - Follow 3XX redirect, DISABLED for disabled, ENABLED for enabled, default disabled.
- Enable
Sni string - Enable SNI, DISABLED for disabled, ENABLED for enabled, default disabled.
- Host string
- Host setting, default is business domain name.
- Igtm
Monitor stringId - ID of the resource.
- Packet
Loss doubleRate - Packet loss rate alarm threshold, required when CheckProtocol=ping, values 10 30 50 80 90 100.
- Path string
- URL path, default is "/".
- Ping
Num double - PING packet count, required when CheckProtocol=ping, optional values 20 50 100.
- Return
Code doubleThreshold - Return error code threshold, optional values 400 and 500, default value 500.
- Tcp
Port double - Check port, optional values between 1-65535.
- Check
Interval float64 - Check interval (seconds), optional values 15 60 120 300.
- Check
Protocol string - Detection protocol, optional values
PING,TCP,HTTP,HTTPS. - Detector
Group []float64Ids - Detector group ID list separated by commas.
- Detector
Style string - Monitoring node type, optional values AUTO INTERNAL OVERSEAS IPV6 ALL.
- Fail
Rate float64 - Failure rate, values 20 30 40 50 60 70 80 100, default value 50.
- Fail
Times float64 - Retry count, optional values 0, 1, 2.
- Monitor
Name string - Monitor name.
- Timeout float64
- Timeout time, unit seconds, optional values 2 3 5 10.
- Continue
Period float64 - Continuous period count, optional values 1-5.
- Enable
Redirect string - Follow 3XX redirect, DISABLED for disabled, ENABLED for enabled, default disabled.
- Enable
Sni string - Enable SNI, DISABLED for disabled, ENABLED for enabled, default disabled.
- Host string
- Host setting, default is business domain name.
- Igtm
Monitor stringId - ID of the resource.
- Packet
Loss float64Rate - Packet loss rate alarm threshold, required when CheckProtocol=ping, values 10 30 50 80 90 100.
- Path string
- URL path, default is "/".
- Ping
Num float64 - PING packet count, required when CheckProtocol=ping, optional values 20 50 100.
- Return
Code float64Threshold - Return error code threshold, optional values 400 and 500, default value 500.
- Tcp
Port float64 - Check port, optional values between 1-65535.
- check
Interval Double - Check interval (seconds), optional values 15 60 120 300.
- check
Protocol String - Detection protocol, optional values
PING,TCP,HTTP,HTTPS. - detector
Group List<Double>Ids - Detector group ID list separated by commas.
- detector
Style String - Monitoring node type, optional values AUTO INTERNAL OVERSEAS IPV6 ALL.
- fail
Rate Double - Failure rate, values 20 30 40 50 60 70 80 100, default value 50.
- fail
Times Double - Retry count, optional values 0, 1, 2.
- monitor
Name String - Monitor name.
- timeout Double
- Timeout time, unit seconds, optional values 2 3 5 10.
- continue
Period Double - Continuous period count, optional values 1-5.
- enable
Redirect String - Follow 3XX redirect, DISABLED for disabled, ENABLED for enabled, default disabled.
- enable
Sni String - Enable SNI, DISABLED for disabled, ENABLED for enabled, default disabled.
- host String
- Host setting, default is business domain name.
- igtm
Monitor StringId - ID of the resource.
- packet
Loss DoubleRate - Packet loss rate alarm threshold, required when CheckProtocol=ping, values 10 30 50 80 90 100.
- path String
- URL path, default is "/".
- ping
Num Double - PING packet count, required when CheckProtocol=ping, optional values 20 50 100.
- return
Code DoubleThreshold - Return error code threshold, optional values 400 and 500, default value 500.
- tcp
Port Double - Check port, optional values between 1-65535.
- check
Interval number - Check interval (seconds), optional values 15 60 120 300.
- check
Protocol string - Detection protocol, optional values
PING,TCP,HTTP,HTTPS. - detector
Group number[]Ids - Detector group ID list separated by commas.
- detector
Style string - Monitoring node type, optional values AUTO INTERNAL OVERSEAS IPV6 ALL.
- fail
Rate number - Failure rate, values 20 30 40 50 60 70 80 100, default value 50.
- fail
Times number - Retry count, optional values 0, 1, 2.
- monitor
Name string - Monitor name.
- timeout number
- Timeout time, unit seconds, optional values 2 3 5 10.
- continue
Period number - Continuous period count, optional values 1-5.
- enable
Redirect string - Follow 3XX redirect, DISABLED for disabled, ENABLED for enabled, default disabled.
- enable
Sni string - Enable SNI, DISABLED for disabled, ENABLED for enabled, default disabled.
- host string
- Host setting, default is business domain name.
- igtm
Monitor stringId - ID of the resource.
- packet
Loss numberRate - Packet loss rate alarm threshold, required when CheckProtocol=ping, values 10 30 50 80 90 100.
- path string
- URL path, default is "/".
- ping
Num number - PING packet count, required when CheckProtocol=ping, optional values 20 50 100.
- return
Code numberThreshold - Return error code threshold, optional values 400 and 500, default value 500.
- tcp
Port number - Check port, optional values between 1-65535.
- check_
interval float - Check interval (seconds), optional values 15 60 120 300.
- check_
protocol str - Detection protocol, optional values
PING,TCP,HTTP,HTTPS. - detector_
group_ Sequence[float]ids - Detector group ID list separated by commas.
- detector_
style str - Monitoring node type, optional values AUTO INTERNAL OVERSEAS IPV6 ALL.
- fail_
rate float - Failure rate, values 20 30 40 50 60 70 80 100, default value 50.
- fail_
times float - Retry count, optional values 0, 1, 2.
- monitor_
name str - Monitor name.
- timeout float
- Timeout time, unit seconds, optional values 2 3 5 10.
- continue_
period float - Continuous period count, optional values 1-5.
- enable_
redirect str - Follow 3XX redirect, DISABLED for disabled, ENABLED for enabled, default disabled.
- enable_
sni str - Enable SNI, DISABLED for disabled, ENABLED for enabled, default disabled.
- host str
- Host setting, default is business domain name.
- igtm_
monitor_ strid - ID of the resource.
- packet_
loss_ floatrate - Packet loss rate alarm threshold, required when CheckProtocol=ping, values 10 30 50 80 90 100.
- path str
- URL path, default is "/".
- ping_
num float - PING packet count, required when CheckProtocol=ping, optional values 20 50 100.
- return_
code_ floatthreshold - Return error code threshold, optional values 400 and 500, default value 500.
- tcp_
port float - Check port, optional values between 1-65535.
- check
Interval Number - Check interval (seconds), optional values 15 60 120 300.
- check
Protocol String - Detection protocol, optional values
PING,TCP,HTTP,HTTPS. - detector
Group List<Number>Ids - Detector group ID list separated by commas.
- detector
Style String - Monitoring node type, optional values AUTO INTERNAL OVERSEAS IPV6 ALL.
- fail
Rate Number - Failure rate, values 20 30 40 50 60 70 80 100, default value 50.
- fail
Times Number - Retry count, optional values 0, 1, 2.
- monitor
Name String - Monitor name.
- timeout Number
- Timeout time, unit seconds, optional values 2 3 5 10.
- continue
Period Number - Continuous period count, optional values 1-5.
- enable
Redirect String - Follow 3XX redirect, DISABLED for disabled, ENABLED for enabled, default disabled.
- enable
Sni String - Enable SNI, DISABLED for disabled, ENABLED for enabled, default disabled.
- host String
- Host setting, default is business domain name.
- igtm
Monitor StringId - ID of the resource.
- packet
Loss NumberRate - Packet loss rate alarm threshold, required when CheckProtocol=ping, values 10 30 50 80 90 100.
- path String
- URL path, default is "/".
- ping
Num Number - PING packet count, required when CheckProtocol=ping, optional values 20 50 100.
- return
Code NumberThreshold - Return error code threshold, optional values 400 and 500, default value 500.
- tcp
Port Number - Check port, optional values between 1-65535.
Outputs
All input properties are implicitly available as output properties. Additionally, the IgtmMonitor resource produces the following output properties:
- id str
- The provider-assigned unique ID for this managed resource.
- monitor_
id float - Monitor ID.
Look up Existing IgtmMonitor Resource
Get an existing IgtmMonitor 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?: IgtmMonitorState, opts?: CustomResourceOptions): IgtmMonitor@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
check_interval: Optional[float] = None,
check_protocol: Optional[str] = None,
continue_period: Optional[float] = None,
detector_group_ids: Optional[Sequence[float]] = None,
detector_style: Optional[str] = None,
enable_redirect: Optional[str] = None,
enable_sni: Optional[str] = None,
fail_rate: Optional[float] = None,
fail_times: Optional[float] = None,
host: Optional[str] = None,
igtm_monitor_id: Optional[str] = None,
monitor_id: Optional[float] = None,
monitor_name: Optional[str] = None,
packet_loss_rate: Optional[float] = None,
path: Optional[str] = None,
ping_num: Optional[float] = None,
return_code_threshold: Optional[float] = None,
tcp_port: Optional[float] = None,
timeout: Optional[float] = None) -> IgtmMonitorfunc GetIgtmMonitor(ctx *Context, name string, id IDInput, state *IgtmMonitorState, opts ...ResourceOption) (*IgtmMonitor, error)public static IgtmMonitor Get(string name, Input<string> id, IgtmMonitorState? state, CustomResourceOptions? opts = null)public static IgtmMonitor get(String name, Output<String> id, IgtmMonitorState state, CustomResourceOptions options)resources: _: type: tencentcloud:IgtmMonitor 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.
- Check
Interval double - Check interval (seconds), optional values 15 60 120 300.
- Check
Protocol string - Detection protocol, optional values
PING,TCP,HTTP,HTTPS. - Continue
Period double - Continuous period count, optional values 1-5.
- Detector
Group List<double>Ids - Detector group ID list separated by commas.
- Detector
Style string - Monitoring node type, optional values AUTO INTERNAL OVERSEAS IPV6 ALL.
- Enable
Redirect string - Follow 3XX redirect, DISABLED for disabled, ENABLED for enabled, default disabled.
- Enable
Sni string - Enable SNI, DISABLED for disabled, ENABLED for enabled, default disabled.
- Fail
Rate double - Failure rate, values 20 30 40 50 60 70 80 100, default value 50.
- Fail
Times double - Retry count, optional values 0, 1, 2.
- Host string
- Host setting, default is business domain name.
- Igtm
Monitor stringId - ID of the resource.
- Monitor
Id double - Monitor ID.
- Monitor
Name string - Monitor name.
- Packet
Loss doubleRate - Packet loss rate alarm threshold, required when CheckProtocol=ping, values 10 30 50 80 90 100.
- Path string
- URL path, default is "/".
- Ping
Num double - PING packet count, required when CheckProtocol=ping, optional values 20 50 100.
- Return
Code doubleThreshold - Return error code threshold, optional values 400 and 500, default value 500.
- Tcp
Port double - Check port, optional values between 1-65535.
- Timeout double
- Timeout time, unit seconds, optional values 2 3 5 10.
- Check
Interval float64 - Check interval (seconds), optional values 15 60 120 300.
- Check
Protocol string - Detection protocol, optional values
PING,TCP,HTTP,HTTPS. - Continue
Period float64 - Continuous period count, optional values 1-5.
- Detector
Group []float64Ids - Detector group ID list separated by commas.
- Detector
Style string - Monitoring node type, optional values AUTO INTERNAL OVERSEAS IPV6 ALL.
- Enable
Redirect string - Follow 3XX redirect, DISABLED for disabled, ENABLED for enabled, default disabled.
- Enable
Sni string - Enable SNI, DISABLED for disabled, ENABLED for enabled, default disabled.
- Fail
Rate float64 - Failure rate, values 20 30 40 50 60 70 80 100, default value 50.
- Fail
Times float64 - Retry count, optional values 0, 1, 2.
- Host string
- Host setting, default is business domain name.
- Igtm
Monitor stringId - ID of the resource.
- Monitor
Id float64 - Monitor ID.
- Monitor
Name string - Monitor name.
- Packet
Loss float64Rate - Packet loss rate alarm threshold, required when CheckProtocol=ping, values 10 30 50 80 90 100.
- Path string
- URL path, default is "/".
- Ping
Num float64 - PING packet count, required when CheckProtocol=ping, optional values 20 50 100.
- Return
Code float64Threshold - Return error code threshold, optional values 400 and 500, default value 500.
- Tcp
Port float64 - Check port, optional values between 1-65535.
- Timeout float64
- Timeout time, unit seconds, optional values 2 3 5 10.
- check
Interval Double - Check interval (seconds), optional values 15 60 120 300.
- check
Protocol String - Detection protocol, optional values
PING,TCP,HTTP,HTTPS. - continue
Period Double - Continuous period count, optional values 1-5.
- detector
Group List<Double>Ids - Detector group ID list separated by commas.
- detector
Style String - Monitoring node type, optional values AUTO INTERNAL OVERSEAS IPV6 ALL.
- enable
Redirect String - Follow 3XX redirect, DISABLED for disabled, ENABLED for enabled, default disabled.
- enable
Sni String - Enable SNI, DISABLED for disabled, ENABLED for enabled, default disabled.
- fail
Rate Double - Failure rate, values 20 30 40 50 60 70 80 100, default value 50.
- fail
Times Double - Retry count, optional values 0, 1, 2.
- host String
- Host setting, default is business domain name.
- igtm
Monitor StringId - ID of the resource.
- monitor
Id Double - Monitor ID.
- monitor
Name String - Monitor name.
- packet
Loss DoubleRate - Packet loss rate alarm threshold, required when CheckProtocol=ping, values 10 30 50 80 90 100.
- path String
- URL path, default is "/".
- ping
Num Double - PING packet count, required when CheckProtocol=ping, optional values 20 50 100.
- return
Code DoubleThreshold - Return error code threshold, optional values 400 and 500, default value 500.
- tcp
Port Double - Check port, optional values between 1-65535.
- timeout Double
- Timeout time, unit seconds, optional values 2 3 5 10.
- check
Interval number - Check interval (seconds), optional values 15 60 120 300.
- check
Protocol string - Detection protocol, optional values
PING,TCP,HTTP,HTTPS. - continue
Period number - Continuous period count, optional values 1-5.
- detector
Group number[]Ids - Detector group ID list separated by commas.
- detector
Style string - Monitoring node type, optional values AUTO INTERNAL OVERSEAS IPV6 ALL.
- enable
Redirect string - Follow 3XX redirect, DISABLED for disabled, ENABLED for enabled, default disabled.
- enable
Sni string - Enable SNI, DISABLED for disabled, ENABLED for enabled, default disabled.
- fail
Rate number - Failure rate, values 20 30 40 50 60 70 80 100, default value 50.
- fail
Times number - Retry count, optional values 0, 1, 2.
- host string
- Host setting, default is business domain name.
- igtm
Monitor stringId - ID of the resource.
- monitor
Id number - Monitor ID.
- monitor
Name string - Monitor name.
- packet
Loss numberRate - Packet loss rate alarm threshold, required when CheckProtocol=ping, values 10 30 50 80 90 100.
- path string
- URL path, default is "/".
- ping
Num number - PING packet count, required when CheckProtocol=ping, optional values 20 50 100.
- return
Code numberThreshold - Return error code threshold, optional values 400 and 500, default value 500.
- tcp
Port number - Check port, optional values between 1-65535.
- timeout number
- Timeout time, unit seconds, optional values 2 3 5 10.
- check_
interval float - Check interval (seconds), optional values 15 60 120 300.
- check_
protocol str - Detection protocol, optional values
PING,TCP,HTTP,HTTPS. - continue_
period float - Continuous period count, optional values 1-5.
- detector_
group_ Sequence[float]ids - Detector group ID list separated by commas.
- detector_
style str - Monitoring node type, optional values AUTO INTERNAL OVERSEAS IPV6 ALL.
- enable_
redirect str - Follow 3XX redirect, DISABLED for disabled, ENABLED for enabled, default disabled.
- enable_
sni str - Enable SNI, DISABLED for disabled, ENABLED for enabled, default disabled.
- fail_
rate float - Failure rate, values 20 30 40 50 60 70 80 100, default value 50.
- fail_
times float - Retry count, optional values 0, 1, 2.
- host str
- Host setting, default is business domain name.
- igtm_
monitor_ strid - ID of the resource.
- monitor_
id float - Monitor ID.
- monitor_
name str - Monitor name.
- packet_
loss_ floatrate - Packet loss rate alarm threshold, required when CheckProtocol=ping, values 10 30 50 80 90 100.
- path str
- URL path, default is "/".
- ping_
num float - PING packet count, required when CheckProtocol=ping, optional values 20 50 100.
- return_
code_ floatthreshold - Return error code threshold, optional values 400 and 500, default value 500.
- tcp_
port float - Check port, optional values between 1-65535.
- timeout float
- Timeout time, unit seconds, optional values 2 3 5 10.
- check
Interval Number - Check interval (seconds), optional values 15 60 120 300.
- check
Protocol String - Detection protocol, optional values
PING,TCP,HTTP,HTTPS. - continue
Period Number - Continuous period count, optional values 1-5.
- detector
Group List<Number>Ids - Detector group ID list separated by commas.
- detector
Style String - Monitoring node type, optional values AUTO INTERNAL OVERSEAS IPV6 ALL.
- enable
Redirect String - Follow 3XX redirect, DISABLED for disabled, ENABLED for enabled, default disabled.
- enable
Sni String - Enable SNI, DISABLED for disabled, ENABLED for enabled, default disabled.
- fail
Rate Number - Failure rate, values 20 30 40 50 60 70 80 100, default value 50.
- fail
Times Number - Retry count, optional values 0, 1, 2.
- host String
- Host setting, default is business domain name.
- igtm
Monitor StringId - ID of the resource.
- monitor
Id Number - Monitor ID.
- monitor
Name String - Monitor name.
- packet
Loss NumberRate - Packet loss rate alarm threshold, required when CheckProtocol=ping, values 10 30 50 80 90 100.
- path String
- URL path, default is "/".
- ping
Num Number - PING packet count, required when CheckProtocol=ping, optional values 20 50 100.
- return
Code NumberThreshold - Return error code threshold, optional values 400 and 500, default value 500.
- tcp
Port Number - Check port, optional values between 1-65535.
- timeout Number
- Timeout time, unit seconds, optional values 2 3 5 10.
Import
IGTM monitor can be imported using the id, e.g.
$ pulumi import tencentcloud:index/igtmMonitor:IgtmMonitor example 12355
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
tencentcloudTerraform Provider.
