1. Registry
  2. Packages
  3. Cisco Catalyst SD-WAN Provider
  4. API Docs
  5. ServiceDualRouterHaFeature
Viewing docs for Cisco Catalyst SD-WAN v0.9.3
published on Tuesday, Sep 8, 2026 by Pulumi
sdwan logo
Viewing docs for Cisco Catalyst SD-WAN v0.9.3
published on Tuesday, Sep 8, 2026 by Pulumi

    This resource can manage a Service Dual Router HA Feature.

    • Minimum SD-WAN Manager version: 20.15.1

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sdwan from "@pulumi/sdwan";
    
    const example = new sdwan.ServiceDualRouterHaFeature("example", {
        name: "Example",
        description: "My Example",
        featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
        redundancyGroups: [{
            groupId: 1,
            vpnIds: [{
                vpnId: "615d948f-34ee-4a2e-810e-a9bd8d3d48ec",
            }],
            tagName: "example",
        }],
        enableOptimizePaths: false,
    });
    
    import pulumi
    import pulumi_sdwan as sdwan
    
    example = sdwan.ServiceDualRouterHaFeature("example",
        name="Example",
        description="My Example",
        feature_profile_id="f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
        redundancy_groups=[{
            "group_id": 1,
            "vpn_ids": [{
                "vpn_id": "615d948f-34ee-4a2e-810e-a9bd8d3d48ec",
            }],
            "tag_name": "example",
        }],
        enable_optimize_paths=False)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-sdwan/sdk/go/sdwan"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sdwan.NewServiceDualRouterHaFeature(ctx, "example", &sdwan.ServiceDualRouterHaFeatureArgs{
    			Name:             pulumi.String("Example"),
    			Description:      pulumi.String("My Example"),
    			FeatureProfileId: pulumi.String("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"),
    			RedundancyGroups: sdwan.ServiceDualRouterHaFeatureRedundancyGroupArray{
    				&sdwan.ServiceDualRouterHaFeatureRedundancyGroupArgs{
    					GroupId: pulumi.Int(1),
    					VpnIds: sdwan.ServiceDualRouterHaFeatureRedundancyGroupVpnIdArray{
    						&sdwan.ServiceDualRouterHaFeatureRedundancyGroupVpnIdArgs{
    							VpnId: pulumi.String("615d948f-34ee-4a2e-810e-a9bd8d3d48ec"),
    						},
    					},
    					TagName: pulumi.String("example"),
    				},
    			},
    			EnableOptimizePaths: pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Sdwan = Pulumi.Sdwan;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Sdwan.ServiceDualRouterHaFeature("example", new()
        {
            Name = "Example",
            Description = "My Example",
            FeatureProfileId = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
            RedundancyGroups = new[]
            {
                new Sdwan.Inputs.ServiceDualRouterHaFeatureRedundancyGroupArgs
                {
                    GroupId = 1,
                    VpnIds = new[]
                    {
                        new Sdwan.Inputs.ServiceDualRouterHaFeatureRedundancyGroupVpnIdArgs
                        {
                            VpnId = "615d948f-34ee-4a2e-810e-a9bd8d3d48ec",
                        },
                    },
                    TagName = "example",
                },
            },
            EnableOptimizePaths = false,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sdwan.ServiceDualRouterHaFeature;
    import com.pulumi.sdwan.ServiceDualRouterHaFeatureArgs;
    import com.pulumi.sdwan.inputs.ServiceDualRouterHaFeatureRedundancyGroupArgs;
    import com.pulumi.sdwan.inputs.ServiceDualRouterHaFeatureRedundancyGroupVpnIdArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new ServiceDualRouterHaFeature("example", ServiceDualRouterHaFeatureArgs.builder()
                .name("Example")
                .description("My Example")
                .featureProfileId("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
                .redundancyGroups(ServiceDualRouterHaFeatureRedundancyGroupArgs.builder()
                    .groupId(1)
                    .vpnIds(ServiceDualRouterHaFeatureRedundancyGroupVpnIdArgs.builder()
                        .vpnId("615d948f-34ee-4a2e-810e-a9bd8d3d48ec")
                        .build())
                    .tagName("example")
                    .build())
                .enableOptimizePaths(false)
                .build());
    
        }
    }
    
    resources:
      example:
        type: sdwan:ServiceDualRouterHaFeature
        properties:
          name: Example
          description: My Example
          featureProfileId: f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac
          redundancyGroups:
            - groupId: 1
              vpnIds:
                - vpnId: 615d948f-34ee-4a2e-810e-a9bd8d3d48ec
              tagName: example
          enableOptimizePaths: false
    
    pulumi {
      required_providers {
        sdwan = {
          source = "pulumi/sdwan"
        }
      }
    }
    
    resource "sdwan_servicedualrouterhafeature" "example" {
      name               = "Example"
      description        = "My Example"
      feature_profile_id = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
      redundancy_groups {
        group_id = 1
        vpn_ids {
          vpn_id = "615d948f-34ee-4a2e-810e-a9bd8d3d48ec"
        }
        tag_name = "example"
      }
      enable_optimize_paths = false
    }
    

    Create ServiceDualRouterHaFeature Resource

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

    Constructor syntax

    new ServiceDualRouterHaFeature(name: string, args: ServiceDualRouterHaFeatureArgs, opts?: CustomResourceOptions);
    @overload
    def ServiceDualRouterHaFeature(resource_name: str,
                                   args: ServiceDualRouterHaFeatureArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServiceDualRouterHaFeature(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   feature_profile_id: Optional[str] = None,
                                   redundancy_groups: Optional[Sequence[ServiceDualRouterHaFeatureRedundancyGroupArgs]] = None,
                                   description: Optional[str] = None,
                                   enable_optimize_paths: Optional[bool] = None,
                                   name: Optional[str] = None)
    func NewServiceDualRouterHaFeature(ctx *Context, name string, args ServiceDualRouterHaFeatureArgs, opts ...ResourceOption) (*ServiceDualRouterHaFeature, error)
    public ServiceDualRouterHaFeature(string name, ServiceDualRouterHaFeatureArgs args, CustomResourceOptions? opts = null)
    public ServiceDualRouterHaFeature(String name, ServiceDualRouterHaFeatureArgs args)
    public ServiceDualRouterHaFeature(String name, ServiceDualRouterHaFeatureArgs args, CustomResourceOptions options)
    
    type: sdwan:ServiceDualRouterHaFeature
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "sdwan_service_dual_router_ha_feature" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ServiceDualRouterHaFeatureArgs
    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 ServiceDualRouterHaFeatureArgs
    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 ServiceDualRouterHaFeatureArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServiceDualRouterHaFeatureArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServiceDualRouterHaFeatureArgs
    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 serviceDualRouterHaFeatureResource = new Sdwan.ServiceDualRouterHaFeature("serviceDualRouterHaFeatureResource", new()
    {
        FeatureProfileId = "string",
        RedundancyGroups = new[]
        {
            new Sdwan.Inputs.ServiceDualRouterHaFeatureRedundancyGroupArgs
            {
                GroupId = 0,
                TagName = "string",
                VpnIds = new[]
                {
                    new Sdwan.Inputs.ServiceDualRouterHaFeatureRedundancyGroupVpnIdArgs
                    {
                        VpnId = "string",
                    },
                },
            },
        },
        Description = "string",
        EnableOptimizePaths = false,
        Name = "string",
    });
    
    example, err := sdwan.NewServiceDualRouterHaFeature(ctx, "serviceDualRouterHaFeatureResource", &sdwan.ServiceDualRouterHaFeatureArgs{
    	FeatureProfileId: pulumi.String("string"),
    	RedundancyGroups: sdwan.ServiceDualRouterHaFeatureRedundancyGroupArray{
    		&sdwan.ServiceDualRouterHaFeatureRedundancyGroupArgs{
    			GroupId: pulumi.Int(0),
    			TagName: pulumi.String("string"),
    			VpnIds: sdwan.ServiceDualRouterHaFeatureRedundancyGroupVpnIdArray{
    				&sdwan.ServiceDualRouterHaFeatureRedundancyGroupVpnIdArgs{
    					VpnId: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	Description:         pulumi.String("string"),
    	EnableOptimizePaths: pulumi.Bool(false),
    	Name:                pulumi.String("string"),
    })
    
    resource "sdwan_service_dual_router_ha_feature" "serviceDualRouterHaFeatureResource" {
      lifecycle {
        create_before_destroy = true
      }
      feature_profile_id = "string"
      redundancy_groups {
        group_id = 0
        tag_name = "string"
        vpn_ids {
          vpn_id = "string"
        }
      }
      description           = "string"
      enable_optimize_paths = false
      name                  = "string"
    }
    
    var serviceDualRouterHaFeatureResource = new ServiceDualRouterHaFeature("serviceDualRouterHaFeatureResource", ServiceDualRouterHaFeatureArgs.builder()
        .featureProfileId("string")
        .redundancyGroups(ServiceDualRouterHaFeatureRedundancyGroupArgs.builder()
            .groupId(0)
            .tagName("string")
            .vpnIds(ServiceDualRouterHaFeatureRedundancyGroupVpnIdArgs.builder()
                .vpnId("string")
                .build())
            .build())
        .description("string")
        .enableOptimizePaths(false)
        .name("string")
        .build());
    
    service_dual_router_ha_feature_resource = sdwan.ServiceDualRouterHaFeature("serviceDualRouterHaFeatureResource",
        feature_profile_id="string",
        redundancy_groups=[{
            "group_id": 0,
            "tag_name": "string",
            "vpn_ids": [{
                "vpn_id": "string",
            }],
        }],
        description="string",
        enable_optimize_paths=False,
        name="string")
    
    const serviceDualRouterHaFeatureResource = new sdwan.ServiceDualRouterHaFeature("serviceDualRouterHaFeatureResource", {
        featureProfileId: "string",
        redundancyGroups: [{
            groupId: 0,
            tagName: "string",
            vpnIds: [{
                vpnId: "string",
            }],
        }],
        description: "string",
        enableOptimizePaths: false,
        name: "string",
    });
    
    type: sdwan:ServiceDualRouterHaFeature
    properties:
        description: string
        enableOptimizePaths: false
        featureProfileId: string
        name: string
        redundancyGroups:
            - groupId: 0
              tagName: string
              vpnIds:
                - vpnId: string
    

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

    FeatureProfileId string
    Feature Profile ID
    RedundancyGroups List<ServiceDualRouterHaFeatureRedundancyGroup>
    Service VPN Id List
    Description string
    The description of the Feature
    EnableOptimizePaths bool
    The operation mode is configured for each router in 2 configuration groups

    • Default value: true
    Name string
    The name of the Feature
    FeatureProfileId string
    Feature Profile ID
    RedundancyGroups []ServiceDualRouterHaFeatureRedundancyGroupArgs
    Service VPN Id List
    Description string
    The description of the Feature
    EnableOptimizePaths bool
    The operation mode is configured for each router in 2 configuration groups

    • Default value: true
    Name string
    The name of the Feature
    feature_profile_id string
    Feature Profile ID
    redundancy_groups list(object)
    Service VPN Id List
    description string
    The description of the Feature
    enable_optimize_paths bool
    The operation mode is configured for each router in 2 configuration groups

    • Default value: true
    name string
    The name of the Feature
    featureProfileId String
    Feature Profile ID
    redundancyGroups List<ServiceDualRouterHaFeatureRedundancyGroup>
    Service VPN Id List
    description String
    The description of the Feature
    enableOptimizePaths Boolean
    The operation mode is configured for each router in 2 configuration groups

    • Default value: true
    name String
    The name of the Feature
    featureProfileId string
    Feature Profile ID
    redundancyGroups ServiceDualRouterHaFeatureRedundancyGroup[]
    Service VPN Id List
    description string
    The description of the Feature
    enableOptimizePaths boolean
    The operation mode is configured for each router in 2 configuration groups

    • Default value: true
    name string
    The name of the Feature
    feature_profile_id str
    Feature Profile ID
    redundancy_groups Sequence[ServiceDualRouterHaFeatureRedundancyGroupArgs]
    Service VPN Id List
    description str
    The description of the Feature
    enable_optimize_paths bool
    The operation mode is configured for each router in 2 configuration groups

    • Default value: true
    name str
    The name of the Feature
    featureProfileId String
    Feature Profile ID
    redundancyGroups List<Property Map>
    Service VPN Id List
    description String
    The description of the Feature
    enableOptimizePaths Boolean
    The operation mode is configured for each router in 2 configuration groups

    • Default value: true
    name String
    The name of the Feature

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Version int
    The version of the Feature
    Id string
    The provider-assigned unique ID for this managed resource.
    Version int
    The version of the Feature
    id string
    The provider-assigned unique ID for this managed resource.
    version number
    The version of the Feature
    id String
    The provider-assigned unique ID for this managed resource.
    version Integer
    The version of the Feature
    id string
    The provider-assigned unique ID for this managed resource.
    version number
    The version of the Feature
    id str
    The provider-assigned unique ID for this managed resource.
    version int
    The version of the Feature
    id String
    The provider-assigned unique ID for this managed resource.
    version Number
    The version of the Feature

    Look up Existing ServiceDualRouterHaFeature Resource

    Get an existing ServiceDualRouterHaFeature 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?: ServiceDualRouterHaFeatureState, opts?: CustomResourceOptions): ServiceDualRouterHaFeature
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            enable_optimize_paths: Optional[bool] = None,
            feature_profile_id: Optional[str] = None,
            name: Optional[str] = None,
            redundancy_groups: Optional[Sequence[ServiceDualRouterHaFeatureRedundancyGroupArgs]] = None,
            version: Optional[int] = None) -> ServiceDualRouterHaFeature
    func GetServiceDualRouterHaFeature(ctx *Context, name string, id IDInput, state *ServiceDualRouterHaFeatureState, opts ...ResourceOption) (*ServiceDualRouterHaFeature, error)
    public static ServiceDualRouterHaFeature Get(string name, Input<string> id, ServiceDualRouterHaFeatureState? state, CustomResourceOptions? opts = null)
    public static ServiceDualRouterHaFeature get(String name, Output<String> id, ServiceDualRouterHaFeatureState state, CustomResourceOptions options)
    resources:  _:    type: sdwan:ServiceDualRouterHaFeature    get:      id: ${id}
    import {
      to = sdwan_service_dual_router_ha_feature.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:
    Description string
    The description of the Feature
    EnableOptimizePaths bool
    The operation mode is configured for each router in 2 configuration groups

    • Default value: true
    FeatureProfileId string
    Feature Profile ID
    Name string
    The name of the Feature
    RedundancyGroups List<ServiceDualRouterHaFeatureRedundancyGroup>
    Service VPN Id List
    Version int
    The version of the Feature
    Description string
    The description of the Feature
    EnableOptimizePaths bool
    The operation mode is configured for each router in 2 configuration groups

    • Default value: true
    FeatureProfileId string
    Feature Profile ID
    Name string
    The name of the Feature
    RedundancyGroups []ServiceDualRouterHaFeatureRedundancyGroupArgs
    Service VPN Id List
    Version int
    The version of the Feature
    description string
    The description of the Feature
    enable_optimize_paths bool
    The operation mode is configured for each router in 2 configuration groups

    • Default value: true
    feature_profile_id string
    Feature Profile ID
    name string
    The name of the Feature
    redundancy_groups list(object)
    Service VPN Id List
    version number
    The version of the Feature
    description String
    The description of the Feature
    enableOptimizePaths Boolean
    The operation mode is configured for each router in 2 configuration groups

    • Default value: true
    featureProfileId String
    Feature Profile ID
    name String
    The name of the Feature
    redundancyGroups List<ServiceDualRouterHaFeatureRedundancyGroup>
    Service VPN Id List
    version Integer
    The version of the Feature
    description string
    The description of the Feature
    enableOptimizePaths boolean
    The operation mode is configured for each router in 2 configuration groups

    • Default value: true
    featureProfileId string
    Feature Profile ID
    name string
    The name of the Feature
    redundancyGroups ServiceDualRouterHaFeatureRedundancyGroup[]
    Service VPN Id List
    version number
    The version of the Feature
    description str
    The description of the Feature
    enable_optimize_paths bool
    The operation mode is configured for each router in 2 configuration groups

    • Default value: true
    feature_profile_id str
    Feature Profile ID
    name str
    The name of the Feature
    redundancy_groups Sequence[ServiceDualRouterHaFeatureRedundancyGroupArgs]
    Service VPN Id List
    version int
    The version of the Feature
    description String
    The description of the Feature
    enableOptimizePaths Boolean
    The operation mode is configured for each router in 2 configuration groups

    • Default value: true
    featureProfileId String
    Feature Profile ID
    name String
    The name of the Feature
    redundancyGroups List<Property Map>
    Service VPN Id List
    version Number
    The version of the Feature

    Supporting Types

    ServiceDualRouterHaFeatureRedundancyGroup, ServiceDualRouterHaFeatureRedundancyGroupArgs

    group_id number
    • Range: 1-2
    tag_name string
    vpn_ids list(object)

    ServiceDualRouterHaFeatureRedundancyGroupVpnId, ServiceDualRouterHaFeatureRedundancyGroupVpnIdArgs

    VpnId string
    VpnId string
    vpn_id string
    vpnId String
    vpnId string
    vpn_id str
    vpnId String

    Import

    The pulumi import command can be used, for example:

    Expected import identifier with the format: “service_dual_router_ha_feature_id,feature_profile_id”

    $ pulumi import sdwan:index/serviceDualRouterHaFeature:ServiceDualRouterHaFeature example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    sdwan pulumi/pulumi-sdwan
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the sdwan Terraform Provider.
    sdwan logo
    Viewing docs for Cisco Catalyst SD-WAN v0.9.3
    published on Tuesday, Sep 8, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial