1. Packages
  2. Constellix Provider
  3. API Docs
  4. DnsCheck
constellix 0.4.6 published on Friday, Mar 7, 2025 by constellix

constellix.DnsCheck

Explore with Pulumi AI

Create DnsCheck Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new DnsCheck(name: string, args: DnsCheckArgs, opts?: CustomResourceOptions);
@overload
def DnsCheck(resource_name: str,
             args: DnsCheckArgs,
             opts: Optional[ResourceOptions] = None)

@overload
def DnsCheck(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             check_sites: Optional[Sequence[float]] = None,
             fqdn: Optional[str] = None,
             resolver: Optional[str] = None,
             dns_check_id: Optional[str] = None,
             expected_response: Optional[str] = None,
             interval: Optional[str] = None,
             interval_policy: Optional[str] = None,
             name: Optional[str] = None,
             notification_groups: Optional[Sequence[float]] = None,
             notification_report_timeout: Optional[float] = None,
             verification_policy: Optional[str] = None)
func NewDnsCheck(ctx *Context, name string, args DnsCheckArgs, opts ...ResourceOption) (*DnsCheck, error)
public DnsCheck(string name, DnsCheckArgs args, CustomResourceOptions? opts = null)
public DnsCheck(String name, DnsCheckArgs args)
public DnsCheck(String name, DnsCheckArgs args, CustomResourceOptions options)
type: constellix:DnsCheck
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DnsCheckArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DnsCheckArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DnsCheckArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DnsCheckArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DnsCheckArgs
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 dnsCheckResource = new Constellix.DnsCheck("dnsCheckResource", new()
{
    CheckSites = new[]
    {
        0,
    },
    Fqdn = "string",
    Resolver = "string",
    DnsCheckId = "string",
    ExpectedResponse = "string",
    Interval = "string",
    IntervalPolicy = "string",
    Name = "string",
    NotificationGroups = new[]
    {
        0,
    },
    NotificationReportTimeout = 0,
    VerificationPolicy = "string",
});
Copy
example, err := constellix.NewDnsCheck(ctx, "dnsCheckResource", &constellix.DnsCheckArgs{
CheckSites: pulumi.Float64Array{
pulumi.Float64(0),
},
Fqdn: pulumi.String("string"),
Resolver: pulumi.String("string"),
DnsCheckId: pulumi.String("string"),
ExpectedResponse: pulumi.String("string"),
Interval: pulumi.String("string"),
IntervalPolicy: pulumi.String("string"),
Name: pulumi.String("string"),
NotificationGroups: pulumi.Float64Array{
pulumi.Float64(0),
},
NotificationReportTimeout: pulumi.Float64(0),
VerificationPolicy: pulumi.String("string"),
})
Copy
var dnsCheckResource = new DnsCheck("dnsCheckResource", DnsCheckArgs.builder()
    .checkSites(0)
    .fqdn("string")
    .resolver("string")
    .dnsCheckId("string")
    .expectedResponse("string")
    .interval("string")
    .intervalPolicy("string")
    .name("string")
    .notificationGroups(0)
    .notificationReportTimeout(0)
    .verificationPolicy("string")
    .build());
Copy
dns_check_resource = constellix.DnsCheck("dnsCheckResource",
    check_sites=[0],
    fqdn="string",
    resolver="string",
    dns_check_id="string",
    expected_response="string",
    interval="string",
    interval_policy="string",
    name="string",
    notification_groups=[0],
    notification_report_timeout=0,
    verification_policy="string")
Copy
const dnsCheckResource = new constellix.DnsCheck("dnsCheckResource", {
    checkSites: [0],
    fqdn: "string",
    resolver: "string",
    dnsCheckId: "string",
    expectedResponse: "string",
    interval: "string",
    intervalPolicy: "string",
    name: "string",
    notificationGroups: [0],
    notificationReportTimeout: 0,
    verificationPolicy: "string",
});
Copy
type: constellix:DnsCheck
properties:
    checkSites:
        - 0
    dnsCheckId: string
    expectedResponse: string
    fqdn: string
    interval: string
    intervalPolicy: string
    name: string
    notificationGroups:
        - 0
    notificationReportTimeout: 0
    resolver: string
    verificationPolicy: string
Copy

DnsCheck 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 DnsCheck resource accepts the following input properties:

CheckSites This property is required. List<double>
Fqdn This property is required. string
Resolver This property is required. string
DnsCheckId string
ExpectedResponse string
Interval string
IntervalPolicy string
Name string
NotificationGroups List<double>
NotificationReportTimeout double
VerificationPolicy string
CheckSites This property is required. []float64
Fqdn This property is required. string
Resolver This property is required. string
DnsCheckId string
ExpectedResponse string
Interval string
IntervalPolicy string
Name string
NotificationGroups []float64
NotificationReportTimeout float64
VerificationPolicy string
checkSites This property is required. List<Double>
fqdn This property is required. String
resolver This property is required. String
dnsCheckId String
expectedResponse String
interval String
intervalPolicy String
name String
notificationGroups List<Double>
notificationReportTimeout Double
verificationPolicy String
checkSites This property is required. number[]
fqdn This property is required. string
resolver This property is required. string
dnsCheckId string
expectedResponse string
interval string
intervalPolicy string
name string
notificationGroups number[]
notificationReportTimeout number
verificationPolicy string
check_sites This property is required. Sequence[float]
fqdn This property is required. str
resolver This property is required. str
dns_check_id str
expected_response str
interval str
interval_policy str
name str
notification_groups Sequence[float]
notification_report_timeout float
verification_policy str
checkSites This property is required. List<Number>
fqdn This property is required. String
resolver This property is required. String
dnsCheckId String
expectedResponse String
interval String
intervalPolicy String
name String
notificationGroups List<Number>
notificationReportTimeout Number
verificationPolicy String

Outputs

All input properties are implicitly available as output properties. Additionally, the DnsCheck 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 DnsCheck Resource

Get an existing DnsCheck 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?: DnsCheckState, opts?: CustomResourceOptions): DnsCheck
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        check_sites: Optional[Sequence[float]] = None,
        dns_check_id: Optional[str] = None,
        expected_response: Optional[str] = None,
        fqdn: Optional[str] = None,
        interval: Optional[str] = None,
        interval_policy: Optional[str] = None,
        name: Optional[str] = None,
        notification_groups: Optional[Sequence[float]] = None,
        notification_report_timeout: Optional[float] = None,
        resolver: Optional[str] = None,
        verification_policy: Optional[str] = None) -> DnsCheck
func GetDnsCheck(ctx *Context, name string, id IDInput, state *DnsCheckState, opts ...ResourceOption) (*DnsCheck, error)
public static DnsCheck Get(string name, Input<string> id, DnsCheckState? state, CustomResourceOptions? opts = null)
public static DnsCheck get(String name, Output<String> id, DnsCheckState state, CustomResourceOptions options)
resources:  _:    type: constellix:DnsCheck    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:

Package Details

Repository
constellix constellix/terraform-provider-constellix
License
Notes
This Pulumi package is based on the constellix Terraform Provider.