SessionSetting resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
// Set Sessions with Config Rematch value set to True
const sessionExample = new scm.SessionSetting("session_example", {
folder: "All",
sessionSettings: {
dhcpBcastSessionOn: false,
erspan: false,
ipv6Firewalling: true,
rematch: false,
acceleratedAgingEnable: true,
acceleratedAgingThreshold: 80,
acceleratedAgingScalingFactor: 2,
icmpUnreachableRate: 200,
multicastRouteSetupBuffering: false,
maxPendingMcastPktsPerSession: 1000,
icmpv6RateLimit: {
bucketSize: 100,
packetRate: 100,
},
nat: {
dippOversub: "1x",
},
nat64: {
ipv6MinNetworkMtu: 1280,
},
jumboFrame: {
mtu: 9191,
},
config: {
rematch: true,
},
packetBufferProtectionEnable: false,
packetBufferProtectionMonitorOnly: false,
packetBufferProtectionAlert: 50,
packetBufferProtectionActivate: 80,
packetBufferProtectionBlockCountdown: 80,
packetBufferProtectionBlockHoldTime: 60,
packetBufferProtectionBlockDurationTime: 3600,
packetBufferProtectionUseLatency: false,
packetBufferProtectionLatencyAlert: 50,
packetBufferProtectionLatencyActivate: 200,
packetBufferProtectionLatencyMaxTolerate: 500,
packetBufferProtectionLatencyBlockCountdown: 500,
},
});
import pulumi
import pulumi_scm as scm
# Set Sessions with Config Rematch value set to True
session_example = scm.SessionSetting("session_example",
folder="All",
session_settings={
"dhcp_bcast_session_on": False,
"erspan": False,
"ipv6_firewalling": True,
"rematch": False,
"accelerated_aging_enable": True,
"accelerated_aging_threshold": 80,
"accelerated_aging_scaling_factor": 2,
"icmp_unreachable_rate": 200,
"multicast_route_setup_buffering": False,
"max_pending_mcast_pkts_per_session": 1000,
"icmpv6_rate_limit": {
"bucket_size": 100,
"packet_rate": 100,
},
"nat": {
"dipp_oversub": "1x",
},
"nat64": {
"ipv6_min_network_mtu": 1280,
},
"jumbo_frame": {
"mtu": 9191,
},
"config": {
"rematch": True,
},
"packet_buffer_protection_enable": False,
"packet_buffer_protection_monitor_only": False,
"packet_buffer_protection_alert": 50,
"packet_buffer_protection_activate": 80,
"packet_buffer_protection_block_countdown": 80,
"packet_buffer_protection_block_hold_time": 60,
"packet_buffer_protection_block_duration_time": 3600,
"packet_buffer_protection_use_latency": False,
"packet_buffer_protection_latency_alert": 50,
"packet_buffer_protection_latency_activate": 200,
"packet_buffer_protection_latency_max_tolerate": 500,
"packet_buffer_protection_latency_block_countdown": 500,
})
package main
import (
"github.com/pulumi/pulumi-scm/sdk/go/scm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Set Sessions with Config Rematch value set to True
_, err := scm.NewSessionSetting(ctx, "session_example", &scm.SessionSettingArgs{
Folder: pulumi.String("All"),
SessionSettings: &scm.SessionSettingSessionSettingsArgs{
DhcpBcastSessionOn: pulumi.Bool(false),
Erspan: pulumi.Bool(false),
Ipv6Firewalling: pulumi.Bool(true),
Rematch: false,
AcceleratedAgingEnable: pulumi.Bool(true),
AcceleratedAgingThreshold: pulumi.Float64(80),
AcceleratedAgingScalingFactor: pulumi.Float64(2),
IcmpUnreachableRate: pulumi.Float64(200),
MulticastRouteSetupBuffering: pulumi.Bool(false),
MaxPendingMcastPktsPerSession: pulumi.Float64(1000),
Icmpv6RateLimit: &scm.SessionSettingSessionSettingsIcmpv6RateLimitArgs{
BucketSize: pulumi.Int(100),
PacketRate: pulumi.Int(100),
},
Nat: &scm.SessionSettingSessionSettingsNatArgs{
DippOversub: pulumi.String("1x"),
},
Nat64: &scm.SessionSettingSessionSettingsNat64Args{
Ipv6MinNetworkMtu: pulumi.Int(1280),
},
JumboFrame: &scm.SessionSettingSessionSettingsJumboFrameArgs{
Mtu: pulumi.Int(9191),
},
Config: &scm.SessionSettingSessionSettingsConfigArgs{
Rematch: pulumi.Bool(true),
},
PacketBufferProtectionEnable: pulumi.Bool(false),
PacketBufferProtectionMonitorOnly: pulumi.Bool(false),
PacketBufferProtectionAlert: pulumi.Int(50),
PacketBufferProtectionActivate: pulumi.Float64(80),
PacketBufferProtectionBlockCountdown: pulumi.Float64(80),
PacketBufferProtectionBlockHoldTime: pulumi.Float64(60),
PacketBufferProtectionBlockDurationTime: pulumi.Float64(3600),
PacketBufferProtectionUseLatency: pulumi.Bool(false),
PacketBufferProtectionLatencyAlert: pulumi.Float64(50),
PacketBufferProtectionLatencyActivate: pulumi.Float64(200),
PacketBufferProtectionLatencyMaxTolerate: pulumi.Float64(500),
PacketBufferProtectionLatencyBlockCountdown: pulumi.Float64(500),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
// Set Sessions with Config Rematch value set to True
var sessionExample = new Scm.SessionSetting("session_example", new()
{
Folder = "All",
SessionSettings = new Scm.Inputs.SessionSettingSessionSettingsArgs
{
DhcpBcastSessionOn = false,
Erspan = false,
Ipv6Firewalling = true,
Rematch = false,
AcceleratedAgingEnable = true,
AcceleratedAgingThreshold = 80,
AcceleratedAgingScalingFactor = 2,
IcmpUnreachableRate = 200,
MulticastRouteSetupBuffering = false,
MaxPendingMcastPktsPerSession = 1000,
Icmpv6RateLimit = new Scm.Inputs.SessionSettingSessionSettingsIcmpv6RateLimitArgs
{
BucketSize = 100,
PacketRate = 100,
},
Nat = new Scm.Inputs.SessionSettingSessionSettingsNatArgs
{
DippOversub = "1x",
},
Nat64 = new Scm.Inputs.SessionSettingSessionSettingsNat64Args
{
Ipv6MinNetworkMtu = 1280,
},
JumboFrame = new Scm.Inputs.SessionSettingSessionSettingsJumboFrameArgs
{
Mtu = 9191,
},
Config = new Scm.Inputs.SessionSettingSessionSettingsConfigArgs
{
Rematch = true,
},
PacketBufferProtectionEnable = false,
PacketBufferProtectionMonitorOnly = false,
PacketBufferProtectionAlert = 50,
PacketBufferProtectionActivate = 80,
PacketBufferProtectionBlockCountdown = 80,
PacketBufferProtectionBlockHoldTime = 60,
PacketBufferProtectionBlockDurationTime = 3600,
PacketBufferProtectionUseLatency = false,
PacketBufferProtectionLatencyAlert = 50,
PacketBufferProtectionLatencyActivate = 200,
PacketBufferProtectionLatencyMaxTolerate = 500,
PacketBufferProtectionLatencyBlockCountdown = 500,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scm.SessionSetting;
import com.pulumi.scm.SessionSettingArgs;
import com.pulumi.scm.inputs.SessionSettingSessionSettingsArgs;
import com.pulumi.scm.inputs.SessionSettingSessionSettingsIcmpv6RateLimitArgs;
import com.pulumi.scm.inputs.SessionSettingSessionSettingsNatArgs;
import com.pulumi.scm.inputs.SessionSettingSessionSettingsNat64Args;
import com.pulumi.scm.inputs.SessionSettingSessionSettingsJumboFrameArgs;
import com.pulumi.scm.inputs.SessionSettingSessionSettingsConfigArgs;
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) {
// Set Sessions with Config Rematch value set to True
var sessionExample = new SessionSetting("sessionExample", SessionSettingArgs.builder()
.folder("All")
.sessionSettings(SessionSettingSessionSettingsArgs.builder()
.dhcpBcastSessionOn(false)
.erspan(false)
.ipv6Firewalling(true)
.rematch(false)
.acceleratedAgingEnable(true)
.acceleratedAgingThreshold(80.0)
.acceleratedAgingScalingFactor(2.0)
.icmpUnreachableRate(200.0)
.multicastRouteSetupBuffering(false)
.maxPendingMcastPktsPerSession(1000.0)
.icmpv6RateLimit(SessionSettingSessionSettingsIcmpv6RateLimitArgs.builder()
.bucketSize(100)
.packetRate(100)
.build())
.nat(SessionSettingSessionSettingsNatArgs.builder()
.dippOversub("1x")
.build())
.nat64(SessionSettingSessionSettingsNat64Args.builder()
.ipv6MinNetworkMtu(1280)
.build())
.jumboFrame(SessionSettingSessionSettingsJumboFrameArgs.builder()
.mtu(9191)
.build())
.config(SessionSettingSessionSettingsConfigArgs.builder()
.rematch(true)
.build())
.packetBufferProtectionEnable(false)
.packetBufferProtectionMonitorOnly(false)
.packetBufferProtectionAlert(50)
.packetBufferProtectionActivate(80.0)
.packetBufferProtectionBlockCountdown(80.0)
.packetBufferProtectionBlockHoldTime(60.0)
.packetBufferProtectionBlockDurationTime(3600.0)
.packetBufferProtectionUseLatency(false)
.packetBufferProtectionLatencyAlert(50.0)
.packetBufferProtectionLatencyActivate(200.0)
.packetBufferProtectionLatencyMaxTolerate(500.0)
.packetBufferProtectionLatencyBlockCountdown(500.0)
.build())
.build());
}
}
resources:
# Set Sessions with Config Rematch value set to True
sessionExample:
type: scm:SessionSetting
name: session_example
properties:
folder: All
sessionSettings:
dhcpBcastSessionOn: false
erspan: false
ipv6Firewalling: true
rematch: false
acceleratedAgingEnable: true
acceleratedAgingThreshold: 80
acceleratedAgingScalingFactor: 2
icmpUnreachableRate: 200
multicastRouteSetupBuffering: false
maxPendingMcastPktsPerSession: 1000
icmpv6RateLimit:
bucketSize: 100
packetRate: 100
nat:
dippOversub: 1x
nat64:
ipv6MinNetworkMtu: 1280
jumboFrame:
mtu: 9191
config:
rematch: true
packetBufferProtectionEnable: false
packetBufferProtectionMonitorOnly: false
packetBufferProtectionAlert: 50
packetBufferProtectionActivate: 80
packetBufferProtectionBlockCountdown: 80
packetBufferProtectionBlockHoldTime: 60
packetBufferProtectionBlockDurationTime: 3600
packetBufferProtectionUseLatency: false
packetBufferProtectionLatencyAlert: 50
packetBufferProtectionLatencyActivate: 200
packetBufferProtectionLatencyMaxTolerate: 500
packetBufferProtectionLatencyBlockCountdown: 500
Create SessionSetting Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SessionSetting(name: string, args?: SessionSettingArgs, opts?: CustomResourceOptions);@overload
def SessionSetting(resource_name: str,
args: Optional[SessionSettingArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def SessionSetting(resource_name: str,
opts: Optional[ResourceOptions] = None,
device: Optional[str] = None,
folder: Optional[str] = None,
session_settings: Optional[SessionSettingSessionSettingsArgs] = None,
snippet: Optional[str] = None)func NewSessionSetting(ctx *Context, name string, args *SessionSettingArgs, opts ...ResourceOption) (*SessionSetting, error)public SessionSetting(string name, SessionSettingArgs? args = null, CustomResourceOptions? opts = null)
public SessionSetting(String name, SessionSettingArgs args)
public SessionSetting(String name, SessionSettingArgs args, CustomResourceOptions options)
type: scm:SessionSetting
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 SessionSettingArgs
- 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 SessionSettingArgs
- 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 SessionSettingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SessionSettingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SessionSettingArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var sessionSettingResource = new Scm.SessionSetting("sessionSettingResource", new()
{
Device = "string",
Folder = "string",
SessionSettings = new Scm.Inputs.SessionSettingSessionSettingsArgs
{
AcceleratedAgingEnable = false,
AcceleratedAgingScalingFactor = 0,
AcceleratedAgingThreshold = 0,
Config = new Scm.Inputs.SessionSettingSessionSettingsConfigArgs
{
Rematch = false,
},
DhcpBcastSessionOn = false,
Erspan = false,
IcmpUnreachableRate = 0,
Icmpv6RateLimit = new Scm.Inputs.SessionSettingSessionSettingsIcmpv6RateLimitArgs
{
BucketSize = 0,
PacketRate = 0,
},
Ipv6Firewalling = false,
JumboFrame = new Scm.Inputs.SessionSettingSessionSettingsJumboFrameArgs
{
Mtu = 0,
},
MaxPendingMcastPktsPerSession = 0,
MulticastRouteSetupBuffering = false,
Nat = new Scm.Inputs.SessionSettingSessionSettingsNatArgs
{
DippOversub = "string",
},
Nat64 = new Scm.Inputs.SessionSettingSessionSettingsNat64Args
{
Ipv6MinNetworkMtu = 0,
},
PacketBufferProtectionActivate = 0,
PacketBufferProtectionAlert = 0,
PacketBufferProtectionBlockCountdown = 0,
PacketBufferProtectionBlockDurationTime = 0,
PacketBufferProtectionBlockHoldTime = 0,
PacketBufferProtectionEnable = false,
PacketBufferProtectionLatencyActivate = 0,
PacketBufferProtectionLatencyAlert = 0,
PacketBufferProtectionLatencyBlockCountdown = 0,
PacketBufferProtectionLatencyMaxTolerate = 0,
PacketBufferProtectionMonitorOnly = false,
PacketBufferProtectionUseLatency = false,
},
Snippet = "string",
});
example, err := scm.NewSessionSetting(ctx, "sessionSettingResource", &scm.SessionSettingArgs{
Device: pulumi.String("string"),
Folder: pulumi.String("string"),
SessionSettings: &scm.SessionSettingSessionSettingsArgs{
AcceleratedAgingEnable: pulumi.Bool(false),
AcceleratedAgingScalingFactor: pulumi.Float64(0),
AcceleratedAgingThreshold: pulumi.Float64(0),
Config: &scm.SessionSettingSessionSettingsConfigArgs{
Rematch: pulumi.Bool(false),
},
DhcpBcastSessionOn: pulumi.Bool(false),
Erspan: pulumi.Bool(false),
IcmpUnreachableRate: pulumi.Float64(0),
Icmpv6RateLimit: &scm.SessionSettingSessionSettingsIcmpv6RateLimitArgs{
BucketSize: pulumi.Int(0),
PacketRate: pulumi.Int(0),
},
Ipv6Firewalling: pulumi.Bool(false),
JumboFrame: &scm.SessionSettingSessionSettingsJumboFrameArgs{
Mtu: pulumi.Int(0),
},
MaxPendingMcastPktsPerSession: pulumi.Float64(0),
MulticastRouteSetupBuffering: pulumi.Bool(false),
Nat: &scm.SessionSettingSessionSettingsNatArgs{
DippOversub: pulumi.String("string"),
},
Nat64: &scm.SessionSettingSessionSettingsNat64Args{
Ipv6MinNetworkMtu: pulumi.Int(0),
},
PacketBufferProtectionActivate: pulumi.Float64(0),
PacketBufferProtectionAlert: pulumi.Int(0),
PacketBufferProtectionBlockCountdown: pulumi.Float64(0),
PacketBufferProtectionBlockDurationTime: pulumi.Float64(0),
PacketBufferProtectionBlockHoldTime: pulumi.Float64(0),
PacketBufferProtectionEnable: pulumi.Bool(false),
PacketBufferProtectionLatencyActivate: pulumi.Float64(0),
PacketBufferProtectionLatencyAlert: pulumi.Float64(0),
PacketBufferProtectionLatencyBlockCountdown: pulumi.Float64(0),
PacketBufferProtectionLatencyMaxTolerate: pulumi.Float64(0),
PacketBufferProtectionMonitorOnly: pulumi.Bool(false),
PacketBufferProtectionUseLatency: pulumi.Bool(false),
},
Snippet: pulumi.String("string"),
})
var sessionSettingResource = new SessionSetting("sessionSettingResource", SessionSettingArgs.builder()
.device("string")
.folder("string")
.sessionSettings(SessionSettingSessionSettingsArgs.builder()
.acceleratedAgingEnable(false)
.acceleratedAgingScalingFactor(0.0)
.acceleratedAgingThreshold(0.0)
.config(SessionSettingSessionSettingsConfigArgs.builder()
.rematch(false)
.build())
.dhcpBcastSessionOn(false)
.erspan(false)
.icmpUnreachableRate(0.0)
.icmpv6RateLimit(SessionSettingSessionSettingsIcmpv6RateLimitArgs.builder()
.bucketSize(0)
.packetRate(0)
.build())
.ipv6Firewalling(false)
.jumboFrame(SessionSettingSessionSettingsJumboFrameArgs.builder()
.mtu(0)
.build())
.maxPendingMcastPktsPerSession(0.0)
.multicastRouteSetupBuffering(false)
.nat(SessionSettingSessionSettingsNatArgs.builder()
.dippOversub("string")
.build())
.nat64(SessionSettingSessionSettingsNat64Args.builder()
.ipv6MinNetworkMtu(0)
.build())
.packetBufferProtectionActivate(0.0)
.packetBufferProtectionAlert(0)
.packetBufferProtectionBlockCountdown(0.0)
.packetBufferProtectionBlockDurationTime(0.0)
.packetBufferProtectionBlockHoldTime(0.0)
.packetBufferProtectionEnable(false)
.packetBufferProtectionLatencyActivate(0.0)
.packetBufferProtectionLatencyAlert(0.0)
.packetBufferProtectionLatencyBlockCountdown(0.0)
.packetBufferProtectionLatencyMaxTolerate(0.0)
.packetBufferProtectionMonitorOnly(false)
.packetBufferProtectionUseLatency(false)
.build())
.snippet("string")
.build());
session_setting_resource = scm.SessionSetting("sessionSettingResource",
device="string",
folder="string",
session_settings={
"accelerated_aging_enable": False,
"accelerated_aging_scaling_factor": 0,
"accelerated_aging_threshold": 0,
"config": {
"rematch": False,
},
"dhcp_bcast_session_on": False,
"erspan": False,
"icmp_unreachable_rate": 0,
"icmpv6_rate_limit": {
"bucket_size": 0,
"packet_rate": 0,
},
"ipv6_firewalling": False,
"jumbo_frame": {
"mtu": 0,
},
"max_pending_mcast_pkts_per_session": 0,
"multicast_route_setup_buffering": False,
"nat": {
"dipp_oversub": "string",
},
"nat64": {
"ipv6_min_network_mtu": 0,
},
"packet_buffer_protection_activate": 0,
"packet_buffer_protection_alert": 0,
"packet_buffer_protection_block_countdown": 0,
"packet_buffer_protection_block_duration_time": 0,
"packet_buffer_protection_block_hold_time": 0,
"packet_buffer_protection_enable": False,
"packet_buffer_protection_latency_activate": 0,
"packet_buffer_protection_latency_alert": 0,
"packet_buffer_protection_latency_block_countdown": 0,
"packet_buffer_protection_latency_max_tolerate": 0,
"packet_buffer_protection_monitor_only": False,
"packet_buffer_protection_use_latency": False,
},
snippet="string")
const sessionSettingResource = new scm.SessionSetting("sessionSettingResource", {
device: "string",
folder: "string",
sessionSettings: {
acceleratedAgingEnable: false,
acceleratedAgingScalingFactor: 0,
acceleratedAgingThreshold: 0,
config: {
rematch: false,
},
dhcpBcastSessionOn: false,
erspan: false,
icmpUnreachableRate: 0,
icmpv6RateLimit: {
bucketSize: 0,
packetRate: 0,
},
ipv6Firewalling: false,
jumboFrame: {
mtu: 0,
},
maxPendingMcastPktsPerSession: 0,
multicastRouteSetupBuffering: false,
nat: {
dippOversub: "string",
},
nat64: {
ipv6MinNetworkMtu: 0,
},
packetBufferProtectionActivate: 0,
packetBufferProtectionAlert: 0,
packetBufferProtectionBlockCountdown: 0,
packetBufferProtectionBlockDurationTime: 0,
packetBufferProtectionBlockHoldTime: 0,
packetBufferProtectionEnable: false,
packetBufferProtectionLatencyActivate: 0,
packetBufferProtectionLatencyAlert: 0,
packetBufferProtectionLatencyBlockCountdown: 0,
packetBufferProtectionLatencyMaxTolerate: 0,
packetBufferProtectionMonitorOnly: false,
packetBufferProtectionUseLatency: false,
},
snippet: "string",
});
type: scm:SessionSetting
properties:
device: string
folder: string
sessionSettings:
acceleratedAgingEnable: false
acceleratedAgingScalingFactor: 0
acceleratedAgingThreshold: 0
config:
rematch: false
dhcpBcastSessionOn: false
erspan: false
icmpUnreachableRate: 0
icmpv6RateLimit:
bucketSize: 0
packetRate: 0
ipv6Firewalling: false
jumboFrame:
mtu: 0
maxPendingMcastPktsPerSession: 0
multicastRouteSetupBuffering: false
nat:
dippOversub: string
nat64:
ipv6MinNetworkMtu: 0
packetBufferProtectionActivate: 0
packetBufferProtectionAlert: 0
packetBufferProtectionBlockCountdown: 0
packetBufferProtectionBlockDurationTime: 0
packetBufferProtectionBlockHoldTime: 0
packetBufferProtectionEnable: false
packetBufferProtectionLatencyActivate: 0
packetBufferProtectionLatencyAlert: 0
packetBufferProtectionLatencyBlockCountdown: 0
packetBufferProtectionLatencyMaxTolerate: 0
packetBufferProtectionMonitorOnly: false
packetBufferProtectionUseLatency: false
snippet: string
SessionSetting Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SessionSetting resource accepts the following input properties:
- Device string
- The device in which the resource is defined
- Folder string
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- Session
Settings SessionSetting Session Settings - Session settings
- Snippet string
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.
- Device string
- The device in which the resource is defined
- Folder string
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- Session
Settings SessionSetting Session Settings Args - Session settings
- Snippet string
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.
- device String
- The device in which the resource is defined
- folder String
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- session
Settings SessionSetting Session Settings - Session settings
- snippet String
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.
- device string
- The device in which the resource is defined
- folder string
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- session
Settings SessionSetting Session Settings - Session settings
- snippet string
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.
- device str
- The device in which the resource is defined
- folder str
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- session_
settings SessionSetting Session Settings Args - Session settings
- snippet str
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.
- device String
- The device in which the resource is defined
- folder String
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- session
Settings Property Map - Session settings
- snippet String
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.
Outputs
All input properties are implicitly available as output properties. Additionally, the SessionSetting resource produces the following output properties:
Look up Existing SessionSetting Resource
Get an existing SessionSetting 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?: SessionSettingState, opts?: CustomResourceOptions): SessionSetting@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
device: Optional[str] = None,
folder: Optional[str] = None,
session_settings: Optional[SessionSettingSessionSettingsArgs] = None,
snippet: Optional[str] = None,
tfid: Optional[str] = None) -> SessionSettingfunc GetSessionSetting(ctx *Context, name string, id IDInput, state *SessionSettingState, opts ...ResourceOption) (*SessionSetting, error)public static SessionSetting Get(string name, Input<string> id, SessionSettingState? state, CustomResourceOptions? opts = null)public static SessionSetting get(String name, Output<String> id, SessionSettingState state, CustomResourceOptions options)resources: _: type: scm:SessionSetting get: id: ${id}- 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.
- Device string
- The device in which the resource is defined
- Folder string
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- Session
Settings SessionSetting Session Settings - Session settings
- Snippet string
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- Tfid string
- Device string
- The device in which the resource is defined
- Folder string
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- Session
Settings SessionSetting Session Settings Args - Session settings
- Snippet string
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- Tfid string
- device String
- The device in which the resource is defined
- folder String
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- session
Settings SessionSetting Session Settings - Session settings
- snippet String
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- tfid String
- device string
- The device in which the resource is defined
- folder string
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- session
Settings SessionSetting Session Settings - Session settings
- snippet string
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- tfid string
- device str
- The device in which the resource is defined
- folder str
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- session_
settings SessionSetting Session Settings Args - Session settings
- snippet str
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- tfid str
- device String
- The device in which the resource is defined
- folder String
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- session
Settings Property Map - Session settings
- snippet String
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- tfid String
Supporting Types
SessionSettingSessionSettings, SessionSettingSessionSettingsArgs
- Accelerated
Aging boolEnable - Enable accelerated aging
- Accelerated
Aging doubleScaling Factor - Accelerated aging scaling factor
- Accelerated
Aging doubleThreshold - Accelerated aging threshold
- Config
Session
Setting Session Settings Config - Config
- Dhcp
Bcast boolSession On - Enable DHCP broadcast session
- Erspan bool
- Enable ERSPAN support
- Icmp
Unreachable doubleRate - ICMP unreachable packet rate (per second)
- Icmpv6Rate
Limit SessionSetting Session Settings Icmpv6Rate Limit - ICMPv6 rate limiting
- Ipv6Firewalling bool
- Enable IPv6 firewalling
- Jumbo
Frame SessionSetting Session Settings Jumbo Frame - Enable jumbo frame support
- Max
Pending doubleMcast Pkts Per Session - Multicast route setup buffer size
- Multicast
Route boolSetup Buffering - Multicast route setup buffering
- Nat
Session
Setting Session Settings Nat - Nat
- Nat64
Session
Setting Session Settings Nat64 - Nat64
- Packet
Buffer doubleProtection Activate - Activate (%)
- Packet
Buffer intProtection Alert - Alert (%)
- Packet
Buffer doubleProtection Block Countdown - Block countdown threshold (%)
- Packet
Buffer doubleProtection Block Duration Time - Block duration (seconds)
- Packet
Buffer doubleProtection Block Hold Time - Block hold time (seconds)
- Packet
Buffer boolProtection Enable - Enable packet buffer protection
- Packet
Buffer doubleProtection Latency Activate - Latency activate (milliseconds)
- Packet
Buffer doubleProtection Latency Alert - Latency alert (milliseconds)
- Packet
Buffer doubleProtection Latency Block Countdown - Block countdown threshold (milliseconds)
- Packet
Buffer doubleProtection Latency Max Tolerate - Latency max tolerate (milliseconds)
- Packet
Buffer boolProtection Monitor Only - Packet buffer protection monitor only
- Packet
Buffer boolProtection Use Latency - Enabled latency-based activation
- Accelerated
Aging boolEnable - Enable accelerated aging
- Accelerated
Aging float64Scaling Factor - Accelerated aging scaling factor
- Accelerated
Aging float64Threshold - Accelerated aging threshold
- Config
Session
Setting Session Settings Config - Config
- Dhcp
Bcast boolSession On - Enable DHCP broadcast session
- Erspan bool
- Enable ERSPAN support
- Icmp
Unreachable float64Rate - ICMP unreachable packet rate (per second)
- Icmpv6Rate
Limit SessionSetting Session Settings Icmpv6Rate Limit - ICMPv6 rate limiting
- Ipv6Firewalling bool
- Enable IPv6 firewalling
- Jumbo
Frame SessionSetting Session Settings Jumbo Frame - Enable jumbo frame support
- Max
Pending float64Mcast Pkts Per Session - Multicast route setup buffer size
- Multicast
Route boolSetup Buffering - Multicast route setup buffering
- Nat
Session
Setting Session Settings Nat - Nat
- Nat64
Session
Setting Session Settings Nat64 - Nat64
- Packet
Buffer float64Protection Activate - Activate (%)
- Packet
Buffer intProtection Alert - Alert (%)
- Packet
Buffer float64Protection Block Countdown - Block countdown threshold (%)
- Packet
Buffer float64Protection Block Duration Time - Block duration (seconds)
- Packet
Buffer float64Protection Block Hold Time - Block hold time (seconds)
- Packet
Buffer boolProtection Enable - Enable packet buffer protection
- Packet
Buffer float64Protection Latency Activate - Latency activate (milliseconds)
- Packet
Buffer float64Protection Latency Alert - Latency alert (milliseconds)
- Packet
Buffer float64Protection Latency Block Countdown - Block countdown threshold (milliseconds)
- Packet
Buffer float64Protection Latency Max Tolerate - Latency max tolerate (milliseconds)
- Packet
Buffer boolProtection Monitor Only - Packet buffer protection monitor only
- Packet
Buffer boolProtection Use Latency - Enabled latency-based activation
- accelerated
Aging BooleanEnable - Enable accelerated aging
- accelerated
Aging DoubleScaling Factor - Accelerated aging scaling factor
- accelerated
Aging DoubleThreshold - Accelerated aging threshold
- config
Session
Setting Session Settings Config - Config
- dhcp
Bcast BooleanSession On - Enable DHCP broadcast session
- erspan Boolean
- Enable ERSPAN support
- icmp
Unreachable DoubleRate - ICMP unreachable packet rate (per second)
- icmpv6Rate
Limit SessionSetting Session Settings Icmpv6Rate Limit - ICMPv6 rate limiting
- ipv6Firewalling Boolean
- Enable IPv6 firewalling
- jumbo
Frame SessionSetting Session Settings Jumbo Frame - Enable jumbo frame support
- max
Pending DoubleMcast Pkts Per Session - Multicast route setup buffer size
- multicast
Route BooleanSetup Buffering - Multicast route setup buffering
- nat
Session
Setting Session Settings Nat - Nat
- nat64
Session
Setting Session Settings Nat64 - Nat64
- packet
Buffer DoubleProtection Activate - Activate (%)
- packet
Buffer IntegerProtection Alert - Alert (%)
- packet
Buffer DoubleProtection Block Countdown - Block countdown threshold (%)
- packet
Buffer DoubleProtection Block Duration Time - Block duration (seconds)
- packet
Buffer DoubleProtection Block Hold Time - Block hold time (seconds)
- packet
Buffer BooleanProtection Enable - Enable packet buffer protection
- packet
Buffer DoubleProtection Latency Activate - Latency activate (milliseconds)
- packet
Buffer DoubleProtection Latency Alert - Latency alert (milliseconds)
- packet
Buffer DoubleProtection Latency Block Countdown - Block countdown threshold (milliseconds)
- packet
Buffer DoubleProtection Latency Max Tolerate - Latency max tolerate (milliseconds)
- packet
Buffer BooleanProtection Monitor Only - Packet buffer protection monitor only
- packet
Buffer BooleanProtection Use Latency - Enabled latency-based activation
- accelerated
Aging booleanEnable - Enable accelerated aging
- accelerated
Aging numberScaling Factor - Accelerated aging scaling factor
- accelerated
Aging numberThreshold - Accelerated aging threshold
- config
Session
Setting Session Settings Config - Config
- dhcp
Bcast booleanSession On - Enable DHCP broadcast session
- erspan boolean
- Enable ERSPAN support
- icmp
Unreachable numberRate - ICMP unreachable packet rate (per second)
- icmpv6Rate
Limit SessionSetting Session Settings Icmpv6Rate Limit - ICMPv6 rate limiting
- ipv6Firewalling boolean
- Enable IPv6 firewalling
- jumbo
Frame SessionSetting Session Settings Jumbo Frame - Enable jumbo frame support
- max
Pending numberMcast Pkts Per Session - Multicast route setup buffer size
- multicast
Route booleanSetup Buffering - Multicast route setup buffering
- nat
Session
Setting Session Settings Nat - Nat
- nat64
Session
Setting Session Settings Nat64 - Nat64
- packet
Buffer numberProtection Activate - Activate (%)
- packet
Buffer numberProtection Alert - Alert (%)
- packet
Buffer numberProtection Block Countdown - Block countdown threshold (%)
- packet
Buffer numberProtection Block Duration Time - Block duration (seconds)
- packet
Buffer numberProtection Block Hold Time - Block hold time (seconds)
- packet
Buffer booleanProtection Enable - Enable packet buffer protection
- packet
Buffer numberProtection Latency Activate - Latency activate (milliseconds)
- packet
Buffer numberProtection Latency Alert - Latency alert (milliseconds)
- packet
Buffer numberProtection Latency Block Countdown - Block countdown threshold (milliseconds)
- packet
Buffer numberProtection Latency Max Tolerate - Latency max tolerate (milliseconds)
- packet
Buffer booleanProtection Monitor Only - Packet buffer protection monitor only
- packet
Buffer booleanProtection Use Latency - Enabled latency-based activation
- accelerated_
aging_ boolenable - Enable accelerated aging
- accelerated_
aging_ floatscaling_ factor - Accelerated aging scaling factor
- accelerated_
aging_ floatthreshold - Accelerated aging threshold
- config
Session
Setting Session Settings Config - Config
- dhcp_
bcast_ boolsession_ on - Enable DHCP broadcast session
- erspan bool
- Enable ERSPAN support
- icmp_
unreachable_ floatrate - ICMP unreachable packet rate (per second)
- icmpv6_
rate_ Sessionlimit Setting Session Settings Icmpv6Rate Limit - ICMPv6 rate limiting
- ipv6_
firewalling bool - Enable IPv6 firewalling
- jumbo_
frame SessionSetting Session Settings Jumbo Frame - Enable jumbo frame support
- max_
pending_ floatmcast_ pkts_ per_ session - Multicast route setup buffer size
- multicast_
route_ boolsetup_ buffering - Multicast route setup buffering
- nat
Session
Setting Session Settings Nat - Nat
- nat64
Session
Setting Session Settings Nat64 - Nat64
- packet_
buffer_ floatprotection_ activate - Activate (%)
- packet_
buffer_ intprotection_ alert - Alert (%)
- packet_
buffer_ floatprotection_ block_ countdown - Block countdown threshold (%)
- packet_
buffer_ floatprotection_ block_ duration_ time - Block duration (seconds)
- packet_
buffer_ floatprotection_ block_ hold_ time - Block hold time (seconds)
- packet_
buffer_ boolprotection_ enable - Enable packet buffer protection
- packet_
buffer_ floatprotection_ latency_ activate - Latency activate (milliseconds)
- packet_
buffer_ floatprotection_ latency_ alert - Latency alert (milliseconds)
- packet_
buffer_ floatprotection_ latency_ block_ countdown - Block countdown threshold (milliseconds)
- packet_
buffer_ floatprotection_ latency_ max_ tolerate - Latency max tolerate (milliseconds)
- packet_
buffer_ boolprotection_ monitor_ only - Packet buffer protection monitor only
- packet_
buffer_ boolprotection_ use_ latency - Enabled latency-based activation
- accelerated
Aging BooleanEnable - Enable accelerated aging
- accelerated
Aging NumberScaling Factor - Accelerated aging scaling factor
- accelerated
Aging NumberThreshold - Accelerated aging threshold
- config Property Map
- Config
- dhcp
Bcast BooleanSession On - Enable DHCP broadcast session
- erspan Boolean
- Enable ERSPAN support
- icmp
Unreachable NumberRate - ICMP unreachable packet rate (per second)
- icmpv6Rate
Limit Property Map - ICMPv6 rate limiting
- ipv6Firewalling Boolean
- Enable IPv6 firewalling
- jumbo
Frame Property Map - Enable jumbo frame support
- max
Pending NumberMcast Pkts Per Session - Multicast route setup buffer size
- multicast
Route BooleanSetup Buffering - Multicast route setup buffering
- nat Property Map
- Nat
- nat64 Property Map
- Nat64
- packet
Buffer NumberProtection Activate - Activate (%)
- packet
Buffer NumberProtection Alert - Alert (%)
- packet
Buffer NumberProtection Block Countdown - Block countdown threshold (%)
- packet
Buffer NumberProtection Block Duration Time - Block duration (seconds)
- packet
Buffer NumberProtection Block Hold Time - Block hold time (seconds)
- packet
Buffer BooleanProtection Enable - Enable packet buffer protection
- packet
Buffer NumberProtection Latency Activate - Latency activate (milliseconds)
- packet
Buffer NumberProtection Latency Alert - Latency alert (milliseconds)
- packet
Buffer NumberProtection Latency Block Countdown - Block countdown threshold (milliseconds)
- packet
Buffer NumberProtection Latency Max Tolerate - Latency max tolerate (milliseconds)
- packet
Buffer BooleanProtection Monitor Only - Packet buffer protection monitor only
- packet
Buffer BooleanProtection Use Latency - Enabled latency-based activation
SessionSettingSessionSettingsConfig, SessionSettingSessionSettingsConfigArgs
- Rematch bool
- Rematch all sessions on config policy change
- Rematch bool
- Rematch all sessions on config policy change
- rematch Boolean
- Rematch all sessions on config policy change
- rematch boolean
- Rematch all sessions on config policy change
- rematch bool
- Rematch all sessions on config policy change
- rematch Boolean
- Rematch all sessions on config policy change
SessionSettingSessionSettingsIcmpv6RateLimit, SessionSettingSessionSettingsIcmpv6RateLimitArgs
- Bucket
Size int - ICMPv6 token bucket size
- Packet
Rate int - ICMPv6 error packet pate (per second)
- Bucket
Size int - ICMPv6 token bucket size
- Packet
Rate int - ICMPv6 error packet pate (per second)
- bucket
Size Integer - ICMPv6 token bucket size
- packet
Rate Integer - ICMPv6 error packet pate (per second)
- bucket
Size number - ICMPv6 token bucket size
- packet
Rate number - ICMPv6 error packet pate (per second)
- bucket_
size int - ICMPv6 token bucket size
- packet_
rate int - ICMPv6 error packet pate (per second)
- bucket
Size Number - ICMPv6 token bucket size
- packet
Rate Number - ICMPv6 error packet pate (per second)
SessionSettingSessionSettingsJumboFrame, SessionSettingSessionSettingsJumboFrameArgs
- Mtu int
- Global MTU
- Mtu int
- Global MTU
- mtu Integer
- Global MTU
- mtu number
- Global MTU
- mtu int
- Global MTU
- mtu Number
- Global MTU
SessionSettingSessionSettingsNat, SessionSettingSessionSettingsNatArgs
- Dipp
Oversub string - NAT oversubscription rate
- Dipp
Oversub string - NAT oversubscription rate
- dipp
Oversub String - NAT oversubscription rate
- dipp
Oversub string - NAT oversubscription rate
- dipp_
oversub str - NAT oversubscription rate
- dipp
Oversub String - NAT oversubscription rate
SessionSettingSessionSettingsNat64, SessionSettingSessionSettingsNat64Args
- Ipv6Min
Network intMtu - NAT64 IPv6 minimum network MTU
- Ipv6Min
Network intMtu - NAT64 IPv6 minimum network MTU
- ipv6Min
Network IntegerMtu - NAT64 IPv6 minimum network MTU
- ipv6Min
Network numberMtu - NAT64 IPv6 minimum network MTU
- ipv6_
min_ intnetwork_ mtu - NAT64 IPv6 minimum network MTU
- ipv6Min
Network NumberMtu - NAT64 IPv6 minimum network MTU
Import
The following command can be used to import a resource not managed by Terraform:
bash
$ pulumi import scm:index/sessionSetting:SessionSetting example folder:::id
or
bash
$ pulumi import scm:index/sessionSetting:SessionSetting example :snippet::id
or
bash
$ pulumi import scm:index/sessionSetting:SessionSetting example ::device:id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
