1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. CiscoBannerFeatureTemplate
Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi

sdwan.CiscoBannerFeatureTemplate

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi

    This resource can manage a Cisco Banner feature template.

    • Minimum SD-WAN Manager version: 15.0.0

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sdwan from "@pulumi/sdwan";
    
    const example = new sdwan.CiscoBannerFeatureTemplate("example", {
        name: "Example",
        description: "My Example",
        deviceTypes: ["vedge-C8000V"],
        login: "My Login Banner",
        motd: "My MOTD Banner",
    });
    
    import pulumi
    import pulumi_sdwan as sdwan
    
    example = sdwan.CiscoBannerFeatureTemplate("example",
        name="Example",
        description="My Example",
        device_types=["vedge-C8000V"],
        login="My Login Banner",
        motd="My MOTD Banner")
    
    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.NewCiscoBannerFeatureTemplate(ctx, "example", &sdwan.CiscoBannerFeatureTemplateArgs{
    			Name:        pulumi.String("Example"),
    			Description: pulumi.String("My Example"),
    			DeviceTypes: pulumi.StringArray{
    				pulumi.String("vedge-C8000V"),
    			},
    			Login: pulumi.String("My Login Banner"),
    			Motd:  pulumi.String("My MOTD Banner"),
    		})
    		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.CiscoBannerFeatureTemplate("example", new()
        {
            Name = "Example",
            Description = "My Example",
            DeviceTypes = new[]
            {
                "vedge-C8000V",
            },
            Login = "My Login Banner",
            Motd = "My MOTD Banner",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sdwan.CiscoBannerFeatureTemplate;
    import com.pulumi.sdwan.CiscoBannerFeatureTemplateArgs;
    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) {
            var example = new CiscoBannerFeatureTemplate("example", CiscoBannerFeatureTemplateArgs.builder()        
                .name("Example")
                .description("My Example")
                .deviceTypes("vedge-C8000V")
                .login("My Login Banner")
                .motd("My MOTD Banner")
                .build());
    
        }
    }
    
    resources:
      example:
        type: sdwan:CiscoBannerFeatureTemplate
        properties:
          name: Example
          description: My Example
          deviceTypes:
            - vedge-C8000V
          login: My Login Banner
          motd: My MOTD Banner
    

    Create CiscoBannerFeatureTemplate Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CiscoBannerFeatureTemplate(name: string, args: CiscoBannerFeatureTemplateArgs, opts?: CustomResourceOptions);
    @overload
    def CiscoBannerFeatureTemplate(resource_name: str,
                                   args: CiscoBannerFeatureTemplateArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def CiscoBannerFeatureTemplate(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   description: Optional[str] = None,
                                   device_types: Optional[Sequence[str]] = None,
                                   login: Optional[str] = None,
                                   login_variable: Optional[str] = None,
                                   motd: Optional[str] = None,
                                   motd_variable: Optional[str] = None,
                                   name: Optional[str] = None)
    func NewCiscoBannerFeatureTemplate(ctx *Context, name string, args CiscoBannerFeatureTemplateArgs, opts ...ResourceOption) (*CiscoBannerFeatureTemplate, error)
    public CiscoBannerFeatureTemplate(string name, CiscoBannerFeatureTemplateArgs args, CustomResourceOptions? opts = null)
    public CiscoBannerFeatureTemplate(String name, CiscoBannerFeatureTemplateArgs args)
    public CiscoBannerFeatureTemplate(String name, CiscoBannerFeatureTemplateArgs args, CustomResourceOptions options)
    
    type: sdwan:CiscoBannerFeatureTemplate
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CiscoBannerFeatureTemplateArgs
    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 CiscoBannerFeatureTemplateArgs
    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 CiscoBannerFeatureTemplateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CiscoBannerFeatureTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CiscoBannerFeatureTemplateArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var ciscoBannerFeatureTemplateResource = new Sdwan.CiscoBannerFeatureTemplate("ciscoBannerFeatureTemplateResource", new()
    {
        Description = "string",
        DeviceTypes = new[]
        {
            "string",
        },
        Login = "string",
        LoginVariable = "string",
        Motd = "string",
        MotdVariable = "string",
        Name = "string",
    });
    
    example, err := sdwan.NewCiscoBannerFeatureTemplate(ctx, "ciscoBannerFeatureTemplateResource", &sdwan.CiscoBannerFeatureTemplateArgs{
    	Description: pulumi.String("string"),
    	DeviceTypes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Login:         pulumi.String("string"),
    	LoginVariable: pulumi.String("string"),
    	Motd:          pulumi.String("string"),
    	MotdVariable:  pulumi.String("string"),
    	Name:          pulumi.String("string"),
    })
    
    var ciscoBannerFeatureTemplateResource = new CiscoBannerFeatureTemplate("ciscoBannerFeatureTemplateResource", CiscoBannerFeatureTemplateArgs.builder()
        .description("string")
        .deviceTypes("string")
        .login("string")
        .loginVariable("string")
        .motd("string")
        .motdVariable("string")
        .name("string")
        .build());
    
    cisco_banner_feature_template_resource = sdwan.CiscoBannerFeatureTemplate("ciscoBannerFeatureTemplateResource",
        description="string",
        device_types=["string"],
        login="string",
        login_variable="string",
        motd="string",
        motd_variable="string",
        name="string")
    
    const ciscoBannerFeatureTemplateResource = new sdwan.CiscoBannerFeatureTemplate("ciscoBannerFeatureTemplateResource", {
        description: "string",
        deviceTypes: ["string"],
        login: "string",
        loginVariable: "string",
        motd: "string",
        motdVariable: "string",
        name: "string",
    });
    
    type: sdwan:CiscoBannerFeatureTemplate
    properties:
        description: string
        deviceTypes:
            - string
        login: string
        loginVariable: string
        motd: string
        motdVariable: string
        name: string
    

    CiscoBannerFeatureTemplate Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The CiscoBannerFeatureTemplate resource accepts the following input properties:

    Description string
    The description of the feature template
    DeviceTypes List<string>
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    Login string
    Set message to display before login prompt
    LoginVariable string
    Variable name
    Motd string
    Set message to display after a user logs in
    MotdVariable string
    Variable name
    Name string
    The name of the feature template
    Description string
    The description of the feature template
    DeviceTypes []string
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    Login string
    Set message to display before login prompt
    LoginVariable string
    Variable name
    Motd string
    Set message to display after a user logs in
    MotdVariable string
    Variable name
    Name string
    The name of the feature template
    description String
    The description of the feature template
    deviceTypes List<String>
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    login String
    Set message to display before login prompt
    loginVariable String
    Variable name
    motd String
    Set message to display after a user logs in
    motdVariable String
    Variable name
    name String
    The name of the feature template
    description string
    The description of the feature template
    deviceTypes string[]
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    login string
    Set message to display before login prompt
    loginVariable string
    Variable name
    motd string
    Set message to display after a user logs in
    motdVariable string
    Variable name
    name string
    The name of the feature template
    description str
    The description of the feature template
    device_types Sequence[str]
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    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
    description String
    The description of the feature template
    deviceTypes List<String>
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    login String
    Set message to display before login prompt
    loginVariable String
    Variable name
    motd String
    Set message to display after a user logs in
    motdVariable String
    Variable name
    name String
    The name of the feature template

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CiscoBannerFeatureTemplate resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    TemplateType string
    The template type
    Version int
    The version of the feature template
    Id string
    The provider-assigned unique ID for this managed resource.
    TemplateType string
    The template type
    Version int
    The version of the feature template
    id String
    The provider-assigned unique ID for this managed resource.
    templateType String
    The template type
    version Integer
    The version of the feature template
    id string
    The provider-assigned unique ID for this managed resource.
    templateType string
    The template type
    version number
    The version of the feature template
    id str
    The provider-assigned unique ID for this managed resource.
    template_type str
    The template type
    version int
    The version of the feature template
    id String
    The provider-assigned unique ID for this managed resource.
    templateType String
    The template type
    version Number
    The version of the feature template

    Look up Existing CiscoBannerFeatureTemplate Resource

    Get an existing CiscoBannerFeatureTemplate 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?: CiscoBannerFeatureTemplateState, opts?: CustomResourceOptions): CiscoBannerFeatureTemplate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            device_types: Optional[Sequence[str]] = None,
            login: Optional[str] = None,
            login_variable: Optional[str] = None,
            motd: Optional[str] = None,
            motd_variable: Optional[str] = None,
            name: Optional[str] = None,
            template_type: Optional[str] = None,
            version: Optional[int] = None) -> CiscoBannerFeatureTemplate
    func GetCiscoBannerFeatureTemplate(ctx *Context, name string, id IDInput, state *CiscoBannerFeatureTemplateState, opts ...ResourceOption) (*CiscoBannerFeatureTemplate, error)
    public static CiscoBannerFeatureTemplate Get(string name, Input<string> id, CiscoBannerFeatureTemplateState? state, CustomResourceOptions? opts = null)
    public static CiscoBannerFeatureTemplate get(String name, Output<String> id, CiscoBannerFeatureTemplateState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    Description string
    The description of the feature template
    DeviceTypes List<string>
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    Login string
    Set message to display before login prompt
    LoginVariable string
    Variable name
    Motd string
    Set message to display after a user logs in
    MotdVariable string
    Variable name
    Name string
    The name of the feature template
    TemplateType string
    The template type
    Version int
    The version of the feature template
    Description string
    The description of the feature template
    DeviceTypes []string
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    Login string
    Set message to display before login prompt
    LoginVariable string
    Variable name
    Motd string
    Set message to display after a user logs in
    MotdVariable string
    Variable name
    Name string
    The name of the feature template
    TemplateType string
    The template type
    Version int
    The version of the feature template
    description String
    The description of the feature template
    deviceTypes List<String>
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    login String
    Set message to display before login prompt
    loginVariable String
    Variable name
    motd String
    Set message to display after a user logs in
    motdVariable String
    Variable name
    name String
    The name of the feature template
    templateType String
    The template type
    version Integer
    The version of the feature template
    description string
    The description of the feature template
    deviceTypes string[]
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    login string
    Set message to display before login prompt
    loginVariable string
    Variable name
    motd string
    Set message to display after a user logs in
    motdVariable string
    Variable name
    name string
    The name of the feature template
    templateType 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 - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    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
    deviceTypes List<String>
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    login String
    Set message to display before login prompt
    loginVariable String
    Variable name
    motd String
    Set message to display after a user logs in
    motdVariable String
    Variable name
    name String
    The name of the feature template
    templateType String
    The template type
    version Number
    The version of the feature template

    Import

    $ pulumi import sdwan:index/ciscoBannerFeatureTemplate:CiscoBannerFeatureTemplate example "f6b2c44c-693c-4763-b010-895aa3d236bd"
    

    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 sdwan Terraform Provider.
    sdwan logo
    Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi