UNPKG

@pulumi/scm

Version:

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

152 lines (151 loc) 4.24 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * DosProtectionRule data source */ export declare function getDosProtectionRule(args: GetDosProtectionRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetDosProtectionRuleResult>; /** * A collection of arguments for invoking getDosProtectionRule. */ export interface GetDosProtectionRuleArgs { /** * 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 DNS security profile */ id: string; /** * Rule name */ 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 getDosProtectionRule. */ export interface GetDosProtectionRuleResult { /** * The action to take on rule match */ readonly action: outputs.GetDosProtectionRuleAction; /** * Description */ readonly description: string; /** * List of destination addresses */ readonly destinations: string[]; /** * The device in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly device: string; /** * Rule disabled? */ readonly disabled: boolean; /** * The folder in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly folder: string; /** * List of source zones */ readonly froms: string[]; /** * The UUID of the DNS security profile */ readonly id: string; /** * Log forwarding profile name */ readonly logSetting: string; /** * Rule name */ readonly name: string; /** * Position relative to local device rules */ readonly position: string; /** * Protection */ readonly protection: outputs.GetDosProtectionRuleProtection; /** * Schedule on which to enforce the rule */ readonly schedule: string; /** * List of services */ readonly services: string[]; /** * The snippet in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly snippet: string; /** * List of source users and/or groups. Reserved words include `any`, `pre-login`, `known-user`, and `unknown`. */ readonly sourceUsers: string[]; /** * List of source addresses */ readonly sources: string[]; /** * List of tags */ readonly tags: string[]; readonly tfid: string; /** * List of destination zones */ readonly tos: string[]; } /** * DosProtectionRule data source */ export declare function getDosProtectionRuleOutput(args: GetDosProtectionRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDosProtectionRuleResult>; /** * A collection of arguments for invoking getDosProtectionRule. */ export interface GetDosProtectionRuleOutputArgs { /** * 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 DNS security profile */ id: pulumi.Input<string>; /** * Rule name */ 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>; }