iosxe.Dot1x
Explore with Pulumi AI
This resource can manage the Dot1x configuration.
Example Usage
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.iosxe.Dot1x;
import com.pulumi.iosxe.Dot1xArgs;
import com.pulumi.iosxe.inputs.Dot1xCredentialArgs;
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 Dot1x("example", Dot1xArgs.builder()
.authFailEapol(true)
.credentials(Dot1xCredentialArgs.builder()
.anonymous_id("1")
.description("credential_profile_name")
.password("password123")
.password_type("0")
.pki_trustpoint("trustpoint1")
.profile_name("profile1")
.username("username1")
.build())
.criticalEapolConfigBlock(true)
.loggingVerbose(true)
.supplicantControlledTransient(true)
.supplicantForceMulticast(true)
.systemAuthControl(true)
.testTimeout(1000)
.build());
}
}
Coming soon!
Coming soon!
resources:
example:
type: iosxe:Dot1x
properties:
authFailEapol: true
credentials:
- anonymous_id: '1'
description: credential_profile_name
password: password123
password_type: '0'
pki_trustpoint: trustpoint1
profile_name: profile1
username: username1
criticalEapolConfigBlock: true
loggingVerbose: true
supplicantControlledTransient: true
supplicantForceMulticast: true
systemAuthControl: true
testTimeout: 1000
Create Dot1x Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Dot1x(name: string, args?: Dot1xArgs, opts?: CustomResourceOptions);
@overload
def Dot1x(resource_name: str,
args: Optional[Dot1xArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Dot1x(resource_name: str,
opts: Optional[ResourceOptions] = None,
auth_fail_eapol: Optional[bool] = None,
credentials: Optional[Sequence[Dot1xCredentialArgs]] = None,
critical_eapol_config_block: Optional[bool] = None,
critical_recovery_delay: Optional[int] = None,
delete_mode: Optional[str] = None,
device: Optional[str] = None,
logging_verbose: Optional[bool] = None,
supplicant_controlled_transient: Optional[bool] = None,
supplicant_force_multicast: Optional[bool] = None,
system_auth_control: Optional[bool] = None,
test_timeout: Optional[int] = None)
func NewDot1x(ctx *Context, name string, args *Dot1xArgs, opts ...ResourceOption) (*Dot1x, error)
public Dot1x(string name, Dot1xArgs? args = null, CustomResourceOptions? opts = null)
type: iosxe:Dot1x
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 Dot1xArgs
- 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 Dot1xArgs
- 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 Dot1xArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args Dot1xArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args Dot1xArgs
- 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 dot1xResource = new Iosxe.Dot1x("dot1xResource", new()
{
AuthFailEapol = false,
Credentials = new[]
{
new Iosxe.Inputs.Dot1xCredentialArgs
{
ProfileName = "string",
AnonymousId = "string",
Description = "string",
Password = "string",
PasswordType = "string",
PkiTrustpoint = "string",
Username = "string",
},
},
CriticalEapolConfigBlock = false,
CriticalRecoveryDelay = 0,
DeleteMode = "string",
Device = "string",
LoggingVerbose = false,
SupplicantControlledTransient = false,
SupplicantForceMulticast = false,
SystemAuthControl = false,
TestTimeout = 0,
});
example, err := iosxe.NewDot1x(ctx, "dot1xResource", &iosxe.Dot1xArgs{
AuthFailEapol: pulumi.Bool(false),
Credentials: iosxe.Dot1xCredentialArray{
&iosxe.Dot1xCredentialArgs{
ProfileName: pulumi.String("string"),
AnonymousId: pulumi.String("string"),
Description: pulumi.String("string"),
Password: pulumi.String("string"),
PasswordType: pulumi.String("string"),
PkiTrustpoint: pulumi.String("string"),
Username: pulumi.String("string"),
},
},
CriticalEapolConfigBlock: pulumi.Bool(false),
CriticalRecoveryDelay: pulumi.Int(0),
DeleteMode: pulumi.String("string"),
Device: pulumi.String("string"),
LoggingVerbose: pulumi.Bool(false),
SupplicantControlledTransient: pulumi.Bool(false),
SupplicantForceMulticast: pulumi.Bool(false),
SystemAuthControl: pulumi.Bool(false),
TestTimeout: pulumi.Int(0),
})
var dot1xResource = new Dot1x("dot1xResource", Dot1xArgs.builder()
.authFailEapol(false)
.credentials(Dot1xCredentialArgs.builder()
.profileName("string")
.anonymousId("string")
.description("string")
.password("string")
.passwordType("string")
.pkiTrustpoint("string")
.username("string")
.build())
.criticalEapolConfigBlock(false)
.criticalRecoveryDelay(0)
.deleteMode("string")
.device("string")
.loggingVerbose(false)
.supplicantControlledTransient(false)
.supplicantForceMulticast(false)
.systemAuthControl(false)
.testTimeout(0)
.build());
dot1x_resource = iosxe.Dot1x("dot1xResource",
auth_fail_eapol=False,
credentials=[{
"profile_name": "string",
"anonymous_id": "string",
"description": "string",
"password": "string",
"password_type": "string",
"pki_trustpoint": "string",
"username": "string",
}],
critical_eapol_config_block=False,
critical_recovery_delay=0,
delete_mode="string",
device="string",
logging_verbose=False,
supplicant_controlled_transient=False,
supplicant_force_multicast=False,
system_auth_control=False,
test_timeout=0)
const dot1xResource = new iosxe.Dot1x("dot1xResource", {
authFailEapol: false,
credentials: [{
profileName: "string",
anonymousId: "string",
description: "string",
password: "string",
passwordType: "string",
pkiTrustpoint: "string",
username: "string",
}],
criticalEapolConfigBlock: false,
criticalRecoveryDelay: 0,
deleteMode: "string",
device: "string",
loggingVerbose: false,
supplicantControlledTransient: false,
supplicantForceMulticast: false,
systemAuthControl: false,
testTimeout: 0,
});
type: iosxe:Dot1x
properties:
authFailEapol: false
credentials:
- anonymousId: string
description: string
password: string
passwordType: string
pkiTrustpoint: string
profileName: string
username: string
criticalEapolConfigBlock: false
criticalRecoveryDelay: 0
deleteMode: string
device: string
loggingVerbose: false
supplicantControlledTransient: false
supplicantForceMulticast: false
systemAuthControl: false
testTimeout: 0
Dot1x 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 Dot1x resource accepts the following input properties:
- Auth
Fail boolEapol - Send EAPOL-Success on successful auth-fail Authorization
- Credentials
List<Lbrlabs.
Pulumi Package. Iosxe. Inputs. 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 - Range:
1
-10000
- Delete
Mode string - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- Device string
- A device name from the provider configuration.
- 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 - Range:
1
-65535
- Auth
Fail boolEapol - Send EAPOL-Success on successful auth-fail Authorization
- Credentials
[]Dot1x
Credential Args - 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 - Range:
1
-10000
- Delete
Mode string - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- Device string
- A device name from the provider configuration.
- 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 - Range:
1
-65535
- auth
Fail BooleanEapol - Send EAPOL-Success on successful auth-fail Authorization
- credentials
List<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 - Range:
1
-10000
- delete
Mode String - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- device String
- A device name from the provider configuration.
- 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 - Range:
1
-65535
- auth
Fail booleanEapol - Send EAPOL-Success on successful auth-fail Authorization
- credentials
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 - Range:
1
-10000
- delete
Mode string - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- device string
- A device name from the provider configuration.
- 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 - Range:
1
-65535
- auth_
fail_ booleapol - Send EAPOL-Success on successful auth-fail Authorization
- credentials
Sequence[Dot1x
Credential Args] - 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 - Range:
1
-10000
- delete_
mode str - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- device str
- A device name from the provider configuration.
- 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 - Range:
1
-65535
- 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 - Range:
1
-10000
- delete
Mode String - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- device String
- A device name from the provider configuration.
- 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 - Range:
1
-65535
Outputs
All input properties are implicitly available as output properties. Additionally, the Dot1x 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 Dot1x Resource
Get an existing Dot1x 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?: Dot1xState, opts?: CustomResourceOptions): Dot1x
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auth_fail_eapol: Optional[bool] = None,
credentials: Optional[Sequence[Dot1xCredentialArgs]] = None,
critical_eapol_config_block: Optional[bool] = None,
critical_recovery_delay: Optional[int] = None,
delete_mode: Optional[str] = None,
device: Optional[str] = None,
logging_verbose: Optional[bool] = None,
supplicant_controlled_transient: Optional[bool] = None,
supplicant_force_multicast: Optional[bool] = None,
system_auth_control: Optional[bool] = None,
test_timeout: Optional[int] = None) -> Dot1x
func GetDot1x(ctx *Context, name string, id IDInput, state *Dot1xState, opts ...ResourceOption) (*Dot1x, error)
public static Dot1x Get(string name, Input<string> id, Dot1xState? state, CustomResourceOptions? opts = null)
public static Dot1x get(String name, Output<String> id, Dot1xState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Auth
Fail boolEapol - Send EAPOL-Success on successful auth-fail Authorization
- Credentials
List<Lbrlabs.
Pulumi Package. Iosxe. Inputs. 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 - Range:
1
-10000
- Delete
Mode string - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- Device string
- A device name from the provider configuration.
- 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 - Range:
1
-65535
- Auth
Fail boolEapol - Send EAPOL-Success on successful auth-fail Authorization
- Credentials
[]Dot1x
Credential Args - 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 - Range:
1
-10000
- Delete
Mode string - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- Device string
- A device name from the provider configuration.
- 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 - Range:
1
-65535
- auth
Fail BooleanEapol - Send EAPOL-Success on successful auth-fail Authorization
- credentials
List<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 - Range:
1
-10000
- delete
Mode String - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- device String
- A device name from the provider configuration.
- 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 - Range:
1
-65535
- auth
Fail booleanEapol - Send EAPOL-Success on successful auth-fail Authorization
- credentials
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 - Range:
1
-10000
- delete
Mode string - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- device string
- A device name from the provider configuration.
- 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 - Range:
1
-65535
- auth_
fail_ booleapol - Send EAPOL-Success on successful auth-fail Authorization
- credentials
Sequence[Dot1x
Credential Args] - 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 - Range:
1
-10000
- delete_
mode str - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- device str
- A device name from the provider configuration.
- 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 - Range:
1
-65535
- 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 - Range:
1
-10000
- delete
Mode String - Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being
managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is.
Default value is
all
. - Choices:all
,attributes
- device String
- A device name from the provider configuration.
- 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 - Range:
1
-65535
Supporting Types
Dot1xCredential, Dot1xCredentialArgs
- Profile
Name string - Anonymous
Id string - Description string
- Password string
- Password
Type string - Pki
Trustpoint string - Username string
- Profile
Name string - Anonymous
Id string - Description string
- Password string
- Password
Type string - Pki
Trustpoint string - Username string
- profile
Name String - anonymous
Id String - description String
- password String
- password
Type String - pki
Trustpoint String - username String
- profile
Name string - anonymous
Id string - description string
- password string
- password
Type string - pki
Trustpoint string - username string
- profile_
name str - anonymous_
id str - description str
- password str
- password_
type str - pki_
trustpoint str - username str
- profile
Name String - anonymous
Id String - description String
- password String
- password
Type String - pki
Trustpoint String - username String
Import
$ pulumi import iosxe:index/dot1x:Dot1x example "Cisco-IOS-XE-native:native/dot1x"
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
iosxe
Terraform Provider.