1. Packages
  2. Cisco IOS XE Resource Provider
  3. API Docs
  4. getDot1x
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs

iosxe.getDot1x

Explore with Pulumi AI

iosxe logo
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs

    This data source can read the Dot1x configuration.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Iosxe = Pulumi.Iosxe;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Iosxe.GetDot1x.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.LookupDot1x(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.GetDot1xArgs;
    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.getDot1x();
    
        }
    }
    
    import pulumi
    import pulumi_iosxe as iosxe
    
    example = iosxe.get_dot1x()
    
    import * as pulumi from "@pulumi/pulumi";
    import * as iosxe from "@pulumi/iosxe";
    
    const example = iosxe.getDot1x({});
    
    variables:
      example:
        fn::invoke:
          Function: iosxe:getDot1x
          Arguments: {}
    

    Using getDot1x

    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 getDot1x(args: GetDot1xArgs, opts?: InvokeOptions): Promise<GetDot1xResult>
    function getDot1xOutput(args: GetDot1xOutputArgs, opts?: InvokeOptions): Output<GetDot1xResult>
    def get_dot1x(device: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetDot1xResult
    def get_dot1x_output(device: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetDot1xResult]
    func LookupDot1x(ctx *Context, args *LookupDot1xArgs, opts ...InvokeOption) (*LookupDot1xResult, error)
    func LookupDot1xOutput(ctx *Context, args *LookupDot1xOutputArgs, opts ...InvokeOption) LookupDot1xResultOutput

    > Note: This function is named LookupDot1x in the Go SDK.

    public static class GetDot1x 
    {
        public static Task<GetDot1xResult> InvokeAsync(GetDot1xArgs args, InvokeOptions? opts = null)
        public static Output<GetDot1xResult> Invoke(GetDot1xInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDot1xResult> getDot1x(GetDot1xArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: iosxe:index/getDot1x:getDot1x
      arguments:
        # arguments dictionary

    The 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.

    getDot1x Result

    The following output properties are available:

    AuthFailEapol bool
    Send EAPOL-Success on successful auth-fail Authorization
    Credentials List<Lbrlabs.PulumiPackage.Iosxe.Outputs.GetDot1xCredential>
    Configure 802.1X credentials profiles
    CriticalEapolConfigBlock bool
    Block all EAPoL transaction on Critical Authentication
    CriticalRecoveryDelay int
    Set 802.1x Critical Authentication Recovery Delay period
    Id string
    The path of the retrieved object.
    LoggingVerbose bool
    Show verbose messages in system logs
    SupplicantControlledTransient bool
    Controlled access is only applied during authentication
    SupplicantForceMulticast bool
    Force 802.1X supplicant to send multicast packets
    SystemAuthControl bool
    Enable or Disable SysAuthControl
    TestTimeout int
    Timeout for device EAPOL capabilities test in seconds
    Device string
    A device name from the provider configuration.
    AuthFailEapol bool
    Send EAPOL-Success on successful auth-fail Authorization
    Credentials []GetDot1xCredential
    Configure 802.1X credentials profiles
    CriticalEapolConfigBlock bool
    Block all EAPoL transaction on Critical Authentication
    CriticalRecoveryDelay int
    Set 802.1x Critical Authentication Recovery Delay period
    Id string
    The path of the retrieved object.
    LoggingVerbose bool
    Show verbose messages in system logs
    SupplicantControlledTransient bool
    Controlled access is only applied during authentication
    SupplicantForceMulticast bool
    Force 802.1X supplicant to send multicast packets
    SystemAuthControl bool
    Enable or Disable SysAuthControl
    TestTimeout int
    Timeout for device EAPOL capabilities test in seconds
    Device string
    A device name from the provider configuration.
    authFailEapol Boolean
    Send EAPOL-Success on successful auth-fail Authorization
    credentials List<GetDot1xCredential>
    Configure 802.1X credentials profiles
    criticalEapolConfigBlock Boolean
    Block all EAPoL transaction on Critical Authentication
    criticalRecoveryDelay Integer
    Set 802.1x Critical Authentication Recovery Delay period
    id String
    The path of the retrieved object.
    loggingVerbose Boolean
    Show verbose messages in system logs
    supplicantControlledTransient Boolean
    Controlled access is only applied during authentication
    supplicantForceMulticast Boolean
    Force 802.1X supplicant to send multicast packets
    systemAuthControl Boolean
    Enable or Disable SysAuthControl
    testTimeout Integer
    Timeout for device EAPOL capabilities test in seconds
    device String
    A device name from the provider configuration.
    authFailEapol boolean
    Send EAPOL-Success on successful auth-fail Authorization
    credentials GetDot1xCredential[]
    Configure 802.1X credentials profiles
    criticalEapolConfigBlock boolean
    Block all EAPoL transaction on Critical Authentication
    criticalRecoveryDelay number
    Set 802.1x Critical Authentication Recovery Delay period
    id string
    The path of the retrieved object.
    loggingVerbose boolean
    Show verbose messages in system logs
    supplicantControlledTransient boolean
    Controlled access is only applied during authentication
    supplicantForceMulticast boolean
    Force 802.1X supplicant to send multicast packets
    systemAuthControl boolean
    Enable or Disable SysAuthControl
    testTimeout number
    Timeout for device EAPOL capabilities test in seconds
    device string
    A device name from the provider configuration.
    auth_fail_eapol bool
    Send EAPOL-Success on successful auth-fail Authorization
    credentials Sequence[GetDot1xCredential]
    Configure 802.1X credentials profiles
    critical_eapol_config_block bool
    Block all EAPoL transaction on Critical Authentication
    critical_recovery_delay int
    Set 802.1x Critical Authentication Recovery Delay period
    id str
    The path of the retrieved object.
    logging_verbose bool
    Show verbose messages in system logs
    supplicant_controlled_transient bool
    Controlled access is only applied during authentication
    supplicant_force_multicast bool
    Force 802.1X supplicant to send multicast packets
    system_auth_control bool
    Enable or Disable SysAuthControl
    test_timeout int
    Timeout for device EAPOL capabilities test in seconds
    device str
    A device name from the provider configuration.
    authFailEapol Boolean
    Send EAPOL-Success on successful auth-fail Authorization
    credentials List<Property Map>
    Configure 802.1X credentials profiles
    criticalEapolConfigBlock Boolean
    Block all EAPoL transaction on Critical Authentication
    criticalRecoveryDelay Number
    Set 802.1x Critical Authentication Recovery Delay period
    id String
    The path of the retrieved object.
    loggingVerbose Boolean
    Show verbose messages in system logs
    supplicantControlledTransient Boolean
    Controlled access is only applied during authentication
    supplicantForceMulticast Boolean
    Force 802.1X supplicant to send multicast packets
    systemAuthControl Boolean
    Enable or Disable SysAuthControl
    testTimeout Number
    Timeout for device EAPOL capabilities test in seconds
    device String
    A device name from the provider configuration.

    Supporting Types

    GetDot1xCredential

    AnonymousId string
    Set the anonymous userid
    Description string
    Provide a description for the credentials profile
    Password string
    PasswordType string
    PkiTrustpoint string
    Set the default pki trustpoint
    ProfileName string
    Specify a profile name
    Username string
    Set the authentication userid
    AnonymousId string
    Set the anonymous userid
    Description string
    Provide a description for the credentials profile
    Password string
    PasswordType string
    PkiTrustpoint string
    Set the default pki trustpoint
    ProfileName string
    Specify a profile name
    Username string
    Set the authentication userid
    anonymousId String
    Set the anonymous userid
    description String
    Provide a description for the credentials profile
    password String
    passwordType String
    pkiTrustpoint String
    Set the default pki trustpoint
    profileName String
    Specify a profile name
    username String
    Set the authentication userid
    anonymousId string
    Set the anonymous userid
    description string
    Provide a description for the credentials profile
    password string
    passwordType string
    pkiTrustpoint string
    Set the default pki trustpoint
    profileName string
    Specify a profile name
    username string
    Set the authentication userid
    anonymous_id str
    Set the anonymous userid
    description str
    Provide a description for the credentials profile
    password str
    password_type str
    pki_trustpoint str
    Set the default pki trustpoint
    profile_name str
    Specify a profile name
    username str
    Set the authentication userid
    anonymousId String
    Set the anonymous userid
    description String
    Provide a description for the credentials profile
    password String
    passwordType String
    pkiTrustpoint String
    Set the default pki trustpoint
    profileName String
    Specify a profile name
    username String
    Set the authentication userid

    Package Details

    Repository
    iosxe lbrlabs/pulumi-iosxe
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the iosxe Terraform Provider.
    iosxe logo
    Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs