Cisco ISE v0.2.1 published on Saturday, Mar 15, 2025 by Pulumi
ise.network.getDevice
Explore with Pulumi AI
This data source can read the Network Device.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ise from "@pulumi/ise";
const example = ise.network.getDevice({
    id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
});
import pulumi
import pulumi_ise as ise
example = ise.network.get_device(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
package main
import (
	"github.com/pulumi/pulumi-ise/sdk/go/ise/network"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := network.LookupDevice(ctx, &network.LookupDeviceArgs{
			Id: pulumi.StringRef("76d24097-41c4-4558-a4d0-a8c07ac08470"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ise = Pulumi.Ise;
return await Deployment.RunAsync(() => 
{
    var example = Ise.Network.GetDevice.Invoke(new()
    {
        Id = "76d24097-41c4-4558-a4d0-a8c07ac08470",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ise.network.NetworkFunctions;
import com.pulumi.ise.network.inputs.GetDeviceArgs;
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 = NetworkFunctions.getDevice(GetDeviceArgs.builder()
            .id("76d24097-41c4-4558-a4d0-a8c07ac08470")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: ise:network:getDevice
      arguments:
        id: 76d24097-41c4-4558-a4d0-a8c07ac08470
Using getDevice
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 getDevice(args: GetDeviceArgs, opts?: InvokeOptions): Promise<GetDeviceResult>
function getDeviceOutput(args: GetDeviceOutputArgs, opts?: InvokeOptions): Output<GetDeviceResult>def get_device(id: Optional[str] = None,
               name: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetDeviceResult
def get_device_output(id: Optional[pulumi.Input[str]] = None,
               name: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetDeviceResult]func LookupDevice(ctx *Context, args *LookupDeviceArgs, opts ...InvokeOption) (*LookupDeviceResult, error)
func LookupDeviceOutput(ctx *Context, args *LookupDeviceOutputArgs, opts ...InvokeOption) LookupDeviceResultOutput> Note: This function is named LookupDevice in the Go SDK.
public static class GetDevice 
{
    public static Task<GetDeviceResult> InvokeAsync(GetDeviceArgs args, InvokeOptions? opts = null)
    public static Output<GetDeviceResult> Invoke(GetDeviceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDeviceResult> getDevice(GetDeviceArgs args, InvokeOptions options)
public static Output<GetDeviceResult> getDevice(GetDeviceArgs args, InvokeOptions options)
fn::invoke:
  function: ise:network/getDevice:getDevice
  arguments:
    # arguments dictionaryThe following arguments are supported:
getDevice Result
The following output properties are available:
- AuthenticationDtls boolRequired 
- Enforce use of DTLS
- AuthenticationEnable boolKey Wrap 
- Enable key wrap
- AuthenticationEnable boolMulti Secret 
- Enable multiple RADIUS shared secrets
- AuthenticationEncryption stringKey 
- Encryption key
- AuthenticationEncryption stringKey Format 
- Key input format
- AuthenticationMessage stringAuthenticator Code Key 
- Message authenticator code key
- AuthenticationNetwork stringProtocol 
- Network protocol
- string
- RADIUS shared secret
- string
- Second RADIUS shared secret
- CoaPort int
- CoA port
- Description string
- Description
- DtlsDns stringName 
- This value is used to verify the client identity contained in the X.509 RADIUS/DTLS client certificate
- Id string
- The id of the object
- Ips
List<GetDevice Ip> 
- List of IP subnets
- ModelName string
- Model name
- Name string
- The name of the network device
- NetworkDevice List<string>Groups 
- List of network device groups, e.g. Device Type#All Device Types#ACCESS
- ProfileName string
- Profile name
- SnmpLink boolTrap Query 
- SNMP link Trap Query
- SnmpMac boolTrap Query 
- SNMP MAC Trap Query
- SnmpOriginating stringPolicy Service Node 
- Originating Policy Services Node
- SnmpPolling intInterval 
- SNMP Polling Interval in seconds
- SnmpRo stringCommunity 
- SNMP RO Community
- SnmpVersion string
- SNMP version
- SoftwareVersion string
- Software version
- TacacsConnect stringMode Options 
- Connect mode options
- string
- Shared secret
- TrustsecCoa stringSource Host 
- CoA source host
- TrustsecDevice stringId 
- TrustSec device ID
- TrustsecDevice stringPassword 
- TrustSec device password
- TrustsecDownload intEnviroment Data Every XSeconds 
- Download environment data every X seconds
- int
- Download peer authorization policy every X seconds
- TrustsecDownload intSgacl Lists Every XSeconds 
- Download SGACL lists every X seconds
- TrustsecEnable stringMode Password 
- Enable mode password
- TrustsecExec stringMode Password 
- EXEC mode password
- TrustsecExec stringMode Username 
- EXEC mode username
- TrustsecInclude boolWhen Deploying Sgt Updates 
- Include this device when deploying Security Group Tag Mapping Updates
- TrustsecOther boolSga Devices To Trust This Device 
- Other TrustSec devices to trust this device
- TrustsecRe intAuthentication Every XSeconds 
- Re-authenticate every X seconds
- TrustsecRest stringApi Password 
- REST API password
- TrustsecRest stringApi Username 
- REST API username
- TrustsecSend boolConfiguration To Device 
- Send configuration to device
- TrustsecSend stringConfiguration To Device Using 
- Send configuration to device using
- AuthenticationDtls boolRequired 
- Enforce use of DTLS
- AuthenticationEnable boolKey Wrap 
- Enable key wrap
- AuthenticationEnable boolMulti Secret 
- Enable multiple RADIUS shared secrets
- AuthenticationEncryption stringKey 
- Encryption key
- AuthenticationEncryption stringKey Format 
- Key input format
- AuthenticationMessage stringAuthenticator Code Key 
- Message authenticator code key
- AuthenticationNetwork stringProtocol 
- Network protocol
- string
- RADIUS shared secret
- string
- Second RADIUS shared secret
- CoaPort int
- CoA port
- Description string
- Description
- DtlsDns stringName 
- This value is used to verify the client identity contained in the X.509 RADIUS/DTLS client certificate
- Id string
- The id of the object
- Ips
[]GetDevice Ip 
- List of IP subnets
- ModelName string
- Model name
- Name string
- The name of the network device
- NetworkDevice []stringGroups 
- List of network device groups, e.g. Device Type#All Device Types#ACCESS
- ProfileName string
- Profile name
- SnmpLink boolTrap Query 
- SNMP link Trap Query
- SnmpMac boolTrap Query 
- SNMP MAC Trap Query
- SnmpOriginating stringPolicy Service Node 
- Originating Policy Services Node
- SnmpPolling intInterval 
- SNMP Polling Interval in seconds
- SnmpRo stringCommunity 
- SNMP RO Community
- SnmpVersion string
- SNMP version
- SoftwareVersion string
- Software version
- TacacsConnect stringMode Options 
- Connect mode options
- string
- Shared secret
- TrustsecCoa stringSource Host 
- CoA source host
- TrustsecDevice stringId 
- TrustSec device ID
- TrustsecDevice stringPassword 
- TrustSec device password
- TrustsecDownload intEnviroment Data Every XSeconds 
- Download environment data every X seconds
- int
- Download peer authorization policy every X seconds
- TrustsecDownload intSgacl Lists Every XSeconds 
- Download SGACL lists every X seconds
- TrustsecEnable stringMode Password 
- Enable mode password
- TrustsecExec stringMode Password 
- EXEC mode password
- TrustsecExec stringMode Username 
- EXEC mode username
- TrustsecInclude boolWhen Deploying Sgt Updates 
- Include this device when deploying Security Group Tag Mapping Updates
- TrustsecOther boolSga Devices To Trust This Device 
- Other TrustSec devices to trust this device
- TrustsecRe intAuthentication Every XSeconds 
- Re-authenticate every X seconds
- TrustsecRest stringApi Password 
- REST API password
- TrustsecRest stringApi Username 
- REST API username
- TrustsecSend boolConfiguration To Device 
- Send configuration to device
- TrustsecSend stringConfiguration To Device Using 
- Send configuration to device using
- authenticationDtls BooleanRequired 
- Enforce use of DTLS
- authenticationEnable BooleanKey Wrap 
- Enable key wrap
- authenticationEnable BooleanMulti Secret 
- Enable multiple RADIUS shared secrets
- authenticationEncryption StringKey 
- Encryption key
- authenticationEncryption StringKey Format 
- Key input format
- authenticationMessage StringAuthenticator Code Key 
- Message authenticator code key
- authenticationNetwork StringProtocol 
- Network protocol
- String
- RADIUS shared secret
- String
- Second RADIUS shared secret
- coaPort Integer
- CoA port
- description String
- Description
- dtlsDns StringName 
- This value is used to verify the client identity contained in the X.509 RADIUS/DTLS client certificate
- id String
- The id of the object
- ips
List<GetDevice Ip> 
- List of IP subnets
- modelName String
- Model name
- name String
- The name of the network device
- networkDevice List<String>Groups 
- List of network device groups, e.g. Device Type#All Device Types#ACCESS
- profileName String
- Profile name
- snmpLink BooleanTrap Query 
- SNMP link Trap Query
- snmpMac BooleanTrap Query 
- SNMP MAC Trap Query
- snmpOriginating StringPolicy Service Node 
- Originating Policy Services Node
- snmpPolling IntegerInterval 
- SNMP Polling Interval in seconds
- snmpRo StringCommunity 
- SNMP RO Community
- snmpVersion String
- SNMP version
- softwareVersion String
- Software version
- tacacsConnect StringMode Options 
- Connect mode options
- String
- Shared secret
- trustsecCoa StringSource Host 
- CoA source host
- trustsecDevice StringId 
- TrustSec device ID
- trustsecDevice StringPassword 
- TrustSec device password
- trustsecDownload IntegerEnviroment Data Every XSeconds 
- Download environment data every X seconds
- Integer
- Download peer authorization policy every X seconds
- trustsecDownload IntegerSgacl Lists Every XSeconds 
- Download SGACL lists every X seconds
- trustsecEnable StringMode Password 
- Enable mode password
- trustsecExec StringMode Password 
- EXEC mode password
- trustsecExec StringMode Username 
- EXEC mode username
- trustsecInclude BooleanWhen Deploying Sgt Updates 
- Include this device when deploying Security Group Tag Mapping Updates
- trustsecOther BooleanSga Devices To Trust This Device 
- Other TrustSec devices to trust this device
- trustsecRe IntegerAuthentication Every XSeconds 
- Re-authenticate every X seconds
- trustsecRest StringApi Password 
- REST API password
- trustsecRest StringApi Username 
- REST API username
- trustsecSend BooleanConfiguration To Device 
- Send configuration to device
- trustsecSend StringConfiguration To Device Using 
- Send configuration to device using
- authenticationDtls booleanRequired 
- Enforce use of DTLS
- authenticationEnable booleanKey Wrap 
- Enable key wrap
- authenticationEnable booleanMulti Secret 
- Enable multiple RADIUS shared secrets
- authenticationEncryption stringKey 
- Encryption key
- authenticationEncryption stringKey Format 
- Key input format
- authenticationMessage stringAuthenticator Code Key 
- Message authenticator code key
- authenticationNetwork stringProtocol 
- Network protocol
- string
- RADIUS shared secret
- string
- Second RADIUS shared secret
- coaPort number
- CoA port
- description string
- Description
- dtlsDns stringName 
- This value is used to verify the client identity contained in the X.509 RADIUS/DTLS client certificate
- id string
- The id of the object
- ips
GetDevice Ip[] 
- List of IP subnets
- modelName string
- Model name
- name string
- The name of the network device
- networkDevice string[]Groups 
- List of network device groups, e.g. Device Type#All Device Types#ACCESS
- profileName string
- Profile name
- snmpLink booleanTrap Query 
- SNMP link Trap Query
- snmpMac booleanTrap Query 
- SNMP MAC Trap Query
- snmpOriginating stringPolicy Service Node 
- Originating Policy Services Node
- snmpPolling numberInterval 
- SNMP Polling Interval in seconds
- snmpRo stringCommunity 
- SNMP RO Community
- snmpVersion string
- SNMP version
- softwareVersion string
- Software version
- tacacsConnect stringMode Options 
- Connect mode options
- string
- Shared secret
- trustsecCoa stringSource Host 
- CoA source host
- trustsecDevice stringId 
- TrustSec device ID
- trustsecDevice stringPassword 
- TrustSec device password
- trustsecDownload numberEnviroment Data Every XSeconds 
- Download environment data every X seconds
- number
- Download peer authorization policy every X seconds
- trustsecDownload numberSgacl Lists Every XSeconds 
- Download SGACL lists every X seconds
- trustsecEnable stringMode Password 
- Enable mode password
- trustsecExec stringMode Password 
- EXEC mode password
- trustsecExec stringMode Username 
- EXEC mode username
- trustsecInclude booleanWhen Deploying Sgt Updates 
- Include this device when deploying Security Group Tag Mapping Updates
- trustsecOther booleanSga Devices To Trust This Device 
- Other TrustSec devices to trust this device
- trustsecRe numberAuthentication Every XSeconds 
- Re-authenticate every X seconds
- trustsecRest stringApi Password 
- REST API password
- trustsecRest stringApi Username 
- REST API username
- trustsecSend booleanConfiguration To Device 
- Send configuration to device
- trustsecSend stringConfiguration To Device Using 
- Send configuration to device using
- authentication_dtls_ boolrequired 
- Enforce use of DTLS
- authentication_enable_ boolkey_ wrap 
- Enable key wrap
- authentication_enable_ boolmulti_ secret 
- Enable multiple RADIUS shared secrets
- authentication_encryption_ strkey 
- Encryption key
- authentication_encryption_ strkey_ format 
- Key input format
- authentication_message_ strauthenticator_ code_ key 
- Message authenticator code key
- authentication_network_ strprotocol 
- Network protocol
- str
- RADIUS shared secret
- str
- Second RADIUS shared secret
- coa_port int
- CoA port
- description str
- Description
- dtls_dns_ strname 
- This value is used to verify the client identity contained in the X.509 RADIUS/DTLS client certificate
- id str
- The id of the object
- ips
Sequence[GetDevice Ip] 
- List of IP subnets
- model_name str
- Model name
- name str
- The name of the network device
- network_device_ Sequence[str]groups 
- List of network device groups, e.g. Device Type#All Device Types#ACCESS
- profile_name str
- Profile name
- snmp_link_ booltrap_ query 
- SNMP link Trap Query
- snmp_mac_ booltrap_ query 
- SNMP MAC Trap Query
- snmp_originating_ strpolicy_ service_ node 
- Originating Policy Services Node
- snmp_polling_ intinterval 
- SNMP Polling Interval in seconds
- snmp_ro_ strcommunity 
- SNMP RO Community
- snmp_version str
- SNMP version
- software_version str
- Software version
- tacacs_connect_ strmode_ options 
- Connect mode options
- str
- Shared secret
- trustsec_coa_ strsource_ host 
- CoA source host
- trustsec_device_ strid 
- TrustSec device ID
- trustsec_device_ strpassword 
- TrustSec device password
- trustsec_download_ intenviroment_ data_ every_ x_ seconds 
- Download environment data every X seconds
- int
- Download peer authorization policy every X seconds
- trustsec_download_ intsgacl_ lists_ every_ x_ seconds 
- Download SGACL lists every X seconds
- trustsec_enable_ strmode_ password 
- Enable mode password
- trustsec_exec_ strmode_ password 
- EXEC mode password
- trustsec_exec_ strmode_ username 
- EXEC mode username
- trustsec_include_ boolwhen_ deploying_ sgt_ updates 
- Include this device when deploying Security Group Tag Mapping Updates
- trustsec_other_ boolsga_ devices_ to_ trust_ this_ device 
- Other TrustSec devices to trust this device
- trustsec_re_ intauthentication_ every_ x_ seconds 
- Re-authenticate every X seconds
- trustsec_rest_ strapi_ password 
- REST API password
- trustsec_rest_ strapi_ username 
- REST API username
- trustsec_send_ boolconfiguration_ to_ device 
- Send configuration to device
- trustsec_send_ strconfiguration_ to_ device_ using 
- Send configuration to device using
- authenticationDtls BooleanRequired 
- Enforce use of DTLS
- authenticationEnable BooleanKey Wrap 
- Enable key wrap
- authenticationEnable BooleanMulti Secret 
- Enable multiple RADIUS shared secrets
- authenticationEncryption StringKey 
- Encryption key
- authenticationEncryption StringKey Format 
- Key input format
- authenticationMessage StringAuthenticator Code Key 
- Message authenticator code key
- authenticationNetwork StringProtocol 
- Network protocol
- String
- RADIUS shared secret
- String
- Second RADIUS shared secret
- coaPort Number
- CoA port
- description String
- Description
- dtlsDns StringName 
- This value is used to verify the client identity contained in the X.509 RADIUS/DTLS client certificate
- id String
- The id of the object
- ips List<Property Map>
- List of IP subnets
- modelName String
- Model name
- name String
- The name of the network device
- networkDevice List<String>Groups 
- List of network device groups, e.g. Device Type#All Device Types#ACCESS
- profileName String
- Profile name
- snmpLink BooleanTrap Query 
- SNMP link Trap Query
- snmpMac BooleanTrap Query 
- SNMP MAC Trap Query
- snmpOriginating StringPolicy Service Node 
- Originating Policy Services Node
- snmpPolling NumberInterval 
- SNMP Polling Interval in seconds
- snmpRo StringCommunity 
- SNMP RO Community
- snmpVersion String
- SNMP version
- softwareVersion String
- Software version
- tacacsConnect StringMode Options 
- Connect mode options
- String
- Shared secret
- trustsecCoa StringSource Host 
- CoA source host
- trustsecDevice StringId 
- TrustSec device ID
- trustsecDevice StringPassword 
- TrustSec device password
- trustsecDownload NumberEnviroment Data Every XSeconds 
- Download environment data every X seconds
- Number
- Download peer authorization policy every X seconds
- trustsecDownload NumberSgacl Lists Every XSeconds 
- Download SGACL lists every X seconds
- trustsecEnable StringMode Password 
- Enable mode password
- trustsecExec StringMode Password 
- EXEC mode password
- trustsecExec StringMode Username 
- EXEC mode username
- trustsecInclude BooleanWhen Deploying Sgt Updates 
- Include this device when deploying Security Group Tag Mapping Updates
- trustsecOther BooleanSga Devices To Trust This Device 
- Other TrustSec devices to trust this device
- trustsecRe NumberAuthentication Every XSeconds 
- Re-authenticate every X seconds
- trustsecRest StringApi Password 
- REST API password
- trustsecRest StringApi Username 
- REST API username
- trustsecSend BooleanConfiguration To Device 
- Send configuration to device
- trustsecSend StringConfiguration To Device Using 
- Send configuration to device using
Supporting Types
GetDeviceIp  
- Ipaddress string
- It can be either single ip address or ip range address
- IpaddressExclude string
- It can be either single ip address or ip range address
- Mask string
- Subnet mask length
- Ipaddress string
- It can be either single ip address or ip range address
- IpaddressExclude string
- It can be either single ip address or ip range address
- Mask string
- Subnet mask length
- ipaddress String
- It can be either single ip address or ip range address
- ipaddressExclude String
- It can be either single ip address or ip range address
- mask String
- Subnet mask length
- ipaddress string
- It can be either single ip address or ip range address
- ipaddressExclude string
- It can be either single ip address or ip range address
- mask string
- Subnet mask length
- ipaddress str
- It can be either single ip address or ip range address
- ipaddress_exclude str
- It can be either single ip address or ip range address
- mask str
- Subnet mask length
- ipaddress String
- It can be either single ip address or ip range address
- ipaddressExclude String
- It can be either single ip address or ip range address
- mask String
- Subnet mask length
Package Details
- Repository
- ise pulumi/pulumi-ise
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the iseTerraform Provider.
