1. Packages
  2. Cisco ISE
  3. API Docs
  4. network
  5. getDevice
Cisco ISE v0.1.4 published on Friday, May 31, 2024 by Pulumi

ise.network.getDevice

Explore with Pulumi AI

ise logo
Cisco ISE v0.1.4 published on Friday, May 31, 2024 by Pulumi

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: ise:network/getDevice:getDevice
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The id of the object
    Name string
    The name of the network device
    Id string
    The id of the object
    Name string
    The name of the network device
    id String
    The id of the object
    name String
    The name of the network device
    id string
    The id of the object
    name string
    The name of the network device
    id str
    The id of the object
    name str
    The name of the network device
    id String
    The id of the object
    name String
    The name of the network device

    getDevice Result

    The following output properties are available:

    AuthenticationDtlsRequired bool
    Enforce use of DTLS
    AuthenticationEnableKeyWrap bool
    Enable key wrap
    AuthenticationEnableMultiSecret bool
    Enable multiple RADIUS shared secrets
    AuthenticationEncryptionKey string
    Encryption key
    AuthenticationEncryptionKeyFormat string
    Key input format
    AuthenticationMessageAuthenticatorCodeKey string
    Message authenticator code key
    AuthenticationNetworkProtocol string
    Network protocol
    AuthenticationRadiusSharedSecret string
    RADIUS shared secret
    AuthenticationSecondRadiusSharedSecret string
    Second RADIUS shared secret
    CoaPort int
    CoA port
    Description string
    Description
    DtlsDnsName string
    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<GetDeviceIp>
    List of IP subnets
    ModelName string
    Model name
    Name string
    The name of the network device
    NetworkDeviceGroups List<string>
    List of network device groups, e.g. Device Type#All Device Types#ACCESS
    ProfileName string
    Profile name
    SnmpLinkTrapQuery bool
    SNMP link Trap Query
    SnmpMacTrapQuery bool
    SNMP MAC Trap Query
    SnmpOriginatingPolicyServiceNode string
    Originating Policy Services Node
    SnmpPollingInterval int
    SNMP Polling Interval in seconds
    SnmpRoCommunity string
    SNMP RO Community
    SnmpVersion string
    SNMP version
    SoftwareVersion string
    Software version
    TacacsConnectModeOptions string
    Connect mode options
    TacacsSharedSecret string
    Shared secret
    TrustsecCoaSourceHost string
    CoA source host
    TrustsecDeviceId string
    TrustSec device ID
    TrustsecDevicePassword string
    TrustSec device password
    TrustsecDownloadEnviromentDataEveryXSeconds int
    Download environment data every X seconds
    TrustsecDownloadPeerAuthorizationPolicyEveryXSeconds int
    Download peer authorization policy every X seconds
    TrustsecDownloadSgaclListsEveryXSeconds int
    Download SGACL lists every X seconds
    TrustsecEnableModePassword string
    Enable mode password
    TrustsecExecModePassword string
    EXEC mode password
    TrustsecExecModeUsername string
    EXEC mode username
    TrustsecIncludeWhenDeployingSgtUpdates bool
    Include this device when deploying Security Group Tag Mapping Updates
    TrustsecOtherSgaDevicesToTrustThisDevice bool
    Other TrustSec devices to trust this device
    TrustsecReAuthenticationEveryXSeconds int
    Re-authenticate every X seconds
    TrustsecRestApiPassword string
    REST API password
    TrustsecRestApiUsername string
    REST API username
    TrustsecSendConfigurationToDevice bool
    Send configuration to device
    TrustsecSendConfigurationToDeviceUsing string
    Send configuration to device using
    AuthenticationDtlsRequired bool
    Enforce use of DTLS
    AuthenticationEnableKeyWrap bool
    Enable key wrap
    AuthenticationEnableMultiSecret bool
    Enable multiple RADIUS shared secrets
    AuthenticationEncryptionKey string
    Encryption key
    AuthenticationEncryptionKeyFormat string
    Key input format
    AuthenticationMessageAuthenticatorCodeKey string
    Message authenticator code key
    AuthenticationNetworkProtocol string
    Network protocol
    AuthenticationRadiusSharedSecret string
    RADIUS shared secret
    AuthenticationSecondRadiusSharedSecret string
    Second RADIUS shared secret
    CoaPort int
    CoA port
    Description string
    Description
    DtlsDnsName string
    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 []GetDeviceIp
    List of IP subnets
    ModelName string
    Model name
    Name string
    The name of the network device
    NetworkDeviceGroups []string
    List of network device groups, e.g. Device Type#All Device Types#ACCESS
    ProfileName string
    Profile name
    SnmpLinkTrapQuery bool
    SNMP link Trap Query
    SnmpMacTrapQuery bool
    SNMP MAC Trap Query
    SnmpOriginatingPolicyServiceNode string
    Originating Policy Services Node
    SnmpPollingInterval int
    SNMP Polling Interval in seconds
    SnmpRoCommunity string
    SNMP RO Community
    SnmpVersion string
    SNMP version
    SoftwareVersion string
    Software version
    TacacsConnectModeOptions string
    Connect mode options
    TacacsSharedSecret string
    Shared secret
    TrustsecCoaSourceHost string
    CoA source host
    TrustsecDeviceId string
    TrustSec device ID
    TrustsecDevicePassword string
    TrustSec device password
    TrustsecDownloadEnviromentDataEveryXSeconds int
    Download environment data every X seconds
    TrustsecDownloadPeerAuthorizationPolicyEveryXSeconds int
    Download peer authorization policy every X seconds
    TrustsecDownloadSgaclListsEveryXSeconds int
    Download SGACL lists every X seconds
    TrustsecEnableModePassword string
    Enable mode password
    TrustsecExecModePassword string
    EXEC mode password
    TrustsecExecModeUsername string
    EXEC mode username
    TrustsecIncludeWhenDeployingSgtUpdates bool
    Include this device when deploying Security Group Tag Mapping Updates
    TrustsecOtherSgaDevicesToTrustThisDevice bool
    Other TrustSec devices to trust this device
    TrustsecReAuthenticationEveryXSeconds int
    Re-authenticate every X seconds
    TrustsecRestApiPassword string
    REST API password
    TrustsecRestApiUsername string
    REST API username
    TrustsecSendConfigurationToDevice bool
    Send configuration to device
    TrustsecSendConfigurationToDeviceUsing string
    Send configuration to device using
    authenticationDtlsRequired Boolean
    Enforce use of DTLS
    authenticationEnableKeyWrap Boolean
    Enable key wrap
    authenticationEnableMultiSecret Boolean
    Enable multiple RADIUS shared secrets
    authenticationEncryptionKey String
    Encryption key
    authenticationEncryptionKeyFormat String
    Key input format
    authenticationMessageAuthenticatorCodeKey String
    Message authenticator code key
    authenticationNetworkProtocol String
    Network protocol
    authenticationRadiusSharedSecret String
    RADIUS shared secret
    authenticationSecondRadiusSharedSecret String
    Second RADIUS shared secret
    coaPort Integer
    CoA port
    description String
    Description
    dtlsDnsName String
    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<GetDeviceIp>
    List of IP subnets
    modelName String
    Model name
    name String
    The name of the network device
    networkDeviceGroups List<String>
    List of network device groups, e.g. Device Type#All Device Types#ACCESS
    profileName String
    Profile name
    snmpLinkTrapQuery Boolean
    SNMP link Trap Query
    snmpMacTrapQuery Boolean
    SNMP MAC Trap Query
    snmpOriginatingPolicyServiceNode String
    Originating Policy Services Node
    snmpPollingInterval Integer
    SNMP Polling Interval in seconds
    snmpRoCommunity String
    SNMP RO Community
    snmpVersion String
    SNMP version
    softwareVersion String
    Software version
    tacacsConnectModeOptions String
    Connect mode options
    tacacsSharedSecret String
    Shared secret
    trustsecCoaSourceHost String
    CoA source host
    trustsecDeviceId String
    TrustSec device ID
    trustsecDevicePassword String
    TrustSec device password
    trustsecDownloadEnviromentDataEveryXSeconds Integer
    Download environment data every X seconds
    trustsecDownloadPeerAuthorizationPolicyEveryXSeconds Integer
    Download peer authorization policy every X seconds
    trustsecDownloadSgaclListsEveryXSeconds Integer
    Download SGACL lists every X seconds
    trustsecEnableModePassword String
    Enable mode password
    trustsecExecModePassword String
    EXEC mode password
    trustsecExecModeUsername String
    EXEC mode username
    trustsecIncludeWhenDeployingSgtUpdates Boolean
    Include this device when deploying Security Group Tag Mapping Updates
    trustsecOtherSgaDevicesToTrustThisDevice Boolean
    Other TrustSec devices to trust this device
    trustsecReAuthenticationEveryXSeconds Integer
    Re-authenticate every X seconds
    trustsecRestApiPassword String
    REST API password
    trustsecRestApiUsername String
    REST API username
    trustsecSendConfigurationToDevice Boolean
    Send configuration to device
    trustsecSendConfigurationToDeviceUsing String
    Send configuration to device using
    authenticationDtlsRequired boolean
    Enforce use of DTLS
    authenticationEnableKeyWrap boolean
    Enable key wrap
    authenticationEnableMultiSecret boolean
    Enable multiple RADIUS shared secrets
    authenticationEncryptionKey string
    Encryption key
    authenticationEncryptionKeyFormat string
    Key input format
    authenticationMessageAuthenticatorCodeKey string
    Message authenticator code key
    authenticationNetworkProtocol string
    Network protocol
    authenticationRadiusSharedSecret string
    RADIUS shared secret
    authenticationSecondRadiusSharedSecret string
    Second RADIUS shared secret
    coaPort number
    CoA port
    description string
    Description
    dtlsDnsName string
    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 GetDeviceIp[]
    List of IP subnets
    modelName string
    Model name
    name string
    The name of the network device
    networkDeviceGroups string[]
    List of network device groups, e.g. Device Type#All Device Types#ACCESS
    profileName string
    Profile name
    snmpLinkTrapQuery boolean
    SNMP link Trap Query
    snmpMacTrapQuery boolean
    SNMP MAC Trap Query
    snmpOriginatingPolicyServiceNode string
    Originating Policy Services Node
    snmpPollingInterval number
    SNMP Polling Interval in seconds
    snmpRoCommunity string
    SNMP RO Community
    snmpVersion string
    SNMP version
    softwareVersion string
    Software version
    tacacsConnectModeOptions string
    Connect mode options
    tacacsSharedSecret string
    Shared secret
    trustsecCoaSourceHost string
    CoA source host
    trustsecDeviceId string
    TrustSec device ID
    trustsecDevicePassword string
    TrustSec device password
    trustsecDownloadEnviromentDataEveryXSeconds number
    Download environment data every X seconds
    trustsecDownloadPeerAuthorizationPolicyEveryXSeconds number
    Download peer authorization policy every X seconds
    trustsecDownloadSgaclListsEveryXSeconds number
    Download SGACL lists every X seconds
    trustsecEnableModePassword string
    Enable mode password
    trustsecExecModePassword string
    EXEC mode password
    trustsecExecModeUsername string
    EXEC mode username
    trustsecIncludeWhenDeployingSgtUpdates boolean
    Include this device when deploying Security Group Tag Mapping Updates
    trustsecOtherSgaDevicesToTrustThisDevice boolean
    Other TrustSec devices to trust this device
    trustsecReAuthenticationEveryXSeconds number
    Re-authenticate every X seconds
    trustsecRestApiPassword string
    REST API password
    trustsecRestApiUsername string
    REST API username
    trustsecSendConfigurationToDevice boolean
    Send configuration to device
    trustsecSendConfigurationToDeviceUsing string
    Send configuration to device using
    authentication_dtls_required bool
    Enforce use of DTLS
    authentication_enable_key_wrap bool
    Enable key wrap
    authentication_enable_multi_secret bool
    Enable multiple RADIUS shared secrets
    authentication_encryption_key str
    Encryption key
    authentication_encryption_key_format str
    Key input format
    authentication_message_authenticator_code_key str
    Message authenticator code key
    authentication_network_protocol str
    Network protocol
    authentication_radius_shared_secret str
    RADIUS shared secret
    authentication_second_radius_shared_secret str
    Second RADIUS shared secret
    coa_port int
    CoA port
    description str
    Description
    dtls_dns_name str
    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[GetDeviceIp]
    List of IP subnets
    model_name str
    Model name
    name str
    The name of the network device
    network_device_groups Sequence[str]
    List of network device groups, e.g. Device Type#All Device Types#ACCESS
    profile_name str
    Profile name
    snmp_link_trap_query bool
    SNMP link Trap Query
    snmp_mac_trap_query bool
    SNMP MAC Trap Query
    snmp_originating_policy_service_node str
    Originating Policy Services Node
    snmp_polling_interval int
    SNMP Polling Interval in seconds
    snmp_ro_community str
    SNMP RO Community
    snmp_version str
    SNMP version
    software_version str
    Software version
    tacacs_connect_mode_options str
    Connect mode options
    tacacs_shared_secret str
    Shared secret
    trustsec_coa_source_host str
    CoA source host
    trustsec_device_id str
    TrustSec device ID
    trustsec_device_password str
    TrustSec device password
    trustsec_download_enviroment_data_every_x_seconds int
    Download environment data every X seconds
    trustsec_download_peer_authorization_policy_every_x_seconds int
    Download peer authorization policy every X seconds
    trustsec_download_sgacl_lists_every_x_seconds int
    Download SGACL lists every X seconds
    trustsec_enable_mode_password str
    Enable mode password
    trustsec_exec_mode_password str
    EXEC mode password
    trustsec_exec_mode_username str
    EXEC mode username
    trustsec_include_when_deploying_sgt_updates bool
    Include this device when deploying Security Group Tag Mapping Updates
    trustsec_other_sga_devices_to_trust_this_device bool
    Other TrustSec devices to trust this device
    trustsec_re_authentication_every_x_seconds int
    Re-authenticate every X seconds
    trustsec_rest_api_password str
    REST API password
    trustsec_rest_api_username str
    REST API username
    trustsec_send_configuration_to_device bool
    Send configuration to device
    trustsec_send_configuration_to_device_using str
    Send configuration to device using
    authenticationDtlsRequired Boolean
    Enforce use of DTLS
    authenticationEnableKeyWrap Boolean
    Enable key wrap
    authenticationEnableMultiSecret Boolean
    Enable multiple RADIUS shared secrets
    authenticationEncryptionKey String
    Encryption key
    authenticationEncryptionKeyFormat String
    Key input format
    authenticationMessageAuthenticatorCodeKey String
    Message authenticator code key
    authenticationNetworkProtocol String
    Network protocol
    authenticationRadiusSharedSecret String
    RADIUS shared secret
    authenticationSecondRadiusSharedSecret String
    Second RADIUS shared secret
    coaPort Number
    CoA port
    description String
    Description
    dtlsDnsName String
    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
    networkDeviceGroups List<String>
    List of network device groups, e.g. Device Type#All Device Types#ACCESS
    profileName String
    Profile name
    snmpLinkTrapQuery Boolean
    SNMP link Trap Query
    snmpMacTrapQuery Boolean
    SNMP MAC Trap Query
    snmpOriginatingPolicyServiceNode String
    Originating Policy Services Node
    snmpPollingInterval Number
    SNMP Polling Interval in seconds
    snmpRoCommunity String
    SNMP RO Community
    snmpVersion String
    SNMP version
    softwareVersion String
    Software version
    tacacsConnectModeOptions String
    Connect mode options
    tacacsSharedSecret String
    Shared secret
    trustsecCoaSourceHost String
    CoA source host
    trustsecDeviceId String
    TrustSec device ID
    trustsecDevicePassword String
    TrustSec device password
    trustsecDownloadEnviromentDataEveryXSeconds Number
    Download environment data every X seconds
    trustsecDownloadPeerAuthorizationPolicyEveryXSeconds Number
    Download peer authorization policy every X seconds
    trustsecDownloadSgaclListsEveryXSeconds Number
    Download SGACL lists every X seconds
    trustsecEnableModePassword String
    Enable mode password
    trustsecExecModePassword String
    EXEC mode password
    trustsecExecModeUsername String
    EXEC mode username
    trustsecIncludeWhenDeployingSgtUpdates Boolean
    Include this device when deploying Security Group Tag Mapping Updates
    trustsecOtherSgaDevicesToTrustThisDevice Boolean
    Other TrustSec devices to trust this device
    trustsecReAuthenticationEveryXSeconds Number
    Re-authenticate every X seconds
    trustsecRestApiPassword String
    REST API password
    trustsecRestApiUsername String
    REST API username
    trustsecSendConfigurationToDevice Boolean
    Send configuration to device
    trustsecSendConfigurationToDeviceUsing String
    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 ise Terraform Provider.
    ise logo
    Cisco ISE v0.1.4 published on Friday, May 31, 2024 by Pulumi