1. Packages
  2. Konnect Provider
  3. API Docs
  4. getGatewayTarget
konnect 2.4.1 published on Thursday, Mar 13, 2025 by kong

konnect.getGatewayTarget

Explore with Pulumi AI

konnect logo
konnect 2.4.1 published on Thursday, Mar 13, 2025 by kong

    Using getGatewayTarget

    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 getGatewayTarget(args: GetGatewayTargetArgs, opts?: InvokeOptions): Promise<GetGatewayTargetResult>
    function getGatewayTargetOutput(args: GetGatewayTargetOutputArgs, opts?: InvokeOptions): Output<GetGatewayTargetResult>
    def get_gateway_target(control_plane_id: Optional[str] = None,
                           upstream_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetGatewayTargetResult
    def get_gateway_target_output(control_plane_id: Optional[pulumi.Input[str]] = None,
                           upstream_id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetGatewayTargetResult]
    func LookupGatewayTarget(ctx *Context, args *LookupGatewayTargetArgs, opts ...InvokeOption) (*LookupGatewayTargetResult, error)
    func LookupGatewayTargetOutput(ctx *Context, args *LookupGatewayTargetOutputArgs, opts ...InvokeOption) LookupGatewayTargetResultOutput

    > Note: This function is named LookupGatewayTarget in the Go SDK.

    public static class GetGatewayTarget 
    {
        public static Task<GetGatewayTargetResult> InvokeAsync(GetGatewayTargetArgs args, InvokeOptions? opts = null)
        public static Output<GetGatewayTargetResult> Invoke(GetGatewayTargetInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGatewayTargetResult> getGatewayTarget(GetGatewayTargetArgs args, InvokeOptions options)
    public static Output<GetGatewayTargetResult> getGatewayTarget(GetGatewayTargetArgs args, InvokeOptions options)
    
    fn::invoke:
      function: konnect:index/getGatewayTarget:getGatewayTarget
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getGatewayTarget Result

    The following output properties are available:

    ControlPlaneId string
    CreatedAt double
    Id string
    Tags List<string>
    Target string
    UpdatedAt double
    Upstream GetGatewayTargetUpstream
    UpstreamId string
    Weight double
    ControlPlaneId string
    CreatedAt float64
    Id string
    Tags []string
    Target string
    UpdatedAt float64
    Upstream GetGatewayTargetUpstream
    UpstreamId string
    Weight float64
    controlPlaneId String
    createdAt Double
    id String
    tags List<String>
    target String
    updatedAt Double
    upstream GetGatewayTargetUpstream
    upstreamId String
    weight Double
    controlPlaneId String
    createdAt Number
    id String
    tags List<String>
    target String
    updatedAt Number
    upstream Property Map
    upstreamId String
    weight Number

    Supporting Types

    GetGatewayTargetUpstream

    Id string
    Id string
    id String
    id string
    id str
    id String

    Package Details

    Repository
    konnect kong/terraform-provider-konnect
    License
    Notes
    This Pulumi package is based on the konnect Terraform Provider.
    konnect logo
    konnect 2.4.1 published on Thursday, Mar 13, 2025 by kong