1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. getCliConfigFeature
Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi

sdwan.getCliConfigFeature

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi

    This data source can read the CLI Config Feature .

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sdwan from "@pulumi/sdwan";
    
    const example = sdwan.getCliConfigFeature({
        featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
        id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
    });
    
    import pulumi
    import pulumi_sdwan as sdwan
    
    example = sdwan.get_cli_config_feature(feature_profile_id="f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
        id="f6b2c44c-693c-4763-b010-895aa3d236bd")
    
    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.LookupCliConfigFeature(ctx, &sdwan.LookupCliConfigFeatureArgs{
    			FeatureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
    			Id:               "f6b2c44c-693c-4763-b010-895aa3d236bd",
    		}, 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.GetCliConfigFeature.Invoke(new()
        {
            FeatureProfileId = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
            Id = "f6b2c44c-693c-4763-b010-895aa3d236bd",
        });
    
    });
    
    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.GetCliConfigFeatureArgs;
    import java.util.List;
    import java.util.ArrayList;
    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.getCliConfigFeature(GetCliConfigFeatureArgs.builder()
                .featureProfileId("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
                .id("f6b2c44c-693c-4763-b010-895aa3d236bd")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: sdwan:getCliConfigFeature
          Arguments:
            featureProfileId: f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac
            id: f6b2c44c-693c-4763-b010-895aa3d236bd
    

    Using getCliConfigFeature

    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 getCliConfigFeature(args: GetCliConfigFeatureArgs, opts?: InvokeOptions): Promise<GetCliConfigFeatureResult>
    function getCliConfigFeatureOutput(args: GetCliConfigFeatureOutputArgs, opts?: InvokeOptions): Output<GetCliConfigFeatureResult>
    def get_cli_config_feature(feature_profile_id: Optional[str] = None,
                               id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetCliConfigFeatureResult
    def get_cli_config_feature_output(feature_profile_id: Optional[pulumi.Input[str]] = None,
                               id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetCliConfigFeatureResult]
    func LookupCliConfigFeature(ctx *Context, args *LookupCliConfigFeatureArgs, opts ...InvokeOption) (*LookupCliConfigFeatureResult, error)
    func LookupCliConfigFeatureOutput(ctx *Context, args *LookupCliConfigFeatureOutputArgs, opts ...InvokeOption) LookupCliConfigFeatureResultOutput

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

    public static class GetCliConfigFeature 
    {
        public static Task<GetCliConfigFeatureResult> InvokeAsync(GetCliConfigFeatureArgs args, InvokeOptions? opts = null)
        public static Output<GetCliConfigFeatureResult> Invoke(GetCliConfigFeatureInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCliConfigFeatureResult> getCliConfigFeature(GetCliConfigFeatureArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: sdwan:index/getCliConfigFeature:getCliConfigFeature
      arguments:
        # arguments dictionary

    The following arguments are supported:

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

    getCliConfigFeature Result

    The following output properties are available:

    CliConfiguration string
    CLI configuration
    Description string
    The description of the Feature
    FeatureProfileId string
    Feature Profile ID
    Id string
    The id of the object
    Name string
    The name of the Feature
    Version int
    The version of the object
    CliConfiguration string
    CLI configuration
    Description string
    The description of the Feature
    FeatureProfileId string
    Feature Profile ID
    Id string
    The id of the object
    Name string
    The name of the Feature
    Version int
    The version of the object
    cliConfiguration String
    CLI configuration
    description String
    The description of the Feature
    featureProfileId String
    Feature Profile ID
    id String
    The id of the object
    name String
    The name of the Feature
    version Integer
    The version of the object
    cliConfiguration string
    CLI configuration
    description string
    The description of the Feature
    featureProfileId string
    Feature Profile ID
    id string
    The id of the object
    name string
    The name of the Feature
    version number
    The version of the object
    cli_configuration str
    CLI configuration
    description str
    The description of the Feature
    feature_profile_id str
    Feature Profile ID
    id str
    The id of the object
    name str
    The name of the Feature
    version int
    The version of the object
    cliConfiguration String
    CLI configuration
    description String
    The description of the Feature
    featureProfileId String
    Feature Profile ID
    id String
    The id of the object
    name String
    The name of the Feature
    version Number
    The version of the object

    Package Details

    Repository
    sdwan pulumi/pulumi-sdwan
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the sdwan Terraform Provider.
    sdwan logo
    Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi