constellix.TcpCheck
Explore with Pulumi AI
Create TcpCheck Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TcpCheck(name: string, args: TcpCheckArgs, opts?: CustomResourceOptions);@overload
def TcpCheck(resource_name: str,
             args: TcpCheckArgs,
             opts: Optional[ResourceOptions] = None)
@overload
def TcpCheck(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             ip_version: Optional[str] = None,
             host: Optional[str] = None,
             port: Optional[float] = None,
             check_sites: Optional[Sequence[float]] = None,
             notification_groups: Optional[Sequence[float]] = None,
             name: Optional[str] = None,
             interval_policy: Optional[str] = None,
             notification_report_timeout: Optional[float] = None,
             interval: Optional[str] = None,
             string_to_receive: Optional[str] = None,
             string_to_send: Optional[str] = None,
             tcp_check_id: Optional[str] = None,
             verification_policy: Optional[str] = None)func NewTcpCheck(ctx *Context, name string, args TcpCheckArgs, opts ...ResourceOption) (*TcpCheck, error)public TcpCheck(string name, TcpCheckArgs args, CustomResourceOptions? opts = null)
public TcpCheck(String name, TcpCheckArgs args)
public TcpCheck(String name, TcpCheckArgs args, CustomResourceOptions options)
type: constellix:TcpCheck
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 TcpCheckArgs
- 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 TcpCheckArgs
- 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 TcpCheckArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TcpCheckArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TcpCheckArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var tcpCheckResource = new Constellix.TcpCheck("tcpCheckResource", new()
{
    IpVersion = "string",
    Host = "string",
    Port = 0,
    CheckSites = new[]
    {
        0,
    },
    NotificationGroups = new[]
    {
        0,
    },
    Name = "string",
    IntervalPolicy = "string",
    NotificationReportTimeout = 0,
    Interval = "string",
    StringToReceive = "string",
    StringToSend = "string",
    TcpCheckId = "string",
    VerificationPolicy = "string",
});
example, err := constellix.NewTcpCheck(ctx, "tcpCheckResource", &constellix.TcpCheckArgs{
IpVersion: pulumi.String("string"),
Host: pulumi.String("string"),
Port: pulumi.Float64(0),
CheckSites: pulumi.Float64Array{
pulumi.Float64(0),
},
NotificationGroups: pulumi.Float64Array{
pulumi.Float64(0),
},
Name: pulumi.String("string"),
IntervalPolicy: pulumi.String("string"),
NotificationReportTimeout: pulumi.Float64(0),
Interval: pulumi.String("string"),
StringToReceive: pulumi.String("string"),
StringToSend: pulumi.String("string"),
TcpCheckId: pulumi.String("string"),
VerificationPolicy: pulumi.String("string"),
})
var tcpCheckResource = new TcpCheck("tcpCheckResource", TcpCheckArgs.builder()
    .ipVersion("string")
    .host("string")
    .port(0)
    .checkSites(0)
    .notificationGroups(0)
    .name("string")
    .intervalPolicy("string")
    .notificationReportTimeout(0)
    .interval("string")
    .stringToReceive("string")
    .stringToSend("string")
    .tcpCheckId("string")
    .verificationPolicy("string")
    .build());
tcp_check_resource = constellix.TcpCheck("tcpCheckResource",
    ip_version="string",
    host="string",
    port=0,
    check_sites=[0],
    notification_groups=[0],
    name="string",
    interval_policy="string",
    notification_report_timeout=0,
    interval="string",
    string_to_receive="string",
    string_to_send="string",
    tcp_check_id="string",
    verification_policy="string")
const tcpCheckResource = new constellix.TcpCheck("tcpCheckResource", {
    ipVersion: "string",
    host: "string",
    port: 0,
    checkSites: [0],
    notificationGroups: [0],
    name: "string",
    intervalPolicy: "string",
    notificationReportTimeout: 0,
    interval: "string",
    stringToReceive: "string",
    stringToSend: "string",
    tcpCheckId: "string",
    verificationPolicy: "string",
});
type: constellix:TcpCheck
properties:
    checkSites:
        - 0
    host: string
    interval: string
    intervalPolicy: string
    ipVersion: string
    name: string
    notificationGroups:
        - 0
    notificationReportTimeout: 0
    port: 0
    stringToReceive: string
    stringToSend: string
    tcpCheckId: string
    verificationPolicy: string
TcpCheck 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 TcpCheck resource accepts the following input properties:
- CheckSites List<double>
- Host string
- IpVersion string
- Port double
- Interval string
- IntervalPolicy string
- Name string
- NotificationGroups List<double>
- NotificationReport doubleTimeout 
- StringTo stringReceive 
- StringTo stringSend 
- TcpCheck stringId 
- VerificationPolicy string
- CheckSites []float64
- Host string
- IpVersion string
- Port float64
- Interval string
- IntervalPolicy string
- Name string
- NotificationGroups []float64
- NotificationReport float64Timeout 
- StringTo stringReceive 
- StringTo stringSend 
- TcpCheck stringId 
- VerificationPolicy string
- checkSites List<Double>
- host String
- ipVersion String
- port Double
- interval String
- intervalPolicy String
- name String
- notificationGroups List<Double>
- notificationReport DoubleTimeout 
- stringTo StringReceive 
- stringTo StringSend 
- tcpCheck StringId 
- verificationPolicy String
- checkSites number[]
- host string
- ipVersion string
- port number
- interval string
- intervalPolicy string
- name string
- notificationGroups number[]
- notificationReport numberTimeout 
- stringTo stringReceive 
- stringTo stringSend 
- tcpCheck stringId 
- verificationPolicy string
- check_sites Sequence[float]
- host str
- ip_version str
- port float
- interval str
- interval_policy str
- name str
- notification_groups Sequence[float]
- notification_report_ floattimeout 
- string_to_ strreceive 
- string_to_ strsend 
- tcp_check_ strid 
- verification_policy str
- checkSites List<Number>
- host String
- ipVersion String
- port Number
- interval String
- intervalPolicy String
- name String
- notificationGroups List<Number>
- notificationReport NumberTimeout 
- stringTo StringReceive 
- stringTo StringSend 
- tcpCheck StringId 
- verificationPolicy String
Outputs
All input properties are implicitly available as output properties. Additionally, the TcpCheck resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing TcpCheck Resource
Get an existing TcpCheck 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?: TcpCheckState, opts?: CustomResourceOptions): TcpCheck@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        check_sites: Optional[Sequence[float]] = None,
        host: Optional[str] = None,
        interval: Optional[str] = None,
        interval_policy: Optional[str] = None,
        ip_version: Optional[str] = None,
        name: Optional[str] = None,
        notification_groups: Optional[Sequence[float]] = None,
        notification_report_timeout: Optional[float] = None,
        port: Optional[float] = None,
        string_to_receive: Optional[str] = None,
        string_to_send: Optional[str] = None,
        tcp_check_id: Optional[str] = None,
        verification_policy: Optional[str] = None) -> TcpCheckfunc GetTcpCheck(ctx *Context, name string, id IDInput, state *TcpCheckState, opts ...ResourceOption) (*TcpCheck, error)public static TcpCheck Get(string name, Input<string> id, TcpCheckState? state, CustomResourceOptions? opts = null)public static TcpCheck get(String name, Output<String> id, TcpCheckState state, CustomResourceOptions options)resources:  _:    type: constellix:TcpCheck    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.
- CheckSites List<double>
- Host string
- Interval string
- IntervalPolicy string
- IpVersion string
- Name string
- NotificationGroups List<double>
- NotificationReport doubleTimeout 
- Port double
- StringTo stringReceive 
- StringTo stringSend 
- TcpCheck stringId 
- VerificationPolicy string
- CheckSites []float64
- Host string
- Interval string
- IntervalPolicy string
- IpVersion string
- Name string
- NotificationGroups []float64
- NotificationReport float64Timeout 
- Port float64
- StringTo stringReceive 
- StringTo stringSend 
- TcpCheck stringId 
- VerificationPolicy string
- checkSites List<Double>
- host String
- interval String
- intervalPolicy String
- ipVersion String
- name String
- notificationGroups List<Double>
- notificationReport DoubleTimeout 
- port Double
- stringTo StringReceive 
- stringTo StringSend 
- tcpCheck StringId 
- verificationPolicy String
- checkSites number[]
- host string
- interval string
- intervalPolicy string
- ipVersion string
- name string
- notificationGroups number[]
- notificationReport numberTimeout 
- port number
- stringTo stringReceive 
- stringTo stringSend 
- tcpCheck stringId 
- verificationPolicy string
- check_sites Sequence[float]
- host str
- interval str
- interval_policy str
- ip_version str
- name str
- notification_groups Sequence[float]
- notification_report_ floattimeout 
- port float
- string_to_ strreceive 
- string_to_ strsend 
- tcp_check_ strid 
- verification_policy str
- checkSites List<Number>
- host String
- interval String
- intervalPolicy String
- ipVersion String
- name String
- notificationGroups List<Number>
- notificationReport NumberTimeout 
- port Number
- stringTo StringReceive 
- stringTo StringSend 
- tcpCheck StringId 
- verificationPolicy String
Package Details
- Repository
- constellix constellix/terraform-provider-constellix
- License
- Notes
- This Pulumi package is based on the constellixTerraform Provider.