@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
272 lines (271 loc) • 8.08 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* DosProtectionRule resource
*/
export declare class DosProtectionRule extends pulumi.CustomResource {
/**
* Get an existing DosProtectionRule resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DosProtectionRuleState, opts?: pulumi.CustomResourceOptions): DosProtectionRule;
/**
* Returns true if the given object is an instance of DosProtectionRule. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is DosProtectionRule;
/**
* The action to take on rule match
*/
readonly action: pulumi.Output<outputs.DosProtectionRuleAction | undefined>;
/**
* Description
*/
readonly description: pulumi.Output<string | undefined>;
/**
* List of destination addresses
*/
readonly destinations: pulumi.Output<string[] | undefined>;
/**
* The device in which the resource is defined
*/
readonly device: pulumi.Output<string | undefined>;
/**
* Rule disabled?
*/
readonly disabled: pulumi.Output<boolean>;
/**
* The folder in which the resource is defined
*
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
readonly folder: pulumi.Output<string | undefined>;
/**
* List of source zones
*/
readonly froms: pulumi.Output<string[] | undefined>;
/**
* Log forwarding profile name
*/
readonly logSetting: pulumi.Output<string>;
/**
* Rule name
*/
readonly name: pulumi.Output<string>;
/**
* Position relative to local device rules
*/
readonly position: pulumi.Output<string>;
/**
* Protection
*/
readonly protection: pulumi.Output<outputs.DosProtectionRuleProtection | undefined>;
/**
* Schedule on which to enforce the rule
*/
readonly schedule: pulumi.Output<string | undefined>;
/**
* List of services
*/
readonly services: pulumi.Output<string[] | undefined>;
/**
* The snippet in which the resource is defined
*
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
readonly snippet: pulumi.Output<string | undefined>;
/**
* List of source users and/or groups. Reserved words include `any`, `pre-login`, `known-user`, and `unknown`.
*/
readonly sourceUsers: pulumi.Output<string[] | undefined>;
/**
* List of source addresses
*/
readonly sources: pulumi.Output<string[] | undefined>;
/**
* List of tags
*/
readonly tags: pulumi.Output<string[] | undefined>;
readonly tfid: pulumi.Output<string>;
/**
* List of destination zones
*/
readonly tos: pulumi.Output<string[] | undefined>;
/**
* Create a DosProtectionRule resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: DosProtectionRuleArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering DosProtectionRule resources.
*/
export interface DosProtectionRuleState {
/**
* The action to take on rule match
*/
action?: pulumi.Input<inputs.DosProtectionRuleAction>;
/**
* Description
*/
description?: pulumi.Input<string>;
/**
* List of destination addresses
*/
destinations?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The device in which the resource is defined
*/
device?: pulumi.Input<string>;
/**
* Rule disabled?
*/
disabled?: pulumi.Input<boolean>;
/**
* The folder in which the resource is defined
*
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
folder?: pulumi.Input<string>;
/**
* List of source zones
*/
froms?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Log forwarding profile name
*/
logSetting?: pulumi.Input<string>;
/**
* Rule name
*/
name?: pulumi.Input<string>;
/**
* Position relative to local device rules
*/
position?: pulumi.Input<string>;
/**
* Protection
*/
protection?: pulumi.Input<inputs.DosProtectionRuleProtection>;
/**
* Schedule on which to enforce the rule
*/
schedule?: pulumi.Input<string>;
/**
* List of services
*/
services?: pulumi.Input<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>;
/**
* List of source users and/or groups. Reserved words include `any`, `pre-login`, `known-user`, and `unknown`.
*/
sourceUsers?: pulumi.Input<pulumi.Input<string>[]>;
/**
* List of source addresses
*/
sources?: pulumi.Input<pulumi.Input<string>[]>;
/**
* List of tags
*/
tags?: pulumi.Input<pulumi.Input<string>[]>;
tfid?: pulumi.Input<string>;
/**
* List of destination zones
*/
tos?: pulumi.Input<pulumi.Input<string>[]>;
}
/**
* The set of arguments for constructing a DosProtectionRule resource.
*/
export interface DosProtectionRuleArgs {
/**
* The action to take on rule match
*/
action?: pulumi.Input<inputs.DosProtectionRuleAction>;
/**
* Description
*/
description?: pulumi.Input<string>;
/**
* List of destination addresses
*/
destinations?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The device in which the resource is defined
*/
device?: pulumi.Input<string>;
/**
* Rule disabled?
*/
disabled?: pulumi.Input<boolean>;
/**
* The folder in which the resource is defined
*
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
folder?: pulumi.Input<string>;
/**
* List of source zones
*/
froms?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Log forwarding profile name
*/
logSetting?: pulumi.Input<string>;
/**
* Rule name
*/
name?: pulumi.Input<string>;
/**
* Position relative to local device rules
*/
position?: pulumi.Input<string>;
/**
* Protection
*/
protection?: pulumi.Input<inputs.DosProtectionRuleProtection>;
/**
* Schedule on which to enforce the rule
*/
schedule?: pulumi.Input<string>;
/**
* List of services
*/
services?: pulumi.Input<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>;
/**
* List of source users and/or groups. Reserved words include `any`, `pre-login`, `known-user`, and `unknown`.
*/
sourceUsers?: pulumi.Input<pulumi.Input<string>[]>;
/**
* List of source addresses
*/
sources?: pulumi.Input<pulumi.Input<string>[]>;
/**
* List of tags
*/
tags?: pulumi.Input<pulumi.Input<string>[]>;
/**
* List of destination zones
*/
tos?: pulumi.Input<pulumi.Input<string>[]>;
}