1. Registry
  2. Packages
  3. Strata Cloud Manager Provider
  4. API Docs
  5. DosProtectionRule
Viewing docs for Strata Cloud Manager v1.2.1
published on Friday, Oct 16, 2026 by Pulumi
scm logo Strata Cloud Manager
Viewing docs for Strata Cloud Manager v1.2.1
published 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 DosProtectionRuleFrom
    Source zones and interfaces
    Protection DosProtectionRuleProtection
    Protection
    Services List<string>
    List of services
    Sources List<string>
    List of source addresses
    To DosProtectionRuleTo
    Destination zones and interfaces
    Action DosProtectionRuleAction
    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
    LogSetting string
    Log forwarding profile name
    Name string
    Rule name
    Position string
    Position relative to local device rules. Possible values are pre and post.
    Schedule string
    Schedule on which to enforce the rule
    Snippet string
    The snippet in which the resource is defined
    SourceUsers List<string>
    List of source users and/or groups. Reserved words include any, pre-login, known-user, and unknown.
    Tags List<string>
    List of tags
    From DosProtectionRuleFromArgs
    Source zones and interfaces
    Protection DosProtectionRuleProtectionArgs
    Protection
    Services []string
    List of services
    Sources []string
    List of source addresses
    To DosProtectionRuleToArgs
    Destination zones and interfaces
    Action DosProtectionRuleActionArgs
    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
    LogSetting string
    Log forwarding profile name
    Name string
    Rule name
    Position string
    Position relative to local device rules. Possible values are pre and post.
    Schedule string
    Schedule on which to enforce the rule
    Snippet string
    The snippet in which the resource is defined
    SourceUsers []string
    List of source users and/or groups. Reserved words include any, pre-login, known-user, and unknown.
    Tags []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 pre and post.
    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, and unknown.
    tags list(string)
    List of tags
    from DosProtectionRuleFrom
    Source zones and interfaces
    protection DosProtectionRuleProtection
    Protection
    services List<String>
    List of services
    sources List<String>
    List of source addresses
    to DosProtectionRuleTo
    Destination zones and interfaces
    action DosProtectionRuleAction
    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
    logSetting String
    Log forwarding profile name
    name String
    Rule name
    position String
    Position relative to local device rules. Possible values are pre and post.
    schedule String
    Schedule on which to enforce the rule
    snippet String
    The snippet in which the resource is defined
    sourceUsers List<String>
    List of source users and/or groups. Reserved words include any, pre-login, known-user, and unknown.
    tags List<String>
    List of tags
    from DosProtectionRuleFrom
    Source zones and interfaces
    protection DosProtectionRuleProtection
    Protection
    services string[]
    List of services
    sources string[]
    List of source addresses
    to DosProtectionRuleTo
    Destination zones and interfaces
    action DosProtectionRuleAction
    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
    logSetting string
    Log forwarding profile name
    name string
    Rule name
    position string
    Position relative to local device rules. Possible values are pre and post.
    schedule string
    Schedule on which to enforce the rule
    snippet string
    The snippet in which the resource is defined
    sourceUsers string[]
    List of source users and/or groups. Reserved words include any, pre-login, known-user, and unknown.
    tags string[]
    List of tags
    from_ DosProtectionRuleFromArgs
    Source zones and interfaces
    protection DosProtectionRuleProtectionArgs
    Protection
    services Sequence[str]
    List of services
    sources Sequence[str]
    List of source addresses
    to DosProtectionRuleToArgs
    Destination zones and interfaces
    action DosProtectionRuleActionArgs
    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 pre and post.
    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, and unknown.
    tags 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
    logSetting String
    Log forwarding profile name
    name String
    Rule name
    position String
    Position relative to local device rules. Possible values are pre and post.
    schedule String
    Schedule on which to enforce the rule
    snippet String
    The snippet in which the resource is defined
    sourceUsers List<String>
    List of source users and/or groups. Reserved words include any, pre-login, known-user, and unknown.
    tags List<String>
    List of tags

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DosProtectionRule resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    The Terraform ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    The Terraform ID.
    id string
    The provider-assigned unique ID for this managed resource.
    tfid string
    The Terraform ID.
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String
    The Terraform ID.
    id string
    The provider-assigned unique ID for this managed resource.
    tfid string
    The Terraform ID.
    id str
    The provider-assigned unique ID for this managed resource.
    tfid str
    The Terraform ID.
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String
    The Terraform ID.

    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) -> DosProtectionRule
    func 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.
    The following state arguments are supported:
    Action DosProtectionRuleAction
    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 DosProtectionRuleFrom
    Source zones and interfaces
    LogSetting string
    Log forwarding profile name
    Name string
    Rule name
    Position string
    Position relative to local device rules. Possible values are pre and post.
    Protection DosProtectionRuleProtection
    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
    SourceUsers List<string>
    List of source users and/or groups. Reserved words include any, pre-login, known-user, and unknown.
    Sources List<string>
    List of source addresses
    Tags List<string>
    List of tags
    Tfid string
    The Terraform ID.
    To DosProtectionRuleTo
    Destination zones and interfaces
    Action DosProtectionRuleActionArgs
    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 DosProtectionRuleFromArgs
    Source zones and interfaces
    LogSetting string
    Log forwarding profile name
    Name string
    Rule name
    Position string
    Position relative to local device rules. Possible values are pre and post.
    Protection DosProtectionRuleProtectionArgs
    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
    SourceUsers []string
    List of source users and/or groups. Reserved words include any, pre-login, known-user, and unknown.
    Sources []string
    List of source addresses
    Tags []string
    List of tags
    Tfid string
    The Terraform ID.
    To DosProtectionRuleToArgs
    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 pre and post.
    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, and unknown.
    sources list(string)
    List of source addresses
    tags list(string)
    List of tags
    tfid string
    The Terraform ID.
    to object
    Destination zones and interfaces
    action DosProtectionRuleAction
    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 DosProtectionRuleFrom
    Source zones and interfaces
    logSetting String
    Log forwarding profile name
    name String
    Rule name
    position String
    Position relative to local device rules. Possible values are pre and post.
    protection DosProtectionRuleProtection
    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
    sourceUsers List<String>
    List of source users and/or groups. Reserved words include any, pre-login, known-user, and unknown.
    sources List<String>
    List of source addresses
    tags List<String>
    List of tags
    tfid String
    The Terraform ID.
    to DosProtectionRuleTo
    Destination zones and interfaces
    action DosProtectionRuleAction
    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 DosProtectionRuleFrom
    Source zones and interfaces
    logSetting string
    Log forwarding profile name
    name string
    Rule name
    position string
    Position relative to local device rules. Possible values are pre and post.
    protection DosProtectionRuleProtection
    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
    sourceUsers string[]
    List of source users and/or groups. Reserved words include any, pre-login, known-user, and unknown.
    sources string[]
    List of source addresses
    tags string[]
    List of tags
    tfid string
    The Terraform ID.
    to DosProtectionRuleTo
    Destination zones and interfaces
    action DosProtectionRuleActionArgs
    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_ DosProtectionRuleFromArgs
    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 pre and post.
    protection DosProtectionRuleProtectionArgs
    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, and unknown.
    sources Sequence[str]
    List of source addresses
    tags Sequence[str]
    List of tags
    tfid str
    The Terraform ID.
    to DosProtectionRuleToArgs
    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
    logSetting String
    Log forwarding profile name
    name String
    Rule name
    position String
    Position relative to local device rules. Possible values are pre and post.
    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
    sourceUsers List<String>
    List of source users and/or groups. Reserved words include any, pre-login, known-user, and unknown.
    sources List<String>
    List of source addresses
    tags List<String>
    List of tags
    tfid String
    The Terraform ID.
    to Property Map
    Destination zones and interfaces

    Supporting Types

    DosProtectionRuleAction, DosProtectionRuleActionArgs

    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

    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
    ClassificationCriteria DosProtectionRuleProtectionClassifiedClassificationCriteria
    Classification criteria
    Profile string
    Classified DoS protection profile
    ClassificationCriteria DosProtectionRuleProtectionClassifiedClassificationCriteria
    Classification criteria
    profile string
    Classified DoS protection profile
    classification_criteria object
    Classification criteria
    profile String
    Classified DoS protection profile
    classificationCriteria DosProtectionRuleProtectionClassifiedClassificationCriteria
    Classification criteria
    profile string
    Classified DoS protection profile
    classificationCriteria DosProtectionRuleProtectionClassifiedClassificationCriteria
    Classification criteria
    profile str
    Classified DoS protection profile
    classification_criteria DosProtectionRuleProtectionClassifiedClassificationCriteria
    Classification criteria
    profile String
    Classified DoS protection profile
    classificationCriteria 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 scm Terraform Provider.
    scm logo Strata Cloud Manager
    Viewing docs for Strata Cloud Manager v1.2.1
    published on Friday, Oct 16, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial