Application data source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
// Look up a single application object by its ID.
// The ID used here is from the API response log you provided.
const scmApplicationDs = scm.getApplication({
id: "bb16f631-4839-475e-8628-70585319ca75",
});
export const applicationDsResult = scmApplicationDs;
import pulumi
import pulumi_scm as scm
# Look up a single application object by its ID.
# The ID used here is from the API response log you provided.
scm_application_ds = scm.get_application(id="bb16f631-4839-475e-8628-70585319ca75")
pulumi.export("applicationDsResult", scm_application_ds)
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 {
// Look up a single application object by its ID.
// The ID used here is from the API response log you provided.
scmApplicationDs, err := scm.LookupApplication(ctx, &scm.LookupApplicationArgs{
Id: "bb16f631-4839-475e-8628-70585319ca75",
}, nil)
if err != nil {
return err
}
ctx.Export("applicationDsResult", scmApplicationDs)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
// Look up a single application object by its ID.
// The ID used here is from the API response log you provided.
var scmApplicationDs = Scm.GetApplication.Invoke(new()
{
Id = "bb16f631-4839-475e-8628-70585319ca75",
});
return new Dictionary<string, object?>
{
["applicationDsResult"] = scmApplicationDs,
};
});
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.GetApplicationArgs;
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) {
// Look up a single application object by its ID.
// The ID used here is from the API response log you provided.
final var scmApplicationDs = ScmFunctions.getApplication(GetApplicationArgs.builder()
.id("bb16f631-4839-475e-8628-70585319ca75")
.build());
ctx.export("applicationDsResult", scmApplicationDs);
}
}
variables:
# Look up a single application object by its ID.
# The ID used here is from the API response log you provided.
scmApplicationDs:
fn::invoke:
function: scm:getApplication
arguments:
id: bb16f631-4839-475e-8628-70585319ca75
outputs:
# Output the details of the single application object found.
applicationDsResult: ${scmApplicationDs}
Using getApplication
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 getApplication(args: GetApplicationArgs, opts?: InvokeOptions): Promise<GetApplicationResult>
function getApplicationOutput(args: GetApplicationOutputArgs, opts?: InvokeOptions): Output<GetApplicationResult>def get_application(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetApplicationResult
def get_application_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetApplicationResult]func LookupApplication(ctx *Context, args *LookupApplicationArgs, opts ...InvokeOption) (*LookupApplicationResult, error)
func LookupApplicationOutput(ctx *Context, args *LookupApplicationOutputArgs, opts ...InvokeOption) LookupApplicationResultOutput> Note: This function is named LookupApplication in the Go SDK.
public static class GetApplication
{
public static Task<GetApplicationResult> InvokeAsync(GetApplicationArgs args, InvokeOptions? opts = null)
public static Output<GetApplicationResult> Invoke(GetApplicationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetApplicationResult> getApplication(GetApplicationArgs args, InvokeOptions options)
public static Output<GetApplicationResult> getApplication(GetApplicationArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getApplication:getApplication
arguments:
# arguments dictionaryThe following arguments are supported:
getApplication Result
The following output properties are available:
- Able
To boolTransfer File - Able to transfer file
- Alg
Disable stringCapability - Alg disable capability
- Category string
- Category
- Consume
Big boolBandwidth - Consume big bandwidth
- Data
Ident bool - Data ident
- Default
Get
Application Default - Default
- Description string
- Description
- Device string
- The device in which the resource is defined
- Evasive
Behavior bool - File
Type boolIdent - Folder string
- Has
Known boolVulnerability - Id string
- The UUID of the application
- Name string
- The name of the application
- No
Appid boolCaching - Parent
App string - Pervasive
Use bool - Prone
To boolMisuse - Risk string
- Signatures
List<Get
Application Signature> - Snippet string
- Subcategory string
- Tcp
Half intClosed Timeout - Tcp
Time intWait Timeout - Tcp
Timeout int - Technology string
- Tfid string
- Timeout int
- Tunnel
Applications bool - Tunnel
Other boolApplication - Udp
Timeout int - Used
By boolMalware - Virus
Ident bool
- Able
To boolTransfer File - Able to transfer file
- Alg
Disable stringCapability - Alg disable capability
- Category string
- Category
- Consume
Big boolBandwidth - Consume big bandwidth
- Data
Ident bool - Data ident
- Default
Get
Application Default - Default
- Description string
- Description
- Device string
- The device in which the resource is defined
- Evasive
Behavior bool - File
Type boolIdent - Folder string
- Has
Known boolVulnerability - Id string
- The UUID of the application
- Name string
- The name of the application
- No
Appid boolCaching - Parent
App string - Pervasive
Use bool - Prone
To boolMisuse - Risk string
- Signatures
[]Get
Application Signature - Snippet string
- Subcategory string
- Tcp
Half intClosed Timeout - Tcp
Time intWait Timeout - Tcp
Timeout int - Technology string
- Tfid string
- Timeout int
- Tunnel
Applications bool - Tunnel
Other boolApplication - Udp
Timeout int - Used
By boolMalware - Virus
Ident bool
- able
To BooleanTransfer File - Able to transfer file
- alg
Disable StringCapability - Alg disable capability
- category String
- Category
- consume
Big BooleanBandwidth - Consume big bandwidth
- data
Ident Boolean - Data ident
- default_
Get
Application Default - Default
- description String
- Description
- device String
- The device in which the resource is defined
- evasive
Behavior Boolean - file
Type BooleanIdent - folder String
- has
Known BooleanVulnerability - id String
- The UUID of the application
- name String
- The name of the application
- no
Appid BooleanCaching - parent
App String - pervasive
Use Boolean - prone
To BooleanMisuse - risk String
- signatures
List<Get
Application Signature> - snippet String
- subcategory String
- tcp
Half IntegerClosed Timeout - tcp
Time IntegerWait Timeout - tcp
Timeout Integer - technology String
- tfid String
- timeout Integer
- tunnel
Applications Boolean - tunnel
Other BooleanApplication - udp
Timeout Integer - used
By BooleanMalware - virus
Ident Boolean
- able
To booleanTransfer File - Able to transfer file
- alg
Disable stringCapability - Alg disable capability
- category string
- Category
- consume
Big booleanBandwidth - Consume big bandwidth
- data
Ident boolean - Data ident
- default
Get
Application Default - Default
- description string
- Description
- device string
- The device in which the resource is defined
- evasive
Behavior boolean - file
Type booleanIdent - folder string
- has
Known booleanVulnerability - id string
- The UUID of the application
- name string
- The name of the application
- no
Appid booleanCaching - parent
App string - pervasive
Use boolean - prone
To booleanMisuse - risk string
- signatures
Get
Application Signature[] - snippet string
- subcategory string
- tcp
Half numberClosed Timeout - tcp
Time numberWait Timeout - tcp
Timeout number - technology string
- tfid string
- timeout number
- tunnel
Applications boolean - tunnel
Other booleanApplication - udp
Timeout number - used
By booleanMalware - virus
Ident boolean
- able_
to_ booltransfer_ file - Able to transfer file
- alg_
disable_ strcapability - Alg disable capability
- category str
- Category
- consume_
big_ boolbandwidth - Consume big bandwidth
- data_
ident bool - Data ident
- default
Get
Application Default - Default
- description str
- Description
- device str
- The device in which the resource is defined
- evasive_
behavior bool - file_
type_ boolident - folder str
- has_
known_ boolvulnerability - id str
- The UUID of the application
- name str
- The name of the application
- no_
appid_ boolcaching - parent_
app str - pervasive_
use bool - prone_
to_ boolmisuse - risk str
- signatures
Sequence[Get
Application Signature] - snippet str
- subcategory str
- tcp_
half_ intclosed_ timeout - tcp_
time_ intwait_ timeout - tcp_
timeout int - technology str
- tfid str
- timeout int
- tunnel_
applications bool - tunnel_
other_ boolapplication - udp_
timeout int - used_
by_ boolmalware - virus_
ident bool
- able
To BooleanTransfer File - Able to transfer file
- alg
Disable StringCapability - Alg disable capability
- category String
- Category
- consume
Big BooleanBandwidth - Consume big bandwidth
- data
Ident Boolean - Data ident
- default Property Map
- Default
- description String
- Description
- device String
- The device in which the resource is defined
- evasive
Behavior Boolean - file
Type BooleanIdent - folder String
- has
Known BooleanVulnerability - id String
- The UUID of the application
- name String
- The name of the application
- no
Appid BooleanCaching - parent
App String - pervasive
Use Boolean - prone
To BooleanMisuse - risk String
- signatures List<Property Map>
- snippet String
- subcategory String
- tcp
Half NumberClosed Timeout - tcp
Time NumberWait Timeout - tcp
Timeout Number - technology String
- tfid String
- timeout Number
- tunnel
Applications Boolean - tunnel
Other BooleanApplication - udp
Timeout Number - used
By BooleanMalware - virus
Ident Boolean
Supporting Types
GetApplicationDefault
- Ident
By GetIcmp6Type Application Default Ident By Icmp6Type - Ident by icmp6 type
- Ident
By GetIcmp Type Application Default Ident By Icmp Type Ident by icmp type
ℹ️ Note: You must specify exactly one of
ident_by_icmp6_type,ident_by_icmp_type,ident_by_ip_protocol, andport.- Ident
By stringIp Protocol Ident by ip protocol
ℹ️ Note: You must specify exactly one of
ident_by_icmp6_type,ident_by_icmp_type,ident_by_ip_protocol, andport.- Ports List<string>
Port
ℹ️ Note: You must specify exactly one of
ident_by_icmp6_type,ident_by_icmp_type,ident_by_ip_protocol, andport.
- Ident
By GetIcmp6Type Application Default Ident By Icmp6Type - Ident by icmp6 type
- Ident
By GetIcmp Type Application Default Ident By Icmp Type Ident by icmp type
ℹ️ Note: You must specify exactly one of
ident_by_icmp6_type,ident_by_icmp_type,ident_by_ip_protocol, andport.- Ident
By stringIp Protocol Ident by ip protocol
ℹ️ Note: You must specify exactly one of
ident_by_icmp6_type,ident_by_icmp_type,ident_by_ip_protocol, andport.- Ports []string
Port
ℹ️ Note: You must specify exactly one of
ident_by_icmp6_type,ident_by_icmp_type,ident_by_ip_protocol, andport.
- ident
By GetIcmp6Type Application Default Ident By Icmp6Type - Ident by icmp6 type
- ident
By GetIcmp Type Application Default Ident By Icmp Type Ident by icmp type
ℹ️ Note: You must specify exactly one of
ident_by_icmp6_type,ident_by_icmp_type,ident_by_ip_protocol, andport.- ident
By StringIp Protocol Ident by ip protocol
ℹ️ Note: You must specify exactly one of
ident_by_icmp6_type,ident_by_icmp_type,ident_by_ip_protocol, andport.- ports List<String>
Port
ℹ️ Note: You must specify exactly one of
ident_by_icmp6_type,ident_by_icmp_type,ident_by_ip_protocol, andport.
- ident
By GetIcmp6Type Application Default Ident By Icmp6Type - Ident by icmp6 type
- ident
By GetIcmp Type Application Default Ident By Icmp Type Ident by icmp type
ℹ️ Note: You must specify exactly one of
ident_by_icmp6_type,ident_by_icmp_type,ident_by_ip_protocol, andport.- ident
By stringIp Protocol Ident by ip protocol
ℹ️ Note: You must specify exactly one of
ident_by_icmp6_type,ident_by_icmp_type,ident_by_ip_protocol, andport.- ports string[]
Port
ℹ️ Note: You must specify exactly one of
ident_by_icmp6_type,ident_by_icmp_type,ident_by_ip_protocol, andport.
- ident_
by_ Geticmp6_ type Application Default Ident By Icmp6Type - Ident by icmp6 type
- ident_
by_ Geticmp_ type Application Default Ident By Icmp Type Ident by icmp type
ℹ️ Note: You must specify exactly one of
ident_by_icmp6_type,ident_by_icmp_type,ident_by_ip_protocol, andport.- ident_
by_ strip_ protocol Ident by ip protocol
ℹ️ Note: You must specify exactly one of
ident_by_icmp6_type,ident_by_icmp_type,ident_by_ip_protocol, andport.- ports Sequence[str]
Port
ℹ️ Note: You must specify exactly one of
ident_by_icmp6_type,ident_by_icmp_type,ident_by_ip_protocol, andport.
- ident
By Property MapIcmp6Type - Ident by icmp6 type
- ident
By Property MapIcmp Type Ident by icmp type
ℹ️ Note: You must specify exactly one of
ident_by_icmp6_type,ident_by_icmp_type,ident_by_ip_protocol, andport.- ident
By StringIp Protocol Ident by ip protocol
ℹ️ Note: You must specify exactly one of
ident_by_icmp6_type,ident_by_icmp_type,ident_by_ip_protocol, andport.- ports List<String>
Port
ℹ️ Note: You must specify exactly one of
ident_by_icmp6_type,ident_by_icmp_type,ident_by_ip_protocol, andport.
GetApplicationDefaultIdentByIcmp6Type
GetApplicationDefaultIdentByIcmpType
GetApplicationSignature
- And
Conditions List<GetApplication Signature And Condition> - And condition
- Comment string
- Comment
- Name string
- Alphanumeric string [ 0-9a-zA-Z._-]
- Order
Free bool - Order free
- Scope string
- Scope
- And
Conditions []GetApplication Signature And Condition - And condition
- Comment string
- Comment
- Name string
- Alphanumeric string [ 0-9a-zA-Z._-]
- Order
Free bool - Order free
- Scope string
- Scope
- and
Conditions List<GetApplication Signature And Condition> - And condition
- comment String
- Comment
- name String
- Alphanumeric string [ 0-9a-zA-Z._-]
- order
Free Boolean - Order free
- scope String
- Scope
- and
Conditions GetApplication Signature And Condition[] - And condition
- comment string
- Comment
- name string
- Alphanumeric string [ 0-9a-zA-Z._-]
- order
Free boolean - Order free
- scope string
- Scope
- and_
conditions Sequence[GetApplication Signature And Condition] - And condition
- comment str
- Comment
- name str
- Alphanumeric string [ 0-9a-zA-Z._-]
- order_
free bool - Order free
- scope str
- Scope
- and
Conditions List<Property Map> - And condition
- comment String
- Comment
- name String
- Alphanumeric string [ 0-9a-zA-Z._-]
- order
Free Boolean - Order free
- scope String
- Scope
GetApplicationSignatureAndCondition
- Name string
- Alphanumeric string [ 0-9a-zA-Z._-]
- Or
Conditions List<GetApplication Signature And Condition Or Condition> - Or condition
- Name string
- Alphanumeric string [ 0-9a-zA-Z._-]
- Or
Conditions []GetApplication Signature And Condition Or Condition - Or condition
- name String
- Alphanumeric string [ 0-9a-zA-Z._-]
- or
Conditions List<GetApplication Signature And Condition Or Condition> - Or condition
- name string
- Alphanumeric string [ 0-9a-zA-Z._-]
- or
Conditions GetApplication Signature And Condition Or Condition[] - Or condition
- name str
- Alphanumeric string [ 0-9a-zA-Z._-]
- or_
conditions Sequence[GetApplication Signature And Condition Or Condition] - Or condition
- name String
- Alphanumeric string [ 0-9a-zA-Z._-]
- or
Conditions List<Property Map> - Or condition
GetApplicationSignatureAndConditionOrCondition
- Name string
- Alphanumeric string [ 0-9a-zA-Z._-]
- Operator
Get
Application Signature And Condition Or Condition Operator - Operator
- Name string
- Alphanumeric string [ 0-9a-zA-Z._-]
- Operator
Get
Application Signature And Condition Or Condition Operator - Operator
- name String
- Alphanumeric string [ 0-9a-zA-Z._-]
- operator
Get
Application Signature And Condition Or Condition Operator - Operator
- name string
- Alphanumeric string [ 0-9a-zA-Z._-]
- operator
Get
Application Signature And Condition Or Condition Operator - Operator
- name str
- Alphanumeric string [ 0-9a-zA-Z._-]
- operator
Get
Application Signature And Condition Or Condition Operator - Operator
- name String
- Alphanumeric string [ 0-9a-zA-Z._-]
- operator Property Map
- Operator
GetApplicationSignatureAndConditionOrConditionOperator
- Equal
To GetApplication Signature And Condition Or Condition Operator Equal To - Equal to
- Greater
Than GetApplication Signature And Condition Or Condition Operator Greater Than Greater than
ℹ️ Note: You must specify exactly one of
equal_to,greater_than,less_than, andpattern_match.- Less
Than GetApplication Signature And Condition Or Condition Operator Less Than Less than
ℹ️ Note: You must specify exactly one of
equal_to,greater_than,less_than, andpattern_match.- Pattern
Match GetApplication Signature And Condition Or Condition Operator Pattern Match Pattern match
ℹ️ Note: You must specify exactly one of
equal_to,greater_than,less_than, andpattern_match.
- Equal
To GetApplication Signature And Condition Or Condition Operator Equal To - Equal to
- Greater
Than GetApplication Signature And Condition Or Condition Operator Greater Than Greater than
ℹ️ Note: You must specify exactly one of
equal_to,greater_than,less_than, andpattern_match.- Less
Than GetApplication Signature And Condition Or Condition Operator Less Than Less than
ℹ️ Note: You must specify exactly one of
equal_to,greater_than,less_than, andpattern_match.- Pattern
Match GetApplication Signature And Condition Or Condition Operator Pattern Match Pattern match
ℹ️ Note: You must specify exactly one of
equal_to,greater_than,less_than, andpattern_match.
- equal
To GetApplication Signature And Condition Or Condition Operator Equal To - Equal to
- greater
Than GetApplication Signature And Condition Or Condition Operator Greater Than Greater than
ℹ️ Note: You must specify exactly one of
equal_to,greater_than,less_than, andpattern_match.- less
Than GetApplication Signature And Condition Or Condition Operator Less Than Less than
ℹ️ Note: You must specify exactly one of
equal_to,greater_than,less_than, andpattern_match.- pattern
Match GetApplication Signature And Condition Or Condition Operator Pattern Match Pattern match
ℹ️ Note: You must specify exactly one of
equal_to,greater_than,less_than, andpattern_match.
- equal
To GetApplication Signature And Condition Or Condition Operator Equal To - Equal to
- greater
Than GetApplication Signature And Condition Or Condition Operator Greater Than Greater than
ℹ️ Note: You must specify exactly one of
equal_to,greater_than,less_than, andpattern_match.- less
Than GetApplication Signature And Condition Or Condition Operator Less Than Less than
ℹ️ Note: You must specify exactly one of
equal_to,greater_than,less_than, andpattern_match.- pattern
Match GetApplication Signature And Condition Or Condition Operator Pattern Match Pattern match
ℹ️ Note: You must specify exactly one of
equal_to,greater_than,less_than, andpattern_match.
- equal_
to GetApplication Signature And Condition Or Condition Operator Equal To - Equal to
- greater_
than GetApplication Signature And Condition Or Condition Operator Greater Than Greater than
ℹ️ Note: You must specify exactly one of
equal_to,greater_than,less_than, andpattern_match.- less_
than GetApplication Signature And Condition Or Condition Operator Less Than Less than
ℹ️ Note: You must specify exactly one of
equal_to,greater_than,less_than, andpattern_match.- pattern_
match GetApplication Signature And Condition Or Condition Operator Pattern Match Pattern match
ℹ️ Note: You must specify exactly one of
equal_to,greater_than,less_than, andpattern_match.
- equal
To Property Map - Equal to
- greater
Than Property Map Greater than
ℹ️ Note: You must specify exactly one of
equal_to,greater_than,less_than, andpattern_match.- less
Than Property Map Less than
ℹ️ Note: You must specify exactly one of
equal_to,greater_than,less_than, andpattern_match.- pattern
Match Property Map Pattern match
ℹ️ Note: You must specify exactly one of
equal_to,greater_than,less_than, andpattern_match.
GetApplicationSignatureAndConditionOrConditionOperatorEqualTo
GetApplicationSignatureAndConditionOrConditionOperatorGreaterThan
- Context string
- Context
- Qualifiers
List<Get
Application Signature And Condition Or Condition Operator Greater Than Qualifier> - Qualifier
- Value int
- Value
- Context string
- Context
- Qualifiers
[]Get
Application Signature And Condition Or Condition Operator Greater Than Qualifier - Qualifier
- Value int
- Value
- context String
- Context
- qualifiers
List<Get
Application Signature And Condition Or Condition Operator Greater Than Qualifier> - Qualifier
- value Integer
- Value
- context string
- Context
- qualifiers
Get
Application Signature And Condition Or Condition Operator Greater Than Qualifier[] - Qualifier
- value number
- Value
- context str
- Context
- qualifiers
Sequence[Get
Application Signature And Condition Or Condition Operator Greater Than Qualifier] - Qualifier
- value int
- Value
- context String
- Context
- qualifiers List<Property Map>
- Qualifier
- value Number
- Value
GetApplicationSignatureAndConditionOrConditionOperatorGreaterThanQualifier
GetApplicationSignatureAndConditionOrConditionOperatorLessThan
- Context string
- Context
- Qualifiers
List<Get
Application Signature And Condition Or Condition Operator Less Than Qualifier> - Qualifier
- Value int
- Value
- Context string
- Context
- Qualifiers
[]Get
Application Signature And Condition Or Condition Operator Less Than Qualifier - Qualifier
- Value int
- Value
- context String
- Context
- qualifiers
List<Get
Application Signature And Condition Or Condition Operator Less Than Qualifier> - Qualifier
- value Integer
- Value
- context string
- Context
- qualifiers
Get
Application Signature And Condition Or Condition Operator Less Than Qualifier[] - Qualifier
- value number
- Value
- context str
- Context
- qualifiers
Sequence[Get
Application Signature And Condition Or Condition Operator Less Than Qualifier] - Qualifier
- value int
- Value
- context String
- Context
- qualifiers List<Property Map>
- Qualifier
- value Number
- Value
GetApplicationSignatureAndConditionOrConditionOperatorLessThanQualifier
GetApplicationSignatureAndConditionOrConditionOperatorPatternMatch
- Context string
- Context
- Pattern string
- Pattern
- Qualifiers
List<Get
Application Signature And Condition Or Condition Operator Pattern Match Qualifier> - Qualifier
- Context string
- Context
- Pattern string
- Pattern
- Qualifiers
[]Get
Application Signature And Condition Or Condition Operator Pattern Match Qualifier - Qualifier
- context String
- Context
- pattern String
- Pattern
- qualifiers
List<Get
Application Signature And Condition Or Condition Operator Pattern Match Qualifier> - Qualifier
- context string
- Context
- pattern string
- Pattern
- qualifiers
Get
Application Signature And Condition Or Condition Operator Pattern Match Qualifier[] - Qualifier
- context str
- Context
- pattern str
- Pattern
- qualifiers
Sequence[Get
Application Signature And Condition Or Condition Operator Pattern Match Qualifier] - Qualifier
- context String
- Context
- pattern String
- Pattern
- qualifiers List<Property Map>
- Qualifier
GetApplicationSignatureAndConditionOrConditionOperatorPatternMatchQualifier
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
