Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi
sdwan.getCiscoLoggingFeatureTemplate
Explore with Pulumi AI
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:
getCiscoLoggingFeatureTemplate Result
The following output properties are available:
- Description string
- The description of the feature template
- Device
Types List<string> - List of supported device types
- Disk
Logging bool - Enable logging to local disk
- Disk
Logging stringVariable - Variable name
- Id string
- The id of the feature template
- Ipv4Servers
List<Get
Cisco Logging Feature Template Ipv4Server> - Enable logging to remote server
- Ipv6Servers
List<Get
Cisco Logging Feature Template Ipv6Server> - Enable logging to remote IPv6 server
- Log
Rotations int - Set number of syslog files to create before discarding oldest files
- Log
Rotations stringVariable - Variable name
- Max
Size int - Set maximum size of file before it is rotated
- Max
Size stringVariable - Variable name
- Name string
- The name of the feature template
- Template
Type string - The template type
- Tls
Profiles List<GetCisco Logging Feature Template Tls Profile> - Configure a TLS profile
- Version int
- The version of the feature template
- Description string
- The description of the feature template
- Device
Types []string - List of supported device types
- Disk
Logging bool - Enable logging to local disk
- Disk
Logging stringVariable - Variable name
- Id string
- The id of the feature template
- Ipv4Servers
[]Get
Cisco Logging Feature Template Ipv4Server - Enable logging to remote server
- Ipv6Servers
[]Get
Cisco Logging Feature Template Ipv6Server - Enable logging to remote IPv6 server
- Log
Rotations int - Set number of syslog files to create before discarding oldest files
- Log
Rotations stringVariable - Variable name
- Max
Size int - Set maximum size of file before it is rotated
- Max
Size stringVariable - Variable name
- Name string
- The name of the feature template
- Template
Type string - The template type
- Tls
Profiles []GetCisco Logging Feature Template Tls Profile - Configure a TLS profile
- 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
- disk
Logging Boolean - Enable logging to local disk
- disk
Logging StringVariable - Variable name
- id String
- The id of the feature template
- ipv4Servers
List<Get
Cisco Logging Feature Template Ipv4Server> - Enable logging to remote server
- ipv6Servers
List<Get
Cisco Logging Feature Template Ipv6Server> - Enable logging to remote IPv6 server
- log
Rotations Integer - Set number of syslog files to create before discarding oldest files
- log
Rotations StringVariable - Variable name
- max
Size Integer - Set maximum size of file before it is rotated
- max
Size StringVariable - Variable name
- name String
- The name of the feature template
- template
Type String - The template type
- tls
Profiles List<GetCisco Logging Feature Template Tls Profile> - Configure a TLS profile
- version Integer
- The version of the feature template
- description string
- The description of the feature template
- device
Types string[] - List of supported device types
- disk
Logging boolean - Enable logging to local disk
- disk
Logging stringVariable - Variable name
- id string
- The id of the feature template
- ipv4Servers
Get
Cisco Logging Feature Template Ipv4Server[] - Enable logging to remote server
- ipv6Servers
Get
Cisco Logging Feature Template Ipv6Server[] - Enable logging to remote IPv6 server
- log
Rotations number - Set number of syslog files to create before discarding oldest files
- log
Rotations stringVariable - Variable name
- max
Size number - Set maximum size of file before it is rotated
- max
Size stringVariable - Variable name
- name string
- The name of the feature template
- template
Type string - The template type
- tls
Profiles GetCisco Logging Feature Template Tls Profile[] - 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_ strvariable - Variable name
- id str
- The id of the feature template
- ipv4_
servers Sequence[GetCisco Logging Feature Template Ipv4Server] - Enable logging to remote server
- ipv6_
servers Sequence[GetCisco Logging Feature Template Ipv6Server] - Enable logging to remote IPv6 server
- log_
rotations int - Set number of syslog files to create before discarding oldest files
- log_
rotations_ strvariable - Variable name
- max_
size int - Set maximum size of file before it is rotated
- max_
size_ strvariable - Variable name
- name str
- The name of the feature template
- template_
type str - The template type
- tls_
profiles Sequence[GetCisco Logging Feature Template Tls Profile] - Configure a TLS profile
- 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
- disk
Logging Boolean - Enable logging to local disk
- disk
Logging StringVariable - 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
- log
Rotations Number - Set number of syslog files to create before discarding oldest files
- log
Rotations StringVariable - Variable name
- max
Size Number - Set maximum size of file before it is rotated
- max
Size StringVariable - Variable name
- name String
- The name of the feature template
- template
Type String - The template type
- tls
Profiles List<Property Map> - Configure a TLS profile
- version Number
- The version of the feature template
Supporting Types
GetCiscoLoggingFeatureTemplateIpv4Server
- Custom
Profile bool - Define custom profile
- Custom
Profile stringVariable - Variable name
- Enable
Tls bool - Enable TLS
- Enable
Tls stringVariable - Variable name
- Hostname
Ip string - Set hostname or IPv4 address of server
- Hostname
Ip stringVariable - Variable name
- Logging
Level string - Set logging level for messages logged to server
- Logging
Level stringVariable - Variable name
- Optional bool
- Indicates if list item is considered optional.
- Profile string
- Configure a TLS profile
- Profile
Variable string - Variable name
- Source
Interface string - Set interface to use to reach syslog server
- Source
Interface stringVariable - Variable name
- Vpn
Id int - Set VPN in which syslog server is located
- Vpn
Id stringVariable - Variable name
- Custom
Profile bool - Define custom profile
- Custom
Profile stringVariable - Variable name
- Enable
Tls bool - Enable TLS
- Enable
Tls stringVariable - Variable name
- Hostname
Ip string - Set hostname or IPv4 address of server
- Hostname
Ip stringVariable - Variable name
- Logging
Level string - Set logging level for messages logged to server
- Logging
Level stringVariable - Variable name
- Optional bool
- Indicates if list item is considered optional.
- Profile string
- Configure a TLS profile
- Profile
Variable string - Variable name
- Source
Interface string - Set interface to use to reach syslog server
- Source
Interface stringVariable - Variable name
- Vpn
Id int - Set VPN in which syslog server is located
- Vpn
Id stringVariable - Variable name
- custom
Profile Boolean - Define custom profile
- custom
Profile StringVariable - Variable name
- enable
Tls Boolean - Enable TLS
- enable
Tls StringVariable - Variable name
- hostname
Ip String - Set hostname or IPv4 address of server
- hostname
Ip StringVariable - Variable name
- logging
Level String - Set logging level for messages logged to server
- logging
Level StringVariable - Variable name
- optional Boolean
- Indicates if list item is considered optional.
- profile String
- Configure a TLS profile
- profile
Variable String - Variable name
- source
Interface String - Set interface to use to reach syslog server
- source
Interface StringVariable - Variable name
- vpn
Id Integer - Set VPN in which syslog server is located
- vpn
Id StringVariable - Variable name
- custom
Profile boolean - Define custom profile
- custom
Profile stringVariable - Variable name
- enable
Tls boolean - Enable TLS
- enable
Tls stringVariable - Variable name
- hostname
Ip string - Set hostname or IPv4 address of server
- hostname
Ip stringVariable - Variable name
- logging
Level string - Set logging level for messages logged to server
- logging
Level stringVariable - Variable name
- optional boolean
- Indicates if list item is considered optional.
- profile string
- Configure a TLS profile
- profile
Variable string - Variable name
- source
Interface string - Set interface to use to reach syslog server
- source
Interface stringVariable - Variable name
- vpn
Id number - Set VPN in which syslog server is located
- vpn
Id stringVariable - Variable name
- custom_
profile bool - Define custom profile
- custom_
profile_ strvariable - Variable name
- enable_
tls bool - Enable TLS
- enable_
tls_ strvariable - Variable name
- hostname_
ip str - Set hostname or IPv4 address of server
- hostname_
ip_ strvariable - Variable name
- logging_
level str - Set logging level for messages logged to server
- logging_
level_ strvariable - 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_ strvariable - Variable name
- vpn_
id int - Set VPN in which syslog server is located
- vpn_
id_ strvariable - Variable name
- custom
Profile Boolean - Define custom profile
- custom
Profile StringVariable - Variable name
- enable
Tls Boolean - Enable TLS
- enable
Tls StringVariable - Variable name
- hostname
Ip String - Set hostname or IPv4 address of server
- hostname
Ip StringVariable - Variable name
- logging
Level String - Set logging level for messages logged to server
- logging
Level StringVariable - Variable name
- optional Boolean
- Indicates if list item is considered optional.
- profile String
- Configure a TLS profile
- profile
Variable String - Variable name
- source
Interface String - Set interface to use to reach syslog server
- source
Interface StringVariable - Variable name
- vpn
Id Number - Set VPN in which syslog server is located
- vpn
Id StringVariable - Variable name
GetCiscoLoggingFeatureTemplateIpv6Server
- Custom
Profile bool - Define custom profile
- Custom
Profile stringVariable - Variable name
- Enable
Tls bool - Enable TLS
- Enable
Tls stringVariable - Variable name
- Hostname
Ip string - Set IPv6 hostname or IPv6 address of server
- Hostname
Ip stringVariable - Variable name
- Logging
Level string - Set logging level for messages logged to server
- Logging
Level stringVariable - Variable name
- Optional bool
- Indicates if list item is considered optional.
- Profile string
- Configure a TLS profile
- Profile
Variable string - Variable name
- Source
Interface string - Set interface to use to reach syslog server
- Source
Interface stringVariable - Variable name
- Vpn
Id int - Set VPN in which syslog server is located
- Vpn
Id stringVariable - Variable name
- Custom
Profile bool - Define custom profile
- Custom
Profile stringVariable - Variable name
- Enable
Tls bool - Enable TLS
- Enable
Tls stringVariable - Variable name
- Hostname
Ip string - Set IPv6 hostname or IPv6 address of server
- Hostname
Ip stringVariable - Variable name
- Logging
Level string - Set logging level for messages logged to server
- Logging
Level stringVariable - Variable name
- Optional bool
- Indicates if list item is considered optional.
- Profile string
- Configure a TLS profile
- Profile
Variable string - Variable name
- Source
Interface string - Set interface to use to reach syslog server
- Source
Interface stringVariable - Variable name
- Vpn
Id int - Set VPN in which syslog server is located
- Vpn
Id stringVariable - Variable name
- custom
Profile Boolean - Define custom profile
- custom
Profile StringVariable - Variable name
- enable
Tls Boolean - Enable TLS
- enable
Tls StringVariable - Variable name
- hostname
Ip String - Set IPv6 hostname or IPv6 address of server
- hostname
Ip StringVariable - Variable name
- logging
Level String - Set logging level for messages logged to server
- logging
Level StringVariable - Variable name
- optional Boolean
- Indicates if list item is considered optional.
- profile String
- Configure a TLS profile
- profile
Variable String - Variable name
- source
Interface String - Set interface to use to reach syslog server
- source
Interface StringVariable - Variable name
- vpn
Id Integer - Set VPN in which syslog server is located
- vpn
Id StringVariable - Variable name
- custom
Profile boolean - Define custom profile
- custom
Profile stringVariable - Variable name
- enable
Tls boolean - Enable TLS
- enable
Tls stringVariable - Variable name
- hostname
Ip string - Set IPv6 hostname or IPv6 address of server
- hostname
Ip stringVariable - Variable name
- logging
Level string - Set logging level for messages logged to server
- logging
Level stringVariable - Variable name
- optional boolean
- Indicates if list item is considered optional.
- profile string
- Configure a TLS profile
- profile
Variable string - Variable name
- source
Interface string - Set interface to use to reach syslog server
- source
Interface stringVariable - Variable name
- vpn
Id number - Set VPN in which syslog server is located
- vpn
Id stringVariable - Variable name
- custom_
profile bool - Define custom profile
- custom_
profile_ strvariable - Variable name
- enable_
tls bool - Enable TLS
- enable_
tls_ strvariable - Variable name
- hostname_
ip str - Set IPv6 hostname or IPv6 address of server
- hostname_
ip_ strvariable - Variable name
- logging_
level str - Set logging level for messages logged to server
- logging_
level_ strvariable - 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_ strvariable - Variable name
- vpn_
id int - Set VPN in which syslog server is located
- vpn_
id_ strvariable - Variable name
- custom
Profile Boolean - Define custom profile
- custom
Profile StringVariable - Variable name
- enable
Tls Boolean - Enable TLS
- enable
Tls StringVariable - Variable name
- hostname
Ip String - Set IPv6 hostname or IPv6 address of server
- hostname
Ip StringVariable - Variable name
- logging
Level String - Set logging level for messages logged to server
- logging
Level StringVariable - Variable name
- optional Boolean
- Indicates if list item is considered optional.
- profile String
- Configure a TLS profile
- profile
Variable String - Variable name
- source
Interface String - Set interface to use to reach syslog server
- source
Interface StringVariable - Variable name
- vpn
Id Number - Set VPN in which syslog server is located
- vpn
Id StringVariable - Variable name
GetCiscoLoggingFeatureTemplateTlsProfile
- Authentication
Type string - Authentication Type
- Ciphersuite
List stringVariable - Variable name
- Ciphersuite
Lists 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
- Name
Variable string - Variable name
- Optional bool
- Indicates if list item is considered optional.
- Version string
- TLS Version
- Version
Variable string - Variable name
- Authentication
Type string - Authentication Type
- Ciphersuite
List stringVariable - Variable name
- Ciphersuite
Lists []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
- Name
Variable string - Variable name
- Optional bool
- Indicates if list item is considered optional.
- Version string
- TLS Version
- Version
Variable string - Variable name
- authentication
Type String - Authentication Type
- ciphersuite
List StringVariable - Variable name
- ciphersuite
Lists 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
- name
Variable String - Variable name
- optional Boolean
- Indicates if list item is considered optional.
- version String
- TLS Version
- version
Variable String - Variable name
- authentication
Type string - Authentication Type
- ciphersuite
List stringVariable - Variable name
- ciphersuite
Lists 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
- name
Variable string - Variable name
- optional boolean
- Indicates if list item is considered optional.
- version string
- TLS Version
- version
Variable string - Variable name
- authentication_
type str - Authentication Type
- ciphersuite_
list_ strvariable - 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
- authentication
Type String - Authentication Type
- ciphersuite
List StringVariable - Variable name
- ciphersuite
Lists 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
- name
Variable String - Variable name
- optional Boolean
- Indicates if list item is considered optional.
- version String
- TLS Version
- version
Variable 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.