Cloudflare

v4.12.1 published on Thursday, Sep 22, 2022 by Pulumi

FallbackDomain

Provides a Cloudflare Fallback Domain resource. Fallback domains are used to ignore DNS requests to a given list of domains. These DNS requests will be passed back to other DNS servers configured on existing network interfaces on the device.

Create a FallbackDomain Resource

new FallbackDomain(name: string, args: FallbackDomainArgs, opts?: CustomResourceOptions);
@overload
def FallbackDomain(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   account_id: Optional[str] = None,
                   domains: Optional[Sequence[FallbackDomainDomainArgs]] = None)
@overload
def FallbackDomain(resource_name: str,
                   args: FallbackDomainArgs,
                   opts: Optional[ResourceOptions] = None)
func NewFallbackDomain(ctx *Context, name string, args FallbackDomainArgs, opts ...ResourceOption) (*FallbackDomain, error)
public FallbackDomain(string name, FallbackDomainArgs args, CustomResourceOptions? opts = null)
public FallbackDomain(String name, FallbackDomainArgs args)
public FallbackDomain(String name, FallbackDomainArgs args, CustomResourceOptions options)
type: cloudflare:FallbackDomain
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args FallbackDomainArgs
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 FallbackDomainArgs
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 FallbackDomainArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args FallbackDomainArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args FallbackDomainArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

FallbackDomain Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The FallbackDomain resource accepts the following input properties:

AccountId string

The account to which the device posture rule should be added.

Domains List<FallbackDomainDomainArgs>

The value of the domain attributes (refer to the nested schema).

AccountId string

The account to which the device posture rule should be added.

Domains []FallbackDomainDomainArgs

The value of the domain attributes (refer to the nested schema).

accountId String

The account to which the device posture rule should be added.

domains List<FallbackDomainDomainArgs>

The value of the domain attributes (refer to the nested schema).

accountId string

The account to which the device posture rule should be added.

domains FallbackDomainDomainArgs[]

The value of the domain attributes (refer to the nested schema).

account_id str

The account to which the device posture rule should be added.

domains Sequence[FallbackDomainDomainArgs]

The value of the domain attributes (refer to the nested schema).

accountId String

The account to which the device posture rule should be added.

domains List<Property Map>

The value of the domain attributes (refer to the nested schema).

Outputs

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

Get an existing FallbackDomain 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?: FallbackDomainState, opts?: CustomResourceOptions): FallbackDomain
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        account_id: Optional[str] = None,
        domains: Optional[Sequence[FallbackDomainDomainArgs]] = None) -> FallbackDomain
func GetFallbackDomain(ctx *Context, name string, id IDInput, state *FallbackDomainState, opts ...ResourceOption) (*FallbackDomain, error)
public static FallbackDomain Get(string name, Input<string> id, FallbackDomainState? state, CustomResourceOptions? opts = null)
public static FallbackDomain get(String name, Output<String> id, FallbackDomainState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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.
The following state arguments are supported:
AccountId string

The account to which the device posture rule should be added.

Domains List<FallbackDomainDomainArgs>

The value of the domain attributes (refer to the nested schema).

AccountId string

The account to which the device posture rule should be added.

Domains []FallbackDomainDomainArgs

The value of the domain attributes (refer to the nested schema).

accountId String

The account to which the device posture rule should be added.

domains List<FallbackDomainDomainArgs>

The value of the domain attributes (refer to the nested schema).

accountId string

The account to which the device posture rule should be added.

domains FallbackDomainDomainArgs[]

The value of the domain attributes (refer to the nested schema).

account_id str

The account to which the device posture rule should be added.

domains Sequence[FallbackDomainDomainArgs]

The value of the domain attributes (refer to the nested schema).

accountId String

The account to which the device posture rule should be added.

domains List<Property Map>

The value of the domain attributes (refer to the nested schema).

Supporting Types

FallbackDomainDomain

Description string

The description of the domain.

DnsServers List<string>

The DNS servers to receive the redirected request.

Suffix string

The domain to ignore DNS requests.

Description string

The description of the domain.

DnsServers []string

The DNS servers to receive the redirected request.

Suffix string

The domain to ignore DNS requests.

description String

The description of the domain.

dnsServers List<String>

The DNS servers to receive the redirected request.

suffix String

The domain to ignore DNS requests.

description string

The description of the domain.

dnsServers string[]

The DNS servers to receive the redirected request.

suffix string

The domain to ignore DNS requests.

description str

The description of the domain.

dns_servers Sequence[str]

The DNS servers to receive the redirected request.

suffix str

The domain to ignore DNS requests.

description String

The description of the domain.

dnsServers List<String>

The DNS servers to receive the redirected request.

suffix String

The domain to ignore DNS requests.

Import

Fallback Domains can be imported using the account identifer.

 $ pulumi import cloudflare:index/fallbackDomain:FallbackDomain example 1d5fdc9e88c8a8c4518b068cd94331fe

Package Details

Repository
https://github.com/pulumi/pulumi-cloudflare
License
Apache-2.0
Notes

This Pulumi package is based on the cloudflare Terraform Provider.