Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs
iosxe.getDot1x
Explore with Pulumi AI
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 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.
 
getDot1x Result
The following output properties are available:
- Auth
Fail boolEapol  - Send EAPOL-Success on successful auth-fail Authorization
 - Credentials
List<Lbrlabs.
Pulumi Package. Iosxe. Outputs. Get Dot1x Credential>  - Configure 802.1X credentials profiles
 - Critical
Eapol boolConfig Block  - Block all EAPoL transaction on Critical Authentication
 - Critical
Recovery intDelay  - Set 802.1x Critical Authentication Recovery Delay period
 - Id string
 - The path of the retrieved object.
 - Logging
Verbose bool - Show verbose messages in system logs
 - Supplicant
Controlled boolTransient  - Controlled access is only applied during authentication
 - Supplicant
Force boolMulticast  - Force 802.1X supplicant to send multicast packets
 - System
Auth boolControl  - Enable or Disable SysAuthControl
 - Test
Timeout int - Timeout for device EAPOL capabilities test in seconds
 - Device string
 - A device name from the provider configuration.
 
- Auth
Fail boolEapol  - Send EAPOL-Success on successful auth-fail Authorization
 - Credentials
[]Get
Dot1x Credential  - Configure 802.1X credentials profiles
 - Critical
Eapol boolConfig Block  - Block all EAPoL transaction on Critical Authentication
 - Critical
Recovery intDelay  - Set 802.1x Critical Authentication Recovery Delay period
 - Id string
 - The path of the retrieved object.
 - Logging
Verbose bool - Show verbose messages in system logs
 - Supplicant
Controlled boolTransient  - Controlled access is only applied during authentication
 - Supplicant
Force boolMulticast  - Force 802.1X supplicant to send multicast packets
 - System
Auth boolControl  - Enable or Disable SysAuthControl
 - Test
Timeout int - Timeout for device EAPOL capabilities test in seconds
 - Device string
 - A device name from the provider configuration.
 
- auth
Fail BooleanEapol  - Send EAPOL-Success on successful auth-fail Authorization
 - credentials
List<Get
Dot1x Credential>  - Configure 802.1X credentials profiles
 - critical
Eapol BooleanConfig Block  - Block all EAPoL transaction on Critical Authentication
 - critical
Recovery IntegerDelay  - Set 802.1x Critical Authentication Recovery Delay period
 - id String
 - The path of the retrieved object.
 - logging
Verbose Boolean - Show verbose messages in system logs
 - supplicant
Controlled BooleanTransient  - Controlled access is only applied during authentication
 - supplicant
Force BooleanMulticast  - Force 802.1X supplicant to send multicast packets
 - system
Auth BooleanControl  - Enable or Disable SysAuthControl
 - test
Timeout Integer - Timeout for device EAPOL capabilities test in seconds
 - device String
 - A device name from the provider configuration.
 
- auth
Fail booleanEapol  - Send EAPOL-Success on successful auth-fail Authorization
 - credentials
Get
Dot1x Credential[]  - Configure 802.1X credentials profiles
 - critical
Eapol booleanConfig Block  - Block all EAPoL transaction on Critical Authentication
 - critical
Recovery numberDelay  - Set 802.1x Critical Authentication Recovery Delay period
 - id string
 - The path of the retrieved object.
 - logging
Verbose boolean - Show verbose messages in system logs
 - supplicant
Controlled booleanTransient  - Controlled access is only applied during authentication
 - supplicant
Force booleanMulticast  - Force 802.1X supplicant to send multicast packets
 - system
Auth booleanControl  - Enable or Disable SysAuthControl
 - test
Timeout number - Timeout for device EAPOL capabilities test in seconds
 - device string
 - A device name from the provider configuration.
 
- auth_
fail_ booleapol  - Send EAPOL-Success on successful auth-fail Authorization
 - credentials
Sequence[Get
Dot1x Credential]  - Configure 802.1X credentials profiles
 - critical_
eapol_ boolconfig_ block  - Block all EAPoL transaction on Critical Authentication
 - critical_
recovery_ intdelay  - 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_ booltransient  - Controlled access is only applied during authentication
 - supplicant_
force_ boolmulticast  - Force 802.1X supplicant to send multicast packets
 - system_
auth_ boolcontrol  - Enable or Disable SysAuthControl
 - test_
timeout int - Timeout for device EAPOL capabilities test in seconds
 - device str
 - A device name from the provider configuration.
 
- auth
Fail BooleanEapol  - Send EAPOL-Success on successful auth-fail Authorization
 - credentials List<Property Map>
 - Configure 802.1X credentials profiles
 - critical
Eapol BooleanConfig Block  - Block all EAPoL transaction on Critical Authentication
 - critical
Recovery NumberDelay  - Set 802.1x Critical Authentication Recovery Delay period
 - id String
 - The path of the retrieved object.
 - logging
Verbose Boolean - Show verbose messages in system logs
 - supplicant
Controlled BooleanTransient  - Controlled access is only applied during authentication
 - supplicant
Force BooleanMulticast  - Force 802.1X supplicant to send multicast packets
 - system
Auth BooleanControl  - Enable or Disable SysAuthControl
 - test
Timeout Number - Timeout for device EAPOL capabilities test in seconds
 - device String
 - A device name from the provider configuration.
 
Supporting Types
GetDot1xCredential  
- Anonymous
Id string - Set the anonymous userid
 - Description string
 - Provide a description for the credentials profile
 - Password string
 - Password
Type string - Pki
Trustpoint string - Set the default pki trustpoint
 - Profile
Name string - Specify a profile name
 - Username string
 - Set the authentication userid
 
- Anonymous
Id string - Set the anonymous userid
 - Description string
 - Provide a description for the credentials profile
 - Password string
 - Password
Type string - Pki
Trustpoint string - Set the default pki trustpoint
 - Profile
Name string - Specify a profile name
 - Username string
 - Set the authentication userid
 
- anonymous
Id String - Set the anonymous userid
 - description String
 - Provide a description for the credentials profile
 - password String
 - password
Type String - pki
Trustpoint String - Set the default pki trustpoint
 - profile
Name String - Specify a profile name
 - username String
 - Set the authentication userid
 
- anonymous
Id string - Set the anonymous userid
 - description string
 - Provide a description for the credentials profile
 - password string
 - password
Type string - pki
Trustpoint string - Set the default pki trustpoint
 - profile
Name 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
 
- anonymous
Id String - Set the anonymous userid
 - description String
 - Provide a description for the credentials profile
 - password String
 - password
Type String - pki
Trustpoint String - Set the default pki trustpoint
 - profile
Name 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 
iosxeTerraform Provider.