netbox 3.10.0 published on Monday, Apr 14, 2025 by e-breuninger
netbox.getRouteTarget
Explore with Pulumi AI
netbox 3.10.0 published on Monday, Apr 14, 2025 by e-breuninger
Using getRouteTarget
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 getRouteTarget(args: GetRouteTargetArgs, opts?: InvokeOptions): Promise<GetRouteTargetResult>
function getRouteTargetOutput(args: GetRouteTargetOutputArgs, opts?: InvokeOptions): Output<GetRouteTargetResult>
def get_route_target(id: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetRouteTargetResult
def get_route_target_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRouteTargetResult]
func LookupRouteTarget(ctx *Context, args *LookupRouteTargetArgs, opts ...InvokeOption) (*LookupRouteTargetResult, error)
func LookupRouteTargetOutput(ctx *Context, args *LookupRouteTargetOutputArgs, opts ...InvokeOption) LookupRouteTargetResultOutput
> Note: This function is named LookupRouteTarget
in the Go SDK.
public static class GetRouteTarget
{
public static Task<GetRouteTargetResult> InvokeAsync(GetRouteTargetArgs args, InvokeOptions? opts = null)
public static Output<GetRouteTargetResult> Invoke(GetRouteTargetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRouteTargetResult> getRouteTarget(GetRouteTargetArgs args, InvokeOptions options)
public static Output<GetRouteTargetResult> getRouteTarget(GetRouteTargetArgs args, InvokeOptions options)
fn::invoke:
function: netbox:index/getRouteTarget:getRouteTarget
arguments:
# arguments dictionary
The following arguments are supported:
getRouteTarget Result
The following output properties are available:
- Description string
- Id string
- The ID of this resource.
- Name string
- Tenant
Id double - List<string>
- Description string
- Id string
- The ID of this resource.
- Name string
- Tenant
Id float64 - []string
- description String
- id String
- The ID of this resource.
- name String
- tenant
Id Double - List<String>
- description string
- id string
- The ID of this resource.
- name string
- tenant
Id number - string[]
- description str
- id str
- The ID of this resource.
- name str
- tenant_
id float - Sequence[str]
- description String
- id String
- The ID of this resource.
- name String
- tenant
Id Number - List<String>
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