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 * 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,
});
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)
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Service resource accepts the following input properties:
- CallHome bool
- Enable call-home service
- CompressConfig 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
- PasswordEncryption bool
- Encrypt system passwords
- PasswordRecovery bool
- Enable password recovery
- SequenceNumbers bool
- Stamp logger messages with a sequence number
- TcpKeepalives boolIn 
- Generate keepalives on idle incoming network connections
- TcpKeepalives boolOut 
- Generate keepalives on idle outgoing network connections
- Timestamps bool
- Timestamp debug/log messages
- TimestampsDebug bool
- Timestamp debug messages
- TimestampsDebug boolDatetime 
- Timestamp with date and time
- TimestampsDebug boolDatetime Localtime 
- Use local time zone for timestamps
- TimestampsDebug boolDatetime Msec 
- Include milliseconds in timestamp
- TimestampsDebug boolDatetime Show Timezone 
- Add time zone information to timestamp
- TimestampsDebug boolDatetime Year 
- Include year in timestamp
- TimestampsDebug boolUptime 
- Timestamp with system uptime
- TimestampsLog bool
- Timestamp log messages
- TimestampsLog boolDatetime 
- Timestamp with date and time
- TimestampsLog boolDatetime Localtime 
- Use local time zone for timestamps
- TimestampsLog boolDatetime Msec 
- Include milliseconds in timestamp
- TimestampsLog boolDatetime Show Timezone 
- Add time zone information to timestamp
- TimestampsLog boolDatetime Year 
- Include year in timestamp
- TimestampsLog boolUptime 
- Timestamp with system uptime
- CallHome bool
- Enable call-home service
- CompressConfig 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
- PasswordEncryption bool
- Encrypt system passwords
- PasswordRecovery bool
- Enable password recovery
- SequenceNumbers bool
- Stamp logger messages with a sequence number
- TcpKeepalives boolIn 
- Generate keepalives on idle incoming network connections
- TcpKeepalives boolOut 
- Generate keepalives on idle outgoing network connections
- Timestamps bool
- Timestamp debug/log messages
- TimestampsDebug bool
- Timestamp debug messages
- TimestampsDebug boolDatetime 
- Timestamp with date and time
- TimestampsDebug boolDatetime Localtime 
- Use local time zone for timestamps
- TimestampsDebug boolDatetime Msec 
- Include milliseconds in timestamp
- TimestampsDebug boolDatetime Show Timezone 
- Add time zone information to timestamp
- TimestampsDebug boolDatetime Year 
- Include year in timestamp
- TimestampsDebug boolUptime 
- Timestamp with system uptime
- TimestampsLog bool
- Timestamp log messages
- TimestampsLog boolDatetime 
- Timestamp with date and time
- TimestampsLog boolDatetime Localtime 
- Use local time zone for timestamps
- TimestampsLog boolDatetime Msec 
- Include milliseconds in timestamp
- TimestampsLog boolDatetime Show Timezone 
- Add time zone information to timestamp
- TimestampsLog boolDatetime Year 
- Include year in timestamp
- TimestampsLog boolUptime 
- Timestamp with system uptime
- callHome Boolean
- Enable call-home service
- compressConfig 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
- passwordEncryption Boolean
- Encrypt system passwords
- passwordRecovery Boolean
- Enable password recovery
- sequenceNumbers Boolean
- Stamp logger messages with a sequence number
- tcpKeepalives BooleanIn 
- Generate keepalives on idle incoming network connections
- tcpKeepalives BooleanOut 
- Generate keepalives on idle outgoing network connections
- timestamps Boolean
- Timestamp debug/log messages
- timestampsDebug Boolean
- Timestamp debug messages
- timestampsDebug BooleanDatetime 
- Timestamp with date and time
- timestampsDebug BooleanDatetime Localtime 
- Use local time zone for timestamps
- timestampsDebug BooleanDatetime Msec 
- Include milliseconds in timestamp
- timestampsDebug BooleanDatetime Show Timezone 
- Add time zone information to timestamp
- timestampsDebug BooleanDatetime Year 
- Include year in timestamp
- timestampsDebug BooleanUptime 
- Timestamp with system uptime
- timestampsLog Boolean
- Timestamp log messages
- timestampsLog BooleanDatetime 
- Timestamp with date and time
- timestampsLog BooleanDatetime Localtime 
- Use local time zone for timestamps
- timestampsLog BooleanDatetime Msec 
- Include milliseconds in timestamp
- timestampsLog BooleanDatetime Show Timezone 
- Add time zone information to timestamp
- timestampsLog BooleanDatetime Year 
- Include year in timestamp
- timestampsLog BooleanUptime 
- Timestamp with system uptime
- callHome boolean
- Enable call-home service
- compressConfig 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
- passwordEncryption boolean
- Encrypt system passwords
- passwordRecovery boolean
- Enable password recovery
- sequenceNumbers boolean
- Stamp logger messages with a sequence number
- tcpKeepalives booleanIn 
- Generate keepalives on idle incoming network connections
- tcpKeepalives booleanOut 
- Generate keepalives on idle outgoing network connections
- timestamps boolean
- Timestamp debug/log messages
- timestampsDebug boolean
- Timestamp debug messages
- timestampsDebug booleanDatetime 
- Timestamp with date and time
- timestampsDebug booleanDatetime Localtime 
- Use local time zone for timestamps
- timestampsDebug booleanDatetime Msec 
- Include milliseconds in timestamp
- timestampsDebug booleanDatetime Show Timezone 
- Add time zone information to timestamp
- timestampsDebug booleanDatetime Year 
- Include year in timestamp
- timestampsDebug booleanUptime 
- Timestamp with system uptime
- timestampsLog boolean
- Timestamp log messages
- timestampsLog booleanDatetime 
- Timestamp with date and time
- timestampsLog booleanDatetime Localtime 
- Use local time zone for timestamps
- timestampsLog booleanDatetime Msec 
- Include milliseconds in timestamp
- timestampsLog booleanDatetime Show Timezone 
- Add time zone information to timestamp
- timestampsLog booleanDatetime Year 
- Include year in timestamp
- timestampsLog 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
- callHome Boolean
- Enable call-home service
- compressConfig 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
- passwordEncryption Boolean
- Encrypt system passwords
- passwordRecovery Boolean
- Enable password recovery
- sequenceNumbers Boolean
- Stamp logger messages with a sequence number
- tcpKeepalives BooleanIn 
- Generate keepalives on idle incoming network connections
- tcpKeepalives BooleanOut 
- Generate keepalives on idle outgoing network connections
- timestamps Boolean
- Timestamp debug/log messages
- timestampsDebug Boolean
- Timestamp debug messages
- timestampsDebug BooleanDatetime 
- Timestamp with date and time
- timestampsDebug BooleanDatetime Localtime 
- Use local time zone for timestamps
- timestampsDebug BooleanDatetime Msec 
- Include milliseconds in timestamp
- timestampsDebug BooleanDatetime Show Timezone 
- Add time zone information to timestamp
- timestampsDebug BooleanDatetime Year 
- Include year in timestamp
- timestampsDebug BooleanUptime 
- Timestamp with system uptime
- timestampsLog Boolean
- Timestamp log messages
- timestampsLog BooleanDatetime 
- Timestamp with date and time
- timestampsLog BooleanDatetime Localtime 
- Use local time zone for timestamps
- timestampsLog BooleanDatetime Msec 
- Include milliseconds in timestamp
- timestampsLog BooleanDatetime Show Timezone 
- Add time zone information to timestamp
- timestampsLog BooleanDatetime Year 
- Include year in timestamp
- timestampsLog 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) -> Servicefunc 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)resources:  _:    type: iosxe:Service    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.
- CallHome bool
- Enable call-home service
- CompressConfig 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
- PasswordEncryption bool
- Encrypt system passwords
- PasswordRecovery bool
- Enable password recovery
- SequenceNumbers bool
- Stamp logger messages with a sequence number
- TcpKeepalives boolIn 
- Generate keepalives on idle incoming network connections
- TcpKeepalives boolOut 
- Generate keepalives on idle outgoing network connections
- Timestamps bool
- Timestamp debug/log messages
- TimestampsDebug bool
- Timestamp debug messages
- TimestampsDebug boolDatetime 
- Timestamp with date and time
- TimestampsDebug boolDatetime Localtime 
- Use local time zone for timestamps
- TimestampsDebug boolDatetime Msec 
- Include milliseconds in timestamp
- TimestampsDebug boolDatetime Show Timezone 
- Add time zone information to timestamp
- TimestampsDebug boolDatetime Year 
- Include year in timestamp
- TimestampsDebug boolUptime 
- Timestamp with system uptime
- TimestampsLog bool
- Timestamp log messages
- TimestampsLog boolDatetime 
- Timestamp with date and time
- TimestampsLog boolDatetime Localtime 
- Use local time zone for timestamps
- TimestampsLog boolDatetime Msec 
- Include milliseconds in timestamp
- TimestampsLog boolDatetime Show Timezone 
- Add time zone information to timestamp
- TimestampsLog boolDatetime Year 
- Include year in timestamp
- TimestampsLog boolUptime 
- Timestamp with system uptime
- CallHome bool
- Enable call-home service
- CompressConfig 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
- PasswordEncryption bool
- Encrypt system passwords
- PasswordRecovery bool
- Enable password recovery
- SequenceNumbers bool
- Stamp logger messages with a sequence number
- TcpKeepalives boolIn 
- Generate keepalives on idle incoming network connections
- TcpKeepalives boolOut 
- Generate keepalives on idle outgoing network connections
- Timestamps bool
- Timestamp debug/log messages
- TimestampsDebug bool
- Timestamp debug messages
- TimestampsDebug boolDatetime 
- Timestamp with date and time
- TimestampsDebug boolDatetime Localtime 
- Use local time zone for timestamps
- TimestampsDebug boolDatetime Msec 
- Include milliseconds in timestamp
- TimestampsDebug boolDatetime Show Timezone 
- Add time zone information to timestamp
- TimestampsDebug boolDatetime Year 
- Include year in timestamp
- TimestampsDebug boolUptime 
- Timestamp with system uptime
- TimestampsLog bool
- Timestamp log messages
- TimestampsLog boolDatetime 
- Timestamp with date and time
- TimestampsLog boolDatetime Localtime 
- Use local time zone for timestamps
- TimestampsLog boolDatetime Msec 
- Include milliseconds in timestamp
- TimestampsLog boolDatetime Show Timezone 
- Add time zone information to timestamp
- TimestampsLog boolDatetime Year 
- Include year in timestamp
- TimestampsLog boolUptime 
- Timestamp with system uptime
- callHome Boolean
- Enable call-home service
- compressConfig 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
- passwordEncryption Boolean
- Encrypt system passwords
- passwordRecovery Boolean
- Enable password recovery
- sequenceNumbers Boolean
- Stamp logger messages with a sequence number
- tcpKeepalives BooleanIn 
- Generate keepalives on idle incoming network connections
- tcpKeepalives BooleanOut 
- Generate keepalives on idle outgoing network connections
- timestamps Boolean
- Timestamp debug/log messages
- timestampsDebug Boolean
- Timestamp debug messages
- timestampsDebug BooleanDatetime 
- Timestamp with date and time
- timestampsDebug BooleanDatetime Localtime 
- Use local time zone for timestamps
- timestampsDebug BooleanDatetime Msec 
- Include milliseconds in timestamp
- timestampsDebug BooleanDatetime Show Timezone 
- Add time zone information to timestamp
- timestampsDebug BooleanDatetime Year 
- Include year in timestamp
- timestampsDebug BooleanUptime 
- Timestamp with system uptime
- timestampsLog Boolean
- Timestamp log messages
- timestampsLog BooleanDatetime 
- Timestamp with date and time
- timestampsLog BooleanDatetime Localtime 
- Use local time zone for timestamps
- timestampsLog BooleanDatetime Msec 
- Include milliseconds in timestamp
- timestampsLog BooleanDatetime Show Timezone 
- Add time zone information to timestamp
- timestampsLog BooleanDatetime Year 
- Include year in timestamp
- timestampsLog BooleanUptime 
- Timestamp with system uptime
- callHome boolean
- Enable call-home service
- compressConfig 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
- passwordEncryption boolean
- Encrypt system passwords
- passwordRecovery boolean
- Enable password recovery
- sequenceNumbers boolean
- Stamp logger messages with a sequence number
- tcpKeepalives booleanIn 
- Generate keepalives on idle incoming network connections
- tcpKeepalives booleanOut 
- Generate keepalives on idle outgoing network connections
- timestamps boolean
- Timestamp debug/log messages
- timestampsDebug boolean
- Timestamp debug messages
- timestampsDebug booleanDatetime 
- Timestamp with date and time
- timestampsDebug booleanDatetime Localtime 
- Use local time zone for timestamps
- timestampsDebug booleanDatetime Msec 
- Include milliseconds in timestamp
- timestampsDebug booleanDatetime Show Timezone 
- Add time zone information to timestamp
- timestampsDebug booleanDatetime Year 
- Include year in timestamp
- timestampsDebug booleanUptime 
- Timestamp with system uptime
- timestampsLog boolean
- Timestamp log messages
- timestampsLog booleanDatetime 
- Timestamp with date and time
- timestampsLog booleanDatetime Localtime 
- Use local time zone for timestamps
- timestampsLog booleanDatetime Msec 
- Include milliseconds in timestamp
- timestampsLog booleanDatetime Show Timezone 
- Add time zone information to timestamp
- timestampsLog booleanDatetime Year 
- Include year in timestamp
- timestampsLog 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
- callHome Boolean
- Enable call-home service
- compressConfig 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
- passwordEncryption Boolean
- Encrypt system passwords
- passwordRecovery Boolean
- Enable password recovery
- sequenceNumbers Boolean
- Stamp logger messages with a sequence number
- tcpKeepalives BooleanIn 
- Generate keepalives on idle incoming network connections
- tcpKeepalives BooleanOut 
- Generate keepalives on idle outgoing network connections
- timestamps Boolean
- Timestamp debug/log messages
- timestampsDebug Boolean
- Timestamp debug messages
- timestampsDebug BooleanDatetime 
- Timestamp with date and time
- timestampsDebug BooleanDatetime Localtime 
- Use local time zone for timestamps
- timestampsDebug BooleanDatetime Msec 
- Include milliseconds in timestamp
- timestampsDebug BooleanDatetime Show Timezone 
- Add time zone information to timestamp
- timestampsDebug BooleanDatetime Year 
- Include year in timestamp
- timestampsDebug BooleanUptime 
- Timestamp with system uptime
- timestampsLog Boolean
- Timestamp log messages
- timestampsLog BooleanDatetime 
- Timestamp with date and time
- timestampsLog BooleanDatetime Localtime 
- Use local time zone for timestamps
- timestampsLog BooleanDatetime Msec 
- Include milliseconds in timestamp
- timestampsLog BooleanDatetime Show Timezone 
- Add time zone information to timestamp
- timestampsLog BooleanDatetime Year 
- Include year in timestamp
- timestampsLog 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 iosxeTerraform Provider.