netbox 3.10.0 published on Monday, Apr 14, 2025 by e-breuninger
netbox.getDeviceInterfaces
Explore with Pulumi AI
netbox 3.10.0 published on Monday, Apr 14, 2025 by e-breuninger
Using getDeviceInterfaces
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 getDeviceInterfaces(args: GetDeviceInterfacesArgs, opts?: InvokeOptions): Promise<GetDeviceInterfacesResult>
function getDeviceInterfacesOutput(args: GetDeviceInterfacesOutputArgs, opts?: InvokeOptions): Output<GetDeviceInterfacesResult>
def get_device_interfaces(filters: Optional[Sequence[GetDeviceInterfacesFilter]] = None,
id: Optional[str] = None,
name_regex: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDeviceInterfacesResult
def get_device_interfaces_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetDeviceInterfacesFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDeviceInterfacesResult]
func GetDeviceInterfaces(ctx *Context, args *GetDeviceInterfacesArgs, opts ...InvokeOption) (*GetDeviceInterfacesResult, error)
func GetDeviceInterfacesOutput(ctx *Context, args *GetDeviceInterfacesOutputArgs, opts ...InvokeOption) GetDeviceInterfacesResultOutput
> Note: This function is named GetDeviceInterfaces
in the Go SDK.
public static class GetDeviceInterfaces
{
public static Task<GetDeviceInterfacesResult> InvokeAsync(GetDeviceInterfacesArgs args, InvokeOptions? opts = null)
public static Output<GetDeviceInterfacesResult> Invoke(GetDeviceInterfacesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDeviceInterfacesResult> getDeviceInterfaces(GetDeviceInterfacesArgs args, InvokeOptions options)
public static Output<GetDeviceInterfacesResult> getDeviceInterfaces(GetDeviceInterfacesArgs args, InvokeOptions options)
fn::invoke:
function: netbox:index/getDeviceInterfaces:getDeviceInterfaces
arguments:
# arguments dictionary
The following arguments are supported:
- Filters
List<Get
Device Interfaces Filter> - Id string
- The ID of this resource.
- Name
Regex string
- Filters
[]Get
Device Interfaces Filter - Id string
- The ID of this resource.
- Name
Regex string
- filters
List<Get
Device Interfaces Filter> - id String
- The ID of this resource.
- name
Regex String
- filters
Get
Device Interfaces Filter[] - id string
- The ID of this resource.
- name
Regex string
- filters
Sequence[Get
Device Interfaces Filter] - id str
- The ID of this resource.
- name_
regex str
- filters List<Property Map>
- id String
- The ID of this resource.
- name
Regex String
getDeviceInterfaces Result
The following output properties are available:
- Id string
- The ID of this resource.
- Interfaces
List<Get
Device Interfaces Interface> - Filters
List<Get
Device Interfaces Filter> - Name
Regex string
- Id string
- The ID of this resource.
- Interfaces
[]Get
Device Interfaces Interface - Filters
[]Get
Device Interfaces Filter - Name
Regex string
- id String
- The ID of this resource.
- interfaces
List<Get
Device Interfaces Interface> - filters
List<Get
Device Interfaces Filter> - name
Regex String
- id string
- The ID of this resource.
- interfaces
Get
Device Interfaces Interface[] - filters
Get
Device Interfaces Filter[] - name
Regex string
- id str
- The ID of this resource.
- interfaces
Sequence[Get
Device Interfaces Interface] - filters
Sequence[Get
Device Interfaces Filter] - name_
regex str
- id String
- The ID of this resource.
- interfaces List<Property Map>
- filters List<Property Map>
- name
Regex String
Supporting Types
GetDeviceInterfacesFilter
GetDeviceInterfacesInterface
- Description string
- Device
Id double - Enabled bool
- Id double
- Mac
Address string - Mode Dictionary<string, string>
- Mtu double
- Name string
- Tag
Ids List<double> - Tagged
Vlans List<GetDevice Interfaces Interface Tagged Vlan> - Untagged
Vlans List<GetDevice Interfaces Interface Untagged Vlan>
- Description string
- Device
Id float64 - Enabled bool
- Id float64
- Mac
Address string - Mode map[string]string
- Mtu float64
- Name string
- Tag
Ids []float64 - Tagged
Vlans []GetDevice Interfaces Interface Tagged Vlan - Untagged
Vlans []GetDevice Interfaces Interface Untagged Vlan
- description String
- device
Id Double - enabled Boolean
- id Double
- mac
Address String - mode Map<String,String>
- mtu Double
- name String
- tag
Ids List<Double> - tagged
Vlans List<GetDevice Interfaces Interface Tagged Vlan> - untagged
Vlans List<GetDevice Interfaces Interface Untagged Vlan>
- description string
- device
Id number - enabled boolean
- id number
- mac
Address string - mode {[key: string]: string}
- mtu number
- name string
- tag
Ids number[] - tagged
Vlans GetDevice Interfaces Interface Tagged Vlan[] - untagged
Vlans GetDevice Interfaces Interface Untagged Vlan[]
- description str
- device_
id float - enabled bool
- id float
- mac_
address str - mode Mapping[str, str]
- mtu float
- name str
- tag_
ids Sequence[float] - tagged_
vlans Sequence[GetDevice Interfaces Interface Tagged Vlan] - untagged_
vlans Sequence[GetDevice Interfaces Interface Untagged Vlan]
- description String
- device
Id Number - enabled Boolean
- id Number
- mac
Address String - mode Map<String>
- mtu Number
- name String
- tag
Ids List<Number> - tagged
Vlans List<Property Map> - untagged
Vlans List<Property Map>
GetDeviceInterfacesInterfaceTaggedVlan
GetDeviceInterfacesInterfaceUntaggedVlan
Package Details
- Repository
- netbox e-breuninger/terraform-provider-netbox
- License
- Notes
- This Pulumi package is based on the
netbox
Terraform Provider.
netbox 3.10.0 published on Monday, Apr 14, 2025 by e-breuninger