1. Packages
  2. Scm Provider
  3. API Docs
  4. getApplicationFilter
Strata Cloud Manager v0.1.6 published on Wednesday, Oct 16, 2024 by Pulumi

scm.getApplicationFilter

Explore with Pulumi AI

scm logo
Strata Cloud Manager v0.1.6 published on Wednesday, Oct 16, 2024 by Pulumi

    Retrieves a config item.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    const example = scm.getApplicationFilter({
        id: "1234-56-789",
    });
    
    import pulumi
    import pulumi_scm as scm
    
    example = scm.get_application_filter(id="1234-56-789")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-scm/sdk/go/scm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := scm.LookupApplicationFilter(ctx, &scm.LookupApplicationFilterArgs{
    			Id: "1234-56-789",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Scm.GetApplicationFilter.Invoke(new()
        {
            Id = "1234-56-789",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scm.ScmFunctions;
    import com.pulumi.scm.inputs.GetApplicationFilterArgs;
    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 example = ScmFunctions.getApplicationFilter(GetApplicationFilterArgs.builder()
                .id("1234-56-789")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: scm:getApplicationFilter
          Arguments:
            id: 1234-56-789
    

    Using getApplicationFilter

    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 getApplicationFilter(args: GetApplicationFilterArgs, opts?: InvokeOptions): Promise<GetApplicationFilterResult>
    function getApplicationFilterOutput(args: GetApplicationFilterOutputArgs, opts?: InvokeOptions): Output<GetApplicationFilterResult>
    def get_application_filter(id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetApplicationFilterResult
    def get_application_filter_output(id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetApplicationFilterResult]
    func LookupApplicationFilter(ctx *Context, args *LookupApplicationFilterArgs, opts ...InvokeOption) (*LookupApplicationFilterResult, error)
    func LookupApplicationFilterOutput(ctx *Context, args *LookupApplicationFilterOutputArgs, opts ...InvokeOption) LookupApplicationFilterResultOutput

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

    public static class GetApplicationFilter 
    {
        public static Task<GetApplicationFilterResult> InvokeAsync(GetApplicationFilterArgs args, InvokeOptions? opts = null)
        public static Output<GetApplicationFilterResult> Invoke(GetApplicationFilterInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetApplicationFilterResult> getApplicationFilter(GetApplicationFilterArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: scm:index/getApplicationFilter:getApplicationFilter
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The Id param.
    Id string
    The Id param.
    id String
    The Id param.
    id string
    The Id param.
    id str
    The Id param.
    id String
    The Id param.

    getApplicationFilter Result

    The following output properties are available:

    Categories List<string>
    The Categories param. Individual elements in this list are subject to additional validation. String length must not exceed 128 characters.
    Evasive bool
    only True is a valid value.
    ExcessiveBandwidthUse bool
    only True is a valid value.
    Excludes List<string>
    The Excludes param. Individual elements in this list are subject to additional validation. String length must not exceed 63 characters.
    HasKnownVulnerabilities bool
    only True is a valid value.
    Id string
    The Id param.
    IsSaas bool
    only True is a valid value.
    Name string
    Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 31 characters.
    NewAppid bool
    only True is a valid value.
    Pervasive bool
    only True is a valid value.
    ProneToMisuse bool
    only True is a valid value.
    Risks List<int>
    The Risks param. Individual elements in this list are subject to additional validation. Value must be between 1 and 5.
    SaasCertifications List<string>
    The SaasCertifications param. Individual elements in this list are subject to additional validation. String length must not exceed 32 characters.
    SaasRisks List<string>
    The SaasRisks param. Individual elements in this list are subject to additional validation. String length must not exceed 32 characters.
    Subcategories List<string>
    The Subcategories param. Individual elements in this list are subject to additional validation. String length must not exceed 128 characters.
    Tagging GetApplicationFilterTagging
    The Tagging param.
    Technologies List<string>
    The Technologies param. Individual elements in this list are subject to additional validation. String length must not exceed 128 characters.
    Tfid string
    TransfersFiles bool
    only True is a valid value.
    TunnelsOtherApps bool
    only True is a valid value.
    UsedByMalware bool
    only True is a valid value.
    Categories []string
    The Categories param. Individual elements in this list are subject to additional validation. String length must not exceed 128 characters.
    Evasive bool
    only True is a valid value.
    ExcessiveBandwidthUse bool
    only True is a valid value.
    Excludes []string
    The Excludes param. Individual elements in this list are subject to additional validation. String length must not exceed 63 characters.
    HasKnownVulnerabilities bool
    only True is a valid value.
    Id string
    The Id param.
    IsSaas bool
    only True is a valid value.
    Name string
    Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 31 characters.
    NewAppid bool
    only True is a valid value.
    Pervasive bool
    only True is a valid value.
    ProneToMisuse bool
    only True is a valid value.
    Risks []int
    The Risks param. Individual elements in this list are subject to additional validation. Value must be between 1 and 5.
    SaasCertifications []string
    The SaasCertifications param. Individual elements in this list are subject to additional validation. String length must not exceed 32 characters.
    SaasRisks []string
    The SaasRisks param. Individual elements in this list are subject to additional validation. String length must not exceed 32 characters.
    Subcategories []string
    The Subcategories param. Individual elements in this list are subject to additional validation. String length must not exceed 128 characters.
    Tagging GetApplicationFilterTagging
    The Tagging param.
    Technologies []string
    The Technologies param. Individual elements in this list are subject to additional validation. String length must not exceed 128 characters.
    Tfid string
    TransfersFiles bool
    only True is a valid value.
    TunnelsOtherApps bool
    only True is a valid value.
    UsedByMalware bool
    only True is a valid value.
    categories List<String>
    The Categories param. Individual elements in this list are subject to additional validation. String length must not exceed 128 characters.
    evasive Boolean
    only True is a valid value.
    excessiveBandwidthUse Boolean
    only True is a valid value.
    excludes List<String>
    The Excludes param. Individual elements in this list are subject to additional validation. String length must not exceed 63 characters.
    hasKnownVulnerabilities Boolean
    only True is a valid value.
    id String
    The Id param.
    isSaas Boolean
    only True is a valid value.
    name String
    Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 31 characters.
    newAppid Boolean
    only True is a valid value.
    pervasive Boolean
    only True is a valid value.
    proneToMisuse Boolean
    only True is a valid value.
    risks List<Integer>
    The Risks param. Individual elements in this list are subject to additional validation. Value must be between 1 and 5.
    saasCertifications List<String>
    The SaasCertifications param. Individual elements in this list are subject to additional validation. String length must not exceed 32 characters.
    saasRisks List<String>
    The SaasRisks param. Individual elements in this list are subject to additional validation. String length must not exceed 32 characters.
    subcategories List<String>
    The Subcategories param. Individual elements in this list are subject to additional validation. String length must not exceed 128 characters.
    tagging GetApplicationFilterTagging
    The Tagging param.
    technologies List<String>
    The Technologies param. Individual elements in this list are subject to additional validation. String length must not exceed 128 characters.
    tfid String
    transfersFiles Boolean
    only True is a valid value.
    tunnelsOtherApps Boolean
    only True is a valid value.
    usedByMalware Boolean
    only True is a valid value.
    categories string[]
    The Categories param. Individual elements in this list are subject to additional validation. String length must not exceed 128 characters.
    evasive boolean
    only True is a valid value.
    excessiveBandwidthUse boolean
    only True is a valid value.
    excludes string[]
    The Excludes param. Individual elements in this list are subject to additional validation. String length must not exceed 63 characters.
    hasKnownVulnerabilities boolean
    only True is a valid value.
    id string
    The Id param.
    isSaas boolean
    only True is a valid value.
    name string
    Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 31 characters.
    newAppid boolean
    only True is a valid value.
    pervasive boolean
    only True is a valid value.
    proneToMisuse boolean
    only True is a valid value.
    risks number[]
    The Risks param. Individual elements in this list are subject to additional validation. Value must be between 1 and 5.
    saasCertifications string[]
    The SaasCertifications param. Individual elements in this list are subject to additional validation. String length must not exceed 32 characters.
    saasRisks string[]
    The SaasRisks param. Individual elements in this list are subject to additional validation. String length must not exceed 32 characters.
    subcategories string[]
    The Subcategories param. Individual elements in this list are subject to additional validation. String length must not exceed 128 characters.
    tagging GetApplicationFilterTagging
    The Tagging param.
    technologies string[]
    The Technologies param. Individual elements in this list are subject to additional validation. String length must not exceed 128 characters.
    tfid string
    transfersFiles boolean
    only True is a valid value.
    tunnelsOtherApps boolean
    only True is a valid value.
    usedByMalware boolean
    only True is a valid value.
    categories Sequence[str]
    The Categories param. Individual elements in this list are subject to additional validation. String length must not exceed 128 characters.
    evasive bool
    only True is a valid value.
    excessive_bandwidth_use bool
    only True is a valid value.
    excludes Sequence[str]
    The Excludes param. Individual elements in this list are subject to additional validation. String length must not exceed 63 characters.
    has_known_vulnerabilities bool
    only True is a valid value.
    id str
    The Id param.
    is_saas bool
    only True is a valid value.
    name str
    Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 31 characters.
    new_appid bool
    only True is a valid value.
    pervasive bool
    only True is a valid value.
    prone_to_misuse bool
    only True is a valid value.
    risks Sequence[int]
    The Risks param. Individual elements in this list are subject to additional validation. Value must be between 1 and 5.
    saas_certifications Sequence[str]
    The SaasCertifications param. Individual elements in this list are subject to additional validation. String length must not exceed 32 characters.
    saas_risks Sequence[str]
    The SaasRisks param. Individual elements in this list are subject to additional validation. String length must not exceed 32 characters.
    subcategories Sequence[str]
    The Subcategories param. Individual elements in this list are subject to additional validation. String length must not exceed 128 characters.
    tagging GetApplicationFilterTagging
    The Tagging param.
    technologies Sequence[str]
    The Technologies param. Individual elements in this list are subject to additional validation. String length must not exceed 128 characters.
    tfid str
    transfers_files bool
    only True is a valid value.
    tunnels_other_apps bool
    only True is a valid value.
    used_by_malware bool
    only True is a valid value.
    categories List<String>
    The Categories param. Individual elements in this list are subject to additional validation. String length must not exceed 128 characters.
    evasive Boolean
    only True is a valid value.
    excessiveBandwidthUse Boolean
    only True is a valid value.
    excludes List<String>
    The Excludes param. Individual elements in this list are subject to additional validation. String length must not exceed 63 characters.
    hasKnownVulnerabilities Boolean
    only True is a valid value.
    id String
    The Id param.
    isSaas Boolean
    only True is a valid value.
    name String
    Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 31 characters.
    newAppid Boolean
    only True is a valid value.
    pervasive Boolean
    only True is a valid value.
    proneToMisuse Boolean
    only True is a valid value.
    risks List<Number>
    The Risks param. Individual elements in this list are subject to additional validation. Value must be between 1 and 5.
    saasCertifications List<String>
    The SaasCertifications param. Individual elements in this list are subject to additional validation. String length must not exceed 32 characters.
    saasRisks List<String>
    The SaasRisks param. Individual elements in this list are subject to additional validation. String length must not exceed 32 characters.
    subcategories List<String>
    The Subcategories param. Individual elements in this list are subject to additional validation. String length must not exceed 128 characters.
    tagging Property Map
    The Tagging param.
    technologies List<String>
    The Technologies param. Individual elements in this list are subject to additional validation. String length must not exceed 128 characters.
    tfid String
    transfersFiles Boolean
    only True is a valid value.
    tunnelsOtherApps Boolean
    only True is a valid value.
    usedByMalware Boolean
    only True is a valid value.

    Supporting Types

    GetApplicationFilterTagging

    NoTag bool
    The NoTag param.
    Tags List<string>
    The Tags param. Individual elements in this list are subject to additional validation. String length must not exceed 127 characters.
    NoTag bool
    The NoTag param.
    Tags []string
    The Tags param. Individual elements in this list are subject to additional validation. String length must not exceed 127 characters.
    noTag Boolean
    The NoTag param.
    tags List<String>
    The Tags param. Individual elements in this list are subject to additional validation. String length must not exceed 127 characters.
    noTag boolean
    The NoTag param.
    tags string[]
    The Tags param. Individual elements in this list are subject to additional validation. String length must not exceed 127 characters.
    no_tag bool
    The NoTag param.
    tags Sequence[str]
    The Tags param. Individual elements in this list are subject to additional validation. String length must not exceed 127 characters.
    noTag Boolean
    The NoTag param.
    tags List<String>
    The Tags param. Individual elements in this list are subject to additional validation. String length must not exceed 127 characters.

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Strata Cloud Manager v0.1.6 published on Wednesday, Oct 16, 2024 by Pulumi