UNPKG

@pulumi/scm

Version:

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

137 lines (136 loc) 3.33 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Retrieves a config item. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const example = scm.getSecurityRule({ * id: "1234-56-789", * }); * ``` */ export declare function getSecurityRule(args: GetSecurityRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetSecurityRuleResult>; /** * A collection of arguments for invoking getSecurityRule. */ export interface GetSecurityRuleArgs { /** * The Id param. */ id: string; } /** * A collection of values returned by getSecurityRule. */ export interface GetSecurityRuleResult { /** * The action to be taken when the rule is matched. String must be one of these: `"allow"`, `"deny"`, `"drop"`, `"reset-client"`, `"reset-server"`, `"reset-both"`. */ readonly action: string; /** * The application(s) being accessed. */ readonly applications: string[]; /** * The URL categories being accessed. */ readonly categories: string[]; /** * The description of the security rule. */ readonly description: string; /** * The destination Host Integrity Profile(s). */ readonly destinationHips: string[]; /** * The destination address(es). */ readonly destinations: string[]; /** * The state of the security rule. Default: `false`. */ readonly disabled: boolean; /** * The source security zone(s). */ readonly froms: string[]; /** * The Id param. */ readonly id: string; /** * The external log forwarding profile. */ readonly logSetting: string; /** * The name of the security rule. */ readonly name: string; /** * Negate the destination addresses(es). Default: `false`. */ readonly negateDestination: boolean; /** * Negate the source address(es). Default: `false`. */ readonly negateSource: boolean; /** * The security profile object. */ readonly profileSetting: outputs.GetSecurityRuleProfileSetting; /** * The service(s) being accessed. */ readonly services: string[]; /** * The source Host Integrity Profile(s). */ readonly sourceHips: string[]; /** * The source user(s) or group(s). */ readonly sourceUsers: string[]; /** * The source address(es). */ readonly sources: string[]; /** * The tags associated with the security rule. */ readonly tags: string[]; readonly tfid: string; /** * The destination security zone(s). */ readonly tos: string[]; } /** * Retrieves a config item. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const example = scm.getSecurityRule({ * id: "1234-56-789", * }); * ``` */ export declare function getSecurityRuleOutput(args: GetSecurityRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSecurityRuleResult>; /** * A collection of arguments for invoking getSecurityRule. */ export interface GetSecurityRuleOutputArgs { /** * The Id param. */ id: pulumi.Input<string>; }