published on Friday, Apr 24, 2026 by kong
published on Friday, Apr 24, 2026 by kong
GatewayPartial Resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as konnect from "@pulumi/konnect";
const myGatewaypartial = new konnect.GatewayPartial("my_gatewaypartial", {
controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458",
embeddings: {
config: {
auth: {
allowOverride: false,
awsAccessKeyId: "...my_aws_access_key_id...",
awsSecretAccessKey: "...my_aws_secret_access_key...",
azureClientId: "...my_azure_client_id...",
azureClientSecret: "...my_azure_client_secret...",
azureTenantId: "...my_azure_tenant_id...",
azureUseManagedIdentity: false,
gcpMetadataUrl: "...my_gcp_metadata_url...",
gcpOauthTokenUrl: "...my_gcp_oauth_token_url...",
gcpServiceAccountJson: "...my_gcp_service_account_json...",
gcpUseServiceAccount: false,
headerName: "...my_header_name...",
headerValue: "...my_header_value...",
paramLocation: "query",
paramName: "...my_param_name...",
paramValue: "...my_param_value...",
},
model: {
name: "...my_name...",
options: {
azure: {
apiVersion: "2023-05-15",
deploymentId: "...my_deployment_id...",
instance: "...my_instance...",
},
bedrock: {
awsAssumeRoleArn: "...my_aws_assume_role_arn...",
awsRegion: "...my_aws_region...",
awsRoleSessionName: "...my_aws_role_session_name...",
awsStsEndpointUrl: "...my_aws_sts_endpoint_url...",
batchBucketPrefix: "...my_batch_bucket_prefix...",
batchRoleArn: "...my_batch_role_arn...",
embeddingsNormalize: false,
performanceConfigLatency: "...my_performance_config_latency...",
videoOutputS3Uri: "...my_video_output_s3_uri...",
},
gemini: {
apiEndpoint: "...my_api_endpoint...",
locationId: "...my_location_id...",
projectId: "...my_project_id...",
},
huggingface: {
useCache: false,
waitForModel: false,
},
upstreamUrl: "...my_upstream_url...",
},
provider: "azure",
},
},
createdAt: 9,
id: "...my_id...",
name: "...my_name...",
tags: ["..."],
updatedAt: 1,
},
model: {
config: {
auth: {
allowOverride: false,
awsAccessKeyId: "...my_aws_access_key_id...",
awsSecretAccessKey: "...my_aws_secret_access_key...",
azureClientId: "...my_azure_client_id...",
azureClientSecret: "...my_azure_client_secret...",
azureTenantId: "...my_azure_tenant_id...",
azureUseManagedIdentity: false,
gcpMetadataUrl: "...my_gcp_metadata_url...",
gcpOauthTokenUrl: "...my_gcp_oauth_token_url...",
gcpServiceAccountJson: "...my_gcp_service_account_json...",
gcpUseServiceAccount: false,
headerName: "...my_header_name...",
headerValue: "...my_header_value...",
paramLocation: "body",
paramName: "...my_param_name...",
paramValue: "...my_param_value...",
},
description: "...my_description...",
logging: {
logPayloads: false,
logStatistics: false,
},
metadata: "{ \"see\": \"documentation\" }",
model: {
modelAlias: "...my_model_alias...",
name: "...my_name...",
options: {
anthropicVersion: "...my_anthropic_version...",
azureApiVersion: "2023-05-15",
azureDeploymentId: "...my_azure_deployment_id...",
azureInstance: "...my_azure_instance...",
bedrock: {
awsAssumeRoleArn: "...my_aws_assume_role_arn...",
awsRegion: "...my_aws_region...",
awsRoleSessionName: "...my_aws_role_session_name...",
awsStsEndpointUrl: "...my_aws_sts_endpoint_url...",
batchBucketPrefix: "...my_batch_bucket_prefix...",
batchRoleArn: "...my_batch_role_arn...",
embeddingsNormalize: false,
performanceConfigLatency: "...my_performance_config_latency...",
videoOutputS3Uri: "...my_video_output_s3_uri...",
},
cohere: {
embeddingInputType: "classification",
waitForModel: false,
},
dashscope: {
international: true,
},
databricks: {
workspaceInstanceId: "...my_workspace_instance_id...",
},
embeddingsDimensions: 3,
gemini: {
apiEndpoint: "...my_api_endpoint...",
endpointId: "...my_endpoint_id...",
locationId: "...my_location_id...",
projectId: "...my_project_id...",
},
huggingface: {
useCache: true,
waitForModel: false,
},
inputCost: 4.15,
llama2Format: "openai",
maxTokens: 2,
mistralFormat: "openai",
outputCost: 4.19,
temperature: 0.08,
topK: 202,
topP: 0.38,
upstreamPath: "...my_upstream_path...",
upstreamUrl: "...my_upstream_url...",
},
provider: "anthropic",
},
routeType: "image/v1/images/generations",
weight: 100,
},
createdAt: 1,
id: "...my_id...",
name: "...my_name...",
tags: ["..."],
updatedAt: 8,
},
redisCe: {
config: {
cloudAuthentication: {
authProvider: "gcp",
awsAccessKeyId: "...my_aws_access_key_id...",
awsAssumeRoleArn: "...my_aws_assume_role_arn...",
awsCacheName: "...my_aws_cache_name...",
awsIsServerless: true,
awsRegion: "...my_aws_region...",
awsRoleSessionName: "...my_aws_role_session_name...",
awsSecretAccessKey: "...my_aws_secret_access_key...",
azureClientId: "...my_azure_client_id...",
azureClientSecret: "...my_azure_client_secret...",
azureTenantId: "...my_azure_tenant_id...",
gcpServiceAccountJson: "...my_gcp_service_account_json...",
},
database: 0,
host: "...my_host...",
password: "...my_password...",
port: 6379,
serverName: "...my_server_name...",
ssl: false,
sslVerify: false,
timeout: 2000,
username: "...my_username...",
},
createdAt: 10,
id: "...my_id...",
name: "...my_name...",
tags: ["..."],
updatedAt: 2,
},
redisEe: {
config: {
cloudAuthentication: {
authProvider: "gcp",
awsAccessKeyId: "...my_aws_access_key_id...",
awsAssumeRoleArn: "...my_aws_assume_role_arn...",
awsCacheName: "...my_aws_cache_name...",
awsIsServerless: true,
awsRegion: "...my_aws_region...",
awsRoleSessionName: "...my_aws_role_session_name...",
awsSecretAccessKey: "...my_aws_secret_access_key...",
azureClientId: "...my_azure_client_id...",
azureClientSecret: "...my_azure_client_secret...",
azureTenantId: "...my_azure_tenant_id...",
gcpServiceAccountJson: "...my_gcp_service_account_json...",
},
clusterMaxRedirections: 5,
clusterNodes: [{
ip: "127.0.0.1",
port: 6379,
}],
connectTimeout: 2000,
connectionIsProxied: false,
database: 0,
host: "127.0.0.1",
keepaliveBacklog: 259647341,
keepalivePoolSize: 256,
password: "...my_password...",
port: 6379,
readTimeout: 2000,
sendTimeout: 2000,
sentinelMaster: "...my_sentinel_master...",
sentinelNodes: [{
host: "127.0.0.1",
port: 6379,
}],
sentinelPassword: "...my_sentinel_password...",
sentinelRole: "slave",
sentinelUsername: "...my_sentinel_username...",
serverName: "...my_server_name...",
ssl: false,
sslVerify: false,
username: "...my_username...",
},
createdAt: 2,
id: "...my_id...",
name: "...my_name...",
tags: ["..."],
updatedAt: 8,
},
vectordb: {
config: {
dimensions: 10,
distanceMetric: "cosine",
pgvector: {
database: "kong-pgvector",
host: "127.0.0.1",
password: "...my_password...",
port: 5432,
ssl: false,
sslCert: "...my_ssl_cert...",
sslCertKey: "...my_ssl_cert_key...",
sslRequired: false,
sslVerify: false,
sslVersion: "tlsv1_2",
timeout: 5000,
user: "postgres",
},
redis: {
cloudAuthentication: {
authProvider: "aws",
awsAccessKeyId: "...my_aws_access_key_id...",
awsAssumeRoleArn: "...my_aws_assume_role_arn...",
awsCacheName: "...my_aws_cache_name...",
awsIsServerless: true,
awsRegion: "...my_aws_region...",
awsRoleSessionName: "...my_aws_role_session_name...",
awsSecretAccessKey: "...my_aws_secret_access_key...",
azureClientId: "...my_azure_client_id...",
azureClientSecret: "...my_azure_client_secret...",
azureTenantId: "...my_azure_tenant_id...",
gcpServiceAccountJson: "...my_gcp_service_account_json...",
},
clusterMaxRedirections: 5,
clusterNodes: [{
ip: "127.0.0.1",
port: 6379,
}],
connectTimeout: 2000,
connectionIsProxied: false,
database: 0,
host: "127.0.0.1",
keepaliveBacklog: 2068043892,
keepalivePoolSize: 256,
password: "...my_password...",
port: 6379,
readTimeout: 2000,
sendTimeout: 2000,
sentinelMaster: "...my_sentinel_master...",
sentinelNodes: [{
host: "127.0.0.1",
port: 6379,
}],
sentinelPassword: "...my_sentinel_password...",
sentinelRole: "master",
sentinelUsername: "...my_sentinel_username...",
serverName: "...my_server_name...",
ssl: false,
sslVerify: false,
username: "...my_username...",
},
strategy: "redis",
threshold: 3.37,
},
createdAt: 9,
id: "...my_id...",
name: "...my_name...",
tags: ["..."],
updatedAt: 2,
},
});
import pulumi
import pulumi_konnect as konnect
my_gatewaypartial = konnect.GatewayPartial("my_gatewaypartial",
control_plane_id="9524ec7d-36d9-465d-a8c5-83a3c9390458",
embeddings={
"config": {
"auth": {
"allow_override": False,
"aws_access_key_id": "...my_aws_access_key_id...",
"aws_secret_access_key": "...my_aws_secret_access_key...",
"azure_client_id": "...my_azure_client_id...",
"azure_client_secret": "...my_azure_client_secret...",
"azure_tenant_id": "...my_azure_tenant_id...",
"azure_use_managed_identity": False,
"gcp_metadata_url": "...my_gcp_metadata_url...",
"gcp_oauth_token_url": "...my_gcp_oauth_token_url...",
"gcp_service_account_json": "...my_gcp_service_account_json...",
"gcp_use_service_account": False,
"header_name": "...my_header_name...",
"header_value": "...my_header_value...",
"param_location": "query",
"param_name": "...my_param_name...",
"param_value": "...my_param_value...",
},
"model": {
"name": "...my_name...",
"options": {
"azure": {
"api_version": "2023-05-15",
"deployment_id": "...my_deployment_id...",
"instance": "...my_instance...",
},
"bedrock": {
"aws_assume_role_arn": "...my_aws_assume_role_arn...",
"aws_region": "...my_aws_region...",
"aws_role_session_name": "...my_aws_role_session_name...",
"aws_sts_endpoint_url": "...my_aws_sts_endpoint_url...",
"batch_bucket_prefix": "...my_batch_bucket_prefix...",
"batch_role_arn": "...my_batch_role_arn...",
"embeddings_normalize": False,
"performance_config_latency": "...my_performance_config_latency...",
"video_output_s3_uri": "...my_video_output_s3_uri...",
},
"gemini": {
"api_endpoint": "...my_api_endpoint...",
"location_id": "...my_location_id...",
"project_id": "...my_project_id...",
},
"huggingface": {
"use_cache": False,
"wait_for_model": False,
},
"upstream_url": "...my_upstream_url...",
},
"provider": "azure",
},
},
"created_at": 9,
"id": "...my_id...",
"name": "...my_name...",
"tags": ["..."],
"updated_at": 1,
},
model={
"config": {
"auth": {
"allow_override": False,
"aws_access_key_id": "...my_aws_access_key_id...",
"aws_secret_access_key": "...my_aws_secret_access_key...",
"azure_client_id": "...my_azure_client_id...",
"azure_client_secret": "...my_azure_client_secret...",
"azure_tenant_id": "...my_azure_tenant_id...",
"azure_use_managed_identity": False,
"gcp_metadata_url": "...my_gcp_metadata_url...",
"gcp_oauth_token_url": "...my_gcp_oauth_token_url...",
"gcp_service_account_json": "...my_gcp_service_account_json...",
"gcp_use_service_account": False,
"header_name": "...my_header_name...",
"header_value": "...my_header_value...",
"param_location": "body",
"param_name": "...my_param_name...",
"param_value": "...my_param_value...",
},
"description": "...my_description...",
"logging": {
"log_payloads": False,
"log_statistics": False,
},
"metadata": "{ \"see\": \"documentation\" }",
"model": {
"model_alias": "...my_model_alias...",
"name": "...my_name...",
"options": {
"anthropic_version": "...my_anthropic_version...",
"azure_api_version": "2023-05-15",
"azure_deployment_id": "...my_azure_deployment_id...",
"azure_instance": "...my_azure_instance...",
"bedrock": {
"aws_assume_role_arn": "...my_aws_assume_role_arn...",
"aws_region": "...my_aws_region...",
"aws_role_session_name": "...my_aws_role_session_name...",
"aws_sts_endpoint_url": "...my_aws_sts_endpoint_url...",
"batch_bucket_prefix": "...my_batch_bucket_prefix...",
"batch_role_arn": "...my_batch_role_arn...",
"embeddings_normalize": False,
"performance_config_latency": "...my_performance_config_latency...",
"video_output_s3_uri": "...my_video_output_s3_uri...",
},
"cohere": {
"embedding_input_type": "classification",
"wait_for_model": False,
},
"dashscope": {
"international": True,
},
"databricks": {
"workspace_instance_id": "...my_workspace_instance_id...",
},
"embeddings_dimensions": 3,
"gemini": {
"api_endpoint": "...my_api_endpoint...",
"endpoint_id": "...my_endpoint_id...",
"location_id": "...my_location_id...",
"project_id": "...my_project_id...",
},
"huggingface": {
"use_cache": True,
"wait_for_model": False,
},
"input_cost": 4.15,
"llama2_format": "openai",
"max_tokens": 2,
"mistral_format": "openai",
"output_cost": 4.19,
"temperature": 0.08,
"top_k": 202,
"top_p": 0.38,
"upstream_path": "...my_upstream_path...",
"upstream_url": "...my_upstream_url...",
},
"provider": "anthropic",
},
"route_type": "image/v1/images/generations",
"weight": 100,
},
"created_at": 1,
"id": "...my_id...",
"name": "...my_name...",
"tags": ["..."],
"updated_at": 8,
},
redis_ce={
"config": {
"cloud_authentication": {
"auth_provider": "gcp",
"aws_access_key_id": "...my_aws_access_key_id...",
"aws_assume_role_arn": "...my_aws_assume_role_arn...",
"aws_cache_name": "...my_aws_cache_name...",
"aws_is_serverless": True,
"aws_region": "...my_aws_region...",
"aws_role_session_name": "...my_aws_role_session_name...",
"aws_secret_access_key": "...my_aws_secret_access_key...",
"azure_client_id": "...my_azure_client_id...",
"azure_client_secret": "...my_azure_client_secret...",
"azure_tenant_id": "...my_azure_tenant_id...",
"gcp_service_account_json": "...my_gcp_service_account_json...",
},
"database": 0,
"host": "...my_host...",
"password": "...my_password...",
"port": 6379,
"server_name": "...my_server_name...",
"ssl": False,
"ssl_verify": False,
"timeout": 2000,
"username": "...my_username...",
},
"created_at": 10,
"id": "...my_id...",
"name": "...my_name...",
"tags": ["..."],
"updated_at": 2,
},
redis_ee={
"config": {
"cloud_authentication": {
"auth_provider": "gcp",
"aws_access_key_id": "...my_aws_access_key_id...",
"aws_assume_role_arn": "...my_aws_assume_role_arn...",
"aws_cache_name": "...my_aws_cache_name...",
"aws_is_serverless": True,
"aws_region": "...my_aws_region...",
"aws_role_session_name": "...my_aws_role_session_name...",
"aws_secret_access_key": "...my_aws_secret_access_key...",
"azure_client_id": "...my_azure_client_id...",
"azure_client_secret": "...my_azure_client_secret...",
"azure_tenant_id": "...my_azure_tenant_id...",
"gcp_service_account_json": "...my_gcp_service_account_json...",
},
"cluster_max_redirections": 5,
"cluster_nodes": [{
"ip": "127.0.0.1",
"port": 6379,
}],
"connect_timeout": 2000,
"connection_is_proxied": False,
"database": 0,
"host": "127.0.0.1",
"keepalive_backlog": 259647341,
"keepalive_pool_size": 256,
"password": "...my_password...",
"port": 6379,
"read_timeout": 2000,
"send_timeout": 2000,
"sentinel_master": "...my_sentinel_master...",
"sentinel_nodes": [{
"host": "127.0.0.1",
"port": 6379,
}],
"sentinel_password": "...my_sentinel_password...",
"sentinel_role": "slave",
"sentinel_username": "...my_sentinel_username...",
"server_name": "...my_server_name...",
"ssl": False,
"ssl_verify": False,
"username": "...my_username...",
},
"created_at": 2,
"id": "...my_id...",
"name": "...my_name...",
"tags": ["..."],
"updated_at": 8,
},
vectordb={
"config": {
"dimensions": 10,
"distance_metric": "cosine",
"pgvector": {
"database": "kong-pgvector",
"host": "127.0.0.1",
"password": "...my_password...",
"port": 5432,
"ssl": False,
"ssl_cert": "...my_ssl_cert...",
"ssl_cert_key": "...my_ssl_cert_key...",
"ssl_required": False,
"ssl_verify": False,
"ssl_version": "tlsv1_2",
"timeout": 5000,
"user": "postgres",
},
"redis": {
"cloud_authentication": {
"auth_provider": "aws",
"aws_access_key_id": "...my_aws_access_key_id...",
"aws_assume_role_arn": "...my_aws_assume_role_arn...",
"aws_cache_name": "...my_aws_cache_name...",
"aws_is_serverless": True,
"aws_region": "...my_aws_region...",
"aws_role_session_name": "...my_aws_role_session_name...",
"aws_secret_access_key": "...my_aws_secret_access_key...",
"azure_client_id": "...my_azure_client_id...",
"azure_client_secret": "...my_azure_client_secret...",
"azure_tenant_id": "...my_azure_tenant_id...",
"gcp_service_account_json": "...my_gcp_service_account_json...",
},
"cluster_max_redirections": 5,
"cluster_nodes": [{
"ip": "127.0.0.1",
"port": 6379,
}],
"connect_timeout": 2000,
"connection_is_proxied": False,
"database": 0,
"host": "127.0.0.1",
"keepalive_backlog": 2068043892,
"keepalive_pool_size": 256,
"password": "...my_password...",
"port": 6379,
"read_timeout": 2000,
"send_timeout": 2000,
"sentinel_master": "...my_sentinel_master...",
"sentinel_nodes": [{
"host": "127.0.0.1",
"port": 6379,
}],
"sentinel_password": "...my_sentinel_password...",
"sentinel_role": "master",
"sentinel_username": "...my_sentinel_username...",
"server_name": "...my_server_name...",
"ssl": False,
"ssl_verify": False,
"username": "...my_username...",
},
"strategy": "redis",
"threshold": 3.37,
},
"created_at": 9,
"id": "...my_id...",
"name": "...my_name...",
"tags": ["..."],
"updated_at": 2,
})
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.NewGatewayPartial(ctx, "my_gatewaypartial", &konnect.GatewayPartialArgs{
ControlPlaneId: pulumi.String("9524ec7d-36d9-465d-a8c5-83a3c9390458"),
Embeddings: &konnect.GatewayPartialEmbeddingsArgs{
Config: &konnect.GatewayPartialEmbeddingsConfigArgs{
Auth: &konnect.GatewayPartialEmbeddingsConfigAuthArgs{
AllowOverride: pulumi.Bool(false),
AwsAccessKeyId: pulumi.String("...my_aws_access_key_id..."),
AwsSecretAccessKey: pulumi.String("...my_aws_secret_access_key..."),
AzureClientId: pulumi.String("...my_azure_client_id..."),
AzureClientSecret: pulumi.String("...my_azure_client_secret..."),
AzureTenantId: pulumi.String("...my_azure_tenant_id..."),
AzureUseManagedIdentity: pulumi.Bool(false),
GcpMetadataUrl: pulumi.String("...my_gcp_metadata_url..."),
GcpOauthTokenUrl: pulumi.String("...my_gcp_oauth_token_url..."),
GcpServiceAccountJson: pulumi.String("...my_gcp_service_account_json..."),
GcpUseServiceAccount: pulumi.Bool(false),
HeaderName: pulumi.String("...my_header_name..."),
HeaderValue: pulumi.String("...my_header_value..."),
ParamLocation: pulumi.String("query"),
ParamName: pulumi.String("...my_param_name..."),
ParamValue: pulumi.String("...my_param_value..."),
},
Model: &konnect.GatewayPartialEmbeddingsConfigModelArgs{
Name: pulumi.String("...my_name..."),
Options: &konnect.GatewayPartialEmbeddingsConfigModelOptionsArgs{
Azure: &konnect.GatewayPartialEmbeddingsConfigModelOptionsAzureArgs{
ApiVersion: pulumi.String("2023-05-15"),
DeploymentId: pulumi.String("...my_deployment_id..."),
Instance: pulumi.String("...my_instance..."),
},
Bedrock: &konnect.GatewayPartialEmbeddingsConfigModelOptionsBedrockArgs{
AwsAssumeRoleArn: pulumi.String("...my_aws_assume_role_arn..."),
AwsRegion: pulumi.String("...my_aws_region..."),
AwsRoleSessionName: pulumi.String("...my_aws_role_session_name..."),
AwsStsEndpointUrl: pulumi.String("...my_aws_sts_endpoint_url..."),
BatchBucketPrefix: pulumi.String("...my_batch_bucket_prefix..."),
BatchRoleArn: pulumi.String("...my_batch_role_arn..."),
EmbeddingsNormalize: pulumi.Bool(false),
PerformanceConfigLatency: pulumi.String("...my_performance_config_latency..."),
VideoOutputS3Uri: pulumi.String("...my_video_output_s3_uri..."),
},
Gemini: &konnect.GatewayPartialEmbeddingsConfigModelOptionsGeminiArgs{
ApiEndpoint: pulumi.String("...my_api_endpoint..."),
LocationId: pulumi.String("...my_location_id..."),
ProjectId: pulumi.String("...my_project_id..."),
},
Huggingface: &konnect.GatewayPartialEmbeddingsConfigModelOptionsHuggingfaceArgs{
UseCache: pulumi.Bool(false),
WaitForModel: pulumi.Bool(false),
},
UpstreamUrl: pulumi.String("...my_upstream_url..."),
},
Provider: pulumi.String("azure"),
},
},
CreatedAt: pulumi.Float64(9),
Id: pulumi.String("...my_id..."),
Name: pulumi.String("...my_name..."),
Tags: pulumi.StringArray{
pulumi.String("..."),
},
UpdatedAt: pulumi.Float64(1),
},
Model: &konnect.GatewayPartialModelArgs{
Config: &konnect.GatewayPartialModelConfigArgs{
Auth: &konnect.GatewayPartialModelConfigAuthArgs{
AllowOverride: pulumi.Bool(false),
AwsAccessKeyId: pulumi.String("...my_aws_access_key_id..."),
AwsSecretAccessKey: pulumi.String("...my_aws_secret_access_key..."),
AzureClientId: pulumi.String("...my_azure_client_id..."),
AzureClientSecret: pulumi.String("...my_azure_client_secret..."),
AzureTenantId: pulumi.String("...my_azure_tenant_id..."),
AzureUseManagedIdentity: pulumi.Bool(false),
GcpMetadataUrl: pulumi.String("...my_gcp_metadata_url..."),
GcpOauthTokenUrl: pulumi.String("...my_gcp_oauth_token_url..."),
GcpServiceAccountJson: pulumi.String("...my_gcp_service_account_json..."),
GcpUseServiceAccount: pulumi.Bool(false),
HeaderName: pulumi.String("...my_header_name..."),
HeaderValue: pulumi.String("...my_header_value..."),
ParamLocation: pulumi.String("body"),
ParamName: pulumi.String("...my_param_name..."),
ParamValue: pulumi.String("...my_param_value..."),
},
Description: pulumi.String("...my_description..."),
Logging: &konnect.GatewayPartialModelConfigLoggingArgs{
LogPayloads: pulumi.Bool(false),
LogStatistics: pulumi.Bool(false),
},
Metadata: pulumi.String("{ \"see\": \"documentation\" }"),
Model: &konnect.GatewayPartialModelConfigModelArgs{
ModelAlias: pulumi.String("...my_model_alias..."),
Name: pulumi.String("...my_name..."),
Options: &konnect.GatewayPartialModelConfigModelOptionsArgs{
AnthropicVersion: pulumi.String("...my_anthropic_version..."),
AzureApiVersion: pulumi.String("2023-05-15"),
AzureDeploymentId: pulumi.String("...my_azure_deployment_id..."),
AzureInstance: pulumi.String("...my_azure_instance..."),
Bedrock: &konnect.GatewayPartialModelConfigModelOptionsBedrockArgs{
AwsAssumeRoleArn: pulumi.String("...my_aws_assume_role_arn..."),
AwsRegion: pulumi.String("...my_aws_region..."),
AwsRoleSessionName: pulumi.String("...my_aws_role_session_name..."),
AwsStsEndpointUrl: pulumi.String("...my_aws_sts_endpoint_url..."),
BatchBucketPrefix: pulumi.String("...my_batch_bucket_prefix..."),
BatchRoleArn: pulumi.String("...my_batch_role_arn..."),
EmbeddingsNormalize: pulumi.Bool(false),
PerformanceConfigLatency: pulumi.String("...my_performance_config_latency..."),
VideoOutputS3Uri: pulumi.String("...my_video_output_s3_uri..."),
},
Cohere: &konnect.GatewayPartialModelConfigModelOptionsCohereArgs{
EmbeddingInputType: pulumi.String("classification"),
WaitForModel: pulumi.Bool(false),
},
Dashscope: &konnect.GatewayPartialModelConfigModelOptionsDashscopeArgs{
International: pulumi.Bool(true),
},
Databricks: &konnect.GatewayPartialModelConfigModelOptionsDatabricksArgs{
WorkspaceInstanceId: pulumi.String("...my_workspace_instance_id..."),
},
EmbeddingsDimensions: pulumi.Float64(3),
Gemini: &konnect.GatewayPartialModelConfigModelOptionsGeminiArgs{
ApiEndpoint: pulumi.String("...my_api_endpoint..."),
EndpointId: pulumi.String("...my_endpoint_id..."),
LocationId: pulumi.String("...my_location_id..."),
ProjectId: pulumi.String("...my_project_id..."),
},
Huggingface: &konnect.GatewayPartialModelConfigModelOptionsHuggingfaceArgs{
UseCache: pulumi.Bool(true),
WaitForModel: pulumi.Bool(false),
},
InputCost: pulumi.Float64(4.15),
Llama2Format: pulumi.String("openai"),
MaxTokens: pulumi.Float64(2),
MistralFormat: pulumi.String("openai"),
OutputCost: pulumi.Float64(4.19),
Temperature: pulumi.Float64(0.08),
TopK: pulumi.Float64(202),
TopP: pulumi.Float64(0.38),
UpstreamPath: pulumi.String("...my_upstream_path..."),
UpstreamUrl: pulumi.String("...my_upstream_url..."),
},
Provider: pulumi.String("anthropic"),
},
RouteType: pulumi.String("image/v1/images/generations"),
Weight: pulumi.Float64(100),
},
CreatedAt: pulumi.Float64(1),
Id: pulumi.String("...my_id..."),
Name: pulumi.String("...my_name..."),
Tags: pulumi.StringArray{
pulumi.String("..."),
},
UpdatedAt: pulumi.Float64(8),
},
RedisCe: &konnect.GatewayPartialRedisCeArgs{
Config: &konnect.GatewayPartialRedisCeConfigArgs{
CloudAuthentication: &konnect.GatewayPartialRedisCeConfigCloudAuthenticationArgs{
AuthProvider: pulumi.String("gcp"),
AwsAccessKeyId: pulumi.String("...my_aws_access_key_id..."),
AwsAssumeRoleArn: pulumi.String("...my_aws_assume_role_arn..."),
AwsCacheName: pulumi.String("...my_aws_cache_name..."),
AwsIsServerless: pulumi.Bool(true),
AwsRegion: pulumi.String("...my_aws_region..."),
AwsRoleSessionName: pulumi.String("...my_aws_role_session_name..."),
AwsSecretAccessKey: pulumi.String("...my_aws_secret_access_key..."),
AzureClientId: pulumi.String("...my_azure_client_id..."),
AzureClientSecret: pulumi.String("...my_azure_client_secret..."),
AzureTenantId: pulumi.String("...my_azure_tenant_id..."),
GcpServiceAccountJson: pulumi.String("...my_gcp_service_account_json..."),
},
Database: pulumi.Float64(0),
Host: pulumi.String("...my_host..."),
Password: pulumi.String("...my_password..."),
Port: pulumi.Float64(6379),
ServerName: pulumi.String("...my_server_name..."),
Ssl: pulumi.Bool(false),
SslVerify: pulumi.Bool(false),
Timeout: pulumi.Float64(2000),
Username: pulumi.String("...my_username..."),
},
CreatedAt: pulumi.Float64(10),
Id: pulumi.String("...my_id..."),
Name: pulumi.String("...my_name..."),
Tags: pulumi.StringArray{
pulumi.String("..."),
},
UpdatedAt: pulumi.Float64(2),
},
RedisEe: &konnect.GatewayPartialRedisEeArgs{
Config: &konnect.GatewayPartialRedisEeConfigArgs{
CloudAuthentication: &konnect.GatewayPartialRedisEeConfigCloudAuthenticationArgs{
AuthProvider: pulumi.String("gcp"),
AwsAccessKeyId: pulumi.String("...my_aws_access_key_id..."),
AwsAssumeRoleArn: pulumi.String("...my_aws_assume_role_arn..."),
AwsCacheName: pulumi.String("...my_aws_cache_name..."),
AwsIsServerless: pulumi.Bool(true),
AwsRegion: pulumi.String("...my_aws_region..."),
AwsRoleSessionName: pulumi.String("...my_aws_role_session_name..."),
AwsSecretAccessKey: pulumi.String("...my_aws_secret_access_key..."),
AzureClientId: pulumi.String("...my_azure_client_id..."),
AzureClientSecret: pulumi.String("...my_azure_client_secret..."),
AzureTenantId: pulumi.String("...my_azure_tenant_id..."),
GcpServiceAccountJson: pulumi.String("...my_gcp_service_account_json..."),
},
ClusterMaxRedirections: pulumi.Float64(5),
ClusterNodes: konnect.GatewayPartialRedisEeConfigClusterNodeArray{
&konnect.GatewayPartialRedisEeConfigClusterNodeArgs{
Ip: pulumi.String("127.0.0.1"),
Port: pulumi.Float64(6379),
},
},
ConnectTimeout: pulumi.Float64(2000),
ConnectionIsProxied: pulumi.Bool(false),
Database: pulumi.Float64(0),
Host: pulumi.String("127.0.0.1"),
KeepaliveBacklog: pulumi.Float64(259647341),
KeepalivePoolSize: pulumi.Float64(256),
Password: pulumi.String("...my_password..."),
Port: pulumi.Float64(6379),
ReadTimeout: pulumi.Float64(2000),
SendTimeout: pulumi.Float64(2000),
SentinelMaster: pulumi.String("...my_sentinel_master..."),
SentinelNodes: konnect.GatewayPartialRedisEeConfigSentinelNodeArray{
&konnect.GatewayPartialRedisEeConfigSentinelNodeArgs{
Host: pulumi.String("127.0.0.1"),
Port: pulumi.Float64(6379),
},
},
SentinelPassword: pulumi.String("...my_sentinel_password..."),
SentinelRole: pulumi.String("slave"),
SentinelUsername: pulumi.String("...my_sentinel_username..."),
ServerName: pulumi.String("...my_server_name..."),
Ssl: pulumi.Bool(false),
SslVerify: pulumi.Bool(false),
Username: pulumi.String("...my_username..."),
},
CreatedAt: pulumi.Float64(2),
Id: pulumi.String("...my_id..."),
Name: pulumi.String("...my_name..."),
Tags: pulumi.StringArray{
pulumi.String("..."),
},
UpdatedAt: pulumi.Float64(8),
},
Vectordb: &konnect.GatewayPartialVectordbArgs{
Config: &konnect.GatewayPartialVectordbConfigArgs{
Dimensions: pulumi.Float64(10),
DistanceMetric: pulumi.String("cosine"),
Pgvector: &konnect.GatewayPartialVectordbConfigPgvectorArgs{
Database: pulumi.String("kong-pgvector"),
Host: pulumi.String("127.0.0.1"),
Password: pulumi.String("...my_password..."),
Port: pulumi.Float64(5432),
Ssl: pulumi.Bool(false),
SslCert: pulumi.String("...my_ssl_cert..."),
SslCertKey: pulumi.String("...my_ssl_cert_key..."),
SslRequired: pulumi.Bool(false),
SslVerify: pulumi.Bool(false),
SslVersion: pulumi.String("tlsv1_2"),
Timeout: pulumi.Float64(5000),
User: pulumi.String("postgres"),
},
Redis: &konnect.GatewayPartialVectordbConfigRedisArgs{
CloudAuthentication: &konnect.GatewayPartialVectordbConfigRedisCloudAuthenticationArgs{
AuthProvider: pulumi.String("aws"),
AwsAccessKeyId: pulumi.String("...my_aws_access_key_id..."),
AwsAssumeRoleArn: pulumi.String("...my_aws_assume_role_arn..."),
AwsCacheName: pulumi.String("...my_aws_cache_name..."),
AwsIsServerless: pulumi.Bool(true),
AwsRegion: pulumi.String("...my_aws_region..."),
AwsRoleSessionName: pulumi.String("...my_aws_role_session_name..."),
AwsSecretAccessKey: pulumi.String("...my_aws_secret_access_key..."),
AzureClientId: pulumi.String("...my_azure_client_id..."),
AzureClientSecret: pulumi.String("...my_azure_client_secret..."),
AzureTenantId: pulumi.String("...my_azure_tenant_id..."),
GcpServiceAccountJson: pulumi.String("...my_gcp_service_account_json..."),
},
ClusterMaxRedirections: pulumi.Float64(5),
ClusterNodes: konnect.GatewayPartialVectordbConfigRedisClusterNodeArray{
&konnect.GatewayPartialVectordbConfigRedisClusterNodeArgs{
Ip: pulumi.String("127.0.0.1"),
Port: pulumi.Float64(6379),
},
},
ConnectTimeout: pulumi.Float64(2000),
ConnectionIsProxied: pulumi.Bool(false),
Database: pulumi.Float64(0),
Host: pulumi.String("127.0.0.1"),
KeepaliveBacklog: pulumi.Float64(2068043892),
KeepalivePoolSize: pulumi.Float64(256),
Password: pulumi.String("...my_password..."),
Port: pulumi.Float64(6379),
ReadTimeout: pulumi.Float64(2000),
SendTimeout: pulumi.Float64(2000),
SentinelMaster: pulumi.String("...my_sentinel_master..."),
SentinelNodes: konnect.GatewayPartialVectordbConfigRedisSentinelNodeArray{
&konnect.GatewayPartialVectordbConfigRedisSentinelNodeArgs{
Host: pulumi.String("127.0.0.1"),
Port: pulumi.Float64(6379),
},
},
SentinelPassword: pulumi.String("...my_sentinel_password..."),
SentinelRole: pulumi.String("master"),
SentinelUsername: pulumi.String("...my_sentinel_username..."),
ServerName: pulumi.String("...my_server_name..."),
Ssl: pulumi.Bool(false),
SslVerify: pulumi.Bool(false),
Username: pulumi.String("...my_username..."),
},
Strategy: pulumi.String("redis"),
Threshold: pulumi.Float64(3.37),
},
CreatedAt: pulumi.Float64(9),
Id: pulumi.String("...my_id..."),
Name: pulumi.String("...my_name..."),
Tags: pulumi.StringArray{
pulumi.String("..."),
},
UpdatedAt: pulumi.Float64(2),
},
})
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 myGatewaypartial = new Konnect.GatewayPartial("my_gatewaypartial", new()
{
ControlPlaneId = "9524ec7d-36d9-465d-a8c5-83a3c9390458",
Embeddings = new Konnect.Inputs.GatewayPartialEmbeddingsArgs
{
Config = new Konnect.Inputs.GatewayPartialEmbeddingsConfigArgs
{
Auth = new Konnect.Inputs.GatewayPartialEmbeddingsConfigAuthArgs
{
AllowOverride = false,
AwsAccessKeyId = "...my_aws_access_key_id...",
AwsSecretAccessKey = "...my_aws_secret_access_key...",
AzureClientId = "...my_azure_client_id...",
AzureClientSecret = "...my_azure_client_secret...",
AzureTenantId = "...my_azure_tenant_id...",
AzureUseManagedIdentity = false,
GcpMetadataUrl = "...my_gcp_metadata_url...",
GcpOauthTokenUrl = "...my_gcp_oauth_token_url...",
GcpServiceAccountJson = "...my_gcp_service_account_json...",
GcpUseServiceAccount = false,
HeaderName = "...my_header_name...",
HeaderValue = "...my_header_value...",
ParamLocation = "query",
ParamName = "...my_param_name...",
ParamValue = "...my_param_value...",
},
Model = new Konnect.Inputs.GatewayPartialEmbeddingsConfigModelArgs
{
Name = "...my_name...",
Options = new Konnect.Inputs.GatewayPartialEmbeddingsConfigModelOptionsArgs
{
Azure = new Konnect.Inputs.GatewayPartialEmbeddingsConfigModelOptionsAzureArgs
{
ApiVersion = "2023-05-15",
DeploymentId = "...my_deployment_id...",
Instance = "...my_instance...",
},
Bedrock = new Konnect.Inputs.GatewayPartialEmbeddingsConfigModelOptionsBedrockArgs
{
AwsAssumeRoleArn = "...my_aws_assume_role_arn...",
AwsRegion = "...my_aws_region...",
AwsRoleSessionName = "...my_aws_role_session_name...",
AwsStsEndpointUrl = "...my_aws_sts_endpoint_url...",
BatchBucketPrefix = "...my_batch_bucket_prefix...",
BatchRoleArn = "...my_batch_role_arn...",
EmbeddingsNormalize = false,
PerformanceConfigLatency = "...my_performance_config_latency...",
VideoOutputS3Uri = "...my_video_output_s3_uri...",
},
Gemini = new Konnect.Inputs.GatewayPartialEmbeddingsConfigModelOptionsGeminiArgs
{
ApiEndpoint = "...my_api_endpoint...",
LocationId = "...my_location_id...",
ProjectId = "...my_project_id...",
},
Huggingface = new Konnect.Inputs.GatewayPartialEmbeddingsConfigModelOptionsHuggingfaceArgs
{
UseCache = false,
WaitForModel = false,
},
UpstreamUrl = "...my_upstream_url...",
},
Provider = "azure",
},
},
CreatedAt = 9,
Id = "...my_id...",
Name = "...my_name...",
Tags = new[]
{
"...",
},
UpdatedAt = 1,
},
Model = new Konnect.Inputs.GatewayPartialModelArgs
{
Config = new Konnect.Inputs.GatewayPartialModelConfigArgs
{
Auth = new Konnect.Inputs.GatewayPartialModelConfigAuthArgs
{
AllowOverride = false,
AwsAccessKeyId = "...my_aws_access_key_id...",
AwsSecretAccessKey = "...my_aws_secret_access_key...",
AzureClientId = "...my_azure_client_id...",
AzureClientSecret = "...my_azure_client_secret...",
AzureTenantId = "...my_azure_tenant_id...",
AzureUseManagedIdentity = false,
GcpMetadataUrl = "...my_gcp_metadata_url...",
GcpOauthTokenUrl = "...my_gcp_oauth_token_url...",
GcpServiceAccountJson = "...my_gcp_service_account_json...",
GcpUseServiceAccount = false,
HeaderName = "...my_header_name...",
HeaderValue = "...my_header_value...",
ParamLocation = "body",
ParamName = "...my_param_name...",
ParamValue = "...my_param_value...",
},
Description = "...my_description...",
Logging = new Konnect.Inputs.GatewayPartialModelConfigLoggingArgs
{
LogPayloads = false,
LogStatistics = false,
},
Metadata = "{ \"see\": \"documentation\" }",
Model = new Konnect.Inputs.GatewayPartialModelConfigModelArgs
{
ModelAlias = "...my_model_alias...",
Name = "...my_name...",
Options = new Konnect.Inputs.GatewayPartialModelConfigModelOptionsArgs
{
AnthropicVersion = "...my_anthropic_version...",
AzureApiVersion = "2023-05-15",
AzureDeploymentId = "...my_azure_deployment_id...",
AzureInstance = "...my_azure_instance...",
Bedrock = new Konnect.Inputs.GatewayPartialModelConfigModelOptionsBedrockArgs
{
AwsAssumeRoleArn = "...my_aws_assume_role_arn...",
AwsRegion = "...my_aws_region...",
AwsRoleSessionName = "...my_aws_role_session_name...",
AwsStsEndpointUrl = "...my_aws_sts_endpoint_url...",
BatchBucketPrefix = "...my_batch_bucket_prefix...",
BatchRoleArn = "...my_batch_role_arn...",
EmbeddingsNormalize = false,
PerformanceConfigLatency = "...my_performance_config_latency...",
VideoOutputS3Uri = "...my_video_output_s3_uri...",
},
Cohere = new Konnect.Inputs.GatewayPartialModelConfigModelOptionsCohereArgs
{
EmbeddingInputType = "classification",
WaitForModel = false,
},
Dashscope = new Konnect.Inputs.GatewayPartialModelConfigModelOptionsDashscopeArgs
{
International = true,
},
Databricks = new Konnect.Inputs.GatewayPartialModelConfigModelOptionsDatabricksArgs
{
WorkspaceInstanceId = "...my_workspace_instance_id...",
},
EmbeddingsDimensions = 3,
Gemini = new Konnect.Inputs.GatewayPartialModelConfigModelOptionsGeminiArgs
{
ApiEndpoint = "...my_api_endpoint...",
EndpointId = "...my_endpoint_id...",
LocationId = "...my_location_id...",
ProjectId = "...my_project_id...",
},
Huggingface = new Konnect.Inputs.GatewayPartialModelConfigModelOptionsHuggingfaceArgs
{
UseCache = true,
WaitForModel = false,
},
InputCost = 4.15,
Llama2Format = "openai",
MaxTokens = 2,
MistralFormat = "openai",
OutputCost = 4.19,
Temperature = 0.08,
TopK = 202,
TopP = 0.38,
UpstreamPath = "...my_upstream_path...",
UpstreamUrl = "...my_upstream_url...",
},
Provider = "anthropic",
},
RouteType = "image/v1/images/generations",
Weight = 100,
},
CreatedAt = 1,
Id = "...my_id...",
Name = "...my_name...",
Tags = new[]
{
"...",
},
UpdatedAt = 8,
},
RedisCe = new Konnect.Inputs.GatewayPartialRedisCeArgs
{
Config = new Konnect.Inputs.GatewayPartialRedisCeConfigArgs
{
CloudAuthentication = new Konnect.Inputs.GatewayPartialRedisCeConfigCloudAuthenticationArgs
{
AuthProvider = "gcp",
AwsAccessKeyId = "...my_aws_access_key_id...",
AwsAssumeRoleArn = "...my_aws_assume_role_arn...",
AwsCacheName = "...my_aws_cache_name...",
AwsIsServerless = true,
AwsRegion = "...my_aws_region...",
AwsRoleSessionName = "...my_aws_role_session_name...",
AwsSecretAccessKey = "...my_aws_secret_access_key...",
AzureClientId = "...my_azure_client_id...",
AzureClientSecret = "...my_azure_client_secret...",
AzureTenantId = "...my_azure_tenant_id...",
GcpServiceAccountJson = "...my_gcp_service_account_json...",
},
Database = 0,
Host = "...my_host...",
Password = "...my_password...",
Port = 6379,
ServerName = "...my_server_name...",
Ssl = false,
SslVerify = false,
Timeout = 2000,
Username = "...my_username...",
},
CreatedAt = 10,
Id = "...my_id...",
Name = "...my_name...",
Tags = new[]
{
"...",
},
UpdatedAt = 2,
},
RedisEe = new Konnect.Inputs.GatewayPartialRedisEeArgs
{
Config = new Konnect.Inputs.GatewayPartialRedisEeConfigArgs
{
CloudAuthentication = new Konnect.Inputs.GatewayPartialRedisEeConfigCloudAuthenticationArgs
{
AuthProvider = "gcp",
AwsAccessKeyId = "...my_aws_access_key_id...",
AwsAssumeRoleArn = "...my_aws_assume_role_arn...",
AwsCacheName = "...my_aws_cache_name...",
AwsIsServerless = true,
AwsRegion = "...my_aws_region...",
AwsRoleSessionName = "...my_aws_role_session_name...",
AwsSecretAccessKey = "...my_aws_secret_access_key...",
AzureClientId = "...my_azure_client_id...",
AzureClientSecret = "...my_azure_client_secret...",
AzureTenantId = "...my_azure_tenant_id...",
GcpServiceAccountJson = "...my_gcp_service_account_json...",
},
ClusterMaxRedirections = 5,
ClusterNodes = new[]
{
new Konnect.Inputs.GatewayPartialRedisEeConfigClusterNodeArgs
{
Ip = "127.0.0.1",
Port = 6379,
},
},
ConnectTimeout = 2000,
ConnectionIsProxied = false,
Database = 0,
Host = "127.0.0.1",
KeepaliveBacklog = 259647341,
KeepalivePoolSize = 256,
Password = "...my_password...",
Port = 6379,
ReadTimeout = 2000,
SendTimeout = 2000,
SentinelMaster = "...my_sentinel_master...",
SentinelNodes = new[]
{
new Konnect.Inputs.GatewayPartialRedisEeConfigSentinelNodeArgs
{
Host = "127.0.0.1",
Port = 6379,
},
},
SentinelPassword = "...my_sentinel_password...",
SentinelRole = "slave",
SentinelUsername = "...my_sentinel_username...",
ServerName = "...my_server_name...",
Ssl = false,
SslVerify = false,
Username = "...my_username...",
},
CreatedAt = 2,
Id = "...my_id...",
Name = "...my_name...",
Tags = new[]
{
"...",
},
UpdatedAt = 8,
},
Vectordb = new Konnect.Inputs.GatewayPartialVectordbArgs
{
Config = new Konnect.Inputs.GatewayPartialVectordbConfigArgs
{
Dimensions = 10,
DistanceMetric = "cosine",
Pgvector = new Konnect.Inputs.GatewayPartialVectordbConfigPgvectorArgs
{
Database = "kong-pgvector",
Host = "127.0.0.1",
Password = "...my_password...",
Port = 5432,
Ssl = false,
SslCert = "...my_ssl_cert...",
SslCertKey = "...my_ssl_cert_key...",
SslRequired = false,
SslVerify = false,
SslVersion = "tlsv1_2",
Timeout = 5000,
User = "postgres",
},
Redis = new Konnect.Inputs.GatewayPartialVectordbConfigRedisArgs
{
CloudAuthentication = new Konnect.Inputs.GatewayPartialVectordbConfigRedisCloudAuthenticationArgs
{
AuthProvider = "aws",
AwsAccessKeyId = "...my_aws_access_key_id...",
AwsAssumeRoleArn = "...my_aws_assume_role_arn...",
AwsCacheName = "...my_aws_cache_name...",
AwsIsServerless = true,
AwsRegion = "...my_aws_region...",
AwsRoleSessionName = "...my_aws_role_session_name...",
AwsSecretAccessKey = "...my_aws_secret_access_key...",
AzureClientId = "...my_azure_client_id...",
AzureClientSecret = "...my_azure_client_secret...",
AzureTenantId = "...my_azure_tenant_id...",
GcpServiceAccountJson = "...my_gcp_service_account_json...",
},
ClusterMaxRedirections = 5,
ClusterNodes = new[]
{
new Konnect.Inputs.GatewayPartialVectordbConfigRedisClusterNodeArgs
{
Ip = "127.0.0.1",
Port = 6379,
},
},
ConnectTimeout = 2000,
ConnectionIsProxied = false,
Database = 0,
Host = "127.0.0.1",
KeepaliveBacklog = 2068043892,
KeepalivePoolSize = 256,
Password = "...my_password...",
Port = 6379,
ReadTimeout = 2000,
SendTimeout = 2000,
SentinelMaster = "...my_sentinel_master...",
SentinelNodes = new[]
{
new Konnect.Inputs.GatewayPartialVectordbConfigRedisSentinelNodeArgs
{
Host = "127.0.0.1",
Port = 6379,
},
},
SentinelPassword = "...my_sentinel_password...",
SentinelRole = "master",
SentinelUsername = "...my_sentinel_username...",
ServerName = "...my_server_name...",
Ssl = false,
SslVerify = false,
Username = "...my_username...",
},
Strategy = "redis",
Threshold = 3.37,
},
CreatedAt = 9,
Id = "...my_id...",
Name = "...my_name...",
Tags = new[]
{
"...",
},
UpdatedAt = 2,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.konnect.GatewayPartial;
import com.pulumi.konnect.GatewayPartialArgs;
import com.pulumi.konnect.inputs.GatewayPartialEmbeddingsArgs;
import com.pulumi.konnect.inputs.GatewayPartialEmbeddingsConfigArgs;
import com.pulumi.konnect.inputs.GatewayPartialEmbeddingsConfigAuthArgs;
import com.pulumi.konnect.inputs.GatewayPartialEmbeddingsConfigModelArgs;
import com.pulumi.konnect.inputs.GatewayPartialEmbeddingsConfigModelOptionsArgs;
import com.pulumi.konnect.inputs.GatewayPartialEmbeddingsConfigModelOptionsAzureArgs;
import com.pulumi.konnect.inputs.GatewayPartialEmbeddingsConfigModelOptionsBedrockArgs;
import com.pulumi.konnect.inputs.GatewayPartialEmbeddingsConfigModelOptionsGeminiArgs;
import com.pulumi.konnect.inputs.GatewayPartialEmbeddingsConfigModelOptionsHuggingfaceArgs;
import com.pulumi.konnect.inputs.GatewayPartialModelArgs;
import com.pulumi.konnect.inputs.GatewayPartialModelConfigArgs;
import com.pulumi.konnect.inputs.GatewayPartialModelConfigAuthArgs;
import com.pulumi.konnect.inputs.GatewayPartialModelConfigLoggingArgs;
import com.pulumi.konnect.inputs.GatewayPartialModelConfigModelArgs;
import com.pulumi.konnect.inputs.GatewayPartialModelConfigModelOptionsArgs;
import com.pulumi.konnect.inputs.GatewayPartialModelConfigModelOptionsBedrockArgs;
import com.pulumi.konnect.inputs.GatewayPartialModelConfigModelOptionsCohereArgs;
import com.pulumi.konnect.inputs.GatewayPartialModelConfigModelOptionsDashscopeArgs;
import com.pulumi.konnect.inputs.GatewayPartialModelConfigModelOptionsDatabricksArgs;
import com.pulumi.konnect.inputs.GatewayPartialModelConfigModelOptionsGeminiArgs;
import com.pulumi.konnect.inputs.GatewayPartialModelConfigModelOptionsHuggingfaceArgs;
import com.pulumi.konnect.inputs.GatewayPartialRedisCeArgs;
import com.pulumi.konnect.inputs.GatewayPartialRedisCeConfigArgs;
import com.pulumi.konnect.inputs.GatewayPartialRedisCeConfigCloudAuthenticationArgs;
import com.pulumi.konnect.inputs.GatewayPartialRedisEeArgs;
import com.pulumi.konnect.inputs.GatewayPartialRedisEeConfigArgs;
import com.pulumi.konnect.inputs.GatewayPartialRedisEeConfigCloudAuthenticationArgs;
import com.pulumi.konnect.inputs.GatewayPartialVectordbArgs;
import com.pulumi.konnect.inputs.GatewayPartialVectordbConfigArgs;
import com.pulumi.konnect.inputs.GatewayPartialVectordbConfigPgvectorArgs;
import com.pulumi.konnect.inputs.GatewayPartialVectordbConfigRedisArgs;
import com.pulumi.konnect.inputs.GatewayPartialVectordbConfigRedisCloudAuthenticationArgs;
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 myGatewaypartial = new GatewayPartial("myGatewaypartial", GatewayPartialArgs.builder()
.controlPlaneId("9524ec7d-36d9-465d-a8c5-83a3c9390458")
.embeddings(GatewayPartialEmbeddingsArgs.builder()
.config(GatewayPartialEmbeddingsConfigArgs.builder()
.auth(GatewayPartialEmbeddingsConfigAuthArgs.builder()
.allowOverride(false)
.awsAccessKeyId("...my_aws_access_key_id...")
.awsSecretAccessKey("...my_aws_secret_access_key...")
.azureClientId("...my_azure_client_id...")
.azureClientSecret("...my_azure_client_secret...")
.azureTenantId("...my_azure_tenant_id...")
.azureUseManagedIdentity(false)
.gcpMetadataUrl("...my_gcp_metadata_url...")
.gcpOauthTokenUrl("...my_gcp_oauth_token_url...")
.gcpServiceAccountJson("...my_gcp_service_account_json...")
.gcpUseServiceAccount(false)
.headerName("...my_header_name...")
.headerValue("...my_header_value...")
.paramLocation("query")
.paramName("...my_param_name...")
.paramValue("...my_param_value...")
.build())
.model(GatewayPartialEmbeddingsConfigModelArgs.builder()
.name("...my_name...")
.options(GatewayPartialEmbeddingsConfigModelOptionsArgs.builder()
.azure(GatewayPartialEmbeddingsConfigModelOptionsAzureArgs.builder()
.apiVersion("2023-05-15")
.deploymentId("...my_deployment_id...")
.instance("...my_instance...")
.build())
.bedrock(GatewayPartialEmbeddingsConfigModelOptionsBedrockArgs.builder()
.awsAssumeRoleArn("...my_aws_assume_role_arn...")
.awsRegion("...my_aws_region...")
.awsRoleSessionName("...my_aws_role_session_name...")
.awsStsEndpointUrl("...my_aws_sts_endpoint_url...")
.batchBucketPrefix("...my_batch_bucket_prefix...")
.batchRoleArn("...my_batch_role_arn...")
.embeddingsNormalize(false)
.performanceConfigLatency("...my_performance_config_latency...")
.videoOutputS3Uri("...my_video_output_s3_uri...")
.build())
.gemini(GatewayPartialEmbeddingsConfigModelOptionsGeminiArgs.builder()
.apiEndpoint("...my_api_endpoint...")
.locationId("...my_location_id...")
.projectId("...my_project_id...")
.build())
.huggingface(GatewayPartialEmbeddingsConfigModelOptionsHuggingfaceArgs.builder()
.useCache(false)
.waitForModel(false)
.build())
.upstreamUrl("...my_upstream_url...")
.build())
.provider("azure")
.build())
.build())
.createdAt(9.0)
.id("...my_id...")
.name("...my_name...")
.tags("...")
.updatedAt(1.0)
.build())
.model(GatewayPartialModelArgs.builder()
.config(GatewayPartialModelConfigArgs.builder()
.auth(GatewayPartialModelConfigAuthArgs.builder()
.allowOverride(false)
.awsAccessKeyId("...my_aws_access_key_id...")
.awsSecretAccessKey("...my_aws_secret_access_key...")
.azureClientId("...my_azure_client_id...")
.azureClientSecret("...my_azure_client_secret...")
.azureTenantId("...my_azure_tenant_id...")
.azureUseManagedIdentity(false)
.gcpMetadataUrl("...my_gcp_metadata_url...")
.gcpOauthTokenUrl("...my_gcp_oauth_token_url...")
.gcpServiceAccountJson("...my_gcp_service_account_json...")
.gcpUseServiceAccount(false)
.headerName("...my_header_name...")
.headerValue("...my_header_value...")
.paramLocation("body")
.paramName("...my_param_name...")
.paramValue("...my_param_value...")
.build())
.description("...my_description...")
.logging(GatewayPartialModelConfigLoggingArgs.builder()
.logPayloads(false)
.logStatistics(false)
.build())
.metadata("{ \"see\": \"documentation\" }")
.model(GatewayPartialModelConfigModelArgs.builder()
.modelAlias("...my_model_alias...")
.name("...my_name...")
.options(GatewayPartialModelConfigModelOptionsArgs.builder()
.anthropicVersion("...my_anthropic_version...")
.azureApiVersion("2023-05-15")
.azureDeploymentId("...my_azure_deployment_id...")
.azureInstance("...my_azure_instance...")
.bedrock(GatewayPartialModelConfigModelOptionsBedrockArgs.builder()
.awsAssumeRoleArn("...my_aws_assume_role_arn...")
.awsRegion("...my_aws_region...")
.awsRoleSessionName("...my_aws_role_session_name...")
.awsStsEndpointUrl("...my_aws_sts_endpoint_url...")
.batchBucketPrefix("...my_batch_bucket_prefix...")
.batchRoleArn("...my_batch_role_arn...")
.embeddingsNormalize(false)
.performanceConfigLatency("...my_performance_config_latency...")
.videoOutputS3Uri("...my_video_output_s3_uri...")
.build())
.cohere(GatewayPartialModelConfigModelOptionsCohereArgs.builder()
.embeddingInputType("classification")
.waitForModel(false)
.build())
.dashscope(GatewayPartialModelConfigModelOptionsDashscopeArgs.builder()
.international(true)
.build())
.databricks(GatewayPartialModelConfigModelOptionsDatabricksArgs.builder()
.workspaceInstanceId("...my_workspace_instance_id...")
.build())
.embeddingsDimensions(3.0)
.gemini(GatewayPartialModelConfigModelOptionsGeminiArgs.builder()
.apiEndpoint("...my_api_endpoint...")
.endpointId("...my_endpoint_id...")
.locationId("...my_location_id...")
.projectId("...my_project_id...")
.build())
.huggingface(GatewayPartialModelConfigModelOptionsHuggingfaceArgs.builder()
.useCache(true)
.waitForModel(false)
.build())
.inputCost(4.15)
.llama2Format("openai")
.maxTokens(2.0)
.mistralFormat("openai")
.outputCost(4.19)
.temperature(0.08)
.topK(202.0)
.topP(0.38)
.upstreamPath("...my_upstream_path...")
.upstreamUrl("...my_upstream_url...")
.build())
.provider("anthropic")
.build())
.routeType("image/v1/images/generations")
.weight(100.0)
.build())
.createdAt(1.0)
.id("...my_id...")
.name("...my_name...")
.tags("...")
.updatedAt(8.0)
.build())
.redisCe(GatewayPartialRedisCeArgs.builder()
.config(GatewayPartialRedisCeConfigArgs.builder()
.cloudAuthentication(GatewayPartialRedisCeConfigCloudAuthenticationArgs.builder()
.authProvider("gcp")
.awsAccessKeyId("...my_aws_access_key_id...")
.awsAssumeRoleArn("...my_aws_assume_role_arn...")
.awsCacheName("...my_aws_cache_name...")
.awsIsServerless(true)
.awsRegion("...my_aws_region...")
.awsRoleSessionName("...my_aws_role_session_name...")
.awsSecretAccessKey("...my_aws_secret_access_key...")
.azureClientId("...my_azure_client_id...")
.azureClientSecret("...my_azure_client_secret...")
.azureTenantId("...my_azure_tenant_id...")
.gcpServiceAccountJson("...my_gcp_service_account_json...")
.build())
.database(0.0)
.host("...my_host...")
.password("...my_password...")
.port(6379.0)
.serverName("...my_server_name...")
.ssl(false)
.sslVerify(false)
.timeout(2000.0)
.username("...my_username...")
.build())
.createdAt(10.0)
.id("...my_id...")
.name("...my_name...")
.tags("...")
.updatedAt(2.0)
.build())
.redisEe(GatewayPartialRedisEeArgs.builder()
.config(GatewayPartialRedisEeConfigArgs.builder()
.cloudAuthentication(GatewayPartialRedisEeConfigCloudAuthenticationArgs.builder()
.authProvider("gcp")
.awsAccessKeyId("...my_aws_access_key_id...")
.awsAssumeRoleArn("...my_aws_assume_role_arn...")
.awsCacheName("...my_aws_cache_name...")
.awsIsServerless(true)
.awsRegion("...my_aws_region...")
.awsRoleSessionName("...my_aws_role_session_name...")
.awsSecretAccessKey("...my_aws_secret_access_key...")
.azureClientId("...my_azure_client_id...")
.azureClientSecret("...my_azure_client_secret...")
.azureTenantId("...my_azure_tenant_id...")
.gcpServiceAccountJson("...my_gcp_service_account_json...")
.build())
.clusterMaxRedirections(5.0)
.clusterNodes(GatewayPartialRedisEeConfigClusterNodeArgs.builder()
.ip("127.0.0.1")
.port(6379.0)
.build())
.connectTimeout(2000.0)
.connectionIsProxied(false)
.database(0.0)
.host("127.0.0.1")
.keepaliveBacklog(259647341.0)
.keepalivePoolSize(256.0)
.password("...my_password...")
.port(6379.0)
.readTimeout(2000.0)
.sendTimeout(2000.0)
.sentinelMaster("...my_sentinel_master...")
.sentinelNodes(GatewayPartialRedisEeConfigSentinelNodeArgs.builder()
.host("127.0.0.1")
.port(6379.0)
.build())
.sentinelPassword("...my_sentinel_password...")
.sentinelRole("slave")
.sentinelUsername("...my_sentinel_username...")
.serverName("...my_server_name...")
.ssl(false)
.sslVerify(false)
.username("...my_username...")
.build())
.createdAt(2.0)
.id("...my_id...")
.name("...my_name...")
.tags("...")
.updatedAt(8.0)
.build())
.vectordb(GatewayPartialVectordbArgs.builder()
.config(GatewayPartialVectordbConfigArgs.builder()
.dimensions(10.0)
.distanceMetric("cosine")
.pgvector(GatewayPartialVectordbConfigPgvectorArgs.builder()
.database("kong-pgvector")
.host("127.0.0.1")
.password("...my_password...")
.port(5432.0)
.ssl(false)
.sslCert("...my_ssl_cert...")
.sslCertKey("...my_ssl_cert_key...")
.sslRequired(false)
.sslVerify(false)
.sslVersion("tlsv1_2")
.timeout(5000.0)
.user("postgres")
.build())
.redis(GatewayPartialVectordbConfigRedisArgs.builder()
.cloudAuthentication(GatewayPartialVectordbConfigRedisCloudAuthenticationArgs.builder()
.authProvider("aws")
.awsAccessKeyId("...my_aws_access_key_id...")
.awsAssumeRoleArn("...my_aws_assume_role_arn...")
.awsCacheName("...my_aws_cache_name...")
.awsIsServerless(true)
.awsRegion("...my_aws_region...")
.awsRoleSessionName("...my_aws_role_session_name...")
.awsSecretAccessKey("...my_aws_secret_access_key...")
.azureClientId("...my_azure_client_id...")
.azureClientSecret("...my_azure_client_secret...")
.azureTenantId("...my_azure_tenant_id...")
.gcpServiceAccountJson("...my_gcp_service_account_json...")
.build())
.clusterMaxRedirections(5.0)
.clusterNodes(GatewayPartialVectordbConfigRedisClusterNodeArgs.builder()
.ip("127.0.0.1")
.port(6379.0)
.build())
.connectTimeout(2000.0)
.connectionIsProxied(false)
.database(0.0)
.host("127.0.0.1")
.keepaliveBacklog(2068043892.0)
.keepalivePoolSize(256.0)
.password("...my_password...")
.port(6379.0)
.readTimeout(2000.0)
.sendTimeout(2000.0)
.sentinelMaster("...my_sentinel_master...")
.sentinelNodes(GatewayPartialVectordbConfigRedisSentinelNodeArgs.builder()
.host("127.0.0.1")
.port(6379.0)
.build())
.sentinelPassword("...my_sentinel_password...")
.sentinelRole("master")
.sentinelUsername("...my_sentinel_username...")
.serverName("...my_server_name...")
.ssl(false)
.sslVerify(false)
.username("...my_username...")
.build())
.strategy("redis")
.threshold(3.37)
.build())
.createdAt(9.0)
.id("...my_id...")
.name("...my_name...")
.tags("...")
.updatedAt(2.0)
.build())
.build());
}
}
resources:
myGatewaypartial:
type: konnect:GatewayPartial
name: my_gatewaypartial
properties:
controlPlaneId: 9524ec7d-36d9-465d-a8c5-83a3c9390458
embeddings:
config:
auth:
allowOverride: false
awsAccessKeyId: '...my_aws_access_key_id...'
awsSecretAccessKey: '...my_aws_secret_access_key...'
azureClientId: '...my_azure_client_id...'
azureClientSecret: '...my_azure_client_secret...'
azureTenantId: '...my_azure_tenant_id...'
azureUseManagedIdentity: false
gcpMetadataUrl: '...my_gcp_metadata_url...'
gcpOauthTokenUrl: '...my_gcp_oauth_token_url...'
gcpServiceAccountJson: '...my_gcp_service_account_json...'
gcpUseServiceAccount: false
headerName: '...my_header_name...'
headerValue: '...my_header_value...'
paramLocation: query
paramName: '...my_param_name...'
paramValue: '...my_param_value...'
model:
name: '...my_name...'
options:
azure:
apiVersion: 2023-05-15
deploymentId: '...my_deployment_id...'
instance: '...my_instance...'
bedrock:
awsAssumeRoleArn: '...my_aws_assume_role_arn...'
awsRegion: '...my_aws_region...'
awsRoleSessionName: '...my_aws_role_session_name...'
awsStsEndpointUrl: '...my_aws_sts_endpoint_url...'
batchBucketPrefix: '...my_batch_bucket_prefix...'
batchRoleArn: '...my_batch_role_arn...'
embeddingsNormalize: false
performanceConfigLatency: '...my_performance_config_latency...'
videoOutputS3Uri: '...my_video_output_s3_uri...'
gemini:
apiEndpoint: '...my_api_endpoint...'
locationId: '...my_location_id...'
projectId: '...my_project_id...'
huggingface:
useCache: false
waitForModel: false
upstreamUrl: '...my_upstream_url...'
provider: azure
createdAt: 9
id: '...my_id...'
name: '...my_name...'
tags:
- '...'
updatedAt: 1
model:
config:
auth:
allowOverride: false
awsAccessKeyId: '...my_aws_access_key_id...'
awsSecretAccessKey: '...my_aws_secret_access_key...'
azureClientId: '...my_azure_client_id...'
azureClientSecret: '...my_azure_client_secret...'
azureTenantId: '...my_azure_tenant_id...'
azureUseManagedIdentity: false
gcpMetadataUrl: '...my_gcp_metadata_url...'
gcpOauthTokenUrl: '...my_gcp_oauth_token_url...'
gcpServiceAccountJson: '...my_gcp_service_account_json...'
gcpUseServiceAccount: false
headerName: '...my_header_name...'
headerValue: '...my_header_value...'
paramLocation: body
paramName: '...my_param_name...'
paramValue: '...my_param_value...'
description: '...my_description...'
logging:
logPayloads: false
logStatistics: false
metadata: '{ "see": "documentation" }'
model:
modelAlias: '...my_model_alias...'
name: '...my_name...'
options:
anthropicVersion: '...my_anthropic_version...'
azureApiVersion: 2023-05-15
azureDeploymentId: '...my_azure_deployment_id...'
azureInstance: '...my_azure_instance...'
bedrock:
awsAssumeRoleArn: '...my_aws_assume_role_arn...'
awsRegion: '...my_aws_region...'
awsRoleSessionName: '...my_aws_role_session_name...'
awsStsEndpointUrl: '...my_aws_sts_endpoint_url...'
batchBucketPrefix: '...my_batch_bucket_prefix...'
batchRoleArn: '...my_batch_role_arn...'
embeddingsNormalize: false
performanceConfigLatency: '...my_performance_config_latency...'
videoOutputS3Uri: '...my_video_output_s3_uri...'
cohere:
embeddingInputType: classification
waitForModel: false
dashscope:
international: true
databricks:
workspaceInstanceId: '...my_workspace_instance_id...'
embeddingsDimensions: 3
gemini:
apiEndpoint: '...my_api_endpoint...'
endpointId: '...my_endpoint_id...'
locationId: '...my_location_id...'
projectId: '...my_project_id...'
huggingface:
useCache: true
waitForModel: false
inputCost: 4.15
llama2Format: openai
maxTokens: 2
mistralFormat: openai
outputCost: 4.19
temperature: 0.08
topK: 202
topP: 0.38
upstreamPath: '...my_upstream_path...'
upstreamUrl: '...my_upstream_url...'
provider: anthropic
routeType: image/v1/images/generations
weight: 100
createdAt: 1
id: '...my_id...'
name: '...my_name...'
tags:
- '...'
updatedAt: 8
redisCe:
config:
cloudAuthentication:
authProvider: gcp
awsAccessKeyId: '...my_aws_access_key_id...'
awsAssumeRoleArn: '...my_aws_assume_role_arn...'
awsCacheName: '...my_aws_cache_name...'
awsIsServerless: true
awsRegion: '...my_aws_region...'
awsRoleSessionName: '...my_aws_role_session_name...'
awsSecretAccessKey: '...my_aws_secret_access_key...'
azureClientId: '...my_azure_client_id...'
azureClientSecret: '...my_azure_client_secret...'
azureTenantId: '...my_azure_tenant_id...'
gcpServiceAccountJson: '...my_gcp_service_account_json...'
database: 0
host: '...my_host...'
password: '...my_password...'
port: 6379
serverName: '...my_server_name...'
ssl: false
sslVerify: false
timeout: 2000
username: '...my_username...'
createdAt: 10
id: '...my_id...'
name: '...my_name...'
tags:
- '...'
updatedAt: 2
redisEe:
config:
cloudAuthentication:
authProvider: gcp
awsAccessKeyId: '...my_aws_access_key_id...'
awsAssumeRoleArn: '...my_aws_assume_role_arn...'
awsCacheName: '...my_aws_cache_name...'
awsIsServerless: true
awsRegion: '...my_aws_region...'
awsRoleSessionName: '...my_aws_role_session_name...'
awsSecretAccessKey: '...my_aws_secret_access_key...'
azureClientId: '...my_azure_client_id...'
azureClientSecret: '...my_azure_client_secret...'
azureTenantId: '...my_azure_tenant_id...'
gcpServiceAccountJson: '...my_gcp_service_account_json...'
clusterMaxRedirections: 5
clusterNodes:
- ip: 127.0.0.1
port: 6379
connectTimeout: 2000
connectionIsProxied: false
database: 0
host: 127.0.0.1
keepaliveBacklog: 2.59647341e+08
keepalivePoolSize: 256
password: '...my_password...'
port: 6379
readTimeout: 2000
sendTimeout: 2000
sentinelMaster: '...my_sentinel_master...'
sentinelNodes:
- host: 127.0.0.1
port: 6379
sentinelPassword: '...my_sentinel_password...'
sentinelRole: slave
sentinelUsername: '...my_sentinel_username...'
serverName: '...my_server_name...'
ssl: false
sslVerify: false
username: '...my_username...'
createdAt: 2
id: '...my_id...'
name: '...my_name...'
tags:
- '...'
updatedAt: 8
vectordb:
config:
dimensions: 10
distanceMetric: cosine
pgvector:
database: kong-pgvector
host: 127.0.0.1
password: '...my_password...'
port: 5432
ssl: false
sslCert: '...my_ssl_cert...'
sslCertKey: '...my_ssl_cert_key...'
sslRequired: false
sslVerify: false
sslVersion: tlsv1_2
timeout: 5000
user: postgres
redis:
cloudAuthentication:
authProvider: aws
awsAccessKeyId: '...my_aws_access_key_id...'
awsAssumeRoleArn: '...my_aws_assume_role_arn...'
awsCacheName: '...my_aws_cache_name...'
awsIsServerless: true
awsRegion: '...my_aws_region...'
awsRoleSessionName: '...my_aws_role_session_name...'
awsSecretAccessKey: '...my_aws_secret_access_key...'
azureClientId: '...my_azure_client_id...'
azureClientSecret: '...my_azure_client_secret...'
azureTenantId: '...my_azure_tenant_id...'
gcpServiceAccountJson: '...my_gcp_service_account_json...'
clusterMaxRedirections: 5
clusterNodes:
- ip: 127.0.0.1
port: 6379
connectTimeout: 2000
connectionIsProxied: false
database: 0
host: 127.0.0.1
keepaliveBacklog: 2.068043892e+09
keepalivePoolSize: 256
password: '...my_password...'
port: 6379
readTimeout: 2000
sendTimeout: 2000
sentinelMaster: '...my_sentinel_master...'
sentinelNodes:
- host: 127.0.0.1
port: 6379
sentinelPassword: '...my_sentinel_password...'
sentinelRole: master
sentinelUsername: '...my_sentinel_username...'
serverName: '...my_server_name...'
ssl: false
sslVerify: false
username: '...my_username...'
strategy: redis
threshold: 3.37
createdAt: 9
id: '...my_id...'
name: '...my_name...'
tags:
- '...'
updatedAt: 2
Create GatewayPartial Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GatewayPartial(name: string, args: GatewayPartialArgs, opts?: CustomResourceOptions);@overload
def GatewayPartial(resource_name: str,
args: GatewayPartialArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GatewayPartial(resource_name: str,
opts: Optional[ResourceOptions] = None,
control_plane_id: Optional[str] = None,
embeddings: Optional[GatewayPartialEmbeddingsArgs] = None,
model: Optional[GatewayPartialModelArgs] = None,
redis_ce: Optional[GatewayPartialRedisCeArgs] = None,
redis_ee: Optional[GatewayPartialRedisEeArgs] = None,
vectordb: Optional[GatewayPartialVectordbArgs] = None)func NewGatewayPartial(ctx *Context, name string, args GatewayPartialArgs, opts ...ResourceOption) (*GatewayPartial, error)public GatewayPartial(string name, GatewayPartialArgs args, CustomResourceOptions? opts = null)
public GatewayPartial(String name, GatewayPartialArgs args)
public GatewayPartial(String name, GatewayPartialArgs args, CustomResourceOptions options)
type: konnect:GatewayPartial
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 GatewayPartialArgs
- 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 GatewayPartialArgs
- 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 GatewayPartialArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayPartialArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewayPartialArgs
- 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 gatewayPartialResource = new Konnect.GatewayPartial("gatewayPartialResource", new()
{
ControlPlaneId = "string",
Embeddings = new Konnect.Inputs.GatewayPartialEmbeddingsArgs
{
Config = new Konnect.Inputs.GatewayPartialEmbeddingsConfigArgs
{
Auth = new Konnect.Inputs.GatewayPartialEmbeddingsConfigAuthArgs
{
AllowOverride = false,
AwsAccessKeyId = "string",
AwsSecretAccessKey = "string",
AzureClientId = "string",
AzureClientSecret = "string",
AzureTenantId = "string",
AzureUseManagedIdentity = false,
GcpMetadataUrl = "string",
GcpOauthTokenUrl = "string",
GcpServiceAccountJson = "string",
GcpUseServiceAccount = false,
HeaderName = "string",
HeaderValue = "string",
ParamLocation = "string",
ParamName = "string",
ParamValue = "string",
},
Model = new Konnect.Inputs.GatewayPartialEmbeddingsConfigModelArgs
{
Name = "string",
Options = new Konnect.Inputs.GatewayPartialEmbeddingsConfigModelOptionsArgs
{
Azure = new Konnect.Inputs.GatewayPartialEmbeddingsConfigModelOptionsAzureArgs
{
ApiVersion = "string",
DeploymentId = "string",
Instance = "string",
},
Bedrock = new Konnect.Inputs.GatewayPartialEmbeddingsConfigModelOptionsBedrockArgs
{
AwsAssumeRoleArn = "string",
AwsRegion = "string",
AwsRoleSessionName = "string",
AwsStsEndpointUrl = "string",
BatchBucketPrefix = "string",
BatchRoleArn = "string",
EmbeddingsNormalize = false,
PerformanceConfigLatency = "string",
VideoOutputS3Uri = "string",
},
Gemini = new Konnect.Inputs.GatewayPartialEmbeddingsConfigModelOptionsGeminiArgs
{
ApiEndpoint = "string",
LocationId = "string",
ProjectId = "string",
},
Huggingface = new Konnect.Inputs.GatewayPartialEmbeddingsConfigModelOptionsHuggingfaceArgs
{
UseCache = false,
WaitForModel = false,
},
UpstreamUrl = "string",
},
Provider = "string",
},
},
CreatedAt = 0,
Id = "string",
Name = "string",
Tags = new[]
{
"string",
},
UpdatedAt = 0,
},
Model = new Konnect.Inputs.GatewayPartialModelArgs
{
Config = new Konnect.Inputs.GatewayPartialModelConfigArgs
{
Auth = new Konnect.Inputs.GatewayPartialModelConfigAuthArgs
{
AllowOverride = false,
AwsAccessKeyId = "string",
AwsSecretAccessKey = "string",
AzureClientId = "string",
AzureClientSecret = "string",
AzureTenantId = "string",
AzureUseManagedIdentity = false,
GcpMetadataUrl = "string",
GcpOauthTokenUrl = "string",
GcpServiceAccountJson = "string",
GcpUseServiceAccount = false,
HeaderName = "string",
HeaderValue = "string",
ParamLocation = "string",
ParamName = "string",
ParamValue = "string",
},
Description = "string",
Logging = new Konnect.Inputs.GatewayPartialModelConfigLoggingArgs
{
LogPayloads = false,
LogStatistics = false,
},
Metadata = "string",
Model = new Konnect.Inputs.GatewayPartialModelConfigModelArgs
{
ModelAlias = "string",
Name = "string",
Options = new Konnect.Inputs.GatewayPartialModelConfigModelOptionsArgs
{
AnthropicVersion = "string",
AzureApiVersion = "string",
AzureDeploymentId = "string",
AzureInstance = "string",
Bedrock = new Konnect.Inputs.GatewayPartialModelConfigModelOptionsBedrockArgs
{
AwsAssumeRoleArn = "string",
AwsRegion = "string",
AwsRoleSessionName = "string",
AwsStsEndpointUrl = "string",
BatchBucketPrefix = "string",
BatchRoleArn = "string",
EmbeddingsNormalize = false,
PerformanceConfigLatency = "string",
VideoOutputS3Uri = "string",
},
Cohere = new Konnect.Inputs.GatewayPartialModelConfigModelOptionsCohereArgs
{
EmbeddingInputType = "string",
WaitForModel = false,
},
Dashscope = new Konnect.Inputs.GatewayPartialModelConfigModelOptionsDashscopeArgs
{
International = false,
},
Databricks = new Konnect.Inputs.GatewayPartialModelConfigModelOptionsDatabricksArgs
{
WorkspaceInstanceId = "string",
},
EmbeddingsDimensions = 0,
Gemini = new Konnect.Inputs.GatewayPartialModelConfigModelOptionsGeminiArgs
{
ApiEndpoint = "string",
EndpointId = "string",
LocationId = "string",
ProjectId = "string",
},
Huggingface = new Konnect.Inputs.GatewayPartialModelConfigModelOptionsHuggingfaceArgs
{
UseCache = false,
WaitForModel = false,
},
InputCost = 0,
Llama2Format = "string",
MaxTokens = 0,
MistralFormat = "string",
OutputCost = 0,
Temperature = 0,
TopK = 0,
TopP = 0,
UpstreamPath = "string",
UpstreamUrl = "string",
},
Provider = "string",
},
RouteType = "string",
Weight = 0,
},
CreatedAt = 0,
Id = "string",
Name = "string",
Tags = new[]
{
"string",
},
UpdatedAt = 0,
},
RedisCe = new Konnect.Inputs.GatewayPartialRedisCeArgs
{
Config = new Konnect.Inputs.GatewayPartialRedisCeConfigArgs
{
CloudAuthentication = new Konnect.Inputs.GatewayPartialRedisCeConfigCloudAuthenticationArgs
{
AuthProvider = "string",
AwsAccessKeyId = "string",
AwsAssumeRoleArn = "string",
AwsCacheName = "string",
AwsIsServerless = false,
AwsRegion = "string",
AwsRoleSessionName = "string",
AwsSecretAccessKey = "string",
AzureClientId = "string",
AzureClientSecret = "string",
AzureTenantId = "string",
GcpServiceAccountJson = "string",
},
Database = 0,
Host = "string",
Password = "string",
Port = 0,
ServerName = "string",
Ssl = false,
SslVerify = false,
Timeout = 0,
Username = "string",
},
CreatedAt = 0,
Id = "string",
Name = "string",
Tags = new[]
{
"string",
},
UpdatedAt = 0,
},
RedisEe = new Konnect.Inputs.GatewayPartialRedisEeArgs
{
Config = new Konnect.Inputs.GatewayPartialRedisEeConfigArgs
{
CloudAuthentication = new Konnect.Inputs.GatewayPartialRedisEeConfigCloudAuthenticationArgs
{
AuthProvider = "string",
AwsAccessKeyId = "string",
AwsAssumeRoleArn = "string",
AwsCacheName = "string",
AwsIsServerless = false,
AwsRegion = "string",
AwsRoleSessionName = "string",
AwsSecretAccessKey = "string",
AzureClientId = "string",
AzureClientSecret = "string",
AzureTenantId = "string",
GcpServiceAccountJson = "string",
},
ClusterMaxRedirections = 0,
ClusterNodes = new[]
{
new Konnect.Inputs.GatewayPartialRedisEeConfigClusterNodeArgs
{
Ip = "string",
Port = 0,
},
},
ConnectTimeout = 0,
ConnectionIsProxied = false,
Database = 0,
Host = "string",
KeepaliveBacklog = 0,
KeepalivePoolSize = 0,
Password = "string",
Port = 0,
ReadTimeout = 0,
SendTimeout = 0,
SentinelMaster = "string",
SentinelNodes = new[]
{
new Konnect.Inputs.GatewayPartialRedisEeConfigSentinelNodeArgs
{
Host = "string",
Port = 0,
},
},
SentinelPassword = "string",
SentinelRole = "string",
SentinelUsername = "string",
ServerName = "string",
Ssl = false,
SslVerify = false,
Username = "string",
},
CreatedAt = 0,
Id = "string",
Name = "string",
Tags = new[]
{
"string",
},
UpdatedAt = 0,
},
Vectordb = new Konnect.Inputs.GatewayPartialVectordbArgs
{
Config = new Konnect.Inputs.GatewayPartialVectordbConfigArgs
{
Dimensions = 0,
DistanceMetric = "string",
Pgvector = new Konnect.Inputs.GatewayPartialVectordbConfigPgvectorArgs
{
Database = "string",
Host = "string",
Password = "string",
Port = 0,
Ssl = false,
SslCert = "string",
SslCertKey = "string",
SslRequired = false,
SslVerify = false,
SslVersion = "string",
Timeout = 0,
User = "string",
},
Redis = new Konnect.Inputs.GatewayPartialVectordbConfigRedisArgs
{
CloudAuthentication = new Konnect.Inputs.GatewayPartialVectordbConfigRedisCloudAuthenticationArgs
{
AuthProvider = "string",
AwsAccessKeyId = "string",
AwsAssumeRoleArn = "string",
AwsCacheName = "string",
AwsIsServerless = false,
AwsRegion = "string",
AwsRoleSessionName = "string",
AwsSecretAccessKey = "string",
AzureClientId = "string",
AzureClientSecret = "string",
AzureTenantId = "string",
GcpServiceAccountJson = "string",
},
ClusterMaxRedirections = 0,
ClusterNodes = new[]
{
new Konnect.Inputs.GatewayPartialVectordbConfigRedisClusterNodeArgs
{
Ip = "string",
Port = 0,
},
},
ConnectTimeout = 0,
ConnectionIsProxied = false,
Database = 0,
Host = "string",
KeepaliveBacklog = 0,
KeepalivePoolSize = 0,
Password = "string",
Port = 0,
ReadTimeout = 0,
SendTimeout = 0,
SentinelMaster = "string",
SentinelNodes = new[]
{
new Konnect.Inputs.GatewayPartialVectordbConfigRedisSentinelNodeArgs
{
Host = "string",
Port = 0,
},
},
SentinelPassword = "string",
SentinelRole = "string",
SentinelUsername = "string",
ServerName = "string",
Ssl = false,
SslVerify = false,
Username = "string",
},
Strategy = "string",
Threshold = 0,
},
CreatedAt = 0,
Id = "string",
Name = "string",
Tags = new[]
{
"string",
},
UpdatedAt = 0,
},
});
example, err := konnect.NewGatewayPartial(ctx, "gatewayPartialResource", &konnect.GatewayPartialArgs{
ControlPlaneId: pulumi.String("string"),
Embeddings: &konnect.GatewayPartialEmbeddingsArgs{
Config: &konnect.GatewayPartialEmbeddingsConfigArgs{
Auth: &konnect.GatewayPartialEmbeddingsConfigAuthArgs{
AllowOverride: pulumi.Bool(false),
AwsAccessKeyId: pulumi.String("string"),
AwsSecretAccessKey: pulumi.String("string"),
AzureClientId: pulumi.String("string"),
AzureClientSecret: pulumi.String("string"),
AzureTenantId: pulumi.String("string"),
AzureUseManagedIdentity: pulumi.Bool(false),
GcpMetadataUrl: pulumi.String("string"),
GcpOauthTokenUrl: pulumi.String("string"),
GcpServiceAccountJson: pulumi.String("string"),
GcpUseServiceAccount: pulumi.Bool(false),
HeaderName: pulumi.String("string"),
HeaderValue: pulumi.String("string"),
ParamLocation: pulumi.String("string"),
ParamName: pulumi.String("string"),
ParamValue: pulumi.String("string"),
},
Model: &konnect.GatewayPartialEmbeddingsConfigModelArgs{
Name: pulumi.String("string"),
Options: &konnect.GatewayPartialEmbeddingsConfigModelOptionsArgs{
Azure: &konnect.GatewayPartialEmbeddingsConfigModelOptionsAzureArgs{
ApiVersion: pulumi.String("string"),
DeploymentId: pulumi.String("string"),
Instance: pulumi.String("string"),
},
Bedrock: &konnect.GatewayPartialEmbeddingsConfigModelOptionsBedrockArgs{
AwsAssumeRoleArn: pulumi.String("string"),
AwsRegion: pulumi.String("string"),
AwsRoleSessionName: pulumi.String("string"),
AwsStsEndpointUrl: pulumi.String("string"),
BatchBucketPrefix: pulumi.String("string"),
BatchRoleArn: pulumi.String("string"),
EmbeddingsNormalize: pulumi.Bool(false),
PerformanceConfigLatency: pulumi.String("string"),
VideoOutputS3Uri: pulumi.String("string"),
},
Gemini: &konnect.GatewayPartialEmbeddingsConfigModelOptionsGeminiArgs{
ApiEndpoint: pulumi.String("string"),
LocationId: pulumi.String("string"),
ProjectId: pulumi.String("string"),
},
Huggingface: &konnect.GatewayPartialEmbeddingsConfigModelOptionsHuggingfaceArgs{
UseCache: pulumi.Bool(false),
WaitForModel: pulumi.Bool(false),
},
UpstreamUrl: pulumi.String("string"),
},
Provider: pulumi.String("string"),
},
},
CreatedAt: pulumi.Float64(0),
Id: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
UpdatedAt: pulumi.Float64(0),
},
Model: &konnect.GatewayPartialModelArgs{
Config: &konnect.GatewayPartialModelConfigArgs{
Auth: &konnect.GatewayPartialModelConfigAuthArgs{
AllowOverride: pulumi.Bool(false),
AwsAccessKeyId: pulumi.String("string"),
AwsSecretAccessKey: pulumi.String("string"),
AzureClientId: pulumi.String("string"),
AzureClientSecret: pulumi.String("string"),
AzureTenantId: pulumi.String("string"),
AzureUseManagedIdentity: pulumi.Bool(false),
GcpMetadataUrl: pulumi.String("string"),
GcpOauthTokenUrl: pulumi.String("string"),
GcpServiceAccountJson: pulumi.String("string"),
GcpUseServiceAccount: pulumi.Bool(false),
HeaderName: pulumi.String("string"),
HeaderValue: pulumi.String("string"),
ParamLocation: pulumi.String("string"),
ParamName: pulumi.String("string"),
ParamValue: pulumi.String("string"),
},
Description: pulumi.String("string"),
Logging: &konnect.GatewayPartialModelConfigLoggingArgs{
LogPayloads: pulumi.Bool(false),
LogStatistics: pulumi.Bool(false),
},
Metadata: pulumi.String("string"),
Model: &konnect.GatewayPartialModelConfigModelArgs{
ModelAlias: pulumi.String("string"),
Name: pulumi.String("string"),
Options: &konnect.GatewayPartialModelConfigModelOptionsArgs{
AnthropicVersion: pulumi.String("string"),
AzureApiVersion: pulumi.String("string"),
AzureDeploymentId: pulumi.String("string"),
AzureInstance: pulumi.String("string"),
Bedrock: &konnect.GatewayPartialModelConfigModelOptionsBedrockArgs{
AwsAssumeRoleArn: pulumi.String("string"),
AwsRegion: pulumi.String("string"),
AwsRoleSessionName: pulumi.String("string"),
AwsStsEndpointUrl: pulumi.String("string"),
BatchBucketPrefix: pulumi.String("string"),
BatchRoleArn: pulumi.String("string"),
EmbeddingsNormalize: pulumi.Bool(false),
PerformanceConfigLatency: pulumi.String("string"),
VideoOutputS3Uri: pulumi.String("string"),
},
Cohere: &konnect.GatewayPartialModelConfigModelOptionsCohereArgs{
EmbeddingInputType: pulumi.String("string"),
WaitForModel: pulumi.Bool(false),
},
Dashscope: &konnect.GatewayPartialModelConfigModelOptionsDashscopeArgs{
International: pulumi.Bool(false),
},
Databricks: &konnect.GatewayPartialModelConfigModelOptionsDatabricksArgs{
WorkspaceInstanceId: pulumi.String("string"),
},
EmbeddingsDimensions: pulumi.Float64(0),
Gemini: &konnect.GatewayPartialModelConfigModelOptionsGeminiArgs{
ApiEndpoint: pulumi.String("string"),
EndpointId: pulumi.String("string"),
LocationId: pulumi.String("string"),
ProjectId: pulumi.String("string"),
},
Huggingface: &konnect.GatewayPartialModelConfigModelOptionsHuggingfaceArgs{
UseCache: pulumi.Bool(false),
WaitForModel: pulumi.Bool(false),
},
InputCost: pulumi.Float64(0),
Llama2Format: pulumi.String("string"),
MaxTokens: pulumi.Float64(0),
MistralFormat: pulumi.String("string"),
OutputCost: pulumi.Float64(0),
Temperature: pulumi.Float64(0),
TopK: pulumi.Float64(0),
TopP: pulumi.Float64(0),
UpstreamPath: pulumi.String("string"),
UpstreamUrl: pulumi.String("string"),
},
Provider: pulumi.String("string"),
},
RouteType: pulumi.String("string"),
Weight: pulumi.Float64(0),
},
CreatedAt: pulumi.Float64(0),
Id: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
UpdatedAt: pulumi.Float64(0),
},
RedisCe: &konnect.GatewayPartialRedisCeArgs{
Config: &konnect.GatewayPartialRedisCeConfigArgs{
CloudAuthentication: &konnect.GatewayPartialRedisCeConfigCloudAuthenticationArgs{
AuthProvider: pulumi.String("string"),
AwsAccessKeyId: pulumi.String("string"),
AwsAssumeRoleArn: pulumi.String("string"),
AwsCacheName: pulumi.String("string"),
AwsIsServerless: pulumi.Bool(false),
AwsRegion: pulumi.String("string"),
AwsRoleSessionName: pulumi.String("string"),
AwsSecretAccessKey: pulumi.String("string"),
AzureClientId: pulumi.String("string"),
AzureClientSecret: pulumi.String("string"),
AzureTenantId: pulumi.String("string"),
GcpServiceAccountJson: pulumi.String("string"),
},
Database: pulumi.Float64(0),
Host: pulumi.String("string"),
Password: pulumi.String("string"),
Port: pulumi.Float64(0),
ServerName: pulumi.String("string"),
Ssl: pulumi.Bool(false),
SslVerify: pulumi.Bool(false),
Timeout: pulumi.Float64(0),
Username: pulumi.String("string"),
},
CreatedAt: pulumi.Float64(0),
Id: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
UpdatedAt: pulumi.Float64(0),
},
RedisEe: &konnect.GatewayPartialRedisEeArgs{
Config: &konnect.GatewayPartialRedisEeConfigArgs{
CloudAuthentication: &konnect.GatewayPartialRedisEeConfigCloudAuthenticationArgs{
AuthProvider: pulumi.String("string"),
AwsAccessKeyId: pulumi.String("string"),
AwsAssumeRoleArn: pulumi.String("string"),
AwsCacheName: pulumi.String("string"),
AwsIsServerless: pulumi.Bool(false),
AwsRegion: pulumi.String("string"),
AwsRoleSessionName: pulumi.String("string"),
AwsSecretAccessKey: pulumi.String("string"),
AzureClientId: pulumi.String("string"),
AzureClientSecret: pulumi.String("string"),
AzureTenantId: pulumi.String("string"),
GcpServiceAccountJson: pulumi.String("string"),
},
ClusterMaxRedirections: pulumi.Float64(0),
ClusterNodes: konnect.GatewayPartialRedisEeConfigClusterNodeArray{
&konnect.GatewayPartialRedisEeConfigClusterNodeArgs{
Ip: pulumi.String("string"),
Port: pulumi.Float64(0),
},
},
ConnectTimeout: pulumi.Float64(0),
ConnectionIsProxied: pulumi.Bool(false),
Database: pulumi.Float64(0),
Host: pulumi.String("string"),
KeepaliveBacklog: pulumi.Float64(0),
KeepalivePoolSize: pulumi.Float64(0),
Password: pulumi.String("string"),
Port: pulumi.Float64(0),
ReadTimeout: pulumi.Float64(0),
SendTimeout: pulumi.Float64(0),
SentinelMaster: pulumi.String("string"),
SentinelNodes: konnect.GatewayPartialRedisEeConfigSentinelNodeArray{
&konnect.GatewayPartialRedisEeConfigSentinelNodeArgs{
Host: pulumi.String("string"),
Port: pulumi.Float64(0),
},
},
SentinelPassword: pulumi.String("string"),
SentinelRole: pulumi.String("string"),
SentinelUsername: pulumi.String("string"),
ServerName: pulumi.String("string"),
Ssl: pulumi.Bool(false),
SslVerify: pulumi.Bool(false),
Username: pulumi.String("string"),
},
CreatedAt: pulumi.Float64(0),
Id: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
UpdatedAt: pulumi.Float64(0),
},
Vectordb: &konnect.GatewayPartialVectordbArgs{
Config: &konnect.GatewayPartialVectordbConfigArgs{
Dimensions: pulumi.Float64(0),
DistanceMetric: pulumi.String("string"),
Pgvector: &konnect.GatewayPartialVectordbConfigPgvectorArgs{
Database: pulumi.String("string"),
Host: pulumi.String("string"),
Password: pulumi.String("string"),
Port: pulumi.Float64(0),
Ssl: pulumi.Bool(false),
SslCert: pulumi.String("string"),
SslCertKey: pulumi.String("string"),
SslRequired: pulumi.Bool(false),
SslVerify: pulumi.Bool(false),
SslVersion: pulumi.String("string"),
Timeout: pulumi.Float64(0),
User: pulumi.String("string"),
},
Redis: &konnect.GatewayPartialVectordbConfigRedisArgs{
CloudAuthentication: &konnect.GatewayPartialVectordbConfigRedisCloudAuthenticationArgs{
AuthProvider: pulumi.String("string"),
AwsAccessKeyId: pulumi.String("string"),
AwsAssumeRoleArn: pulumi.String("string"),
AwsCacheName: pulumi.String("string"),
AwsIsServerless: pulumi.Bool(false),
AwsRegion: pulumi.String("string"),
AwsRoleSessionName: pulumi.String("string"),
AwsSecretAccessKey: pulumi.String("string"),
AzureClientId: pulumi.String("string"),
AzureClientSecret: pulumi.String("string"),
AzureTenantId: pulumi.String("string"),
GcpServiceAccountJson: pulumi.String("string"),
},
ClusterMaxRedirections: pulumi.Float64(0),
ClusterNodes: konnect.GatewayPartialVectordbConfigRedisClusterNodeArray{
&konnect.GatewayPartialVectordbConfigRedisClusterNodeArgs{
Ip: pulumi.String("string"),
Port: pulumi.Float64(0),
},
},
ConnectTimeout: pulumi.Float64(0),
ConnectionIsProxied: pulumi.Bool(false),
Database: pulumi.Float64(0),
Host: pulumi.String("string"),
KeepaliveBacklog: pulumi.Float64(0),
KeepalivePoolSize: pulumi.Float64(0),
Password: pulumi.String("string"),
Port: pulumi.Float64(0),
ReadTimeout: pulumi.Float64(0),
SendTimeout: pulumi.Float64(0),
SentinelMaster: pulumi.String("string"),
SentinelNodes: konnect.GatewayPartialVectordbConfigRedisSentinelNodeArray{
&konnect.GatewayPartialVectordbConfigRedisSentinelNodeArgs{
Host: pulumi.String("string"),
Port: pulumi.Float64(0),
},
},
SentinelPassword: pulumi.String("string"),
SentinelRole: pulumi.String("string"),
SentinelUsername: pulumi.String("string"),
ServerName: pulumi.String("string"),
Ssl: pulumi.Bool(false),
SslVerify: pulumi.Bool(false),
Username: pulumi.String("string"),
},
Strategy: pulumi.String("string"),
Threshold: pulumi.Float64(0),
},
CreatedAt: pulumi.Float64(0),
Id: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
UpdatedAt: pulumi.Float64(0),
},
})
var gatewayPartialResource = new GatewayPartial("gatewayPartialResource", GatewayPartialArgs.builder()
.controlPlaneId("string")
.embeddings(GatewayPartialEmbeddingsArgs.builder()
.config(GatewayPartialEmbeddingsConfigArgs.builder()
.auth(GatewayPartialEmbeddingsConfigAuthArgs.builder()
.allowOverride(false)
.awsAccessKeyId("string")
.awsSecretAccessKey("string")
.azureClientId("string")
.azureClientSecret("string")
.azureTenantId("string")
.azureUseManagedIdentity(false)
.gcpMetadataUrl("string")
.gcpOauthTokenUrl("string")
.gcpServiceAccountJson("string")
.gcpUseServiceAccount(false)
.headerName("string")
.headerValue("string")
.paramLocation("string")
.paramName("string")
.paramValue("string")
.build())
.model(GatewayPartialEmbeddingsConfigModelArgs.builder()
.name("string")
.options(GatewayPartialEmbeddingsConfigModelOptionsArgs.builder()
.azure(GatewayPartialEmbeddingsConfigModelOptionsAzureArgs.builder()
.apiVersion("string")
.deploymentId("string")
.instance("string")
.build())
.bedrock(GatewayPartialEmbeddingsConfigModelOptionsBedrockArgs.builder()
.awsAssumeRoleArn("string")
.awsRegion("string")
.awsRoleSessionName("string")
.awsStsEndpointUrl("string")
.batchBucketPrefix("string")
.batchRoleArn("string")
.embeddingsNormalize(false)
.performanceConfigLatency("string")
.videoOutputS3Uri("string")
.build())
.gemini(GatewayPartialEmbeddingsConfigModelOptionsGeminiArgs.builder()
.apiEndpoint("string")
.locationId("string")
.projectId("string")
.build())
.huggingface(GatewayPartialEmbeddingsConfigModelOptionsHuggingfaceArgs.builder()
.useCache(false)
.waitForModel(false)
.build())
.upstreamUrl("string")
.build())
.provider("string")
.build())
.build())
.createdAt(0.0)
.id("string")
.name("string")
.tags("string")
.updatedAt(0.0)
.build())
.model(GatewayPartialModelArgs.builder()
.config(GatewayPartialModelConfigArgs.builder()
.auth(GatewayPartialModelConfigAuthArgs.builder()
.allowOverride(false)
.awsAccessKeyId("string")
.awsSecretAccessKey("string")
.azureClientId("string")
.azureClientSecret("string")
.azureTenantId("string")
.azureUseManagedIdentity(false)
.gcpMetadataUrl("string")
.gcpOauthTokenUrl("string")
.gcpServiceAccountJson("string")
.gcpUseServiceAccount(false)
.headerName("string")
.headerValue("string")
.paramLocation("string")
.paramName("string")
.paramValue("string")
.build())
.description("string")
.logging(GatewayPartialModelConfigLoggingArgs.builder()
.logPayloads(false)
.logStatistics(false)
.build())
.metadata("string")
.model(GatewayPartialModelConfigModelArgs.builder()
.modelAlias("string")
.name("string")
.options(GatewayPartialModelConfigModelOptionsArgs.builder()
.anthropicVersion("string")
.azureApiVersion("string")
.azureDeploymentId("string")
.azureInstance("string")
.bedrock(GatewayPartialModelConfigModelOptionsBedrockArgs.builder()
.awsAssumeRoleArn("string")
.awsRegion("string")
.awsRoleSessionName("string")
.awsStsEndpointUrl("string")
.batchBucketPrefix("string")
.batchRoleArn("string")
.embeddingsNormalize(false)
.performanceConfigLatency("string")
.videoOutputS3Uri("string")
.build())
.cohere(GatewayPartialModelConfigModelOptionsCohereArgs.builder()
.embeddingInputType("string")
.waitForModel(false)
.build())
.dashscope(GatewayPartialModelConfigModelOptionsDashscopeArgs.builder()
.international(false)
.build())
.databricks(GatewayPartialModelConfigModelOptionsDatabricksArgs.builder()
.workspaceInstanceId("string")
.build())
.embeddingsDimensions(0.0)
.gemini(GatewayPartialModelConfigModelOptionsGeminiArgs.builder()
.apiEndpoint("string")
.endpointId("string")
.locationId("string")
.projectId("string")
.build())
.huggingface(GatewayPartialModelConfigModelOptionsHuggingfaceArgs.builder()
.useCache(false)
.waitForModel(false)
.build())
.inputCost(0.0)
.llama2Format("string")
.maxTokens(0.0)
.mistralFormat("string")
.outputCost(0.0)
.temperature(0.0)
.topK(0.0)
.topP(0.0)
.upstreamPath("string")
.upstreamUrl("string")
.build())
.provider("string")
.build())
.routeType("string")
.weight(0.0)
.build())
.createdAt(0.0)
.id("string")
.name("string")
.tags("string")
.updatedAt(0.0)
.build())
.redisCe(GatewayPartialRedisCeArgs.builder()
.config(GatewayPartialRedisCeConfigArgs.builder()
.cloudAuthentication(GatewayPartialRedisCeConfigCloudAuthenticationArgs.builder()
.authProvider("string")
.awsAccessKeyId("string")
.awsAssumeRoleArn("string")
.awsCacheName("string")
.awsIsServerless(false)
.awsRegion("string")
.awsRoleSessionName("string")
.awsSecretAccessKey("string")
.azureClientId("string")
.azureClientSecret("string")
.azureTenantId("string")
.gcpServiceAccountJson("string")
.build())
.database(0.0)
.host("string")
.password("string")
.port(0.0)
.serverName("string")
.ssl(false)
.sslVerify(false)
.timeout(0.0)
.username("string")
.build())
.createdAt(0.0)
.id("string")
.name("string")
.tags("string")
.updatedAt(0.0)
.build())
.redisEe(GatewayPartialRedisEeArgs.builder()
.config(GatewayPartialRedisEeConfigArgs.builder()
.cloudAuthentication(GatewayPartialRedisEeConfigCloudAuthenticationArgs.builder()
.authProvider("string")
.awsAccessKeyId("string")
.awsAssumeRoleArn("string")
.awsCacheName("string")
.awsIsServerless(false)
.awsRegion("string")
.awsRoleSessionName("string")
.awsSecretAccessKey("string")
.azureClientId("string")
.azureClientSecret("string")
.azureTenantId("string")
.gcpServiceAccountJson("string")
.build())
.clusterMaxRedirections(0.0)
.clusterNodes(GatewayPartialRedisEeConfigClusterNodeArgs.builder()
.ip("string")
.port(0.0)
.build())
.connectTimeout(0.0)
.connectionIsProxied(false)
.database(0.0)
.host("string")
.keepaliveBacklog(0.0)
.keepalivePoolSize(0.0)
.password("string")
.port(0.0)
.readTimeout(0.0)
.sendTimeout(0.0)
.sentinelMaster("string")
.sentinelNodes(GatewayPartialRedisEeConfigSentinelNodeArgs.builder()
.host("string")
.port(0.0)
.build())
.sentinelPassword("string")
.sentinelRole("string")
.sentinelUsername("string")
.serverName("string")
.ssl(false)
.sslVerify(false)
.username("string")
.build())
.createdAt(0.0)
.id("string")
.name("string")
.tags("string")
.updatedAt(0.0)
.build())
.vectordb(GatewayPartialVectordbArgs.builder()
.config(GatewayPartialVectordbConfigArgs.builder()
.dimensions(0.0)
.distanceMetric("string")
.pgvector(GatewayPartialVectordbConfigPgvectorArgs.builder()
.database("string")
.host("string")
.password("string")
.port(0.0)
.ssl(false)
.sslCert("string")
.sslCertKey("string")
.sslRequired(false)
.sslVerify(false)
.sslVersion("string")
.timeout(0.0)
.user("string")
.build())
.redis(GatewayPartialVectordbConfigRedisArgs.builder()
.cloudAuthentication(GatewayPartialVectordbConfigRedisCloudAuthenticationArgs.builder()
.authProvider("string")
.awsAccessKeyId("string")
.awsAssumeRoleArn("string")
.awsCacheName("string")
.awsIsServerless(false)
.awsRegion("string")
.awsRoleSessionName("string")
.awsSecretAccessKey("string")
.azureClientId("string")
.azureClientSecret("string")
.azureTenantId("string")
.gcpServiceAccountJson("string")
.build())
.clusterMaxRedirections(0.0)
.clusterNodes(GatewayPartialVectordbConfigRedisClusterNodeArgs.builder()
.ip("string")
.port(0.0)
.build())
.connectTimeout(0.0)
.connectionIsProxied(false)
.database(0.0)
.host("string")
.keepaliveBacklog(0.0)
.keepalivePoolSize(0.0)
.password("string")
.port(0.0)
.readTimeout(0.0)
.sendTimeout(0.0)
.sentinelMaster("string")
.sentinelNodes(GatewayPartialVectordbConfigRedisSentinelNodeArgs.builder()
.host("string")
.port(0.0)
.build())
.sentinelPassword("string")
.sentinelRole("string")
.sentinelUsername("string")
.serverName("string")
.ssl(false)
.sslVerify(false)
.username("string")
.build())
.strategy("string")
.threshold(0.0)
.build())
.createdAt(0.0)
.id("string")
.name("string")
.tags("string")
.updatedAt(0.0)
.build())
.build());
gateway_partial_resource = konnect.GatewayPartial("gatewayPartialResource",
control_plane_id="string",
embeddings={
"config": {
"auth": {
"allow_override": False,
"aws_access_key_id": "string",
"aws_secret_access_key": "string",
"azure_client_id": "string",
"azure_client_secret": "string",
"azure_tenant_id": "string",
"azure_use_managed_identity": False,
"gcp_metadata_url": "string",
"gcp_oauth_token_url": "string",
"gcp_service_account_json": "string",
"gcp_use_service_account": False,
"header_name": "string",
"header_value": "string",
"param_location": "string",
"param_name": "string",
"param_value": "string",
},
"model": {
"name": "string",
"options": {
"azure": {
"api_version": "string",
"deployment_id": "string",
"instance": "string",
},
"bedrock": {
"aws_assume_role_arn": "string",
"aws_region": "string",
"aws_role_session_name": "string",
"aws_sts_endpoint_url": "string",
"batch_bucket_prefix": "string",
"batch_role_arn": "string",
"embeddings_normalize": False,
"performance_config_latency": "string",
"video_output_s3_uri": "string",
},
"gemini": {
"api_endpoint": "string",
"location_id": "string",
"project_id": "string",
},
"huggingface": {
"use_cache": False,
"wait_for_model": False,
},
"upstream_url": "string",
},
"provider": "string",
},
},
"created_at": float(0),
"id": "string",
"name": "string",
"tags": ["string"],
"updated_at": float(0),
},
model={
"config": {
"auth": {
"allow_override": False,
"aws_access_key_id": "string",
"aws_secret_access_key": "string",
"azure_client_id": "string",
"azure_client_secret": "string",
"azure_tenant_id": "string",
"azure_use_managed_identity": False,
"gcp_metadata_url": "string",
"gcp_oauth_token_url": "string",
"gcp_service_account_json": "string",
"gcp_use_service_account": False,
"header_name": "string",
"header_value": "string",
"param_location": "string",
"param_name": "string",
"param_value": "string",
},
"description": "string",
"logging": {
"log_payloads": False,
"log_statistics": False,
},
"metadata": "string",
"model": {
"model_alias": "string",
"name": "string",
"options": {
"anthropic_version": "string",
"azure_api_version": "string",
"azure_deployment_id": "string",
"azure_instance": "string",
"bedrock": {
"aws_assume_role_arn": "string",
"aws_region": "string",
"aws_role_session_name": "string",
"aws_sts_endpoint_url": "string",
"batch_bucket_prefix": "string",
"batch_role_arn": "string",
"embeddings_normalize": False,
"performance_config_latency": "string",
"video_output_s3_uri": "string",
},
"cohere": {
"embedding_input_type": "string",
"wait_for_model": False,
},
"dashscope": {
"international": False,
},
"databricks": {
"workspace_instance_id": "string",
},
"embeddings_dimensions": float(0),
"gemini": {
"api_endpoint": "string",
"endpoint_id": "string",
"location_id": "string",
"project_id": "string",
},
"huggingface": {
"use_cache": False,
"wait_for_model": False,
},
"input_cost": float(0),
"llama2_format": "string",
"max_tokens": float(0),
"mistral_format": "string",
"output_cost": float(0),
"temperature": float(0),
"top_k": float(0),
"top_p": float(0),
"upstream_path": "string",
"upstream_url": "string",
},
"provider": "string",
},
"route_type": "string",
"weight": float(0),
},
"created_at": float(0),
"id": "string",
"name": "string",
"tags": ["string"],
"updated_at": float(0),
},
redis_ce={
"config": {
"cloud_authentication": {
"auth_provider": "string",
"aws_access_key_id": "string",
"aws_assume_role_arn": "string",
"aws_cache_name": "string",
"aws_is_serverless": False,
"aws_region": "string",
"aws_role_session_name": "string",
"aws_secret_access_key": "string",
"azure_client_id": "string",
"azure_client_secret": "string",
"azure_tenant_id": "string",
"gcp_service_account_json": "string",
},
"database": float(0),
"host": "string",
"password": "string",
"port": float(0),
"server_name": "string",
"ssl": False,
"ssl_verify": False,
"timeout": float(0),
"username": "string",
},
"created_at": float(0),
"id": "string",
"name": "string",
"tags": ["string"],
"updated_at": float(0),
},
redis_ee={
"config": {
"cloud_authentication": {
"auth_provider": "string",
"aws_access_key_id": "string",
"aws_assume_role_arn": "string",
"aws_cache_name": "string",
"aws_is_serverless": False,
"aws_region": "string",
"aws_role_session_name": "string",
"aws_secret_access_key": "string",
"azure_client_id": "string",
"azure_client_secret": "string",
"azure_tenant_id": "string",
"gcp_service_account_json": "string",
},
"cluster_max_redirections": float(0),
"cluster_nodes": [{
"ip": "string",
"port": float(0),
}],
"connect_timeout": float(0),
"connection_is_proxied": False,
"database": float(0),
"host": "string",
"keepalive_backlog": float(0),
"keepalive_pool_size": float(0),
"password": "string",
"port": float(0),
"read_timeout": float(0),
"send_timeout": float(0),
"sentinel_master": "string",
"sentinel_nodes": [{
"host": "string",
"port": float(0),
}],
"sentinel_password": "string",
"sentinel_role": "string",
"sentinel_username": "string",
"server_name": "string",
"ssl": False,
"ssl_verify": False,
"username": "string",
},
"created_at": float(0),
"id": "string",
"name": "string",
"tags": ["string"],
"updated_at": float(0),
},
vectordb={
"config": {
"dimensions": float(0),
"distance_metric": "string",
"pgvector": {
"database": "string",
"host": "string",
"password": "string",
"port": float(0),
"ssl": False,
"ssl_cert": "string",
"ssl_cert_key": "string",
"ssl_required": False,
"ssl_verify": False,
"ssl_version": "string",
"timeout": float(0),
"user": "string",
},
"redis": {
"cloud_authentication": {
"auth_provider": "string",
"aws_access_key_id": "string",
"aws_assume_role_arn": "string",
"aws_cache_name": "string",
"aws_is_serverless": False,
"aws_region": "string",
"aws_role_session_name": "string",
"aws_secret_access_key": "string",
"azure_client_id": "string",
"azure_client_secret": "string",
"azure_tenant_id": "string",
"gcp_service_account_json": "string",
},
"cluster_max_redirections": float(0),
"cluster_nodes": [{
"ip": "string",
"port": float(0),
}],
"connect_timeout": float(0),
"connection_is_proxied": False,
"database": float(0),
"host": "string",
"keepalive_backlog": float(0),
"keepalive_pool_size": float(0),
"password": "string",
"port": float(0),
"read_timeout": float(0),
"send_timeout": float(0),
"sentinel_master": "string",
"sentinel_nodes": [{
"host": "string",
"port": float(0),
}],
"sentinel_password": "string",
"sentinel_role": "string",
"sentinel_username": "string",
"server_name": "string",
"ssl": False,
"ssl_verify": False,
"username": "string",
},
"strategy": "string",
"threshold": float(0),
},
"created_at": float(0),
"id": "string",
"name": "string",
"tags": ["string"],
"updated_at": float(0),
})
const gatewayPartialResource = new konnect.GatewayPartial("gatewayPartialResource", {
controlPlaneId: "string",
embeddings: {
config: {
auth: {
allowOverride: false,
awsAccessKeyId: "string",
awsSecretAccessKey: "string",
azureClientId: "string",
azureClientSecret: "string",
azureTenantId: "string",
azureUseManagedIdentity: false,
gcpMetadataUrl: "string",
gcpOauthTokenUrl: "string",
gcpServiceAccountJson: "string",
gcpUseServiceAccount: false,
headerName: "string",
headerValue: "string",
paramLocation: "string",
paramName: "string",
paramValue: "string",
},
model: {
name: "string",
options: {
azure: {
apiVersion: "string",
deploymentId: "string",
instance: "string",
},
bedrock: {
awsAssumeRoleArn: "string",
awsRegion: "string",
awsRoleSessionName: "string",
awsStsEndpointUrl: "string",
batchBucketPrefix: "string",
batchRoleArn: "string",
embeddingsNormalize: false,
performanceConfigLatency: "string",
videoOutputS3Uri: "string",
},
gemini: {
apiEndpoint: "string",
locationId: "string",
projectId: "string",
},
huggingface: {
useCache: false,
waitForModel: false,
},
upstreamUrl: "string",
},
provider: "string",
},
},
createdAt: 0,
id: "string",
name: "string",
tags: ["string"],
updatedAt: 0,
},
model: {
config: {
auth: {
allowOverride: false,
awsAccessKeyId: "string",
awsSecretAccessKey: "string",
azureClientId: "string",
azureClientSecret: "string",
azureTenantId: "string",
azureUseManagedIdentity: false,
gcpMetadataUrl: "string",
gcpOauthTokenUrl: "string",
gcpServiceAccountJson: "string",
gcpUseServiceAccount: false,
headerName: "string",
headerValue: "string",
paramLocation: "string",
paramName: "string",
paramValue: "string",
},
description: "string",
logging: {
logPayloads: false,
logStatistics: false,
},
metadata: "string",
model: {
modelAlias: "string",
name: "string",
options: {
anthropicVersion: "string",
azureApiVersion: "string",
azureDeploymentId: "string",
azureInstance: "string",
bedrock: {
awsAssumeRoleArn: "string",
awsRegion: "string",
awsRoleSessionName: "string",
awsStsEndpointUrl: "string",
batchBucketPrefix: "string",
batchRoleArn: "string",
embeddingsNormalize: false,
performanceConfigLatency: "string",
videoOutputS3Uri: "string",
},
cohere: {
embeddingInputType: "string",
waitForModel: false,
},
dashscope: {
international: false,
},
databricks: {
workspaceInstanceId: "string",
},
embeddingsDimensions: 0,
gemini: {
apiEndpoint: "string",
endpointId: "string",
locationId: "string",
projectId: "string",
},
huggingface: {
useCache: false,
waitForModel: false,
},
inputCost: 0,
llama2Format: "string",
maxTokens: 0,
mistralFormat: "string",
outputCost: 0,
temperature: 0,
topK: 0,
topP: 0,
upstreamPath: "string",
upstreamUrl: "string",
},
provider: "string",
},
routeType: "string",
weight: 0,
},
createdAt: 0,
id: "string",
name: "string",
tags: ["string"],
updatedAt: 0,
},
redisCe: {
config: {
cloudAuthentication: {
authProvider: "string",
awsAccessKeyId: "string",
awsAssumeRoleArn: "string",
awsCacheName: "string",
awsIsServerless: false,
awsRegion: "string",
awsRoleSessionName: "string",
awsSecretAccessKey: "string",
azureClientId: "string",
azureClientSecret: "string",
azureTenantId: "string",
gcpServiceAccountJson: "string",
},
database: 0,
host: "string",
password: "string",
port: 0,
serverName: "string",
ssl: false,
sslVerify: false,
timeout: 0,
username: "string",
},
createdAt: 0,
id: "string",
name: "string",
tags: ["string"],
updatedAt: 0,
},
redisEe: {
config: {
cloudAuthentication: {
authProvider: "string",
awsAccessKeyId: "string",
awsAssumeRoleArn: "string",
awsCacheName: "string",
awsIsServerless: false,
awsRegion: "string",
awsRoleSessionName: "string",
awsSecretAccessKey: "string",
azureClientId: "string",
azureClientSecret: "string",
azureTenantId: "string",
gcpServiceAccountJson: "string",
},
clusterMaxRedirections: 0,
clusterNodes: [{
ip: "string",
port: 0,
}],
connectTimeout: 0,
connectionIsProxied: false,
database: 0,
host: "string",
keepaliveBacklog: 0,
keepalivePoolSize: 0,
password: "string",
port: 0,
readTimeout: 0,
sendTimeout: 0,
sentinelMaster: "string",
sentinelNodes: [{
host: "string",
port: 0,
}],
sentinelPassword: "string",
sentinelRole: "string",
sentinelUsername: "string",
serverName: "string",
ssl: false,
sslVerify: false,
username: "string",
},
createdAt: 0,
id: "string",
name: "string",
tags: ["string"],
updatedAt: 0,
},
vectordb: {
config: {
dimensions: 0,
distanceMetric: "string",
pgvector: {
database: "string",
host: "string",
password: "string",
port: 0,
ssl: false,
sslCert: "string",
sslCertKey: "string",
sslRequired: false,
sslVerify: false,
sslVersion: "string",
timeout: 0,
user: "string",
},
redis: {
cloudAuthentication: {
authProvider: "string",
awsAccessKeyId: "string",
awsAssumeRoleArn: "string",
awsCacheName: "string",
awsIsServerless: false,
awsRegion: "string",
awsRoleSessionName: "string",
awsSecretAccessKey: "string",
azureClientId: "string",
azureClientSecret: "string",
azureTenantId: "string",
gcpServiceAccountJson: "string",
},
clusterMaxRedirections: 0,
clusterNodes: [{
ip: "string",
port: 0,
}],
connectTimeout: 0,
connectionIsProxied: false,
database: 0,
host: "string",
keepaliveBacklog: 0,
keepalivePoolSize: 0,
password: "string",
port: 0,
readTimeout: 0,
sendTimeout: 0,
sentinelMaster: "string",
sentinelNodes: [{
host: "string",
port: 0,
}],
sentinelPassword: "string",
sentinelRole: "string",
sentinelUsername: "string",
serverName: "string",
ssl: false,
sslVerify: false,
username: "string",
},
strategy: "string",
threshold: 0,
},
createdAt: 0,
id: "string",
name: "string",
tags: ["string"],
updatedAt: 0,
},
});
type: konnect:GatewayPartial
properties:
controlPlaneId: string
embeddings:
config:
auth:
allowOverride: false
awsAccessKeyId: string
awsSecretAccessKey: string
azureClientId: string
azureClientSecret: string
azureTenantId: string
azureUseManagedIdentity: false
gcpMetadataUrl: string
gcpOauthTokenUrl: string
gcpServiceAccountJson: string
gcpUseServiceAccount: false
headerName: string
headerValue: string
paramLocation: string
paramName: string
paramValue: string
model:
name: string
options:
azure:
apiVersion: string
deploymentId: string
instance: string
bedrock:
awsAssumeRoleArn: string
awsRegion: string
awsRoleSessionName: string
awsStsEndpointUrl: string
batchBucketPrefix: string
batchRoleArn: string
embeddingsNormalize: false
performanceConfigLatency: string
videoOutputS3Uri: string
gemini:
apiEndpoint: string
locationId: string
projectId: string
huggingface:
useCache: false
waitForModel: false
upstreamUrl: string
provider: string
createdAt: 0
id: string
name: string
tags:
- string
updatedAt: 0
model:
config:
auth:
allowOverride: false
awsAccessKeyId: string
awsSecretAccessKey: string
azureClientId: string
azureClientSecret: string
azureTenantId: string
azureUseManagedIdentity: false
gcpMetadataUrl: string
gcpOauthTokenUrl: string
gcpServiceAccountJson: string
gcpUseServiceAccount: false
headerName: string
headerValue: string
paramLocation: string
paramName: string
paramValue: string
description: string
logging:
logPayloads: false
logStatistics: false
metadata: string
model:
modelAlias: string
name: string
options:
anthropicVersion: string
azureApiVersion: string
azureDeploymentId: string
azureInstance: string
bedrock:
awsAssumeRoleArn: string
awsRegion: string
awsRoleSessionName: string
awsStsEndpointUrl: string
batchBucketPrefix: string
batchRoleArn: string
embeddingsNormalize: false
performanceConfigLatency: string
videoOutputS3Uri: string
cohere:
embeddingInputType: string
waitForModel: false
dashscope:
international: false
databricks:
workspaceInstanceId: string
embeddingsDimensions: 0
gemini:
apiEndpoint: string
endpointId: string
locationId: string
projectId: string
huggingface:
useCache: false
waitForModel: false
inputCost: 0
llama2Format: string
maxTokens: 0
mistralFormat: string
outputCost: 0
temperature: 0
topK: 0
topP: 0
upstreamPath: string
upstreamUrl: string
provider: string
routeType: string
weight: 0
createdAt: 0
id: string
name: string
tags:
- string
updatedAt: 0
redisCe:
config:
cloudAuthentication:
authProvider: string
awsAccessKeyId: string
awsAssumeRoleArn: string
awsCacheName: string
awsIsServerless: false
awsRegion: string
awsRoleSessionName: string
awsSecretAccessKey: string
azureClientId: string
azureClientSecret: string
azureTenantId: string
gcpServiceAccountJson: string
database: 0
host: string
password: string
port: 0
serverName: string
ssl: false
sslVerify: false
timeout: 0
username: string
createdAt: 0
id: string
name: string
tags:
- string
updatedAt: 0
redisEe:
config:
cloudAuthentication:
authProvider: string
awsAccessKeyId: string
awsAssumeRoleArn: string
awsCacheName: string
awsIsServerless: false
awsRegion: string
awsRoleSessionName: string
awsSecretAccessKey: string
azureClientId: string
azureClientSecret: string
azureTenantId: string
gcpServiceAccountJson: string
clusterMaxRedirections: 0
clusterNodes:
- ip: string
port: 0
connectTimeout: 0
connectionIsProxied: false
database: 0
host: string
keepaliveBacklog: 0
keepalivePoolSize: 0
password: string
port: 0
readTimeout: 0
sendTimeout: 0
sentinelMaster: string
sentinelNodes:
- host: string
port: 0
sentinelPassword: string
sentinelRole: string
sentinelUsername: string
serverName: string
ssl: false
sslVerify: false
username: string
createdAt: 0
id: string
name: string
tags:
- string
updatedAt: 0
vectordb:
config:
dimensions: 0
distanceMetric: string
pgvector:
database: string
host: string
password: string
port: 0
ssl: false
sslCert: string
sslCertKey: string
sslRequired: false
sslVerify: false
sslVersion: string
timeout: 0
user: string
redis:
cloudAuthentication:
authProvider: string
awsAccessKeyId: string
awsAssumeRoleArn: string
awsCacheName: string
awsIsServerless: false
awsRegion: string
awsRoleSessionName: string
awsSecretAccessKey: string
azureClientId: string
azureClientSecret: string
azureTenantId: string
gcpServiceAccountJson: string
clusterMaxRedirections: 0
clusterNodes:
- ip: string
port: 0
connectTimeout: 0
connectionIsProxied: false
database: 0
host: string
keepaliveBacklog: 0
keepalivePoolSize: 0
password: string
port: 0
readTimeout: 0
sendTimeout: 0
sentinelMaster: string
sentinelNodes:
- host: string
port: 0
sentinelPassword: string
sentinelRole: string
sentinelUsername: string
serverName: string
ssl: false
sslVerify: false
username: string
strategy: string
threshold: 0
createdAt: 0
id: string
name: string
tags:
- string
updatedAt: 0
GatewayPartial 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 GatewayPartial resource accepts the following input properties:
- Control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Embeddings
Gateway
Partial Embeddings - Model
Gateway
Partial Model - Redis
Ce GatewayPartial Redis Ce - Redis
Ee GatewayPartial Redis Ee - Vectordb
Gateway
Partial Vectordb
- Control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Embeddings
Gateway
Partial Embeddings Args - Model
Gateway
Partial Model Args - Redis
Ce GatewayPartial Redis Ce Args - Redis
Ee GatewayPartial Redis Ee Args - Vectordb
Gateway
Partial Vectordb Args
- control
Plane StringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- embeddings
Gateway
Partial Embeddings - model
Gateway
Partial Model - redis
Ce GatewayPartial Redis Ce - redis
Ee GatewayPartial Redis Ee - vectordb
Gateway
Partial Vectordb
- control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- embeddings
Gateway
Partial Embeddings - model
Gateway
Partial Model - redis
Ce GatewayPartial Redis Ce - redis
Ee GatewayPartial Redis Ee - vectordb
Gateway
Partial Vectordb
- control_
plane_ strid - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- embeddings
Gateway
Partial Embeddings Args - model
Gateway
Partial Model Args - redis_
ce GatewayPartial Redis Ce Args - redis_
ee GatewayPartial Redis Ee Args - vectordb
Gateway
Partial Vectordb Args
- control
Plane StringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- embeddings Property Map
- model Property Map
- redis
Ce Property Map - redis
Ee Property Map - vectordb Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the GatewayPartial resource produces the following output properties:
- created_
at float - Unix epoch when the resource was created.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- A unique string representing a UTF-8 encoded name.
- updated_
at float - Unix epoch when the resource was last updated.
Look up Existing GatewayPartial Resource
Get an existing GatewayPartial 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?: GatewayPartialState, opts?: CustomResourceOptions): GatewayPartial@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
control_plane_id: Optional[str] = None,
created_at: Optional[float] = None,
embeddings: Optional[GatewayPartialEmbeddingsArgs] = None,
model: Optional[GatewayPartialModelArgs] = None,
name: Optional[str] = None,
redis_ce: Optional[GatewayPartialRedisCeArgs] = None,
redis_ee: Optional[GatewayPartialRedisEeArgs] = None,
updated_at: Optional[float] = None,
vectordb: Optional[GatewayPartialVectordbArgs] = None) -> GatewayPartialfunc GetGatewayPartial(ctx *Context, name string, id IDInput, state *GatewayPartialState, opts ...ResourceOption) (*GatewayPartial, error)public static GatewayPartial Get(string name, Input<string> id, GatewayPartialState? state, CustomResourceOptions? opts = null)public static GatewayPartial get(String name, Output<String> id, GatewayPartialState state, CustomResourceOptions options)resources: _: type: konnect:GatewayPartial 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.
- Control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Created
At double - Unix epoch when the resource was created.
- Embeddings
Gateway
Partial Embeddings - Model
Gateway
Partial Model - Name string
- A unique string representing a UTF-8 encoded name.
- Redis
Ce GatewayPartial Redis Ce - Redis
Ee GatewayPartial Redis Ee - Updated
At double - Unix epoch when the resource was last updated.
- Vectordb
Gateway
Partial Vectordb
- Control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Created
At float64 - Unix epoch when the resource was created.
- Embeddings
Gateway
Partial Embeddings Args - Model
Gateway
Partial Model Args - Name string
- A unique string representing a UTF-8 encoded name.
- Redis
Ce GatewayPartial Redis Ce Args - Redis
Ee GatewayPartial Redis Ee Args - Updated
At float64 - Unix epoch when the resource was last updated.
- Vectordb
Gateway
Partial Vectordb Args
- control
Plane StringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- created
At Double - Unix epoch when the resource was created.
- embeddings
Gateway
Partial Embeddings - model
Gateway
Partial Model - name String
- A unique string representing a UTF-8 encoded name.
- redis
Ce GatewayPartial Redis Ce - redis
Ee GatewayPartial Redis Ee - updated
At Double - Unix epoch when the resource was last updated.
- vectordb
Gateway
Partial Vectordb
- control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- created
At number - Unix epoch when the resource was created.
- embeddings
Gateway
Partial Embeddings - model
Gateway
Partial Model - name string
- A unique string representing a UTF-8 encoded name.
- redis
Ce GatewayPartial Redis Ce - redis
Ee GatewayPartial Redis Ee - updated
At number - Unix epoch when the resource was last updated.
- vectordb
Gateway
Partial Vectordb
- 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.
- embeddings
Gateway
Partial Embeddings Args - model
Gateway
Partial Model Args - name str
- A unique string representing a UTF-8 encoded name.
- redis_
ce GatewayPartial Redis Ce Args - redis_
ee GatewayPartial Redis Ee Args - updated_
at float - Unix epoch when the resource was last updated.
- vectordb
Gateway
Partial Vectordb Args
- control
Plane StringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- created
At Number - Unix epoch when the resource was created.
- embeddings Property Map
- model Property Map
- name String
- A unique string representing a UTF-8 encoded name.
- redis
Ce Property Map - redis
Ee Property Map - updated
At Number - Unix epoch when the resource was last updated.
- vectordb Property Map
Supporting Types
GatewayPartialEmbeddings, GatewayPartialEmbeddingsArgs
- Config
Gateway
Partial Embeddings Config - Not Null
- Created
At double - Unix epoch when the resource was created.
- Id string
- A string representing a UUID (universally unique identifier).
- Name string
- A unique string representing a UTF-8 encoded name.
- List<string>
- A set of strings representing tags.
- Updated
At double - Unix epoch when the resource was last updated.
- Config
Gateway
Partial Embeddings Config - Not Null
- Created
At float64 - Unix epoch when the resource was created.
- Id string
- A string representing a UUID (universally unique identifier).
- Name string
- A unique string representing a UTF-8 encoded name.
- []string
- A set of strings representing tags.
- Updated
At float64 - Unix epoch when the resource was last updated.
- config
Gateway
Partial Embeddings Config - Not Null
- created
At Double - Unix epoch when the resource was created.
- id String
- A string representing a UUID (universally unique identifier).
- name String
- A unique string representing a UTF-8 encoded name.
- List<String>
- A set of strings representing tags.
- updated
At Double - Unix epoch when the resource was last updated.
- config
Gateway
Partial Embeddings Config - Not Null
- created
At number - Unix epoch when the resource was created.
- id string
- A string representing a UUID (universally unique identifier).
- name string
- A unique string representing a UTF-8 encoded name.
- string[]
- A set of strings representing tags.
- updated
At number - Unix epoch when the resource was last updated.
- config
Gateway
Partial Embeddings Config - Not Null
- created_
at float - Unix epoch when the resource was created.
- id str
- A string representing a UUID (universally unique identifier).
- name str
- A unique string representing a UTF-8 encoded name.
- Sequence[str]
- A set of strings representing tags.
- updated_
at float - Unix epoch when the resource was last updated.
- config Property Map
- Not Null
- created
At Number - Unix epoch when the resource was created.
- id String
- A string representing a UUID (universally unique identifier).
- name String
- A unique string representing a UTF-8 encoded name.
- List<String>
- A set of strings representing tags.
- updated
At Number - Unix epoch when the resource was last updated.
GatewayPartialEmbeddingsConfig, GatewayPartialEmbeddingsConfigArgs
- auth Property Map
- model Property Map
- Not Null
GatewayPartialEmbeddingsConfigAuth, GatewayPartialEmbeddingsConfigAuthArgs
- Allow
Override bool - If enabled, the authorization header or parameter can be overridden in the request by the value configured in the plugin. Default: false
- Aws
Access stringKey Id - Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWSACCESSKEY_ID environment variable for this plugin instance.
- Aws
Secret stringAccess Key - Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWSSECRETACCESS_KEY environment variable for this plugin instance.
- Azure
Client stringId - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client ID.
- Azure
Client stringSecret - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client secret.
- Azure
Tenant stringId - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the tenant ID.
- Azure
Use boolManaged Identity - Set true to use the Azure Cloud Managed Identity (or user-assigned identity) to authenticate with Azure-provider models. Default: false
- Gcp
Metadata stringUrl - Custom metadata URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google metadata endpoint.
- Gcp
Oauth stringToken Url - Custom OAuth token URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google OAuth token endpoint.
- Gcp
Service stringAccount Json - Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcpuseservice_account is true), Kong will attempt to read from environment variable
GCP_SERVICE_ACCOUNT. - Gcp
Use boolService Account - Use service account auth for GCP-based providers and models. Default: false
- Header
Name string - If AI model requires authentication via Authorization or API key header, specify its name here.
- Header
Value string - Specify the full auth header value for 'header_name', for example 'Bearer key' or just 'key'.
- Param
Location string - Specify whether the 'paramname' and 'paramvalue' options go in a query string, or the POST form/JSON body. possible known values include one of ["body", "query"]
- Param
Name string - If AI model requires authentication via query parameter, specify its name here.
- Param
Value string - Specify the full parameter value for 'param_name'.
- Allow
Override bool - If enabled, the authorization header or parameter can be overridden in the request by the value configured in the plugin. Default: false
- Aws
Access stringKey Id - Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWSACCESSKEY_ID environment variable for this plugin instance.
- Aws
Secret stringAccess Key - Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWSSECRETACCESS_KEY environment variable for this plugin instance.
- Azure
Client stringId - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client ID.
- Azure
Client stringSecret - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client secret.
- Azure
Tenant stringId - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the tenant ID.
- Azure
Use boolManaged Identity - Set true to use the Azure Cloud Managed Identity (or user-assigned identity) to authenticate with Azure-provider models. Default: false
- Gcp
Metadata stringUrl - Custom metadata URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google metadata endpoint.
- Gcp
Oauth stringToken Url - Custom OAuth token URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google OAuth token endpoint.
- Gcp
Service stringAccount Json - Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcpuseservice_account is true), Kong will attempt to read from environment variable
GCP_SERVICE_ACCOUNT. - Gcp
Use boolService Account - Use service account auth for GCP-based providers and models. Default: false
- Header
Name string - If AI model requires authentication via Authorization or API key header, specify its name here.
- Header
Value string - Specify the full auth header value for 'header_name', for example 'Bearer key' or just 'key'.
- Param
Location string - Specify whether the 'paramname' and 'paramvalue' options go in a query string, or the POST form/JSON body. possible known values include one of ["body", "query"]
- Param
Name string - If AI model requires authentication via query parameter, specify its name here.
- Param
Value string - Specify the full parameter value for 'param_name'.
- allow
Override Boolean - If enabled, the authorization header or parameter can be overridden in the request by the value configured in the plugin. Default: false
- aws
Access StringKey Id - Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWSACCESSKEY_ID environment variable for this plugin instance.
- aws
Secret StringAccess Key - Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWSSECRETACCESS_KEY environment variable for this plugin instance.
- azure
Client StringId - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client ID.
- azure
Client StringSecret - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client secret.
- azure
Tenant StringId - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the tenant ID.
- azure
Use BooleanManaged Identity - Set true to use the Azure Cloud Managed Identity (or user-assigned identity) to authenticate with Azure-provider models. Default: false
- gcp
Metadata StringUrl - Custom metadata URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google metadata endpoint.
- gcp
Oauth StringToken Url - Custom OAuth token URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google OAuth token endpoint.
- gcp
Service StringAccount Json - Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcpuseservice_account is true), Kong will attempt to read from environment variable
GCP_SERVICE_ACCOUNT. - gcp
Use BooleanService Account - Use service account auth for GCP-based providers and models. Default: false
- header
Name String - If AI model requires authentication via Authorization or API key header, specify its name here.
- header
Value String - Specify the full auth header value for 'header_name', for example 'Bearer key' or just 'key'.
- param
Location String - Specify whether the 'paramname' and 'paramvalue' options go in a query string, or the POST form/JSON body. possible known values include one of ["body", "query"]
- param
Name String - If AI model requires authentication via query parameter, specify its name here.
- param
Value String - Specify the full parameter value for 'param_name'.
- allow
Override boolean - If enabled, the authorization header or parameter can be overridden in the request by the value configured in the plugin. Default: false
- aws
Access stringKey Id - Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWSACCESSKEY_ID environment variable for this plugin instance.
- aws
Secret stringAccess Key - Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWSSECRETACCESS_KEY environment variable for this plugin instance.
- azure
Client stringId - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client ID.
- azure
Client stringSecret - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client secret.
- azure
Tenant stringId - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the tenant ID.
- azure
Use booleanManaged Identity - Set true to use the Azure Cloud Managed Identity (or user-assigned identity) to authenticate with Azure-provider models. Default: false
- gcp
Metadata stringUrl - Custom metadata URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google metadata endpoint.
- gcp
Oauth stringToken Url - Custom OAuth token URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google OAuth token endpoint.
- gcp
Service stringAccount Json - Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcpuseservice_account is true), Kong will attempt to read from environment variable
GCP_SERVICE_ACCOUNT. - gcp
Use booleanService Account - Use service account auth for GCP-based providers and models. Default: false
- header
Name string - If AI model requires authentication via Authorization or API key header, specify its name here.
- header
Value string - Specify the full auth header value for 'header_name', for example 'Bearer key' or just 'key'.
- param
Location string - Specify whether the 'paramname' and 'paramvalue' options go in a query string, or the POST form/JSON body. possible known values include one of ["body", "query"]
- param
Name string - If AI model requires authentication via query parameter, specify its name here.
- param
Value string - Specify the full parameter value for 'param_name'.
- allow_
override bool - If enabled, the authorization header or parameter can be overridden in the request by the value configured in the plugin. Default: false
- aws_
access_ strkey_ id - Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWSACCESSKEY_ID environment variable for this plugin instance.
- aws_
secret_ straccess_ key - Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWSSECRETACCESS_KEY environment variable for this plugin instance.
- azure_
client_ strid - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client ID.
- azure_
client_ strsecret - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client secret.
- azure_
tenant_ strid - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the tenant ID.
- azure_
use_ boolmanaged_ identity - Set true to use the Azure Cloud Managed Identity (or user-assigned identity) to authenticate with Azure-provider models. Default: false
- gcp_
metadata_ strurl - Custom metadata URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google metadata endpoint.
- gcp_
oauth_ strtoken_ url - Custom OAuth token URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google OAuth token endpoint.
- gcp_
service_ straccount_ json - Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcpuseservice_account is true), Kong will attempt to read from environment variable
GCP_SERVICE_ACCOUNT. - gcp_
use_ boolservice_ account - Use service account auth for GCP-based providers and models. Default: false
- header_
name str - If AI model requires authentication via Authorization or API key header, specify its name here.
- header_
value str - Specify the full auth header value for 'header_name', for example 'Bearer key' or just 'key'.
- param_
location str - Specify whether the 'paramname' and 'paramvalue' options go in a query string, or the POST form/JSON body. possible known values include one of ["body", "query"]
- param_
name str - If AI model requires authentication via query parameter, specify its name here.
- param_
value str - Specify the full parameter value for 'param_name'.
- allow
Override Boolean - If enabled, the authorization header or parameter can be overridden in the request by the value configured in the plugin. Default: false
- aws
Access StringKey Id - Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWSACCESSKEY_ID environment variable for this plugin instance.
- aws
Secret StringAccess Key - Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWSSECRETACCESS_KEY environment variable for this plugin instance.
- azure
Client StringId - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client ID.
- azure
Client StringSecret - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client secret.
- azure
Tenant StringId - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the tenant ID.
- azure
Use BooleanManaged Identity - Set true to use the Azure Cloud Managed Identity (or user-assigned identity) to authenticate with Azure-provider models. Default: false
- gcp
Metadata StringUrl - Custom metadata URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google metadata endpoint.
- gcp
Oauth StringToken Url - Custom OAuth token URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google OAuth token endpoint.
- gcp
Service StringAccount Json - Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcpuseservice_account is true), Kong will attempt to read from environment variable
GCP_SERVICE_ACCOUNT. - gcp
Use BooleanService Account - Use service account auth for GCP-based providers and models. Default: false
- header
Name String - If AI model requires authentication via Authorization or API key header, specify its name here.
- header
Value String - Specify the full auth header value for 'header_name', for example 'Bearer key' or just 'key'.
- param
Location String - Specify whether the 'paramname' and 'paramvalue' options go in a query string, or the POST form/JSON body. possible known values include one of ["body", "query"]
- param
Name String - If AI model requires authentication via query parameter, specify its name here.
- param
Value String - Specify the full parameter value for 'param_name'.
GatewayPartialEmbeddingsConfigModel, GatewayPartialEmbeddingsConfigModelArgs
- Name string
- Model name to execute. Not Null
- Options
Gateway
Partial Embeddings Config Model Options - Key/value settings for the model
- Provider string
- AI provider format to use for embeddings API. possible known values include one of ["azure", "bedrock", "gemini", "huggingface", "mistral", "ollama", "openai"]; Not Null
- Name string
- Model name to execute. Not Null
- Options
Gateway
Partial Embeddings Config Model Options - Key/value settings for the model
- Provider string
- AI provider format to use for embeddings API. possible known values include one of ["azure", "bedrock", "gemini", "huggingface", "mistral", "ollama", "openai"]; Not Null
- name String
- Model name to execute. Not Null
- options
Gateway
Partial Embeddings Config Model Options - Key/value settings for the model
- provider String
- AI provider format to use for embeddings API. possible known values include one of ["azure", "bedrock", "gemini", "huggingface", "mistral", "ollama", "openai"]; Not Null
- name string
- Model name to execute. Not Null
- options
Gateway
Partial Embeddings Config Model Options - Key/value settings for the model
- provider string
- AI provider format to use for embeddings API. possible known values include one of ["azure", "bedrock", "gemini", "huggingface", "mistral", "ollama", "openai"]; Not Null
- name str
- Model name to execute. Not Null
- options
Gateway
Partial Embeddings Config Model Options - Key/value settings for the model
- provider str
- AI provider format to use for embeddings API. possible known values include one of ["azure", "bedrock", "gemini", "huggingface", "mistral", "ollama", "openai"]; Not Null
- name String
- Model name to execute. Not Null
- options Property Map
- Key/value settings for the model
- provider String
- AI provider format to use for embeddings API. possible known values include one of ["azure", "bedrock", "gemini", "huggingface", "mistral", "ollama", "openai"]; Not Null
GatewayPartialEmbeddingsConfigModelOptions, GatewayPartialEmbeddingsConfigModelOptionsArgs
- azure Property Map
- bedrock Property Map
- gemini Property Map
- huggingface Property Map
- upstream
Url String - upstream url for the embeddings
GatewayPartialEmbeddingsConfigModelOptionsAzure, GatewayPartialEmbeddingsConfigModelOptionsAzureArgs
- Api
Version string - 'api-version' for Azure OpenAI instances. Default: "2023-05-15"
- Deployment
Id string - Deployment ID for Azure OpenAI instances.
- Instance string
- Instance name for Azure OpenAI hosted models.
- Api
Version string - 'api-version' for Azure OpenAI instances. Default: "2023-05-15"
- Deployment
Id string - Deployment ID for Azure OpenAI instances.
- Instance string
- Instance name for Azure OpenAI hosted models.
- api
Version String - 'api-version' for Azure OpenAI instances. Default: "2023-05-15"
- deployment
Id String - Deployment ID for Azure OpenAI instances.
- instance String
- Instance name for Azure OpenAI hosted models.
- api
Version string - 'api-version' for Azure OpenAI instances. Default: "2023-05-15"
- deployment
Id string - Deployment ID for Azure OpenAI instances.
- instance string
- Instance name for Azure OpenAI hosted models.
- api_
version str - 'api-version' for Azure OpenAI instances. Default: "2023-05-15"
- deployment_
id str - Deployment ID for Azure OpenAI instances.
- instance str
- Instance name for Azure OpenAI hosted models.
- api
Version String - 'api-version' for Azure OpenAI instances. Default: "2023-05-15"
- deployment
Id String - Deployment ID for Azure OpenAI instances.
- instance String
- Instance name for Azure OpenAI hosted models.
GatewayPartialEmbeddingsConfigModelOptionsBedrock, GatewayPartialEmbeddingsConfigModelOptionsBedrockArgs
- Aws
Assume stringRole Arn - If using AWS providers (Bedrock) you can assume a different role after authentication with the current IAM context is successful.
- Aws
Region string - If using AWS providers (Bedrock) you can override the
AWS_REGIONenvironment variable by setting this option. - Aws
Role stringSession Name - If using AWS providers (Bedrock), set the identifier of the assumed role session.
- Aws
Sts stringEndpoint Url - If using AWS providers (Bedrock), override the STS endpoint URL when assuming a different role.
- Batch
Bucket stringPrefix - S3 URI prefix (s3://bucket/prefix/) where Bedrock will get input files from and store results to for native batch API.
- Batch
Role stringArn - AWS role arn used for calling batch API. Try to get the value from request if ommited.
- Embeddings
Normalize bool - If using AWS providers (Bedrock), set to true to normalize the embeddings. Default: false
- Performance
Config stringLatency - Force the client's performance configuration 'latency' for all requests. Leave empty to let the consumer select the performance configuration.
- Video
Output stringS3Uri - S3 URI (s3://bucket/prefix) where Bedrock will store generated video files. Required for video generation.
- Aws
Assume stringRole Arn - If using AWS providers (Bedrock) you can assume a different role after authentication with the current IAM context is successful.
- Aws
Region string - If using AWS providers (Bedrock) you can override the
AWS_REGIONenvironment variable by setting this option. - Aws
Role stringSession Name - If using AWS providers (Bedrock), set the identifier of the assumed role session.
- Aws
Sts stringEndpoint Url - If using AWS providers (Bedrock), override the STS endpoint URL when assuming a different role.
- Batch
Bucket stringPrefix - S3 URI prefix (s3://bucket/prefix/) where Bedrock will get input files from and store results to for native batch API.
- Batch
Role stringArn - AWS role arn used for calling batch API. Try to get the value from request if ommited.
- Embeddings
Normalize bool - If using AWS providers (Bedrock), set to true to normalize the embeddings. Default: false
- Performance
Config stringLatency - Force the client's performance configuration 'latency' for all requests. Leave empty to let the consumer select the performance configuration.
- Video
Output stringS3Uri - S3 URI (s3://bucket/prefix) where Bedrock will store generated video files. Required for video generation.
- aws
Assume StringRole Arn - If using AWS providers (Bedrock) you can assume a different role after authentication with the current IAM context is successful.
- aws
Region String - If using AWS providers (Bedrock) you can override the
AWS_REGIONenvironment variable by setting this option. - aws
Role StringSession Name - If using AWS providers (Bedrock), set the identifier of the assumed role session.
- aws
Sts StringEndpoint Url - If using AWS providers (Bedrock), override the STS endpoint URL when assuming a different role.
- batch
Bucket StringPrefix - S3 URI prefix (s3://bucket/prefix/) where Bedrock will get input files from and store results to for native batch API.
- batch
Role StringArn - AWS role arn used for calling batch API. Try to get the value from request if ommited.
- embeddings
Normalize Boolean - If using AWS providers (Bedrock), set to true to normalize the embeddings. Default: false
- performance
Config StringLatency - Force the client's performance configuration 'latency' for all requests. Leave empty to let the consumer select the performance configuration.
- video
Output StringS3Uri - S3 URI (s3://bucket/prefix) where Bedrock will store generated video files. Required for video generation.
- aws
Assume stringRole Arn - If using AWS providers (Bedrock) you can assume a different role after authentication with the current IAM context is successful.
- aws
Region string - If using AWS providers (Bedrock) you can override the
AWS_REGIONenvironment variable by setting this option. - aws
Role stringSession Name - If using AWS providers (Bedrock), set the identifier of the assumed role session.
- aws
Sts stringEndpoint Url - If using AWS providers (Bedrock), override the STS endpoint URL when assuming a different role.
- batch
Bucket stringPrefix - S3 URI prefix (s3://bucket/prefix/) where Bedrock will get input files from and store results to for native batch API.
- batch
Role stringArn - AWS role arn used for calling batch API. Try to get the value from request if ommited.
- embeddings
Normalize boolean - If using AWS providers (Bedrock), set to true to normalize the embeddings. Default: false
- performance
Config stringLatency - Force the client's performance configuration 'latency' for all requests. Leave empty to let the consumer select the performance configuration.
- video
Output stringS3Uri - S3 URI (s3://bucket/prefix) where Bedrock will store generated video files. Required for video generation.
- aws_
assume_ strrole_ arn - If using AWS providers (Bedrock) you can assume a different role after authentication with the current IAM context is successful.
- aws_
region str - If using AWS providers (Bedrock) you can override the
AWS_REGIONenvironment variable by setting this option. - aws_
role_ strsession_ name - If using AWS providers (Bedrock), set the identifier of the assumed role session.
- aws_
sts_ strendpoint_ url - If using AWS providers (Bedrock), override the STS endpoint URL when assuming a different role.
- batch_
bucket_ strprefix - S3 URI prefix (s3://bucket/prefix/) where Bedrock will get input files from and store results to for native batch API.
- batch_
role_ strarn - AWS role arn used for calling batch API. Try to get the value from request if ommited.
- embeddings_
normalize bool - If using AWS providers (Bedrock), set to true to normalize the embeddings. Default: false
- performance_
config_ strlatency - Force the client's performance configuration 'latency' for all requests. Leave empty to let the consumer select the performance configuration.
- video_
output_ strs3_ uri - S3 URI (s3://bucket/prefix) where Bedrock will store generated video files. Required for video generation.
- aws
Assume StringRole Arn - If using AWS providers (Bedrock) you can assume a different role after authentication with the current IAM context is successful.
- aws
Region String - If using AWS providers (Bedrock) you can override the
AWS_REGIONenvironment variable by setting this option. - aws
Role StringSession Name - If using AWS providers (Bedrock), set the identifier of the assumed role session.
- aws
Sts StringEndpoint Url - If using AWS providers (Bedrock), override the STS endpoint URL when assuming a different role.
- batch
Bucket StringPrefix - S3 URI prefix (s3://bucket/prefix/) where Bedrock will get input files from and store results to for native batch API.
- batch
Role StringArn - AWS role arn used for calling batch API. Try to get the value from request if ommited.
- embeddings
Normalize Boolean - If using AWS providers (Bedrock), set to true to normalize the embeddings. Default: false
- performance
Config StringLatency - Force the client's performance configuration 'latency' for all requests. Leave empty to let the consumer select the performance configuration.
- video
Output StringS3Uri - S3 URI (s3://bucket/prefix) where Bedrock will store generated video files. Required for video generation.
GatewayPartialEmbeddingsConfigModelOptionsGemini, GatewayPartialEmbeddingsConfigModelOptionsGeminiArgs
- Api
Endpoint string - If running Gemini on Vertex, specify the regional API endpoint (hostname only).
- Location
Id string - If running Gemini on Vertex, specify the location ID.
- Project
Id string - If running Gemini on Vertex, specify the project ID.
- Api
Endpoint string - If running Gemini on Vertex, specify the regional API endpoint (hostname only).
- Location
Id string - If running Gemini on Vertex, specify the location ID.
- Project
Id string - If running Gemini on Vertex, specify the project ID.
- api
Endpoint String - If running Gemini on Vertex, specify the regional API endpoint (hostname only).
- location
Id String - If running Gemini on Vertex, specify the location ID.
- project
Id String - If running Gemini on Vertex, specify the project ID.
- api
Endpoint string - If running Gemini on Vertex, specify the regional API endpoint (hostname only).
- location
Id string - If running Gemini on Vertex, specify the location ID.
- project
Id string - If running Gemini on Vertex, specify the project ID.
- api_
endpoint str - If running Gemini on Vertex, specify the regional API endpoint (hostname only).
- location_
id str - If running Gemini on Vertex, specify the location ID.
- project_
id str - If running Gemini on Vertex, specify the project ID.
- api
Endpoint String - If running Gemini on Vertex, specify the regional API endpoint (hostname only).
- location
Id String - If running Gemini on Vertex, specify the location ID.
- project
Id String - If running Gemini on Vertex, specify the project ID.
GatewayPartialEmbeddingsConfigModelOptionsHuggingface, GatewayPartialEmbeddingsConfigModelOptionsHuggingfaceArgs
- Use
Cache bool - Use the cache layer on the inference API
- Wait
For boolModel - Wait for the model if it is not ready
- Use
Cache bool - Use the cache layer on the inference API
- Wait
For boolModel - Wait for the model if it is not ready
- use
Cache Boolean - Use the cache layer on the inference API
- wait
For BooleanModel - Wait for the model if it is not ready
- use
Cache boolean - Use the cache layer on the inference API
- wait
For booleanModel - Wait for the model if it is not ready
- use_
cache bool - Use the cache layer on the inference API
- wait_
for_ boolmodel - Wait for the model if it is not ready
- use
Cache Boolean - Use the cache layer on the inference API
- wait
For BooleanModel - Wait for the model if it is not ready
GatewayPartialModel, GatewayPartialModelArgs
- Config
Gateway
Partial Model Config - Not Null
- Created
At double - Unix epoch when the resource was created.
- Id string
- A string representing a UUID (universally unique identifier).
- Name string
- A unique string representing a UTF-8 encoded name.
- List<string>
- A set of strings representing tags.
- Updated
At double - Unix epoch when the resource was last updated.
- Config
Gateway
Partial Model Config - Not Null
- Created
At float64 - Unix epoch when the resource was created.
- Id string
- A string representing a UUID (universally unique identifier).
- Name string
- A unique string representing a UTF-8 encoded name.
- []string
- A set of strings representing tags.
- Updated
At float64 - Unix epoch when the resource was last updated.
- config
Gateway
Partial Model Config - Not Null
- created
At Double - Unix epoch when the resource was created.
- id String
- A string representing a UUID (universally unique identifier).
- name String
- A unique string representing a UTF-8 encoded name.
- List<String>
- A set of strings representing tags.
- updated
At Double - Unix epoch when the resource was last updated.
- config
Gateway
Partial Model Config - Not Null
- created
At number - Unix epoch when the resource was created.
- id string
- A string representing a UUID (universally unique identifier).
- name string
- A unique string representing a UTF-8 encoded name.
- string[]
- A set of strings representing tags.
- updated
At number - Unix epoch when the resource was last updated.
- config
Gateway
Partial Model Config - Not Null
- created_
at float - Unix epoch when the resource was created.
- id str
- A string representing a UUID (universally unique identifier).
- name str
- A unique string representing a UTF-8 encoded name.
- Sequence[str]
- A set of strings representing tags.
- updated_
at float - Unix epoch when the resource was last updated.
- config Property Map
- Not Null
- created
At Number - Unix epoch when the resource was created.
- id String
- A string representing a UUID (universally unique identifier).
- name String
- A unique string representing a UTF-8 encoded name.
- List<String>
- A set of strings representing tags.
- updated
At Number - Unix epoch when the resource was last updated.
GatewayPartialModelConfig, GatewayPartialModelConfigArgs
- Auth
Gateway
Partial Model Config Auth - Description string
- The semantic description of the target, required if using semantic load balancing. Specially, setting this to 'CATCHALL' will indicate such target to be used when no other targets match the semantic threshold. Only used by ai-proxy-advanced.
- Logging
Gateway
Partial Model Config Logging - Metadata string
- For internal use only. Parsed as JSON.
- Model
Gateway
Partial Model Config Model - Not Null
- Route
Type string - The model's operation implementation, for this provider. possible known values include one of ["audio/v1/audio/speech", "audio/v1/audio/transcriptions", "audio/v1/audio/translations", "image/v1/images/edits", "image/v1/images/generations", "llm/v1/assistants", "llm/v1/batches", "llm/v1/chat", "llm/v1/completions", "llm/v1/embeddings", "llm/v1/files", "llm/v1/responses", "preserve", "realtime/v1/realtime", "video/v1/videos/generations"]; Not Null
- Weight double
- The weight this target gets within the upstream loadbalancer (1-65535). Only used by ai-proxy-advanced. Default: 100
- Auth
Gateway
Partial Model Config Auth - Description string
- The semantic description of the target, required if using semantic load balancing. Specially, setting this to 'CATCHALL' will indicate such target to be used when no other targets match the semantic threshold. Only used by ai-proxy-advanced.
- Logging
Gateway
Partial Model Config Logging - Metadata string
- For internal use only. Parsed as JSON.
- Model
Gateway
Partial Model Config Model - Not Null
- Route
Type string - The model's operation implementation, for this provider. possible known values include one of ["audio/v1/audio/speech", "audio/v1/audio/transcriptions", "audio/v1/audio/translations", "image/v1/images/edits", "image/v1/images/generations", "llm/v1/assistants", "llm/v1/batches", "llm/v1/chat", "llm/v1/completions", "llm/v1/embeddings", "llm/v1/files", "llm/v1/responses", "preserve", "realtime/v1/realtime", "video/v1/videos/generations"]; Not Null
- Weight float64
- The weight this target gets within the upstream loadbalancer (1-65535). Only used by ai-proxy-advanced. Default: 100
- auth
Gateway
Partial Model Config Auth - description String
- The semantic description of the target, required if using semantic load balancing. Specially, setting this to 'CATCHALL' will indicate such target to be used when no other targets match the semantic threshold. Only used by ai-proxy-advanced.
- logging
Gateway
Partial Model Config Logging - metadata String
- For internal use only. Parsed as JSON.
- model
Gateway
Partial Model Config Model - Not Null
- route
Type String - The model's operation implementation, for this provider. possible known values include one of ["audio/v1/audio/speech", "audio/v1/audio/transcriptions", "audio/v1/audio/translations", "image/v1/images/edits", "image/v1/images/generations", "llm/v1/assistants", "llm/v1/batches", "llm/v1/chat", "llm/v1/completions", "llm/v1/embeddings", "llm/v1/files", "llm/v1/responses", "preserve", "realtime/v1/realtime", "video/v1/videos/generations"]; Not Null
- weight Double
- The weight this target gets within the upstream loadbalancer (1-65535). Only used by ai-proxy-advanced. Default: 100
- auth
Gateway
Partial Model Config Auth - description string
- The semantic description of the target, required if using semantic load balancing. Specially, setting this to 'CATCHALL' will indicate such target to be used when no other targets match the semantic threshold. Only used by ai-proxy-advanced.
- logging
Gateway
Partial Model Config Logging - metadata string
- For internal use only. Parsed as JSON.
- model
Gateway
Partial Model Config Model - Not Null
- route
Type string - The model's operation implementation, for this provider. possible known values include one of ["audio/v1/audio/speech", "audio/v1/audio/transcriptions", "audio/v1/audio/translations", "image/v1/images/edits", "image/v1/images/generations", "llm/v1/assistants", "llm/v1/batches", "llm/v1/chat", "llm/v1/completions", "llm/v1/embeddings", "llm/v1/files", "llm/v1/responses", "preserve", "realtime/v1/realtime", "video/v1/videos/generations"]; Not Null
- weight number
- The weight this target gets within the upstream loadbalancer (1-65535). Only used by ai-proxy-advanced. Default: 100
- auth
Gateway
Partial Model Config Auth - description str
- The semantic description of the target, required if using semantic load balancing. Specially, setting this to 'CATCHALL' will indicate such target to be used when no other targets match the semantic threshold. Only used by ai-proxy-advanced.
- logging
Gateway
Partial Model Config Logging - metadata str
- For internal use only. Parsed as JSON.
- model
Gateway
Partial Model Config Model - Not Null
- route_
type str - The model's operation implementation, for this provider. possible known values include one of ["audio/v1/audio/speech", "audio/v1/audio/transcriptions", "audio/v1/audio/translations", "image/v1/images/edits", "image/v1/images/generations", "llm/v1/assistants", "llm/v1/batches", "llm/v1/chat", "llm/v1/completions", "llm/v1/embeddings", "llm/v1/files", "llm/v1/responses", "preserve", "realtime/v1/realtime", "video/v1/videos/generations"]; Not Null
- weight float
- The weight this target gets within the upstream loadbalancer (1-65535). Only used by ai-proxy-advanced. Default: 100
- auth Property Map
- description String
- The semantic description of the target, required if using semantic load balancing. Specially, setting this to 'CATCHALL' will indicate such target to be used when no other targets match the semantic threshold. Only used by ai-proxy-advanced.
- logging Property Map
- metadata String
- For internal use only. Parsed as JSON.
- model Property Map
- Not Null
- route
Type String - The model's operation implementation, for this provider. possible known values include one of ["audio/v1/audio/speech", "audio/v1/audio/transcriptions", "audio/v1/audio/translations", "image/v1/images/edits", "image/v1/images/generations", "llm/v1/assistants", "llm/v1/batches", "llm/v1/chat", "llm/v1/completions", "llm/v1/embeddings", "llm/v1/files", "llm/v1/responses", "preserve", "realtime/v1/realtime", "video/v1/videos/generations"]; Not Null
- weight Number
- The weight this target gets within the upstream loadbalancer (1-65535). Only used by ai-proxy-advanced. Default: 100
GatewayPartialModelConfigAuth, GatewayPartialModelConfigAuthArgs
- Allow
Override bool - If enabled, the authorization header or parameter can be overridden in the request by the value configured in the plugin. Default: false
- Aws
Access stringKey Id - Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWSACCESSKEY_ID environment variable for this plugin instance.
- Aws
Secret stringAccess Key - Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWSSECRETACCESS_KEY environment variable for this plugin instance.
- Azure
Client stringId - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client ID.
- Azure
Client stringSecret - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client secret.
- Azure
Tenant stringId - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the tenant ID.
- Azure
Use boolManaged Identity - Set true to use the Azure Cloud Managed Identity (or user-assigned identity) to authenticate with Azure-provider models. Default: false
- Gcp
Metadata stringUrl - Custom metadata URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google metadata endpoint.
- Gcp
Oauth stringToken Url - Custom OAuth token URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google OAuth token endpoint.
- Gcp
Service stringAccount Json - Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcpuseservice_account is true), Kong will attempt to read from environment variable
GCP_SERVICE_ACCOUNT. - Gcp
Use boolService Account - Use service account auth for GCP-based providers and models. Default: false
- Header
Name string - If AI model requires authentication via Authorization or API key header, specify its name here.
- Header
Value string - Specify the full auth header value for 'header_name', for example 'Bearer key' or just 'key'.
- Param
Location string - Specify whether the 'paramname' and 'paramvalue' options go in a query string, or the POST form/JSON body. possible known values include one of ["body", "query"]
- Param
Name string - If AI model requires authentication via query parameter, specify its name here.
- Param
Value string - Specify the full parameter value for 'param_name'.
- Allow
Override bool - If enabled, the authorization header or parameter can be overridden in the request by the value configured in the plugin. Default: false
- Aws
Access stringKey Id - Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWSACCESSKEY_ID environment variable for this plugin instance.
- Aws
Secret stringAccess Key - Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWSSECRETACCESS_KEY environment variable for this plugin instance.
- Azure
Client stringId - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client ID.
- Azure
Client stringSecret - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client secret.
- Azure
Tenant stringId - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the tenant ID.
- Azure
Use boolManaged Identity - Set true to use the Azure Cloud Managed Identity (or user-assigned identity) to authenticate with Azure-provider models. Default: false
- Gcp
Metadata stringUrl - Custom metadata URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google metadata endpoint.
- Gcp
Oauth stringToken Url - Custom OAuth token URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google OAuth token endpoint.
- Gcp
Service stringAccount Json - Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcpuseservice_account is true), Kong will attempt to read from environment variable
GCP_SERVICE_ACCOUNT. - Gcp
Use boolService Account - Use service account auth for GCP-based providers and models. Default: false
- Header
Name string - If AI model requires authentication via Authorization or API key header, specify its name here.
- Header
Value string - Specify the full auth header value for 'header_name', for example 'Bearer key' or just 'key'.
- Param
Location string - Specify whether the 'paramname' and 'paramvalue' options go in a query string, or the POST form/JSON body. possible known values include one of ["body", "query"]
- Param
Name string - If AI model requires authentication via query parameter, specify its name here.
- Param
Value string - Specify the full parameter value for 'param_name'.
- allow
Override Boolean - If enabled, the authorization header or parameter can be overridden in the request by the value configured in the plugin. Default: false
- aws
Access StringKey Id - Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWSACCESSKEY_ID environment variable for this plugin instance.
- aws
Secret StringAccess Key - Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWSSECRETACCESS_KEY environment variable for this plugin instance.
- azure
Client StringId - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client ID.
- azure
Client StringSecret - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client secret.
- azure
Tenant StringId - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the tenant ID.
- azure
Use BooleanManaged Identity - Set true to use the Azure Cloud Managed Identity (or user-assigned identity) to authenticate with Azure-provider models. Default: false
- gcp
Metadata StringUrl - Custom metadata URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google metadata endpoint.
- gcp
Oauth StringToken Url - Custom OAuth token URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google OAuth token endpoint.
- gcp
Service StringAccount Json - Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcpuseservice_account is true), Kong will attempt to read from environment variable
GCP_SERVICE_ACCOUNT. - gcp
Use BooleanService Account - Use service account auth for GCP-based providers and models. Default: false
- header
Name String - If AI model requires authentication via Authorization or API key header, specify its name here.
- header
Value String - Specify the full auth header value for 'header_name', for example 'Bearer key' or just 'key'.
- param
Location String - Specify whether the 'paramname' and 'paramvalue' options go in a query string, or the POST form/JSON body. possible known values include one of ["body", "query"]
- param
Name String - If AI model requires authentication via query parameter, specify its name here.
- param
Value String - Specify the full parameter value for 'param_name'.
- allow
Override boolean - If enabled, the authorization header or parameter can be overridden in the request by the value configured in the plugin. Default: false
- aws
Access stringKey Id - Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWSACCESSKEY_ID environment variable for this plugin instance.
- aws
Secret stringAccess Key - Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWSSECRETACCESS_KEY environment variable for this plugin instance.
- azure
Client stringId - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client ID.
- azure
Client stringSecret - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client secret.
- azure
Tenant stringId - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the tenant ID.
- azure
Use booleanManaged Identity - Set true to use the Azure Cloud Managed Identity (or user-assigned identity) to authenticate with Azure-provider models. Default: false
- gcp
Metadata stringUrl - Custom metadata URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google metadata endpoint.
- gcp
Oauth stringToken Url - Custom OAuth token URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google OAuth token endpoint.
- gcp
Service stringAccount Json - Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcpuseservice_account is true), Kong will attempt to read from environment variable
GCP_SERVICE_ACCOUNT. - gcp
Use booleanService Account - Use service account auth for GCP-based providers and models. Default: false
- header
Name string - If AI model requires authentication via Authorization or API key header, specify its name here.
- header
Value string - Specify the full auth header value for 'header_name', for example 'Bearer key' or just 'key'.
- param
Location string - Specify whether the 'paramname' and 'paramvalue' options go in a query string, or the POST form/JSON body. possible known values include one of ["body", "query"]
- param
Name string - If AI model requires authentication via query parameter, specify its name here.
- param
Value string - Specify the full parameter value for 'param_name'.
- allow_
override bool - If enabled, the authorization header or parameter can be overridden in the request by the value configured in the plugin. Default: false
- aws_
access_ strkey_ id - Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWSACCESSKEY_ID environment variable for this plugin instance.
- aws_
secret_ straccess_ key - Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWSSECRETACCESS_KEY environment variable for this plugin instance.
- azure_
client_ strid - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client ID.
- azure_
client_ strsecret - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client secret.
- azure_
tenant_ strid - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the tenant ID.
- azure_
use_ boolmanaged_ identity - Set true to use the Azure Cloud Managed Identity (or user-assigned identity) to authenticate with Azure-provider models. Default: false
- gcp_
metadata_ strurl - Custom metadata URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google metadata endpoint.
- gcp_
oauth_ strtoken_ url - Custom OAuth token URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google OAuth token endpoint.
- gcp_
service_ straccount_ json - Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcpuseservice_account is true), Kong will attempt to read from environment variable
GCP_SERVICE_ACCOUNT. - gcp_
use_ boolservice_ account - Use service account auth for GCP-based providers and models. Default: false
- header_
name str - If AI model requires authentication via Authorization or API key header, specify its name here.
- header_
value str - Specify the full auth header value for 'header_name', for example 'Bearer key' or just 'key'.
- param_
location str - Specify whether the 'paramname' and 'paramvalue' options go in a query string, or the POST form/JSON body. possible known values include one of ["body", "query"]
- param_
name str - If AI model requires authentication via query parameter, specify its name here.
- param_
value str - Specify the full parameter value for 'param_name'.
- allow
Override Boolean - If enabled, the authorization header or parameter can be overridden in the request by the value configured in the plugin. Default: false
- aws
Access StringKey Id - Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWSACCESSKEY_ID environment variable for this plugin instance.
- aws
Secret StringAccess Key - Set this if you are using an AWS provider (Bedrock) and you are authenticating using static IAM User credentials. Setting this will override the AWSSECRETACCESS_KEY environment variable for this plugin instance.
- azure
Client StringId - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client ID.
- azure
Client StringSecret - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the client secret.
- azure
Tenant StringId - If azureusemanaged_identity is set to true, and you need to use a different user-assigned identity for this LLM instance, set the tenant ID.
- azure
Use BooleanManaged Identity - Set true to use the Azure Cloud Managed Identity (or user-assigned identity) to authenticate with Azure-provider models. Default: false
- gcp
Metadata StringUrl - Custom metadata URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google metadata endpoint.
- gcp
Oauth StringToken Url - Custom OAuth token URL for GCP authentication. Useful for restricted network environments or custom GCP endpoints. If null, Kong will use the default Google OAuth token endpoint.
- gcp
Service StringAccount Json - Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcpuseservice_account is true), Kong will attempt to read from environment variable
GCP_SERVICE_ACCOUNT. - gcp
Use BooleanService Account - Use service account auth for GCP-based providers and models. Default: false
- header
Name String - If AI model requires authentication via Authorization or API key header, specify its name here.
- header
Value String - Specify the full auth header value for 'header_name', for example 'Bearer key' or just 'key'.
- param
Location String - Specify whether the 'paramname' and 'paramvalue' options go in a query string, or the POST form/JSON body. possible known values include one of ["body", "query"]
- param
Name String - If AI model requires authentication via query parameter, specify its name here.
- param
Value String - Specify the full parameter value for 'param_name'.
GatewayPartialModelConfigLogging, GatewayPartialModelConfigLoggingArgs
- Log
Payloads bool - If enabled, will log the request and response body into the Kong log plugin(s) output.Furthermore if Opentelemetry instrumentation is enabled the traces will contain this data as well. Default: false
- Log
Statistics bool - If enabled and supported by the driver, will add model usage and token metrics into the Kong log plugin(s) output. Default: false
- Log
Payloads bool - If enabled, will log the request and response body into the Kong log plugin(s) output.Furthermore if Opentelemetry instrumentation is enabled the traces will contain this data as well. Default: false
- Log
Statistics bool - If enabled and supported by the driver, will add model usage and token metrics into the Kong log plugin(s) output. Default: false
- log
Payloads Boolean - If enabled, will log the request and response body into the Kong log plugin(s) output.Furthermore if Opentelemetry instrumentation is enabled the traces will contain this data as well. Default: false
- log
Statistics Boolean - If enabled and supported by the driver, will add model usage and token metrics into the Kong log plugin(s) output. Default: false
- log
Payloads boolean - If enabled, will log the request and response body into the Kong log plugin(s) output.Furthermore if Opentelemetry instrumentation is enabled the traces will contain this data as well. Default: false
- log
Statistics boolean - If enabled and supported by the driver, will add model usage and token metrics into the Kong log plugin(s) output. Default: false
- log_
payloads bool - If enabled, will log the request and response body into the Kong log plugin(s) output.Furthermore if Opentelemetry instrumentation is enabled the traces will contain this data as well. Default: false
- log_
statistics bool - If enabled and supported by the driver, will add model usage and token metrics into the Kong log plugin(s) output. Default: false
- log
Payloads Boolean - If enabled, will log the request and response body into the Kong log plugin(s) output.Furthermore if Opentelemetry instrumentation is enabled the traces will contain this data as well. Default: false
- log
Statistics Boolean - If enabled and supported by the driver, will add model usage and token metrics into the Kong log plugin(s) output. Default: false
GatewayPartialModelConfigModel, GatewayPartialModelConfigModelArgs
- Model
Alias string - The model name parameter from the request that this model should map to.
- Name string
- Model name to execute.
- Options
Gateway
Partial Model Config Model Options - Key/value settings for the model
- Provider string
- AI provider request format - Kong translates requests to and from the specified backend compatible formats. possible known values include one of ["anthropic", "azure", "bedrock", "cerebras", "cohere", "dashscope", "databricks", "deepseek", "gemini", "huggingface", "llama2", "mistral", "ollama", "openai", "vllm", "xai"]; Not Null
- Model
Alias string - The model name parameter from the request that this model should map to.
- Name string
- Model name to execute.
- Options
Gateway
Partial Model Config Model Options - Key/value settings for the model
- Provider string
- AI provider request format - Kong translates requests to and from the specified backend compatible formats. possible known values include one of ["anthropic", "azure", "bedrock", "cerebras", "cohere", "dashscope", "databricks", "deepseek", "gemini", "huggingface", "llama2", "mistral", "ollama", "openai", "vllm", "xai"]; Not Null
- model
Alias String - The model name parameter from the request that this model should map to.
- name String
- Model name to execute.
- options
Gateway
Partial Model Config Model Options - Key/value settings for the model
- provider String
- AI provider request format - Kong translates requests to and from the specified backend compatible formats. possible known values include one of ["anthropic", "azure", "bedrock", "cerebras", "cohere", "dashscope", "databricks", "deepseek", "gemini", "huggingface", "llama2", "mistral", "ollama", "openai", "vllm", "xai"]; Not Null
- model
Alias string - The model name parameter from the request that this model should map to.
- name string
- Model name to execute.
- options
Gateway
Partial Model Config Model Options - Key/value settings for the model
- provider string
- AI provider request format - Kong translates requests to and from the specified backend compatible formats. possible known values include one of ["anthropic", "azure", "bedrock", "cerebras", "cohere", "dashscope", "databricks", "deepseek", "gemini", "huggingface", "llama2", "mistral", "ollama", "openai", "vllm", "xai"]; Not Null
- model_
alias str - The model name parameter from the request that this model should map to.
- name str
- Model name to execute.
- options
Gateway
Partial Model Config Model Options - Key/value settings for the model
- provider str
- AI provider request format - Kong translates requests to and from the specified backend compatible formats. possible known values include one of ["anthropic", "azure", "bedrock", "cerebras", "cohere", "dashscope", "databricks", "deepseek", "gemini", "huggingface", "llama2", "mistral", "ollama", "openai", "vllm", "xai"]; Not Null
- model
Alias String - The model name parameter from the request that this model should map to.
- name String
- Model name to execute.
- options Property Map
- Key/value settings for the model
- provider String
- AI provider request format - Kong translates requests to and from the specified backend compatible formats. possible known values include one of ["anthropic", "azure", "bedrock", "cerebras", "cohere", "dashscope", "databricks", "deepseek", "gemini", "huggingface", "llama2", "mistral", "ollama", "openai", "vllm", "xai"]; Not Null
GatewayPartialModelConfigModelOptions, GatewayPartialModelConfigModelOptionsArgs
- Anthropic
Version string - Defines the schema/API version, if using Anthropic provider.
- Azure
Api stringVersion - 'api-version' for Azure OpenAI instances. Default: "2023-05-15"
- Azure
Deployment stringId - Deployment ID for Azure OpenAI instances.
- Azure
Instance string - Instance name for Azure OpenAI hosted models.
- Bedrock
Gateway
Partial Model Config Model Options Bedrock - Cohere
Gateway
Partial Model Config Model Options Cohere - Dashscope
Gateway
Partial Model Config Model Options Dashscope - Databricks
Gateway
Partial Model Config Model Options Databricks - Embeddings
Dimensions double - If using embeddings models, set the number of dimensions to generate.
- Gemini
Gateway
Partial Model Config Model Options Gemini - Huggingface
Gateway
Partial Model Config Model Options Huggingface - Input
Cost double - Defines the cost per 1M tokens in your prompt.
- Llama2Format string
- If using llama2 provider, select the upstream message format. possible known values include one of ["ollama", "openai", "raw"]
- Max
Tokens double - Defines the max_tokens, if using chat or completion models.
- Mistral
Format string - If using mistral provider, select the upstream message format. possible known values include one of ["ollama", "openai"]
- Output
Cost double - Defines the cost per 1M tokens in the output of the AI.
- Temperature double
- Defines the matching temperature, if using chat or completion models.
- Top
K double - Defines the top-k most likely tokens, if supported.
- Top
P double - Defines the top-p probability mass, if supported.
- Upstream
Path string - Manually specify or override the AI operation path, used when e.g. using the 'preserve' route_type.
- Upstream
Url string - Manually specify or override the full URL to the AI operation endpoints, when calling (self-)hosted models, or for running via a private endpoint.
- Anthropic
Version string - Defines the schema/API version, if using Anthropic provider.
- Azure
Api stringVersion - 'api-version' for Azure OpenAI instances. Default: "2023-05-15"
- Azure
Deployment stringId - Deployment ID for Azure OpenAI instances.
- Azure
Instance string - Instance name for Azure OpenAI hosted models.
- Bedrock
Gateway
Partial Model Config Model Options Bedrock - Cohere
Gateway
Partial Model Config Model Options Cohere - Dashscope
Gateway
Partial Model Config Model Options Dashscope - Databricks
Gateway
Partial Model Config Model Options Databricks - Embeddings
Dimensions float64 - If using embeddings models, set the number of dimensions to generate.
- Gemini
Gateway
Partial Model Config Model Options Gemini - Huggingface
Gateway
Partial Model Config Model Options Huggingface - Input
Cost float64 - Defines the cost per 1M tokens in your prompt.
- Llama2Format string
- If using llama2 provider, select the upstream message format. possible known values include one of ["ollama", "openai", "raw"]
- Max
Tokens float64 - Defines the max_tokens, if using chat or completion models.
- Mistral
Format string - If using mistral provider, select the upstream message format. possible known values include one of ["ollama", "openai"]
- Output
Cost float64 - Defines the cost per 1M tokens in the output of the AI.
- Temperature float64
- Defines the matching temperature, if using chat or completion models.
- Top
K float64 - Defines the top-k most likely tokens, if supported.
- Top
P float64 - Defines the top-p probability mass, if supported.
- Upstream
Path string - Manually specify or override the AI operation path, used when e.g. using the 'preserve' route_type.
- Upstream
Url string - Manually specify or override the full URL to the AI operation endpoints, when calling (self-)hosted models, or for running via a private endpoint.
- anthropic
Version String - Defines the schema/API version, if using Anthropic provider.
- azure
Api StringVersion - 'api-version' for Azure OpenAI instances. Default: "2023-05-15"
- azure
Deployment StringId - Deployment ID for Azure OpenAI instances.
- azure
Instance String - Instance name for Azure OpenAI hosted models.
- bedrock
Gateway
Partial Model Config Model Options Bedrock - cohere
Gateway
Partial Model Config Model Options Cohere - dashscope
Gateway
Partial Model Config Model Options Dashscope - databricks
Gateway
Partial Model Config Model Options Databricks - embeddings
Dimensions Double - If using embeddings models, set the number of dimensions to generate.
- gemini
Gateway
Partial Model Config Model Options Gemini - huggingface
Gateway
Partial Model Config Model Options Huggingface - input
Cost Double - Defines the cost per 1M tokens in your prompt.
- llama2Format String
- If using llama2 provider, select the upstream message format. possible known values include one of ["ollama", "openai", "raw"]
- max
Tokens Double - Defines the max_tokens, if using chat or completion models.
- mistral
Format String - If using mistral provider, select the upstream message format. possible known values include one of ["ollama", "openai"]
- output
Cost Double - Defines the cost per 1M tokens in the output of the AI.
- temperature Double
- Defines the matching temperature, if using chat or completion models.
- top
K Double - Defines the top-k most likely tokens, if supported.
- top
P Double - Defines the top-p probability mass, if supported.
- upstream
Path String - Manually specify or override the AI operation path, used when e.g. using the 'preserve' route_type.
- upstream
Url String - Manually specify or override the full URL to the AI operation endpoints, when calling (self-)hosted models, or for running via a private endpoint.
- anthropic
Version string - Defines the schema/API version, if using Anthropic provider.
- azure
Api stringVersion - 'api-version' for Azure OpenAI instances. Default: "2023-05-15"
- azure
Deployment stringId - Deployment ID for Azure OpenAI instances.
- azure
Instance string - Instance name for Azure OpenAI hosted models.
- bedrock
Gateway
Partial Model Config Model Options Bedrock - cohere
Gateway
Partial Model Config Model Options Cohere - dashscope
Gateway
Partial Model Config Model Options Dashscope - databricks
Gateway
Partial Model Config Model Options Databricks - embeddings
Dimensions number - If using embeddings models, set the number of dimensions to generate.
- gemini
Gateway
Partial Model Config Model Options Gemini - huggingface
Gateway
Partial Model Config Model Options Huggingface - input
Cost number - Defines the cost per 1M tokens in your prompt.
- llama2Format string
- If using llama2 provider, select the upstream message format. possible known values include one of ["ollama", "openai", "raw"]
- max
Tokens number - Defines the max_tokens, if using chat or completion models.
- mistral
Format string - If using mistral provider, select the upstream message format. possible known values include one of ["ollama", "openai"]
- output
Cost number - Defines the cost per 1M tokens in the output of the AI.
- temperature number
- Defines the matching temperature, if using chat or completion models.
- top
K number - Defines the top-k most likely tokens, if supported.
- top
P number - Defines the top-p probability mass, if supported.
- upstream
Path string - Manually specify or override the AI operation path, used when e.g. using the 'preserve' route_type.
- upstream
Url string - Manually specify or override the full URL to the AI operation endpoints, when calling (self-)hosted models, or for running via a private endpoint.
- anthropic_
version str - Defines the schema/API version, if using Anthropic provider.
- azure_
api_ strversion - 'api-version' for Azure OpenAI instances. Default: "2023-05-15"
- azure_
deployment_ strid - Deployment ID for Azure OpenAI instances.
- azure_
instance str - Instance name for Azure OpenAI hosted models.
- bedrock
Gateway
Partial Model Config Model Options Bedrock - cohere
Gateway
Partial Model Config Model Options Cohere - dashscope
Gateway
Partial Model Config Model Options Dashscope - databricks
Gateway
Partial Model Config Model Options Databricks - embeddings_
dimensions float - If using embeddings models, set the number of dimensions to generate.
- gemini
Gateway
Partial Model Config Model Options Gemini - huggingface
Gateway
Partial Model Config Model Options Huggingface - input_
cost float - Defines the cost per 1M tokens in your prompt.
- llama2_
format str - If using llama2 provider, select the upstream message format. possible known values include one of ["ollama", "openai", "raw"]
- max_
tokens float - Defines the max_tokens, if using chat or completion models.
- mistral_
format str - If using mistral provider, select the upstream message format. possible known values include one of ["ollama", "openai"]
- output_
cost float - Defines the cost per 1M tokens in the output of the AI.
- temperature float
- Defines the matching temperature, if using chat or completion models.
- top_
k float - Defines the top-k most likely tokens, if supported.
- top_
p float - Defines the top-p probability mass, if supported.
- upstream_
path str - Manually specify or override the AI operation path, used when e.g. using the 'preserve' route_type.
- upstream_
url str - Manually specify or override the full URL to the AI operation endpoints, when calling (self-)hosted models, or for running via a private endpoint.
- anthropic
Version String - Defines the schema/API version, if using Anthropic provider.
- azure
Api StringVersion - 'api-version' for Azure OpenAI instances. Default: "2023-05-15"
- azure
Deployment StringId - Deployment ID for Azure OpenAI instances.
- azure
Instance String - Instance name for Azure OpenAI hosted models.
- bedrock Property Map
- cohere Property Map
- dashscope Property Map
- databricks Property Map
- embeddings
Dimensions Number - If using embeddings models, set the number of dimensions to generate.
- gemini Property Map
- huggingface Property Map
- input
Cost Number - Defines the cost per 1M tokens in your prompt.
- llama2Format String
- If using llama2 provider, select the upstream message format. possible known values include one of ["ollama", "openai", "raw"]
- max
Tokens Number - Defines the max_tokens, if using chat or completion models.
- mistral
Format String - If using mistral provider, select the upstream message format. possible known values include one of ["ollama", "openai"]
- output
Cost Number - Defines the cost per 1M tokens in the output of the AI.
- temperature Number
- Defines the matching temperature, if using chat or completion models.
- top
K Number - Defines the top-k most likely tokens, if supported.
- top
P Number - Defines the top-p probability mass, if supported.
- upstream
Path String - Manually specify or override the AI operation path, used when e.g. using the 'preserve' route_type.
- upstream
Url String - Manually specify or override the full URL to the AI operation endpoints, when calling (self-)hosted models, or for running via a private endpoint.
GatewayPartialModelConfigModelOptionsBedrock, GatewayPartialModelConfigModelOptionsBedrockArgs
- Aws
Assume stringRole Arn - If using AWS providers (Bedrock) you can assume a different role after authentication with the current IAM context is successful.
- Aws
Region string - If using AWS providers (Bedrock) you can override the
AWS_REGIONenvironment variable by setting this option. - Aws
Role stringSession Name - If using AWS providers (Bedrock), set the identifier of the assumed role session.
- Aws
Sts stringEndpoint Url - If using AWS providers (Bedrock), override the STS endpoint URL when assuming a different role.
- Batch
Bucket stringPrefix - S3 URI prefix (s3://bucket/prefix/) where Bedrock will get input files from and store results to for native batch API.
- Batch
Role stringArn - AWS role arn used for calling batch API. Try to get the value from request if ommited.
- Embeddings
Normalize bool - If using AWS providers (Bedrock), set to true to normalize the embeddings. Default: false
- Performance
Config stringLatency - Force the client's performance configuration 'latency' for all requests. Leave empty to let the consumer select the performance configuration.
- Video
Output stringS3Uri - S3 URI (s3://bucket/prefix) where Bedrock will store generated video files. Required for video generation.
- Aws
Assume stringRole Arn - If using AWS providers (Bedrock) you can assume a different role after authentication with the current IAM context is successful.
- Aws
Region string - If using AWS providers (Bedrock) you can override the
AWS_REGIONenvironment variable by setting this option. - Aws
Role stringSession Name - If using AWS providers (Bedrock), set the identifier of the assumed role session.
- Aws
Sts stringEndpoint Url - If using AWS providers (Bedrock), override the STS endpoint URL when assuming a different role.
- Batch
Bucket stringPrefix - S3 URI prefix (s3://bucket/prefix/) where Bedrock will get input files from and store results to for native batch API.
- Batch
Role stringArn - AWS role arn used for calling batch API. Try to get the value from request if ommited.
- Embeddings
Normalize bool - If using AWS providers (Bedrock), set to true to normalize the embeddings. Default: false
- Performance
Config stringLatency - Force the client's performance configuration 'latency' for all requests. Leave empty to let the consumer select the performance configuration.
- Video
Output stringS3Uri - S3 URI (s3://bucket/prefix) where Bedrock will store generated video files. Required for video generation.
- aws
Assume StringRole Arn - If using AWS providers (Bedrock) you can assume a different role after authentication with the current IAM context is successful.
- aws
Region String - If using AWS providers (Bedrock) you can override the
AWS_REGIONenvironment variable by setting this option. - aws
Role StringSession Name - If using AWS providers (Bedrock), set the identifier of the assumed role session.
- aws
Sts StringEndpoint Url - If using AWS providers (Bedrock), override the STS endpoint URL when assuming a different role.
- batch
Bucket StringPrefix - S3 URI prefix (s3://bucket/prefix/) where Bedrock will get input files from and store results to for native batch API.
- batch
Role StringArn - AWS role arn used for calling batch API. Try to get the value from request if ommited.
- embeddings
Normalize Boolean - If using AWS providers (Bedrock), set to true to normalize the embeddings. Default: false
- performance
Config StringLatency - Force the client's performance configuration 'latency' for all requests. Leave empty to let the consumer select the performance configuration.
- video
Output StringS3Uri - S3 URI (s3://bucket/prefix) where Bedrock will store generated video files. Required for video generation.
- aws
Assume stringRole Arn - If using AWS providers (Bedrock) you can assume a different role after authentication with the current IAM context is successful.
- aws
Region string - If using AWS providers (Bedrock) you can override the
AWS_REGIONenvironment variable by setting this option. - aws
Role stringSession Name - If using AWS providers (Bedrock), set the identifier of the assumed role session.
- aws
Sts stringEndpoint Url - If using AWS providers (Bedrock), override the STS endpoint URL when assuming a different role.
- batch
Bucket stringPrefix - S3 URI prefix (s3://bucket/prefix/) where Bedrock will get input files from and store results to for native batch API.
- batch
Role stringArn - AWS role arn used for calling batch API. Try to get the value from request if ommited.
- embeddings
Normalize boolean - If using AWS providers (Bedrock), set to true to normalize the embeddings. Default: false
- performance
Config stringLatency - Force the client's performance configuration 'latency' for all requests. Leave empty to let the consumer select the performance configuration.
- video
Output stringS3Uri - S3 URI (s3://bucket/prefix) where Bedrock will store generated video files. Required for video generation.
- aws_
assume_ strrole_ arn - If using AWS providers (Bedrock) you can assume a different role after authentication with the current IAM context is successful.
- aws_
region str - If using AWS providers (Bedrock) you can override the
AWS_REGIONenvironment variable by setting this option. - aws_
role_ strsession_ name - If using AWS providers (Bedrock), set the identifier of the assumed role session.
- aws_
sts_ strendpoint_ url - If using AWS providers (Bedrock), override the STS endpoint URL when assuming a different role.
- batch_
bucket_ strprefix - S3 URI prefix (s3://bucket/prefix/) where Bedrock will get input files from and store results to for native batch API.
- batch_
role_ strarn - AWS role arn used for calling batch API. Try to get the value from request if ommited.
- embeddings_
normalize bool - If using AWS providers (Bedrock), set to true to normalize the embeddings. Default: false
- performance_
config_ strlatency - Force the client's performance configuration 'latency' for all requests. Leave empty to let the consumer select the performance configuration.
- video_
output_ strs3_ uri - S3 URI (s3://bucket/prefix) where Bedrock will store generated video files. Required for video generation.
- aws
Assume StringRole Arn - If using AWS providers (Bedrock) you can assume a different role after authentication with the current IAM context is successful.
- aws
Region String - If using AWS providers (Bedrock) you can override the
AWS_REGIONenvironment variable by setting this option. - aws
Role StringSession Name - If using AWS providers (Bedrock), set the identifier of the assumed role session.
- aws
Sts StringEndpoint Url - If using AWS providers (Bedrock), override the STS endpoint URL when assuming a different role.
- batch
Bucket StringPrefix - S3 URI prefix (s3://bucket/prefix/) where Bedrock will get input files from and store results to for native batch API.
- batch
Role StringArn - AWS role arn used for calling batch API. Try to get the value from request if ommited.
- embeddings
Normalize Boolean - If using AWS providers (Bedrock), set to true to normalize the embeddings. Default: false
- performance
Config StringLatency - Force the client's performance configuration 'latency' for all requests. Leave empty to let the consumer select the performance configuration.
- video
Output StringS3Uri - S3 URI (s3://bucket/prefix) where Bedrock will store generated video files. Required for video generation.
GatewayPartialModelConfigModelOptionsCohere, GatewayPartialModelConfigModelOptionsCohereArgs
- Embedding
Input stringType - The purpose of the input text to calculate embedding vectors. possible known values include one of ["classification", "clustering", "image", "searchdocument", "searchquery"]; Default: "classification"
- Wait
For boolModel - Wait for the model if it is not ready
- Embedding
Input stringType - The purpose of the input text to calculate embedding vectors. possible known values include one of ["classification", "clustering", "image", "searchdocument", "searchquery"]; Default: "classification"
- Wait
For boolModel - Wait for the model if it is not ready
- embedding
Input StringType - The purpose of the input text to calculate embedding vectors. possible known values include one of ["classification", "clustering", "image", "searchdocument", "searchquery"]; Default: "classification"
- wait
For BooleanModel - Wait for the model if it is not ready
- embedding
Input stringType - The purpose of the input text to calculate embedding vectors. possible known values include one of ["classification", "clustering", "image", "searchdocument", "searchquery"]; Default: "classification"
- wait
For booleanModel - Wait for the model if it is not ready
- embedding_
input_ strtype - The purpose of the input text to calculate embedding vectors. possible known values include one of ["classification", "clustering", "image", "searchdocument", "searchquery"]; Default: "classification"
- wait_
for_ boolmodel - Wait for the model if it is not ready
- embedding
Input StringType - The purpose of the input text to calculate embedding vectors. possible known values include one of ["classification", "clustering", "image", "searchdocument", "searchquery"]; Default: "classification"
- wait
For BooleanModel - Wait for the model if it is not ready
GatewayPartialModelConfigModelOptionsDashscope, GatewayPartialModelConfigModelOptionsDashscopeArgs
- International bool
- Two Dashscope endpoints are available, and the international endpoint will be used when this is set to
true. It is recommended to set this totruewhen using international version of dashscope. Default: true
- International bool
- Two Dashscope endpoints are available, and the international endpoint will be used when this is set to
true. It is recommended to set this totruewhen using international version of dashscope. Default: true
- international Boolean
- Two Dashscope endpoints are available, and the international endpoint will be used when this is set to
true. It is recommended to set this totruewhen using international version of dashscope. Default: true
- international boolean
- Two Dashscope endpoints are available, and the international endpoint will be used when this is set to
true. It is recommended to set this totruewhen using international version of dashscope. Default: true
- international bool
- Two Dashscope endpoints are available, and the international endpoint will be used when this is set to
true. It is recommended to set this totruewhen using international version of dashscope. Default: true
- international Boolean
- Two Dashscope endpoints are available, and the international endpoint will be used when this is set to
true. It is recommended to set this totruewhen using international version of dashscope. Default: true
GatewayPartialModelConfigModelOptionsDatabricks, GatewayPartialModelConfigModelOptionsDatabricksArgs
- Workspace
Instance stringId - Workspace Instance ID ('dbc-xxx-yyy') for Databricks model serving.
- Workspace
Instance stringId - Workspace Instance ID ('dbc-xxx-yyy') for Databricks model serving.
- workspace
Instance StringId - Workspace Instance ID ('dbc-xxx-yyy') for Databricks model serving.
- workspace
Instance stringId - Workspace Instance ID ('dbc-xxx-yyy') for Databricks model serving.
- workspace_
instance_ strid - Workspace Instance ID ('dbc-xxx-yyy') for Databricks model serving.
- workspace
Instance StringId - Workspace Instance ID ('dbc-xxx-yyy') for Databricks model serving.
GatewayPartialModelConfigModelOptionsGemini, GatewayPartialModelConfigModelOptionsGeminiArgs
- Api
Endpoint string - If running Gemini on Vertex, specify the regional API endpoint (hostname only).
- Endpoint
Id string - If running Gemini on Vertex Model Garden, specify the endpoint ID.
- Location
Id string - If running Gemini on Vertex, specify the location ID.
- Project
Id string - If running Gemini on Vertex, specify the project ID.
- Api
Endpoint string - If running Gemini on Vertex, specify the regional API endpoint (hostname only).
- Endpoint
Id string - If running Gemini on Vertex Model Garden, specify the endpoint ID.
- Location
Id string - If running Gemini on Vertex, specify the location ID.
- Project
Id string - If running Gemini on Vertex, specify the project ID.
- api
Endpoint String - If running Gemini on Vertex, specify the regional API endpoint (hostname only).
- endpoint
Id String - If running Gemini on Vertex Model Garden, specify the endpoint ID.
- location
Id String - If running Gemini on Vertex, specify the location ID.
- project
Id String - If running Gemini on Vertex, specify the project ID.
- api
Endpoint string - If running Gemini on Vertex, specify the regional API endpoint (hostname only).
- endpoint
Id string - If running Gemini on Vertex Model Garden, specify the endpoint ID.
- location
Id string - If running Gemini on Vertex, specify the location ID.
- project
Id string - If running Gemini on Vertex, specify the project ID.
- api_
endpoint str - If running Gemini on Vertex, specify the regional API endpoint (hostname only).
- endpoint_
id str - If running Gemini on Vertex Model Garden, specify the endpoint ID.
- location_
id str - If running Gemini on Vertex, specify the location ID.
- project_
id str - If running Gemini on Vertex, specify the project ID.
- api
Endpoint String - If running Gemini on Vertex, specify the regional API endpoint (hostname only).
- endpoint
Id String - If running Gemini on Vertex Model Garden, specify the endpoint ID.
- location
Id String - If running Gemini on Vertex, specify the location ID.
- project
Id String - If running Gemini on Vertex, specify the project ID.
GatewayPartialModelConfigModelOptionsHuggingface, GatewayPartialModelConfigModelOptionsHuggingfaceArgs
- Use
Cache bool - Use the cache layer on the inference API
- Wait
For boolModel - Wait for the model if it is not ready
- Use
Cache bool - Use the cache layer on the inference API
- Wait
For boolModel - Wait for the model if it is not ready
- use
Cache Boolean - Use the cache layer on the inference API
- wait
For BooleanModel - Wait for the model if it is not ready
- use
Cache boolean - Use the cache layer on the inference API
- wait
For booleanModel - Wait for the model if it is not ready
- use_
cache bool - Use the cache layer on the inference API
- wait_
for_ boolmodel - Wait for the model if it is not ready
- use
Cache Boolean - Use the cache layer on the inference API
- wait
For BooleanModel - Wait for the model if it is not ready
GatewayPartialRedisCe, GatewayPartialRedisCeArgs
- Config
Gateway
Partial Redis Ce Config - Not Null
- Created
At double - Unix epoch when the resource was created.
- Id string
- A string representing a UUID (universally unique identifier).
- Name string
- A unique string representing a UTF-8 encoded name.
- List<string>
- A set of strings representing tags.
- Updated
At double - Unix epoch when the resource was last updated.
- Config
Gateway
Partial Redis Ce Config - Not Null
- Created
At float64 - Unix epoch when the resource was created.
- Id string
- A string representing a UUID (universally unique identifier).
- Name string
- A unique string representing a UTF-8 encoded name.
- []string
- A set of strings representing tags.
- Updated
At float64 - Unix epoch when the resource was last updated.
- config
Gateway
Partial Redis Ce Config - Not Null
- created
At Double - Unix epoch when the resource was created.
- id String
- A string representing a UUID (universally unique identifier).
- name String
- A unique string representing a UTF-8 encoded name.
- List<String>
- A set of strings representing tags.
- updated
At Double - Unix epoch when the resource was last updated.
- config
Gateway
Partial Redis Ce Config - Not Null
- created
At number - Unix epoch when the resource was created.
- id string
- A string representing a UUID (universally unique identifier).
- name string
- A unique string representing a UTF-8 encoded name.
- string[]
- A set of strings representing tags.
- updated
At number - Unix epoch when the resource was last updated.
- config
Gateway
Partial Redis Ce Config - Not Null
- created_
at float - Unix epoch when the resource was created.
- id str
- A string representing a UUID (universally unique identifier).
- name str
- A unique string representing a UTF-8 encoded name.
- Sequence[str]
- A set of strings representing tags.
- updated_
at float - Unix epoch when the resource was last updated.
- config Property Map
- Not Null
- created
At Number - Unix epoch when the resource was created.
- id String
- A string representing a UUID (universally unique identifier).
- name String
- A unique string representing a UTF-8 encoded name.
- List<String>
- A set of strings representing tags.
- updated
At Number - Unix epoch when the resource was last updated.
GatewayPartialRedisCeConfig, GatewayPartialRedisCeConfigArgs
- Cloud
Authentication GatewayPartial Redis Ce Config Cloud Authentication - Cloud auth related configs for connecting to a Cloud Provider's Redis instance.
- Database double
- Database to use for the Redis connection when using the
redisstrategy. Default: 0 - Host string
- A string representing a host name, such as example.com.
- Password string
- Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.
- Port double
- An integer representing a port number between 0 and 65535, inclusive. Default: 6379
- Server
Name string - A string representing an SNI (server name indication) value for TLS.
- Ssl bool
- If set to true, uses SSL to connect to Redis. Default: false
- Ssl
Verify bool - If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure
lua_ssl_trusted_certificateinkong.confto specify the CA (or server) certificate used by your Redis server. You may also need to configurelua_ssl_verify_depthaccordingly. Default: false - Timeout double
- An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- Username string
- Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to
default.
- Cloud
Authentication GatewayPartial Redis Ce Config Cloud Authentication - Cloud auth related configs for connecting to a Cloud Provider's Redis instance.
- Database float64
- Database to use for the Redis connection when using the
redisstrategy. Default: 0 - Host string
- A string representing a host name, such as example.com.
- Password string
- Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.
- Port float64
- An integer representing a port number between 0 and 65535, inclusive. Default: 6379
- Server
Name string - A string representing an SNI (server name indication) value for TLS.
- Ssl bool
- If set to true, uses SSL to connect to Redis. Default: false
- Ssl
Verify bool - If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure
lua_ssl_trusted_certificateinkong.confto specify the CA (or server) certificate used by your Redis server. You may also need to configurelua_ssl_verify_depthaccordingly. Default: false - Timeout float64
- An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- Username string
- Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to
default.
- cloud
Authentication GatewayPartial Redis Ce Config Cloud Authentication - Cloud auth related configs for connecting to a Cloud Provider's Redis instance.
- database Double
- Database to use for the Redis connection when using the
redisstrategy. Default: 0 - host String
- A string representing a host name, such as example.com.
- password String
- Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.
- port Double
- An integer representing a port number between 0 and 65535, inclusive. Default: 6379
- server
Name String - A string representing an SNI (server name indication) value for TLS.
- ssl Boolean
- If set to true, uses SSL to connect to Redis. Default: false
- ssl
Verify Boolean - If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure
lua_ssl_trusted_certificateinkong.confto specify the CA (or server) certificate used by your Redis server. You may also need to configurelua_ssl_verify_depthaccordingly. Default: false - timeout Double
- An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- username String
- Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to
default.
- cloud
Authentication GatewayPartial Redis Ce Config Cloud Authentication - Cloud auth related configs for connecting to a Cloud Provider's Redis instance.
- database number
- Database to use for the Redis connection when using the
redisstrategy. Default: 0 - host string
- A string representing a host name, such as example.com.
- password string
- Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.
- port number
- An integer representing a port number between 0 and 65535, inclusive. Default: 6379
- server
Name string - A string representing an SNI (server name indication) value for TLS.
- ssl boolean
- If set to true, uses SSL to connect to Redis. Default: false
- ssl
Verify boolean - If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure
lua_ssl_trusted_certificateinkong.confto specify the CA (or server) certificate used by your Redis server. You may also need to configurelua_ssl_verify_depthaccordingly. Default: false - timeout number
- An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- username string
- Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to
default.
- cloud_
authentication GatewayPartial Redis Ce Config Cloud Authentication - Cloud auth related configs for connecting to a Cloud Provider's Redis instance.
- database float
- Database to use for the Redis connection when using the
redisstrategy. Default: 0 - host str
- A string representing a host name, such as example.com.
- password str
- Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.
- port float
- An integer representing a port number between 0 and 65535, inclusive. Default: 6379
- server_
name str - A string representing an SNI (server name indication) value for TLS.
- ssl bool
- If set to true, uses SSL to connect to Redis. Default: false
- ssl_
verify bool - If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure
lua_ssl_trusted_certificateinkong.confto specify the CA (or server) certificate used by your Redis server. You may also need to configurelua_ssl_verify_depthaccordingly. Default: false - timeout float
- An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- username str
- Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to
default.
- cloud
Authentication Property Map - Cloud auth related configs for connecting to a Cloud Provider's Redis instance.
- database Number
- Database to use for the Redis connection when using the
redisstrategy. Default: 0 - host String
- A string representing a host name, such as example.com.
- password String
- Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.
- port Number
- An integer representing a port number between 0 and 65535, inclusive. Default: 6379
- server
Name String - A string representing an SNI (server name indication) value for TLS.
- ssl Boolean
- If set to true, uses SSL to connect to Redis. Default: false
- ssl
Verify Boolean - If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure
lua_ssl_trusted_certificateinkong.confto specify the CA (or server) certificate used by your Redis server. You may also need to configurelua_ssl_verify_depthaccordingly. Default: false - timeout Number
- An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- username String
- Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to
default.
GatewayPartialRedisCeConfigCloudAuthentication, GatewayPartialRedisCeConfigCloudAuthenticationArgs
- Auth
Provider string - Auth providers to be used to authenticate to a Cloud Provider's Redis instance. possible known values include one of ["aws", "azure", "gcp"]
- Aws
Access stringKey Id - AWS Access Key ID to be used for authentication when
auth_provideris set toaws. - Aws
Assume stringRole Arn - The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens.
- Aws
Cache stringName - The name of the AWS Elasticache cluster when
auth_provideris set toaws. - Aws
Is boolServerless - This flag specifies whether the cluster is serverless when auth_provider is set to
aws. Default: true - Aws
Region string - The region of the AWS ElastiCache cluster when
auth_provideris set toaws. - Aws
Role stringSession Name - The session name for the temporary credentials when assuming the IAM role.
- Aws
Secret stringAccess Key - AWS Secret Access Key to be used for authentication when
auth_provideris set toaws. - Azure
Client stringId - Azure Client ID to be used for authentication when
auth_provideris set toazure. - Azure
Client stringSecret - Azure Client Secret to be used for authentication when
auth_provideris set toazure. - Azure
Tenant stringId - Azure Tenant ID to be used for authentication when
auth_provideris set toazure. - Gcp
Service stringAccount Json - GCP Service Account JSON to be used for authentication when
auth_provideris set togcp.
- Auth
Provider string - Auth providers to be used to authenticate to a Cloud Provider's Redis instance. possible known values include one of ["aws", "azure", "gcp"]
- Aws
Access stringKey Id - AWS Access Key ID to be used for authentication when
auth_provideris set toaws. - Aws
Assume stringRole Arn - The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens.
- Aws
Cache stringName - The name of the AWS Elasticache cluster when
auth_provideris set toaws. - Aws
Is boolServerless - This flag specifies whether the cluster is serverless when auth_provider is set to
aws. Default: true - Aws
Region string - The region of the AWS ElastiCache cluster when
auth_provideris set toaws. - Aws
Role stringSession Name - The session name for the temporary credentials when assuming the IAM role.
- Aws
Secret stringAccess Key - AWS Secret Access Key to be used for authentication when
auth_provideris set toaws. - Azure
Client stringId - Azure Client ID to be used for authentication when
auth_provideris set toazure. - Azure
Client stringSecret - Azure Client Secret to be used for authentication when
auth_provideris set toazure. - Azure
Tenant stringId - Azure Tenant ID to be used for authentication when
auth_provideris set toazure. - Gcp
Service stringAccount Json - GCP Service Account JSON to be used for authentication when
auth_provideris set togcp.
- auth
Provider String - Auth providers to be used to authenticate to a Cloud Provider's Redis instance. possible known values include one of ["aws", "azure", "gcp"]
- aws
Access StringKey Id - AWS Access Key ID to be used for authentication when
auth_provideris set toaws. - aws
Assume StringRole Arn - The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens.
- aws
Cache StringName - The name of the AWS Elasticache cluster when
auth_provideris set toaws. - aws
Is BooleanServerless - This flag specifies whether the cluster is serverless when auth_provider is set to
aws. Default: true - aws
Region String - The region of the AWS ElastiCache cluster when
auth_provideris set toaws. - aws
Role StringSession Name - The session name for the temporary credentials when assuming the IAM role.
- aws
Secret StringAccess Key - AWS Secret Access Key to be used for authentication when
auth_provideris set toaws. - azure
Client StringId - Azure Client ID to be used for authentication when
auth_provideris set toazure. - azure
Client StringSecret - Azure Client Secret to be used for authentication when
auth_provideris set toazure. - azure
Tenant StringId - Azure Tenant ID to be used for authentication when
auth_provideris set toazure. - gcp
Service StringAccount Json - GCP Service Account JSON to be used for authentication when
auth_provideris set togcp.
- auth
Provider string - Auth providers to be used to authenticate to a Cloud Provider's Redis instance. possible known values include one of ["aws", "azure", "gcp"]
- aws
Access stringKey Id - AWS Access Key ID to be used for authentication when
auth_provideris set toaws. - aws
Assume stringRole Arn - The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens.
- aws
Cache stringName - The name of the AWS Elasticache cluster when
auth_provideris set toaws. - aws
Is booleanServerless - This flag specifies whether the cluster is serverless when auth_provider is set to
aws. Default: true - aws
Region string - The region of the AWS ElastiCache cluster when
auth_provideris set toaws. - aws
Role stringSession Name - The session name for the temporary credentials when assuming the IAM role.
- aws
Secret stringAccess Key - AWS Secret Access Key to be used for authentication when
auth_provideris set toaws. - azure
Client stringId - Azure Client ID to be used for authentication when
auth_provideris set toazure. - azure
Client stringSecret - Azure Client Secret to be used for authentication when
auth_provideris set toazure. - azure
Tenant stringId - Azure Tenant ID to be used for authentication when
auth_provideris set toazure. - gcp
Service stringAccount Json - GCP Service Account JSON to be used for authentication when
auth_provideris set togcp.
- auth_
provider str - Auth providers to be used to authenticate to a Cloud Provider's Redis instance. possible known values include one of ["aws", "azure", "gcp"]
- aws_
access_ strkey_ id - AWS Access Key ID to be used for authentication when
auth_provideris set toaws. - aws_
assume_ strrole_ arn - The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens.
- aws_
cache_ strname - The name of the AWS Elasticache cluster when
auth_provideris set toaws. - aws_
is_ boolserverless - This flag specifies whether the cluster is serverless when auth_provider is set to
aws. Default: true - aws_
region str - The region of the AWS ElastiCache cluster when
auth_provideris set toaws. - aws_
role_ strsession_ name - The session name for the temporary credentials when assuming the IAM role.
- aws_
secret_ straccess_ key - AWS Secret Access Key to be used for authentication when
auth_provideris set toaws. - azure_
client_ strid - Azure Client ID to be used for authentication when
auth_provideris set toazure. - azure_
client_ strsecret - Azure Client Secret to be used for authentication when
auth_provideris set toazure. - azure_
tenant_ strid - Azure Tenant ID to be used for authentication when
auth_provideris set toazure. - gcp_
service_ straccount_ json - GCP Service Account JSON to be used for authentication when
auth_provideris set togcp.
- auth
Provider String - Auth providers to be used to authenticate to a Cloud Provider's Redis instance. possible known values include one of ["aws", "azure", "gcp"]
- aws
Access StringKey Id - AWS Access Key ID to be used for authentication when
auth_provideris set toaws. - aws
Assume StringRole Arn - The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens.
- aws
Cache StringName - The name of the AWS Elasticache cluster when
auth_provideris set toaws. - aws
Is BooleanServerless - This flag specifies whether the cluster is serverless when auth_provider is set to
aws. Default: true - aws
Region String - The region of the AWS ElastiCache cluster when
auth_provideris set toaws. - aws
Role StringSession Name - The session name for the temporary credentials when assuming the IAM role.
- aws
Secret StringAccess Key - AWS Secret Access Key to be used for authentication when
auth_provideris set toaws. - azure
Client StringId - Azure Client ID to be used for authentication when
auth_provideris set toazure. - azure
Client StringSecret - Azure Client Secret to be used for authentication when
auth_provideris set toazure. - azure
Tenant StringId - Azure Tenant ID to be used for authentication when
auth_provideris set toazure. - gcp
Service StringAccount Json - GCP Service Account JSON to be used for authentication when
auth_provideris set togcp.
GatewayPartialRedisEe, GatewayPartialRedisEeArgs
- Config
Gateway
Partial Redis Ee Config - Not Null
- Created
At double - Unix epoch when the resource was created.
- Id string
- A string representing a UUID (universally unique identifier).
- Name string
- A unique string representing a UTF-8 encoded name.
- List<string>
- A set of strings representing tags.
- Updated
At double - Unix epoch when the resource was last updated.
- Config
Gateway
Partial Redis Ee Config - Not Null
- Created
At float64 - Unix epoch when the resource was created.
- Id string
- A string representing a UUID (universally unique identifier).
- Name string
- A unique string representing a UTF-8 encoded name.
- []string
- A set of strings representing tags.
- Updated
At float64 - Unix epoch when the resource was last updated.
- config
Gateway
Partial Redis Ee Config - Not Null
- created
At Double - Unix epoch when the resource was created.
- id String
- A string representing a UUID (universally unique identifier).
- name String
- A unique string representing a UTF-8 encoded name.
- List<String>
- A set of strings representing tags.
- updated
At Double - Unix epoch when the resource was last updated.
- config
Gateway
Partial Redis Ee Config - Not Null
- created
At number - Unix epoch when the resource was created.
- id string
- A string representing a UUID (universally unique identifier).
- name string
- A unique string representing a UTF-8 encoded name.
- string[]
- A set of strings representing tags.
- updated
At number - Unix epoch when the resource was last updated.
- config
Gateway
Partial Redis Ee Config - Not Null
- created_
at float - Unix epoch when the resource was created.
- id str
- A string representing a UUID (universally unique identifier).
- name str
- A unique string representing a UTF-8 encoded name.
- Sequence[str]
- A set of strings representing tags.
- updated_
at float - Unix epoch when the resource was last updated.
- config Property Map
- Not Null
- created
At Number - Unix epoch when the resource was created.
- id String
- A string representing a UUID (universally unique identifier).
- name String
- A unique string representing a UTF-8 encoded name.
- List<String>
- A set of strings representing tags.
- updated
At Number - Unix epoch when the resource was last updated.
GatewayPartialRedisEeConfig, GatewayPartialRedisEeConfigArgs
- Cloud
Authentication GatewayPartial Redis Ee Config Cloud Authentication - Cloud auth related configs for connecting to a Cloud Provider's Redis instance.
- Cluster
Max doubleRedirections - Maximum retry attempts for redirection. Default: 5
- Cluster
Nodes List<GatewayPartial Redis Ee Config Cluster Node> - Cluster addresses to use for Redis connections when the
redisstrategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. - Connect
Timeout double - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- Connection
Is boolProxied - If the connection to Redis is proxied (e.g. Envoy), set it
true. Set thehostandportto point to the proxy address. Default: false - Database double
- Database to use for the Redis connection when using the
redisstrategy. Default: 0 - Host string
- A string representing a host name, such as example.com. Default: "127.0.0.1"
- Keepalive
Backlog double - Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return
nil. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less thankeepalive_pool_size. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger thankeepalive_pool_size. - Keepalive
Pool doubleSize - The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither
keepalive_pool_sizenorkeepalive_backlogis specified, no pool is created. Ifkeepalive_pool_sizeisn't specified butkeepalive_backlogis specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low. Default: 256 - Password string
- Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.
- Port double
- An integer representing a port number between 0 and 65535, inclusive. Default: 6379
- Read
Timeout double - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- Send
Timeout double - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- Sentinel
Master string - Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel.
- Sentinel
Nodes List<GatewayPartial Redis Ee Config Sentinel Node> - Sentinel node addresses to use for Redis connections when the
redisstrategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. - Sentinel
Password string - Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.
- Sentinel
Role string - Sentinel role to use for Redis connections when the
redisstrategy is defined. Defining this value implies using Redis Sentinel. possible known values include one of ["any", "master", "slave"] - Sentinel
Username string - Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+.
- Server
Name string - A string representing an SNI (server name indication) value for TLS.
- Ssl bool
- If set to true, uses SSL to connect to Redis. Default: false
- Ssl
Verify bool - If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure
lua_ssl_trusted_certificateinkong.confto specify the CA (or server) certificate used by your Redis server. You may also need to configurelua_ssl_verify_depthaccordingly. Default: false - Username string
- Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to
default.
- Cloud
Authentication GatewayPartial Redis Ee Config Cloud Authentication - Cloud auth related configs for connecting to a Cloud Provider's Redis instance.
- Cluster
Max float64Redirections - Maximum retry attempts for redirection. Default: 5
- Cluster
Nodes []GatewayPartial Redis Ee Config Cluster Node - Cluster addresses to use for Redis connections when the
redisstrategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. - Connect
Timeout float64 - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- Connection
Is boolProxied - If the connection to Redis is proxied (e.g. Envoy), set it
true. Set thehostandportto point to the proxy address. Default: false - Database float64
- Database to use for the Redis connection when using the
redisstrategy. Default: 0 - Host string
- A string representing a host name, such as example.com. Default: "127.0.0.1"
- Keepalive
Backlog float64 - Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return
nil. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less thankeepalive_pool_size. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger thankeepalive_pool_size. - Keepalive
Pool float64Size - The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither
keepalive_pool_sizenorkeepalive_backlogis specified, no pool is created. Ifkeepalive_pool_sizeisn't specified butkeepalive_backlogis specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low. Default: 256 - Password string
- Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.
- Port float64
- An integer representing a port number between 0 and 65535, inclusive. Default: 6379
- Read
Timeout float64 - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- Send
Timeout float64 - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- Sentinel
Master string - Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel.
- Sentinel
Nodes []GatewayPartial Redis Ee Config Sentinel Node - Sentinel node addresses to use for Redis connections when the
redisstrategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. - Sentinel
Password string - Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.
- Sentinel
Role string - Sentinel role to use for Redis connections when the
redisstrategy is defined. Defining this value implies using Redis Sentinel. possible known values include one of ["any", "master", "slave"] - Sentinel
Username string - Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+.
- Server
Name string - A string representing an SNI (server name indication) value for TLS.
- Ssl bool
- If set to true, uses SSL to connect to Redis. Default: false
- Ssl
Verify bool - If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure
lua_ssl_trusted_certificateinkong.confto specify the CA (or server) certificate used by your Redis server. You may also need to configurelua_ssl_verify_depthaccordingly. Default: false - Username string
- Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to
default.
- cloud
Authentication GatewayPartial Redis Ee Config Cloud Authentication - Cloud auth related configs for connecting to a Cloud Provider's Redis instance.
- cluster
Max DoubleRedirections - Maximum retry attempts for redirection. Default: 5
- cluster
Nodes List<GatewayPartial Redis Ee Config Cluster Node> - Cluster addresses to use for Redis connections when the
redisstrategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. - connect
Timeout Double - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- connection
Is BooleanProxied - If the connection to Redis is proxied (e.g. Envoy), set it
true. Set thehostandportto point to the proxy address. Default: false - database Double
- Database to use for the Redis connection when using the
redisstrategy. Default: 0 - host String
- A string representing a host name, such as example.com. Default: "127.0.0.1"
- keepalive
Backlog Double - Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return
nil. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less thankeepalive_pool_size. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger thankeepalive_pool_size. - keepalive
Pool DoubleSize - The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither
keepalive_pool_sizenorkeepalive_backlogis specified, no pool is created. Ifkeepalive_pool_sizeisn't specified butkeepalive_backlogis specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low. Default: 256 - password String
- Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.
- port Double
- An integer representing a port number between 0 and 65535, inclusive. Default: 6379
- read
Timeout Double - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- send
Timeout Double - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- sentinel
Master String - Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel.
- sentinel
Nodes List<GatewayPartial Redis Ee Config Sentinel Node> - Sentinel node addresses to use for Redis connections when the
redisstrategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. - sentinel
Password String - Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.
- sentinel
Role String - Sentinel role to use for Redis connections when the
redisstrategy is defined. Defining this value implies using Redis Sentinel. possible known values include one of ["any", "master", "slave"] - sentinel
Username String - Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+.
- server
Name String - A string representing an SNI (server name indication) value for TLS.
- ssl Boolean
- If set to true, uses SSL to connect to Redis. Default: false
- ssl
Verify Boolean - If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure
lua_ssl_trusted_certificateinkong.confto specify the CA (or server) certificate used by your Redis server. You may also need to configurelua_ssl_verify_depthaccordingly. Default: false - username String
- Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to
default.
- cloud
Authentication GatewayPartial Redis Ee Config Cloud Authentication - Cloud auth related configs for connecting to a Cloud Provider's Redis instance.
- cluster
Max numberRedirections - Maximum retry attempts for redirection. Default: 5
- cluster
Nodes GatewayPartial Redis Ee Config Cluster Node[] - Cluster addresses to use for Redis connections when the
redisstrategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. - connect
Timeout number - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- connection
Is booleanProxied - If the connection to Redis is proxied (e.g. Envoy), set it
true. Set thehostandportto point to the proxy address. Default: false - database number
- Database to use for the Redis connection when using the
redisstrategy. Default: 0 - host string
- A string representing a host name, such as example.com. Default: "127.0.0.1"
- keepalive
Backlog number - Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return
nil. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less thankeepalive_pool_size. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger thankeepalive_pool_size. - keepalive
Pool numberSize - The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither
keepalive_pool_sizenorkeepalive_backlogis specified, no pool is created. Ifkeepalive_pool_sizeisn't specified butkeepalive_backlogis specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low. Default: 256 - password string
- Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.
- port number
- An integer representing a port number between 0 and 65535, inclusive. Default: 6379
- read
Timeout number - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- send
Timeout number - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- sentinel
Master string - Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel.
- sentinel
Nodes GatewayPartial Redis Ee Config Sentinel Node[] - Sentinel node addresses to use for Redis connections when the
redisstrategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. - sentinel
Password string - Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.
- sentinel
Role string - Sentinel role to use for Redis connections when the
redisstrategy is defined. Defining this value implies using Redis Sentinel. possible known values include one of ["any", "master", "slave"] - sentinel
Username string - Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+.
- server
Name string - A string representing an SNI (server name indication) value for TLS.
- ssl boolean
- If set to true, uses SSL to connect to Redis. Default: false
- ssl
Verify boolean - If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure
lua_ssl_trusted_certificateinkong.confto specify the CA (or server) certificate used by your Redis server. You may also need to configurelua_ssl_verify_depthaccordingly. Default: false - username string
- Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to
default.
- cloud_
authentication GatewayPartial Redis Ee Config Cloud Authentication - Cloud auth related configs for connecting to a Cloud Provider's Redis instance.
- cluster_
max_ floatredirections - Maximum retry attempts for redirection. Default: 5
- cluster_
nodes Sequence[GatewayPartial Redis Ee Config Cluster Node] - Cluster addresses to use for Redis connections when the
redisstrategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. - connect_
timeout float - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- connection_
is_ boolproxied - If the connection to Redis is proxied (e.g. Envoy), set it
true. Set thehostandportto point to the proxy address. Default: false - database float
- Database to use for the Redis connection when using the
redisstrategy. Default: 0 - host str
- A string representing a host name, such as example.com. Default: "127.0.0.1"
- keepalive_
backlog float - Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return
nil. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less thankeepalive_pool_size. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger thankeepalive_pool_size. - keepalive_
pool_ floatsize - The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither
keepalive_pool_sizenorkeepalive_backlogis specified, no pool is created. Ifkeepalive_pool_sizeisn't specified butkeepalive_backlogis specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low. Default: 256 - password str
- Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.
- port float
- An integer representing a port number between 0 and 65535, inclusive. Default: 6379
- read_
timeout float - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- send_
timeout float - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- sentinel_
master str - Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel.
- sentinel_
nodes Sequence[GatewayPartial Redis Ee Config Sentinel Node] - Sentinel node addresses to use for Redis connections when the
redisstrategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. - sentinel_
password str - Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.
- sentinel_
role str - Sentinel role to use for Redis connections when the
redisstrategy is defined. Defining this value implies using Redis Sentinel. possible known values include one of ["any", "master", "slave"] - sentinel_
username str - Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+.
- server_
name str - A string representing an SNI (server name indication) value for TLS.
- ssl bool
- If set to true, uses SSL to connect to Redis. Default: false
- ssl_
verify bool - If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure
lua_ssl_trusted_certificateinkong.confto specify the CA (or server) certificate used by your Redis server. You may also need to configurelua_ssl_verify_depthaccordingly. Default: false - username str
- Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to
default.
- cloud
Authentication Property Map - Cloud auth related configs for connecting to a Cloud Provider's Redis instance.
- cluster
Max NumberRedirections - Maximum retry attempts for redirection. Default: 5
- cluster
Nodes List<Property Map> - Cluster addresses to use for Redis connections when the
redisstrategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. - connect
Timeout Number - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- connection
Is BooleanProxied - If the connection to Redis is proxied (e.g. Envoy), set it
true. Set thehostandportto point to the proxy address. Default: false - database Number
- Database to use for the Redis connection when using the
redisstrategy. Default: 0 - host String
- A string representing a host name, such as example.com. Default: "127.0.0.1"
- keepalive
Backlog Number - Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return
nil. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less thankeepalive_pool_size. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger thankeepalive_pool_size. - keepalive
Pool NumberSize - The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither
keepalive_pool_sizenorkeepalive_backlogis specified, no pool is created. Ifkeepalive_pool_sizeisn't specified butkeepalive_backlogis specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low. Default: 256 - password String
- Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.
- port Number
- An integer representing a port number between 0 and 65535, inclusive. Default: 6379
- read
Timeout Number - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- send
Timeout Number - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- sentinel
Master String - Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel.
- sentinel
Nodes List<Property Map> - Sentinel node addresses to use for Redis connections when the
redisstrategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. - sentinel
Password String - Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.
- sentinel
Role String - Sentinel role to use for Redis connections when the
redisstrategy is defined. Defining this value implies using Redis Sentinel. possible known values include one of ["any", "master", "slave"] - sentinel
Username String - Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+.
- server
Name String - A string representing an SNI (server name indication) value for TLS.
- ssl Boolean
- If set to true, uses SSL to connect to Redis. Default: false
- ssl
Verify Boolean - If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure
lua_ssl_trusted_certificateinkong.confto specify the CA (or server) certificate used by your Redis server. You may also need to configurelua_ssl_verify_depthaccordingly. Default: false - username String
- Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to
default.
GatewayPartialRedisEeConfigCloudAuthentication, GatewayPartialRedisEeConfigCloudAuthenticationArgs
- Auth
Provider string - Auth providers to be used to authenticate to a Cloud Provider's Redis instance. possible known values include one of ["aws", "azure", "gcp"]
- Aws
Access stringKey Id - AWS Access Key ID to be used for authentication when
auth_provideris set toaws. - Aws
Assume stringRole Arn - The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens.
- Aws
Cache stringName - The name of the AWS Elasticache cluster when
auth_provideris set toaws. - Aws
Is boolServerless - This flag specifies whether the cluster is serverless when auth_provider is set to
aws. Default: true - Aws
Region string - The region of the AWS ElastiCache cluster when
auth_provideris set toaws. - Aws
Role stringSession Name - The session name for the temporary credentials when assuming the IAM role.
- Aws
Secret stringAccess Key - AWS Secret Access Key to be used for authentication when
auth_provideris set toaws. - Azure
Client stringId - Azure Client ID to be used for authentication when
auth_provideris set toazure. - Azure
Client stringSecret - Azure Client Secret to be used for authentication when
auth_provideris set toazure. - Azure
Tenant stringId - Azure Tenant ID to be used for authentication when
auth_provideris set toazure. - Gcp
Service stringAccount Json - GCP Service Account JSON to be used for authentication when
auth_provideris set togcp.
- Auth
Provider string - Auth providers to be used to authenticate to a Cloud Provider's Redis instance. possible known values include one of ["aws", "azure", "gcp"]
- Aws
Access stringKey Id - AWS Access Key ID to be used for authentication when
auth_provideris set toaws. - Aws
Assume stringRole Arn - The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens.
- Aws
Cache stringName - The name of the AWS Elasticache cluster when
auth_provideris set toaws. - Aws
Is boolServerless - This flag specifies whether the cluster is serverless when auth_provider is set to
aws. Default: true - Aws
Region string - The region of the AWS ElastiCache cluster when
auth_provideris set toaws. - Aws
Role stringSession Name - The session name for the temporary credentials when assuming the IAM role.
- Aws
Secret stringAccess Key - AWS Secret Access Key to be used for authentication when
auth_provideris set toaws. - Azure
Client stringId - Azure Client ID to be used for authentication when
auth_provideris set toazure. - Azure
Client stringSecret - Azure Client Secret to be used for authentication when
auth_provideris set toazure. - Azure
Tenant stringId - Azure Tenant ID to be used for authentication when
auth_provideris set toazure. - Gcp
Service stringAccount Json - GCP Service Account JSON to be used for authentication when
auth_provideris set togcp.
- auth
Provider String - Auth providers to be used to authenticate to a Cloud Provider's Redis instance. possible known values include one of ["aws", "azure", "gcp"]
- aws
Access StringKey Id - AWS Access Key ID to be used for authentication when
auth_provideris set toaws. - aws
Assume StringRole Arn - The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens.
- aws
Cache StringName - The name of the AWS Elasticache cluster when
auth_provideris set toaws. - aws
Is BooleanServerless - This flag specifies whether the cluster is serverless when auth_provider is set to
aws. Default: true - aws
Region String - The region of the AWS ElastiCache cluster when
auth_provideris set toaws. - aws
Role StringSession Name - The session name for the temporary credentials when assuming the IAM role.
- aws
Secret StringAccess Key - AWS Secret Access Key to be used for authentication when
auth_provideris set toaws. - azure
Client StringId - Azure Client ID to be used for authentication when
auth_provideris set toazure. - azure
Client StringSecret - Azure Client Secret to be used for authentication when
auth_provideris set toazure. - azure
Tenant StringId - Azure Tenant ID to be used for authentication when
auth_provideris set toazure. - gcp
Service StringAccount Json - GCP Service Account JSON to be used for authentication when
auth_provideris set togcp.
- auth
Provider string - Auth providers to be used to authenticate to a Cloud Provider's Redis instance. possible known values include one of ["aws", "azure", "gcp"]
- aws
Access stringKey Id - AWS Access Key ID to be used for authentication when
auth_provideris set toaws. - aws
Assume stringRole Arn - The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens.
- aws
Cache stringName - The name of the AWS Elasticache cluster when
auth_provideris set toaws. - aws
Is booleanServerless - This flag specifies whether the cluster is serverless when auth_provider is set to
aws. Default: true - aws
Region string - The region of the AWS ElastiCache cluster when
auth_provideris set toaws. - aws
Role stringSession Name - The session name for the temporary credentials when assuming the IAM role.
- aws
Secret stringAccess Key - AWS Secret Access Key to be used for authentication when
auth_provideris set toaws. - azure
Client stringId - Azure Client ID to be used for authentication when
auth_provideris set toazure. - azure
Client stringSecret - Azure Client Secret to be used for authentication when
auth_provideris set toazure. - azure
Tenant stringId - Azure Tenant ID to be used for authentication when
auth_provideris set toazure. - gcp
Service stringAccount Json - GCP Service Account JSON to be used for authentication when
auth_provideris set togcp.
- auth_
provider str - Auth providers to be used to authenticate to a Cloud Provider's Redis instance. possible known values include one of ["aws", "azure", "gcp"]
- aws_
access_ strkey_ id - AWS Access Key ID to be used for authentication when
auth_provideris set toaws. - aws_
assume_ strrole_ arn - The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens.
- aws_
cache_ strname - The name of the AWS Elasticache cluster when
auth_provideris set toaws. - aws_
is_ boolserverless - This flag specifies whether the cluster is serverless when auth_provider is set to
aws. Default: true - aws_
region str - The region of the AWS ElastiCache cluster when
auth_provideris set toaws. - aws_
role_ strsession_ name - The session name for the temporary credentials when assuming the IAM role.
- aws_
secret_ straccess_ key - AWS Secret Access Key to be used for authentication when
auth_provideris set toaws. - azure_
client_ strid - Azure Client ID to be used for authentication when
auth_provideris set toazure. - azure_
client_ strsecret - Azure Client Secret to be used for authentication when
auth_provideris set toazure. - azure_
tenant_ strid - Azure Tenant ID to be used for authentication when
auth_provideris set toazure. - gcp_
service_ straccount_ json - GCP Service Account JSON to be used for authentication when
auth_provideris set togcp.
- auth
Provider String - Auth providers to be used to authenticate to a Cloud Provider's Redis instance. possible known values include one of ["aws", "azure", "gcp"]
- aws
Access StringKey Id - AWS Access Key ID to be used for authentication when
auth_provideris set toaws. - aws
Assume StringRole Arn - The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens.
- aws
Cache StringName - The name of the AWS Elasticache cluster when
auth_provideris set toaws. - aws
Is BooleanServerless - This flag specifies whether the cluster is serverless when auth_provider is set to
aws. Default: true - aws
Region String - The region of the AWS ElastiCache cluster when
auth_provideris set toaws. - aws
Role StringSession Name - The session name for the temporary credentials when assuming the IAM role.
- aws
Secret StringAccess Key - AWS Secret Access Key to be used for authentication when
auth_provideris set toaws. - azure
Client StringId - Azure Client ID to be used for authentication when
auth_provideris set toazure. - azure
Client StringSecret - Azure Client Secret to be used for authentication when
auth_provideris set toazure. - azure
Tenant StringId - Azure Tenant ID to be used for authentication when
auth_provideris set toazure. - gcp
Service StringAccount Json - GCP Service Account JSON to be used for authentication when
auth_provideris set togcp.
GatewayPartialRedisEeConfigClusterNode, GatewayPartialRedisEeConfigClusterNodeArgs
GatewayPartialRedisEeConfigSentinelNode, GatewayPartialRedisEeConfigSentinelNodeArgs
GatewayPartialVectordb, GatewayPartialVectordbArgs
- Config
Gateway
Partial Vectordb Config - Not Null
- Created
At double - Unix epoch when the resource was created.
- Id string
- A string representing a UUID (universally unique identifier).
- Name string
- A unique string representing a UTF-8 encoded name.
- List<string>
- A set of strings representing tags.
- Updated
At double - Unix epoch when the resource was last updated.
- Config
Gateway
Partial Vectordb Config - Not Null
- Created
At float64 - Unix epoch when the resource was created.
- Id string
- A string representing a UUID (universally unique identifier).
- Name string
- A unique string representing a UTF-8 encoded name.
- []string
- A set of strings representing tags.
- Updated
At float64 - Unix epoch when the resource was last updated.
- config
Gateway
Partial Vectordb Config - Not Null
- created
At Double - Unix epoch when the resource was created.
- id String
- A string representing a UUID (universally unique identifier).
- name String
- A unique string representing a UTF-8 encoded name.
- List<String>
- A set of strings representing tags.
- updated
At Double - Unix epoch when the resource was last updated.
- config
Gateway
Partial Vectordb Config - Not Null
- created
At number - Unix epoch when the resource was created.
- id string
- A string representing a UUID (universally unique identifier).
- name string
- A unique string representing a UTF-8 encoded name.
- string[]
- A set of strings representing tags.
- updated
At number - Unix epoch when the resource was last updated.
- config
Gateway
Partial Vectordb Config - Not Null
- created_
at float - Unix epoch when the resource was created.
- id str
- A string representing a UUID (universally unique identifier).
- name str
- A unique string representing a UTF-8 encoded name.
- Sequence[str]
- A set of strings representing tags.
- updated_
at float - Unix epoch when the resource was last updated.
- config Property Map
- Not Null
- created
At Number - Unix epoch when the resource was created.
- id String
- A string representing a UUID (universally unique identifier).
- name String
- A unique string representing a UTF-8 encoded name.
- List<String>
- A set of strings representing tags.
- updated
At Number - Unix epoch when the resource was last updated.
GatewayPartialVectordbConfig, GatewayPartialVectordbConfigArgs
- Dimensions double
- the desired dimensionality for the vectors. Not Null
- Distance
Metric string - the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
- Pgvector
Gateway
Partial Vectordb Config Pgvector - Redis
Gateway
Partial Vectordb Config Redis - Strategy string
- which vector database driver to use. possible known values include one of ["pgvector", "redis"]; Not Null
- Threshold double
- the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
- Dimensions float64
- the desired dimensionality for the vectors. Not Null
- Distance
Metric string - the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
- Pgvector
Gateway
Partial Vectordb Config Pgvector - Redis
Gateway
Partial Vectordb Config Redis - Strategy string
- which vector database driver to use. possible known values include one of ["pgvector", "redis"]; Not Null
- Threshold float64
- the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
- dimensions Double
- the desired dimensionality for the vectors. Not Null
- distance
Metric String - the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
- pgvector
Gateway
Partial Vectordb Config Pgvector - redis
Gateway
Partial Vectordb Config Redis - strategy String
- which vector database driver to use. possible known values include one of ["pgvector", "redis"]; Not Null
- threshold Double
- the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
- dimensions number
- the desired dimensionality for the vectors. Not Null
- distance
Metric string - the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
- pgvector
Gateway
Partial Vectordb Config Pgvector - redis
Gateway
Partial Vectordb Config Redis - strategy string
- which vector database driver to use. possible known values include one of ["pgvector", "redis"]; Not Null
- threshold number
- the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
- dimensions float
- the desired dimensionality for the vectors. Not Null
- distance_
metric str - the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
- pgvector
Gateway
Partial Vectordb Config Pgvector - redis
Gateway
Partial Vectordb Config Redis - strategy str
- which vector database driver to use. possible known values include one of ["pgvector", "redis"]; Not Null
- threshold float
- the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
- dimensions Number
- the desired dimensionality for the vectors. Not Null
- distance
Metric String - the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
- pgvector Property Map
- redis Property Map
- strategy String
- which vector database driver to use. possible known values include one of ["pgvector", "redis"]; Not Null
- threshold Number
- the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
GatewayPartialVectordbConfigPgvector, GatewayPartialVectordbConfigPgvectorArgs
- Database string
- the database of the pgvector database. Default: "kong-pgvector"
- Host string
- the host of the pgvector database. Default: "127.0.0.1"
- Password string
- the password of the pgvector database
- Port double
- the port of the pgvector database. Default: 5432
- Ssl bool
- whether to use ssl for the pgvector database. Default: false
- Ssl
Cert string - the path of ssl cert to use for the pgvector database
- Ssl
Cert stringKey - the path of ssl cert key to use for the pgvector database
- Ssl
Required bool - whether ssl is required for the pgvector database. Default: false
- Ssl
Verify bool - whether to verify ssl for the pgvector database. Default: false
- Ssl
Version string - the ssl version to use for the pgvector database. possible known values include one of ["any", "tlsv12", "tlsv13"]; Default: "tlsv1_2"
- Timeout double
- the timeout of the pgvector database. Default: 5000
- User string
- the user of the pgvector database. Default: "postgres"
- Database string
- the database of the pgvector database. Default: "kong-pgvector"
- Host string
- the host of the pgvector database. Default: "127.0.0.1"
- Password string
- the password of the pgvector database
- Port float64
- the port of the pgvector database. Default: 5432
- Ssl bool
- whether to use ssl for the pgvector database. Default: false
- Ssl
Cert string - the path of ssl cert to use for the pgvector database
- Ssl
Cert stringKey - the path of ssl cert key to use for the pgvector database
- Ssl
Required bool - whether ssl is required for the pgvector database. Default: false
- Ssl
Verify bool - whether to verify ssl for the pgvector database. Default: false
- Ssl
Version string - the ssl version to use for the pgvector database. possible known values include one of ["any", "tlsv12", "tlsv13"]; Default: "tlsv1_2"
- Timeout float64
- the timeout of the pgvector database. Default: 5000
- User string
- the user of the pgvector database. Default: "postgres"
- database String
- the database of the pgvector database. Default: "kong-pgvector"
- host String
- the host of the pgvector database. Default: "127.0.0.1"
- password String
- the password of the pgvector database
- port Double
- the port of the pgvector database. Default: 5432
- ssl Boolean
- whether to use ssl for the pgvector database. Default: false
- ssl
Cert String - the path of ssl cert to use for the pgvector database
- ssl
Cert StringKey - the path of ssl cert key to use for the pgvector database
- ssl
Required Boolean - whether ssl is required for the pgvector database. Default: false
- ssl
Verify Boolean - whether to verify ssl for the pgvector database. Default: false
- ssl
Version String - the ssl version to use for the pgvector database. possible known values include one of ["any", "tlsv12", "tlsv13"]; Default: "tlsv1_2"
- timeout Double
- the timeout of the pgvector database. Default: 5000
- user String
- the user of the pgvector database. Default: "postgres"
- database string
- the database of the pgvector database. Default: "kong-pgvector"
- host string
- the host of the pgvector database. Default: "127.0.0.1"
- password string
- the password of the pgvector database
- port number
- the port of the pgvector database. Default: 5432
- ssl boolean
- whether to use ssl for the pgvector database. Default: false
- ssl
Cert string - the path of ssl cert to use for the pgvector database
- ssl
Cert stringKey - the path of ssl cert key to use for the pgvector database
- ssl
Required boolean - whether ssl is required for the pgvector database. Default: false
- ssl
Verify boolean - whether to verify ssl for the pgvector database. Default: false
- ssl
Version string - the ssl version to use for the pgvector database. possible known values include one of ["any", "tlsv12", "tlsv13"]; Default: "tlsv1_2"
- timeout number
- the timeout of the pgvector database. Default: 5000
- user string
- the user of the pgvector database. Default: "postgres"
- database str
- the database of the pgvector database. Default: "kong-pgvector"
- host str
- the host of the pgvector database. Default: "127.0.0.1"
- password str
- the password of the pgvector database
- port float
- the port of the pgvector database. Default: 5432
- ssl bool
- whether to use ssl for the pgvector database. Default: false
- ssl_
cert str - the path of ssl cert to use for the pgvector database
- ssl_
cert_ strkey - the path of ssl cert key to use for the pgvector database
- ssl_
required bool - whether ssl is required for the pgvector database. Default: false
- ssl_
verify bool - whether to verify ssl for the pgvector database. Default: false
- ssl_
version str - the ssl version to use for the pgvector database. possible known values include one of ["any", "tlsv12", "tlsv13"]; Default: "tlsv1_2"
- timeout float
- the timeout of the pgvector database. Default: 5000
- user str
- the user of the pgvector database. Default: "postgres"
- database String
- the database of the pgvector database. Default: "kong-pgvector"
- host String
- the host of the pgvector database. Default: "127.0.0.1"
- password String
- the password of the pgvector database
- port Number
- the port of the pgvector database. Default: 5432
- ssl Boolean
- whether to use ssl for the pgvector database. Default: false
- ssl
Cert String - the path of ssl cert to use for the pgvector database
- ssl
Cert StringKey - the path of ssl cert key to use for the pgvector database
- ssl
Required Boolean - whether ssl is required for the pgvector database. Default: false
- ssl
Verify Boolean - whether to verify ssl for the pgvector database. Default: false
- ssl
Version String - the ssl version to use for the pgvector database. possible known values include one of ["any", "tlsv12", "tlsv13"]; Default: "tlsv1_2"
- timeout Number
- the timeout of the pgvector database. Default: 5000
- user String
- the user of the pgvector database. Default: "postgres"
GatewayPartialVectordbConfigRedis, GatewayPartialVectordbConfigRedisArgs
- Cloud
Authentication GatewayPartial Vectordb Config Redis Cloud Authentication - Cloud auth related configs for connecting to a Cloud Provider's Redis instance.
- Cluster
Max doubleRedirections - Maximum retry attempts for redirection. Default: 5
- Cluster
Nodes List<GatewayPartial Vectordb Config Redis Cluster Node> - Cluster addresses to use for Redis connections when the
redisstrategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. - Connect
Timeout double - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- Connection
Is boolProxied - If the connection to Redis is proxied (e.g. Envoy), set it
true. Set thehostandportto point to the proxy address. Default: false - Database double
- Database to use for the Redis connection when using the
redisstrategy. Default: 0 - Host string
- A string representing a host name, such as example.com. Default: "127.0.0.1"
- Keepalive
Backlog double - Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return
nil. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less thankeepalive_pool_size. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger thankeepalive_pool_size. - Keepalive
Pool doubleSize - The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither
keepalive_pool_sizenorkeepalive_backlogis specified, no pool is created. Ifkeepalive_pool_sizeisn't specified butkeepalive_backlogis specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low. Default: 256 - Password string
- Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.
- Port double
- An integer representing a port number between 0 and 65535, inclusive. Default: 6379
- Read
Timeout double - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- Send
Timeout double - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- Sentinel
Master string - Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel.
- Sentinel
Nodes List<GatewayPartial Vectordb Config Redis Sentinel Node> - Sentinel node addresses to use for Redis connections when the
redisstrategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. - Sentinel
Password string - Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.
- Sentinel
Role string - Sentinel role to use for Redis connections when the
redisstrategy is defined. Defining this value implies using Redis Sentinel. possible known values include one of ["any", "master", "slave"] - Sentinel
Username string - Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+.
- Server
Name string - A string representing an SNI (server name indication) value for TLS.
- Ssl bool
- If set to true, uses SSL to connect to Redis. Default: false
- Ssl
Verify bool - If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure
lua_ssl_trusted_certificateinkong.confto specify the CA (or server) certificate used by your Redis server. You may also need to configurelua_ssl_verify_depthaccordingly. Default: false - Username string
- Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to
default.
- Cloud
Authentication GatewayPartial Vectordb Config Redis Cloud Authentication - Cloud auth related configs for connecting to a Cloud Provider's Redis instance.
- Cluster
Max float64Redirections - Maximum retry attempts for redirection. Default: 5
- Cluster
Nodes []GatewayPartial Vectordb Config Redis Cluster Node - Cluster addresses to use for Redis connections when the
redisstrategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. - Connect
Timeout float64 - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- Connection
Is boolProxied - If the connection to Redis is proxied (e.g. Envoy), set it
true. Set thehostandportto point to the proxy address. Default: false - Database float64
- Database to use for the Redis connection when using the
redisstrategy. Default: 0 - Host string
- A string representing a host name, such as example.com. Default: "127.0.0.1"
- Keepalive
Backlog float64 - Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return
nil. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less thankeepalive_pool_size. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger thankeepalive_pool_size. - Keepalive
Pool float64Size - The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither
keepalive_pool_sizenorkeepalive_backlogis specified, no pool is created. Ifkeepalive_pool_sizeisn't specified butkeepalive_backlogis specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low. Default: 256 - Password string
- Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.
- Port float64
- An integer representing a port number between 0 and 65535, inclusive. Default: 6379
- Read
Timeout float64 - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- Send
Timeout float64 - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- Sentinel
Master string - Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel.
- Sentinel
Nodes []GatewayPartial Vectordb Config Redis Sentinel Node - Sentinel node addresses to use for Redis connections when the
redisstrategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. - Sentinel
Password string - Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.
- Sentinel
Role string - Sentinel role to use for Redis connections when the
redisstrategy is defined. Defining this value implies using Redis Sentinel. possible known values include one of ["any", "master", "slave"] - Sentinel
Username string - Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+.
- Server
Name string - A string representing an SNI (server name indication) value for TLS.
- Ssl bool
- If set to true, uses SSL to connect to Redis. Default: false
- Ssl
Verify bool - If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure
lua_ssl_trusted_certificateinkong.confto specify the CA (or server) certificate used by your Redis server. You may also need to configurelua_ssl_verify_depthaccordingly. Default: false - Username string
- Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to
default.
- cloud
Authentication GatewayPartial Vectordb Config Redis Cloud Authentication - Cloud auth related configs for connecting to a Cloud Provider's Redis instance.
- cluster
Max DoubleRedirections - Maximum retry attempts for redirection. Default: 5
- cluster
Nodes List<GatewayPartial Vectordb Config Redis Cluster Node> - Cluster addresses to use for Redis connections when the
redisstrategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. - connect
Timeout Double - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- connection
Is BooleanProxied - If the connection to Redis is proxied (e.g. Envoy), set it
true. Set thehostandportto point to the proxy address. Default: false - database Double
- Database to use for the Redis connection when using the
redisstrategy. Default: 0 - host String
- A string representing a host name, such as example.com. Default: "127.0.0.1"
- keepalive
Backlog Double - Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return
nil. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less thankeepalive_pool_size. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger thankeepalive_pool_size. - keepalive
Pool DoubleSize - The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither
keepalive_pool_sizenorkeepalive_backlogis specified, no pool is created. Ifkeepalive_pool_sizeisn't specified butkeepalive_backlogis specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low. Default: 256 - password String
- Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.
- port Double
- An integer representing a port number between 0 and 65535, inclusive. Default: 6379
- read
Timeout Double - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- send
Timeout Double - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- sentinel
Master String - Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel.
- sentinel
Nodes List<GatewayPartial Vectordb Config Redis Sentinel Node> - Sentinel node addresses to use for Redis connections when the
redisstrategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. - sentinel
Password String - Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.
- sentinel
Role String - Sentinel role to use for Redis connections when the
redisstrategy is defined. Defining this value implies using Redis Sentinel. possible known values include one of ["any", "master", "slave"] - sentinel
Username String - Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+.
- server
Name String - A string representing an SNI (server name indication) value for TLS.
- ssl Boolean
- If set to true, uses SSL to connect to Redis. Default: false
- ssl
Verify Boolean - If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure
lua_ssl_trusted_certificateinkong.confto specify the CA (or server) certificate used by your Redis server. You may also need to configurelua_ssl_verify_depthaccordingly. Default: false - username String
- Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to
default.
- cloud
Authentication GatewayPartial Vectordb Config Redis Cloud Authentication - Cloud auth related configs for connecting to a Cloud Provider's Redis instance.
- cluster
Max numberRedirections - Maximum retry attempts for redirection. Default: 5
- cluster
Nodes GatewayPartial Vectordb Config Redis Cluster Node[] - Cluster addresses to use for Redis connections when the
redisstrategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. - connect
Timeout number - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- connection
Is booleanProxied - If the connection to Redis is proxied (e.g. Envoy), set it
true. Set thehostandportto point to the proxy address. Default: false - database number
- Database to use for the Redis connection when using the
redisstrategy. Default: 0 - host string
- A string representing a host name, such as example.com. Default: "127.0.0.1"
- keepalive
Backlog number - Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return
nil. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less thankeepalive_pool_size. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger thankeepalive_pool_size. - keepalive
Pool numberSize - The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither
keepalive_pool_sizenorkeepalive_backlogis specified, no pool is created. Ifkeepalive_pool_sizeisn't specified butkeepalive_backlogis specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low. Default: 256 - password string
- Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.
- port number
- An integer representing a port number between 0 and 65535, inclusive. Default: 6379
- read
Timeout number - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- send
Timeout number - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- sentinel
Master string - Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel.
- sentinel
Nodes GatewayPartial Vectordb Config Redis Sentinel Node[] - Sentinel node addresses to use for Redis connections when the
redisstrategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. - sentinel
Password string - Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.
- sentinel
Role string - Sentinel role to use for Redis connections when the
redisstrategy is defined. Defining this value implies using Redis Sentinel. possible known values include one of ["any", "master", "slave"] - sentinel
Username string - Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+.
- server
Name string - A string representing an SNI (server name indication) value for TLS.
- ssl boolean
- If set to true, uses SSL to connect to Redis. Default: false
- ssl
Verify boolean - If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure
lua_ssl_trusted_certificateinkong.confto specify the CA (or server) certificate used by your Redis server. You may also need to configurelua_ssl_verify_depthaccordingly. Default: false - username string
- Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to
default.
- cloud_
authentication GatewayPartial Vectordb Config Redis Cloud Authentication - Cloud auth related configs for connecting to a Cloud Provider's Redis instance.
- cluster_
max_ floatredirections - Maximum retry attempts for redirection. Default: 5
- cluster_
nodes Sequence[GatewayPartial Vectordb Config Redis Cluster Node] - Cluster addresses to use for Redis connections when the
redisstrategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. - connect_
timeout float - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- connection_
is_ boolproxied - If the connection to Redis is proxied (e.g. Envoy), set it
true. Set thehostandportto point to the proxy address. Default: false - database float
- Database to use for the Redis connection when using the
redisstrategy. Default: 0 - host str
- A string representing a host name, such as example.com. Default: "127.0.0.1"
- keepalive_
backlog float - Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return
nil. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less thankeepalive_pool_size. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger thankeepalive_pool_size. - keepalive_
pool_ floatsize - The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither
keepalive_pool_sizenorkeepalive_backlogis specified, no pool is created. Ifkeepalive_pool_sizeisn't specified butkeepalive_backlogis specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low. Default: 256 - password str
- Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.
- port float
- An integer representing a port number between 0 and 65535, inclusive. Default: 6379
- read_
timeout float - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- send_
timeout float - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- sentinel_
master str - Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel.
- sentinel_
nodes Sequence[GatewayPartial Vectordb Config Redis Sentinel Node] - Sentinel node addresses to use for Redis connections when the
redisstrategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. - sentinel_
password str - Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.
- sentinel_
role str - Sentinel role to use for Redis connections when the
redisstrategy is defined. Defining this value implies using Redis Sentinel. possible known values include one of ["any", "master", "slave"] - sentinel_
username str - Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+.
- server_
name str - A string representing an SNI (server name indication) value for TLS.
- ssl bool
- If set to true, uses SSL to connect to Redis. Default: false
- ssl_
verify bool - If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure
lua_ssl_trusted_certificateinkong.confto specify the CA (or server) certificate used by your Redis server. You may also need to configurelua_ssl_verify_depthaccordingly. Default: false - username str
- Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to
default.
- cloud
Authentication Property Map - Cloud auth related configs for connecting to a Cloud Provider's Redis instance.
- cluster
Max NumberRedirections - Maximum retry attempts for redirection. Default: 5
- cluster
Nodes List<Property Map> - Cluster addresses to use for Redis connections when the
redisstrategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element. - connect
Timeout Number - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- connection
Is BooleanProxied - If the connection to Redis is proxied (e.g. Envoy), set it
true. Set thehostandportto point to the proxy address. Default: false - database Number
- Database to use for the Redis connection when using the
redisstrategy. Default: 0 - host String
- A string representing a host name, such as example.com. Default: "127.0.0.1"
- keepalive
Backlog Number - Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return
nil. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less thankeepalive_pool_size. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger thankeepalive_pool_size. - keepalive
Pool NumberSize - The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither
keepalive_pool_sizenorkeepalive_backlogis specified, no pool is created. Ifkeepalive_pool_sizeisn't specified butkeepalive_backlogis specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low. Default: 256 - password String
- Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.
- port Number
- An integer representing a port number between 0 and 65535, inclusive. Default: 6379
- read
Timeout Number - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- send
Timeout Number - An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
- sentinel
Master String - Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel.
- sentinel
Nodes List<Property Map> - Sentinel node addresses to use for Redis connections when the
redisstrategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element. - sentinel
Password String - Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels.
- sentinel
Role String - Sentinel role to use for Redis connections when the
redisstrategy is defined. Defining this value implies using Redis Sentinel. possible known values include one of ["any", "master", "slave"] - sentinel
Username String - Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+.
- server
Name String - A string representing an SNI (server name indication) value for TLS.
- ssl Boolean
- If set to true, uses SSL to connect to Redis. Default: false
- ssl
Verify Boolean - If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure
lua_ssl_trusted_certificateinkong.confto specify the CA (or server) certificate used by your Redis server. You may also need to configurelua_ssl_verify_depthaccordingly. Default: false - username String
- Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to
default.
GatewayPartialVectordbConfigRedisCloudAuthentication, GatewayPartialVectordbConfigRedisCloudAuthenticationArgs
- Auth
Provider string - Auth providers to be used to authenticate to a Cloud Provider's Redis instance. possible known values include one of ["aws", "azure", "gcp"]
- Aws
Access stringKey Id - AWS Access Key ID to be used for authentication when
auth_provideris set toaws. - Aws
Assume stringRole Arn - The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens.
- Aws
Cache stringName - The name of the AWS Elasticache cluster when
auth_provideris set toaws. - Aws
Is boolServerless - This flag specifies whether the cluster is serverless when auth_provider is set to
aws. Default: true - Aws
Region string - The region of the AWS ElastiCache cluster when
auth_provideris set toaws. - Aws
Role stringSession Name - The session name for the temporary credentials when assuming the IAM role.
- Aws
Secret stringAccess Key - AWS Secret Access Key to be used for authentication when
auth_provideris set toaws. - Azure
Client stringId - Azure Client ID to be used for authentication when
auth_provideris set toazure. - Azure
Client stringSecret - Azure Client Secret to be used for authentication when
auth_provideris set toazure. - Azure
Tenant stringId - Azure Tenant ID to be used for authentication when
auth_provideris set toazure. - Gcp
Service stringAccount Json - GCP Service Account JSON to be used for authentication when
auth_provideris set togcp.
- Auth
Provider string - Auth providers to be used to authenticate to a Cloud Provider's Redis instance. possible known values include one of ["aws", "azure", "gcp"]
- Aws
Access stringKey Id - AWS Access Key ID to be used for authentication when
auth_provideris set toaws. - Aws
Assume stringRole Arn - The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens.
- Aws
Cache stringName - The name of the AWS Elasticache cluster when
auth_provideris set toaws. - Aws
Is boolServerless - This flag specifies whether the cluster is serverless when auth_provider is set to
aws. Default: true - Aws
Region string - The region of the AWS ElastiCache cluster when
auth_provideris set toaws. - Aws
Role stringSession Name - The session name for the temporary credentials when assuming the IAM role.
- Aws
Secret stringAccess Key - AWS Secret Access Key to be used for authentication when
auth_provideris set toaws. - Azure
Client stringId - Azure Client ID to be used for authentication when
auth_provideris set toazure. - Azure
Client stringSecret - Azure Client Secret to be used for authentication when
auth_provideris set toazure. - Azure
Tenant stringId - Azure Tenant ID to be used for authentication when
auth_provideris set toazure. - Gcp
Service stringAccount Json - GCP Service Account JSON to be used for authentication when
auth_provideris set togcp.
- auth
Provider String - Auth providers to be used to authenticate to a Cloud Provider's Redis instance. possible known values include one of ["aws", "azure", "gcp"]
- aws
Access StringKey Id - AWS Access Key ID to be used for authentication when
auth_provideris set toaws. - aws
Assume StringRole Arn - The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens.
- aws
Cache StringName - The name of the AWS Elasticache cluster when
auth_provideris set toaws. - aws
Is BooleanServerless - This flag specifies whether the cluster is serverless when auth_provider is set to
aws. Default: true - aws
Region String - The region of the AWS ElastiCache cluster when
auth_provideris set toaws. - aws
Role StringSession Name - The session name for the temporary credentials when assuming the IAM role.
- aws
Secret StringAccess Key - AWS Secret Access Key to be used for authentication when
auth_provideris set toaws. - azure
Client StringId - Azure Client ID to be used for authentication when
auth_provideris set toazure. - azure
Client StringSecret - Azure Client Secret to be used for authentication when
auth_provideris set toazure. - azure
Tenant StringId - Azure Tenant ID to be used for authentication when
auth_provideris set toazure. - gcp
Service StringAccount Json - GCP Service Account JSON to be used for authentication when
auth_provideris set togcp.
- auth
Provider string - Auth providers to be used to authenticate to a Cloud Provider's Redis instance. possible known values include one of ["aws", "azure", "gcp"]
- aws
Access stringKey Id - AWS Access Key ID to be used for authentication when
auth_provideris set toaws. - aws
Assume stringRole Arn - The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens.
- aws
Cache stringName - The name of the AWS Elasticache cluster when
auth_provideris set toaws. - aws
Is booleanServerless - This flag specifies whether the cluster is serverless when auth_provider is set to
aws. Default: true - aws
Region string - The region of the AWS ElastiCache cluster when
auth_provideris set toaws. - aws
Role stringSession Name - The session name for the temporary credentials when assuming the IAM role.
- aws
Secret stringAccess Key - AWS Secret Access Key to be used for authentication when
auth_provideris set toaws. - azure
Client stringId - Azure Client ID to be used for authentication when
auth_provideris set toazure. - azure
Client stringSecret - Azure Client Secret to be used for authentication when
auth_provideris set toazure. - azure
Tenant stringId - Azure Tenant ID to be used for authentication when
auth_provideris set toazure. - gcp
Service stringAccount Json - GCP Service Account JSON to be used for authentication when
auth_provideris set togcp.
- auth_
provider str - Auth providers to be used to authenticate to a Cloud Provider's Redis instance. possible known values include one of ["aws", "azure", "gcp"]
- aws_
access_ strkey_ id - AWS Access Key ID to be used for authentication when
auth_provideris set toaws. - aws_
assume_ strrole_ arn - The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens.
- aws_
cache_ strname - The name of the AWS Elasticache cluster when
auth_provideris set toaws. - aws_
is_ boolserverless - This flag specifies whether the cluster is serverless when auth_provider is set to
aws. Default: true - aws_
region str - The region of the AWS ElastiCache cluster when
auth_provideris set toaws. - aws_
role_ strsession_ name - The session name for the temporary credentials when assuming the IAM role.
- aws_
secret_ straccess_ key - AWS Secret Access Key to be used for authentication when
auth_provideris set toaws. - azure_
client_ strid - Azure Client ID to be used for authentication when
auth_provideris set toazure. - azure_
client_ strsecret - Azure Client Secret to be used for authentication when
auth_provideris set toazure. - azure_
tenant_ strid - Azure Tenant ID to be used for authentication when
auth_provideris set toazure. - gcp_
service_ straccount_ json - GCP Service Account JSON to be used for authentication when
auth_provideris set togcp.
- auth
Provider String - Auth providers to be used to authenticate to a Cloud Provider's Redis instance. possible known values include one of ["aws", "azure", "gcp"]
- aws
Access StringKey Id - AWS Access Key ID to be used for authentication when
auth_provideris set toaws. - aws
Assume StringRole Arn - The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens.
- aws
Cache StringName - The name of the AWS Elasticache cluster when
auth_provideris set toaws. - aws
Is BooleanServerless - This flag specifies whether the cluster is serverless when auth_provider is set to
aws. Default: true - aws
Region String - The region of the AWS ElastiCache cluster when
auth_provideris set toaws. - aws
Role StringSession Name - The session name for the temporary credentials when assuming the IAM role.
- aws
Secret StringAccess Key - AWS Secret Access Key to be used for authentication when
auth_provideris set toaws. - azure
Client StringId - Azure Client ID to be used for authentication when
auth_provideris set toazure. - azure
Client StringSecret - Azure Client Secret to be used for authentication when
auth_provideris set toazure. - azure
Tenant StringId - Azure Tenant ID to be used for authentication when
auth_provideris set toazure. - gcp
Service StringAccount Json - GCP Service Account JSON to be used for authentication when
auth_provideris set togcp.
GatewayPartialVectordbConfigRedisClusterNode, GatewayPartialVectordbConfigRedisClusterNodeArgs
GatewayPartialVectordbConfigRedisSentinelNode, GatewayPartialVectordbConfigRedisSentinelNodeArgs
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_partial.my_konnect_gateway_partial
id = jsonencode({
control_plane_id = "9524ec7d-36d9-465d-a8c5-83a3c9390458"
id = ""
})
}
The pulumi import command can be used, for example:
$ pulumi import konnect:index/gatewayPartial:GatewayPartial my_konnect_gateway_partial '{"control_plane_id": "9524ec7d-36d9-465d-a8c5-83a3c9390458", "id": ""}'
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.
published on Friday, Apr 24, 2026 by kong
