cloudflare.ZeroTrustLocalFallbackDomain
Explore with Pulumi AI
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
exampleZeroTrustDeviceCustomProfileLocalDomainFallback:
type: cloudflare:ZeroTrustDeviceCustomProfileLocalDomainFallback
name: example_zero_trust_device_custom_profile_local_domain_fallback
properties:
accountId: 699d98642c564d2e855e9661899b7252
policyId: f174e90a-fafe-4643-bbbc-4a0ed4fc8415
domains:
- suffix: example.com
description: Domain bypass for local development
dns_server:
- 1.1.1.1
Create ZeroTrustLocalFallbackDomain Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ZeroTrustLocalFallbackDomain(name: string, args: ZeroTrustLocalFallbackDomainArgs, opts?: CustomResourceOptions);
@overload
def ZeroTrustLocalFallbackDomain(resource_name: str,
args: ZeroTrustLocalFallbackDomainArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ZeroTrustLocalFallbackDomain(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
domains: Optional[Sequence[ZeroTrustLocalFallbackDomainDomainArgs]] = None,
policy_id: Optional[str] = None)
func NewZeroTrustLocalFallbackDomain(ctx *Context, name string, args ZeroTrustLocalFallbackDomainArgs, opts ...ResourceOption) (*ZeroTrustLocalFallbackDomain, error)
public ZeroTrustLocalFallbackDomain(string name, ZeroTrustLocalFallbackDomainArgs args, CustomResourceOptions? opts = null)
public ZeroTrustLocalFallbackDomain(String name, ZeroTrustLocalFallbackDomainArgs args)
public ZeroTrustLocalFallbackDomain(String name, ZeroTrustLocalFallbackDomainArgs args, CustomResourceOptions options)
type: cloudflare:ZeroTrustLocalFallbackDomain
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 ZeroTrustLocalFallbackDomainArgs
- 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 ZeroTrustLocalFallbackDomainArgs
- 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 ZeroTrustLocalFallbackDomainArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ZeroTrustLocalFallbackDomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ZeroTrustLocalFallbackDomainArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ZeroTrustLocalFallbackDomain 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 ZeroTrustLocalFallbackDomain resource accepts the following input properties:
- account
Id string - domains
Zero
Trust Local Fallback Domain Domain[] - policy
Id string
- account
Id String - domains List<Property Map>
- policy
Id String
Outputs
All input properties are implicitly available as output properties. Additionally, the ZeroTrustLocalFallbackDomain resource produces the following output properties:
- Description string
- A description of the fallback domain, displayed in the client UI.
- Dns
Servers List<string> - A list of IP addresses to handle domain resolution.
- Id string
- The provider-assigned unique ID for this managed resource.
- Suffix string
- The domain suffix to match when resolving locally.
- Description string
- A description of the fallback domain, displayed in the client UI.
- Dns
Servers []string - A list of IP addresses to handle domain resolution.
- Id string
- The provider-assigned unique ID for this managed resource.
- Suffix string
- The domain suffix to match when resolving locally.
- description String
- A description of the fallback domain, displayed in the client UI.
- dns
Servers List<String> - A list of IP addresses to handle domain resolution.
- id String
- The provider-assigned unique ID for this managed resource.
- suffix String
- The domain suffix to match when resolving locally.
- description string
- A description of the fallback domain, displayed in the client UI.
- dns
Servers string[] - A list of IP addresses to handle domain resolution.
- id string
- The provider-assigned unique ID for this managed resource.
- suffix string
- The domain suffix to match when resolving locally.
- description str
- A description of the fallback domain, displayed in the client UI.
- dns_
servers Sequence[str] - A list of IP addresses to handle domain resolution.
- id str
- The provider-assigned unique ID for this managed resource.
- suffix str
- The domain suffix to match when resolving locally.
- description String
- A description of the fallback domain, displayed in the client UI.
- dns
Servers List<String> - A list of IP addresses to handle domain resolution.
- id String
- The provider-assigned unique ID for this managed resource.
- suffix String
- The domain suffix to match when resolving locally.
Look up Existing ZeroTrustLocalFallbackDomain Resource
Get an existing ZeroTrustLocalFallbackDomain 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?: ZeroTrustLocalFallbackDomainState, opts?: CustomResourceOptions): ZeroTrustLocalFallbackDomain
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
description: Optional[str] = None,
dns_servers: Optional[Sequence[str]] = None,
domains: Optional[Sequence[ZeroTrustLocalFallbackDomainDomainArgs]] = None,
policy_id: Optional[str] = None,
suffix: Optional[str] = None) -> ZeroTrustLocalFallbackDomain
func GetZeroTrustLocalFallbackDomain(ctx *Context, name string, id IDInput, state *ZeroTrustLocalFallbackDomainState, opts ...ResourceOption) (*ZeroTrustLocalFallbackDomain, error)
public static ZeroTrustLocalFallbackDomain Get(string name, Input<string> id, ZeroTrustLocalFallbackDomainState? state, CustomResourceOptions? opts = null)
public static ZeroTrustLocalFallbackDomain get(String name, Output<String> id, ZeroTrustLocalFallbackDomainState state, CustomResourceOptions options)
resources: _: type: cloudflare:ZeroTrustLocalFallbackDomain 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.
- Account
Id string - Description string
- A description of the fallback domain, displayed in the client UI.
- Dns
Servers List<string> - A list of IP addresses to handle domain resolution.
- Domains
List<Zero
Trust Local Fallback Domain Domain> - Policy
Id string - Suffix string
- The domain suffix to match when resolving locally.
- Account
Id string - Description string
- A description of the fallback domain, displayed in the client UI.
- Dns
Servers []string - A list of IP addresses to handle domain resolution.
- Domains
[]Zero
Trust Local Fallback Domain Domain Args - Policy
Id string - Suffix string
- The domain suffix to match when resolving locally.
- account
Id String - description String
- A description of the fallback domain, displayed in the client UI.
- dns
Servers List<String> - A list of IP addresses to handle domain resolution.
- domains
List<Zero
Trust Local Fallback Domain Domain> - policy
Id String - suffix String
- The domain suffix to match when resolving locally.
- account
Id string - description string
- A description of the fallback domain, displayed in the client UI.
- dns
Servers string[] - A list of IP addresses to handle domain resolution.
- domains
Zero
Trust Local Fallback Domain Domain[] - policy
Id string - suffix string
- The domain suffix to match when resolving locally.
- account_
id str - description str
- A description of the fallback domain, displayed in the client UI.
- dns_
servers Sequence[str] - A list of IP addresses to handle domain resolution.
- domains
Sequence[Zero
Trust Local Fallback Domain Domain Args] - policy_
id str - suffix str
- The domain suffix to match when resolving locally.
- account
Id String - description String
- A description of the fallback domain, displayed in the client UI.
- dns
Servers List<String> - A list of IP addresses to handle domain resolution.
- domains List<Property Map>
- policy
Id String - suffix String
- The domain suffix to match when resolving locally.
Supporting Types
ZeroTrustLocalFallbackDomainDomain, ZeroTrustLocalFallbackDomainDomainArgs
- Suffix string
- The domain suffix to match when resolving locally.
- Description string
- A description of the fallback domain, displayed in the client UI.
- Dns
Servers List<string> - A list of IP addresses to handle domain resolution.
- Suffix string
- The domain suffix to match when resolving locally.
- Description string
- A description of the fallback domain, displayed in the client UI.
- Dns
Servers []string - A list of IP addresses to handle domain resolution.
- suffix String
- The domain suffix to match when resolving locally.
- description String
- A description of the fallback domain, displayed in the client UI.
- dns
Servers List<String> - A list of IP addresses to handle domain resolution.
- suffix string
- The domain suffix to match when resolving locally.
- description string
- A description of the fallback domain, displayed in the client UI.
- dns
Servers string[] - A list of IP addresses to handle domain resolution.
- suffix str
- The domain suffix to match when resolving locally.
- description str
- A description of the fallback domain, displayed in the client UI.
- dns_
servers Sequence[str] - A list of IP addresses to handle domain resolution.
- suffix String
- The domain suffix to match when resolving locally.
- description String
- A description of the fallback domain, displayed in the client UI.
- dns
Servers List<String> - A list of IP addresses to handle domain resolution.
Import
$ pulumi import cloudflare:index/zeroTrustLocalFallbackDomain:ZeroTrustLocalFallbackDomain example '<account_id>/<policy_id>'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.