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
This property is required. string - Device
Id This property is required. double - Enabled
This property is required. bool - Id
This property is required. double - Mac
Address This property is required. string - Mode
This property is required. Dictionary<string, string> - Mtu
This property is required. double - Name
This property is required. string - Tag
Ids This property is required. List<double> - Tagged
Vlans This property is required. List<GetDevice Interfaces Interface Tagged Vlan> - Untagged
Vlans This property is required. List<GetDevice Interfaces Interface Untagged Vlan>
- Description
This property is required. string - Device
Id This property is required. float64 - Enabled
This property is required. bool - Id
This property is required. float64 - Mac
Address This property is required. string - Mode
This property is required. map[string]string - Mtu
This property is required. float64 - Name
This property is required. string - Tag
Ids This property is required. []float64 - Tagged
Vlans This property is required. []GetDevice Interfaces Interface Tagged Vlan - Untagged
Vlans This property is required. []GetDevice Interfaces Interface Untagged Vlan
- description
This property is required. String - device
Id This property is required. Double - enabled
This property is required. Boolean - id
This property is required. Double - mac
Address This property is required. String - mode
This property is required. Map<String,String> - mtu
This property is required. Double - name
This property is required. String - tag
Ids This property is required. List<Double> - tagged
Vlans This property is required. List<GetDevice Interfaces Interface Tagged Vlan> - untagged
Vlans This property is required. List<GetDevice Interfaces Interface Untagged Vlan>
- description
This property is required. string - device
Id This property is required. number - enabled
This property is required. boolean - id
This property is required. number - mac
Address This property is required. string - mode
This property is required. {[key: string]: string} - mtu
This property is required. number - name
This property is required. string - tag
Ids This property is required. number[] - tagged
Vlans This property is required. GetDevice Interfaces Interface Tagged Vlan[] - untagged
Vlans This property is required. GetDevice Interfaces Interface Untagged Vlan[]
- description
This property is required. str - device_
id This property is required. float - enabled
This property is required. bool - id
This property is required. float - mac_
address This property is required. str - mode
This property is required. Mapping[str, str] - mtu
This property is required. float - name
This property is required. str - tag_
ids This property is required. Sequence[float] - tagged_
vlans This property is required. Sequence[GetDevice Interfaces Interface Tagged Vlan] - untagged_
vlans This property is required. Sequence[GetDevice Interfaces Interface Untagged Vlan]
- description
This property is required. String - device
Id This property is required. Number - enabled
This property is required. Boolean - id
This property is required. Number - mac
Address This property is required. String - mode
This property is required. Map<String> - mtu
This property is required. Number - name
This property is required. String - tag
Ids This property is required. List<Number> - tagged
Vlans This property is required. List<Property Map> - untagged
Vlans This property is required. 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