1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. SdwanRule
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
scm logo
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi

    SdwanRule resource

    Create SdwanRule Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SdwanRule(name: string, args: SdwanRuleArgs, opts?: CustomResourceOptions);
    @overload
    def SdwanRule(resource_name: str,
                  args: SdwanRuleArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def SdwanRule(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  path_quality_profile: Optional[str] = None,
                  applications: Optional[Sequence[str]] = None,
                  tos: Optional[Sequence[str]] = None,
                  destinations: Optional[Sequence[str]] = None,
                  sources: Optional[Sequence[str]] = None,
                  action: Optional[SdwanRuleActionArgs] = None,
                  source_users: Optional[Sequence[str]] = None,
                  services: Optional[Sequence[str]] = None,
                  froms: Optional[Sequence[str]] = None,
                  position: Optional[str] = None,
                  disabled: Optional[bool] = None,
                  negate_source: Optional[bool] = None,
                  negate_destination: Optional[bool] = None,
                  name: Optional[str] = None,
                  saas_quality_profile: Optional[str] = None,
                  folder: Optional[str] = None,
                  snippet: Optional[str] = None,
                  error_correction_profile: Optional[str] = None,
                  device: Optional[str] = None,
                  tags: Optional[Sequence[str]] = None,
                  description: Optional[str] = None)
    func NewSdwanRule(ctx *Context, name string, args SdwanRuleArgs, opts ...ResourceOption) (*SdwanRule, error)
    public SdwanRule(string name, SdwanRuleArgs args, CustomResourceOptions? opts = null)
    public SdwanRule(String name, SdwanRuleArgs args)
    public SdwanRule(String name, SdwanRuleArgs args, CustomResourceOptions options)
    
    type: scm:SdwanRule
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SdwanRuleArgs
    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 SdwanRuleArgs
    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 SdwanRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SdwanRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SdwanRuleArgs
    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 sdwanRuleResource = new Scm.SdwanRule("sdwanRuleResource", new()
    {
        PathQualityProfile = "string",
        Applications = new[]
        {
            "string",
        },
        Tos = new[]
        {
            "string",
        },
        Destinations = new[]
        {
            "string",
        },
        Sources = new[]
        {
            "string",
        },
        Action = new Scm.Inputs.SdwanRuleActionArgs
        {
            TrafficDistributionProfile = "string",
        },
        SourceUsers = new[]
        {
            "string",
        },
        Services = new[]
        {
            "string",
        },
        Froms = new[]
        {
            "string",
        },
        Position = "string",
        Disabled = false,
        NegateSource = false,
        NegateDestination = false,
        Name = "string",
        SaasQualityProfile = "string",
        Folder = "string",
        Snippet = "string",
        ErrorCorrectionProfile = "string",
        Device = "string",
        Tags = new[]
        {
            "string",
        },
        Description = "string",
    });
    
    example, err := scm.NewSdwanRule(ctx, "sdwanRuleResource", &scm.SdwanRuleArgs{
    	PathQualityProfile: pulumi.String("string"),
    	Applications: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Tos: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Destinations: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Sources: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Action: &scm.SdwanRuleActionArgs{
    		TrafficDistributionProfile: pulumi.String("string"),
    	},
    	SourceUsers: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Services: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Froms: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Position:               pulumi.String("string"),
    	Disabled:               pulumi.Bool(false),
    	NegateSource:           pulumi.Bool(false),
    	NegateDestination:      pulumi.Bool(false),
    	Name:                   pulumi.String("string"),
    	SaasQualityProfile:     pulumi.String("string"),
    	Folder:                 pulumi.String("string"),
    	Snippet:                pulumi.String("string"),
    	ErrorCorrectionProfile: pulumi.String("string"),
    	Device:                 pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    })
    
    var sdwanRuleResource = new SdwanRule("sdwanRuleResource", SdwanRuleArgs.builder()
        .pathQualityProfile("string")
        .applications("string")
        .tos("string")
        .destinations("string")
        .sources("string")
        .action(SdwanRuleActionArgs.builder()
            .trafficDistributionProfile("string")
            .build())
        .sourceUsers("string")
        .services("string")
        .froms("string")
        .position("string")
        .disabled(false)
        .negateSource(false)
        .negateDestination(false)
        .name("string")
        .saasQualityProfile("string")
        .folder("string")
        .snippet("string")
        .errorCorrectionProfile("string")
        .device("string")
        .tags("string")
        .description("string")
        .build());
    
    sdwan_rule_resource = scm.SdwanRule("sdwanRuleResource",
        path_quality_profile="string",
        applications=["string"],
        tos=["string"],
        destinations=["string"],
        sources=["string"],
        action={
            "traffic_distribution_profile": "string",
        },
        source_users=["string"],
        services=["string"],
        froms=["string"],
        position="string",
        disabled=False,
        negate_source=False,
        negate_destination=False,
        name="string",
        saas_quality_profile="string",
        folder="string",
        snippet="string",
        error_correction_profile="string",
        device="string",
        tags=["string"],
        description="string")
    
    const sdwanRuleResource = new scm.SdwanRule("sdwanRuleResource", {
        pathQualityProfile: "string",
        applications: ["string"],
        tos: ["string"],
        destinations: ["string"],
        sources: ["string"],
        action: {
            trafficDistributionProfile: "string",
        },
        sourceUsers: ["string"],
        services: ["string"],
        froms: ["string"],
        position: "string",
        disabled: false,
        negateSource: false,
        negateDestination: false,
        name: "string",
        saasQualityProfile: "string",
        folder: "string",
        snippet: "string",
        errorCorrectionProfile: "string",
        device: "string",
        tags: ["string"],
        description: "string",
    });
    
    type: scm:SdwanRule
    properties:
        action:
            trafficDistributionProfile: string
        applications:
            - string
        description: string
        destinations:
            - string
        device: string
        disabled: false
        errorCorrectionProfile: string
        folder: string
        froms:
            - string
        name: string
        negateDestination: false
        negateSource: false
        pathQualityProfile: string
        position: string
        saasQualityProfile: string
        services:
            - string
        snippet: string
        sourceUsers:
            - string
        sources:
            - string
        tags:
            - string
        tos:
            - string
    

    SdwanRule 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 SdwanRule resource accepts the following input properties:

    Action SdwanRuleAction
    Action
    Applications List<string>
    List of applications
    Destinations List<string>
    List of destination addresses
    Froms List<string>
    List of source zones
    PathQualityProfile string
    Path quality profile
    Position string
    Rule postion relative to device rules
    Services List<string>
    List of services
    SourceUsers List<string>
    List of source users
    Sources List<string>
    List of source addresses
    Tos List<string>
    List of destination zones
    Description string
    Rule description
    Device string
    The device in which the resource is defined
    Disabled bool
    Disable rule?
    ErrorCorrectionProfile string
    Error correction profile
    Folder string
    The folder in which the resource is defined
    Name string
    Rule name
    NegateDestination bool
    Negate destination address(es)?
    NegateSource bool
    Negate source address(es)?
    SaasQualityProfile string
    SaaS quality profile
    Snippet string
    The snippet in which the resource is defined
    Tags List<string>
    List of tags
    Action SdwanRuleActionArgs
    Action
    Applications []string
    List of applications
    Destinations []string
    List of destination addresses
    Froms []string
    List of source zones
    PathQualityProfile string
    Path quality profile
    Position string
    Rule postion relative to device rules
    Services []string
    List of services
    SourceUsers []string
    List of source users
    Sources []string
    List of source addresses
    Tos []string
    List of destination zones
    Description string
    Rule description
    Device string
    The device in which the resource is defined
    Disabled bool
    Disable rule?
    ErrorCorrectionProfile string
    Error correction profile
    Folder string
    The folder in which the resource is defined
    Name string
    Rule name
    NegateDestination bool
    Negate destination address(es)?
    NegateSource bool
    Negate source address(es)?
    SaasQualityProfile string
    SaaS quality profile
    Snippet string
    The snippet in which the resource is defined
    Tags []string
    List of tags
    action SdwanRuleAction
    Action
    applications List<String>
    List of applications
    destinations List<String>
    List of destination addresses
    froms List<String>
    List of source zones
    pathQualityProfile String
    Path quality profile
    position String
    Rule postion relative to device rules
    services List<String>
    List of services
    sourceUsers List<String>
    List of source users
    sources List<String>
    List of source addresses
    tos List<String>
    List of destination zones
    description String
    Rule description
    device String
    The device in which the resource is defined
    disabled Boolean
    Disable rule?
    errorCorrectionProfile String
    Error correction profile
    folder String
    The folder in which the resource is defined
    name String
    Rule name
    negateDestination Boolean
    Negate destination address(es)?
    negateSource Boolean
    Negate source address(es)?
    saasQualityProfile String
    SaaS quality profile
    snippet String
    The snippet in which the resource is defined
    tags List<String>
    List of tags
    action SdwanRuleAction
    Action
    applications string[]
    List of applications
    destinations string[]
    List of destination addresses
    froms string[]
    List of source zones
    pathQualityProfile string
    Path quality profile
    position string
    Rule postion relative to device rules
    services string[]
    List of services
    sourceUsers string[]
    List of source users
    sources string[]
    List of source addresses
    tos string[]
    List of destination zones
    description string
    Rule description
    device string
    The device in which the resource is defined
    disabled boolean
    Disable rule?
    errorCorrectionProfile string
    Error correction profile
    folder string
    The folder in which the resource is defined
    name string
    Rule name
    negateDestination boolean
    Negate destination address(es)?
    negateSource boolean
    Negate source address(es)?
    saasQualityProfile string
    SaaS quality profile
    snippet string
    The snippet in which the resource is defined
    tags string[]
    List of tags
    action SdwanRuleActionArgs
    Action
    applications Sequence[str]
    List of applications
    destinations Sequence[str]
    List of destination addresses
    froms Sequence[str]
    List of source zones
    path_quality_profile str
    Path quality profile
    position str
    Rule postion relative to device rules
    services Sequence[str]
    List of services
    source_users Sequence[str]
    List of source users
    sources Sequence[str]
    List of source addresses
    tos Sequence[str]
    List of destination zones
    description str
    Rule description
    device str
    The device in which the resource is defined
    disabled bool
    Disable rule?
    error_correction_profile str
    Error correction profile
    folder str
    The folder in which the resource is defined
    name str
    Rule name
    negate_destination bool
    Negate destination address(es)?
    negate_source bool
    Negate source address(es)?
    saas_quality_profile str
    SaaS quality profile
    snippet str
    The snippet in which the resource is defined
    tags Sequence[str]
    List of tags
    action Property Map
    Action
    applications List<String>
    List of applications
    destinations List<String>
    List of destination addresses
    froms List<String>
    List of source zones
    pathQualityProfile String
    Path quality profile
    position String
    Rule postion relative to device rules
    services List<String>
    List of services
    sourceUsers List<String>
    List of source users
    sources List<String>
    List of source addresses
    tos List<String>
    List of destination zones
    description String
    Rule description
    device String
    The device in which the resource is defined
    disabled Boolean
    Disable rule?
    errorCorrectionProfile String
    Error correction profile
    folder String
    The folder in which the resource is defined
    name String
    Rule name
    negateDestination Boolean
    Negate destination address(es)?
    negateSource Boolean
    Negate source address(es)?
    saasQualityProfile String
    SaaS quality profile
    snippet String
    The snippet in which the resource is defined
    tags List<String>
    List of tags

    Outputs

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

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

    Look up Existing SdwanRule Resource

    Get an existing SdwanRule 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?: SdwanRuleState, opts?: CustomResourceOptions): SdwanRule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            action: Optional[SdwanRuleActionArgs] = None,
            applications: Optional[Sequence[str]] = None,
            description: Optional[str] = None,
            destinations: Optional[Sequence[str]] = None,
            device: Optional[str] = None,
            disabled: Optional[bool] = None,
            error_correction_profile: Optional[str] = None,
            folder: Optional[str] = None,
            froms: Optional[Sequence[str]] = None,
            name: Optional[str] = None,
            negate_destination: Optional[bool] = None,
            negate_source: Optional[bool] = None,
            path_quality_profile: Optional[str] = None,
            position: Optional[str] = None,
            saas_quality_profile: 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,
            tos: Optional[Sequence[str]] = None) -> SdwanRule
    func GetSdwanRule(ctx *Context, name string, id IDInput, state *SdwanRuleState, opts ...ResourceOption) (*SdwanRule, error)
    public static SdwanRule Get(string name, Input<string> id, SdwanRuleState? state, CustomResourceOptions? opts = null)
    public static SdwanRule get(String name, Output<String> id, SdwanRuleState state, CustomResourceOptions options)
    resources:  _:    type: scm:SdwanRule    get:      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 SdwanRuleAction
    Action
    Applications List<string>
    List of applications
    Description string
    Rule description
    Destinations List<string>
    List of destination addresses
    Device string
    The device in which the resource is defined
    Disabled bool
    Disable rule?
    ErrorCorrectionProfile string
    Error correction profile
    Folder string
    The folder in which the resource is defined
    Froms List<string>
    List of source zones
    Name string
    Rule name
    NegateDestination bool
    Negate destination address(es)?
    NegateSource bool
    Negate source address(es)?
    PathQualityProfile string
    Path quality profile
    Position string
    Rule postion relative to device rules
    SaasQualityProfile string
    SaaS quality profile
    Services List<string>
    List of services
    Snippet string
    The snippet in which the resource is defined
    SourceUsers List<string>
    List of source users
    Sources List<string>
    List of source addresses
    Tags List<string>
    List of tags
    Tfid string
    Tos List<string>
    List of destination zones
    Action SdwanRuleActionArgs
    Action
    Applications []string
    List of applications
    Description string
    Rule description
    Destinations []string
    List of destination addresses
    Device string
    The device in which the resource is defined
    Disabled bool
    Disable rule?
    ErrorCorrectionProfile string
    Error correction profile
    Folder string
    The folder in which the resource is defined
    Froms []string
    List of source zones
    Name string
    Rule name
    NegateDestination bool
    Negate destination address(es)?
    NegateSource bool
    Negate source address(es)?
    PathQualityProfile string
    Path quality profile
    Position string
    Rule postion relative to device rules
    SaasQualityProfile string
    SaaS quality profile
    Services []string
    List of services
    Snippet string
    The snippet in which the resource is defined
    SourceUsers []string
    List of source users
    Sources []string
    List of source addresses
    Tags []string
    List of tags
    Tfid string
    Tos []string
    List of destination zones
    action SdwanRuleAction
    Action
    applications List<String>
    List of applications
    description String
    Rule description
    destinations List<String>
    List of destination addresses
    device String
    The device in which the resource is defined
    disabled Boolean
    Disable rule?
    errorCorrectionProfile String
    Error correction profile
    folder String
    The folder in which the resource is defined
    froms List<String>
    List of source zones
    name String
    Rule name
    negateDestination Boolean
    Negate destination address(es)?
    negateSource Boolean
    Negate source address(es)?
    pathQualityProfile String
    Path quality profile
    position String
    Rule postion relative to device rules
    saasQualityProfile String
    SaaS quality profile
    services List<String>
    List of services
    snippet String
    The snippet in which the resource is defined
    sourceUsers List<String>
    List of source users
    sources List<String>
    List of source addresses
    tags List<String>
    List of tags
    tfid String
    tos List<String>
    List of destination zones
    action SdwanRuleAction
    Action
    applications string[]
    List of applications
    description string
    Rule description
    destinations string[]
    List of destination addresses
    device string
    The device in which the resource is defined
    disabled boolean
    Disable rule?
    errorCorrectionProfile string
    Error correction profile
    folder string
    The folder in which the resource is defined
    froms string[]
    List of source zones
    name string
    Rule name
    negateDestination boolean
    Negate destination address(es)?
    negateSource boolean
    Negate source address(es)?
    pathQualityProfile string
    Path quality profile
    position string
    Rule postion relative to device rules
    saasQualityProfile string
    SaaS quality profile
    services string[]
    List of services
    snippet string
    The snippet in which the resource is defined
    sourceUsers string[]
    List of source users
    sources string[]
    List of source addresses
    tags string[]
    List of tags
    tfid string
    tos string[]
    List of destination zones
    action SdwanRuleActionArgs
    Action
    applications Sequence[str]
    List of applications
    description str
    Rule description
    destinations Sequence[str]
    List of destination addresses
    device str
    The device in which the resource is defined
    disabled bool
    Disable rule?
    error_correction_profile str
    Error correction profile
    folder str
    The folder in which the resource is defined
    froms Sequence[str]
    List of source zones
    name str
    Rule name
    negate_destination bool
    Negate destination address(es)?
    negate_source bool
    Negate source address(es)?
    path_quality_profile str
    Path quality profile
    position str
    Rule postion relative to device rules
    saas_quality_profile str
    SaaS quality profile
    services Sequence[str]
    List of services
    snippet str
    The snippet in which the resource is defined
    source_users Sequence[str]
    List of source users
    sources Sequence[str]
    List of source addresses
    tags Sequence[str]
    List of tags
    tfid str
    tos Sequence[str]
    List of destination zones
    action Property Map
    Action
    applications List<String>
    List of applications
    description String
    Rule description
    destinations List<String>
    List of destination addresses
    device String
    The device in which the resource is defined
    disabled Boolean
    Disable rule?
    errorCorrectionProfile String
    Error correction profile
    folder String
    The folder in which the resource is defined
    froms List<String>
    List of source zones
    name String
    Rule name
    negateDestination Boolean
    Negate destination address(es)?
    negateSource Boolean
    Negate source address(es)?
    pathQualityProfile String
    Path quality profile
    position String
    Rule postion relative to device rules
    saasQualityProfile String
    SaaS quality profile
    services List<String>
    List of services
    snippet String
    The snippet in which the resource is defined
    sourceUsers List<String>
    List of source users
    sources List<String>
    List of source addresses
    tags List<String>
    List of tags
    tfid String
    tos List<String>
    List of destination zones

    Supporting Types

    SdwanRuleAction, SdwanRuleActionArgs

    TrafficDistributionProfile string
    Traffic dstribution profile
    TrafficDistributionProfile string
    Traffic dstribution profile
    trafficDistributionProfile String
    Traffic dstribution profile
    trafficDistributionProfile string
    Traffic dstribution profile
    traffic_distribution_profile str
    Traffic dstribution profile
    trafficDistributionProfile String
    Traffic dstribution profile

    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 v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate