1. Packages
  2. Konnect Provider
  3. API Docs
  4. getGatewayPluginAiPromptDecorator
konnect 2.5.0 published on Tuesday, Apr 15, 2025 by kong

konnect.getGatewayPluginAiPromptDecorator

Explore with Pulumi AI

Using getGatewayPluginAiPromptDecorator

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 getGatewayPluginAiPromptDecorator(args: GetGatewayPluginAiPromptDecoratorArgs, opts?: InvokeOptions): Promise<GetGatewayPluginAiPromptDecoratorResult>
function getGatewayPluginAiPromptDecoratorOutput(args: GetGatewayPluginAiPromptDecoratorOutputArgs, opts?: InvokeOptions): Output<GetGatewayPluginAiPromptDecoratorResult>
Copy
def get_gateway_plugin_ai_prompt_decorator(control_plane_id: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetGatewayPluginAiPromptDecoratorResult
def get_gateway_plugin_ai_prompt_decorator_output(control_plane_id: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetGatewayPluginAiPromptDecoratorResult]
Copy
func LookupGatewayPluginAiPromptDecorator(ctx *Context, args *LookupGatewayPluginAiPromptDecoratorArgs, opts ...InvokeOption) (*LookupGatewayPluginAiPromptDecoratorResult, error)
func LookupGatewayPluginAiPromptDecoratorOutput(ctx *Context, args *LookupGatewayPluginAiPromptDecoratorOutputArgs, opts ...InvokeOption) LookupGatewayPluginAiPromptDecoratorResultOutput
Copy

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

public static class GetGatewayPluginAiPromptDecorator 
{
    public static Task<GetGatewayPluginAiPromptDecoratorResult> InvokeAsync(GetGatewayPluginAiPromptDecoratorArgs args, InvokeOptions? opts = null)
    public static Output<GetGatewayPluginAiPromptDecoratorResult> Invoke(GetGatewayPluginAiPromptDecoratorInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetGatewayPluginAiPromptDecoratorResult> getGatewayPluginAiPromptDecorator(GetGatewayPluginAiPromptDecoratorArgs args, InvokeOptions options)
public static Output<GetGatewayPluginAiPromptDecoratorResult> getGatewayPluginAiPromptDecorator(GetGatewayPluginAiPromptDecoratorArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: konnect:index/getGatewayPluginAiPromptDecorator:getGatewayPluginAiPromptDecorator
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ControlPlaneId This property is required. string
ControlPlaneId This property is required. string
controlPlaneId This property is required. String
controlPlaneId This property is required. string
control_plane_id This property is required. str
controlPlaneId This property is required. String

getGatewayPluginAiPromptDecorator Result

The following output properties are available:

Supporting Types

GetGatewayPluginAiPromptDecoratorConfig

MaxRequestBodySize This property is required. double
max allowed body size allowed to be introspected
Prompts This property is required. GetGatewayPluginAiPromptDecoratorConfigPrompts
MaxRequestBodySize This property is required. float64
max allowed body size allowed to be introspected
Prompts This property is required. GetGatewayPluginAiPromptDecoratorConfigPrompts
maxRequestBodySize This property is required. Double
max allowed body size allowed to be introspected
prompts This property is required. GetGatewayPluginAiPromptDecoratorConfigPrompts
maxRequestBodySize This property is required. number
max allowed body size allowed to be introspected
prompts This property is required. GetGatewayPluginAiPromptDecoratorConfigPrompts
max_request_body_size This property is required. float
max allowed body size allowed to be introspected
prompts This property is required. GetGatewayPluginAiPromptDecoratorConfigPrompts
maxRequestBodySize This property is required. Number
max allowed body size allowed to be introspected
prompts This property is required. Property Map

GetGatewayPluginAiPromptDecoratorConfigPrompts

Appends This property is required. List<GetGatewayPluginAiPromptDecoratorConfigPromptsAppend>
Insert chat messages at the end of the chat message array. This array preserves exact order when adding messages.
Prepends This property is required. List<GetGatewayPluginAiPromptDecoratorConfigPromptsPrepend>
Insert chat messages at the beginning of the chat message array. This array preserves exact order when adding messages.
Appends This property is required. []GetGatewayPluginAiPromptDecoratorConfigPromptsAppend
Insert chat messages at the end of the chat message array. This array preserves exact order when adding messages.
Prepends This property is required. []GetGatewayPluginAiPromptDecoratorConfigPromptsPrepend
Insert chat messages at the beginning of the chat message array. This array preserves exact order when adding messages.
appends This property is required. List<GetGatewayPluginAiPromptDecoratorConfigPromptsAppend>
Insert chat messages at the end of the chat message array. This array preserves exact order when adding messages.
prepends This property is required. List<GetGatewayPluginAiPromptDecoratorConfigPromptsPrepend>
Insert chat messages at the beginning of the chat message array. This array preserves exact order when adding messages.
appends This property is required. GetGatewayPluginAiPromptDecoratorConfigPromptsAppend[]
Insert chat messages at the end of the chat message array. This array preserves exact order when adding messages.
prepends This property is required. GetGatewayPluginAiPromptDecoratorConfigPromptsPrepend[]
Insert chat messages at the beginning of the chat message array. This array preserves exact order when adding messages.
appends This property is required. Sequence[GetGatewayPluginAiPromptDecoratorConfigPromptsAppend]
Insert chat messages at the end of the chat message array. This array preserves exact order when adding messages.
prepends This property is required. Sequence[GetGatewayPluginAiPromptDecoratorConfigPromptsPrepend]
Insert chat messages at the beginning of the chat message array. This array preserves exact order when adding messages.
appends This property is required. List<Property Map>
Insert chat messages at the end of the chat message array. This array preserves exact order when adding messages.
prepends This property is required. List<Property Map>
Insert chat messages at the beginning of the chat message array. This array preserves exact order when adding messages.

GetGatewayPluginAiPromptDecoratorConfigPromptsAppend

Content This property is required. string
Role This property is required. string
Content This property is required. string
Role This property is required. string
content This property is required. String
role This property is required. String
content This property is required. string
role This property is required. string
content This property is required. str
role This property is required. str
content This property is required. String
role This property is required. String

GetGatewayPluginAiPromptDecoratorConfigPromptsPrepend

Content This property is required. string
Role This property is required. string
Content This property is required. string
Role This property is required. string
content This property is required. String
role This property is required. String
content This property is required. string
role This property is required. string
content This property is required. str
role This property is required. str
content This property is required. String
role This property is required. String

GetGatewayPluginAiPromptDecoratorConsumer

Id This property is required. string
Id This property is required. string
id This property is required. String
id This property is required. string
id This property is required. str
id This property is required. String

GetGatewayPluginAiPromptDecoratorConsumerGroup

Id This property is required. string
Id This property is required. string
id This property is required. String
id This property is required. string
id This property is required. str
id This property is required. String

GetGatewayPluginAiPromptDecoratorOrdering

after This property is required. Property Map
before This property is required. Property Map

GetGatewayPluginAiPromptDecoratorOrderingAfter

Accesses This property is required. List<string>
Accesses This property is required. []string
accesses This property is required. List<String>
accesses This property is required. string[]
accesses This property is required. Sequence[str]
accesses This property is required. List<String>

GetGatewayPluginAiPromptDecoratorOrderingBefore

Accesses This property is required. List<string>
Accesses This property is required. []string
accesses This property is required. List<String>
accesses This property is required. string[]
accesses This property is required. Sequence[str]
accesses This property is required. List<String>

GetGatewayPluginAiPromptDecoratorRoute

Id This property is required. string
Id This property is required. string
id This property is required. String
id This property is required. string
id This property is required. str
id This property is required. String

GetGatewayPluginAiPromptDecoratorService

Id This property is required. string
Id This property is required. string
id This property is required. String
id This property is required. string
id This property is required. str
id This property is required. String

Package Details

Repository
konnect kong/terraform-provider-konnect
License
Notes
This Pulumi package is based on the konnect Terraform Provider.