iosxe.Service
Explore with Pulumi AI
This resource can manage the Service configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Lbrlabs.PulumiPackage.Iosxe;
return await Deployment.RunAsync(() =>
{
var example = new Iosxe.Service("example", new()
{
CallHome = true,
CompressConfig = true,
Dhcp = true,
Pad = true,
PasswordEncryption = true,
PasswordRecovery = true,
SequenceNumbers = true,
TcpKeepalivesIn = true,
TcpKeepalivesOut = true,
Timestamps = true,
TimestampsDebug = true,
TimestampsDebugDatetime = true,
TimestampsDebugDatetimeLocaltime = true,
TimestampsDebugDatetimeMsec = true,
TimestampsDebugDatetimeShowTimezone = true,
TimestampsDebugDatetimeYear = true,
TimestampsDebugUptime = true,
TimestampsLog = true,
TimestampsLogDatetime = true,
TimestampsLogDatetimeLocaltime = true,
TimestampsLogDatetimeMsec = true,
TimestampsLogDatetimeShowTimezone = true,
TimestampsLogDatetimeYear = true,
TimestampsLogUptime = true,
});
});
package main
import (
"github.com/lbrlabs/pulumi-iosxe/sdk/go/iosxe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iosxe.NewService(ctx, "example", &iosxe.ServiceArgs{
CallHome: pulumi.Bool(true),
CompressConfig: pulumi.Bool(true),
Dhcp: pulumi.Bool(true),
Pad: pulumi.Bool(true),
PasswordEncryption: pulumi.Bool(true),
PasswordRecovery: pulumi.Bool(true),
SequenceNumbers: pulumi.Bool(true),
TcpKeepalivesIn: pulumi.Bool(true),
TcpKeepalivesOut: pulumi.Bool(true),
Timestamps: pulumi.Bool(true),
TimestampsDebug: pulumi.Bool(true),
TimestampsDebugDatetime: pulumi.Bool(true),
TimestampsDebugDatetimeLocaltime: pulumi.Bool(true),
TimestampsDebugDatetimeMsec: pulumi.Bool(true),
TimestampsDebugDatetimeShowTimezone: pulumi.Bool(true),
TimestampsDebugDatetimeYear: pulumi.Bool(true),
TimestampsDebugUptime: pulumi.Bool(true),
TimestampsLog: pulumi.Bool(true),
TimestampsLogDatetime: pulumi.Bool(true),
TimestampsLogDatetimeLocaltime: pulumi.Bool(true),
TimestampsLogDatetimeMsec: pulumi.Bool(true),
TimestampsLogDatetimeShowTimezone: pulumi.Bool(true),
TimestampsLogDatetimeYear: pulumi.Bool(true),
TimestampsLogUptime: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.iosxe.Service;
import com.pulumi.iosxe.ServiceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Service("example", ServiceArgs.builder()
.callHome(true)
.compressConfig(true)
.dhcp(true)
.pad(true)
.passwordEncryption(true)
.passwordRecovery(true)
.sequenceNumbers(true)
.tcpKeepalivesIn(true)
.tcpKeepalivesOut(true)
.timestamps(true)
.timestampsDebug(true)
.timestampsDebugDatetime(true)
.timestampsDebugDatetimeLocaltime(true)
.timestampsDebugDatetimeMsec(true)
.timestampsDebugDatetimeShowTimezone(true)
.timestampsDebugDatetimeYear(true)
.timestampsDebugUptime(true)
.timestampsLog(true)
.timestampsLogDatetime(true)
.timestampsLogDatetimeLocaltime(true)
.timestampsLogDatetimeMsec(true)
.timestampsLogDatetimeShowTimezone(true)
.timestampsLogDatetimeYear(true)
.timestampsLogUptime(true)
.build());
}
}
import pulumi
import lbrlabs_pulumi_iosxe as iosxe
example = iosxe.Service("example",
call_home=True,
compress_config=True,
dhcp=True,
pad=True,
password_encryption=True,
password_recovery=True,
sequence_numbers=True,
tcp_keepalives_in=True,
tcp_keepalives_out=True,
timestamps=True,
timestamps_debug=True,
timestamps_debug_datetime=True,
timestamps_debug_datetime_localtime=True,
timestamps_debug_datetime_msec=True,
timestamps_debug_datetime_show_timezone=True,
timestamps_debug_datetime_year=True,
timestamps_debug_uptime=True,
timestamps_log=True,
timestamps_log_datetime=True,
timestamps_log_datetime_localtime=True,
timestamps_log_datetime_msec=True,
timestamps_log_datetime_show_timezone=True,
timestamps_log_datetime_year=True,
timestamps_log_uptime=True)
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@lbrlabs/pulumi-iosxe";
const example = new iosxe.Service("example", {
callHome: true,
compressConfig: true,
dhcp: true,
pad: true,
passwordEncryption: true,
passwordRecovery: true,
sequenceNumbers: true,
tcpKeepalivesIn: true,
tcpKeepalivesOut: true,
timestamps: true,
timestampsDebug: true,
timestampsDebugDatetime: true,
timestampsDebugDatetimeLocaltime: true,
timestampsDebugDatetimeMsec: true,
timestampsDebugDatetimeShowTimezone: true,
timestampsDebugDatetimeYear: true,
timestampsDebugUptime: true,
timestampsLog: true,
timestampsLogDatetime: true,
timestampsLogDatetimeLocaltime: true,
timestampsLogDatetimeMsec: true,
timestampsLogDatetimeShowTimezone: true,
timestampsLogDatetimeYear: true,
timestampsLogUptime: true,
});
resources:
example:
type: iosxe:Service
properties:
callHome: true
compressConfig: true
dhcp: true
pad: true
passwordEncryption: true
passwordRecovery: true
sequenceNumbers: true
tcpKeepalivesIn: true
tcpKeepalivesOut: true
timestamps: true
timestampsDebug: true
timestampsDebugDatetime: true
timestampsDebugDatetimeLocaltime: true
timestampsDebugDatetimeMsec: true
timestampsDebugDatetimeShowTimezone: true
timestampsDebugDatetimeYear: true
timestampsDebugUptime: true
timestampsLog: true
timestampsLogDatetime: true
timestampsLogDatetimeLocaltime: true
timestampsLogDatetimeMsec: true
timestampsLogDatetimeShowTimezone: true
timestampsLogDatetimeYear: true
timestampsLogUptime: true
Create Service Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Service(name: string, args?: ServiceArgs, opts?: CustomResourceOptions);
@overload
def Service(resource_name: str,
args: Optional[ServiceArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Service(resource_name: str,
opts: Optional[ResourceOptions] = None,
call_home: Optional[bool] = None,
compress_config: Optional[bool] = None,
device: Optional[str] = None,
dhcp: Optional[bool] = None,
pad: Optional[bool] = None,
password_encryption: Optional[bool] = None,
password_recovery: Optional[bool] = None,
sequence_numbers: Optional[bool] = None,
tcp_keepalives_in: Optional[bool] = None,
tcp_keepalives_out: Optional[bool] = None,
timestamps: Optional[bool] = None,
timestamps_debug: Optional[bool] = None,
timestamps_debug_datetime: Optional[bool] = None,
timestamps_debug_datetime_localtime: Optional[bool] = None,
timestamps_debug_datetime_msec: Optional[bool] = None,
timestamps_debug_datetime_show_timezone: Optional[bool] = None,
timestamps_debug_datetime_year: Optional[bool] = None,
timestamps_debug_uptime: Optional[bool] = None,
timestamps_log: Optional[bool] = None,
timestamps_log_datetime: Optional[bool] = None,
timestamps_log_datetime_localtime: Optional[bool] = None,
timestamps_log_datetime_msec: Optional[bool] = None,
timestamps_log_datetime_show_timezone: Optional[bool] = None,
timestamps_log_datetime_year: Optional[bool] = None,
timestamps_log_uptime: Optional[bool] = None)
func NewService(ctx *Context, name string, args *ServiceArgs, opts ...ResourceOption) (*Service, error)
public Service(string name, ServiceArgs? args = null, CustomResourceOptions? opts = null)
public Service(String name, ServiceArgs args)
public Service(String name, ServiceArgs args, CustomResourceOptions options)
type: iosxe:Service
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 ServiceArgs
- 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 ServiceArgs
- 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 ServiceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServiceArgs
- 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 serviceResource = new Iosxe.Service("serviceResource", new()
{
CallHome = false,
CompressConfig = false,
Device = "string",
Dhcp = false,
Pad = false,
PasswordEncryption = false,
PasswordRecovery = false,
SequenceNumbers = false,
TcpKeepalivesIn = false,
TcpKeepalivesOut = false,
Timestamps = false,
TimestampsDebug = false,
TimestampsDebugDatetime = false,
TimestampsDebugDatetimeLocaltime = false,
TimestampsDebugDatetimeMsec = false,
TimestampsDebugDatetimeShowTimezone = false,
TimestampsDebugDatetimeYear = false,
TimestampsDebugUptime = false,
TimestampsLog = false,
TimestampsLogDatetime = false,
TimestampsLogDatetimeLocaltime = false,
TimestampsLogDatetimeMsec = false,
TimestampsLogDatetimeShowTimezone = false,
TimestampsLogDatetimeYear = false,
TimestampsLogUptime = false,
});
example, err := iosxe.NewService(ctx, "serviceResource", &iosxe.ServiceArgs{
CallHome: pulumi.Bool(false),
CompressConfig: pulumi.Bool(false),
Device: pulumi.String("string"),
Dhcp: pulumi.Bool(false),
Pad: pulumi.Bool(false),
PasswordEncryption: pulumi.Bool(false),
PasswordRecovery: pulumi.Bool(false),
SequenceNumbers: pulumi.Bool(false),
TcpKeepalivesIn: pulumi.Bool(false),
TcpKeepalivesOut: pulumi.Bool(false),
Timestamps: pulumi.Bool(false),
TimestampsDebug: pulumi.Bool(false),
TimestampsDebugDatetime: pulumi.Bool(false),
TimestampsDebugDatetimeLocaltime: pulumi.Bool(false),
TimestampsDebugDatetimeMsec: pulumi.Bool(false),
TimestampsDebugDatetimeShowTimezone: pulumi.Bool(false),
TimestampsDebugDatetimeYear: pulumi.Bool(false),
TimestampsDebugUptime: pulumi.Bool(false),
TimestampsLog: pulumi.Bool(false),
TimestampsLogDatetime: pulumi.Bool(false),
TimestampsLogDatetimeLocaltime: pulumi.Bool(false),
TimestampsLogDatetimeMsec: pulumi.Bool(false),
TimestampsLogDatetimeShowTimezone: pulumi.Bool(false),
TimestampsLogDatetimeYear: pulumi.Bool(false),
TimestampsLogUptime: pulumi.Bool(false),
})
var serviceResource = new Service("serviceResource", ServiceArgs.builder()
.callHome(false)
.compressConfig(false)
.device("string")
.dhcp(false)
.pad(false)
.passwordEncryption(false)
.passwordRecovery(false)
.sequenceNumbers(false)
.tcpKeepalivesIn(false)
.tcpKeepalivesOut(false)
.timestamps(false)
.timestampsDebug(false)
.timestampsDebugDatetime(false)
.timestampsDebugDatetimeLocaltime(false)
.timestampsDebugDatetimeMsec(false)
.timestampsDebugDatetimeShowTimezone(false)
.timestampsDebugDatetimeYear(false)
.timestampsDebugUptime(false)
.timestampsLog(false)
.timestampsLogDatetime(false)
.timestampsLogDatetimeLocaltime(false)
.timestampsLogDatetimeMsec(false)
.timestampsLogDatetimeShowTimezone(false)
.timestampsLogDatetimeYear(false)
.timestampsLogUptime(false)
.build());
service_resource = iosxe.Service("serviceResource",
call_home=False,
compress_config=False,
device="string",
dhcp=False,
pad=False,
password_encryption=False,
password_recovery=False,
sequence_numbers=False,
tcp_keepalives_in=False,
tcp_keepalives_out=False,
timestamps=False,
timestamps_debug=False,
timestamps_debug_datetime=False,
timestamps_debug_datetime_localtime=False,
timestamps_debug_datetime_msec=False,
timestamps_debug_datetime_show_timezone=False,
timestamps_debug_datetime_year=False,
timestamps_debug_uptime=False,
timestamps_log=False,
timestamps_log_datetime=False,
timestamps_log_datetime_localtime=False,
timestamps_log_datetime_msec=False,
timestamps_log_datetime_show_timezone=False,
timestamps_log_datetime_year=False,
timestamps_log_uptime=False)
const serviceResource = new iosxe.Service("serviceResource", {
callHome: false,
compressConfig: false,
device: "string",
dhcp: false,
pad: false,
passwordEncryption: false,
passwordRecovery: false,
sequenceNumbers: false,
tcpKeepalivesIn: false,
tcpKeepalivesOut: false,
timestamps: false,
timestampsDebug: false,
timestampsDebugDatetime: false,
timestampsDebugDatetimeLocaltime: false,
timestampsDebugDatetimeMsec: false,
timestampsDebugDatetimeShowTimezone: false,
timestampsDebugDatetimeYear: false,
timestampsDebugUptime: false,
timestampsLog: false,
timestampsLogDatetime: false,
timestampsLogDatetimeLocaltime: false,
timestampsLogDatetimeMsec: false,
timestampsLogDatetimeShowTimezone: false,
timestampsLogDatetimeYear: false,
timestampsLogUptime: false,
});
type: iosxe:Service
properties:
callHome: false
compressConfig: false
device: string
dhcp: false
pad: false
passwordEncryption: false
passwordRecovery: false
sequenceNumbers: false
tcpKeepalivesIn: false
tcpKeepalivesOut: false
timestamps: false
timestampsDebug: false
timestampsDebugDatetime: false
timestampsDebugDatetimeLocaltime: false
timestampsDebugDatetimeMsec: false
timestampsDebugDatetimeShowTimezone: false
timestampsDebugDatetimeYear: false
timestampsDebugUptime: false
timestampsLog: false
timestampsLogDatetime: false
timestampsLogDatetimeLocaltime: false
timestampsLogDatetimeMsec: false
timestampsLogDatetimeShowTimezone: false
timestampsLogDatetimeYear: false
timestampsLogUptime: false
Service Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Service resource accepts the following input properties:
- Call
Home bool - Enable call-home service
- Compress
Config bool - Compress the configuration file
- Device string
- A device name from the provider configuration.
- Dhcp bool
- Enable DHCP server and relay agent
- Pad bool
- Enable PAD commands
- Password
Encryption bool - Encrypt system passwords
- Password
Recovery bool - Enable password recovery
- Sequence
Numbers bool - Stamp logger messages with a sequence number
- Tcp
Keepalives boolIn - Generate keepalives on idle incoming network connections
- Tcp
Keepalives boolOut - Generate keepalives on idle outgoing network connections
- Timestamps bool
- Timestamp debug/log messages
- Timestamps
Debug bool - Timestamp debug messages
- Timestamps
Debug boolDatetime - Timestamp with date and time
- Timestamps
Debug boolDatetime Localtime - Use local time zone for timestamps
- Timestamps
Debug boolDatetime Msec - Include milliseconds in timestamp
- Timestamps
Debug boolDatetime Show Timezone - Add time zone information to timestamp
- Timestamps
Debug boolDatetime Year - Include year in timestamp
- Timestamps
Debug boolUptime - Timestamp with system uptime
- Timestamps
Log bool - Timestamp log messages
- Timestamps
Log boolDatetime - Timestamp with date and time
- Timestamps
Log boolDatetime Localtime - Use local time zone for timestamps
- Timestamps
Log boolDatetime Msec - Include milliseconds in timestamp
- Timestamps
Log boolDatetime Show Timezone - Add time zone information to timestamp
- Timestamps
Log boolDatetime Year - Include year in timestamp
- Timestamps
Log boolUptime - Timestamp with system uptime
- Call
Home bool - Enable call-home service
- Compress
Config bool - Compress the configuration file
- Device string
- A device name from the provider configuration.
- Dhcp bool
- Enable DHCP server and relay agent
- Pad bool
- Enable PAD commands
- Password
Encryption bool - Encrypt system passwords
- Password
Recovery bool - Enable password recovery
- Sequence
Numbers bool - Stamp logger messages with a sequence number
- Tcp
Keepalives boolIn - Generate keepalives on idle incoming network connections
- Tcp
Keepalives boolOut - Generate keepalives on idle outgoing network connections
- Timestamps bool
- Timestamp debug/log messages
- Timestamps
Debug bool - Timestamp debug messages
- Timestamps
Debug boolDatetime - Timestamp with date and time
- Timestamps
Debug boolDatetime Localtime - Use local time zone for timestamps
- Timestamps
Debug boolDatetime Msec - Include milliseconds in timestamp
- Timestamps
Debug boolDatetime Show Timezone - Add time zone information to timestamp
- Timestamps
Debug boolDatetime Year - Include year in timestamp
- Timestamps
Debug boolUptime - Timestamp with system uptime
- Timestamps
Log bool - Timestamp log messages
- Timestamps
Log boolDatetime - Timestamp with date and time
- Timestamps
Log boolDatetime Localtime - Use local time zone for timestamps
- Timestamps
Log boolDatetime Msec - Include milliseconds in timestamp
- Timestamps
Log boolDatetime Show Timezone - Add time zone information to timestamp
- Timestamps
Log boolDatetime Year - Include year in timestamp
- Timestamps
Log boolUptime - Timestamp with system uptime
- call
Home Boolean - Enable call-home service
- compress
Config Boolean - Compress the configuration file
- device String
- A device name from the provider configuration.
- dhcp Boolean
- Enable DHCP server and relay agent
- pad Boolean
- Enable PAD commands
- password
Encryption Boolean - Encrypt system passwords
- password
Recovery Boolean - Enable password recovery
- sequence
Numbers Boolean - Stamp logger messages with a sequence number
- tcp
Keepalives BooleanIn - Generate keepalives on idle incoming network connections
- tcp
Keepalives BooleanOut - Generate keepalives on idle outgoing network connections
- timestamps Boolean
- Timestamp debug/log messages
- timestamps
Debug Boolean - Timestamp debug messages
- timestamps
Debug BooleanDatetime - Timestamp with date and time
- timestamps
Debug BooleanDatetime Localtime - Use local time zone for timestamps
- timestamps
Debug BooleanDatetime Msec - Include milliseconds in timestamp
- timestamps
Debug BooleanDatetime Show Timezone - Add time zone information to timestamp
- timestamps
Debug BooleanDatetime Year - Include year in timestamp
- timestamps
Debug BooleanUptime - Timestamp with system uptime
- timestamps
Log Boolean - Timestamp log messages
- timestamps
Log BooleanDatetime - Timestamp with date and time
- timestamps
Log BooleanDatetime Localtime - Use local time zone for timestamps
- timestamps
Log BooleanDatetime Msec - Include milliseconds in timestamp
- timestamps
Log BooleanDatetime Show Timezone - Add time zone information to timestamp
- timestamps
Log BooleanDatetime Year - Include year in timestamp
- timestamps
Log BooleanUptime - Timestamp with system uptime
- call
Home boolean - Enable call-home service
- compress
Config boolean - Compress the configuration file
- device string
- A device name from the provider configuration.
- dhcp boolean
- Enable DHCP server and relay agent
- pad boolean
- Enable PAD commands
- password
Encryption boolean - Encrypt system passwords
- password
Recovery boolean - Enable password recovery
- sequence
Numbers boolean - Stamp logger messages with a sequence number
- tcp
Keepalives booleanIn - Generate keepalives on idle incoming network connections
- tcp
Keepalives booleanOut - Generate keepalives on idle outgoing network connections
- timestamps boolean
- Timestamp debug/log messages
- timestamps
Debug boolean - Timestamp debug messages
- timestamps
Debug booleanDatetime - Timestamp with date and time
- timestamps
Debug booleanDatetime Localtime - Use local time zone for timestamps
- timestamps
Debug booleanDatetime Msec - Include milliseconds in timestamp
- timestamps
Debug booleanDatetime Show Timezone - Add time zone information to timestamp
- timestamps
Debug booleanDatetime Year - Include year in timestamp
- timestamps
Debug booleanUptime - Timestamp with system uptime
- timestamps
Log boolean - Timestamp log messages
- timestamps
Log booleanDatetime - Timestamp with date and time
- timestamps
Log booleanDatetime Localtime - Use local time zone for timestamps
- timestamps
Log booleanDatetime Msec - Include milliseconds in timestamp
- timestamps
Log booleanDatetime Show Timezone - Add time zone information to timestamp
- timestamps
Log booleanDatetime Year - Include year in timestamp
- timestamps
Log booleanUptime - Timestamp with system uptime
- call_
home bool - Enable call-home service
- compress_
config bool - Compress the configuration file
- device str
- A device name from the provider configuration.
- dhcp bool
- Enable DHCP server and relay agent
- pad bool
- Enable PAD commands
- password_
encryption bool - Encrypt system passwords
- password_
recovery bool - Enable password recovery
- sequence_
numbers bool - Stamp logger messages with a sequence number
- tcp_
keepalives_ boolin - Generate keepalives on idle incoming network connections
- tcp_
keepalives_ boolout - Generate keepalives on idle outgoing network connections
- timestamps bool
- Timestamp debug/log messages
- timestamps_
debug bool - Timestamp debug messages
- timestamps_
debug_ booldatetime - Timestamp with date and time
- timestamps_
debug_ booldatetime_ localtime - Use local time zone for timestamps
- timestamps_
debug_ booldatetime_ msec - Include milliseconds in timestamp
- timestamps_
debug_ booldatetime_ show_ timezone - Add time zone information to timestamp
- timestamps_
debug_ booldatetime_ year - Include year in timestamp
- timestamps_
debug_ booluptime - Timestamp with system uptime
- timestamps_
log bool - Timestamp log messages
- timestamps_
log_ booldatetime - Timestamp with date and time
- timestamps_
log_ booldatetime_ localtime - Use local time zone for timestamps
- timestamps_
log_ booldatetime_ msec - Include milliseconds in timestamp
- timestamps_
log_ booldatetime_ show_ timezone - Add time zone information to timestamp
- timestamps_
log_ booldatetime_ year - Include year in timestamp
- timestamps_
log_ booluptime - Timestamp with system uptime
- call
Home Boolean - Enable call-home service
- compress
Config Boolean - Compress the configuration file
- device String
- A device name from the provider configuration.
- dhcp Boolean
- Enable DHCP server and relay agent
- pad Boolean
- Enable PAD commands
- password
Encryption Boolean - Encrypt system passwords
- password
Recovery Boolean - Enable password recovery
- sequence
Numbers Boolean - Stamp logger messages with a sequence number
- tcp
Keepalives BooleanIn - Generate keepalives on idle incoming network connections
- tcp
Keepalives BooleanOut - Generate keepalives on idle outgoing network connections
- timestamps Boolean
- Timestamp debug/log messages
- timestamps
Debug Boolean - Timestamp debug messages
- timestamps
Debug BooleanDatetime - Timestamp with date and time
- timestamps
Debug BooleanDatetime Localtime - Use local time zone for timestamps
- timestamps
Debug BooleanDatetime Msec - Include milliseconds in timestamp
- timestamps
Debug BooleanDatetime Show Timezone - Add time zone information to timestamp
- timestamps
Debug BooleanDatetime Year - Include year in timestamp
- timestamps
Debug BooleanUptime - Timestamp with system uptime
- timestamps
Log Boolean - Timestamp log messages
- timestamps
Log BooleanDatetime - Timestamp with date and time
- timestamps
Log BooleanDatetime Localtime - Use local time zone for timestamps
- timestamps
Log BooleanDatetime Msec - Include milliseconds in timestamp
- timestamps
Log BooleanDatetime Show Timezone - Add time zone information to timestamp
- timestamps
Log BooleanDatetime Year - Include year in timestamp
- timestamps
Log BooleanUptime - Timestamp with system uptime
Outputs
All input properties are implicitly available as output properties. Additionally, the Service resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Service Resource
Get an existing Service 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?: ServiceState, opts?: CustomResourceOptions): Service
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
call_home: Optional[bool] = None,
compress_config: Optional[bool] = None,
device: Optional[str] = None,
dhcp: Optional[bool] = None,
pad: Optional[bool] = None,
password_encryption: Optional[bool] = None,
password_recovery: Optional[bool] = None,
sequence_numbers: Optional[bool] = None,
tcp_keepalives_in: Optional[bool] = None,
tcp_keepalives_out: Optional[bool] = None,
timestamps: Optional[bool] = None,
timestamps_debug: Optional[bool] = None,
timestamps_debug_datetime: Optional[bool] = None,
timestamps_debug_datetime_localtime: Optional[bool] = None,
timestamps_debug_datetime_msec: Optional[bool] = None,
timestamps_debug_datetime_show_timezone: Optional[bool] = None,
timestamps_debug_datetime_year: Optional[bool] = None,
timestamps_debug_uptime: Optional[bool] = None,
timestamps_log: Optional[bool] = None,
timestamps_log_datetime: Optional[bool] = None,
timestamps_log_datetime_localtime: Optional[bool] = None,
timestamps_log_datetime_msec: Optional[bool] = None,
timestamps_log_datetime_show_timezone: Optional[bool] = None,
timestamps_log_datetime_year: Optional[bool] = None,
timestamps_log_uptime: Optional[bool] = None) -> Service
func GetService(ctx *Context, name string, id IDInput, state *ServiceState, opts ...ResourceOption) (*Service, error)
public static Service Get(string name, Input<string> id, ServiceState? state, CustomResourceOptions? opts = null)
public static Service get(String name, Output<String> id, ServiceState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Call
Home bool - Enable call-home service
- Compress
Config bool - Compress the configuration file
- Device string
- A device name from the provider configuration.
- Dhcp bool
- Enable DHCP server and relay agent
- Pad bool
- Enable PAD commands
- Password
Encryption bool - Encrypt system passwords
- Password
Recovery bool - Enable password recovery
- Sequence
Numbers bool - Stamp logger messages with a sequence number
- Tcp
Keepalives boolIn - Generate keepalives on idle incoming network connections
- Tcp
Keepalives boolOut - Generate keepalives on idle outgoing network connections
- Timestamps bool
- Timestamp debug/log messages
- Timestamps
Debug bool - Timestamp debug messages
- Timestamps
Debug boolDatetime - Timestamp with date and time
- Timestamps
Debug boolDatetime Localtime - Use local time zone for timestamps
- Timestamps
Debug boolDatetime Msec - Include milliseconds in timestamp
- Timestamps
Debug boolDatetime Show Timezone - Add time zone information to timestamp
- Timestamps
Debug boolDatetime Year - Include year in timestamp
- Timestamps
Debug boolUptime - Timestamp with system uptime
- Timestamps
Log bool - Timestamp log messages
- Timestamps
Log boolDatetime - Timestamp with date and time
- Timestamps
Log boolDatetime Localtime - Use local time zone for timestamps
- Timestamps
Log boolDatetime Msec - Include milliseconds in timestamp
- Timestamps
Log boolDatetime Show Timezone - Add time zone information to timestamp
- Timestamps
Log boolDatetime Year - Include year in timestamp
- Timestamps
Log boolUptime - Timestamp with system uptime
- Call
Home bool - Enable call-home service
- Compress
Config bool - Compress the configuration file
- Device string
- A device name from the provider configuration.
- Dhcp bool
- Enable DHCP server and relay agent
- Pad bool
- Enable PAD commands
- Password
Encryption bool - Encrypt system passwords
- Password
Recovery bool - Enable password recovery
- Sequence
Numbers bool - Stamp logger messages with a sequence number
- Tcp
Keepalives boolIn - Generate keepalives on idle incoming network connections
- Tcp
Keepalives boolOut - Generate keepalives on idle outgoing network connections
- Timestamps bool
- Timestamp debug/log messages
- Timestamps
Debug bool - Timestamp debug messages
- Timestamps
Debug boolDatetime - Timestamp with date and time
- Timestamps
Debug boolDatetime Localtime - Use local time zone for timestamps
- Timestamps
Debug boolDatetime Msec - Include milliseconds in timestamp
- Timestamps
Debug boolDatetime Show Timezone - Add time zone information to timestamp
- Timestamps
Debug boolDatetime Year - Include year in timestamp
- Timestamps
Debug boolUptime - Timestamp with system uptime
- Timestamps
Log bool - Timestamp log messages
- Timestamps
Log boolDatetime - Timestamp with date and time
- Timestamps
Log boolDatetime Localtime - Use local time zone for timestamps
- Timestamps
Log boolDatetime Msec - Include milliseconds in timestamp
- Timestamps
Log boolDatetime Show Timezone - Add time zone information to timestamp
- Timestamps
Log boolDatetime Year - Include year in timestamp
- Timestamps
Log boolUptime - Timestamp with system uptime
- call
Home Boolean - Enable call-home service
- compress
Config Boolean - Compress the configuration file
- device String
- A device name from the provider configuration.
- dhcp Boolean
- Enable DHCP server and relay agent
- pad Boolean
- Enable PAD commands
- password
Encryption Boolean - Encrypt system passwords
- password
Recovery Boolean - Enable password recovery
- sequence
Numbers Boolean - Stamp logger messages with a sequence number
- tcp
Keepalives BooleanIn - Generate keepalives on idle incoming network connections
- tcp
Keepalives BooleanOut - Generate keepalives on idle outgoing network connections
- timestamps Boolean
- Timestamp debug/log messages
- timestamps
Debug Boolean - Timestamp debug messages
- timestamps
Debug BooleanDatetime - Timestamp with date and time
- timestamps
Debug BooleanDatetime Localtime - Use local time zone for timestamps
- timestamps
Debug BooleanDatetime Msec - Include milliseconds in timestamp
- timestamps
Debug BooleanDatetime Show Timezone - Add time zone information to timestamp
- timestamps
Debug BooleanDatetime Year - Include year in timestamp
- timestamps
Debug BooleanUptime - Timestamp with system uptime
- timestamps
Log Boolean - Timestamp log messages
- timestamps
Log BooleanDatetime - Timestamp with date and time
- timestamps
Log BooleanDatetime Localtime - Use local time zone for timestamps
- timestamps
Log BooleanDatetime Msec - Include milliseconds in timestamp
- timestamps
Log BooleanDatetime Show Timezone - Add time zone information to timestamp
- timestamps
Log BooleanDatetime Year - Include year in timestamp
- timestamps
Log BooleanUptime - Timestamp with system uptime
- call
Home boolean - Enable call-home service
- compress
Config boolean - Compress the configuration file
- device string
- A device name from the provider configuration.
- dhcp boolean
- Enable DHCP server and relay agent
- pad boolean
- Enable PAD commands
- password
Encryption boolean - Encrypt system passwords
- password
Recovery boolean - Enable password recovery
- sequence
Numbers boolean - Stamp logger messages with a sequence number
- tcp
Keepalives booleanIn - Generate keepalives on idle incoming network connections
- tcp
Keepalives booleanOut - Generate keepalives on idle outgoing network connections
- timestamps boolean
- Timestamp debug/log messages
- timestamps
Debug boolean - Timestamp debug messages
- timestamps
Debug booleanDatetime - Timestamp with date and time
- timestamps
Debug booleanDatetime Localtime - Use local time zone for timestamps
- timestamps
Debug booleanDatetime Msec - Include milliseconds in timestamp
- timestamps
Debug booleanDatetime Show Timezone - Add time zone information to timestamp
- timestamps
Debug booleanDatetime Year - Include year in timestamp
- timestamps
Debug booleanUptime - Timestamp with system uptime
- timestamps
Log boolean - Timestamp log messages
- timestamps
Log booleanDatetime - Timestamp with date and time
- timestamps
Log booleanDatetime Localtime - Use local time zone for timestamps
- timestamps
Log booleanDatetime Msec - Include milliseconds in timestamp
- timestamps
Log booleanDatetime Show Timezone - Add time zone information to timestamp
- timestamps
Log booleanDatetime Year - Include year in timestamp
- timestamps
Log booleanUptime - Timestamp with system uptime
- call_
home bool - Enable call-home service
- compress_
config bool - Compress the configuration file
- device str
- A device name from the provider configuration.
- dhcp bool
- Enable DHCP server and relay agent
- pad bool
- Enable PAD commands
- password_
encryption bool - Encrypt system passwords
- password_
recovery bool - Enable password recovery
- sequence_
numbers bool - Stamp logger messages with a sequence number
- tcp_
keepalives_ boolin - Generate keepalives on idle incoming network connections
- tcp_
keepalives_ boolout - Generate keepalives on idle outgoing network connections
- timestamps bool
- Timestamp debug/log messages
- timestamps_
debug bool - Timestamp debug messages
- timestamps_
debug_ booldatetime - Timestamp with date and time
- timestamps_
debug_ booldatetime_ localtime - Use local time zone for timestamps
- timestamps_
debug_ booldatetime_ msec - Include milliseconds in timestamp
- timestamps_
debug_ booldatetime_ show_ timezone - Add time zone information to timestamp
- timestamps_
debug_ booldatetime_ year - Include year in timestamp
- timestamps_
debug_ booluptime - Timestamp with system uptime
- timestamps_
log bool - Timestamp log messages
- timestamps_
log_ booldatetime - Timestamp with date and time
- timestamps_
log_ booldatetime_ localtime - Use local time zone for timestamps
- timestamps_
log_ booldatetime_ msec - Include milliseconds in timestamp
- timestamps_
log_ booldatetime_ show_ timezone - Add time zone information to timestamp
- timestamps_
log_ booldatetime_ year - Include year in timestamp
- timestamps_
log_ booluptime - Timestamp with system uptime
- call
Home Boolean - Enable call-home service
- compress
Config Boolean - Compress the configuration file
- device String
- A device name from the provider configuration.
- dhcp Boolean
- Enable DHCP server and relay agent
- pad Boolean
- Enable PAD commands
- password
Encryption Boolean - Encrypt system passwords
- password
Recovery Boolean - Enable password recovery
- sequence
Numbers Boolean - Stamp logger messages with a sequence number
- tcp
Keepalives BooleanIn - Generate keepalives on idle incoming network connections
- tcp
Keepalives BooleanOut - Generate keepalives on idle outgoing network connections
- timestamps Boolean
- Timestamp debug/log messages
- timestamps
Debug Boolean - Timestamp debug messages
- timestamps
Debug BooleanDatetime - Timestamp with date and time
- timestamps
Debug BooleanDatetime Localtime - Use local time zone for timestamps
- timestamps
Debug BooleanDatetime Msec - Include milliseconds in timestamp
- timestamps
Debug BooleanDatetime Show Timezone - Add time zone information to timestamp
- timestamps
Debug BooleanDatetime Year - Include year in timestamp
- timestamps
Debug BooleanUptime - Timestamp with system uptime
- timestamps
Log Boolean - Timestamp log messages
- timestamps
Log BooleanDatetime - Timestamp with date and time
- timestamps
Log BooleanDatetime Localtime - Use local time zone for timestamps
- timestamps
Log BooleanDatetime Msec - Include milliseconds in timestamp
- timestamps
Log BooleanDatetime Show Timezone - Add time zone information to timestamp
- timestamps
Log BooleanDatetime Year - Include year in timestamp
- timestamps
Log BooleanUptime - Timestamp with system uptime
Import
$ pulumi import iosxe:index/service:Service example "Cisco-IOS-XE-native:native/service"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- iosxe lbrlabs/pulumi-iosxe
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
iosxe
Terraform Provider.