1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. SdwanTrafficDistributionProfile
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

    SdwanTrafficDistributionProfile resource

    Create SdwanTrafficDistributionProfile Resource

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

    Constructor syntax

    new SdwanTrafficDistributionProfile(name: string, args?: SdwanTrafficDistributionProfileArgs, opts?: CustomResourceOptions);
    @overload
    def SdwanTrafficDistributionProfile(resource_name: str,
                                        args: Optional[SdwanTrafficDistributionProfileArgs] = None,
                                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def SdwanTrafficDistributionProfile(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        device: Optional[str] = None,
                                        folder: Optional[str] = None,
                                        link_tags: Optional[Sequence[SdwanTrafficDistributionProfileLinkTagArgs]] = None,
                                        name: Optional[str] = None,
                                        snippet: Optional[str] = None,
                                        traffic_distribution: Optional[str] = None)
    func NewSdwanTrafficDistributionProfile(ctx *Context, name string, args *SdwanTrafficDistributionProfileArgs, opts ...ResourceOption) (*SdwanTrafficDistributionProfile, error)
    public SdwanTrafficDistributionProfile(string name, SdwanTrafficDistributionProfileArgs? args = null, CustomResourceOptions? opts = null)
    public SdwanTrafficDistributionProfile(String name, SdwanTrafficDistributionProfileArgs args)
    public SdwanTrafficDistributionProfile(String name, SdwanTrafficDistributionProfileArgs args, CustomResourceOptions options)
    
    type: scm:SdwanTrafficDistributionProfile
    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 SdwanTrafficDistributionProfileArgs
    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 SdwanTrafficDistributionProfileArgs
    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 SdwanTrafficDistributionProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SdwanTrafficDistributionProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SdwanTrafficDistributionProfileArgs
    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 sdwanTrafficDistributionProfileResource = new Scm.SdwanTrafficDistributionProfile("sdwanTrafficDistributionProfileResource", new()
    {
        Device = "string",
        Folder = "string",
        LinkTags = new[]
        {
            new Scm.Inputs.SdwanTrafficDistributionProfileLinkTagArgs
            {
                Name = "string",
                Weight = 0,
            },
        },
        Name = "string",
        Snippet = "string",
        TrafficDistribution = "string",
    });
    
    example, err := scm.NewSdwanTrafficDistributionProfile(ctx, "sdwanTrafficDistributionProfileResource", &scm.SdwanTrafficDistributionProfileArgs{
    	Device: pulumi.String("string"),
    	Folder: pulumi.String("string"),
    	LinkTags: scm.SdwanTrafficDistributionProfileLinkTagArray{
    		&scm.SdwanTrafficDistributionProfileLinkTagArgs{
    			Name:   pulumi.String("string"),
    			Weight: pulumi.Int(0),
    		},
    	},
    	Name:                pulumi.String("string"),
    	Snippet:             pulumi.String("string"),
    	TrafficDistribution: pulumi.String("string"),
    })
    
    var sdwanTrafficDistributionProfileResource = new SdwanTrafficDistributionProfile("sdwanTrafficDistributionProfileResource", SdwanTrafficDistributionProfileArgs.builder()
        .device("string")
        .folder("string")
        .linkTags(SdwanTrafficDistributionProfileLinkTagArgs.builder()
            .name("string")
            .weight(0)
            .build())
        .name("string")
        .snippet("string")
        .trafficDistribution("string")
        .build());
    
    sdwan_traffic_distribution_profile_resource = scm.SdwanTrafficDistributionProfile("sdwanTrafficDistributionProfileResource",
        device="string",
        folder="string",
        link_tags=[{
            "name": "string",
            "weight": 0,
        }],
        name="string",
        snippet="string",
        traffic_distribution="string")
    
    const sdwanTrafficDistributionProfileResource = new scm.SdwanTrafficDistributionProfile("sdwanTrafficDistributionProfileResource", {
        device: "string",
        folder: "string",
        linkTags: [{
            name: "string",
            weight: 0,
        }],
        name: "string",
        snippet: "string",
        trafficDistribution: "string",
    });
    
    type: scm:SdwanTrafficDistributionProfile
    properties:
        device: string
        folder: string
        linkTags:
            - name: string
              weight: 0
        name: string
        snippet: string
        trafficDistribution: string
    

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

    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    LinkTags List<SdwanTrafficDistributionProfileLinkTag>
    Link-Tags for interfaces identified by defined tags
    Name string
    Profile name
    Snippet string
    The snippet in which the resource is defined
    TrafficDistribution string
    Traffic distribution
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    LinkTags []SdwanTrafficDistributionProfileLinkTagArgs
    Link-Tags for interfaces identified by defined tags
    Name string
    Profile name
    Snippet string
    The snippet in which the resource is defined
    TrafficDistribution string
    Traffic distribution
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    linkTags List<SdwanTrafficDistributionProfileLinkTag>
    Link-Tags for interfaces identified by defined tags
    name String
    Profile name
    snippet String
    The snippet in which the resource is defined
    trafficDistribution String
    Traffic distribution
    device string
    The device in which the resource is defined
    folder string
    The folder in which the resource is defined
    linkTags SdwanTrafficDistributionProfileLinkTag[]
    Link-Tags for interfaces identified by defined tags
    name string
    Profile name
    snippet string
    The snippet in which the resource is defined
    trafficDistribution string
    Traffic distribution
    device str
    The device in which the resource is defined
    folder str
    The folder in which the resource is defined
    link_tags Sequence[SdwanTrafficDistributionProfileLinkTagArgs]
    Link-Tags for interfaces identified by defined tags
    name str
    Profile name
    snippet str
    The snippet in which the resource is defined
    traffic_distribution str
    Traffic distribution
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    linkTags List<Property Map>
    Link-Tags for interfaces identified by defined tags
    name String
    Profile name
    snippet String
    The snippet in which the resource is defined
    trafficDistribution String
    Traffic distribution

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SdwanTrafficDistributionProfile 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 SdwanTrafficDistributionProfile Resource

    Get an existing SdwanTrafficDistributionProfile 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?: SdwanTrafficDistributionProfileState, opts?: CustomResourceOptions): SdwanTrafficDistributionProfile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            device: Optional[str] = None,
            folder: Optional[str] = None,
            link_tags: Optional[Sequence[SdwanTrafficDistributionProfileLinkTagArgs]] = None,
            name: Optional[str] = None,
            snippet: Optional[str] = None,
            tfid: Optional[str] = None,
            traffic_distribution: Optional[str] = None) -> SdwanTrafficDistributionProfile
    func GetSdwanTrafficDistributionProfile(ctx *Context, name string, id IDInput, state *SdwanTrafficDistributionProfileState, opts ...ResourceOption) (*SdwanTrafficDistributionProfile, error)
    public static SdwanTrafficDistributionProfile Get(string name, Input<string> id, SdwanTrafficDistributionProfileState? state, CustomResourceOptions? opts = null)
    public static SdwanTrafficDistributionProfile get(String name, Output<String> id, SdwanTrafficDistributionProfileState state, CustomResourceOptions options)
    resources:  _:    type: scm:SdwanTrafficDistributionProfile    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:
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    LinkTags List<SdwanTrafficDistributionProfileLinkTag>
    Link-Tags for interfaces identified by defined tags
    Name string
    Profile name
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    TrafficDistribution string
    Traffic distribution
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    LinkTags []SdwanTrafficDistributionProfileLinkTagArgs
    Link-Tags for interfaces identified by defined tags
    Name string
    Profile name
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    TrafficDistribution string
    Traffic distribution
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    linkTags List<SdwanTrafficDistributionProfileLinkTag>
    Link-Tags for interfaces identified by defined tags
    name String
    Profile name
    snippet String
    The snippet in which the resource is defined
    tfid String
    trafficDistribution String
    Traffic distribution
    device string
    The device in which the resource is defined
    folder string
    The folder in which the resource is defined
    linkTags SdwanTrafficDistributionProfileLinkTag[]
    Link-Tags for interfaces identified by defined tags
    name string
    Profile name
    snippet string
    The snippet in which the resource is defined
    tfid string
    trafficDistribution string
    Traffic distribution
    device str
    The device in which the resource is defined
    folder str
    The folder in which the resource is defined
    link_tags Sequence[SdwanTrafficDistributionProfileLinkTagArgs]
    Link-Tags for interfaces identified by defined tags
    name str
    Profile name
    snippet str
    The snippet in which the resource is defined
    tfid str
    traffic_distribution str
    Traffic distribution
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    linkTags List<Property Map>
    Link-Tags for interfaces identified by defined tags
    name String
    Profile name
    snippet String
    The snippet in which the resource is defined
    tfid String
    trafficDistribution String
    Traffic distribution

    Supporting Types

    SdwanTrafficDistributionProfileLinkTag, SdwanTrafficDistributionProfileLinkTagArgs

    Name string
    Link-Tag used for identifying a set of interfaces
    Weight int
    Weight (percentage) (only used when traffic-distribution is Weighted Session Distribution)
    Name string
    Link-Tag used for identifying a set of interfaces
    Weight int
    Weight (percentage) (only used when traffic-distribution is Weighted Session Distribution)
    name String
    Link-Tag used for identifying a set of interfaces
    weight Integer
    Weight (percentage) (only used when traffic-distribution is Weighted Session Distribution)
    name string
    Link-Tag used for identifying a set of interfaces
    weight number
    Weight (percentage) (only used when traffic-distribution is Weighted Session Distribution)
    name str
    Link-Tag used for identifying a set of interfaces
    weight int
    Weight (percentage) (only used when traffic-distribution is Weighted Session Distribution)
    name String
    Link-Tag used for identifying a set of interfaces
    weight Number
    Weight (percentage) (only used when traffic-distribution is Weighted Session Distribution)

    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