1. Packages
  2. Cloudflare
  3. API Docs
  4. SpectrumApplication
Cloudflare v5.34.0 published on Friday, Jul 12, 2024 by Pulumi

cloudflare.SpectrumApplication

Explore with Pulumi AI

cloudflare logo
Cloudflare v5.34.0 published on Friday, Jul 12, 2024 by Pulumi

    Provides a Cloudflare Spectrum Application. You can extend the power of Cloudflare’s DDoS, TLS, and IP Firewall to your other TCP-based services.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const example = new cloudflare.SpectrumApplication("example", {
        zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
        protocol: "tcp/22",
        trafficType: "direct",
        dns: {
            type: "CNAME",
            name: "ssh.example.com",
        },
        originDirects: ["tcp://192.0.2.1:22"],
        edgeIps: {
            type: "static",
            ips: [
                "203.0.113.1",
                "203.0.113.2",
            ],
        },
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example = cloudflare.SpectrumApplication("example",
        zone_id="0da42c8d2132a9ddaf714f9e7c920711",
        protocol="tcp/22",
        traffic_type="direct",
        dns=cloudflare.SpectrumApplicationDnsArgs(
            type="CNAME",
            name="ssh.example.com",
        ),
        origin_directs=["tcp://192.0.2.1:22"],
        edge_ips=cloudflare.SpectrumApplicationEdgeIpsArgs(
            type="static",
            ips=[
                "203.0.113.1",
                "203.0.113.2",
            ],
        ))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudflare/sdk/v5/go/cloudflare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudflare.NewSpectrumApplication(ctx, "example", &cloudflare.SpectrumApplicationArgs{
    			ZoneId:      pulumi.String("0da42c8d2132a9ddaf714f9e7c920711"),
    			Protocol:    pulumi.String("tcp/22"),
    			TrafficType: pulumi.String("direct"),
    			Dns: &cloudflare.SpectrumApplicationDnsArgs{
    				Type: pulumi.String("CNAME"),
    				Name: pulumi.String("ssh.example.com"),
    			},
    			OriginDirects: pulumi.StringArray{
    				pulumi.String("tcp://192.0.2.1:22"),
    			},
    			EdgeIps: &cloudflare.SpectrumApplicationEdgeIpsArgs{
    				Type: pulumi.String("static"),
    				Ips: pulumi.StringArray{
    					pulumi.String("203.0.113.1"),
    					pulumi.String("203.0.113.2"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cloudflare = Pulumi.Cloudflare;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Cloudflare.SpectrumApplication("example", new()
        {
            ZoneId = "0da42c8d2132a9ddaf714f9e7c920711",
            Protocol = "tcp/22",
            TrafficType = "direct",
            Dns = new Cloudflare.Inputs.SpectrumApplicationDnsArgs
            {
                Type = "CNAME",
                Name = "ssh.example.com",
            },
            OriginDirects = new[]
            {
                "tcp://192.0.2.1:22",
            },
            EdgeIps = new Cloudflare.Inputs.SpectrumApplicationEdgeIpsArgs
            {
                Type = "static",
                Ips = new[]
                {
                    "203.0.113.1",
                    "203.0.113.2",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.SpectrumApplication;
    import com.pulumi.cloudflare.SpectrumApplicationArgs;
    import com.pulumi.cloudflare.inputs.SpectrumApplicationDnsArgs;
    import com.pulumi.cloudflare.inputs.SpectrumApplicationEdgeIpsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new SpectrumApplication("example", SpectrumApplicationArgs.builder()
                .zoneId("0da42c8d2132a9ddaf714f9e7c920711")
                .protocol("tcp/22")
                .trafficType("direct")
                .dns(SpectrumApplicationDnsArgs.builder()
                    .type("CNAME")
                    .name("ssh.example.com")
                    .build())
                .originDirects("tcp://192.0.2.1:22")
                .edgeIps(SpectrumApplicationEdgeIpsArgs.builder()
                    .type("static")
                    .ips(                
                        "203.0.113.1",
                        "203.0.113.2")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: cloudflare:SpectrumApplication
        properties:
          zoneId: 0da42c8d2132a9ddaf714f9e7c920711
          protocol: tcp/22
          trafficType: direct
          dns:
            type: CNAME
            name: ssh.example.com
          originDirects:
            - tcp://192.0.2.1:22
          edgeIps:
            type: static
            ips:
              - 203.0.113.1
              - 203.0.113.2
    

    Create SpectrumApplication Resource

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

    Constructor syntax

    new SpectrumApplication(name: string, args: SpectrumApplicationArgs, opts?: CustomResourceOptions);
    @overload
    def SpectrumApplication(resource_name: str,
                            args: SpectrumApplicationArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def SpectrumApplication(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            protocol: Optional[str] = None,
                            dns: Optional[SpectrumApplicationDnsArgs] = None,
                            zone_id: Optional[str] = None,
                            origin_port: Optional[int] = None,
                            origin_directs: Optional[Sequence[str]] = None,
                            origin_dns: Optional[SpectrumApplicationOriginDnsArgs] = None,
                            argo_smart_routing: Optional[bool] = None,
                            origin_port_range: Optional[SpectrumApplicationOriginPortRangeArgs] = None,
                            ip_firewall: Optional[bool] = None,
                            proxy_protocol: Optional[str] = None,
                            tls: Optional[str] = None,
                            traffic_type: Optional[str] = None,
                            edge_ips: Optional[SpectrumApplicationEdgeIpsArgs] = None)
    func NewSpectrumApplication(ctx *Context, name string, args SpectrumApplicationArgs, opts ...ResourceOption) (*SpectrumApplication, error)
    public SpectrumApplication(string name, SpectrumApplicationArgs args, CustomResourceOptions? opts = null)
    public SpectrumApplication(String name, SpectrumApplicationArgs args)
    public SpectrumApplication(String name, SpectrumApplicationArgs args, CustomResourceOptions options)
    
    type: cloudflare:SpectrumApplication
    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 SpectrumApplicationArgs
    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 SpectrumApplicationArgs
    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 SpectrumApplicationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SpectrumApplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SpectrumApplicationArgs
    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 spectrumApplicationResource = new Cloudflare.SpectrumApplication("spectrumApplicationResource", new()
    {
        Protocol = "string",
        Dns = new Cloudflare.Inputs.SpectrumApplicationDnsArgs
        {
            Name = "string",
            Type = "string",
        },
        ZoneId = "string",
        OriginPort = 0,
        OriginDirects = new[]
        {
            "string",
        },
        OriginDns = new Cloudflare.Inputs.SpectrumApplicationOriginDnsArgs
        {
            Name = "string",
        },
        ArgoSmartRouting = false,
        OriginPortRange = new Cloudflare.Inputs.SpectrumApplicationOriginPortRangeArgs
        {
            End = 0,
            Start = 0,
        },
        IpFirewall = false,
        ProxyProtocol = "string",
        Tls = "string",
        TrafficType = "string",
        EdgeIps = new Cloudflare.Inputs.SpectrumApplicationEdgeIpsArgs
        {
            Type = "string",
            Connectivity = "string",
            Ips = new[]
            {
                "string",
            },
        },
    });
    
    example, err := cloudflare.NewSpectrumApplication(ctx, "spectrumApplicationResource", &cloudflare.SpectrumApplicationArgs{
    	Protocol: pulumi.String("string"),
    	Dns: &cloudflare.SpectrumApplicationDnsArgs{
    		Name: pulumi.String("string"),
    		Type: pulumi.String("string"),
    	},
    	ZoneId:     pulumi.String("string"),
    	OriginPort: pulumi.Int(0),
    	OriginDirects: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	OriginDns: &cloudflare.SpectrumApplicationOriginDnsArgs{
    		Name: pulumi.String("string"),
    	},
    	ArgoSmartRouting: pulumi.Bool(false),
    	OriginPortRange: &cloudflare.SpectrumApplicationOriginPortRangeArgs{
    		End:   pulumi.Int(0),
    		Start: pulumi.Int(0),
    	},
    	IpFirewall:    pulumi.Bool(false),
    	ProxyProtocol: pulumi.String("string"),
    	Tls:           pulumi.String("string"),
    	TrafficType:   pulumi.String("string"),
    	EdgeIps: &cloudflare.SpectrumApplicationEdgeIpsArgs{
    		Type:         pulumi.String("string"),
    		Connectivity: pulumi.String("string"),
    		Ips: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    })
    
    var spectrumApplicationResource = new SpectrumApplication("spectrumApplicationResource", SpectrumApplicationArgs.builder()
        .protocol("string")
        .dns(SpectrumApplicationDnsArgs.builder()
            .name("string")
            .type("string")
            .build())
        .zoneId("string")
        .originPort(0)
        .originDirects("string")
        .originDns(SpectrumApplicationOriginDnsArgs.builder()
            .name("string")
            .build())
        .argoSmartRouting(false)
        .originPortRange(SpectrumApplicationOriginPortRangeArgs.builder()
            .end(0)
            .start(0)
            .build())
        .ipFirewall(false)
        .proxyProtocol("string")
        .tls("string")
        .trafficType("string")
        .edgeIps(SpectrumApplicationEdgeIpsArgs.builder()
            .type("string")
            .connectivity("string")
            .ips("string")
            .build())
        .build());
    
    spectrum_application_resource = cloudflare.SpectrumApplication("spectrumApplicationResource",
        protocol="string",
        dns=cloudflare.SpectrumApplicationDnsArgs(
            name="string",
            type="string",
        ),
        zone_id="string",
        origin_port=0,
        origin_directs=["string"],
        origin_dns=cloudflare.SpectrumApplicationOriginDnsArgs(
            name="string",
        ),
        argo_smart_routing=False,
        origin_port_range=cloudflare.SpectrumApplicationOriginPortRangeArgs(
            end=0,
            start=0,
        ),
        ip_firewall=False,
        proxy_protocol="string",
        tls="string",
        traffic_type="string",
        edge_ips=cloudflare.SpectrumApplicationEdgeIpsArgs(
            type="string",
            connectivity="string",
            ips=["string"],
        ))
    
    const spectrumApplicationResource = new cloudflare.SpectrumApplication("spectrumApplicationResource", {
        protocol: "string",
        dns: {
            name: "string",
            type: "string",
        },
        zoneId: "string",
        originPort: 0,
        originDirects: ["string"],
        originDns: {
            name: "string",
        },
        argoSmartRouting: false,
        originPortRange: {
            end: 0,
            start: 0,
        },
        ipFirewall: false,
        proxyProtocol: "string",
        tls: "string",
        trafficType: "string",
        edgeIps: {
            type: "string",
            connectivity: "string",
            ips: ["string"],
        },
    });
    
    type: cloudflare:SpectrumApplication
    properties:
        argoSmartRouting: false
        dns:
            name: string
            type: string
        edgeIps:
            connectivity: string
            ips:
                - string
            type: string
        ipFirewall: false
        originDirects:
            - string
        originDns:
            name: string
        originPort: 0
        originPortRange:
            end: 0
            start: 0
        protocol: string
        proxyProtocol: string
        tls: string
        trafficType: string
        zoneId: string
    

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

    Dns SpectrumApplicationDns
    The name and type of DNS record for the Spectrum application.
    Protocol string
    The port configuration at Cloudflare's edge. e.g. tcp/22.
    ZoneId string
    The zone identifier to target for the resource.
    ArgoSmartRouting bool
    Enables Argo Smart Routing.
    EdgeIps SpectrumApplicationEdgeIps
    The anycast edge IP configuration for the hostname of this application.
    IpFirewall bool
    Enables the IP Firewall for this application.
    OriginDirects List<string>
    A list of destination addresses to the origin. e.g. tcp://192.0.2.1:22.
    OriginDns SpectrumApplicationOriginDns
    A destination DNS addresses to the origin.
    OriginPort int
    Origin port to proxy traffice to. Conflicts with origin_port_range.
    OriginPortRange SpectrumApplicationOriginPortRange
    Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g. tcp/22-23. Conflicts with origin_port.
    ProxyProtocol string
    Enables a proxy protocol to the origin. Available values: off, v1, v2, simple.
    Tls string
    TLS configuration option for Cloudflare to connect to your origin. Available values: off, flexible, full, strict.
    TrafficType string
    Sets application type. Available values: direct, http, https.
    Dns SpectrumApplicationDnsArgs
    The name and type of DNS record for the Spectrum application.
    Protocol string
    The port configuration at Cloudflare's edge. e.g. tcp/22.
    ZoneId string
    The zone identifier to target for the resource.
    ArgoSmartRouting bool
    Enables Argo Smart Routing.
    EdgeIps SpectrumApplicationEdgeIpsArgs
    The anycast edge IP configuration for the hostname of this application.
    IpFirewall bool
    Enables the IP Firewall for this application.
    OriginDirects []string
    A list of destination addresses to the origin. e.g. tcp://192.0.2.1:22.
    OriginDns SpectrumApplicationOriginDnsArgs
    A destination DNS addresses to the origin.
    OriginPort int
    Origin port to proxy traffice to. Conflicts with origin_port_range.
    OriginPortRange SpectrumApplicationOriginPortRangeArgs
    Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g. tcp/22-23. Conflicts with origin_port.
    ProxyProtocol string
    Enables a proxy protocol to the origin. Available values: off, v1, v2, simple.
    Tls string
    TLS configuration option for Cloudflare to connect to your origin. Available values: off, flexible, full, strict.
    TrafficType string
    Sets application type. Available values: direct, http, https.
    dns SpectrumApplicationDns
    The name and type of DNS record for the Spectrum application.
    protocol String
    The port configuration at Cloudflare's edge. e.g. tcp/22.
    zoneId String
    The zone identifier to target for the resource.
    argoSmartRouting Boolean
    Enables Argo Smart Routing.
    edgeIps SpectrumApplicationEdgeIps
    The anycast edge IP configuration for the hostname of this application.
    ipFirewall Boolean
    Enables the IP Firewall for this application.
    originDirects List<String>
    A list of destination addresses to the origin. e.g. tcp://192.0.2.1:22.
    originDns SpectrumApplicationOriginDns
    A destination DNS addresses to the origin.
    originPort Integer
    Origin port to proxy traffice to. Conflicts with origin_port_range.
    originPortRange SpectrumApplicationOriginPortRange
    Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g. tcp/22-23. Conflicts with origin_port.
    proxyProtocol String
    Enables a proxy protocol to the origin. Available values: off, v1, v2, simple.
    tls String
    TLS configuration option for Cloudflare to connect to your origin. Available values: off, flexible, full, strict.
    trafficType String
    Sets application type. Available values: direct, http, https.
    dns SpectrumApplicationDns
    The name and type of DNS record for the Spectrum application.
    protocol string
    The port configuration at Cloudflare's edge. e.g. tcp/22.
    zoneId string
    The zone identifier to target for the resource.
    argoSmartRouting boolean
    Enables Argo Smart Routing.
    edgeIps SpectrumApplicationEdgeIps
    The anycast edge IP configuration for the hostname of this application.
    ipFirewall boolean
    Enables the IP Firewall for this application.
    originDirects string[]
    A list of destination addresses to the origin. e.g. tcp://192.0.2.1:22.
    originDns SpectrumApplicationOriginDns
    A destination DNS addresses to the origin.
    originPort number
    Origin port to proxy traffice to. Conflicts with origin_port_range.
    originPortRange SpectrumApplicationOriginPortRange
    Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g. tcp/22-23. Conflicts with origin_port.
    proxyProtocol string
    Enables a proxy protocol to the origin. Available values: off, v1, v2, simple.
    tls string
    TLS configuration option for Cloudflare to connect to your origin. Available values: off, flexible, full, strict.
    trafficType string
    Sets application type. Available values: direct, http, https.
    dns SpectrumApplicationDnsArgs
    The name and type of DNS record for the Spectrum application.
    protocol str
    The port configuration at Cloudflare's edge. e.g. tcp/22.
    zone_id str
    The zone identifier to target for the resource.
    argo_smart_routing bool
    Enables Argo Smart Routing.
    edge_ips SpectrumApplicationEdgeIpsArgs
    The anycast edge IP configuration for the hostname of this application.
    ip_firewall bool
    Enables the IP Firewall for this application.
    origin_directs Sequence[str]
    A list of destination addresses to the origin. e.g. tcp://192.0.2.1:22.
    origin_dns SpectrumApplicationOriginDnsArgs
    A destination DNS addresses to the origin.
    origin_port int
    Origin port to proxy traffice to. Conflicts with origin_port_range.
    origin_port_range SpectrumApplicationOriginPortRangeArgs
    Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g. tcp/22-23. Conflicts with origin_port.
    proxy_protocol str
    Enables a proxy protocol to the origin. Available values: off, v1, v2, simple.
    tls str
    TLS configuration option for Cloudflare to connect to your origin. Available values: off, flexible, full, strict.
    traffic_type str
    Sets application type. Available values: direct, http, https.
    dns Property Map
    The name and type of DNS record for the Spectrum application.
    protocol String
    The port configuration at Cloudflare's edge. e.g. tcp/22.
    zoneId String
    The zone identifier to target for the resource.
    argoSmartRouting Boolean
    Enables Argo Smart Routing.
    edgeIps Property Map
    The anycast edge IP configuration for the hostname of this application.
    ipFirewall Boolean
    Enables the IP Firewall for this application.
    originDirects List<String>
    A list of destination addresses to the origin. e.g. tcp://192.0.2.1:22.
    originDns Property Map
    A destination DNS addresses to the origin.
    originPort Number
    Origin port to proxy traffice to. Conflicts with origin_port_range.
    originPortRange Property Map
    Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g. tcp/22-23. Conflicts with origin_port.
    proxyProtocol String
    Enables a proxy protocol to the origin. Available values: off, v1, v2, simple.
    tls String
    TLS configuration option for Cloudflare to connect to your origin. Available values: off, flexible, full, strict.
    trafficType String
    Sets application type. Available values: direct, http, https.

    Outputs

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

    Get an existing SpectrumApplication 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?: SpectrumApplicationState, opts?: CustomResourceOptions): SpectrumApplication
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            argo_smart_routing: Optional[bool] = None,
            dns: Optional[SpectrumApplicationDnsArgs] = None,
            edge_ips: Optional[SpectrumApplicationEdgeIpsArgs] = None,
            ip_firewall: Optional[bool] = None,
            origin_directs: Optional[Sequence[str]] = None,
            origin_dns: Optional[SpectrumApplicationOriginDnsArgs] = None,
            origin_port: Optional[int] = None,
            origin_port_range: Optional[SpectrumApplicationOriginPortRangeArgs] = None,
            protocol: Optional[str] = None,
            proxy_protocol: Optional[str] = None,
            tls: Optional[str] = None,
            traffic_type: Optional[str] = None,
            zone_id: Optional[str] = None) -> SpectrumApplication
    func GetSpectrumApplication(ctx *Context, name string, id IDInput, state *SpectrumApplicationState, opts ...ResourceOption) (*SpectrumApplication, error)
    public static SpectrumApplication Get(string name, Input<string> id, SpectrumApplicationState? state, CustomResourceOptions? opts = null)
    public static SpectrumApplication get(String name, Output<String> id, SpectrumApplicationState 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:
    ArgoSmartRouting bool
    Enables Argo Smart Routing.
    Dns SpectrumApplicationDns
    The name and type of DNS record for the Spectrum application.
    EdgeIps SpectrumApplicationEdgeIps
    The anycast edge IP configuration for the hostname of this application.
    IpFirewall bool
    Enables the IP Firewall for this application.
    OriginDirects List<string>
    A list of destination addresses to the origin. e.g. tcp://192.0.2.1:22.
    OriginDns SpectrumApplicationOriginDns
    A destination DNS addresses to the origin.
    OriginPort int
    Origin port to proxy traffice to. Conflicts with origin_port_range.
    OriginPortRange SpectrumApplicationOriginPortRange
    Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g. tcp/22-23. Conflicts with origin_port.
    Protocol string
    The port configuration at Cloudflare's edge. e.g. tcp/22.
    ProxyProtocol string
    Enables a proxy protocol to the origin. Available values: off, v1, v2, simple.
    Tls string
    TLS configuration option for Cloudflare to connect to your origin. Available values: off, flexible, full, strict.
    TrafficType string
    Sets application type. Available values: direct, http, https.
    ZoneId string
    The zone identifier to target for the resource.
    ArgoSmartRouting bool
    Enables Argo Smart Routing.
    Dns SpectrumApplicationDnsArgs
    The name and type of DNS record for the Spectrum application.
    EdgeIps SpectrumApplicationEdgeIpsArgs
    The anycast edge IP configuration for the hostname of this application.
    IpFirewall bool
    Enables the IP Firewall for this application.
    OriginDirects []string
    A list of destination addresses to the origin. e.g. tcp://192.0.2.1:22.
    OriginDns SpectrumApplicationOriginDnsArgs
    A destination DNS addresses to the origin.
    OriginPort int
    Origin port to proxy traffice to. Conflicts with origin_port_range.
    OriginPortRange SpectrumApplicationOriginPortRangeArgs
    Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g. tcp/22-23. Conflicts with origin_port.
    Protocol string
    The port configuration at Cloudflare's edge. e.g. tcp/22.
    ProxyProtocol string
    Enables a proxy protocol to the origin. Available values: off, v1, v2, simple.
    Tls string
    TLS configuration option for Cloudflare to connect to your origin. Available values: off, flexible, full, strict.
    TrafficType string
    Sets application type. Available values: direct, http, https.
    ZoneId string
    The zone identifier to target for the resource.
    argoSmartRouting Boolean
    Enables Argo Smart Routing.
    dns SpectrumApplicationDns
    The name and type of DNS record for the Spectrum application.
    edgeIps SpectrumApplicationEdgeIps
    The anycast edge IP configuration for the hostname of this application.
    ipFirewall Boolean
    Enables the IP Firewall for this application.
    originDirects List<String>
    A list of destination addresses to the origin. e.g. tcp://192.0.2.1:22.
    originDns SpectrumApplicationOriginDns
    A destination DNS addresses to the origin.
    originPort Integer
    Origin port to proxy traffice to. Conflicts with origin_port_range.
    originPortRange SpectrumApplicationOriginPortRange
    Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g. tcp/22-23. Conflicts with origin_port.
    protocol String
    The port configuration at Cloudflare's edge. e.g. tcp/22.
    proxyProtocol String
    Enables a proxy protocol to the origin. Available values: off, v1, v2, simple.
    tls String
    TLS configuration option for Cloudflare to connect to your origin. Available values: off, flexible, full, strict.
    trafficType String
    Sets application type. Available values: direct, http, https.
    zoneId String
    The zone identifier to target for the resource.
    argoSmartRouting boolean
    Enables Argo Smart Routing.
    dns SpectrumApplicationDns
    The name and type of DNS record for the Spectrum application.
    edgeIps SpectrumApplicationEdgeIps
    The anycast edge IP configuration for the hostname of this application.
    ipFirewall boolean
    Enables the IP Firewall for this application.
    originDirects string[]
    A list of destination addresses to the origin. e.g. tcp://192.0.2.1:22.
    originDns SpectrumApplicationOriginDns
    A destination DNS addresses to the origin.
    originPort number
    Origin port to proxy traffice to. Conflicts with origin_port_range.
    originPortRange SpectrumApplicationOriginPortRange
    Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g. tcp/22-23. Conflicts with origin_port.
    protocol string
    The port configuration at Cloudflare's edge. e.g. tcp/22.
    proxyProtocol string
    Enables a proxy protocol to the origin. Available values: off, v1, v2, simple.
    tls string
    TLS configuration option for Cloudflare to connect to your origin. Available values: off, flexible, full, strict.
    trafficType string
    Sets application type. Available values: direct, http, https.
    zoneId string
    The zone identifier to target for the resource.
    argo_smart_routing bool
    Enables Argo Smart Routing.
    dns SpectrumApplicationDnsArgs
    The name and type of DNS record for the Spectrum application.
    edge_ips SpectrumApplicationEdgeIpsArgs
    The anycast edge IP configuration for the hostname of this application.
    ip_firewall bool
    Enables the IP Firewall for this application.
    origin_directs Sequence[str]
    A list of destination addresses to the origin. e.g. tcp://192.0.2.1:22.
    origin_dns SpectrumApplicationOriginDnsArgs
    A destination DNS addresses to the origin.
    origin_port int
    Origin port to proxy traffice to. Conflicts with origin_port_range.
    origin_port_range SpectrumApplicationOriginPortRangeArgs
    Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g. tcp/22-23. Conflicts with origin_port.
    protocol str
    The port configuration at Cloudflare's edge. e.g. tcp/22.
    proxy_protocol str
    Enables a proxy protocol to the origin. Available values: off, v1, v2, simple.
    tls str
    TLS configuration option for Cloudflare to connect to your origin. Available values: off, flexible, full, strict.
    traffic_type str
    Sets application type. Available values: direct, http, https.
    zone_id str
    The zone identifier to target for the resource.
    argoSmartRouting Boolean
    Enables Argo Smart Routing.
    dns Property Map
    The name and type of DNS record for the Spectrum application.
    edgeIps Property Map
    The anycast edge IP configuration for the hostname of this application.
    ipFirewall Boolean
    Enables the IP Firewall for this application.
    originDirects List<String>
    A list of destination addresses to the origin. e.g. tcp://192.0.2.1:22.
    originDns Property Map
    A destination DNS addresses to the origin.
    originPort Number
    Origin port to proxy traffice to. Conflicts with origin_port_range.
    originPortRange Property Map
    Origin port range to proxy traffice to. When using a range, the protocol field must also specify a range, e.g. tcp/22-23. Conflicts with origin_port.
    protocol String
    The port configuration at Cloudflare's edge. e.g. tcp/22.
    proxyProtocol String
    Enables a proxy protocol to the origin. Available values: off, v1, v2, simple.
    tls String
    TLS configuration option for Cloudflare to connect to your origin. Available values: off, flexible, full, strict.
    trafficType String
    Sets application type. Available values: direct, http, https.
    zoneId String
    The zone identifier to target for the resource.

    Supporting Types

    SpectrumApplicationDns, SpectrumApplicationDnsArgs

    Name string
    The name of the DNS record associated with the application.
    Type string
    The type of DNS record associated with the application.
    Name string
    The name of the DNS record associated with the application.
    Type string
    The type of DNS record associated with the application.
    name String
    The name of the DNS record associated with the application.
    type String
    The type of DNS record associated with the application.
    name string
    The name of the DNS record associated with the application.
    type string
    The type of DNS record associated with the application.
    name str
    The name of the DNS record associated with the application.
    type str
    The type of DNS record associated with the application.
    name String
    The name of the DNS record associated with the application.
    type String
    The type of DNS record associated with the application.

    SpectrumApplicationEdgeIps, SpectrumApplicationEdgeIpsArgs

    Type string
    The type of edge IP configuration specified. Available values: dynamic, static.
    Connectivity string
    The IP versions supported for inbound connections on Spectrum anycast IPs. Required when type is not static. Available values: all, ipv4, ipv6.
    Ips List<string>
    The collection of customer owned IPs to broadcast via anycast for this hostname and application. Requires Bring Your Own IP provisioned.
    Type string
    The type of edge IP configuration specified. Available values: dynamic, static.
    Connectivity string
    The IP versions supported for inbound connections on Spectrum anycast IPs. Required when type is not static. Available values: all, ipv4, ipv6.
    Ips []string
    The collection of customer owned IPs to broadcast via anycast for this hostname and application. Requires Bring Your Own IP provisioned.
    type String
    The type of edge IP configuration specified. Available values: dynamic, static.
    connectivity String
    The IP versions supported for inbound connections on Spectrum anycast IPs. Required when type is not static. Available values: all, ipv4, ipv6.
    ips List<String>
    The collection of customer owned IPs to broadcast via anycast for this hostname and application. Requires Bring Your Own IP provisioned.
    type string
    The type of edge IP configuration specified. Available values: dynamic, static.
    connectivity string
    The IP versions supported for inbound connections on Spectrum anycast IPs. Required when type is not static. Available values: all, ipv4, ipv6.
    ips string[]
    The collection of customer owned IPs to broadcast via anycast for this hostname and application. Requires Bring Your Own IP provisioned.
    type str
    The type of edge IP configuration specified. Available values: dynamic, static.
    connectivity str
    The IP versions supported for inbound connections on Spectrum anycast IPs. Required when type is not static. Available values: all, ipv4, ipv6.
    ips Sequence[str]
    The collection of customer owned IPs to broadcast via anycast for this hostname and application. Requires Bring Your Own IP provisioned.
    type String
    The type of edge IP configuration specified. Available values: dynamic, static.
    connectivity String
    The IP versions supported for inbound connections on Spectrum anycast IPs. Required when type is not static. Available values: all, ipv4, ipv6.
    ips List<String>
    The collection of customer owned IPs to broadcast via anycast for this hostname and application. Requires Bring Your Own IP provisioned.

    SpectrumApplicationOriginDns, SpectrumApplicationOriginDnsArgs

    Name string
    Fully qualified domain name of the origin.
    Name string
    Fully qualified domain name of the origin.
    name String
    Fully qualified domain name of the origin.
    name string
    Fully qualified domain name of the origin.
    name str
    Fully qualified domain name of the origin.
    name String
    Fully qualified domain name of the origin.

    SpectrumApplicationOriginPortRange, SpectrumApplicationOriginPortRangeArgs

    End int
    Upper bound of the origin port range.
    Start int
    Lower bound of the origin port range.
    End int
    Upper bound of the origin port range.
    Start int
    Lower bound of the origin port range.
    end Integer
    Upper bound of the origin port range.
    start Integer
    Lower bound of the origin port range.
    end number
    Upper bound of the origin port range.
    start number
    Lower bound of the origin port range.
    end int
    Upper bound of the origin port range.
    start int
    Lower bound of the origin port range.
    end Number
    Upper bound of the origin port range.
    start Number
    Lower bound of the origin port range.

    Import

    $ pulumi import cloudflare:index/spectrumApplication:SpectrumApplication example <zone_id>/<spectrum_application_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.
    cloudflare logo
    Cloudflare v5.34.0 published on Friday, Jul 12, 2024 by Pulumi