netbox 3.10.0 published on Monday, Apr 14, 2025 by e-breuninger
netbox.getInterfaces
Explore with Pulumi AI
netbox 3.10.0 published on Monday, Apr 14, 2025 by e-breuninger
Example Usage
Using getInterfaces
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 getInterfaces(args: GetInterfacesArgs, opts?: InvokeOptions): Promise<GetInterfacesResult>
function getInterfacesOutput(args: GetInterfacesOutputArgs, opts?: InvokeOptions): Output<GetInterfacesResult>
def get_interfaces(filters: Optional[Sequence[GetInterfacesFilter]] = None,
id: Optional[str] = None,
limit: Optional[float] = None,
name_regex: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInterfacesResult
def get_interfaces_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetInterfacesFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
limit: Optional[pulumi.Input[float]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInterfacesResult]
func GetInterfaces(ctx *Context, args *GetInterfacesArgs, opts ...InvokeOption) (*GetInterfacesResult, error)
func GetInterfacesOutput(ctx *Context, args *GetInterfacesOutputArgs, opts ...InvokeOption) GetInterfacesResultOutput
> Note: This function is named GetInterfaces
in the Go SDK.
public static class GetInterfaces
{
public static Task<GetInterfacesResult> InvokeAsync(GetInterfacesArgs args, InvokeOptions? opts = null)
public static Output<GetInterfacesResult> Invoke(GetInterfacesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInterfacesResult> getInterfaces(GetInterfacesArgs args, InvokeOptions options)
public static Output<GetInterfacesResult> getInterfaces(GetInterfacesArgs args, InvokeOptions options)
fn::invoke:
function: netbox:index/getInterfaces:getInterfaces
arguments:
# arguments dictionary
The following arguments are supported:
- Filters
List<Get
Interfaces Filter> - Id string
- The ID of this resource.
- Limit double
- The limit of objects to return from the API lookup. Defaults to
0
. - Name
Regex string
- Filters
[]Get
Interfaces Filter - Id string
- The ID of this resource.
- Limit float64
- The limit of objects to return from the API lookup. Defaults to
0
. - Name
Regex string
- filters
List<Get
Interfaces Filter> - id String
- The ID of this resource.
- limit Double
- The limit of objects to return from the API lookup. Defaults to
0
. - name
Regex String
- filters
Get
Interfaces Filter[] - id string
- The ID of this resource.
- limit number
- The limit of objects to return from the API lookup. Defaults to
0
. - name
Regex string
- filters
Sequence[Get
Interfaces Filter] - id str
- The ID of this resource.
- limit float
- The limit of objects to return from the API lookup. Defaults to
0
. - name_
regex str
- filters List<Property Map>
- id String
- The ID of this resource.
- limit Number
- The limit of objects to return from the API lookup. Defaults to
0
. - name
Regex String
getInterfaces Result
The following output properties are available:
- Id string
- The ID of this resource.
- Interfaces
List<Get
Interfaces Interface> - Filters
List<Get
Interfaces Filter> - Limit double
- The limit of objects to return from the API lookup. Defaults to
0
. - Name
Regex string
- Id string
- The ID of this resource.
- Interfaces
[]Get
Interfaces Interface - Filters
[]Get
Interfaces Filter - Limit float64
- The limit of objects to return from the API lookup. Defaults to
0
. - Name
Regex string
- id String
- The ID of this resource.
- interfaces
List<Get
Interfaces Interface> - filters
List<Get
Interfaces Filter> - limit Double
- The limit of objects to return from the API lookup. Defaults to
0
. - name
Regex String
- id string
- The ID of this resource.
- interfaces
Get
Interfaces Interface[] - filters
Get
Interfaces Filter[] - limit number
- The limit of objects to return from the API lookup. Defaults to
0
. - name
Regex string
- id str
- The ID of this resource.
- interfaces
Sequence[Get
Interfaces Interface] - filters
Sequence[Get
Interfaces Filter] - limit float
- The limit of objects to return from the API lookup. Defaults to
0
. - name_
regex str
- id String
- The ID of this resource.
- interfaces List<Property Map>
- filters List<Property Map>
- limit Number
- The limit of objects to return from the API lookup. Defaults to
0
. - name
Regex String
Supporting Types
GetInterfacesFilter
GetInterfacesInterface
- Description string
- Enabled bool
- Id double
- Mac
Address string - Mode Dictionary<string, string>
- Mtu double
- Name string
- Tag
Ids List<double> - Tagged
Vlans List<GetInterfaces Interface Tagged Vlan> - Untagged
Vlans List<GetInterfaces Interface Untagged Vlan> - Vm
Id double
- Description string
- Enabled bool
- Id float64
- Mac
Address string - Mode map[string]string
- Mtu float64
- Name string
- Tag
Ids []float64 - Tagged
Vlans []GetInterfaces Interface Tagged Vlan - Untagged
Vlans []GetInterfaces Interface Untagged Vlan - Vm
Id float64
- description String
- enabled Boolean
- id Double
- mac
Address String - mode Map<String,String>
- mtu Double
- name String
- tag
Ids List<Double> - tagged
Vlans List<GetInterfaces Interface Tagged Vlan> - untagged
Vlans List<GetInterfaces Interface Untagged Vlan> - vm
Id Double
- description string
- enabled boolean
- id number
- mac
Address string - mode {[key: string]: string}
- mtu number
- name string
- tag
Ids number[] - tagged
Vlans GetInterfaces Interface Tagged Vlan[] - untagged
Vlans GetInterfaces Interface Untagged Vlan[] - vm
Id number
- description str
- enabled bool
- id float
- mac_
address str - mode Mapping[str, str]
- mtu float
- name str
- tag_
ids Sequence[float] - tagged_
vlans Sequence[GetInterfaces Interface Tagged Vlan] - untagged_
vlans Sequence[GetInterfaces Interface Untagged Vlan] - vm_
id float
- description String
- 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> - vm
Id Number
GetInterfacesInterfaceTaggedVlan
GetInterfacesInterfaceUntaggedVlan
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