Cisco ISE v0.1.4 published on Friday, May 31, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: ise:network/getDevice:getDevice
arguments:
# arguments dictionary
The following arguments are supported:
getDevice Result
The following output properties are available:
- 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 stringKey - Encryption key
- Authentication
Encryption stringKey Format - Key input format
- Authentication
Message stringAuthenticator Code Key - Message authenticator code key
- Authentication
Network stringProtocol - Network protocol
- string
- RADIUS shared secret
- string
- Second RADIUS shared secret
- Coa
Port int - CoA port
- Description string
- Description
- Dtls
Dns 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<Get
Device Ip> - List of IP subnets
- Model
Name string - Model name
- Name string
- The name of the network device
- Network
Device List<string>Groups - List of network device groups, e.g.
Device Type#All Device Types#ACCESS
- Profile
Name string - Profile name
- Snmp
Link boolTrap Query - SNMP link Trap Query
- Snmp
Mac boolTrap Query - SNMP MAC Trap Query
- Snmp
Originating stringPolicy Service Node - Originating Policy Services Node
- Snmp
Polling intInterval - SNMP Polling Interval in seconds
- Snmp
Ro stringCommunity - SNMP RO Community
- Snmp
Version string - SNMP version
- Software
Version string - Software version
- Tacacs
Connect stringMode Options - Connect mode options
- string
- Shared secret
- Trustsec
Coa stringSource Host - CoA source host
- Trustsec
Device stringId - TrustSec device ID
- Trustsec
Device stringPassword - TrustSec device password
- Trustsec
Download intEnviroment Data Every XSeconds - Download environment data every X seconds
- int
- Download peer authorization policy every X seconds
- Trustsec
Download intSgacl Lists Every XSeconds - Download SGACL lists every X seconds
- Trustsec
Enable stringMode Password - Enable mode password
- Trustsec
Exec stringMode Password - EXEC mode password
- Trustsec
Exec stringMode 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 XSeconds - Re-authenticate every X seconds
- Trustsec
Rest stringApi Password - REST API password
- Trustsec
Rest stringApi Username - REST API username
- Trustsec
Send boolConfiguration To Device - Send configuration to device
- Trustsec
Send 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 stringKey - Encryption key
- Authentication
Encryption stringKey Format - Key input format
- Authentication
Message stringAuthenticator Code Key - Message authenticator code key
- Authentication
Network stringProtocol - Network protocol
- string
- RADIUS shared secret
- string
- Second RADIUS shared secret
- Coa
Port int - CoA port
- Description string
- Description
- Dtls
Dns 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
[]Get
Device Ip - List of IP subnets
- Model
Name string - Model name
- Name string
- The name of the network device
- Network
Device []stringGroups - List of network device groups, e.g.
Device Type#All Device Types#ACCESS
- Profile
Name string - Profile name
- Snmp
Link boolTrap Query - SNMP link Trap Query
- Snmp
Mac boolTrap Query - SNMP MAC Trap Query
- Snmp
Originating stringPolicy Service Node - Originating Policy Services Node
- Snmp
Polling intInterval - SNMP Polling Interval in seconds
- Snmp
Ro stringCommunity - SNMP RO Community
- Snmp
Version string - SNMP version
- Software
Version string - Software version
- Tacacs
Connect stringMode Options - Connect mode options
- string
- Shared secret
- Trustsec
Coa stringSource Host - CoA source host
- Trustsec
Device stringId - TrustSec device ID
- Trustsec
Device stringPassword - TrustSec device password
- Trustsec
Download intEnviroment Data Every XSeconds - Download environment data every X seconds
- int
- Download peer authorization policy every X seconds
- Trustsec
Download intSgacl Lists Every XSeconds - Download SGACL lists every X seconds
- Trustsec
Enable stringMode Password - Enable mode password
- Trustsec
Exec stringMode Password - EXEC mode password
- Trustsec
Exec stringMode 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 XSeconds - Re-authenticate every X seconds
- Trustsec
Rest stringApi Password - REST API password
- Trustsec
Rest stringApi Username - REST API username
- Trustsec
Send boolConfiguration To Device - Send configuration to device
- Trustsec
Send stringConfiguration To Device Using - Send configuration to device using
- authentication
Dtls BooleanRequired - Enforce use of DTLS
- authentication
Enable BooleanKey Wrap - Enable key wrap
- authentication
Enable BooleanMulti Secret - Enable multiple RADIUS shared secrets
- authentication
Encryption StringKey - Encryption key
- authentication
Encryption StringKey Format - Key input format
- authentication
Message StringAuthenticator Code Key - Message authenticator code key
- authentication
Network StringProtocol - Network protocol
- String
- RADIUS shared secret
- String
- Second RADIUS shared secret
- coa
Port Integer - CoA port
- description String
- Description
- dtls
Dns 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<Get
Device Ip> - List of IP subnets
- model
Name String - Model name
- name String
- The name of the network device
- network
Device List<String>Groups - List of network device groups, e.g.
Device Type#All Device Types#ACCESS
- profile
Name String - Profile name
- snmp
Link BooleanTrap Query - SNMP link Trap Query
- snmp
Mac BooleanTrap Query - SNMP MAC Trap Query
- snmp
Originating StringPolicy Service Node - Originating Policy Services Node
- snmp
Polling IntegerInterval - SNMP Polling Interval in seconds
- snmp
Ro StringCommunity - SNMP RO Community
- snmp
Version String - SNMP version
- software
Version String - Software version
- tacacs
Connect StringMode Options - Connect mode options
- String
- Shared secret
- trustsec
Coa StringSource Host - CoA source host
- trustsec
Device StringId - TrustSec device ID
- trustsec
Device StringPassword - TrustSec device password
- trustsec
Download IntegerEnviroment Data Every XSeconds - Download environment data every X seconds
- Integer
- Download peer authorization policy every X seconds
- trustsec
Download IntegerSgacl Lists Every XSeconds - Download SGACL lists every X seconds
- trustsec
Enable StringMode Password - Enable mode password
- trustsec
Exec StringMode Password - EXEC mode password
- trustsec
Exec StringMode Username - EXEC mode username
- trustsec
Include BooleanWhen Deploying Sgt Updates - Include this device when deploying Security Group Tag Mapping Updates
- trustsec
Other BooleanSga Devices To Trust This Device - Other TrustSec devices to trust this device
- trustsec
Re IntegerAuthentication Every XSeconds - Re-authenticate every X seconds
- trustsec
Rest StringApi Password - REST API password
- trustsec
Rest StringApi Username - REST API username
- trustsec
Send BooleanConfiguration To Device - Send configuration to device
- trustsec
Send StringConfiguration To Device Using - Send configuration to device using
- authentication
Dtls booleanRequired - Enforce use of DTLS
- authentication
Enable booleanKey Wrap - Enable key wrap
- authentication
Enable booleanMulti Secret - Enable multiple RADIUS shared secrets
- authentication
Encryption stringKey - Encryption key
- authentication
Encryption stringKey Format - Key input format
- authentication
Message stringAuthenticator Code Key - Message authenticator code key
- authentication
Network stringProtocol - Network protocol
- string
- RADIUS shared secret
- string
- Second RADIUS shared secret
- coa
Port number - CoA port
- description string
- Description
- dtls
Dns 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
Get
Device Ip[] - List of IP subnets
- model
Name string - Model name
- name string
- The name of the network device
- network
Device string[]Groups - List of network device groups, e.g.
Device Type#All Device Types#ACCESS
- profile
Name string - Profile name
- snmp
Link booleanTrap Query - SNMP link Trap Query
- snmp
Mac booleanTrap Query - SNMP MAC Trap Query
- snmp
Originating stringPolicy Service Node - Originating Policy Services Node
- snmp
Polling numberInterval - SNMP Polling Interval in seconds
- snmp
Ro stringCommunity - SNMP RO Community
- snmp
Version string - SNMP version
- software
Version string - Software version
- tacacs
Connect stringMode Options - Connect mode options
- string
- Shared secret
- trustsec
Coa stringSource Host - CoA source host
- trustsec
Device stringId - TrustSec device ID
- trustsec
Device stringPassword - TrustSec device password
- trustsec
Download numberEnviroment Data Every XSeconds - Download environment data every X seconds
- number
- Download peer authorization policy every X seconds
- trustsec
Download numberSgacl Lists Every XSeconds - Download SGACL lists every X seconds
- trustsec
Enable stringMode Password - Enable mode password
- trustsec
Exec stringMode Password - EXEC mode password
- trustsec
Exec stringMode Username - EXEC mode username
- trustsec
Include booleanWhen Deploying Sgt Updates - Include this device when deploying Security Group Tag Mapping Updates
- trustsec
Other booleanSga Devices To Trust This Device - Other TrustSec devices to trust this device
- trustsec
Re numberAuthentication Every XSeconds - Re-authenticate every X seconds
- trustsec
Rest stringApi Password - REST API password
- trustsec
Rest stringApi Username - REST API username
- trustsec
Send booleanConfiguration To Device - Send configuration to device
- trustsec
Send 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[Get
Device 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
- authentication
Dtls BooleanRequired - Enforce use of DTLS
- authentication
Enable BooleanKey Wrap - Enable key wrap
- authentication
Enable BooleanMulti Secret - Enable multiple RADIUS shared secrets
- authentication
Encryption StringKey - Encryption key
- authentication
Encryption StringKey Format - Key input format
- authentication
Message StringAuthenticator Code Key - Message authenticator code key
- authentication
Network StringProtocol - Network protocol
- String
- RADIUS shared secret
- String
- Second RADIUS shared secret
- coa
Port Number - CoA port
- description String
- Description
- dtls
Dns 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
- model
Name String - Model name
- name String
- The name of the network device
- network
Device List<String>Groups - List of network device groups, e.g.
Device Type#All Device Types#ACCESS
- profile
Name String - Profile name
- snmp
Link BooleanTrap Query - SNMP link Trap Query
- snmp
Mac BooleanTrap Query - SNMP MAC Trap Query
- snmp
Originating StringPolicy Service Node - Originating Policy Services Node
- snmp
Polling NumberInterval - SNMP Polling Interval in seconds
- snmp
Ro StringCommunity - SNMP RO Community
- snmp
Version String - SNMP version
- software
Version String - Software version
- tacacs
Connect StringMode Options - Connect mode options
- String
- Shared secret
- trustsec
Coa StringSource Host - CoA source host
- trustsec
Device StringId - TrustSec device ID
- trustsec
Device StringPassword - TrustSec device password
- trustsec
Download NumberEnviroment Data Every XSeconds - Download environment data every X seconds
- Number
- Download peer authorization policy every X seconds
- trustsec
Download NumberSgacl Lists Every XSeconds - Download SGACL lists every X seconds
- trustsec
Enable StringMode Password - Enable mode password
- trustsec
Exec StringMode Password - EXEC mode password
- trustsec
Exec StringMode Username - EXEC mode username
- trustsec
Include BooleanWhen Deploying Sgt Updates - Include this device when deploying Security Group Tag Mapping Updates
- trustsec
Other BooleanSga Devices To Trust This Device - Other TrustSec devices to trust this device
- trustsec
Re NumberAuthentication Every XSeconds - Re-authenticate every X seconds
- trustsec
Rest StringApi Password - REST API password
- trustsec
Rest StringApi Username - REST API username
- trustsec
Send BooleanConfiguration To Device - Send configuration to device
- trustsec
Send 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
- Ipaddress
Exclude 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
- Ipaddress
Exclude 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
- ipaddress
Exclude 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
- ipaddress
Exclude 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
- ipaddress
Exclude 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.