Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi
cloudflare.getSpectrumApplication
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleSpectrumApplication = cloudflare.getSpectrumApplication({
zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
appId: "023e105f4ecef8ad9ca31a8372d0c353",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_spectrum_application = cloudflare.get_spectrum_application(zone_id="023e105f4ecef8ad9ca31a8372d0c353",
app_id="023e105f4ecef8ad9ca31a8372d0c353")
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.LookupSpectrumApplication(ctx, &cloudflare.LookupSpectrumApplicationArgs{
ZoneId: "023e105f4ecef8ad9ca31a8372d0c353",
AppId: "023e105f4ecef8ad9ca31a8372d0c353",
}, nil)
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 exampleSpectrumApplication = Cloudflare.GetSpectrumApplication.Invoke(new()
{
ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
AppId = "023e105f4ecef8ad9ca31a8372d0c353",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetSpectrumApplicationArgs;
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) {
final var exampleSpectrumApplication = CloudflareFunctions.getSpectrumApplication(GetSpectrumApplicationArgs.builder()
.zoneId("023e105f4ecef8ad9ca31a8372d0c353")
.appId("023e105f4ecef8ad9ca31a8372d0c353")
.build());
}
}
variables:
exampleSpectrumApplication:
fn::invoke:
function: cloudflare:getSpectrumApplication
arguments:
zoneId: 023e105f4ecef8ad9ca31a8372d0c353
appId: 023e105f4ecef8ad9ca31a8372d0c353
Using getSpectrumApplication
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSpectrumApplication(args: GetSpectrumApplicationArgs, opts?: InvokeOptions): Promise<GetSpectrumApplicationResult>
function getSpectrumApplicationOutput(args: GetSpectrumApplicationOutputArgs, opts?: InvokeOptions): Output<GetSpectrumApplicationResult>
def get_spectrum_application(app_id: Optional[str] = None,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSpectrumApplicationResult
def get_spectrum_application_output(app_id: Optional[pulumi.Input[str]] = None,
zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSpectrumApplicationResult]
func LookupSpectrumApplication(ctx *Context, args *LookupSpectrumApplicationArgs, opts ...InvokeOption) (*LookupSpectrumApplicationResult, error)
func LookupSpectrumApplicationOutput(ctx *Context, args *LookupSpectrumApplicationOutputArgs, opts ...InvokeOption) LookupSpectrumApplicationResultOutput
> Note: This function is named LookupSpectrumApplication
in the Go SDK.
public static class GetSpectrumApplication
{
public static Task<GetSpectrumApplicationResult> InvokeAsync(GetSpectrumApplicationArgs args, InvokeOptions? opts = null)
public static Output<GetSpectrumApplicationResult> Invoke(GetSpectrumApplicationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSpectrumApplicationResult> getSpectrumApplication(GetSpectrumApplicationArgs args, InvokeOptions options)
public static Output<GetSpectrumApplicationResult> getSpectrumApplication(GetSpectrumApplicationArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getSpectrumApplication:getSpectrumApplication
arguments:
# arguments dictionary
The following arguments are supported:
getSpectrumApplication Result
The following output properties are available:
- App
Id string - App identifier.
- Argo
Smart boolRouting - Enables Argo Smart Routing for this application. Notes: Only available for TCP applications with traffic_type set to "direct".
- Created
On string - When the Application was created.
- Dns
Get
Spectrum Application Dns - The name and type of DNS record for the Spectrum application.
- Edge
Ips GetSpectrum Application Edge Ips - The anycast edge IP configuration for the hostname of this application.
- Id string
- App identifier.
- Ip
Firewall bool - Enables IP Access Rules for this application. Notes: Only available for TCP applications.
- Modified
On string - When the Application was last modified.
- Origin
Directs List<string> - List of origin IP addresses. Array may contain multiple IP addresses for load balancing.
- Origin
Dns GetSpectrum Application Origin Dns - The name and type of DNS record for the Spectrum application.
- Origin
Port object - The destination port at the origin. Only specified in conjunction with origin_dns. May use an integer to specify a single origin port, for example
1000
, or a string to specify a range of origin ports, for example"1000-2000"
. Notes: If specifying a port range, the number of ports in the range must match the number of ports specified in the "protocol" field. - Protocol string
- The port configuration at Cloudflare's edge. May specify a single port, for example
"tcp/1000"
, or a range of ports, for example"tcp/1000-2000"
. - Proxy
Protocol string - Enables Proxy Protocol to the origin. Refer to Enable Proxy protocol for implementation details on PROXY Protocol V1, PROXY Protocol V2, and Simple Proxy Protocol. Available values: "off", "v1", "v2", "simple".
- Tls string
- The type of TLS termination associated with the application. Available values: "off", "flexible", "full", "strict".
- Traffic
Type string - Determines how data travels from the edge to your origin. When set to "direct", Spectrum will send traffic directly to your origin, and the application's type is derived from the
protocol
. When set to "http" or "https", Spectrum will apply Cloudflare's HTTP/HTTPS features as it sends traffic to your origin, and the application type matches this property exactly. Available values: "direct", "http", "https". - Zone
Id string - Zone identifier.
- App
Id string - App identifier.
- Argo
Smart boolRouting - Enables Argo Smart Routing for this application. Notes: Only available for TCP applications with traffic_type set to "direct".
- Created
On string - When the Application was created.
- Dns
Get
Spectrum Application Dns - The name and type of DNS record for the Spectrum application.
- Edge
Ips GetSpectrum Application Edge Ips - The anycast edge IP configuration for the hostname of this application.
- Id string
- App identifier.
- Ip
Firewall bool - Enables IP Access Rules for this application. Notes: Only available for TCP applications.
- Modified
On string - When the Application was last modified.
- Origin
Directs []string - List of origin IP addresses. Array may contain multiple IP addresses for load balancing.
- Origin
Dns GetSpectrum Application Origin Dns - The name and type of DNS record for the Spectrum application.
- Origin
Port interface{} - The destination port at the origin. Only specified in conjunction with origin_dns. May use an integer to specify a single origin port, for example
1000
, or a string to specify a range of origin ports, for example"1000-2000"
. Notes: If specifying a port range, the number of ports in the range must match the number of ports specified in the "protocol" field. - Protocol string
- The port configuration at Cloudflare's edge. May specify a single port, for example
"tcp/1000"
, or a range of ports, for example"tcp/1000-2000"
. - Proxy
Protocol string - Enables Proxy Protocol to the origin. Refer to Enable Proxy protocol for implementation details on PROXY Protocol V1, PROXY Protocol V2, and Simple Proxy Protocol. Available values: "off", "v1", "v2", "simple".
- Tls string
- The type of TLS termination associated with the application. Available values: "off", "flexible", "full", "strict".
- Traffic
Type string - Determines how data travels from the edge to your origin. When set to "direct", Spectrum will send traffic directly to your origin, and the application's type is derived from the
protocol
. When set to "http" or "https", Spectrum will apply Cloudflare's HTTP/HTTPS features as it sends traffic to your origin, and the application type matches this property exactly. Available values: "direct", "http", "https". - Zone
Id string - Zone identifier.
- app
Id String - App identifier.
- argo
Smart BooleanRouting - Enables Argo Smart Routing for this application. Notes: Only available for TCP applications with traffic_type set to "direct".
- created
On String - When the Application was created.
- dns
Get
Spectrum Application Dns - The name and type of DNS record for the Spectrum application.
- edge
Ips GetSpectrum Application Edge Ips - The anycast edge IP configuration for the hostname of this application.
- id String
- App identifier.
- ip
Firewall Boolean - Enables IP Access Rules for this application. Notes: Only available for TCP applications.
- modified
On String - When the Application was last modified.
- origin
Directs List<String> - List of origin IP addresses. Array may contain multiple IP addresses for load balancing.
- origin
Dns GetSpectrum Application Origin Dns - The name and type of DNS record for the Spectrum application.
- origin
Port Object - The destination port at the origin. Only specified in conjunction with origin_dns. May use an integer to specify a single origin port, for example
1000
, or a string to specify a range of origin ports, for example"1000-2000"
. Notes: If specifying a port range, the number of ports in the range must match the number of ports specified in the "protocol" field. - protocol String
- The port configuration at Cloudflare's edge. May specify a single port, for example
"tcp/1000"
, or a range of ports, for example"tcp/1000-2000"
. - proxy
Protocol String - Enables Proxy Protocol to the origin. Refer to Enable Proxy protocol for implementation details on PROXY Protocol V1, PROXY Protocol V2, and Simple Proxy Protocol. Available values: "off", "v1", "v2", "simple".
- tls String
- The type of TLS termination associated with the application. Available values: "off", "flexible", "full", "strict".
- traffic
Type String - Determines how data travels from the edge to your origin. When set to "direct", Spectrum will send traffic directly to your origin, and the application's type is derived from the
protocol
. When set to "http" or "https", Spectrum will apply Cloudflare's HTTP/HTTPS features as it sends traffic to your origin, and the application type matches this property exactly. Available values: "direct", "http", "https". - zone
Id String - Zone identifier.
- app
Id string - App identifier.
- argo
Smart booleanRouting - Enables Argo Smart Routing for this application. Notes: Only available for TCP applications with traffic_type set to "direct".
- created
On string - When the Application was created.
- dns
Get
Spectrum Application Dns - The name and type of DNS record for the Spectrum application.
- edge
Ips GetSpectrum Application Edge Ips - The anycast edge IP configuration for the hostname of this application.
- id string
- App identifier.
- ip
Firewall boolean - Enables IP Access Rules for this application. Notes: Only available for TCP applications.
- modified
On string - When the Application was last modified.
- origin
Directs string[] - List of origin IP addresses. Array may contain multiple IP addresses for load balancing.
- origin
Dns GetSpectrum Application Origin Dns - The name and type of DNS record for the Spectrum application.
- origin
Port any - The destination port at the origin. Only specified in conjunction with origin_dns. May use an integer to specify a single origin port, for example
1000
, or a string to specify a range of origin ports, for example"1000-2000"
. Notes: If specifying a port range, the number of ports in the range must match the number of ports specified in the "protocol" field. - protocol string
- The port configuration at Cloudflare's edge. May specify a single port, for example
"tcp/1000"
, or a range of ports, for example"tcp/1000-2000"
. - proxy
Protocol string - Enables Proxy Protocol to the origin. Refer to Enable Proxy protocol for implementation details on PROXY Protocol V1, PROXY Protocol V2, and Simple Proxy Protocol. Available values: "off", "v1", "v2", "simple".
- tls string
- The type of TLS termination associated with the application. Available values: "off", "flexible", "full", "strict".
- traffic
Type string - Determines how data travels from the edge to your origin. When set to "direct", Spectrum will send traffic directly to your origin, and the application's type is derived from the
protocol
. When set to "http" or "https", Spectrum will apply Cloudflare's HTTP/HTTPS features as it sends traffic to your origin, and the application type matches this property exactly. Available values: "direct", "http", "https". - zone
Id string - Zone identifier.
- app_
id str - App identifier.
- argo_
smart_ boolrouting - Enables Argo Smart Routing for this application. Notes: Only available for TCP applications with traffic_type set to "direct".
- created_
on str - When the Application was created.
- dns
Get
Spectrum Application Dns - The name and type of DNS record for the Spectrum application.
- edge_
ips GetSpectrum Application Edge Ips - The anycast edge IP configuration for the hostname of this application.
- id str
- App identifier.
- ip_
firewall bool - Enables IP Access Rules for this application. Notes: Only available for TCP applications.
- modified_
on str - When the Application was last modified.
- origin_
directs Sequence[str] - List of origin IP addresses. Array may contain multiple IP addresses for load balancing.
- origin_
dns GetSpectrum Application Origin Dns - The name and type of DNS record for the Spectrum application.
- origin_
port Any - The destination port at the origin. Only specified in conjunction with origin_dns. May use an integer to specify a single origin port, for example
1000
, or a string to specify a range of origin ports, for example"1000-2000"
. Notes: If specifying a port range, the number of ports in the range must match the number of ports specified in the "protocol" field. - protocol str
- The port configuration at Cloudflare's edge. May specify a single port, for example
"tcp/1000"
, or a range of ports, for example"tcp/1000-2000"
. - proxy_
protocol str - Enables Proxy Protocol to the origin. Refer to Enable Proxy protocol for implementation details on PROXY Protocol V1, PROXY Protocol V2, and Simple Proxy Protocol. Available values: "off", "v1", "v2", "simple".
- tls str
- The type of TLS termination associated with the application. Available values: "off", "flexible", "full", "strict".
- traffic_
type str - Determines how data travels from the edge to your origin. When set to "direct", Spectrum will send traffic directly to your origin, and the application's type is derived from the
protocol
. When set to "http" or "https", Spectrum will apply Cloudflare's HTTP/HTTPS features as it sends traffic to your origin, and the application type matches this property exactly. Available values: "direct", "http", "https". - zone_
id str - Zone identifier.
- app
Id String - App identifier.
- argo
Smart BooleanRouting - Enables Argo Smart Routing for this application. Notes: Only available for TCP applications with traffic_type set to "direct".
- created
On String - When the Application was created.
- dns Property Map
- The name and type of DNS record for the Spectrum application.
- edge
Ips Property Map - The anycast edge IP configuration for the hostname of this application.
- id String
- App identifier.
- ip
Firewall Boolean - Enables IP Access Rules for this application. Notes: Only available for TCP applications.
- modified
On String - When the Application was last modified.
- origin
Directs List<String> - List of origin IP addresses. Array may contain multiple IP addresses for load balancing.
- origin
Dns Property Map - The name and type of DNS record for the Spectrum application.
- origin
Port Any - The destination port at the origin. Only specified in conjunction with origin_dns. May use an integer to specify a single origin port, for example
1000
, or a string to specify a range of origin ports, for example"1000-2000"
. Notes: If specifying a port range, the number of ports in the range must match the number of ports specified in the "protocol" field. - protocol String
- The port configuration at Cloudflare's edge. May specify a single port, for example
"tcp/1000"
, or a range of ports, for example"tcp/1000-2000"
. - proxy
Protocol String - Enables Proxy Protocol to the origin. Refer to Enable Proxy protocol for implementation details on PROXY Protocol V1, PROXY Protocol V2, and Simple Proxy Protocol. Available values: "off", "v1", "v2", "simple".
- tls String
- The type of TLS termination associated with the application. Available values: "off", "flexible", "full", "strict".
- traffic
Type String - Determines how data travels from the edge to your origin. When set to "direct", Spectrum will send traffic directly to your origin, and the application's type is derived from the
protocol
. When set to "http" or "https", Spectrum will apply Cloudflare's HTTP/HTTPS features as it sends traffic to your origin, and the application type matches this property exactly. Available values: "direct", "http", "https". - zone
Id String - Zone identifier.
Supporting Types
GetSpectrumApplicationDns
GetSpectrumApplicationEdgeIps
- Connectivity string
- The IP versions supported for inbound connections on Spectrum anycast IPs. Available values: "all", "ipv4", "ipv6".
- Ips List<string>
- The array of customer owned IPs we broadcast via anycast for this hostname and application.
- Type string
- The type of edge IP configuration specified. Dynamically allocated edge IPs use Spectrum anycast IPs in accordance with the connectivity you specify. Only valid with CNAME DNS names. Available values: "dynamic".
- Connectivity string
- The IP versions supported for inbound connections on Spectrum anycast IPs. Available values: "all", "ipv4", "ipv6".
- Ips []string
- The array of customer owned IPs we broadcast via anycast for this hostname and application.
- Type string
- The type of edge IP configuration specified. Dynamically allocated edge IPs use Spectrum anycast IPs in accordance with the connectivity you specify. Only valid with CNAME DNS names. Available values: "dynamic".
- connectivity String
- The IP versions supported for inbound connections on Spectrum anycast IPs. Available values: "all", "ipv4", "ipv6".
- ips List<String>
- The array of customer owned IPs we broadcast via anycast for this hostname and application.
- type String
- The type of edge IP configuration specified. Dynamically allocated edge IPs use Spectrum anycast IPs in accordance with the connectivity you specify. Only valid with CNAME DNS names. Available values: "dynamic".
- connectivity string
- The IP versions supported for inbound connections on Spectrum anycast IPs. Available values: "all", "ipv4", "ipv6".
- ips string[]
- The array of customer owned IPs we broadcast via anycast for this hostname and application.
- type string
- The type of edge IP configuration specified. Dynamically allocated edge IPs use Spectrum anycast IPs in accordance with the connectivity you specify. Only valid with CNAME DNS names. Available values: "dynamic".
- connectivity str
- The IP versions supported for inbound connections on Spectrum anycast IPs. Available values: "all", "ipv4", "ipv6".
- ips Sequence[str]
- The array of customer owned IPs we broadcast via anycast for this hostname and application.
- type str
- The type of edge IP configuration specified. Dynamically allocated edge IPs use Spectrum anycast IPs in accordance with the connectivity you specify. Only valid with CNAME DNS names. Available values: "dynamic".
- connectivity String
- The IP versions supported for inbound connections on Spectrum anycast IPs. Available values: "all", "ipv4", "ipv6".
- ips List<String>
- The array of customer owned IPs we broadcast via anycast for this hostname and application.
- type String
- The type of edge IP configuration specified. Dynamically allocated edge IPs use Spectrum anycast IPs in accordance with the connectivity you specify. Only valid with CNAME DNS names. Available values: "dynamic".
GetSpectrumApplicationOriginDns
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.