UNPKG

@pulumi/scm

Version:

A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1

232 lines (231 loc) 5.91 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Application data source * * ## Example Usage * * ```typescript * 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; * ``` */ export declare function getApplication(args: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise<GetApplicationResult>; /** * A collection of arguments for invoking getApplication. */ export interface GetApplicationArgs { /** * The device in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ device?: string; /** * The folder in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ folder?: string; /** * The UUID of the application */ id: string; /** * The name of the application */ name?: string; /** * The snippet in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ snippet?: string; } /** * A collection of values returned by getApplication. */ export interface GetApplicationResult { /** * Able to transfer file */ readonly ableToTransferFile: boolean; /** * Alg disable capability */ readonly algDisableCapability: string; /** * Category */ readonly category: string; /** * Consume big bandwidth */ readonly consumeBigBandwidth: boolean; /** * Data ident */ readonly dataIdent: boolean; /** * Default */ readonly default: outputs.GetApplicationDefault; /** * Description */ readonly description: string; /** * The device in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly device: string; /** * Evasive behavior */ readonly evasiveBehavior: boolean; /** * File type ident */ readonly fileTypeIdent: boolean; /** * The folder in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly folder: string; /** * Has known vulnerability */ readonly hasKnownVulnerability: boolean; /** * The UUID of the application */ readonly id: string; /** * The name of the application */ readonly name: string; /** * No appid caching */ readonly noAppidCaching: boolean; /** * Parent app */ readonly parentApp: string; /** * Pervasive use */ readonly pervasiveUse: boolean; /** * Prone to misuse */ readonly proneToMisuse: boolean; /** * Risk */ readonly risk: string; /** * Signature */ readonly signatures: outputs.GetApplicationSignature[]; /** * The snippet in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly snippet: string; /** * Subcategory */ readonly subcategory: string; /** * timeout for half-close session in seconds */ readonly tcpHalfClosedTimeout: number; /** * timeout for session in timeWait state in seconds */ readonly tcpTimeWaitTimeout: number; /** * timeout in seconds */ readonly tcpTimeout: number; /** * Technology */ readonly technology: string; readonly tfid: string; /** * timeout in seconds */ readonly timeout: number; /** * Tunnel applications */ readonly tunnelApplications: boolean; /** * Tunnel other application */ readonly tunnelOtherApplication: boolean; /** * timeout in seconds */ readonly udpTimeout: number; /** * Used by malware */ readonly usedByMalware: boolean; /** * Virus ident */ readonly virusIdent: boolean; } /** * Application data source * * ## Example Usage * * ```typescript * 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; * ``` */ export declare function getApplicationOutput(args: GetApplicationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetApplicationResult>; /** * A collection of arguments for invoking getApplication. */ export interface GetApplicationOutputArgs { /** * The device in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ device?: pulumi.Input<string>; /** * The folder in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ folder?: pulumi.Input<string>; /** * The UUID of the application */ id: pulumi.Input<string>; /** * The name of the application */ name?: pulumi.Input<string>; /** * The snippet in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ snippet?: pulumi.Input<string>; }