1. Packages
  2. Packages
  3. Cisco Catalyst SD-WAN Provider
  4. API Docs
  5. getTopologyHubSpokeFeature
Viewing docs for Cisco Catalyst SD-WAN v0.9.1
published on Friday, Jun 26, 2026 by Pulumi
sdwan logo
Viewing docs for Cisco Catalyst SD-WAN v0.9.1
published on Friday, Jun 26, 2026 by Pulumi

    This data source can read the Topology Hub Spoke Feature.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sdwan from "@pulumi/sdwan";
    
    const example = sdwan.getTopologyHubSpokeFeature({
        id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
        featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
    });
    
    import pulumi
    import pulumi_sdwan as sdwan
    
    example = sdwan.get_topology_hub_spoke_feature(id="f6b2c44c-693c-4763-b010-895aa3d236bd",
        feature_profile_id="f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
    
    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.GetTopologyHubSpokeFeature(ctx, &sdwan.LookupTopologyHubSpokeFeatureArgs{
    			Id:               "f6b2c44c-693c-4763-b010-895aa3d236bd",
    			FeatureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
    		}, nil)
    		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 = Sdwan.GetTopologyHubSpokeFeature.Invoke(new()
        {
            Id = "f6b2c44c-693c-4763-b010-895aa3d236bd",
            FeatureProfileId = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sdwan.SdwanFunctions;
    import com.pulumi.sdwan.inputs.GetTopologyHubSpokeFeatureArgs;
    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) {
            final var example = SdwanFunctions.getTopologyHubSpokeFeature(GetTopologyHubSpokeFeatureArgs.builder()
                .id("f6b2c44c-693c-4763-b010-895aa3d236bd")
                .featureProfileId("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: sdwan:getTopologyHubSpokeFeature
          arguments:
            id: f6b2c44c-693c-4763-b010-895aa3d236bd
            featureProfileId: f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac
    
    pulumi {
      required_providers {
        sdwan = {
          source = "pulumi/sdwan"
        }
      }
    }
    
    data "sdwan_gettopologyhubspokefeature" "example" {
      id                 = "f6b2c44c-693c-4763-b010-895aa3d236bd"
      feature_profile_id = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
    }
    

    Using getTopologyHubSpokeFeature

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getTopologyHubSpokeFeature(args: GetTopologyHubSpokeFeatureArgs, opts?: InvokeOptions): Promise<GetTopologyHubSpokeFeatureResult>
    function getTopologyHubSpokeFeatureOutput(args: GetTopologyHubSpokeFeatureOutputArgs, opts?: InvokeOptions): Output<GetTopologyHubSpokeFeatureResult>
    def get_topology_hub_spoke_feature(feature_profile_id: Optional[str] = None,
                                       id: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetTopologyHubSpokeFeatureResult
    def get_topology_hub_spoke_feature_output(feature_profile_id: pulumi.Input[Optional[str]] = None,
                                       id: pulumi.Input[Optional[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetTopologyHubSpokeFeatureResult]
    func LookupTopologyHubSpokeFeature(ctx *Context, args *LookupTopologyHubSpokeFeatureArgs, opts ...InvokeOption) (*LookupTopologyHubSpokeFeatureResult, error)
    func LookupTopologyHubSpokeFeatureOutput(ctx *Context, args *LookupTopologyHubSpokeFeatureOutputArgs, opts ...InvokeOption) LookupTopologyHubSpokeFeatureResultOutput

    > Note: This function is named LookupTopologyHubSpokeFeature in the Go SDK.

    public static class GetTopologyHubSpokeFeature 
    {
        public static Task<GetTopologyHubSpokeFeatureResult> InvokeAsync(GetTopologyHubSpokeFeatureArgs args, InvokeOptions? opts = null)
        public static Output<GetTopologyHubSpokeFeatureResult> Invoke(GetTopologyHubSpokeFeatureInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTopologyHubSpokeFeatureResult> getTopologyHubSpokeFeature(GetTopologyHubSpokeFeatureArgs args, InvokeOptions options)
    public static Output<GetTopologyHubSpokeFeatureResult> getTopologyHubSpokeFeature(GetTopologyHubSpokeFeatureArgs args, InvokeOptions options)
    
    fn::invoke:
      function: sdwan:index/getTopologyHubSpokeFeature:getTopologyHubSpokeFeature
      arguments:
        # arguments dictionary
    data "sdwan_gettopologyhubspokefeature" "name" {
        # arguments
    }

    The following arguments are supported:

    FeatureProfileId string
    Feature Profile ID
    Id string
    The id of the Feature
    FeatureProfileId string
    Feature Profile ID
    Id string
    The id of the Feature
    feature_profile_id string
    Feature Profile ID
    id string
    The id of the Feature
    featureProfileId String
    Feature Profile ID
    id String
    The id of the Feature
    featureProfileId string
    Feature Profile ID
    id string
    The id of the Feature
    feature_profile_id str
    Feature Profile ID
    id str
    The id of the Feature
    featureProfileId String
    Feature Profile ID
    id String
    The id of the Feature

    getTopologyHubSpokeFeature Result

    The following output properties are available:

    Description string
    The description of the Feature
    FeatureProfileId string
    Feature Profile ID
    Id string
    The id of the Feature
    Name string
    The name of the Feature
    SelectedHubs List<string>
    Spokes List<GetTopologyHubSpokeFeatureSpoke>
    Spokes
    TargetVpns List<string>
    Version int
    The version of the Feature
    Description string
    The description of the Feature
    FeatureProfileId string
    Feature Profile ID
    Id string
    The id of the Feature
    Name string
    The name of the Feature
    SelectedHubs []string
    Spokes []GetTopologyHubSpokeFeatureSpoke
    Spokes
    TargetVpns []string
    Version int
    The version of the Feature
    description string
    The description of the Feature
    feature_profile_id string
    Feature Profile ID
    id string
    The id of the Feature
    name string
    The name of the Feature
    selected_hubs list(string)
    spokes list(object)
    Spokes
    target_vpns list(string)
    version number
    The version of the Feature
    description String
    The description of the Feature
    featureProfileId String
    Feature Profile ID
    id String
    The id of the Feature
    name String
    The name of the Feature
    selectedHubs List<String>
    spokes List<GetTopologyHubSpokeFeatureSpoke>
    Spokes
    targetVpns List<String>
    version Integer
    The version of the Feature
    description string
    The description of the Feature
    featureProfileId string
    Feature Profile ID
    id string
    The id of the Feature
    name string
    The name of the Feature
    selectedHubs string[]
    spokes GetTopologyHubSpokeFeatureSpoke[]
    Spokes
    targetVpns string[]
    version number
    The version of the Feature
    description str
    The description of the Feature
    feature_profile_id str
    Feature Profile ID
    id str
    The id of the Feature
    name str
    The name of the Feature
    selected_hubs Sequence[str]
    spokes Sequence[GetTopologyHubSpokeFeatureSpoke]
    Spokes
    target_vpns Sequence[str]
    version int
    The version of the Feature
    description String
    The description of the Feature
    featureProfileId String
    Feature Profile ID
    id String
    The id of the Feature
    name String
    The name of the Feature
    selectedHubs List<String>
    spokes List<Property Map>
    Spokes
    targetVpns List<String>
    version Number
    The version of the Feature

    Supporting Types

    GetTopologyHubSpokeFeatureSpoke

    hub_sites list(object)
    Hub Sites
    name string
    spoke_sites list(string)
    hubSites List<Property Map>
    Hub Sites
    name String
    spokeSites List<String>

    GetTopologyHubSpokeFeatureSpokeHubSite

    Preference int
    preference
    Sites List<string>
    sites
    Preference int
    preference
    Sites []string
    sites
    preference number
    preference
    sites list(string)
    sites
    preference Integer
    preference
    sites List<String>
    sites
    preference number
    preference
    sites string[]
    sites
    preference int
    preference
    sites Sequence[str]
    sites
    preference Number
    preference
    sites List<String>
    sites

    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.1
    published on Friday, Jun 26, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial