konnect.GatewayPluginAiPromptTemplate
GatewayPluginAiPromptTemplate Resource
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.konnect.GatewayPluginAiPromptTemplate;
import com.pulumi.konnect.GatewayPluginAiPromptTemplateArgs;
import com.pulumi.konnect.inputs.GatewayPluginAiPromptTemplateConfigArgs;
import com.pulumi.konnect.inputs.GatewayPluginAiPromptTemplateConsumerArgs;
import com.pulumi.konnect.inputs.GatewayPluginAiPromptTemplateConsumerGroupArgs;
import com.pulumi.konnect.inputs.GatewayPluginAiPromptTemplateOrderingArgs;
import com.pulumi.konnect.inputs.GatewayPluginAiPromptTemplateOrderingAfterArgs;
import com.pulumi.konnect.inputs.GatewayPluginAiPromptTemplateOrderingBeforeArgs;
import com.pulumi.konnect.inputs.GatewayPluginAiPromptTemplatePartialArgs;
import com.pulumi.konnect.inputs.GatewayPluginAiPromptTemplateRouteArgs;
import com.pulumi.konnect.inputs.GatewayPluginAiPromptTemplateServiceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var myGatewaypluginaiprompttemplate = new GatewayPluginAiPromptTemplate("myGatewaypluginaiprompttemplate", GatewayPluginAiPromptTemplateArgs.builder()
            .config(GatewayPluginAiPromptTemplateConfigArgs.builder()
                .allow_untemplated_requests(true)
                .log_original_request(false)
                .max_request_body_size(9)
                .templates(GatewayPluginAiPromptTemplateConfigTemplateArgs.builder()
                    .name("...my_name...")
                    .template("...my_template...")
                    .build())
                .build())
            .consumer(GatewayPluginAiPromptTemplateConsumerArgs.builder()
                .id("...my_id...")
                .build())
            .consumerGroup(GatewayPluginAiPromptTemplateConsumerGroupArgs.builder()
                .id("...my_id...")
                .build())
            .controlPlaneId("9524ec7d-36d9-465d-a8c5-83a3c9390458")
            .createdAt(1)
            .enabled(false)
            .gatewayPluginAiPromptTemplateId("...my_id...")
            .instanceName("...my_instance_name...")
            .ordering(GatewayPluginAiPromptTemplateOrderingArgs.builder()
                .after(GatewayPluginAiPromptTemplateOrderingAfterArgs.builder()
                    .access("...")
                    .build())
                .before(GatewayPluginAiPromptTemplateOrderingBeforeArgs.builder()
                    .access("...")
                    .build())
                .build())
            .partials(GatewayPluginAiPromptTemplatePartialArgs.builder()
                .id("...my_id...")
                .name("...my_name...")
                .path("...my_path...")
                .build())
            .protocols("https")
            .route(GatewayPluginAiPromptTemplateRouteArgs.builder()
                .id("...my_id...")
                .build())
            .service(GatewayPluginAiPromptTemplateServiceArgs.builder()
                .id("...my_id...")
                .build())
            .tags("...")
            .updatedAt(6)
            .build());
    }
}
resources:
  myGatewaypluginaiprompttemplate:
    type: konnect:GatewayPluginAiPromptTemplate
    properties:
      config:
        allow_untemplated_requests: true
        log_original_request: false
        max_request_body_size: 9
        templates:
          - name: '...my_name...'
            template: '...my_template...'
      consumer:
        id: '...my_id...'
      consumerGroup:
        id: '...my_id...'
      controlPlaneId: 9524ec7d-36d9-465d-a8c5-83a3c9390458
      createdAt: 1
      enabled: false
      gatewayPluginAiPromptTemplateId: '...my_id...'
      instanceName: '...my_instance_name...'
      ordering:
        after:
          access:
            - '...'
        before:
          access:
            - '...'
      partials:
        - id: '...my_id...'
          name: '...my_name...'
          path: '...my_path...'
      protocols:
        - https
      route:
        id: '...my_id...'
      service:
        id: '...my_id...'
      tags:
        - '...'
      updatedAt: 6
Create GatewayPluginAiPromptTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GatewayPluginAiPromptTemplate(name: string, args: GatewayPluginAiPromptTemplateArgs, opts?: CustomResourceOptions);@overload
def GatewayPluginAiPromptTemplate(resource_name: str,
                                  args: GatewayPluginAiPromptTemplateArgs,
                                  opts: Optional[ResourceOptions] = None)
@overload
def GatewayPluginAiPromptTemplate(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  control_plane_id: Optional[str] = None,
                                  config: Optional[GatewayPluginAiPromptTemplateConfigArgs] = None,
                                  gateway_plugin_ai_prompt_template_id: Optional[str] = None,
                                  consumer_group: Optional[GatewayPluginAiPromptTemplateConsumerGroupArgs] = None,
                                  created_at: Optional[float] = None,
                                  enabled: Optional[bool] = None,
                                  consumer: Optional[GatewayPluginAiPromptTemplateConsumerArgs] = None,
                                  instance_name: Optional[str] = None,
                                  ordering: Optional[GatewayPluginAiPromptTemplateOrderingArgs] = None,
                                  partials: Optional[Sequence[GatewayPluginAiPromptTemplatePartialArgs]] = None,
                                  protocols: Optional[Sequence[str]] = None,
                                  route: Optional[GatewayPluginAiPromptTemplateRouteArgs] = None,
                                  service: Optional[GatewayPluginAiPromptTemplateServiceArgs] = None,
                                  tags: Optional[Sequence[str]] = None,
                                  updated_at: Optional[float] = None)func NewGatewayPluginAiPromptTemplate(ctx *Context, name string, args GatewayPluginAiPromptTemplateArgs, opts ...ResourceOption) (*GatewayPluginAiPromptTemplate, error)public GatewayPluginAiPromptTemplate(string name, GatewayPluginAiPromptTemplateArgs args, CustomResourceOptions? opts = null)
public GatewayPluginAiPromptTemplate(String name, GatewayPluginAiPromptTemplateArgs args)
public GatewayPluginAiPromptTemplate(String name, GatewayPluginAiPromptTemplateArgs args, CustomResourceOptions options)
type: konnect:GatewayPluginAiPromptTemplate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args GatewayPluginAiPromptTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args GatewayPluginAiPromptTemplateArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GatewayPluginAiPromptTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayPluginAiPromptTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewayPluginAiPromptTemplateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var gatewayPluginAiPromptTemplateResource = new Konnect.GatewayPluginAiPromptTemplate("gatewayPluginAiPromptTemplateResource", new()
{
    ControlPlaneId = "string",
    Config = new Konnect.Inputs.GatewayPluginAiPromptTemplateConfigArgs
    {
        Templates = new[]
        {
            new Konnect.Inputs.GatewayPluginAiPromptTemplateConfigTemplateArgs
            {
                Name = "string",
                Template = "string",
            },
        },
        AllowUntemplatedRequests = false,
        LogOriginalRequest = false,
        MaxRequestBodySize = 0,
    },
    GatewayPluginAiPromptTemplateId = "string",
    ConsumerGroup = new Konnect.Inputs.GatewayPluginAiPromptTemplateConsumerGroupArgs
    {
        Id = "string",
    },
    CreatedAt = 0,
    Enabled = false,
    Consumer = new Konnect.Inputs.GatewayPluginAiPromptTemplateConsumerArgs
    {
        Id = "string",
    },
    InstanceName = "string",
    Ordering = new Konnect.Inputs.GatewayPluginAiPromptTemplateOrderingArgs
    {
        After = new Konnect.Inputs.GatewayPluginAiPromptTemplateOrderingAfterArgs
        {
            Accesses = new[]
            {
                "string",
            },
        },
        Before = new Konnect.Inputs.GatewayPluginAiPromptTemplateOrderingBeforeArgs
        {
            Accesses = new[]
            {
                "string",
            },
        },
    },
    Partials = new[]
    {
        new Konnect.Inputs.GatewayPluginAiPromptTemplatePartialArgs
        {
            Id = "string",
            Name = "string",
            Path = "string",
        },
    },
    Protocols = new[]
    {
        "string",
    },
    Route = new Konnect.Inputs.GatewayPluginAiPromptTemplateRouteArgs
    {
        Id = "string",
    },
    Service = new Konnect.Inputs.GatewayPluginAiPromptTemplateServiceArgs
    {
        Id = "string",
    },
    Tags = new[]
    {
        "string",
    },
    UpdatedAt = 0,
});
example, err := konnect.NewGatewayPluginAiPromptTemplate(ctx, "gatewayPluginAiPromptTemplateResource", &konnect.GatewayPluginAiPromptTemplateArgs{
	ControlPlaneId: pulumi.String("string"),
	Config: &konnect.GatewayPluginAiPromptTemplateConfigArgs{
		Templates: konnect.GatewayPluginAiPromptTemplateConfigTemplateArray{
			&konnect.GatewayPluginAiPromptTemplateConfigTemplateArgs{
				Name:     pulumi.String("string"),
				Template: pulumi.String("string"),
			},
		},
		AllowUntemplatedRequests: pulumi.Bool(false),
		LogOriginalRequest:       pulumi.Bool(false),
		MaxRequestBodySize:       pulumi.Float64(0),
	},
	GatewayPluginAiPromptTemplateId: pulumi.String("string"),
	ConsumerGroup: &konnect.GatewayPluginAiPromptTemplateConsumerGroupArgs{
		Id: pulumi.String("string"),
	},
	CreatedAt: pulumi.Float64(0),
	Enabled:   pulumi.Bool(false),
	Consumer: &konnect.GatewayPluginAiPromptTemplateConsumerArgs{
		Id: pulumi.String("string"),
	},
	InstanceName: pulumi.String("string"),
	Ordering: &konnect.GatewayPluginAiPromptTemplateOrderingArgs{
		After: &konnect.GatewayPluginAiPromptTemplateOrderingAfterArgs{
			Accesses: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
		Before: &konnect.GatewayPluginAiPromptTemplateOrderingBeforeArgs{
			Accesses: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	Partials: konnect.GatewayPluginAiPromptTemplatePartialArray{
		&konnect.GatewayPluginAiPromptTemplatePartialArgs{
			Id:   pulumi.String("string"),
			Name: pulumi.String("string"),
			Path: pulumi.String("string"),
		},
	},
	Protocols: pulumi.StringArray{
		pulumi.String("string"),
	},
	Route: &konnect.GatewayPluginAiPromptTemplateRouteArgs{
		Id: pulumi.String("string"),
	},
	Service: &konnect.GatewayPluginAiPromptTemplateServiceArgs{
		Id: pulumi.String("string"),
	},
	Tags: pulumi.StringArray{
		pulumi.String("string"),
	},
	UpdatedAt: pulumi.Float64(0),
})
var gatewayPluginAiPromptTemplateResource = new GatewayPluginAiPromptTemplate("gatewayPluginAiPromptTemplateResource", GatewayPluginAiPromptTemplateArgs.builder()
    .controlPlaneId("string")
    .config(GatewayPluginAiPromptTemplateConfigArgs.builder()
        .templates(GatewayPluginAiPromptTemplateConfigTemplateArgs.builder()
            .name("string")
            .template("string")
            .build())
        .allowUntemplatedRequests(false)
        .logOriginalRequest(false)
        .maxRequestBodySize(0.0)
        .build())
    .gatewayPluginAiPromptTemplateId("string")
    .consumerGroup(GatewayPluginAiPromptTemplateConsumerGroupArgs.builder()
        .id("string")
        .build())
    .createdAt(0.0)
    .enabled(false)
    .consumer(GatewayPluginAiPromptTemplateConsumerArgs.builder()
        .id("string")
        .build())
    .instanceName("string")
    .ordering(GatewayPluginAiPromptTemplateOrderingArgs.builder()
        .after(GatewayPluginAiPromptTemplateOrderingAfterArgs.builder()
            .accesses("string")
            .build())
        .before(GatewayPluginAiPromptTemplateOrderingBeforeArgs.builder()
            .accesses("string")
            .build())
        .build())
    .partials(GatewayPluginAiPromptTemplatePartialArgs.builder()
        .id("string")
        .name("string")
        .path("string")
        .build())
    .protocols("string")
    .route(GatewayPluginAiPromptTemplateRouteArgs.builder()
        .id("string")
        .build())
    .service(GatewayPluginAiPromptTemplateServiceArgs.builder()
        .id("string")
        .build())
    .tags("string")
    .updatedAt(0.0)
    .build());
gateway_plugin_ai_prompt_template_resource = konnect.GatewayPluginAiPromptTemplate("gatewayPluginAiPromptTemplateResource",
    control_plane_id="string",
    config={
        "templates": [{
            "name": "string",
            "template": "string",
        }],
        "allow_untemplated_requests": False,
        "log_original_request": False,
        "max_request_body_size": 0,
    },
    gateway_plugin_ai_prompt_template_id="string",
    consumer_group={
        "id": "string",
    },
    created_at=0,
    enabled=False,
    consumer={
        "id": "string",
    },
    instance_name="string",
    ordering={
        "after": {
            "accesses": ["string"],
        },
        "before": {
            "accesses": ["string"],
        },
    },
    partials=[{
        "id": "string",
        "name": "string",
        "path": "string",
    }],
    protocols=["string"],
    route={
        "id": "string",
    },
    service={
        "id": "string",
    },
    tags=["string"],
    updated_at=0)
const gatewayPluginAiPromptTemplateResource = new konnect.GatewayPluginAiPromptTemplate("gatewayPluginAiPromptTemplateResource", {
    controlPlaneId: "string",
    config: {
        templates: [{
            name: "string",
            template: "string",
        }],
        allowUntemplatedRequests: false,
        logOriginalRequest: false,
        maxRequestBodySize: 0,
    },
    gatewayPluginAiPromptTemplateId: "string",
    consumerGroup: {
        id: "string",
    },
    createdAt: 0,
    enabled: false,
    consumer: {
        id: "string",
    },
    instanceName: "string",
    ordering: {
        after: {
            accesses: ["string"],
        },
        before: {
            accesses: ["string"],
        },
    },
    partials: [{
        id: "string",
        name: "string",
        path: "string",
    }],
    protocols: ["string"],
    route: {
        id: "string",
    },
    service: {
        id: "string",
    },
    tags: ["string"],
    updatedAt: 0,
});
type: konnect:GatewayPluginAiPromptTemplate
properties:
    config:
        allowUntemplatedRequests: false
        logOriginalRequest: false
        maxRequestBodySize: 0
        templates:
            - name: string
              template: string
    consumer:
        id: string
    consumerGroup:
        id: string
    controlPlaneId: string
    createdAt: 0
    enabled: false
    gatewayPluginAiPromptTemplateId: string
    instanceName: string
    ordering:
        after:
            accesses:
                - string
        before:
            accesses:
                - string
    partials:
        - id: string
          name: string
          path: string
    protocols:
        - string
    route:
        id: string
    service:
        id: string
    tags:
        - string
    updatedAt: 0
GatewayPluginAiPromptTemplate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The GatewayPluginAiPromptTemplate resource accepts the following input properties:
- Config
GatewayPlugin Ai Prompt Template Config 
- ControlPlane stringId 
- The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Consumer
GatewayPlugin Ai Prompt Template Consumer 
- If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
- ConsumerGroup GatewayPlugin Ai Prompt Template Consumer Group 
- If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
- CreatedAt double
- Unix epoch when the resource was created.
- Enabled bool
- Whether the plugin is applied. Default: true
- GatewayPlugin stringAi Prompt Template Id 
- A string representing a UUID (universally unique identifier).
- InstanceName string
- A unique string representing a UTF-8 encoded name.
- Ordering
GatewayPlugin Ai Prompt Template Ordering 
- Partials
List<GatewayPlugin Ai Prompt Template Partial> 
- A list of partials to be used by the plugin.
- Protocols List<string>
- A set of strings representing HTTP protocols. Default: ["grpc","grpcs","http","https"]
- Route
GatewayPlugin Ai Prompt Template Route 
- If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- Service
GatewayPlugin Ai Prompt Template Service 
- If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- List<string>
- An optional set of strings associated with the Plugin for grouping and filtering.
- UpdatedAt double
- Unix epoch when the resource was last updated.
- Config
GatewayPlugin Ai Prompt Template Config Args 
- ControlPlane stringId 
- The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Consumer
GatewayPlugin Ai Prompt Template Consumer Args 
- If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
- ConsumerGroup GatewayPlugin Ai Prompt Template Consumer Group Args 
- If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
- CreatedAt float64
- Unix epoch when the resource was created.
- Enabled bool
- Whether the plugin is applied. Default: true
- GatewayPlugin stringAi Prompt Template Id 
- A string representing a UUID (universally unique identifier).
- InstanceName string
- A unique string representing a UTF-8 encoded name.
- Ordering
GatewayPlugin Ai Prompt Template Ordering Args 
- Partials
[]GatewayPlugin Ai Prompt Template Partial Args 
- A list of partials to be used by the plugin.
- Protocols []string
- A set of strings representing HTTP protocols. Default: ["grpc","grpcs","http","https"]
- Route
GatewayPlugin Ai Prompt Template Route Args 
- If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- Service
GatewayPlugin Ai Prompt Template Service Args 
- If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- []string
- An optional set of strings associated with the Plugin for grouping and filtering.
- UpdatedAt float64
- Unix epoch when the resource was last updated.
- config
GatewayPlugin Ai Prompt Template Config 
- controlPlane StringId 
- The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- consumer
GatewayPlugin Ai Prompt Template Consumer 
- If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
- consumerGroup GatewayPlugin Ai Prompt Template Consumer Group 
- If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
- createdAt Double
- Unix epoch when the resource was created.
- enabled Boolean
- Whether the plugin is applied. Default: true
- gatewayPlugin StringAi Prompt Template Id 
- A string representing a UUID (universally unique identifier).
- instanceName String
- A unique string representing a UTF-8 encoded name.
- ordering
GatewayPlugin Ai Prompt Template Ordering 
- partials
List<GatewayPlugin Ai Prompt Template Partial> 
- A list of partials to be used by the plugin.
- protocols List<String>
- A set of strings representing HTTP protocols. Default: ["grpc","grpcs","http","https"]
- route
GatewayPlugin Ai Prompt Template Route 
- If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- service
GatewayPlugin Ai Prompt Template Service 
- If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- List<String>
- An optional set of strings associated with the Plugin for grouping and filtering.
- updatedAt Double
- Unix epoch when the resource was last updated.
- config
GatewayPlugin Ai Prompt Template Config 
- controlPlane stringId 
- The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- consumer
GatewayPlugin Ai Prompt Template Consumer 
- If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
- consumerGroup GatewayPlugin Ai Prompt Template Consumer Group 
- If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
- createdAt number
- Unix epoch when the resource was created.
- enabled boolean
- Whether the plugin is applied. Default: true
- gatewayPlugin stringAi Prompt Template Id 
- A string representing a UUID (universally unique identifier).
- instanceName string
- A unique string representing a UTF-8 encoded name.
- ordering
GatewayPlugin Ai Prompt Template Ordering 
- partials
GatewayPlugin Ai Prompt Template Partial[] 
- A list of partials to be used by the plugin.
- protocols string[]
- A set of strings representing HTTP protocols. Default: ["grpc","grpcs","http","https"]
- route
GatewayPlugin Ai Prompt Template Route 
- If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- service
GatewayPlugin Ai Prompt Template Service 
- If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- string[]
- An optional set of strings associated with the Plugin for grouping and filtering.
- updatedAt number
- Unix epoch when the resource was last updated.
- config
GatewayPlugin Ai Prompt Template Config Args 
- control_plane_ strid 
- The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- consumer
GatewayPlugin Ai Prompt Template Consumer Args 
- If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
- consumer_group GatewayPlugin Ai Prompt Template Consumer Group Args 
- If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
- created_at float
- Unix epoch when the resource was created.
- enabled bool
- Whether the plugin is applied. Default: true
- gateway_plugin_ strai_ prompt_ template_ id 
- A string representing a UUID (universally unique identifier).
- instance_name str
- A unique string representing a UTF-8 encoded name.
- ordering
GatewayPlugin Ai Prompt Template Ordering Args 
- partials
Sequence[GatewayPlugin Ai Prompt Template Partial Args] 
- A list of partials to be used by the plugin.
- protocols Sequence[str]
- A set of strings representing HTTP protocols. Default: ["grpc","grpcs","http","https"]
- route
GatewayPlugin Ai Prompt Template Route Args 
- If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- service
GatewayPlugin Ai Prompt Template Service Args 
- If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- Sequence[str]
- An optional set of strings associated with the Plugin for grouping and filtering.
- updated_at float
- Unix epoch when the resource was last updated.
- config Property Map
- controlPlane StringId 
- The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- consumer Property Map
- If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
- consumerGroup Property Map
- If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
- createdAt Number
- Unix epoch when the resource was created.
- enabled Boolean
- Whether the plugin is applied. Default: true
- gatewayPlugin StringAi Prompt Template Id 
- A string representing a UUID (universally unique identifier).
- instanceName String
- A unique string representing a UTF-8 encoded name.
- ordering Property Map
- partials List<Property Map>
- A list of partials to be used by the plugin.
- protocols List<String>
- A set of strings representing HTTP protocols. Default: ["grpc","grpcs","http","https"]
- route Property Map
- If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- service Property Map
- If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- List<String>
- An optional set of strings associated with the Plugin for grouping and filtering.
- updatedAt Number
- Unix epoch when the resource was last updated.
Outputs
All input properties are implicitly available as output properties. Additionally, the GatewayPluginAiPromptTemplate resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing GatewayPluginAiPromptTemplate Resource
Get an existing GatewayPluginAiPromptTemplate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: GatewayPluginAiPromptTemplateState, opts?: CustomResourceOptions): GatewayPluginAiPromptTemplate@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        config: Optional[GatewayPluginAiPromptTemplateConfigArgs] = None,
        consumer: Optional[GatewayPluginAiPromptTemplateConsumerArgs] = None,
        consumer_group: Optional[GatewayPluginAiPromptTemplateConsumerGroupArgs] = None,
        control_plane_id: Optional[str] = None,
        created_at: Optional[float] = None,
        enabled: Optional[bool] = None,
        gateway_plugin_ai_prompt_template_id: Optional[str] = None,
        instance_name: Optional[str] = None,
        ordering: Optional[GatewayPluginAiPromptTemplateOrderingArgs] = None,
        partials: Optional[Sequence[GatewayPluginAiPromptTemplatePartialArgs]] = None,
        protocols: Optional[Sequence[str]] = None,
        route: Optional[GatewayPluginAiPromptTemplateRouteArgs] = None,
        service: Optional[GatewayPluginAiPromptTemplateServiceArgs] = None,
        tags: Optional[Sequence[str]] = None,
        updated_at: Optional[float] = None) -> GatewayPluginAiPromptTemplatefunc GetGatewayPluginAiPromptTemplate(ctx *Context, name string, id IDInput, state *GatewayPluginAiPromptTemplateState, opts ...ResourceOption) (*GatewayPluginAiPromptTemplate, error)public static GatewayPluginAiPromptTemplate Get(string name, Input<string> id, GatewayPluginAiPromptTemplateState? state, CustomResourceOptions? opts = null)public static GatewayPluginAiPromptTemplate get(String name, Output<String> id, GatewayPluginAiPromptTemplateState state, CustomResourceOptions options)resources:  _:    type: konnect:GatewayPluginAiPromptTemplate    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Config
GatewayPlugin Ai Prompt Template Config 
- Consumer
GatewayPlugin Ai Prompt Template Consumer 
- If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
- ConsumerGroup GatewayPlugin Ai Prompt Template Consumer Group 
- If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
- ControlPlane stringId 
- The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- CreatedAt double
- Unix epoch when the resource was created.
- Enabled bool
- Whether the plugin is applied. Default: true
- GatewayPlugin stringAi Prompt Template Id 
- A string representing a UUID (universally unique identifier).
- InstanceName string
- A unique string representing a UTF-8 encoded name.
- Ordering
GatewayPlugin Ai Prompt Template Ordering 
- Partials
List<GatewayPlugin Ai Prompt Template Partial> 
- A list of partials to be used by the plugin.
- Protocols List<string>
- A set of strings representing HTTP protocols. Default: ["grpc","grpcs","http","https"]
- Route
GatewayPlugin Ai Prompt Template Route 
- If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- Service
GatewayPlugin Ai Prompt Template Service 
- If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- List<string>
- An optional set of strings associated with the Plugin for grouping and filtering.
- UpdatedAt double
- Unix epoch when the resource was last updated.
- Config
GatewayPlugin Ai Prompt Template Config Args 
- Consumer
GatewayPlugin Ai Prompt Template Consumer Args 
- If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
- ConsumerGroup GatewayPlugin Ai Prompt Template Consumer Group Args 
- If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
- ControlPlane stringId 
- The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- CreatedAt float64
- Unix epoch when the resource was created.
- Enabled bool
- Whether the plugin is applied. Default: true
- GatewayPlugin stringAi Prompt Template Id 
- A string representing a UUID (universally unique identifier).
- InstanceName string
- A unique string representing a UTF-8 encoded name.
- Ordering
GatewayPlugin Ai Prompt Template Ordering Args 
- Partials
[]GatewayPlugin Ai Prompt Template Partial Args 
- A list of partials to be used by the plugin.
- Protocols []string
- A set of strings representing HTTP protocols. Default: ["grpc","grpcs","http","https"]
- Route
GatewayPlugin Ai Prompt Template Route Args 
- If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- Service
GatewayPlugin Ai Prompt Template Service Args 
- If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- []string
- An optional set of strings associated with the Plugin for grouping and filtering.
- UpdatedAt float64
- Unix epoch when the resource was last updated.
- config
GatewayPlugin Ai Prompt Template Config 
- consumer
GatewayPlugin Ai Prompt Template Consumer 
- If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
- consumerGroup GatewayPlugin Ai Prompt Template Consumer Group 
- If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
- controlPlane StringId 
- The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- createdAt Double
- Unix epoch when the resource was created.
- enabled Boolean
- Whether the plugin is applied. Default: true
- gatewayPlugin StringAi Prompt Template Id 
- A string representing a UUID (universally unique identifier).
- instanceName String
- A unique string representing a UTF-8 encoded name.
- ordering
GatewayPlugin Ai Prompt Template Ordering 
- partials
List<GatewayPlugin Ai Prompt Template Partial> 
- A list of partials to be used by the plugin.
- protocols List<String>
- A set of strings representing HTTP protocols. Default: ["grpc","grpcs","http","https"]
- route
GatewayPlugin Ai Prompt Template Route 
- If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- service
GatewayPlugin Ai Prompt Template Service 
- If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- List<String>
- An optional set of strings associated with the Plugin for grouping and filtering.
- updatedAt Double
- Unix epoch when the resource was last updated.
- config
GatewayPlugin Ai Prompt Template Config 
- consumer
GatewayPlugin Ai Prompt Template Consumer 
- If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
- consumerGroup GatewayPlugin Ai Prompt Template Consumer Group 
- If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
- controlPlane stringId 
- The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- createdAt number
- Unix epoch when the resource was created.
- enabled boolean
- Whether the plugin is applied. Default: true
- gatewayPlugin stringAi Prompt Template Id 
- A string representing a UUID (universally unique identifier).
- instanceName string
- A unique string representing a UTF-8 encoded name.
- ordering
GatewayPlugin Ai Prompt Template Ordering 
- partials
GatewayPlugin Ai Prompt Template Partial[] 
- A list of partials to be used by the plugin.
- protocols string[]
- A set of strings representing HTTP protocols. Default: ["grpc","grpcs","http","https"]
- route
GatewayPlugin Ai Prompt Template Route 
- If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- service
GatewayPlugin Ai Prompt Template Service 
- If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- string[]
- An optional set of strings associated with the Plugin for grouping and filtering.
- updatedAt number
- Unix epoch when the resource was last updated.
- config
GatewayPlugin Ai Prompt Template Config Args 
- consumer
GatewayPlugin Ai Prompt Template Consumer Args 
- If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
- consumer_group GatewayPlugin Ai Prompt Template Consumer Group Args 
- If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
- control_plane_ strid 
- The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- created_at float
- Unix epoch when the resource was created.
- enabled bool
- Whether the plugin is applied. Default: true
- gateway_plugin_ strai_ prompt_ template_ id 
- A string representing a UUID (universally unique identifier).
- instance_name str
- A unique string representing a UTF-8 encoded name.
- ordering
GatewayPlugin Ai Prompt Template Ordering Args 
- partials
Sequence[GatewayPlugin Ai Prompt Template Partial Args] 
- A list of partials to be used by the plugin.
- protocols Sequence[str]
- A set of strings representing HTTP protocols. Default: ["grpc","grpcs","http","https"]
- route
GatewayPlugin Ai Prompt Template Route Args 
- If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- service
GatewayPlugin Ai Prompt Template Service Args 
- If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- Sequence[str]
- An optional set of strings associated with the Plugin for grouping and filtering.
- updated_at float
- Unix epoch when the resource was last updated.
- config Property Map
- consumer Property Map
- If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
- consumerGroup Property Map
- If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
- controlPlane StringId 
- The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- createdAt Number
- Unix epoch when the resource was created.
- enabled Boolean
- Whether the plugin is applied. Default: true
- gatewayPlugin StringAi Prompt Template Id 
- A string representing a UUID (universally unique identifier).
- instanceName String
- A unique string representing a UTF-8 encoded name.
- ordering Property Map
- partials List<Property Map>
- A list of partials to be used by the plugin.
- protocols List<String>
- A set of strings representing HTTP protocols. Default: ["grpc","grpcs","http","https"]
- route Property Map
- If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- service Property Map
- If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- List<String>
- An optional set of strings associated with the Plugin for grouping and filtering.
- updatedAt Number
- Unix epoch when the resource was last updated.
Supporting Types
GatewayPluginAiPromptTemplateConfig, GatewayPluginAiPromptTemplateConfigArgs            
- Templates
List<GatewayPlugin Ai Prompt Template Config Template> 
- Array of templates available to the request context.
- AllowUntemplated boolRequests 
- Set true to allow requests that don't call or match any template. Default: true
- LogOriginal boolRequest 
- Set true to add the original request to the Kong log plugin(s) output. Default: false
- MaxRequest doubleBody Size 
- max allowed body size allowed to be introspected. 0 means unlimited, but the size of this body will still be limited by Nginx's clientmaxbody_size. Default: 8192
- Templates
[]GatewayPlugin Ai Prompt Template Config Template 
- Array of templates available to the request context.
- AllowUntemplated boolRequests 
- Set true to allow requests that don't call or match any template. Default: true
- LogOriginal boolRequest 
- Set true to add the original request to the Kong log plugin(s) output. Default: false
- MaxRequest float64Body Size 
- max allowed body size allowed to be introspected. 0 means unlimited, but the size of this body will still be limited by Nginx's clientmaxbody_size. Default: 8192
- templates
List<GatewayPlugin Ai Prompt Template Config Template> 
- Array of templates available to the request context.
- allowUntemplated BooleanRequests 
- Set true to allow requests that don't call or match any template. Default: true
- logOriginal BooleanRequest 
- Set true to add the original request to the Kong log plugin(s) output. Default: false
- maxRequest DoubleBody Size 
- max allowed body size allowed to be introspected. 0 means unlimited, but the size of this body will still be limited by Nginx's clientmaxbody_size. Default: 8192
- templates
GatewayPlugin Ai Prompt Template Config Template[] 
- Array of templates available to the request context.
- allowUntemplated booleanRequests 
- Set true to allow requests that don't call or match any template. Default: true
- logOriginal booleanRequest 
- Set true to add the original request to the Kong log plugin(s) output. Default: false
- maxRequest numberBody Size 
- max allowed body size allowed to be introspected. 0 means unlimited, but the size of this body will still be limited by Nginx's clientmaxbody_size. Default: 8192
- templates
Sequence[GatewayPlugin Ai Prompt Template Config Template] 
- Array of templates available to the request context.
- allow_untemplated_ boolrequests 
- Set true to allow requests that don't call or match any template. Default: true
- log_original_ boolrequest 
- Set true to add the original request to the Kong log plugin(s) output. Default: false
- max_request_ floatbody_ size 
- max allowed body size allowed to be introspected. 0 means unlimited, but the size of this body will still be limited by Nginx's clientmaxbody_size. Default: 8192
- templates List<Property Map>
- Array of templates available to the request context.
- allowUntemplated BooleanRequests 
- Set true to allow requests that don't call or match any template. Default: true
- logOriginal BooleanRequest 
- Set true to add the original request to the Kong log plugin(s) output. Default: false
- maxRequest NumberBody Size 
- max allowed body size allowed to be introspected. 0 means unlimited, but the size of this body will still be limited by Nginx's clientmaxbody_size. Default: 8192
GatewayPluginAiPromptTemplateConfigTemplate, GatewayPluginAiPromptTemplateConfigTemplateArgs              
GatewayPluginAiPromptTemplateConsumer, GatewayPluginAiPromptTemplateConsumerArgs            
- Id string
- Id string
- id String
- id string
- id str
- id String
GatewayPluginAiPromptTemplateConsumerGroup, GatewayPluginAiPromptTemplateConsumerGroupArgs              
- Id string
- Id string
- id String
- id string
- id str
- id String
GatewayPluginAiPromptTemplateOrdering, GatewayPluginAiPromptTemplateOrderingArgs            
GatewayPluginAiPromptTemplateOrderingAfter, GatewayPluginAiPromptTemplateOrderingAfterArgs              
- Accesses List<string>
- Accesses []string
- accesses List<String>
- accesses string[]
- accesses Sequence[str]
- accesses List<String>
GatewayPluginAiPromptTemplateOrderingBefore, GatewayPluginAiPromptTemplateOrderingBeforeArgs              
- Accesses List<string>
- Accesses []string
- accesses List<String>
- accesses string[]
- accesses Sequence[str]
- accesses List<String>
GatewayPluginAiPromptTemplatePartial, GatewayPluginAiPromptTemplatePartialArgs            
GatewayPluginAiPromptTemplateRoute, GatewayPluginAiPromptTemplateRouteArgs            
- Id string
- Id string
- id String
- id string
- id str
- id String
GatewayPluginAiPromptTemplateService, GatewayPluginAiPromptTemplateServiceArgs            
- Id string
- Id string
- id String
- id string
- id str
- id String
Import
In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:
terraform
import {
to = konnect_gateway_plugin_ai_prompt_template.my_konnect_gateway_plugin_ai_prompt_template
id = jsonencode({
control_plane_id = "9524ec7d-36d9-465d-a8c5-83a3c9390458"
id = "3473c251-5b6c-4f45-b1ff-7ede735a366d"
})
}
The pulumi import command can be used, for example:
$ pulumi import konnect:index/gatewayPluginAiPromptTemplate:GatewayPluginAiPromptTemplate my_konnect_gateway_plugin_ai_prompt_template '{"control_plane_id": "9524ec7d-36d9-465d-a8c5-83a3c9390458", "id": "3473c251-5b6c-4f45-b1ff-7ede735a366d"}'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- konnect kong/terraform-provider-konnect
- License
- Notes
- This Pulumi package is based on the konnectTerraform Provider.
