Strata Cloud Manager v0.1.4 published on Tuesday, Sep 24, 2024 by Pulumi
scm.getApplicationFilter
Explore with Pulumi AI
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.
- Excessive
Bandwidth boolUse - 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.
- Has
Known boolVulnerabilities - only True is a valid value.
- Id string
- The Id param.
- Is
Saas bool - only True is a valid value.
- Name string
- 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 boolMisuse - 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.
- Saas
Certifications List<string> - The SaasCertifications param. Individual elements in this list are subject to additional validation. String length must not exceed 32 characters.
- Saas
Risks 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
Get
Application Filter Tagging - 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
- Transfers
Files bool - only True is a valid value.
- Tunnels
Other boolApps - only True is a valid value.
- Used
By boolMalware - 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.
- Excessive
Bandwidth boolUse - 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.
- Has
Known boolVulnerabilities - only True is a valid value.
- Id string
- The Id param.
- Is
Saas bool - only True is a valid value.
- Name string
- 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 boolMisuse - 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.
- Saas
Certifications []string - The SaasCertifications param. Individual elements in this list are subject to additional validation. String length must not exceed 32 characters.
- Saas
Risks []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
Get
Application Filter Tagging - 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
- Transfers
Files bool - only True is a valid value.
- Tunnels
Other boolApps - only True is a valid value.
- Used
By boolMalware - 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.
- excessive
Bandwidth BooleanUse - 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.
- has
Known BooleanVulnerabilities - only True is a valid value.
- id String
- The Id param.
- is
Saas Boolean - only True is a valid value.
- name String
- Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 31 characters.
- new
Appid Boolean - only True is a valid value.
- pervasive Boolean
- only True is a valid value.
- prone
To BooleanMisuse - 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.
- saas
Certifications List<String> - The SaasCertifications param. Individual elements in this list are subject to additional validation. String length must not exceed 32 characters.
- saas
Risks 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
Get
Application Filter Tagging - 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
- transfers
Files Boolean - only True is a valid value.
- tunnels
Other BooleanApps - only True is a valid value.
- used
By BooleanMalware - 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.
- excessive
Bandwidth booleanUse - 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.
- has
Known booleanVulnerabilities - only True is a valid value.
- id string
- The Id param.
- is
Saas boolean - only True is a valid value.
- name string
- Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 31 characters.
- new
Appid boolean - only True is a valid value.
- pervasive boolean
- only True is a valid value.
- prone
To booleanMisuse - 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.
- saas
Certifications string[] - The SaasCertifications param. Individual elements in this list are subject to additional validation. String length must not exceed 32 characters.
- saas
Risks 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
Get
Application Filter Tagging - 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
- transfers
Files boolean - only True is a valid value.
- tunnels
Other booleanApps - only True is a valid value.
- used
By booleanMalware - 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_ booluse - 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_ boolvulnerabilities - 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_ boolmisuse - 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
Get
Application Filter Tagging - 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_ boolapps - only True is a valid value.
- used_
by_ boolmalware - 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.
- excessive
Bandwidth BooleanUse - 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.
- has
Known BooleanVulnerabilities - only True is a valid value.
- id String
- The Id param.
- is
Saas Boolean - only True is a valid value.
- name String
- Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 31 characters.
- new
Appid Boolean - only True is a valid value.
- pervasive Boolean
- only True is a valid value.
- prone
To BooleanMisuse - 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.
- saas
Certifications List<String> - The SaasCertifications param. Individual elements in this list are subject to additional validation. String length must not exceed 32 characters.
- saas
Risks 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
- transfers
Files Boolean - only True is a valid value.
- tunnels
Other BooleanApps - only True is a valid value.
- used
By BooleanMalware - only True is a valid value.
Supporting Types
GetApplicationFilterTagging
- No
Tag bool - The NoTag param.
- List<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.
- []string
- The Tags param. Individual elements in this list are subject to additional validation. String length must not exceed 127 characters.
- no
Tag Boolean - The NoTag param.
- List<String>
- The Tags param. Individual elements in this list are subject to additional validation. String length must not exceed 127 characters.
- no
Tag boolean - The NoTag param.
- 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.
- Sequence[str]
- The Tags param. Individual elements in this list are subject to additional validation. String length must not exceed 127 characters.
- no
Tag Boolean - The NoTag param.
- 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.