Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs
iosxe.getService
Explore with Pulumi AI
This data source can read the Service configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Pulumi.Iosxe;
return await Deployment.RunAsync(() => 
{
    var example = Iosxe.GetService.Invoke();
});
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.LookupService(ctx, nil, nil)
		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.IosxeFunctions;
import com.pulumi.iosxe.inputs.GetServiceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var example = IosxeFunctions.getService();
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getService({});
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_service()
variables:
  example:
    fn::invoke:
      Function: iosxe:getService
      Arguments: {}
Using getService
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getService(args: GetServiceArgs, opts?: InvokeOptions): Promise<GetServiceResult>
function getServiceOutput(args: GetServiceOutputArgs, opts?: InvokeOptions): Output<GetServiceResult>def get_service(device: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetServiceResult
def get_service_output(device: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetServiceResult]func LookupService(ctx *Context, args *LookupServiceArgs, opts ...InvokeOption) (*LookupServiceResult, error)
func LookupServiceOutput(ctx *Context, args *LookupServiceOutputArgs, opts ...InvokeOption) LookupServiceResultOutput> Note: This function is named LookupService in the Go SDK.
public static class GetService 
{
    public static Task<GetServiceResult> InvokeAsync(GetServiceArgs args, InvokeOptions? opts = null)
    public static Output<GetServiceResult> Invoke(GetServiceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
public static Output<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
fn::invoke:
  function: iosxe:index/getService:getService
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Device string
- A device name from the provider configuration.
- Device string
- A device name from the provider configuration.
- device String
- A device name from the provider configuration.
- device string
- A device name from the provider configuration.
- device str
- A device name from the provider configuration.
- device String
- A device name from the provider configuration.
getService Result
The following output properties are available:
- CallHome bool
- Enable call-home service
- CompressConfig bool
- Compress the configuration file
- Dhcp bool
- Enable DHCP server and relay agent
- Id string
- The path of the retrieved object.
- 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
- Device string
- A device name from the provider configuration.
- CallHome bool
- Enable call-home service
- CompressConfig bool
- Compress the configuration file
- Dhcp bool
- Enable DHCP server and relay agent
- Id string
- The path of the retrieved object.
- 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
- Device string
- A device name from the provider configuration.
- callHome Boolean
- Enable call-home service
- compressConfig Boolean
- Compress the configuration file
- dhcp Boolean
- Enable DHCP server and relay agent
- id String
- The path of the retrieved object.
- 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
- device String
- A device name from the provider configuration.
- callHome boolean
- Enable call-home service
- compressConfig boolean
- Compress the configuration file
- dhcp boolean
- Enable DHCP server and relay agent
- id string
- The path of the retrieved object.
- 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
- device string
- A device name from the provider configuration.
- call_home bool
- Enable call-home service
- compress_config bool
- Compress the configuration file
- dhcp bool
- Enable DHCP server and relay agent
- id str
- The path of the retrieved object.
- 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
- device str
- A device name from the provider configuration.
- callHome Boolean
- Enable call-home service
- compressConfig Boolean
- Compress the configuration file
- dhcp Boolean
- Enable DHCP server and relay agent
- id String
- The path of the retrieved object.
- 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
- device String
- A device name from the provider configuration.
Package Details
- Repository
- iosxe lbrlabs/pulumi-iosxe
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the iosxeTerraform Provider.