Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi
sdwan.getCliConfigFeature
Explore with Pulumi AI
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:
- Feature
Profile stringId - Feature Profile ID
- Id string
- The id of the object
- Feature
Profile stringId - Feature Profile ID
- Id string
- The id of the object
- feature
Profile StringId - Feature Profile ID
- id String
- The id of the object
- feature
Profile stringId - Feature Profile ID
- id string
- The id of the object
- feature_
profile_ strid - Feature Profile ID
- id str
- The id of the object
- feature
Profile StringId - Feature Profile ID
- id String
- The id of the object
getCliConfigFeature Result
The following output properties are available:
- Cli
Configuration string - CLI configuration
- Description string
- The description of the Feature
- Feature
Profile stringId - Feature Profile ID
- Id string
- The id of the object
- Name string
- The name of the Feature
- Version int
- The version of the object
- Cli
Configuration string - CLI configuration
- Description string
- The description of the Feature
- Feature
Profile stringId - Feature Profile ID
- Id string
- The id of the object
- Name string
- The name of the Feature
- Version int
- The version of the object
- cli
Configuration String - CLI configuration
- description String
- The description of the Feature
- feature
Profile StringId - Feature Profile ID
- id String
- The id of the object
- name String
- The name of the Feature
- version Integer
- The version of the object
- cli
Configuration string - CLI configuration
- description string
- The description of the Feature
- feature
Profile stringId - 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_ strid - Feature Profile ID
- id str
- The id of the object
- name str
- The name of the Feature
- version int
- The version of the object
- cli
Configuration String - CLI configuration
- description String
- The description of the Feature
- feature
Profile StringId - 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.