1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. getCiscoLoggingFeatureTemplate
Cisco Catalyst SD-WAN v0.2.1 published on Tuesday, Nov 26, 2024 by Pulumi

sdwan.getCiscoLoggingFeatureTemplate

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.2.1 published on Tuesday, Nov 26, 2024 by Pulumi

    This data source can read the Cisco Logging feature template.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sdwan from "@pulumi/sdwan";
    
    const example = sdwan.getCiscoLoggingFeatureTemplate({
        id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
    });
    
    import pulumi
    import pulumi_sdwan as sdwan
    
    example = sdwan.get_cisco_logging_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.LookupCiscoLoggingFeatureTemplate(ctx, &sdwan.LookupCiscoLoggingFeatureTemplateArgs{
    			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.GetCiscoLoggingFeatureTemplate.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.GetCiscoLoggingFeatureTemplateArgs;
    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.getCiscoLoggingFeatureTemplate(GetCiscoLoggingFeatureTemplateArgs.builder()
                .id("f6b2c44c-693c-4763-b010-895aa3d236bd")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: sdwan:getCiscoLoggingFeatureTemplate
          Arguments:
            id: f6b2c44c-693c-4763-b010-895aa3d236bd
    

    Using getCiscoLoggingFeatureTemplate

    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 getCiscoLoggingFeatureTemplate(args: GetCiscoLoggingFeatureTemplateArgs, opts?: InvokeOptions): Promise<GetCiscoLoggingFeatureTemplateResult>
    function getCiscoLoggingFeatureTemplateOutput(args: GetCiscoLoggingFeatureTemplateOutputArgs, opts?: InvokeOptions): Output<GetCiscoLoggingFeatureTemplateResult>
    def get_cisco_logging_feature_template(id: Optional[str] = None,
                                           name: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetCiscoLoggingFeatureTemplateResult
    def get_cisco_logging_feature_template_output(id: Optional[pulumi.Input[str]] = None,
                                           name: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetCiscoLoggingFeatureTemplateResult]
    func LookupCiscoLoggingFeatureTemplate(ctx *Context, args *LookupCiscoLoggingFeatureTemplateArgs, opts ...InvokeOption) (*LookupCiscoLoggingFeatureTemplateResult, error)
    func LookupCiscoLoggingFeatureTemplateOutput(ctx *Context, args *LookupCiscoLoggingFeatureTemplateOutputArgs, opts ...InvokeOption) LookupCiscoLoggingFeatureTemplateResultOutput

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

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

    The following arguments are supported:

    Id string
    The id of the feature template
    Name string
    The name of the feature template
    Id string
    The id of the feature template
    Name string
    The name of the feature template
    id String
    The id of the feature template
    name String
    The name of the feature template
    id string
    The id of the feature template
    name string
    The name of the feature template
    id str
    The id of the feature template
    name str
    The name of the feature template
    id String
    The id of the feature template
    name String
    The name of the feature template

    getCiscoLoggingFeatureTemplate Result

    The following output properties are available:

    Description string
    The description of the feature template
    DeviceTypes List<string>
    List of supported device types
    DiskLogging bool
    Enable logging to local disk
    DiskLoggingVariable string
    Variable name
    Id string
    The id of the feature template
    Ipv4Servers List<GetCiscoLoggingFeatureTemplateIpv4Server>
    Enable logging to remote server
    Ipv6Servers List<GetCiscoLoggingFeatureTemplateIpv6Server>
    Enable logging to remote IPv6 server
    LogRotations int
    Set number of syslog files to create before discarding oldest files
    LogRotationsVariable string
    Variable name
    MaxSize int
    Set maximum size of file before it is rotated
    MaxSizeVariable string
    Variable name
    Name string
    The name of the feature template
    TemplateType string
    The template type
    TlsProfiles List<GetCiscoLoggingFeatureTemplateTlsProfile>
    Configure a TLS profile
    Version int
    The version of the feature template
    Description string
    The description of the feature template
    DeviceTypes []string
    List of supported device types
    DiskLogging bool
    Enable logging to local disk
    DiskLoggingVariable string
    Variable name
    Id string
    The id of the feature template
    Ipv4Servers []GetCiscoLoggingFeatureTemplateIpv4Server
    Enable logging to remote server
    Ipv6Servers []GetCiscoLoggingFeatureTemplateIpv6Server
    Enable logging to remote IPv6 server
    LogRotations int
    Set number of syslog files to create before discarding oldest files
    LogRotationsVariable string
    Variable name
    MaxSize int
    Set maximum size of file before it is rotated
    MaxSizeVariable string
    Variable name
    Name string
    The name of the feature template
    TemplateType string
    The template type
    TlsProfiles []GetCiscoLoggingFeatureTemplateTlsProfile
    Configure a TLS profile
    Version int
    The version of the feature template
    description String
    The description of the feature template
    deviceTypes List<String>
    List of supported device types
    diskLogging Boolean
    Enable logging to local disk
    diskLoggingVariable String
    Variable name
    id String
    The id of the feature template
    ipv4Servers List<GetCiscoLoggingFeatureTemplateIpv4Server>
    Enable logging to remote server
    ipv6Servers List<GetCiscoLoggingFeatureTemplateIpv6Server>
    Enable logging to remote IPv6 server
    logRotations Integer
    Set number of syslog files to create before discarding oldest files
    logRotationsVariable String
    Variable name
    maxSize Integer
    Set maximum size of file before it is rotated
    maxSizeVariable String
    Variable name
    name String
    The name of the feature template
    templateType String
    The template type
    tlsProfiles List<GetCiscoLoggingFeatureTemplateTlsProfile>
    Configure a TLS profile
    version Integer
    The version of the feature template
    description string
    The description of the feature template
    deviceTypes string[]
    List of supported device types
    diskLogging boolean
    Enable logging to local disk
    diskLoggingVariable string
    Variable name
    id string
    The id of the feature template
    ipv4Servers GetCiscoLoggingFeatureTemplateIpv4Server[]
    Enable logging to remote server
    ipv6Servers GetCiscoLoggingFeatureTemplateIpv6Server[]
    Enable logging to remote IPv6 server
    logRotations number
    Set number of syslog files to create before discarding oldest files
    logRotationsVariable string
    Variable name
    maxSize number
    Set maximum size of file before it is rotated
    maxSizeVariable string
    Variable name
    name string
    The name of the feature template
    templateType string
    The template type
    tlsProfiles GetCiscoLoggingFeatureTemplateTlsProfile[]
    Configure a TLS profile
    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
    disk_logging bool
    Enable logging to local disk
    disk_logging_variable str
    Variable name
    id str
    The id of the feature template
    ipv4_servers Sequence[GetCiscoLoggingFeatureTemplateIpv4Server]
    Enable logging to remote server
    ipv6_servers Sequence[GetCiscoLoggingFeatureTemplateIpv6Server]
    Enable logging to remote IPv6 server
    log_rotations int
    Set number of syslog files to create before discarding oldest files
    log_rotations_variable str
    Variable name
    max_size int
    Set maximum size of file before it is rotated
    max_size_variable str
    Variable name
    name str
    The name of the feature template
    template_type str
    The template type
    tls_profiles Sequence[GetCiscoLoggingFeatureTemplateTlsProfile]
    Configure a TLS profile
    version int
    The version of the feature template
    description String
    The description of the feature template
    deviceTypes List<String>
    List of supported device types
    diskLogging Boolean
    Enable logging to local disk
    diskLoggingVariable String
    Variable name
    id String
    The id of the feature template
    ipv4Servers List<Property Map>
    Enable logging to remote server
    ipv6Servers List<Property Map>
    Enable logging to remote IPv6 server
    logRotations Number
    Set number of syslog files to create before discarding oldest files
    logRotationsVariable String
    Variable name
    maxSize Number
    Set maximum size of file before it is rotated
    maxSizeVariable String
    Variable name
    name String
    The name of the feature template
    templateType String
    The template type
    tlsProfiles List<Property Map>
    Configure a TLS profile
    version Number
    The version of the feature template

    Supporting Types

    GetCiscoLoggingFeatureTemplateIpv4Server

    CustomProfile bool
    Define custom profile
    CustomProfileVariable string
    Variable name
    EnableTls bool
    Enable TLS
    EnableTlsVariable string
    Variable name
    HostnameIp string
    Set hostname or IPv4 address of server
    HostnameIpVariable string
    Variable name
    LoggingLevel string
    Set logging level for messages logged to server
    LoggingLevelVariable string
    Variable name
    Optional bool
    Indicates if list item is considered optional.
    Profile string
    Configure a TLS profile
    ProfileVariable string
    Variable name
    SourceInterface string
    Set interface to use to reach syslog server
    SourceInterfaceVariable string
    Variable name
    VpnId int
    Set VPN in which syslog server is located
    VpnIdVariable string
    Variable name
    CustomProfile bool
    Define custom profile
    CustomProfileVariable string
    Variable name
    EnableTls bool
    Enable TLS
    EnableTlsVariable string
    Variable name
    HostnameIp string
    Set hostname or IPv4 address of server
    HostnameIpVariable string
    Variable name
    LoggingLevel string
    Set logging level for messages logged to server
    LoggingLevelVariable string
    Variable name
    Optional bool
    Indicates if list item is considered optional.
    Profile string
    Configure a TLS profile
    ProfileVariable string
    Variable name
    SourceInterface string
    Set interface to use to reach syslog server
    SourceInterfaceVariable string
    Variable name
    VpnId int
    Set VPN in which syslog server is located
    VpnIdVariable string
    Variable name
    customProfile Boolean
    Define custom profile
    customProfileVariable String
    Variable name
    enableTls Boolean
    Enable TLS
    enableTlsVariable String
    Variable name
    hostnameIp String
    Set hostname or IPv4 address of server
    hostnameIpVariable String
    Variable name
    loggingLevel String
    Set logging level for messages logged to server
    loggingLevelVariable String
    Variable name
    optional Boolean
    Indicates if list item is considered optional.
    profile String
    Configure a TLS profile
    profileVariable String
    Variable name
    sourceInterface String
    Set interface to use to reach syslog server
    sourceInterfaceVariable String
    Variable name
    vpnId Integer
    Set VPN in which syslog server is located
    vpnIdVariable String
    Variable name
    customProfile boolean
    Define custom profile
    customProfileVariable string
    Variable name
    enableTls boolean
    Enable TLS
    enableTlsVariable string
    Variable name
    hostnameIp string
    Set hostname or IPv4 address of server
    hostnameIpVariable string
    Variable name
    loggingLevel string
    Set logging level for messages logged to server
    loggingLevelVariable string
    Variable name
    optional boolean
    Indicates if list item is considered optional.
    profile string
    Configure a TLS profile
    profileVariable string
    Variable name
    sourceInterface string
    Set interface to use to reach syslog server
    sourceInterfaceVariable string
    Variable name
    vpnId number
    Set VPN in which syslog server is located
    vpnIdVariable string
    Variable name
    custom_profile bool
    Define custom profile
    custom_profile_variable str
    Variable name
    enable_tls bool
    Enable TLS
    enable_tls_variable str
    Variable name
    hostname_ip str
    Set hostname or IPv4 address of server
    hostname_ip_variable str
    Variable name
    logging_level str
    Set logging level for messages logged to server
    logging_level_variable str
    Variable name
    optional bool
    Indicates if list item is considered optional.
    profile str
    Configure a TLS profile
    profile_variable str
    Variable name
    source_interface str
    Set interface to use to reach syslog server
    source_interface_variable str
    Variable name
    vpn_id int
    Set VPN in which syslog server is located
    vpn_id_variable str
    Variable name
    customProfile Boolean
    Define custom profile
    customProfileVariable String
    Variable name
    enableTls Boolean
    Enable TLS
    enableTlsVariable String
    Variable name
    hostnameIp String
    Set hostname or IPv4 address of server
    hostnameIpVariable String
    Variable name
    loggingLevel String
    Set logging level for messages logged to server
    loggingLevelVariable String
    Variable name
    optional Boolean
    Indicates if list item is considered optional.
    profile String
    Configure a TLS profile
    profileVariable String
    Variable name
    sourceInterface String
    Set interface to use to reach syslog server
    sourceInterfaceVariable String
    Variable name
    vpnId Number
    Set VPN in which syslog server is located
    vpnIdVariable String
    Variable name

    GetCiscoLoggingFeatureTemplateIpv6Server

    CustomProfile bool
    Define custom profile
    CustomProfileVariable string
    Variable name
    EnableTls bool
    Enable TLS
    EnableTlsVariable string
    Variable name
    HostnameIp string
    Set IPv6 hostname or IPv6 address of server
    HostnameIpVariable string
    Variable name
    LoggingLevel string
    Set logging level for messages logged to server
    LoggingLevelVariable string
    Variable name
    Optional bool
    Indicates if list item is considered optional.
    Profile string
    Configure a TLS profile
    ProfileVariable string
    Variable name
    SourceInterface string
    Set interface to use to reach syslog server
    SourceInterfaceVariable string
    Variable name
    VpnId int
    Set VPN in which syslog server is located
    VpnIdVariable string
    Variable name
    CustomProfile bool
    Define custom profile
    CustomProfileVariable string
    Variable name
    EnableTls bool
    Enable TLS
    EnableTlsVariable string
    Variable name
    HostnameIp string
    Set IPv6 hostname or IPv6 address of server
    HostnameIpVariable string
    Variable name
    LoggingLevel string
    Set logging level for messages logged to server
    LoggingLevelVariable string
    Variable name
    Optional bool
    Indicates if list item is considered optional.
    Profile string
    Configure a TLS profile
    ProfileVariable string
    Variable name
    SourceInterface string
    Set interface to use to reach syslog server
    SourceInterfaceVariable string
    Variable name
    VpnId int
    Set VPN in which syslog server is located
    VpnIdVariable string
    Variable name
    customProfile Boolean
    Define custom profile
    customProfileVariable String
    Variable name
    enableTls Boolean
    Enable TLS
    enableTlsVariable String
    Variable name
    hostnameIp String
    Set IPv6 hostname or IPv6 address of server
    hostnameIpVariable String
    Variable name
    loggingLevel String
    Set logging level for messages logged to server
    loggingLevelVariable String
    Variable name
    optional Boolean
    Indicates if list item is considered optional.
    profile String
    Configure a TLS profile
    profileVariable String
    Variable name
    sourceInterface String
    Set interface to use to reach syslog server
    sourceInterfaceVariable String
    Variable name
    vpnId Integer
    Set VPN in which syslog server is located
    vpnIdVariable String
    Variable name
    customProfile boolean
    Define custom profile
    customProfileVariable string
    Variable name
    enableTls boolean
    Enable TLS
    enableTlsVariable string
    Variable name
    hostnameIp string
    Set IPv6 hostname or IPv6 address of server
    hostnameIpVariable string
    Variable name
    loggingLevel string
    Set logging level for messages logged to server
    loggingLevelVariable string
    Variable name
    optional boolean
    Indicates if list item is considered optional.
    profile string
    Configure a TLS profile
    profileVariable string
    Variable name
    sourceInterface string
    Set interface to use to reach syslog server
    sourceInterfaceVariable string
    Variable name
    vpnId number
    Set VPN in which syslog server is located
    vpnIdVariable string
    Variable name
    custom_profile bool
    Define custom profile
    custom_profile_variable str
    Variable name
    enable_tls bool
    Enable TLS
    enable_tls_variable str
    Variable name
    hostname_ip str
    Set IPv6 hostname or IPv6 address of server
    hostname_ip_variable str
    Variable name
    logging_level str
    Set logging level for messages logged to server
    logging_level_variable str
    Variable name
    optional bool
    Indicates if list item is considered optional.
    profile str
    Configure a TLS profile
    profile_variable str
    Variable name
    source_interface str
    Set interface to use to reach syslog server
    source_interface_variable str
    Variable name
    vpn_id int
    Set VPN in which syslog server is located
    vpn_id_variable str
    Variable name
    customProfile Boolean
    Define custom profile
    customProfileVariable String
    Variable name
    enableTls Boolean
    Enable TLS
    enableTlsVariable String
    Variable name
    hostnameIp String
    Set IPv6 hostname or IPv6 address of server
    hostnameIpVariable String
    Variable name
    loggingLevel String
    Set logging level for messages logged to server
    loggingLevelVariable String
    Variable name
    optional Boolean
    Indicates if list item is considered optional.
    profile String
    Configure a TLS profile
    profileVariable String
    Variable name
    sourceInterface String
    Set interface to use to reach syslog server
    sourceInterfaceVariable String
    Variable name
    vpnId Number
    Set VPN in which syslog server is located
    vpnIdVariable String
    Variable name

    GetCiscoLoggingFeatureTemplateTlsProfile

    AuthenticationType string
    Authentication Type
    CiphersuiteListVariable string
    Variable name
    CiphersuiteLists List<string>
    Syslog secure server ciphersuites. Possible values: aes-128-cbc-sha, aes-256-cbc-sha, dhe-aes-cbc-sha2, dhe-aes-gcm-sha2, ecdhe-ecdsa-aes-gcm-sha2, ecdhe-rsa-aes-cbc-sha2, ecdhe-rsa-aes-gcm-sha2, rsa-aes-cbc-sha2, rsa-aes-gcm-sha2
    Name string
    Specify the name of the TLS profile
    NameVariable string
    Variable name
    Optional bool
    Indicates if list item is considered optional.
    Version string
    TLS Version
    VersionVariable string
    Variable name
    AuthenticationType string
    Authentication Type
    CiphersuiteListVariable string
    Variable name
    CiphersuiteLists []string
    Syslog secure server ciphersuites. Possible values: aes-128-cbc-sha, aes-256-cbc-sha, dhe-aes-cbc-sha2, dhe-aes-gcm-sha2, ecdhe-ecdsa-aes-gcm-sha2, ecdhe-rsa-aes-cbc-sha2, ecdhe-rsa-aes-gcm-sha2, rsa-aes-cbc-sha2, rsa-aes-gcm-sha2
    Name string
    Specify the name of the TLS profile
    NameVariable string
    Variable name
    Optional bool
    Indicates if list item is considered optional.
    Version string
    TLS Version
    VersionVariable string
    Variable name
    authenticationType String
    Authentication Type
    ciphersuiteListVariable String
    Variable name
    ciphersuiteLists List<String>
    Syslog secure server ciphersuites. Possible values: aes-128-cbc-sha, aes-256-cbc-sha, dhe-aes-cbc-sha2, dhe-aes-gcm-sha2, ecdhe-ecdsa-aes-gcm-sha2, ecdhe-rsa-aes-cbc-sha2, ecdhe-rsa-aes-gcm-sha2, rsa-aes-cbc-sha2, rsa-aes-gcm-sha2
    name String
    Specify the name of the TLS profile
    nameVariable String
    Variable name
    optional Boolean
    Indicates if list item is considered optional.
    version String
    TLS Version
    versionVariable String
    Variable name
    authenticationType string
    Authentication Type
    ciphersuiteListVariable string
    Variable name
    ciphersuiteLists string[]
    Syslog secure server ciphersuites. Possible values: aes-128-cbc-sha, aes-256-cbc-sha, dhe-aes-cbc-sha2, dhe-aes-gcm-sha2, ecdhe-ecdsa-aes-gcm-sha2, ecdhe-rsa-aes-cbc-sha2, ecdhe-rsa-aes-gcm-sha2, rsa-aes-cbc-sha2, rsa-aes-gcm-sha2
    name string
    Specify the name of the TLS profile
    nameVariable string
    Variable name
    optional boolean
    Indicates if list item is considered optional.
    version string
    TLS Version
    versionVariable string
    Variable name
    authentication_type str
    Authentication Type
    ciphersuite_list_variable str
    Variable name
    ciphersuite_lists Sequence[str]
    Syslog secure server ciphersuites. Possible values: aes-128-cbc-sha, aes-256-cbc-sha, dhe-aes-cbc-sha2, dhe-aes-gcm-sha2, ecdhe-ecdsa-aes-gcm-sha2, ecdhe-rsa-aes-cbc-sha2, ecdhe-rsa-aes-gcm-sha2, rsa-aes-cbc-sha2, rsa-aes-gcm-sha2
    name str
    Specify the name of the TLS profile
    name_variable str
    Variable name
    optional bool
    Indicates if list item is considered optional.
    version str
    TLS Version
    version_variable str
    Variable name
    authenticationType String
    Authentication Type
    ciphersuiteListVariable String
    Variable name
    ciphersuiteLists List<String>
    Syslog secure server ciphersuites. Possible values: aes-128-cbc-sha, aes-256-cbc-sha, dhe-aes-cbc-sha2, dhe-aes-gcm-sha2, ecdhe-ecdsa-aes-gcm-sha2, ecdhe-rsa-aes-cbc-sha2, ecdhe-rsa-aes-gcm-sha2, rsa-aes-cbc-sha2, rsa-aes-gcm-sha2
    name String
    Specify the name of the TLS profile
    nameVariable String
    Variable name
    optional Boolean
    Indicates if list item is considered optional.
    version String
    TLS Version
    versionVariable String
    Variable name

    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.1 published on Tuesday, Nov 26, 2024 by Pulumi