1. Registry
  2. Packages
  3. Konnect Provider
  4. API Docs
  5. CatalogAiModel
Viewing docs for konnect 3.23.0
published on Friday, Sep 18, 2026 by kong
Viewing docs for konnect 3.23.0
published on Friday, Sep 18, 2026 by kong

    CatalogAiModel Resource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as konnect from "@pulumi/konnect";
    
    const myCatalogaimodel = new konnect.CatalogAiModel("my_catalogaimodel", {
        description: "Customer support triage model",
        displayName: "My AI Model",
        labels: {
            key: "value",
        },
        name: "my-ai-model",
    });
    
    import pulumi
    import pulumi_konnect as konnect
    
    my_catalogaimodel = konnect.CatalogAiModel("my_catalogaimodel",
        description="Customer support triage model",
        display_name="My AI Model",
        labels={
            "key": "value",
        },
        name="my-ai-model")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/konnect/v3/konnect"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := konnect.NewCatalogAiModel(ctx, "my_catalogaimodel", &konnect.CatalogAiModelArgs{
    			Description: pulumi.String("Customer support triage model"),
    			DisplayName: pulumi.String("My AI Model"),
    			Labels: pulumi.StringMap{
    				"key": pulumi.String("value"),
    			},
    			Name: pulumi.String("my-ai-model"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Konnect = Pulumi.Konnect;
    
    return await Deployment.RunAsync(() => 
    {
        var myCatalogaimodel = new Konnect.CatalogAiModel("my_catalogaimodel", new()
        {
            Description = "Customer support triage model",
            DisplayName = "My AI Model",
            Labels = 
            {
                { "key", "value" },
            },
            Name = "my-ai-model",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.konnect.CatalogAiModel;
    import com.pulumi.konnect.CatalogAiModelArgs;
    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 myCatalogaimodel = new CatalogAiModel("myCatalogaimodel", CatalogAiModelArgs.builder()
                .description("Customer support triage model")
                .displayName("My AI Model")
                .labels(Map.of("key", "value"))
                .name("my-ai-model")
                .build());
    
        }
    }
    
    resources:
      myCatalogaimodel:
        type: konnect:CatalogAiModel
        name: my_catalogaimodel
        properties:
          description: Customer support triage model
          displayName: My AI Model
          labels:
            key: value
          name: my-ai-model
    
    Example coming soon!
    

    Create CatalogAiModel Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CatalogAiModel(name: string, args: CatalogAiModelArgs, opts?: CustomResourceOptions);
    @overload
    def CatalogAiModel(resource_name: str,
                       args: CatalogAiModelArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def CatalogAiModel(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       display_name: Optional[str] = None,
                       description: Optional[str] = None,
                       labels: Optional[Mapping[str, str]] = None,
                       name: Optional[str] = None)
    func NewCatalogAiModel(ctx *Context, name string, args CatalogAiModelArgs, opts ...ResourceOption) (*CatalogAiModel, error)
    public CatalogAiModel(string name, CatalogAiModelArgs args, CustomResourceOptions? opts = null)
    public CatalogAiModel(String name, CatalogAiModelArgs args)
    public CatalogAiModel(String name, CatalogAiModelArgs args, CustomResourceOptions options)
    
    type: konnect:CatalogAiModel
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "konnect_catalog_ai_model" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args CatalogAiModelArgs
    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 CatalogAiModelArgs
    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 CatalogAiModelArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CatalogAiModelArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CatalogAiModelArgs
    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 catalogAiModelResource = new Konnect.CatalogAiModel("catalogAiModelResource", new()
    {
        DisplayName = "string",
        Description = "string",
        Labels = 
        {
            { "string", "string" },
        },
        Name = "string",
    });
    
    example, err := konnect.NewCatalogAiModel(ctx, "catalogAiModelResource", &konnect.CatalogAiModelArgs{
    	DisplayName: pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    })
    
    resource "konnect_catalog_ai_model" "catalogAiModelResource" {
      lifecycle {
        create_before_destroy = true
      }
      display_name = "string"
      description  = "string"
      labels = {
        "string" = "string"
      }
      name = "string"
    }
    
    var catalogAiModelResource = new CatalogAiModel("catalogAiModelResource", CatalogAiModelArgs.builder()
        .displayName("string")
        .description("string")
        .labels(Map.of("string", "string"))
        .name("string")
        .build());
    
    catalog_ai_model_resource = konnect.CatalogAiModel("catalogAiModelResource",
        display_name="string",
        description="string",
        labels={
            "string": "string",
        },
        name="string")
    
    const catalogAiModelResource = new konnect.CatalogAiModel("catalogAiModelResource", {
        displayName: "string",
        description: "string",
        labels: {
            string: "string",
        },
        name: "string",
    });
    
    type: konnect:CatalogAiModel
    properties:
        description: string
        displayName: string
        labels:
            string: string
        name: string
    

    CatalogAiModel 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 CatalogAiModel resource accepts the following input properties:

    DisplayName string
    The display name of the AI Model.
    Description string
    Optionally provide a description of the AI Model.
    Labels Dictionary<string, string>
    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
    Name string
    The machine name of the AI Model that uniquely identifies it within the catalog.
    DisplayName string
    The display name of the AI Model.
    Description string
    Optionally provide a description of the AI Model.
    Labels map[string]string
    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
    Name string
    The machine name of the AI Model that uniquely identifies it within the catalog.
    display_name string
    The display name of the AI Model.
    description string
    Optionally provide a description of the AI Model.
    labels map(string)
    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
    name string
    The machine name of the AI Model that uniquely identifies it within the catalog.
    displayName String
    The display name of the AI Model.
    description String
    Optionally provide a description of the AI Model.
    labels Map<String,String>
    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
    name String
    The machine name of the AI Model that uniquely identifies it within the catalog.
    displayName string
    The display name of the AI Model.
    description string
    Optionally provide a description of the AI Model.
    labels {[key: string]: string}
    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
    name string
    The machine name of the AI Model that uniquely identifies it within the catalog.
    display_name str
    The display name of the AI Model.
    description str
    Optionally provide a description of the AI Model.
    labels Mapping[str, str]
    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
    name str
    The machine name of the AI Model that uniquely identifies it within the catalog.
    displayName String
    The display name of the AI Model.
    description String
    Optionally provide a description of the AI Model.
    labels Map<String>
    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
    name String
    The machine name of the AI Model that uniquely identifies it within the catalog.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CatalogAiModel resource produces the following output properties:

    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    Id string
    The provider-assigned unique ID for this managed resource.
    ManagedBy Dictionary<string, string>
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    Id string
    The provider-assigned unique ID for this managed resource.
    ManagedBy map[string]string
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    created_at string
    An ISO-8601 timestamp representation of entity creation date.
    id string
    The provider-assigned unique ID for this managed resource.
    managed_by map(string)
    updated_at string
    An ISO-8601 timestamp representation of entity update date.
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    id String
    The provider-assigned unique ID for this managed resource.
    managedBy Map<String,String>
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.
    createdAt string
    An ISO-8601 timestamp representation of entity creation date.
    id string
    The provider-assigned unique ID for this managed resource.
    managedBy {[key: string]: string}
    updatedAt string
    An ISO-8601 timestamp representation of entity update date.
    created_at str
    An ISO-8601 timestamp representation of entity creation date.
    id str
    The provider-assigned unique ID for this managed resource.
    managed_by Mapping[str, str]
    updated_at str
    An ISO-8601 timestamp representation of entity update date.
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    id String
    The provider-assigned unique ID for this managed resource.
    managedBy Map<String>
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.

    Look up Existing CatalogAiModel Resource

    Get an existing CatalogAiModel 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?: CatalogAiModelState, opts?: CustomResourceOptions): CatalogAiModel
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            managed_by: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            updated_at: Optional[str] = None) -> CatalogAiModel
    func GetCatalogAiModel(ctx *Context, name string, id IDInput, state *CatalogAiModelState, opts ...ResourceOption) (*CatalogAiModel, error)
    public static CatalogAiModel Get(string name, Input<string> id, CatalogAiModelState? state, CustomResourceOptions? opts = null)
    public static CatalogAiModel get(String name, Output<String> id, CatalogAiModelState state, CustomResourceOptions options)
    resources:  _:    type: konnect:CatalogAiModel    get:      id: ${id}
    import {
      to = konnect_catalog_ai_model.example
      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.
    The following state arguments are supported:
    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    Description string
    Optionally provide a description of the AI Model.
    DisplayName string
    The display name of the AI Model.
    Labels Dictionary<string, string>
    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
    ManagedBy Dictionary<string, string>
    Name string
    The machine name of the AI Model that uniquely identifies it within the catalog.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    Description string
    Optionally provide a description of the AI Model.
    DisplayName string
    The display name of the AI Model.
    Labels map[string]string
    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
    ManagedBy map[string]string
    Name string
    The machine name of the AI Model that uniquely identifies it within the catalog.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    created_at string
    An ISO-8601 timestamp representation of entity creation date.
    description string
    Optionally provide a description of the AI Model.
    display_name string
    The display name of the AI Model.
    labels map(string)
    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
    managed_by map(string)
    name string
    The machine name of the AI Model that uniquely identifies it within the catalog.
    updated_at string
    An ISO-8601 timestamp representation of entity update date.
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    description String
    Optionally provide a description of the AI Model.
    displayName String
    The display name of the AI Model.
    labels Map<String,String>
    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
    managedBy Map<String,String>
    name String
    The machine name of the AI Model that uniquely identifies it within the catalog.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.
    createdAt string
    An ISO-8601 timestamp representation of entity creation date.
    description string
    Optionally provide a description of the AI Model.
    displayName string
    The display name of the AI Model.
    labels {[key: string]: string}
    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
    managedBy {[key: string]: string}
    name string
    The machine name of the AI Model that uniquely identifies it within the catalog.
    updatedAt string
    An ISO-8601 timestamp representation of entity update date.
    created_at str
    An ISO-8601 timestamp representation of entity creation date.
    description str
    Optionally provide a description of the AI Model.
    display_name str
    The display name of the AI Model.
    labels Mapping[str, str]
    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
    managed_by Mapping[str, str]
    name str
    The machine name of the AI Model that uniquely identifies it within the catalog.
    updated_at str
    An ISO-8601 timestamp representation of entity update date.
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    description String
    Optionally provide a description of the AI Model.
    displayName String
    The display name of the AI Model.
    labels Map<String>
    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
    managedBy Map<String>
    name String
    The machine name of the AI Model that uniquely identifies it within the catalog.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.

    Import

    In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:

    terraform

    import {

    to = konnect_catalog_ai_model.my_konnect_catalog_ai_model

    id = “123e4567-e89b-12d3-a456-426614174000”

    }

    The pulumi import command can be used, for example:

    $ pulumi import konnect:index/catalogAiModel:CatalogAiModel my_konnect_catalog_ai_model "123e4567-e89b-12d3-a456-426614174000"
    

    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 konnect Terraform Provider.
    Viewing docs for konnect 3.23.0
    published on Friday, Sep 18, 2026 by kong

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial