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:
- Call
Home bool - Enable call-home service
 - Compress
Config 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
 - 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 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 string
 - 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 string
 - A device name from the provider configuration.
 
- call
Home Boolean - Enable call-home service
 - compress
Config 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
 - 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
 - device String
 - A device name from the provider configuration.
 
- call
Home boolean - Enable call-home service
 - compress
Config 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
 - 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
 - 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.
 
- call
Home Boolean - Enable call-home service
 - compress
Config 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
 - 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
 - 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.