1. Packages
  2. Netbox Provider
  3. API Docs
  4. getRouteTarget
netbox 3.10.0 published on Monday, Apr 14, 2025 by e-breuninger

netbox.getRouteTarget

Explore with Pulumi AI

netbox logo
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:

    Name string
    Id string
    The ID of this resource.
    Tags List<string>
    Name string
    Id string
    The ID of this resource.
    Tags []string
    name String
    id String
    The ID of this resource.
    tags List<String>
    name string
    id string
    The ID of this resource.
    tags string[]
    name str
    id str
    The ID of this resource.
    tags Sequence[str]
    name String
    id String
    The ID of this resource.
    tags List<String>

    getRouteTarget Result

    The following output properties are available:

    Description string
    Id string
    The ID of this resource.
    Name string
    TenantId double
    Tags List<string>
    Description string
    Id string
    The ID of this resource.
    Name string
    TenantId float64
    Tags []string
    description String
    id String
    The ID of this resource.
    name String
    tenantId Double
    tags List<String>
    description string
    id string
    The ID of this resource.
    name string
    tenantId number
    tags string[]
    description str
    id str
    The ID of this resource.
    name str
    tenant_id float
    tags Sequence[str]
    description String
    id String
    The ID of this resource.
    name String
    tenantId Number
    tags List<String>

    Package Details

    Repository
    netbox e-breuninger/terraform-provider-netbox
    License
    Notes
    This Pulumi package is based on the netbox Terraform Provider.
    netbox logo
    netbox 3.10.0 published on Monday, Apr 14, 2025 by e-breuninger