Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi
sdwan.getCiscoBannerFeatureTemplate
Explore with Pulumi AI
This data source can read the Cisco Banner feature template.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sdwan from "@pulumi/sdwan";
const example = sdwan.getCiscoBannerFeatureTemplate({
id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
});
import pulumi
import pulumi_sdwan as sdwan
example = sdwan.get_cisco_banner_feature_template(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.LookupCiscoBannerFeatureTemplate(ctx, &sdwan.LookupCiscoBannerFeatureTemplateArgs{
Id: pulumi.StringRef("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.GetCiscoBannerFeatureTemplate.Invoke(new()
{
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.GetCiscoBannerFeatureTemplateArgs;
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.getCiscoBannerFeatureTemplate(GetCiscoBannerFeatureTemplateArgs.builder()
.id("f6b2c44c-693c-4763-b010-895aa3d236bd")
.build());
}
}
variables:
example:
fn::invoke:
Function: sdwan:getCiscoBannerFeatureTemplate
Arguments:
id: f6b2c44c-693c-4763-b010-895aa3d236bd
Using getCiscoBannerFeatureTemplate
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 getCiscoBannerFeatureTemplate(args: GetCiscoBannerFeatureTemplateArgs, opts?: InvokeOptions): Promise<GetCiscoBannerFeatureTemplateResult>
function getCiscoBannerFeatureTemplateOutput(args: GetCiscoBannerFeatureTemplateOutputArgs, opts?: InvokeOptions): Output<GetCiscoBannerFeatureTemplateResult>
def get_cisco_banner_feature_template(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCiscoBannerFeatureTemplateResult
def get_cisco_banner_feature_template_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCiscoBannerFeatureTemplateResult]
func LookupCiscoBannerFeatureTemplate(ctx *Context, args *LookupCiscoBannerFeatureTemplateArgs, opts ...InvokeOption) (*LookupCiscoBannerFeatureTemplateResult, error)
func LookupCiscoBannerFeatureTemplateOutput(ctx *Context, args *LookupCiscoBannerFeatureTemplateOutputArgs, opts ...InvokeOption) LookupCiscoBannerFeatureTemplateResultOutput
> Note: This function is named LookupCiscoBannerFeatureTemplate
in the Go SDK.
public static class GetCiscoBannerFeatureTemplate
{
public static Task<GetCiscoBannerFeatureTemplateResult> InvokeAsync(GetCiscoBannerFeatureTemplateArgs args, InvokeOptions? opts = null)
public static Output<GetCiscoBannerFeatureTemplateResult> Invoke(GetCiscoBannerFeatureTemplateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCiscoBannerFeatureTemplateResult> getCiscoBannerFeatureTemplate(GetCiscoBannerFeatureTemplateArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: sdwan:index/getCiscoBannerFeatureTemplate:getCiscoBannerFeatureTemplate
arguments:
# arguments dictionary
The following arguments are supported:
getCiscoBannerFeatureTemplate Result
The following output properties are available:
- Description string
- The description of the feature template
- Device
Types List<string> - List of supported device types
- Id string
- The id of the feature template
- Login string
- Set message to display before login prompt
- Login
Variable string - Variable name
- Motd string
- Set message to display after a user logs in
- Motd
Variable string - Variable name
- Name string
- The name of the feature template
- Template
Type string - The template type
- Version int
- The version of the feature template
- Description string
- The description of the feature template
- Device
Types []string - List of supported device types
- Id string
- The id of the feature template
- Login string
- Set message to display before login prompt
- Login
Variable string - Variable name
- Motd string
- Set message to display after a user logs in
- Motd
Variable string - Variable name
- Name string
- The name of the feature template
- Template
Type string - The template type
- Version int
- The version of the feature template
- description String
- The description of the feature template
- device
Types List<String> - List of supported device types
- id String
- The id of the feature template
- login String
- Set message to display before login prompt
- login
Variable String - Variable name
- motd String
- Set message to display after a user logs in
- motd
Variable String - Variable name
- name String
- The name of the feature template
- template
Type String - The template type
- version Integer
- The version of the feature template
- description string
- The description of the feature template
- device
Types string[] - List of supported device types
- id string
- The id of the feature template
- login string
- Set message to display before login prompt
- login
Variable string - Variable name
- motd string
- Set message to display after a user logs in
- motd
Variable string - Variable name
- name string
- The name of the feature template
- template
Type string - The template type
- version number
- The version of the feature template
- description str
- The description of the feature template
- device_
types Sequence[str] - List of supported device types
- id str
- The id of the feature template
- login str
- Set message to display before login prompt
- login_
variable str - Variable name
- motd str
- Set message to display after a user logs in
- motd_
variable str - Variable name
- name str
- The name of the feature template
- template_
type str - The template type
- version int
- The version of the feature template
- description String
- The description of the feature template
- device
Types List<String> - List of supported device types
- id String
- The id of the feature template
- login String
- Set message to display before login prompt
- login
Variable String - Variable name
- motd String
- Set message to display after a user logs in
- motd
Variable String - Variable name
- name String
- The name of the feature template
- template
Type String - The template type
- version Number
- The version of the feature template
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
sdwan
Terraform Provider.