published on Friday, Oct 16, 2026 by Pulumi
Strata Cloud Managerpublished on Friday, Oct 16, 2026 by Pulumi
DosProtectionRule resource
Create DosProtectionRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DosProtectionRule(name: string, args: DosProtectionRuleArgs, opts?: CustomResourceOptions);@overload
def DosProtectionRule(resource_name: str,
args: DosProtectionRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DosProtectionRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
from_: Optional[DosProtectionRuleFromArgs] = None,
to: Optional[DosProtectionRuleToArgs] = None,
sources: Optional[Sequence[str]] = None,
services: Optional[Sequence[str]] = None,
protection: Optional[DosProtectionRuleProtectionArgs] = None,
disabled: Optional[bool] = None,
folder: Optional[str] = None,
log_setting: Optional[str] = None,
name: Optional[str] = None,
position: Optional[str] = None,
action: Optional[DosProtectionRuleActionArgs] = None,
schedule: Optional[str] = None,
device: Optional[str] = None,
snippet: Optional[str] = None,
source_users: Optional[Sequence[str]] = None,
destinations: Optional[Sequence[str]] = None,
tags: Optional[Sequence[str]] = None,
description: Optional[str] = None)func NewDosProtectionRule(ctx *Context, name string, args DosProtectionRuleArgs, opts ...ResourceOption) (*DosProtectionRule, error)public DosProtectionRule(string name, DosProtectionRuleArgs args, CustomResourceOptions? opts = null)
public DosProtectionRule(String name, DosProtectionRuleArgs args)
public DosProtectionRule(String name, DosProtectionRuleArgs args, CustomResourceOptions options)
type: scm:DosProtectionRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "scm_dos_protection_rule" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args DosProtectionRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DosProtectionRuleArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DosProtectionRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DosProtectionRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DosProtectionRuleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var dosProtectionRuleResource = new Scm.DosProtectionRule("dosProtectionRuleResource", new()
{
From = new Scm.Inputs.DosProtectionRuleFromArgs
{
Interfaces = new[]
{
"string",
},
Zones = new[]
{
"string",
},
},
To = new Scm.Inputs.DosProtectionRuleToArgs
{
Interfaces = new[]
{
"string",
},
Zones = new[]
{
"string",
},
},
Sources = new[]
{
"string",
},
Services = new[]
{
"string",
},
Protection = new Scm.Inputs.DosProtectionRuleProtectionArgs
{
Aggregate = new Scm.Inputs.DosProtectionRuleProtectionAggregateArgs
{
Profile = "string",
},
Classified = new Scm.Inputs.DosProtectionRuleProtectionClassifiedArgs
{
Profile = "string",
ClassificationCriteria = new Scm.Inputs.DosProtectionRuleProtectionClassifiedClassificationCriteriaArgs
{
Address = "string",
},
},
},
Disabled = false,
Folder = "string",
LogSetting = "string",
Name = "string",
Position = "string",
Action = new Scm.Inputs.DosProtectionRuleActionArgs
{
Allow = null,
Deny = null,
Protect = null,
},
Schedule = "string",
Device = "string",
Snippet = "string",
SourceUsers = new[]
{
"string",
},
Destinations = new[]
{
"string",
},
Tags = new[]
{
"string",
},
Description = "string",
});
example, err := scm.NewDosProtectionRule(ctx, "dosProtectionRuleResource", &scm.DosProtectionRuleArgs{
From: &scm.DosProtectionRuleFromArgs{
Interfaces: pulumi.StringArray{
pulumi.String("string"),
},
Zones: pulumi.StringArray{
pulumi.String("string"),
},
},
To: &scm.DosProtectionRuleToArgs{
Interfaces: pulumi.StringArray{
pulumi.String("string"),
},
Zones: pulumi.StringArray{
pulumi.String("string"),
},
},
Sources: pulumi.StringArray{
pulumi.String("string"),
},
Services: pulumi.StringArray{
pulumi.String("string"),
},
Protection: &scm.DosProtectionRuleProtectionArgs{
Aggregate: &scm.DosProtectionRuleProtectionAggregateArgs{
Profile: pulumi.String("string"),
},
Classified: &scm.DosProtectionRuleProtectionClassifiedArgs{
Profile: pulumi.String("string"),
ClassificationCriteria: &scm.DosProtectionRuleProtectionClassifiedClassificationCriteriaArgs{
Address: pulumi.String("string"),
},
},
},
Disabled: pulumi.Bool(false),
Folder: pulumi.String("string"),
LogSetting: pulumi.String("string"),
Name: pulumi.String("string"),
Position: pulumi.String("string"),
Action: &scm.DosProtectionRuleActionArgs{
Allow: &scm.DosProtectionRuleActionAllowArgs{},
Deny: &scm.DosProtectionRuleActionDenyArgs{},
Protect: &scm.DosProtectionRuleActionProtectArgs{},
},
Schedule: pulumi.String("string"),
Device: pulumi.String("string"),
Snippet: pulumi.String("string"),
SourceUsers: pulumi.StringArray{
pulumi.String("string"),
},
Destinations: pulumi.StringArray{
pulumi.String("string"),
},
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
})
resource "scm_dos_protection_rule" "dosProtectionRuleResource" {
lifecycle {
create_before_destroy = true
}
from = {
interfaces = ["string"]
zones = ["string"]
}
to = {
interfaces = ["string"]
zones = ["string"]
}
sources = ["string"]
services = ["string"]
protection = {
aggregate = {
profile = "string"
}
classified = {
profile = "string"
classification_criteria = {
address = "string"
}
}
}
disabled = false
folder = "string"
log_setting = "string"
name = "string"
position = "string"
action = {
allow = {}
deny = {}
protect = {}
}
schedule = "string"
device = "string"
snippet = "string"
source_users = ["string"]
destinations = ["string"]
tags = ["string"]
description = "string"
}
var dosProtectionRuleResource = new DosProtectionRule("dosProtectionRuleResource", DosProtectionRuleArgs.builder()
.from(DosProtectionRuleFromArgs.builder()
.interfaces("string")
.zones("string")
.build())
.to(DosProtectionRuleToArgs.builder()
.interfaces("string")
.zones("string")
.build())
.sources("string")
.services("string")
.protection(DosProtectionRuleProtectionArgs.builder()
.aggregate(DosProtectionRuleProtectionAggregateArgs.builder()
.profile("string")
.build())
.classified(DosProtectionRuleProtectionClassifiedArgs.builder()
.profile("string")
.classificationCriteria(DosProtectionRuleProtectionClassifiedClassificationCriteriaArgs.builder()
.address("string")
.build())
.build())
.build())
.disabled(false)
.folder("string")
.logSetting("string")
.name("string")
.position("string")
.action(DosProtectionRuleActionArgs.builder()
.allow(DosProtectionRuleActionAllowArgs.builder()
.build())
.deny(DosProtectionRuleActionDenyArgs.builder()
.build())
.protect(DosProtectionRuleActionProtectArgs.builder()
.build())
.build())
.schedule("string")
.device("string")
.snippet("string")
.sourceUsers("string")
.destinations("string")
.tags("string")
.description("string")
.build());
dos_protection_rule_resource = scm.DosProtectionRule("dosProtectionRuleResource",
from_={
"interfaces": ["string"],
"zones": ["string"],
},
to={
"interfaces": ["string"],
"zones": ["string"],
},
sources=["string"],
services=["string"],
protection={
"aggregate": {
"profile": "string",
},
"classified": {
"profile": "string",
"classification_criteria": {
"address": "string",
},
},
},
disabled=False,
folder="string",
log_setting="string",
name="string",
position="string",
action={
"allow": {},
"deny": {},
"protect": {},
},
schedule="string",
device="string",
snippet="string",
source_users=["string"],
destinations=["string"],
tags=["string"],
description="string")
const dosProtectionRuleResource = new scm.DosProtectionRule("dosProtectionRuleResource", {
from: {
interfaces: ["string"],
zones: ["string"],
},
to: {
interfaces: ["string"],
zones: ["string"],
},
sources: ["string"],
services: ["string"],
protection: {
aggregate: {
profile: "string",
},
classified: {
profile: "string",
classificationCriteria: {
address: "string",
},
},
},
disabled: false,
folder: "string",
logSetting: "string",
name: "string",
position: "string",
action: {
allow: {},
deny: {},
protect: {},
},
schedule: "string",
device: "string",
snippet: "string",
sourceUsers: ["string"],
destinations: ["string"],
tags: ["string"],
description: "string",
});
type: scm:DosProtectionRule
properties:
action:
allow: {}
deny: {}
protect: {}
description: string
destinations:
- string
device: string
disabled: false
folder: string
from:
interfaces:
- string
zones:
- string
logSetting: string
name: string
position: string
protection:
aggregate:
profile: string
classified:
classificationCriteria:
address: string
profile: string
schedule: string
services:
- string
snippet: string
sourceUsers:
- string
sources:
- string
tags:
- string
to:
interfaces:
- string
zones:
- string
DosProtectionRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DosProtectionRule resource accepts the following input properties:
- From
Dos
Protection Rule From - Source zones and interfaces
- Protection
Dos
Protection Rule Protection - Protection
- Services List<string>
- List of services
- Sources List<string>
- List of source addresses
- To
Dos
Protection Rule To - Destination zones and interfaces
- Action
Dos
Protection Rule Action - The action to take on rule match
- Description string
- Description
- Destinations List<string>
- List of destination addresses
- Device string
- The device in which the resource is defined
- Disabled bool
- Rule disabled?
- Folder string
- The folder in which the resource is defined
- Log
Setting string - Log forwarding profile name
- Name string
- Rule name
- Position string
- Position relative to local device rules. Possible values are
preandpost. - Schedule string
- Schedule on which to enforce the rule
- Snippet string
- The snippet in which the resource is defined
- Source
Users List<string> - List of source users and/or groups. Reserved words include
any,pre-login,known-user, andunknown. - List<string>
- List of tags
- From
Dos
Protection Rule From Args - Source zones and interfaces
- Protection
Dos
Protection Rule Protection Args - Protection
- Services []string
- List of services
- Sources []string
- List of source addresses
- To
Dos
Protection Rule To Args - Destination zones and interfaces
- Action
Dos
Protection Rule Action Args - The action to take on rule match
- Description string
- Description
- Destinations []string
- List of destination addresses
- Device string
- The device in which the resource is defined
- Disabled bool
- Rule disabled?
- Folder string
- The folder in which the resource is defined
- Log
Setting string - Log forwarding profile name
- Name string
- Rule name
- Position string
- Position relative to local device rules. Possible values are
preandpost. - Schedule string
- Schedule on which to enforce the rule
- Snippet string
- The snippet in which the resource is defined
- Source
Users []string - List of source users and/or groups. Reserved words include
any,pre-login,known-user, andunknown. - []string
- List of tags
- from object
- Source zones and interfaces
- protection object
- Protection
- services list(string)
- List of services
- sources list(string)
- List of source addresses
- to object
- Destination zones and interfaces
- action object
- The action to take on rule match
- description string
- Description
- destinations list(string)
- List of destination addresses
- device string
- The device in which the resource is defined
- disabled bool
- Rule disabled?
- folder string
- The folder in which the resource is defined
- log_
setting string - Log forwarding profile name
- name string
- Rule name
- position string
- Position relative to local device rules. Possible values are
preandpost. - schedule string
- Schedule on which to enforce the rule
- snippet string
- The snippet in which the resource is defined
- source_
users list(string) - List of source users and/or groups. Reserved words include
any,pre-login,known-user, andunknown. - list(string)
- List of tags
- from
Dos
Protection Rule From - Source zones and interfaces
- protection
Dos
Protection Rule Protection - Protection
- services List<String>
- List of services
- sources List<String>
- List of source addresses
- to
Dos
Protection Rule To - Destination zones and interfaces
- action
Dos
Protection Rule Action - The action to take on rule match
- description String
- Description
- destinations List<String>
- List of destination addresses
- device String
- The device in which the resource is defined
- disabled Boolean
- Rule disabled?
- folder String
- The folder in which the resource is defined
- log
Setting String - Log forwarding profile name
- name String
- Rule name
- position String
- Position relative to local device rules. Possible values are
preandpost. - schedule String
- Schedule on which to enforce the rule
- snippet String
- The snippet in which the resource is defined
- source
Users List<String> - List of source users and/or groups. Reserved words include
any,pre-login,known-user, andunknown. - List<String>
- List of tags
- from
Dos
Protection Rule From - Source zones and interfaces
- protection
Dos
Protection Rule Protection - Protection
- services string[]
- List of services
- sources string[]
- List of source addresses
- to
Dos
Protection Rule To - Destination zones and interfaces
- action
Dos
Protection Rule Action - The action to take on rule match
- description string
- Description
- destinations string[]
- List of destination addresses
- device string
- The device in which the resource is defined
- disabled boolean
- Rule disabled?
- folder string
- The folder in which the resource is defined
- log
Setting string - Log forwarding profile name
- name string
- Rule name
- position string
- Position relative to local device rules. Possible values are
preandpost. - schedule string
- Schedule on which to enforce the rule
- snippet string
- The snippet in which the resource is defined
- source
Users string[] - List of source users and/or groups. Reserved words include
any,pre-login,known-user, andunknown. - string[]
- List of tags
- from_
Dos
Protection Rule From Args - Source zones and interfaces
- protection
Dos
Protection Rule Protection Args - Protection
- services Sequence[str]
- List of services
- sources Sequence[str]
- List of source addresses
- to
Dos
Protection Rule To Args - Destination zones and interfaces
- action
Dos
Protection Rule Action Args - The action to take on rule match
- description str
- Description
- destinations Sequence[str]
- List of destination addresses
- device str
- The device in which the resource is defined
- disabled bool
- Rule disabled?
- folder str
- The folder in which the resource is defined
- log_
setting str - Log forwarding profile name
- name str
- Rule name
- position str
- Position relative to local device rules. Possible values are
preandpost. - schedule str
- Schedule on which to enforce the rule
- snippet str
- The snippet in which the resource is defined
- source_
users Sequence[str] - List of source users and/or groups. Reserved words include
any,pre-login,known-user, andunknown. - Sequence[str]
- List of tags
- from Property Map
- Source zones and interfaces
- protection Property Map
- Protection
- services List<String>
- List of services
- sources List<String>
- List of source addresses
- to Property Map
- Destination zones and interfaces
- action Property Map
- The action to take on rule match
- description String
- Description
- destinations List<String>
- List of destination addresses
- device String
- The device in which the resource is defined
- disabled Boolean
- Rule disabled?
- folder String
- The folder in which the resource is defined
- log
Setting String - Log forwarding profile name
- name String
- Rule name
- position String
- Position relative to local device rules. Possible values are
preandpost. - schedule String
- Schedule on which to enforce the rule
- snippet String
- The snippet in which the resource is defined
- source
Users List<String> - List of source users and/or groups. Reserved words include
any,pre-login,known-user, andunknown. - List<String>
- List of tags
Outputs
All input properties are implicitly available as output properties. Additionally, the DosProtectionRule resource produces the following output properties:
Look up Existing DosProtectionRule Resource
Get an existing DosProtectionRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DosProtectionRuleState, opts?: CustomResourceOptions): DosProtectionRule@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
action: Optional[DosProtectionRuleActionArgs] = None,
description: Optional[str] = None,
destinations: Optional[Sequence[str]] = None,
device: Optional[str] = None,
disabled: Optional[bool] = None,
folder: Optional[str] = None,
from_: Optional[DosProtectionRuleFromArgs] = None,
log_setting: Optional[str] = None,
name: Optional[str] = None,
position: Optional[str] = None,
protection: Optional[DosProtectionRuleProtectionArgs] = None,
schedule: Optional[str] = None,
services: Optional[Sequence[str]] = None,
snippet: Optional[str] = None,
source_users: Optional[Sequence[str]] = None,
sources: Optional[Sequence[str]] = None,
tags: Optional[Sequence[str]] = None,
tfid: Optional[str] = None,
to: Optional[DosProtectionRuleToArgs] = None) -> DosProtectionRulefunc GetDosProtectionRule(ctx *Context, name string, id IDInput, state *DosProtectionRuleState, opts ...ResourceOption) (*DosProtectionRule, error)public static DosProtectionRule Get(string name, Input<string> id, DosProtectionRuleState? state, CustomResourceOptions? opts = null)public static DosProtectionRule get(String name, Output<String> id, DosProtectionRuleState state, CustomResourceOptions options)resources: _: type: scm:DosProtectionRule get: id: ${id}import {
to = scm_dos_protection_rule.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Action
Dos
Protection Rule Action - The action to take on rule match
- Description string
- Description
- Destinations List<string>
- List of destination addresses
- Device string
- The device in which the resource is defined
- Disabled bool
- Rule disabled?
- Folder string
- The folder in which the resource is defined
- From
Dos
Protection Rule From - Source zones and interfaces
- Log
Setting string - Log forwarding profile name
- Name string
- Rule name
- Position string
- Position relative to local device rules. Possible values are
preandpost. - Protection
Dos
Protection Rule Protection - Protection
- Schedule string
- Schedule on which to enforce the rule
- Services List<string>
- List of services
- Snippet string
- The snippet in which the resource is defined
- Source
Users List<string> - List of source users and/or groups. Reserved words include
any,pre-login,known-user, andunknown. - Sources List<string>
- List of source addresses
- List<string>
- List of tags
- Tfid string
- The Terraform ID.
- To
Dos
Protection Rule To - Destination zones and interfaces
- Action
Dos
Protection Rule Action Args - The action to take on rule match
- Description string
- Description
- Destinations []string
- List of destination addresses
- Device string
- The device in which the resource is defined
- Disabled bool
- Rule disabled?
- Folder string
- The folder in which the resource is defined
- From
Dos
Protection Rule From Args - Source zones and interfaces
- Log
Setting string - Log forwarding profile name
- Name string
- Rule name
- Position string
- Position relative to local device rules. Possible values are
preandpost. - Protection
Dos
Protection Rule Protection Args - Protection
- Schedule string
- Schedule on which to enforce the rule
- Services []string
- List of services
- Snippet string
- The snippet in which the resource is defined
- Source
Users []string - List of source users and/or groups. Reserved words include
any,pre-login,known-user, andunknown. - Sources []string
- List of source addresses
- []string
- List of tags
- Tfid string
- The Terraform ID.
- To
Dos
Protection Rule To Args - Destination zones and interfaces
- action object
- The action to take on rule match
- description string
- Description
- destinations list(string)
- List of destination addresses
- device string
- The device in which the resource is defined
- disabled bool
- Rule disabled?
- folder string
- The folder in which the resource is defined
- from object
- Source zones and interfaces
- log_
setting string - Log forwarding profile name
- name string
- Rule name
- position string
- Position relative to local device rules. Possible values are
preandpost. - protection object
- Protection
- schedule string
- Schedule on which to enforce the rule
- services list(string)
- List of services
- snippet string
- The snippet in which the resource is defined
- source_
users list(string) - List of source users and/or groups. Reserved words include
any,pre-login,known-user, andunknown. - sources list(string)
- List of source addresses
- list(string)
- List of tags
- tfid string
- The Terraform ID.
- to object
- Destination zones and interfaces
- action
Dos
Protection Rule Action - The action to take on rule match
- description String
- Description
- destinations List<String>
- List of destination addresses
- device String
- The device in which the resource is defined
- disabled Boolean
- Rule disabled?
- folder String
- The folder in which the resource is defined
- from
Dos
Protection Rule From - Source zones and interfaces
- log
Setting String - Log forwarding profile name
- name String
- Rule name
- position String
- Position relative to local device rules. Possible values are
preandpost. - protection
Dos
Protection Rule Protection - Protection
- schedule String
- Schedule on which to enforce the rule
- services List<String>
- List of services
- snippet String
- The snippet in which the resource is defined
- source
Users List<String> - List of source users and/or groups. Reserved words include
any,pre-login,known-user, andunknown. - sources List<String>
- List of source addresses
- List<String>
- List of tags
- tfid String
- The Terraform ID.
- to
Dos
Protection Rule To - Destination zones and interfaces
- action
Dos
Protection Rule Action - The action to take on rule match
- description string
- Description
- destinations string[]
- List of destination addresses
- device string
- The device in which the resource is defined
- disabled boolean
- Rule disabled?
- folder string
- The folder in which the resource is defined
- from
Dos
Protection Rule From - Source zones and interfaces
- log
Setting string - Log forwarding profile name
- name string
- Rule name
- position string
- Position relative to local device rules. Possible values are
preandpost. - protection
Dos
Protection Rule Protection - Protection
- schedule string
- Schedule on which to enforce the rule
- services string[]
- List of services
- snippet string
- The snippet in which the resource is defined
- source
Users string[] - List of source users and/or groups. Reserved words include
any,pre-login,known-user, andunknown. - sources string[]
- List of source addresses
- string[]
- List of tags
- tfid string
- The Terraform ID.
- to
Dos
Protection Rule To - Destination zones and interfaces
- action
Dos
Protection Rule Action Args - The action to take on rule match
- description str
- Description
- destinations Sequence[str]
- List of destination addresses
- device str
- The device in which the resource is defined
- disabled bool
- Rule disabled?
- folder str
- The folder in which the resource is defined
- from_
Dos
Protection Rule From Args - Source zones and interfaces
- log_
setting str - Log forwarding profile name
- name str
- Rule name
- position str
- Position relative to local device rules. Possible values are
preandpost. - protection
Dos
Protection Rule Protection Args - Protection
- schedule str
- Schedule on which to enforce the rule
- services Sequence[str]
- List of services
- snippet str
- The snippet in which the resource is defined
- source_
users Sequence[str] - List of source users and/or groups. Reserved words include
any,pre-login,known-user, andunknown. - sources Sequence[str]
- List of source addresses
- Sequence[str]
- List of tags
- tfid str
- The Terraform ID.
- to
Dos
Protection Rule To Args - Destination zones and interfaces
- action Property Map
- The action to take on rule match
- description String
- Description
- destinations List<String>
- List of destination addresses
- device String
- The device in which the resource is defined
- disabled Boolean
- Rule disabled?
- folder String
- The folder in which the resource is defined
- from Property Map
- Source zones and interfaces
- log
Setting String - Log forwarding profile name
- name String
- Rule name
- position String
- Position relative to local device rules. Possible values are
preandpost. - protection Property Map
- Protection
- schedule String
- Schedule on which to enforce the rule
- services List<String>
- List of services
- snippet String
- The snippet in which the resource is defined
- source
Users List<String> - List of source users and/or groups. Reserved words include
any,pre-login,known-user, andunknown. - sources List<String>
- List of source addresses
- List<String>
- List of tags
- tfid String
- The Terraform ID.
- to Property Map
- Destination zones and interfaces
Supporting Types
DosProtectionRuleAction, DosProtectionRuleActionArgs
- allow Property Map
- Allow
- deny Property Map
- Deny
- protect Property Map
- Protect
DosProtectionRuleFrom, DosProtectionRuleFromArgs
- Interfaces List<string>
- Interface
- Zones List<string>
- Zone
- Interfaces []string
- Interface
- Zones []string
- Zone
- interfaces list(string)
- Interface
- zones list(string)
- Zone
- interfaces List<String>
- Interface
- zones List<String>
- Zone
- interfaces string[]
- Interface
- zones string[]
- Zone
- interfaces Sequence[str]
- Interface
- zones Sequence[str]
- Zone
- interfaces List<String>
- Interface
- zones List<String>
- Zone
DosProtectionRuleProtection, DosProtectionRuleProtectionArgs
- aggregate object
- Aggregate
- classified object
- Classified
- aggregate Property Map
- Aggregate
- classified Property Map
- Classified
DosProtectionRuleProtectionAggregate, DosProtectionRuleProtectionAggregateArgs
- Profile string
- Aggregate DoS protection profile
- Profile string
- Aggregate DoS protection profile
- profile string
- Aggregate DoS protection profile
- profile String
- Aggregate DoS protection profile
- profile string
- Aggregate DoS protection profile
- profile str
- Aggregate DoS protection profile
- profile String
- Aggregate DoS protection profile
DosProtectionRuleProtectionClassified, DosProtectionRuleProtectionClassifiedArgs
- Profile string
- Classified DoS protection profile
- Classification
Criteria DosProtection Rule Protection Classified Classification Criteria - Classification criteria
- Profile string
- Classified DoS protection profile
- Classification
Criteria DosProtection Rule Protection Classified Classification Criteria - Classification criteria
- profile string
- Classified DoS protection profile
- classification_
criteria object - Classification criteria
- profile String
- Classified DoS protection profile
- classification
Criteria DosProtection Rule Protection Classified Classification Criteria - Classification criteria
- profile string
- Classified DoS protection profile
- classification
Criteria DosProtection Rule Protection Classified Classification Criteria - Classification criteria
- profile str
- Classified DoS protection profile
- classification_
criteria DosProtection Rule Protection Classified Classification Criteria - Classification criteria
- profile String
- Classified DoS protection profile
- classification
Criteria Property Map - Classification criteria
DosProtectionRuleProtectionClassifiedClassificationCriteria, DosProtectionRuleProtectionClassifiedClassificationCriteriaArgs
- Address string
- Address
- Address string
- Address
- address string
- Address
- address String
- Address
- address string
- Address
- address str
- Address
- address String
- Address
DosProtectionRuleTo, DosProtectionRuleToArgs
- Interfaces List<string>
- Interface
- Zones List<string>
- Zone
- Interfaces []string
- Interface
- Zones []string
- Zone
- interfaces list(string)
- Interface
- zones list(string)
- Zone
- interfaces List<String>
- Interface
- zones List<String>
- Zone
- interfaces string[]
- Interface
- zones string[]
- Zone
- interfaces Sequence[str]
- Interface
- zones Sequence[str]
- Zone
- interfaces List<String>
- Interface
- zones List<String>
- Zone
Import
The following command can be used to import a resource not managed by Terraform:
$ pulumi import scm:index/dosProtectionRule:DosProtectionRule example folder:::id
or
$ pulumi import scm:index/dosProtectionRule:DosProtectionRule example :snippet::id
or
$ pulumi import scm:index/dosProtectionRule:DosProtectionRule example ::device:id
Note: Please provide just one of folder, snippet, or device for the import command.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
Strata Cloud Managerpublished on Friday, Oct 16, 2026 by Pulumi