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

konnect.getApiProductDocument

Explore with Pulumi AI

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

    Using getApiProductDocument

    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 getApiProductDocument(args: GetApiProductDocumentArgs, opts?: InvokeOptions): Promise<GetApiProductDocumentResult>
    function getApiProductDocumentOutput(args: GetApiProductDocumentOutputArgs, opts?: InvokeOptions): Output<GetApiProductDocumentResult>
    def get_api_product_document(api_product_id: Optional[str] = None,
                                 id: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetApiProductDocumentResult
    def get_api_product_document_output(api_product_id: Optional[pulumi.Input[str]] = None,
                                 id: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetApiProductDocumentResult]
    func LookupApiProductDocument(ctx *Context, args *LookupApiProductDocumentArgs, opts ...InvokeOption) (*LookupApiProductDocumentResult, error)
    func LookupApiProductDocumentOutput(ctx *Context, args *LookupApiProductDocumentOutputArgs, opts ...InvokeOption) LookupApiProductDocumentResultOutput

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

    public static class GetApiProductDocument 
    {
        public static Task<GetApiProductDocumentResult> InvokeAsync(GetApiProductDocumentArgs args, InvokeOptions? opts = null)
        public static Output<GetApiProductDocumentResult> Invoke(GetApiProductDocumentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetApiProductDocumentResult> getApiProductDocument(GetApiProductDocumentArgs args, InvokeOptions options)
    public static Output<GetApiProductDocumentResult> getApiProductDocument(GetApiProductDocumentArgs args, InvokeOptions options)
    
    fn::invoke:
      function: konnect:index/getApiProductDocument:getApiProductDocument
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ApiProductId string
    Id string
    ApiProductId string
    Id string
    apiProductId String
    id String
    apiProductId string
    id string
    apiProductId String
    id String

    getApiProductDocument Result

    The following output properties are available:

    apiProductId String
    content String
    createdAt String
    id String
    metadata Property Map
    parentDocumentId String
    slug String
    status String
    title String
    updatedAt 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