UNPKG

@pulumi/scm

Version:

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

108 lines (107 loc) 3.84 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 UUID of the anti-spyware profile */ id: string; /** * The name of the anti-spyware profile */ name?: 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 */ readonly device: string; readonly folder: string; /** * The UUID of the anti-spyware profile */ readonly id: string; readonly inlineExceptionEdlUrls: string[]; readonly inlineExceptionIpAddresses: string[]; readonly micaEngineSpywareEnableds: outputs.GetAntiSpywareProfileMicaEngineSpywareEnabled[]; /** * The name of the anti-spyware profile */ readonly name: string; readonly rules: outputs.GetAntiSpywareProfileRule[]; readonly snippet: string; readonly tfid: string; 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 UUID of the anti-spyware profile */ id: pulumi.Input<string>; /** * The name of the anti-spyware profile */ name?: pulumi.Input<string>; }