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

    SdwanErrorCorrectionProfile resource

    Create SdwanErrorCorrectionProfile Resource

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

    Constructor syntax

    new SdwanErrorCorrectionProfile(name: string, args: SdwanErrorCorrectionProfileArgs, opts?: CustomResourceOptions);
    @overload
    def SdwanErrorCorrectionProfile(resource_name: str,
                                    args: SdwanErrorCorrectionProfileArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def SdwanErrorCorrectionProfile(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    activation_threshold: Optional[int] = None,
                                    mode: Optional[SdwanErrorCorrectionProfileModeArgs] = None,
                                    device: Optional[str] = None,
                                    folder: Optional[str] = None,
                                    name: Optional[str] = None,
                                    snippet: Optional[str] = None)
    func NewSdwanErrorCorrectionProfile(ctx *Context, name string, args SdwanErrorCorrectionProfileArgs, opts ...ResourceOption) (*SdwanErrorCorrectionProfile, error)
    public SdwanErrorCorrectionProfile(string name, SdwanErrorCorrectionProfileArgs args, CustomResourceOptions? opts = null)
    public SdwanErrorCorrectionProfile(String name, SdwanErrorCorrectionProfileArgs args)
    public SdwanErrorCorrectionProfile(String name, SdwanErrorCorrectionProfileArgs args, CustomResourceOptions options)
    
    type: scm:SdwanErrorCorrectionProfile
    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 SdwanErrorCorrectionProfileArgs
    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 SdwanErrorCorrectionProfileArgs
    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 SdwanErrorCorrectionProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SdwanErrorCorrectionProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SdwanErrorCorrectionProfileArgs
    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 sdwanErrorCorrectionProfileResource = new Scm.SdwanErrorCorrectionProfile("sdwanErrorCorrectionProfileResource", new()
    {
        ActivationThreshold = 0,
        Mode = new Scm.Inputs.SdwanErrorCorrectionProfileModeArgs
        {
            ForwardErrorCorrection = new Scm.Inputs.SdwanErrorCorrectionProfileModeForwardErrorCorrectionArgs
            {
                Ratio = "string",
                RecoveryDuration = 0,
            },
            PacketDuplication = new Scm.Inputs.SdwanErrorCorrectionProfileModePacketDuplicationArgs
            {
                RecoveryDurationPd = 0,
            },
        },
        Device = "string",
        Folder = "string",
        Name = "string",
        Snippet = "string",
    });
    
    example, err := scm.NewSdwanErrorCorrectionProfile(ctx, "sdwanErrorCorrectionProfileResource", &scm.SdwanErrorCorrectionProfileArgs{
    	ActivationThreshold: pulumi.Int(0),
    	Mode: &scm.SdwanErrorCorrectionProfileModeArgs{
    		ForwardErrorCorrection: &scm.SdwanErrorCorrectionProfileModeForwardErrorCorrectionArgs{
    			Ratio:            pulumi.String("string"),
    			RecoveryDuration: pulumi.Int(0),
    		},
    		PacketDuplication: &scm.SdwanErrorCorrectionProfileModePacketDuplicationArgs{
    			RecoveryDurationPd: pulumi.Int(0),
    		},
    	},
    	Device:  pulumi.String("string"),
    	Folder:  pulumi.String("string"),
    	Name:    pulumi.String("string"),
    	Snippet: pulumi.String("string"),
    })
    
    var sdwanErrorCorrectionProfileResource = new SdwanErrorCorrectionProfile("sdwanErrorCorrectionProfileResource", SdwanErrorCorrectionProfileArgs.builder()
        .activationThreshold(0)
        .mode(SdwanErrorCorrectionProfileModeArgs.builder()
            .forwardErrorCorrection(SdwanErrorCorrectionProfileModeForwardErrorCorrectionArgs.builder()
                .ratio("string")
                .recoveryDuration(0)
                .build())
            .packetDuplication(SdwanErrorCorrectionProfileModePacketDuplicationArgs.builder()
                .recoveryDurationPd(0)
                .build())
            .build())
        .device("string")
        .folder("string")
        .name("string")
        .snippet("string")
        .build());
    
    sdwan_error_correction_profile_resource = scm.SdwanErrorCorrectionProfile("sdwanErrorCorrectionProfileResource",
        activation_threshold=0,
        mode={
            "forward_error_correction": {
                "ratio": "string",
                "recovery_duration": 0,
            },
            "packet_duplication": {
                "recovery_duration_pd": 0,
            },
        },
        device="string",
        folder="string",
        name="string",
        snippet="string")
    
    const sdwanErrorCorrectionProfileResource = new scm.SdwanErrorCorrectionProfile("sdwanErrorCorrectionProfileResource", {
        activationThreshold: 0,
        mode: {
            forwardErrorCorrection: {
                ratio: "string",
                recoveryDuration: 0,
            },
            packetDuplication: {
                recoveryDurationPd: 0,
            },
        },
        device: "string",
        folder: "string",
        name: "string",
        snippet: "string",
    });
    
    type: scm:SdwanErrorCorrectionProfile
    properties:
        activationThreshold: 0
        device: string
        folder: string
        mode:
            forwardErrorCorrection:
                ratio: string
                recoveryDuration: 0
            packetDuplication:
                recoveryDurationPd: 0
        name: string
        snippet: string
    

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

    ActivationThreshold int
    Activation threshold
    Mode SdwanErrorCorrectionProfileMode
    Mode
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    Name string
    Name
    Snippet string
    The snippet in which the resource is defined
    ActivationThreshold int
    Activation threshold
    Mode SdwanErrorCorrectionProfileModeArgs
    Mode
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    Name string
    Name
    Snippet string
    The snippet in which the resource is defined
    activationThreshold Integer
    Activation threshold
    mode SdwanErrorCorrectionProfileMode
    Mode
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    name String
    Name
    snippet String
    The snippet in which the resource is defined
    activationThreshold number
    Activation threshold
    mode SdwanErrorCorrectionProfileMode
    Mode
    device string
    The device in which the resource is defined
    folder string
    The folder in which the resource is defined
    name string
    Name
    snippet string
    The snippet in which the resource is defined
    activation_threshold int
    Activation threshold
    mode SdwanErrorCorrectionProfileModeArgs
    Mode
    device str
    The device in which the resource is defined
    folder str
    The folder in which the resource is defined
    name str
    Name
    snippet str
    The snippet in which the resource is defined
    activationThreshold Number
    Activation threshold
    mode Property Map
    Mode
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    name String
    Name
    snippet String
    The snippet in which the resource is defined

    Outputs

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

    Get an existing SdwanErrorCorrectionProfile 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?: SdwanErrorCorrectionProfileState, opts?: CustomResourceOptions): SdwanErrorCorrectionProfile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            activation_threshold: Optional[int] = None,
            device: Optional[str] = None,
            folder: Optional[str] = None,
            mode: Optional[SdwanErrorCorrectionProfileModeArgs] = None,
            name: Optional[str] = None,
            snippet: Optional[str] = None,
            tfid: Optional[str] = None) -> SdwanErrorCorrectionProfile
    func GetSdwanErrorCorrectionProfile(ctx *Context, name string, id IDInput, state *SdwanErrorCorrectionProfileState, opts ...ResourceOption) (*SdwanErrorCorrectionProfile, error)
    public static SdwanErrorCorrectionProfile Get(string name, Input<string> id, SdwanErrorCorrectionProfileState? state, CustomResourceOptions? opts = null)
    public static SdwanErrorCorrectionProfile get(String name, Output<String> id, SdwanErrorCorrectionProfileState state, CustomResourceOptions options)
    resources:  _:    type: scm:SdwanErrorCorrectionProfile    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:
    ActivationThreshold int
    Activation threshold
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    Mode SdwanErrorCorrectionProfileMode
    Mode
    Name string
    Name
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    ActivationThreshold int
    Activation threshold
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    Mode SdwanErrorCorrectionProfileModeArgs
    Mode
    Name string
    Name
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    activationThreshold Integer
    Activation threshold
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    mode SdwanErrorCorrectionProfileMode
    Mode
    name String
    Name
    snippet String
    The snippet in which the resource is defined
    tfid String
    activationThreshold number
    Activation threshold
    device string
    The device in which the resource is defined
    folder string
    The folder in which the resource is defined
    mode SdwanErrorCorrectionProfileMode
    Mode
    name string
    Name
    snippet string
    The snippet in which the resource is defined
    tfid string
    activation_threshold int
    Activation threshold
    device str
    The device in which the resource is defined
    folder str
    The folder in which the resource is defined
    mode SdwanErrorCorrectionProfileModeArgs
    Mode
    name str
    Name
    snippet str
    The snippet in which the resource is defined
    tfid str
    activationThreshold Number
    Activation threshold
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    mode Property Map
    Mode
    name String
    Name
    snippet String
    The snippet in which the resource is defined
    tfid String

    Supporting Types

    SdwanErrorCorrectionProfileMode, SdwanErrorCorrectionProfileModeArgs

    forwardErrorCorrection Property Map
    Forward error correction
    packetDuplication Property Map
    Packet duplication

    SdwanErrorCorrectionProfileModeForwardErrorCorrection, SdwanErrorCorrectionProfileModeForwardErrorCorrectionArgs

    Ratio string
    Ratio
    RecoveryDuration int
    Recovery duration
    Ratio string
    Ratio
    RecoveryDuration int
    Recovery duration
    ratio String
    Ratio
    recoveryDuration Integer
    Recovery duration
    ratio string
    Ratio
    recoveryDuration number
    Recovery duration
    ratio str
    Ratio
    recovery_duration int
    Recovery duration
    ratio String
    Ratio
    recoveryDuration Number
    Recovery duration

    SdwanErrorCorrectionProfileModePacketDuplication, SdwanErrorCorrectionProfileModePacketDuplicationArgs

    RecoveryDurationPd int
    Recovery duration pd
    RecoveryDurationPd int
    Recovery duration pd
    recoveryDurationPd Integer
    Recovery duration pd
    recoveryDurationPd number
    Recovery duration pd
    recovery_duration_pd int
    Recovery duration pd
    recoveryDurationPd Number
    Recovery duration pd

    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