UNPKG

@pulumi/scm

Version:

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

162 lines (161 loc) 5.6 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * AntiSpywareProfile data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Look up anti-spyware-profile by ID * const scmAntiSpywareProfileDs = scm.getAntiSpywareProfile({ * id: "7720ab77-d9fe-42c1-8001-6ef2202aae8c", * }); * export const scmAntiSpywareProfileOutput = { * profileId: scmAntiSpywareProfileDs.then(scmAntiSpywareProfileDs => scmAntiSpywareProfileDs.id), * folder: scmAntiSpywareProfileDs.then(scmAntiSpywareProfileDs => scmAntiSpywareProfileDs.folder), * name: scmAntiSpywareProfileDs.then(scmAntiSpywareProfileDs => scmAntiSpywareProfileDs.name), * description: scmAntiSpywareProfileDs.then(scmAntiSpywareProfileDs => scmAntiSpywareProfileDs.description), * cloudInlineAnalysis: scmAntiSpywareProfileDs.then(scmAntiSpywareProfileDs => scmAntiSpywareProfileDs.cloudInlineAnalysis), * }; * ``` */ export declare function getAntiSpywareProfile(args: GetAntiSpywareProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetAntiSpywareProfileResult>; /** * A collection of arguments for invoking getAntiSpywareProfile. */ export interface GetAntiSpywareProfileArgs { /** * 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 anti-spyware profile */ id: string; /** * The name of the anti-spyware profile */ 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 getAntiSpywareProfile. */ export interface GetAntiSpywareProfileResult { /** * Cloud inline analysis */ readonly cloudInlineAnalysis: boolean; /** * 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; /** * The folder in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly folder: string; /** * The UUID of the anti-spyware profile */ readonly id: string; /** * Inline exception edl url */ readonly inlineExceptionEdlUrls: string[]; /** * Inline exception ip address */ readonly inlineExceptionIpAddresses: string[]; /** * Mica engine spyware enabled */ readonly micaEngineSpywareEnableds: outputs.GetAntiSpywareProfileMicaEngineSpywareEnabled[]; /** * The name of the anti-spyware profile */ readonly name: string; /** * Rules */ readonly rules: outputs.GetAntiSpywareProfileRule[]; /** * The snippet in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly snippet: string; readonly tfid: string; /** * Threat exception */ readonly threatExceptions: outputs.GetAntiSpywareProfileThreatException[]; } /** * AntiSpywareProfile data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Look up anti-spyware-profile by ID * const scmAntiSpywareProfileDs = scm.getAntiSpywareProfile({ * id: "7720ab77-d9fe-42c1-8001-6ef2202aae8c", * }); * export const scmAntiSpywareProfileOutput = { * profileId: scmAntiSpywareProfileDs.then(scmAntiSpywareProfileDs => scmAntiSpywareProfileDs.id), * folder: scmAntiSpywareProfileDs.then(scmAntiSpywareProfileDs => scmAntiSpywareProfileDs.folder), * name: scmAntiSpywareProfileDs.then(scmAntiSpywareProfileDs => scmAntiSpywareProfileDs.name), * description: scmAntiSpywareProfileDs.then(scmAntiSpywareProfileDs => scmAntiSpywareProfileDs.description), * cloudInlineAnalysis: scmAntiSpywareProfileDs.then(scmAntiSpywareProfileDs => scmAntiSpywareProfileDs.cloudInlineAnalysis), * }; * ``` */ export declare function getAntiSpywareProfileOutput(args: GetAntiSpywareProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAntiSpywareProfileResult>; /** * A collection of arguments for invoking getAntiSpywareProfile. */ export interface GetAntiSpywareProfileOutputArgs { /** * 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 anti-spyware profile */ id: pulumi.Input<string>; /** * The name of the anti-spyware profile */ 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>; }