1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getSpectrumApplications
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

cloudflare.getSpectrumApplications

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleSpectrumApplications = cloudflare.getSpectrumApplications({
        zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_spectrum_applications = cloudflare.get_spectrum_applications(zone_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.LookupSpectrumApplications(ctx, &cloudflare.LookupSpectrumApplicationsArgs{
    			ZoneId: "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 exampleSpectrumApplications = Cloudflare.GetSpectrumApplications.Invoke(new()
        {
            ZoneId = "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.GetSpectrumApplicationsArgs;
    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 exampleSpectrumApplications = CloudflareFunctions.getSpectrumApplications(GetSpectrumApplicationsArgs.builder()
                .zoneId("023e105f4ecef8ad9ca31a8372d0c353")
                .build());
    
        }
    }
    
    variables:
      exampleSpectrumApplications:
        fn::invoke:
          function: cloudflare:getSpectrumApplications
          arguments:
            zoneId: 023e105f4ecef8ad9ca31a8372d0c353
    

    Using getSpectrumApplications

    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 getSpectrumApplications(args: GetSpectrumApplicationsArgs, opts?: InvokeOptions): Promise<GetSpectrumApplicationsResult>
    function getSpectrumApplicationsOutput(args: GetSpectrumApplicationsOutputArgs, opts?: InvokeOptions): Output<GetSpectrumApplicationsResult>
    def get_spectrum_applications(direction: Optional[str] = None,
                                  max_items: Optional[int] = None,
                                  order: Optional[str] = None,
                                  zone_id: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetSpectrumApplicationsResult
    def get_spectrum_applications_output(direction: Optional[pulumi.Input[str]] = None,
                                  max_items: Optional[pulumi.Input[int]] = None,
                                  order: Optional[pulumi.Input[str]] = None,
                                  zone_id: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetSpectrumApplicationsResult]
    func LookupSpectrumApplications(ctx *Context, args *LookupSpectrumApplicationsArgs, opts ...InvokeOption) (*LookupSpectrumApplicationsResult, error)
    func LookupSpectrumApplicationsOutput(ctx *Context, args *LookupSpectrumApplicationsOutputArgs, opts ...InvokeOption) LookupSpectrumApplicationsResultOutput

    > Note: This function is named LookupSpectrumApplications in the Go SDK.

    public static class GetSpectrumApplications 
    {
        public static Task<GetSpectrumApplicationsResult> InvokeAsync(GetSpectrumApplicationsArgs args, InvokeOptions? opts = null)
        public static Output<GetSpectrumApplicationsResult> Invoke(GetSpectrumApplicationsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSpectrumApplicationsResult> getSpectrumApplications(GetSpectrumApplicationsArgs args, InvokeOptions options)
    public static Output<GetSpectrumApplicationsResult> getSpectrumApplications(GetSpectrumApplicationsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getSpectrumApplications:getSpectrumApplications
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ZoneId string
    Zone identifier.
    Direction string
    Sets the direction by which results are ordered. Available values: "asc", "desc".
    MaxItems int
    Max items to fetch, default: 1000
    Order string
    Application field by which results are ordered. Available values: "protocol", "appid", "createdon", "modified_on", "dns".
    ZoneId string
    Zone identifier.
    Direction string
    Sets the direction by which results are ordered. Available values: "asc", "desc".
    MaxItems int
    Max items to fetch, default: 1000
    Order string
    Application field by which results are ordered. Available values: "protocol", "appid", "createdon", "modified_on", "dns".
    zoneId String
    Zone identifier.
    direction String
    Sets the direction by which results are ordered. Available values: "asc", "desc".
    maxItems Integer
    Max items to fetch, default: 1000
    order String
    Application field by which results are ordered. Available values: "protocol", "appid", "createdon", "modified_on", "dns".
    zoneId string
    Zone identifier.
    direction string
    Sets the direction by which results are ordered. Available values: "asc", "desc".
    maxItems number
    Max items to fetch, default: 1000
    order string
    Application field by which results are ordered. Available values: "protocol", "appid", "createdon", "modified_on", "dns".
    zone_id str
    Zone identifier.
    direction str
    Sets the direction by which results are ordered. Available values: "asc", "desc".
    max_items int
    Max items to fetch, default: 1000
    order str
    Application field by which results are ordered. Available values: "protocol", "appid", "createdon", "modified_on", "dns".
    zoneId String
    Zone identifier.
    direction String
    Sets the direction by which results are ordered. Available values: "asc", "desc".
    maxItems Number
    Max items to fetch, default: 1000
    order String
    Application field by which results are ordered. Available values: "protocol", "appid", "createdon", "modified_on", "dns".

    getSpectrumApplications Result

    The following output properties are available:

    Direction string
    Sets the direction by which results are ordered. Available values: "asc", "desc".
    Id string
    The provider-assigned unique ID for this managed resource.
    Order string
    Application field by which results are ordered. Available values: "protocol", "appid", "createdon", "modified_on", "dns".
    Results List<GetSpectrumApplicationsResult>
    The items returned by the data source
    ZoneId string
    Zone identifier.
    MaxItems int
    Max items to fetch, default: 1000
    Direction string
    Sets the direction by which results are ordered. Available values: "asc", "desc".
    Id string
    The provider-assigned unique ID for this managed resource.
    Order string
    Application field by which results are ordered. Available values: "protocol", "appid", "createdon", "modified_on", "dns".
    Results []GetSpectrumApplicationsResult
    The items returned by the data source
    ZoneId string
    Zone identifier.
    MaxItems int
    Max items to fetch, default: 1000
    direction String
    Sets the direction by which results are ordered. Available values: "asc", "desc".
    id String
    The provider-assigned unique ID for this managed resource.
    order String
    Application field by which results are ordered. Available values: "protocol", "appid", "createdon", "modified_on", "dns".
    results List<GetSpectrumApplicationsResult>
    The items returned by the data source
    zoneId String
    Zone identifier.
    maxItems Integer
    Max items to fetch, default: 1000
    direction string
    Sets the direction by which results are ordered. Available values: "asc", "desc".
    id string
    The provider-assigned unique ID for this managed resource.
    order string
    Application field by which results are ordered. Available values: "protocol", "appid", "createdon", "modified_on", "dns".
    results GetSpectrumApplicationsResult[]
    The items returned by the data source
    zoneId string
    Zone identifier.
    maxItems number
    Max items to fetch, default: 1000
    direction str
    Sets the direction by which results are ordered. Available values: "asc", "desc".
    id str
    The provider-assigned unique ID for this managed resource.
    order str
    Application field by which results are ordered. Available values: "protocol", "appid", "createdon", "modified_on", "dns".
    results Sequence[GetSpectrumApplicationsResult]
    The items returned by the data source
    zone_id str
    Zone identifier.
    max_items int
    Max items to fetch, default: 1000
    direction String
    Sets the direction by which results are ordered. Available values: "asc", "desc".
    id String
    The provider-assigned unique ID for this managed resource.
    order String
    Application field by which results are ordered. Available values: "protocol", "appid", "createdon", "modified_on", "dns".
    results List<Property Map>
    The items returned by the data source
    zoneId String
    Zone identifier.
    maxItems Number
    Max items to fetch, default: 1000

    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 v6.1.2 published on Monday, Apr 28, 2025 by Pulumi