published on Tuesday, Sep 8, 2026 by Pulumi
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:
- Feature
Profile stringId - Feature Profile ID
- Redundancy
Groups List<ServiceDual Router Ha Feature Redundancy Group> - Service VPN Id List
- Description string
- The description of the Feature
- Enable
Optimize boolPaths - The operation mode is configured for each router in 2 configuration groups
- Default value:
true
- Default value:
- Name string
- The name of the Feature
- Feature
Profile stringId - Feature Profile ID
- Redundancy
Groups []ServiceDual Router Ha Feature Redundancy Group Args - Service VPN Id List
- Description string
- The description of the Feature
- Enable
Optimize boolPaths - The operation mode is configured for each router in 2 configuration groups
- Default value:
true
- Default value:
- Name string
- The name of the Feature
- feature_
profile_ stringid - Feature Profile ID
- redundancy_
groups list(object) - Service VPN Id List
- description string
- The description of the Feature
- enable_
optimize_ boolpaths - The operation mode is configured for each router in 2 configuration groups
- Default value:
true
- Default value:
- name string
- The name of the Feature
- feature
Profile StringId - Feature Profile ID
- redundancy
Groups List<ServiceDual Router Ha Feature Redundancy Group> - Service VPN Id List
- description String
- The description of the Feature
- enable
Optimize BooleanPaths - The operation mode is configured for each router in 2 configuration groups
- Default value:
true
- Default value:
- name String
- The name of the Feature
- feature
Profile stringId - Feature Profile ID
- redundancy
Groups ServiceDual Router Ha Feature Redundancy Group[] - Service VPN Id List
- description string
- The description of the Feature
- enable
Optimize booleanPaths - The operation mode is configured for each router in 2 configuration groups
- Default value:
true
- Default value:
- name string
- The name of the Feature
- feature_
profile_ strid - Feature Profile ID
- redundancy_
groups Sequence[ServiceDual Router Ha Feature Redundancy Group Args] - Service VPN Id List
- description str
- The description of the Feature
- enable_
optimize_ boolpaths - The operation mode is configured for each router in 2 configuration groups
- Default value:
true
- Default value:
- name str
- The name of the Feature
- feature
Profile StringId - Feature Profile ID
- redundancy
Groups List<Property Map> - Service VPN Id List
- description String
- The description of the Feature
- enable
Optimize BooleanPaths - The operation mode is configured for each router in 2 configuration groups
- Default value:
true
- Default value:
- 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:
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) -> ServiceDualRouterHaFeaturefunc 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.
- Description string
- The description of the Feature
- Enable
Optimize boolPaths - The operation mode is configured for each router in 2 configuration groups
- Default value:
true
- Default value:
- Feature
Profile stringId - Feature Profile ID
- Name string
- The name of the Feature
- Redundancy
Groups List<ServiceDual Router Ha Feature Redundancy Group> - Service VPN Id List
- Version int
- The version of the Feature
- Description string
- The description of the Feature
- Enable
Optimize boolPaths - The operation mode is configured for each router in 2 configuration groups
- Default value:
true
- Default value:
- Feature
Profile stringId - Feature Profile ID
- Name string
- The name of the Feature
- Redundancy
Groups []ServiceDual Router Ha Feature Redundancy Group Args - Service VPN Id List
- Version int
- The version of the Feature
- description string
- The description of the Feature
- enable_
optimize_ boolpaths - The operation mode is configured for each router in 2 configuration groups
- Default value:
true
- Default value:
- feature_
profile_ stringid - 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
- enable
Optimize BooleanPaths - The operation mode is configured for each router in 2 configuration groups
- Default value:
true
- Default value:
- feature
Profile StringId - Feature Profile ID
- name String
- The name of the Feature
- redundancy
Groups List<ServiceDual Router Ha Feature Redundancy Group> - Service VPN Id List
- version Integer
- The version of the Feature
- description string
- The description of the Feature
- enable
Optimize booleanPaths - The operation mode is configured for each router in 2 configuration groups
- Default value:
true
- Default value:
- feature
Profile stringId - Feature Profile ID
- name string
- The name of the Feature
- redundancy
Groups ServiceDual Router Ha Feature Redundancy Group[] - Service VPN Id List
- version number
- The version of the Feature
- description str
- The description of the Feature
- enable_
optimize_ boolpaths - The operation mode is configured for each router in 2 configuration groups
- Default value:
true
- Default value:
- feature_
profile_ strid - Feature Profile ID
- name str
- The name of the Feature
- redundancy_
groups Sequence[ServiceDual Router Ha Feature Redundancy Group Args] - Service VPN Id List
- version int
- The version of the Feature
- description String
- The description of the Feature
- enable
Optimize BooleanPaths - The operation mode is configured for each router in 2 configuration groups
- Default value:
true
- Default value:
- feature
Profile StringId - Feature Profile ID
- name String
- The name of the Feature
- redundancy
Groups List<Property Map> - Service VPN Id List
- version Number
- The version of the Feature
Supporting Types
ServiceDualRouterHaFeatureRedundancyGroup, ServiceDualRouterHaFeatureRedundancyGroupArgs
- Group
Id int - Range:
1-2
- Range:
- Tag
Name string - Vpn
Ids List<ServiceDual Router Ha Feature Redundancy Group Vpn Id>
- Group
Id int - Range:
1-2
- Range:
- Tag
Name string - Vpn
Ids []ServiceDual Router Ha Feature Redundancy Group Vpn Id
- group_
id number - Range:
1-2
- Range:
- tag_
name string - vpn_
ids list(object)
- group
Id Integer - Range:
1-2
- Range:
- tag
Name String - vpn
Ids List<ServiceDual Router Ha Feature Redundancy Group Vpn Id>
- group
Id number - Range:
1-2
- Range:
- tag
Name string - vpn
Ids ServiceDual Router Ha Feature Redundancy Group Vpn Id[]
- group
Id Number - Range:
1-2
- Range:
- tag
Name String - vpn
Ids List<Property Map>
ServiceDualRouterHaFeatureRedundancyGroupVpnId, ServiceDualRouterHaFeatureRedundancyGroupVpnIdArgs
- Vpn
Id string
- Vpn
Id string
- vpn_
id string
- vpn
Id String
- vpn
Id string
- vpn_
id str
- vpn
Id 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
sdwanTerraform Provider.
published on Tuesday, Sep 8, 2026 by Pulumi