cloudflare.ZeroTrustDeviceCustomProfileLocalDomainFallback
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 ZeroTrustDeviceCustomProfileLocalDomainFallback Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ZeroTrustDeviceCustomProfileLocalDomainFallback(name: string, args: ZeroTrustDeviceCustomProfileLocalDomainFallbackArgs, opts?: CustomResourceOptions);
@overload
def ZeroTrustDeviceCustomProfileLocalDomainFallback(resource_name: str,
args: ZeroTrustDeviceCustomProfileLocalDomainFallbackArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ZeroTrustDeviceCustomProfileLocalDomainFallback(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
domains: Optional[Sequence[ZeroTrustDeviceCustomProfileLocalDomainFallbackDomainArgs]] = None,
policy_id: Optional[str] = None)
func NewZeroTrustDeviceCustomProfileLocalDomainFallback(ctx *Context, name string, args ZeroTrustDeviceCustomProfileLocalDomainFallbackArgs, opts ...ResourceOption) (*ZeroTrustDeviceCustomProfileLocalDomainFallback, error)
public ZeroTrustDeviceCustomProfileLocalDomainFallback(string name, ZeroTrustDeviceCustomProfileLocalDomainFallbackArgs args, CustomResourceOptions? opts = null)
public ZeroTrustDeviceCustomProfileLocalDomainFallback(String name, ZeroTrustDeviceCustomProfileLocalDomainFallbackArgs args)
public ZeroTrustDeviceCustomProfileLocalDomainFallback(String name, ZeroTrustDeviceCustomProfileLocalDomainFallbackArgs args, CustomResourceOptions options)
type: cloudflare:ZeroTrustDeviceCustomProfileLocalDomainFallback
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 ZeroTrustDeviceCustomProfileLocalDomainFallbackArgs
- 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 ZeroTrustDeviceCustomProfileLocalDomainFallbackArgs
- 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 ZeroTrustDeviceCustomProfileLocalDomainFallbackArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ZeroTrustDeviceCustomProfileLocalDomainFallbackArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ZeroTrustDeviceCustomProfileLocalDomainFallbackArgs
- 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 zeroTrustDeviceCustomProfileLocalDomainFallbackResource = new Cloudflare.ZeroTrustDeviceCustomProfileLocalDomainFallback("zeroTrustDeviceCustomProfileLocalDomainFallbackResource", new()
{
AccountId = "string",
Domains = new[]
{
new Cloudflare.Inputs.ZeroTrustDeviceCustomProfileLocalDomainFallbackDomainArgs
{
Suffix = "string",
Description = "string",
DnsServers = new[]
{
"string",
},
},
},
PolicyId = "string",
});
example, err := cloudflare.NewZeroTrustDeviceCustomProfileLocalDomainFallback(ctx, "zeroTrustDeviceCustomProfileLocalDomainFallbackResource", &cloudflare.ZeroTrustDeviceCustomProfileLocalDomainFallbackArgs{
AccountId: pulumi.String("string"),
Domains: cloudflare.ZeroTrustDeviceCustomProfileLocalDomainFallbackDomainArray{
&cloudflare.ZeroTrustDeviceCustomProfileLocalDomainFallbackDomainArgs{
Suffix: pulumi.String("string"),
Description: pulumi.String("string"),
DnsServers: pulumi.StringArray{
pulumi.String("string"),
},
},
},
PolicyId: pulumi.String("string"),
})
var zeroTrustDeviceCustomProfileLocalDomainFallbackResource = new ZeroTrustDeviceCustomProfileLocalDomainFallback("zeroTrustDeviceCustomProfileLocalDomainFallbackResource", ZeroTrustDeviceCustomProfileLocalDomainFallbackArgs.builder()
.accountId("string")
.domains(ZeroTrustDeviceCustomProfileLocalDomainFallbackDomainArgs.builder()
.suffix("string")
.description("string")
.dnsServers("string")
.build())
.policyId("string")
.build());
zero_trust_device_custom_profile_local_domain_fallback_resource = cloudflare.ZeroTrustDeviceCustomProfileLocalDomainFallback("zeroTrustDeviceCustomProfileLocalDomainFallbackResource",
account_id="string",
domains=[{
"suffix": "string",
"description": "string",
"dns_servers": ["string"],
}],
policy_id="string")
const zeroTrustDeviceCustomProfileLocalDomainFallbackResource = new cloudflare.ZeroTrustDeviceCustomProfileLocalDomainFallback("zeroTrustDeviceCustomProfileLocalDomainFallbackResource", {
accountId: "string",
domains: [{
suffix: "string",
description: "string",
dnsServers: ["string"],
}],
policyId: "string",
});
type: cloudflare:ZeroTrustDeviceCustomProfileLocalDomainFallback
properties:
accountId: string
domains:
- description: string
dnsServers:
- string
suffix: string
policyId: string
ZeroTrustDeviceCustomProfileLocalDomainFallback 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 ZeroTrustDeviceCustomProfileLocalDomainFallback resource accepts the following input properties:
- account
Id String - domains List<Property Map>
- policy
Id String
Outputs
All input properties are implicitly available as output properties. Additionally, the ZeroTrustDeviceCustomProfileLocalDomainFallback 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 ZeroTrustDeviceCustomProfileLocalDomainFallback Resource
Get an existing ZeroTrustDeviceCustomProfileLocalDomainFallback 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?: ZeroTrustDeviceCustomProfileLocalDomainFallbackState, opts?: CustomResourceOptions): ZeroTrustDeviceCustomProfileLocalDomainFallback
@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[ZeroTrustDeviceCustomProfileLocalDomainFallbackDomainArgs]] = None,
policy_id: Optional[str] = None,
suffix: Optional[str] = None) -> ZeroTrustDeviceCustomProfileLocalDomainFallback
func GetZeroTrustDeviceCustomProfileLocalDomainFallback(ctx *Context, name string, id IDInput, state *ZeroTrustDeviceCustomProfileLocalDomainFallbackState, opts ...ResourceOption) (*ZeroTrustDeviceCustomProfileLocalDomainFallback, error)
public static ZeroTrustDeviceCustomProfileLocalDomainFallback Get(string name, Input<string> id, ZeroTrustDeviceCustomProfileLocalDomainFallbackState? state, CustomResourceOptions? opts = null)
public static ZeroTrustDeviceCustomProfileLocalDomainFallback get(String name, Output<String> id, ZeroTrustDeviceCustomProfileLocalDomainFallbackState state, CustomResourceOptions options)
resources: _: type: cloudflare:ZeroTrustDeviceCustomProfileLocalDomainFallback 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 Device Custom Profile Local Domain Fallback 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 Device Custom Profile Local Domain Fallback 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 Device Custom Profile Local Domain Fallback 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 Device Custom Profile Local Domain Fallback 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 Device Custom Profile Local Domain Fallback 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
ZeroTrustDeviceCustomProfileLocalDomainFallbackDomain, ZeroTrustDeviceCustomProfileLocalDomainFallbackDomainArgs
- 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/zeroTrustDeviceCustomProfileLocalDomainFallback:ZeroTrustDeviceCustomProfileLocalDomainFallback 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.