Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi
sdwan.getSystemLoggingFeature
Explore with Pulumi AI
This data source can read the System Logging Feature.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sdwan from "@pulumi/sdwan";
const example = sdwan.getSystemLoggingFeature({
id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
});
import pulumi
import pulumi_sdwan as sdwan
example = sdwan.get_system_logging_feature(id="f6b2c44c-693c-4763-b010-895aa3d236bd",
feature_profile_id="f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
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.LookupSystemLoggingFeature(ctx, &sdwan.LookupSystemLoggingFeatureArgs{
Id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
FeatureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
}, 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.GetSystemLoggingFeature.Invoke(new()
{
Id = "f6b2c44c-693c-4763-b010-895aa3d236bd",
FeatureProfileId = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
});
});
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.GetSystemLoggingFeatureArgs;
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.getSystemLoggingFeature(GetSystemLoggingFeatureArgs.builder()
.id("f6b2c44c-693c-4763-b010-895aa3d236bd")
.featureProfileId("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
.build());
}
}
variables:
example:
fn::invoke:
Function: sdwan:getSystemLoggingFeature
Arguments:
id: f6b2c44c-693c-4763-b010-895aa3d236bd
featureProfileId: f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac
Using getSystemLoggingFeature
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 getSystemLoggingFeature(args: GetSystemLoggingFeatureArgs, opts?: InvokeOptions): Promise<GetSystemLoggingFeatureResult>
function getSystemLoggingFeatureOutput(args: GetSystemLoggingFeatureOutputArgs, opts?: InvokeOptions): Output<GetSystemLoggingFeatureResult>
def get_system_logging_feature(feature_profile_id: Optional[str] = None,
id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSystemLoggingFeatureResult
def get_system_logging_feature_output(feature_profile_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSystemLoggingFeatureResult]
func LookupSystemLoggingFeature(ctx *Context, args *LookupSystemLoggingFeatureArgs, opts ...InvokeOption) (*LookupSystemLoggingFeatureResult, error)
func LookupSystemLoggingFeatureOutput(ctx *Context, args *LookupSystemLoggingFeatureOutputArgs, opts ...InvokeOption) LookupSystemLoggingFeatureResultOutput
> Note: This function is named LookupSystemLoggingFeature
in the Go SDK.
public static class GetSystemLoggingFeature
{
public static Task<GetSystemLoggingFeatureResult> InvokeAsync(GetSystemLoggingFeatureArgs args, InvokeOptions? opts = null)
public static Output<GetSystemLoggingFeatureResult> Invoke(GetSystemLoggingFeatureInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSystemLoggingFeatureResult> getSystemLoggingFeature(GetSystemLoggingFeatureArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: sdwan:index/getSystemLoggingFeature:getSystemLoggingFeature
arguments:
# arguments dictionary
The following arguments are supported:
- Feature
Profile stringId - Feature Profile ID
- Id string
- The id of the Feature
- Feature
Profile stringId - Feature Profile ID
- Id string
- The id of the Feature
- feature
Profile StringId - Feature Profile ID
- id String
- The id of the Feature
- feature
Profile stringId - Feature Profile ID
- id string
- The id of the Feature
- feature_
profile_ strid - Feature Profile ID
- id str
- The id of the Feature
- feature
Profile StringId - Feature Profile ID
- id String
- The id of the Feature
getSystemLoggingFeature Result
The following output properties are available:
- Description string
- The description of the Feature
- Disk
Enable bool - Enable logging to local disk
- Disk
Enable stringVariable - Variable name
- Disk
File intRotate - Set number of syslog files to create before discarding oldest files
- Disk
File stringRotate Variable - Variable name
- Disk
File intSize - Set maximum size of file before it is rotated
- Disk
File stringSize Variable - Variable name
- Feature
Profile stringId - Feature Profile ID
- Id string
- The id of the Feature
- Ipv4Servers
List<Get
System Logging Feature Ipv4Server> - Enable logging to remote server
- Ipv6Servers
List<Get
System Logging Feature Ipv6Server> - Enable logging to remote ipv6 server
- Name string
- The name of the Feature
- Tls
Profiles List<GetSystem Logging Feature Tls Profile> - Configure a TLS profile
- Version int
- The version of the Feature
- Description string
- The description of the Feature
- Disk
Enable bool - Enable logging to local disk
- Disk
Enable stringVariable - Variable name
- Disk
File intRotate - Set number of syslog files to create before discarding oldest files
- Disk
File stringRotate Variable - Variable name
- Disk
File intSize - Set maximum size of file before it is rotated
- Disk
File stringSize Variable - Variable name
- Feature
Profile stringId - Feature Profile ID
- Id string
- The id of the Feature
- Ipv4Servers
[]Get
System Logging Feature Ipv4Server - Enable logging to remote server
- Ipv6Servers
[]Get
System Logging Feature Ipv6Server - Enable logging to remote ipv6 server
- Name string
- The name of the Feature
- Tls
Profiles []GetSystem Logging Feature Tls Profile - Configure a TLS profile
- Version int
- The version of the Feature
- description String
- The description of the Feature
- disk
Enable Boolean - Enable logging to local disk
- disk
Enable StringVariable - Variable name
- disk
File IntegerRotate - Set number of syslog files to create before discarding oldest files
- disk
File StringRotate Variable - Variable name
- disk
File IntegerSize - Set maximum size of file before it is rotated
- disk
File StringSize Variable - Variable name
- feature
Profile StringId - Feature Profile ID
- id String
- The id of the Feature
- ipv4Servers
List<Get
System Logging Feature Ipv4Server> - Enable logging to remote server
- ipv6Servers
List<Get
System Logging Feature Ipv6Server> - Enable logging to remote ipv6 server
- name String
- The name of the Feature
- tls
Profiles List<GetSystem Logging Feature Tls Profile> - Configure a TLS profile
- version Integer
- The version of the Feature
- description string
- The description of the Feature
- disk
Enable boolean - Enable logging to local disk
- disk
Enable stringVariable - Variable name
- disk
File numberRotate - Set number of syslog files to create before discarding oldest files
- disk
File stringRotate Variable - Variable name
- disk
File numberSize - Set maximum size of file before it is rotated
- disk
File stringSize Variable - Variable name
- feature
Profile stringId - Feature Profile ID
- id string
- The id of the Feature
- ipv4Servers
Get
System Logging Feature Ipv4Server[] - Enable logging to remote server
- ipv6Servers
Get
System Logging Feature Ipv6Server[] - Enable logging to remote ipv6 server
- name string
- The name of the Feature
- tls
Profiles GetSystem Logging Feature Tls Profile[] - Configure a TLS profile
- version number
- The version of the Feature
- description str
- The description of the Feature
- disk_
enable bool - Enable logging to local disk
- disk_
enable_ strvariable - Variable name
- disk_
file_ introtate - Set number of syslog files to create before discarding oldest files
- disk_
file_ strrotate_ variable - Variable name
- disk_
file_ intsize - Set maximum size of file before it is rotated
- disk_
file_ strsize_ variable - Variable name
- feature_
profile_ strid - Feature Profile ID
- id str
- The id of the Feature
- ipv4_
servers Sequence[GetSystem Logging Feature Ipv4Server] - Enable logging to remote server
- ipv6_
servers Sequence[GetSystem Logging Feature Ipv6Server] - Enable logging to remote ipv6 server
- name str
- The name of the Feature
- tls_
profiles Sequence[GetSystem Logging Feature Tls Profile] - Configure a TLS profile
- version int
- The version of the Feature
- description String
- The description of the Feature
- disk
Enable Boolean - Enable logging to local disk
- disk
Enable StringVariable - Variable name
- disk
File NumberRotate - Set number of syslog files to create before discarding oldest files
- disk
File StringRotate Variable - Variable name
- disk
File NumberSize - Set maximum size of file before it is rotated
- disk
File StringSize Variable - Variable name
- feature
Profile StringId - Feature Profile ID
- id String
- The id of the Feature
- ipv4Servers List<Property Map>
- Enable logging to remote server
- ipv6Servers List<Property Map>
- Enable logging to remote ipv6 server
- name String
- The name of the Feature
- tls
Profiles List<Property Map> - Configure a TLS profile
- version Number
- The version of the Feature
Supporting Types
GetSystemLoggingFeatureIpv4Server
- Hostname
Ip string - Set hostname or IPv4 address of server
- Hostname
Ip stringVariable - Variable name
- Priority string
- Set logging level for messages logged to server
- Priority
Variable string - Variable name
- Source
Interface string - Set interface to use to reach syslog server
- Source
Interface stringVariable - Variable name
- Tls
Enable bool - Enable TLS Profile
- Tls
Enable stringVariable - Variable name
- Tls
Properties boolCustom Profile - Define custom profile
- Tls
Properties stringCustom Profile Variable - Variable name
- Tls
Properties stringProfile - Configure a TLS profile
- Tls
Properties stringProfile Variable - Variable name
- Vpn int
- Set hostname or IPv4 address of server
- Vpn
Variable string - Variable name
- Hostname
Ip string - Set hostname or IPv4 address of server
- Hostname
Ip stringVariable - Variable name
- Priority string
- Set logging level for messages logged to server
- Priority
Variable string - Variable name
- Source
Interface string - Set interface to use to reach syslog server
- Source
Interface stringVariable - Variable name
- Tls
Enable bool - Enable TLS Profile
- Tls
Enable stringVariable - Variable name
- Tls
Properties boolCustom Profile - Define custom profile
- Tls
Properties stringCustom Profile Variable - Variable name
- Tls
Properties stringProfile - Configure a TLS profile
- Tls
Properties stringProfile Variable - Variable name
- Vpn int
- Set hostname or IPv4 address of server
- Vpn
Variable string - Variable name
- hostname
Ip String - Set hostname or IPv4 address of server
- hostname
Ip StringVariable - Variable name
- priority String
- Set logging level for messages logged to server
- priority
Variable String - Variable name
- source
Interface String - Set interface to use to reach syslog server
- source
Interface StringVariable - Variable name
- tls
Enable Boolean - Enable TLS Profile
- tls
Enable StringVariable - Variable name
- tls
Properties BooleanCustom Profile - Define custom profile
- tls
Properties StringCustom Profile Variable - Variable name
- tls
Properties StringProfile - Configure a TLS profile
- tls
Properties StringProfile Variable - Variable name
- vpn Integer
- Set hostname or IPv4 address of server
- vpn
Variable String - Variable name
- hostname
Ip string - Set hostname or IPv4 address of server
- hostname
Ip stringVariable - Variable name
- priority string
- Set logging level for messages logged to server
- priority
Variable string - Variable name
- source
Interface string - Set interface to use to reach syslog server
- source
Interface stringVariable - Variable name
- tls
Enable boolean - Enable TLS Profile
- tls
Enable stringVariable - Variable name
- tls
Properties booleanCustom Profile - Define custom profile
- tls
Properties stringCustom Profile Variable - Variable name
- tls
Properties stringProfile - Configure a TLS profile
- tls
Properties stringProfile Variable - Variable name
- vpn number
- Set hostname or IPv4 address of server
- vpn
Variable string - Variable name
- hostname_
ip str - Set hostname or IPv4 address of server
- hostname_
ip_ strvariable - Variable name
- priority str
- Set logging level for messages logged to server
- priority_
variable str - Variable name
- source_
interface str - Set interface to use to reach syslog server
- source_
interface_ strvariable - Variable name
- tls_
enable bool - Enable TLS Profile
- tls_
enable_ strvariable - Variable name
- tls_
properties_ boolcustom_ profile - Define custom profile
- tls_
properties_ strcustom_ profile_ variable - Variable name
- tls_
properties_ strprofile - Configure a TLS profile
- tls_
properties_ strprofile_ variable - Variable name
- vpn int
- Set hostname or IPv4 address of server
- vpn_
variable str - Variable name
- hostname
Ip String - Set hostname or IPv4 address of server
- hostname
Ip StringVariable - Variable name
- priority String
- Set logging level for messages logged to server
- priority
Variable String - Variable name
- source
Interface String - Set interface to use to reach syslog server
- source
Interface StringVariable - Variable name
- tls
Enable Boolean - Enable TLS Profile
- tls
Enable StringVariable - Variable name
- tls
Properties BooleanCustom Profile - Define custom profile
- tls
Properties StringCustom Profile Variable - Variable name
- tls
Properties StringProfile - Configure a TLS profile
- tls
Properties StringProfile Variable - Variable name
- vpn Number
- Set hostname or IPv4 address of server
- vpn
Variable String - Variable name
GetSystemLoggingFeatureIpv6Server
- Hostname
Ip string - Set IPv6 hostname or IPv6 address of server
- Hostname
Ip stringVariable - Variable name
- Priority string
- Set logging level for messages logged to server
- Priority
Variable string - Variable name
- Source
Interface string - Set interface to use to reach syslog server
- Source
Interface stringVariable - Variable name
- Tls
Enable bool - Enable TLS Profile
- Tls
Enable stringVariable - Variable name
- Tls
Properties boolCustom Profile - Define custom profile
- Tls
Properties stringCustom Profile Variable - Variable name
- Tls
Properties stringProfile - Configure a TLS profile
- Tls
Properties stringProfile Variable - Variable name
- Vpn int
- Set hostname or IPv4 address of server
- Vpn
Variable string - Variable name
- Hostname
Ip string - Set IPv6 hostname or IPv6 address of server
- Hostname
Ip stringVariable - Variable name
- Priority string
- Set logging level for messages logged to server
- Priority
Variable string - Variable name
- Source
Interface string - Set interface to use to reach syslog server
- Source
Interface stringVariable - Variable name
- Tls
Enable bool - Enable TLS Profile
- Tls
Enable stringVariable - Variable name
- Tls
Properties boolCustom Profile - Define custom profile
- Tls
Properties stringCustom Profile Variable - Variable name
- Tls
Properties stringProfile - Configure a TLS profile
- Tls
Properties stringProfile Variable - Variable name
- Vpn int
- Set hostname or IPv4 address of server
- Vpn
Variable string - Variable name
- hostname
Ip String - Set IPv6 hostname or IPv6 address of server
- hostname
Ip StringVariable - Variable name
- priority String
- Set logging level for messages logged to server
- priority
Variable String - Variable name
- source
Interface String - Set interface to use to reach syslog server
- source
Interface StringVariable - Variable name
- tls
Enable Boolean - Enable TLS Profile
- tls
Enable StringVariable - Variable name
- tls
Properties BooleanCustom Profile - Define custom profile
- tls
Properties StringCustom Profile Variable - Variable name
- tls
Properties StringProfile - Configure a TLS profile
- tls
Properties StringProfile Variable - Variable name
- vpn Integer
- Set hostname or IPv4 address of server
- vpn
Variable String - Variable name
- hostname
Ip string - Set IPv6 hostname or IPv6 address of server
- hostname
Ip stringVariable - Variable name
- priority string
- Set logging level for messages logged to server
- priority
Variable string - Variable name
- source
Interface string - Set interface to use to reach syslog server
- source
Interface stringVariable - Variable name
- tls
Enable boolean - Enable TLS Profile
- tls
Enable stringVariable - Variable name
- tls
Properties booleanCustom Profile - Define custom profile
- tls
Properties stringCustom Profile Variable - Variable name
- tls
Properties stringProfile - Configure a TLS profile
- tls
Properties stringProfile Variable - Variable name
- vpn number
- Set hostname or IPv4 address of server
- vpn
Variable string - Variable name
- hostname_
ip str - Set IPv6 hostname or IPv6 address of server
- hostname_
ip_ strvariable - Variable name
- priority str
- Set logging level for messages logged to server
- priority_
variable str - Variable name
- source_
interface str - Set interface to use to reach syslog server
- source_
interface_ strvariable - Variable name
- tls_
enable bool - Enable TLS Profile
- tls_
enable_ strvariable - Variable name
- tls_
properties_ boolcustom_ profile - Define custom profile
- tls_
properties_ strcustom_ profile_ variable - Variable name
- tls_
properties_ strprofile - Configure a TLS profile
- tls_
properties_ strprofile_ variable - Variable name
- vpn int
- Set hostname or IPv4 address of server
- vpn_
variable str - Variable name
- hostname
Ip String - Set IPv6 hostname or IPv6 address of server
- hostname
Ip StringVariable - Variable name
- priority String
- Set logging level for messages logged to server
- priority
Variable String - Variable name
- source
Interface String - Set interface to use to reach syslog server
- source
Interface StringVariable - Variable name
- tls
Enable Boolean - Enable TLS Profile
- tls
Enable StringVariable - Variable name
- tls
Properties BooleanCustom Profile - Define custom profile
- tls
Properties StringCustom Profile Variable - Variable name
- tls
Properties StringProfile - Configure a TLS profile
- tls
Properties StringProfile Variable - Variable name
- vpn Number
- Set hostname or IPv4 address of server
- vpn
Variable String - Variable name
GetSystemLoggingFeatureTlsProfile
- Cipher
Suites List<string> - Syslog secure server ciphersuites
- Cipher
Suites stringVariable - Variable name
- Profile string
- Specify the name of the TLS profile
- Profile
Variable string - Variable name
- Tls
Version string - TLS Version
- Tls
Version stringVariable - Variable name
- Cipher
Suites []string - Syslog secure server ciphersuites
- Cipher
Suites stringVariable - Variable name
- Profile string
- Specify the name of the TLS profile
- Profile
Variable string - Variable name
- Tls
Version string - TLS Version
- Tls
Version stringVariable - Variable name
- cipher
Suites List<String> - Syslog secure server ciphersuites
- cipher
Suites StringVariable - Variable name
- profile String
- Specify the name of the TLS profile
- profile
Variable String - Variable name
- tls
Version String - TLS Version
- tls
Version StringVariable - Variable name
- cipher
Suites string[] - Syslog secure server ciphersuites
- cipher
Suites stringVariable - Variable name
- profile string
- Specify the name of the TLS profile
- profile
Variable string - Variable name
- tls
Version string - TLS Version
- tls
Version stringVariable - Variable name
- cipher_
suites Sequence[str] - Syslog secure server ciphersuites
- cipher_
suites_ strvariable - Variable name
- profile str
- Specify the name of the TLS profile
- profile_
variable str - Variable name
- tls_
version str - TLS Version
- tls_
version_ strvariable - Variable name
- cipher
Suites List<String> - Syslog secure server ciphersuites
- cipher
Suites StringVariable - Variable name
- profile String
- Specify the name of the TLS profile
- profile
Variable String - Variable name
- tls
Version String - TLS Version
- tls
Version StringVariable - Variable name
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
sdwan
Terraform Provider.