ark

package
v0.0.58 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2026 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoint

type Endpoint struct {
	pulumi.CustomResourceState

	// Whether only BatchChat is supported. If true, only batch inference interfaces can be accessed; otherwise, only online inference interfaces can be accessed
	BatchOnly pulumi.BoolOutput `pulumi:"batchOnly"`
	// Certificate information
	Certificate EndpointCertificateOutput `pulumi:"certificate"`
	// Endpoint creation time, RFC3339 format
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Endpoint description
	Description pulumi.StringOutput `pulumi:"description"`
	// Inference access point ID.
	EndpointId pulumi.StringOutput `pulumi:"endpointId"`
	// Access point model type. Options: FoundationModel for base model; CustomModel for custom model.
	EndpointModelType pulumi.StringOutput `pulumi:"endpointModelType"`
	// Endpoint access model
	ModelReference EndpointModelReferenceOutput `pulumi:"modelReference"`
	// Model unit. If empty, indicates postpaid; otherwise, prepaid.
	ModelUnitId pulumi.StringOutput `pulumi:"modelUnitId"`
	// Content guardrail scheme
	Moderation EndpointModerationOutput `pulumi:"moderation"`
	// Endpoint name
	Name pulumi.StringOutput `pulumi:"name"`
	// Project name the resource belongs to; default value is "default"
	ProjectName pulumi.StringOutput `pulumi:"projectName"`
	// Endpoint rate limiting
	RateLimit EndpointRateLimitOutput `pulumi:"rateLimit"`
	// Endpoint switch ID
	RollingId pulumi.StringOutput `pulumi:"rollingId"`
	// If a TPM protection package exists, this is the TPM protection package ID.
	ScaleTierId pulumi.StringOutput `pulumi:"scaleTierId"`
	// Endpoint status
	Status pulumi.StringOutput `pulumi:"status"`
	// Additional status information
	StatusReason pulumi.StringOutput `pulumi:"statusReason"`
	// Whether endpoint supports switching model versions
	SupportRolling pulumi.BoolOutput `pulumi:"supportRolling"`
	// Whether TPM protection package is supported
	SupportScaleTier pulumi.BoolOutput `pulumi:"supportScaleTier"`
	// Tags bound to the endpoint
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Tags EndpointTagArrayOutput `pulumi:"tags"`
	// Endpoint update time, RFC3339 format
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

When using large language models for inference services, the inference endpoint is the key entry point for model invocation. Developers can initiate API/SDK inference requests to the large model simply by specifying the ID, enabling quick access and flexible invocation. The system provides a unified API invocation method, call monitoring, rate limiting strategies, and security mechanisms to ensure stability and security during inference

## Example Usage

```go package main

import (

"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/ark"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ark.NewEndpoint(ctx, "EndpointDemo", &ark.EndpointArgs{
			Name:        pulumi.String("EndpointDemo"),
			Description: pulumi.String("endpoint description"),
			ModelReference: &ark.EndpointModelReferenceArgs{
				Foundation_model: map[string]interface{}{
					"name":         "doubao-1-5-thinking-***",
					"modelVersion": "250428",
				},
			},
			Tags: ark.EndpointTagArray{
				&ark.EndpointTagArgs{
					Key:   pulumi.String("env"),
					Value: pulumi.String("test"),
				},
			},
			ProjectName: pulumi.String("default"),
			RateLimit: &ark.EndpointRateLimitArgs{
				Tpm: pulumi.Int(5),
				Rpm: pulumi.Int(10),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import bytepluscc:ark/endpoint:Endpoint example "endpoint_id" ```

func GetEndpoint

func GetEndpoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EndpointState, opts ...pulumi.ResourceOption) (*Endpoint, error)

GetEndpoint gets an existing Endpoint resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEndpoint

func NewEndpoint(ctx *pulumi.Context,
	name string, args *EndpointArgs, opts ...pulumi.ResourceOption) (*Endpoint, error)

NewEndpoint registers a new resource with the given unique name, arguments, and options.

func (*Endpoint) ElementType

func (*Endpoint) ElementType() reflect.Type

func (*Endpoint) ToEndpointOutput

func (i *Endpoint) ToEndpointOutput() EndpointOutput

func (*Endpoint) ToEndpointOutputWithContext

func (i *Endpoint) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput

type EndpointArgs

type EndpointArgs struct {
	// Endpoint description
	Description pulumi.StringPtrInput
	// Endpoint access model
	ModelReference EndpointModelReferenceInput
	// Model unit. If empty, indicates postpaid; otherwise, prepaid.
	ModelUnitId pulumi.StringPtrInput
	// Content guardrail scheme
	Moderation EndpointModerationPtrInput
	// Endpoint name
	Name pulumi.StringInput
	// Project name the resource belongs to; default value is "default"
	ProjectName pulumi.StringPtrInput
	// Endpoint rate limiting
	RateLimit EndpointRateLimitPtrInput
	// Tags bound to the endpoint
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Tags EndpointTagArrayInput
}

The set of arguments for constructing a Endpoint resource.

func (EndpointArgs) ElementType

func (EndpointArgs) ElementType() reflect.Type

type EndpointArray

type EndpointArray []EndpointInput

func (EndpointArray) ElementType

func (EndpointArray) ElementType() reflect.Type

func (EndpointArray) ToEndpointArrayOutput

func (i EndpointArray) ToEndpointArrayOutput() EndpointArrayOutput

func (EndpointArray) ToEndpointArrayOutputWithContext

func (i EndpointArray) ToEndpointArrayOutputWithContext(ctx context.Context) EndpointArrayOutput

type EndpointArrayInput

type EndpointArrayInput interface {
	pulumi.Input

	ToEndpointArrayOutput() EndpointArrayOutput
	ToEndpointArrayOutputWithContext(context.Context) EndpointArrayOutput
}

EndpointArrayInput is an input type that accepts EndpointArray and EndpointArrayOutput values. You can construct a concrete instance of `EndpointArrayInput` via:

EndpointArray{ EndpointArgs{...} }

type EndpointArrayOutput

type EndpointArrayOutput struct{ *pulumi.OutputState }

func (EndpointArrayOutput) ElementType

func (EndpointArrayOutput) ElementType() reflect.Type

func (EndpointArrayOutput) Index

func (EndpointArrayOutput) ToEndpointArrayOutput

func (o EndpointArrayOutput) ToEndpointArrayOutput() EndpointArrayOutput

func (EndpointArrayOutput) ToEndpointArrayOutputWithContext

func (o EndpointArrayOutput) ToEndpointArrayOutputWithContext(ctx context.Context) EndpointArrayOutput

type EndpointCertificate

type EndpointCertificate struct {
	// X509 private certificate expiration time, represented as a timestamp in seconds
	NotAfter *int `pulumi:"notAfter"`
	// X509 private certificate activation time, represented as a timestamp in seconds
	NotBefore *int `pulumi:"notBefore"`
	// Certificate subject
	PcaHost *string `pulumi:"pcaHost"`
	// PEM format leaf certificate
	PcaInstanceCertificate *string `pulumi:"pcaInstanceCertificate"`
	// Certificate name
	PcaName *string `pulumi:"pcaName"`
	// PEM format root certificate
	PcaRootCaCertificate *string `pulumi:"pcaRootCaCertificate"`
	// Intermediate certificate and root certificate in PEM format
	PcaSubCaCertificate *string `pulumi:"pcaSubCaCertificate"`
}

type EndpointCertificateArgs

type EndpointCertificateArgs struct {
	// X509 private certificate expiration time, represented as a timestamp in seconds
	NotAfter pulumi.IntPtrInput `pulumi:"notAfter"`
	// X509 private certificate activation time, represented as a timestamp in seconds
	NotBefore pulumi.IntPtrInput `pulumi:"notBefore"`
	// Certificate subject
	PcaHost pulumi.StringPtrInput `pulumi:"pcaHost"`
	// PEM format leaf certificate
	PcaInstanceCertificate pulumi.StringPtrInput `pulumi:"pcaInstanceCertificate"`
	// Certificate name
	PcaName pulumi.StringPtrInput `pulumi:"pcaName"`
	// PEM format root certificate
	PcaRootCaCertificate pulumi.StringPtrInput `pulumi:"pcaRootCaCertificate"`
	// Intermediate certificate and root certificate in PEM format
	PcaSubCaCertificate pulumi.StringPtrInput `pulumi:"pcaSubCaCertificate"`
}

func (EndpointCertificateArgs) ElementType

func (EndpointCertificateArgs) ElementType() reflect.Type

func (EndpointCertificateArgs) ToEndpointCertificateOutput

func (i EndpointCertificateArgs) ToEndpointCertificateOutput() EndpointCertificateOutput

func (EndpointCertificateArgs) ToEndpointCertificateOutputWithContext

func (i EndpointCertificateArgs) ToEndpointCertificateOutputWithContext(ctx context.Context) EndpointCertificateOutput

func (EndpointCertificateArgs) ToEndpointCertificatePtrOutput

func (i EndpointCertificateArgs) ToEndpointCertificatePtrOutput() EndpointCertificatePtrOutput

func (EndpointCertificateArgs) ToEndpointCertificatePtrOutputWithContext

func (i EndpointCertificateArgs) ToEndpointCertificatePtrOutputWithContext(ctx context.Context) EndpointCertificatePtrOutput

type EndpointCertificateInput

type EndpointCertificateInput interface {
	pulumi.Input

	ToEndpointCertificateOutput() EndpointCertificateOutput
	ToEndpointCertificateOutputWithContext(context.Context) EndpointCertificateOutput
}

EndpointCertificateInput is an input type that accepts EndpointCertificateArgs and EndpointCertificateOutput values. You can construct a concrete instance of `EndpointCertificateInput` via:

EndpointCertificateArgs{...}

type EndpointCertificateOutput

type EndpointCertificateOutput struct{ *pulumi.OutputState }

func (EndpointCertificateOutput) ElementType

func (EndpointCertificateOutput) ElementType() reflect.Type

func (EndpointCertificateOutput) NotAfter

X509 private certificate expiration time, represented as a timestamp in seconds

func (EndpointCertificateOutput) NotBefore

X509 private certificate activation time, represented as a timestamp in seconds

func (EndpointCertificateOutput) PcaHost

Certificate subject

func (EndpointCertificateOutput) PcaInstanceCertificate

func (o EndpointCertificateOutput) PcaInstanceCertificate() pulumi.StringPtrOutput

PEM format leaf certificate

func (EndpointCertificateOutput) PcaName

Certificate name

func (EndpointCertificateOutput) PcaRootCaCertificate

func (o EndpointCertificateOutput) PcaRootCaCertificate() pulumi.StringPtrOutput

PEM format root certificate

func (EndpointCertificateOutput) PcaSubCaCertificate

func (o EndpointCertificateOutput) PcaSubCaCertificate() pulumi.StringPtrOutput

Intermediate certificate and root certificate in PEM format

func (EndpointCertificateOutput) ToEndpointCertificateOutput

func (o EndpointCertificateOutput) ToEndpointCertificateOutput() EndpointCertificateOutput

func (EndpointCertificateOutput) ToEndpointCertificateOutputWithContext

func (o EndpointCertificateOutput) ToEndpointCertificateOutputWithContext(ctx context.Context) EndpointCertificateOutput

func (EndpointCertificateOutput) ToEndpointCertificatePtrOutput

func (o EndpointCertificateOutput) ToEndpointCertificatePtrOutput() EndpointCertificatePtrOutput

func (EndpointCertificateOutput) ToEndpointCertificatePtrOutputWithContext

func (o EndpointCertificateOutput) ToEndpointCertificatePtrOutputWithContext(ctx context.Context) EndpointCertificatePtrOutput

type EndpointCertificatePtrInput

type EndpointCertificatePtrInput interface {
	pulumi.Input

	ToEndpointCertificatePtrOutput() EndpointCertificatePtrOutput
	ToEndpointCertificatePtrOutputWithContext(context.Context) EndpointCertificatePtrOutput
}

EndpointCertificatePtrInput is an input type that accepts EndpointCertificateArgs, EndpointCertificatePtr and EndpointCertificatePtrOutput values. You can construct a concrete instance of `EndpointCertificatePtrInput` via:

        EndpointCertificateArgs{...}

or:

        nil

type EndpointCertificatePtrOutput

type EndpointCertificatePtrOutput struct{ *pulumi.OutputState }

func (EndpointCertificatePtrOutput) Elem

func (EndpointCertificatePtrOutput) ElementType

func (EndpointCertificatePtrOutput) NotAfter

X509 private certificate expiration time, represented as a timestamp in seconds

func (EndpointCertificatePtrOutput) NotBefore

X509 private certificate activation time, represented as a timestamp in seconds

func (EndpointCertificatePtrOutput) PcaHost

Certificate subject

func (EndpointCertificatePtrOutput) PcaInstanceCertificate

func (o EndpointCertificatePtrOutput) PcaInstanceCertificate() pulumi.StringPtrOutput

PEM format leaf certificate

func (EndpointCertificatePtrOutput) PcaName

Certificate name

func (EndpointCertificatePtrOutput) PcaRootCaCertificate

func (o EndpointCertificatePtrOutput) PcaRootCaCertificate() pulumi.StringPtrOutput

PEM format root certificate

func (EndpointCertificatePtrOutput) PcaSubCaCertificate

func (o EndpointCertificatePtrOutput) PcaSubCaCertificate() pulumi.StringPtrOutput

Intermediate certificate and root certificate in PEM format

func (EndpointCertificatePtrOutput) ToEndpointCertificatePtrOutput

func (o EndpointCertificatePtrOutput) ToEndpointCertificatePtrOutput() EndpointCertificatePtrOutput

func (EndpointCertificatePtrOutput) ToEndpointCertificatePtrOutputWithContext

func (o EndpointCertificatePtrOutput) ToEndpointCertificatePtrOutputWithContext(ctx context.Context) EndpointCertificatePtrOutput

type EndpointInput

type EndpointInput interface {
	pulumi.Input

	ToEndpointOutput() EndpointOutput
	ToEndpointOutputWithContext(ctx context.Context) EndpointOutput
}

type EndpointMap

type EndpointMap map[string]EndpointInput

func (EndpointMap) ElementType

func (EndpointMap) ElementType() reflect.Type

func (EndpointMap) ToEndpointMapOutput

func (i EndpointMap) ToEndpointMapOutput() EndpointMapOutput

func (EndpointMap) ToEndpointMapOutputWithContext

func (i EndpointMap) ToEndpointMapOutputWithContext(ctx context.Context) EndpointMapOutput

type EndpointMapInput

type EndpointMapInput interface {
	pulumi.Input

	ToEndpointMapOutput() EndpointMapOutput
	ToEndpointMapOutputWithContext(context.Context) EndpointMapOutput
}

EndpointMapInput is an input type that accepts EndpointMap and EndpointMapOutput values. You can construct a concrete instance of `EndpointMapInput` via:

EndpointMap{ "key": EndpointArgs{...} }

type EndpointMapOutput

type EndpointMapOutput struct{ *pulumi.OutputState }

func (EndpointMapOutput) ElementType

func (EndpointMapOutput) ElementType() reflect.Type

func (EndpointMapOutput) MapIndex

func (EndpointMapOutput) ToEndpointMapOutput

func (o EndpointMapOutput) ToEndpointMapOutput() EndpointMapOutput

func (EndpointMapOutput) ToEndpointMapOutputWithContext

func (o EndpointMapOutput) ToEndpointMapOutputWithContext(ctx context.Context) EndpointMapOutput

type EndpointModelReference

type EndpointModelReference struct {
	// Custom model ID
	CustomModelId *string `pulumi:"customModelId"`
	// Base model
	FoundationModel *EndpointModelReferenceFoundationModel `pulumi:"foundationModel"`
}

type EndpointModelReferenceArgs

type EndpointModelReferenceArgs struct {
	// Custom model ID
	CustomModelId pulumi.StringPtrInput `pulumi:"customModelId"`
	// Base model
	FoundationModel EndpointModelReferenceFoundationModelPtrInput `pulumi:"foundationModel"`
}

func (EndpointModelReferenceArgs) ElementType

func (EndpointModelReferenceArgs) ElementType() reflect.Type

func (EndpointModelReferenceArgs) ToEndpointModelReferenceOutput

func (i EndpointModelReferenceArgs) ToEndpointModelReferenceOutput() EndpointModelReferenceOutput

func (EndpointModelReferenceArgs) ToEndpointModelReferenceOutputWithContext

func (i EndpointModelReferenceArgs) ToEndpointModelReferenceOutputWithContext(ctx context.Context) EndpointModelReferenceOutput

func (EndpointModelReferenceArgs) ToEndpointModelReferencePtrOutput

func (i EndpointModelReferenceArgs) ToEndpointModelReferencePtrOutput() EndpointModelReferencePtrOutput

func (EndpointModelReferenceArgs) ToEndpointModelReferencePtrOutputWithContext

func (i EndpointModelReferenceArgs) ToEndpointModelReferencePtrOutputWithContext(ctx context.Context) EndpointModelReferencePtrOutput

type EndpointModelReferenceFoundationModel

type EndpointModelReferenceFoundationModel struct {
	// Base model version
	ModelVersion *string `pulumi:"modelVersion"`
	// Base model name. Note: Model names are lowercase. The model name format for doubao 1.5 generation models is "doubao-1-5-**".
	Name *string `pulumi:"name"`
}

type EndpointModelReferenceFoundationModelArgs

type EndpointModelReferenceFoundationModelArgs struct {
	// Base model version
	ModelVersion pulumi.StringPtrInput `pulumi:"modelVersion"`
	// Base model name. Note: Model names are lowercase. The model name format for doubao 1.5 generation models is "doubao-1-5-**".
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (EndpointModelReferenceFoundationModelArgs) ElementType

func (EndpointModelReferenceFoundationModelArgs) ToEndpointModelReferenceFoundationModelOutput

func (i EndpointModelReferenceFoundationModelArgs) ToEndpointModelReferenceFoundationModelOutput() EndpointModelReferenceFoundationModelOutput

func (EndpointModelReferenceFoundationModelArgs) ToEndpointModelReferenceFoundationModelOutputWithContext

func (i EndpointModelReferenceFoundationModelArgs) ToEndpointModelReferenceFoundationModelOutputWithContext(ctx context.Context) EndpointModelReferenceFoundationModelOutput

func (EndpointModelReferenceFoundationModelArgs) ToEndpointModelReferenceFoundationModelPtrOutput

func (i EndpointModelReferenceFoundationModelArgs) ToEndpointModelReferenceFoundationModelPtrOutput() EndpointModelReferenceFoundationModelPtrOutput

func (EndpointModelReferenceFoundationModelArgs) ToEndpointModelReferenceFoundationModelPtrOutputWithContext

func (i EndpointModelReferenceFoundationModelArgs) ToEndpointModelReferenceFoundationModelPtrOutputWithContext(ctx context.Context) EndpointModelReferenceFoundationModelPtrOutput

type EndpointModelReferenceFoundationModelInput

type EndpointModelReferenceFoundationModelInput interface {
	pulumi.Input

	ToEndpointModelReferenceFoundationModelOutput() EndpointModelReferenceFoundationModelOutput
	ToEndpointModelReferenceFoundationModelOutputWithContext(context.Context) EndpointModelReferenceFoundationModelOutput
}

EndpointModelReferenceFoundationModelInput is an input type that accepts EndpointModelReferenceFoundationModelArgs and EndpointModelReferenceFoundationModelOutput values. You can construct a concrete instance of `EndpointModelReferenceFoundationModelInput` via:

EndpointModelReferenceFoundationModelArgs{...}

type EndpointModelReferenceFoundationModelOutput

type EndpointModelReferenceFoundationModelOutput struct{ *pulumi.OutputState }

func (EndpointModelReferenceFoundationModelOutput) ElementType

func (EndpointModelReferenceFoundationModelOutput) ModelVersion

Base model version

func (EndpointModelReferenceFoundationModelOutput) Name

Base model name. Note: Model names are lowercase. The model name format for doubao 1.5 generation models is "doubao-1-5-**".

func (EndpointModelReferenceFoundationModelOutput) ToEndpointModelReferenceFoundationModelOutput

func (o EndpointModelReferenceFoundationModelOutput) ToEndpointModelReferenceFoundationModelOutput() EndpointModelReferenceFoundationModelOutput

func (EndpointModelReferenceFoundationModelOutput) ToEndpointModelReferenceFoundationModelOutputWithContext

func (o EndpointModelReferenceFoundationModelOutput) ToEndpointModelReferenceFoundationModelOutputWithContext(ctx context.Context) EndpointModelReferenceFoundationModelOutput

func (EndpointModelReferenceFoundationModelOutput) ToEndpointModelReferenceFoundationModelPtrOutput

func (o EndpointModelReferenceFoundationModelOutput) ToEndpointModelReferenceFoundationModelPtrOutput() EndpointModelReferenceFoundationModelPtrOutput

func (EndpointModelReferenceFoundationModelOutput) ToEndpointModelReferenceFoundationModelPtrOutputWithContext

func (o EndpointModelReferenceFoundationModelOutput) ToEndpointModelReferenceFoundationModelPtrOutputWithContext(ctx context.Context) EndpointModelReferenceFoundationModelPtrOutput

type EndpointModelReferenceFoundationModelPtrInput

type EndpointModelReferenceFoundationModelPtrInput interface {
	pulumi.Input

	ToEndpointModelReferenceFoundationModelPtrOutput() EndpointModelReferenceFoundationModelPtrOutput
	ToEndpointModelReferenceFoundationModelPtrOutputWithContext(context.Context) EndpointModelReferenceFoundationModelPtrOutput
}

EndpointModelReferenceFoundationModelPtrInput is an input type that accepts EndpointModelReferenceFoundationModelArgs, EndpointModelReferenceFoundationModelPtr and EndpointModelReferenceFoundationModelPtrOutput values. You can construct a concrete instance of `EndpointModelReferenceFoundationModelPtrInput` via:

        EndpointModelReferenceFoundationModelArgs{...}

or:

        nil

type EndpointModelReferenceFoundationModelPtrOutput

type EndpointModelReferenceFoundationModelPtrOutput struct{ *pulumi.OutputState }

func (EndpointModelReferenceFoundationModelPtrOutput) Elem

func (EndpointModelReferenceFoundationModelPtrOutput) ElementType

func (EndpointModelReferenceFoundationModelPtrOutput) ModelVersion

Base model version

func (EndpointModelReferenceFoundationModelPtrOutput) Name

Base model name. Note: Model names are lowercase. The model name format for doubao 1.5 generation models is "doubao-1-5-**".

func (EndpointModelReferenceFoundationModelPtrOutput) ToEndpointModelReferenceFoundationModelPtrOutput

func (o EndpointModelReferenceFoundationModelPtrOutput) ToEndpointModelReferenceFoundationModelPtrOutput() EndpointModelReferenceFoundationModelPtrOutput

func (EndpointModelReferenceFoundationModelPtrOutput) ToEndpointModelReferenceFoundationModelPtrOutputWithContext

func (o EndpointModelReferenceFoundationModelPtrOutput) ToEndpointModelReferenceFoundationModelPtrOutputWithContext(ctx context.Context) EndpointModelReferenceFoundationModelPtrOutput

type EndpointModelReferenceInput

type EndpointModelReferenceInput interface {
	pulumi.Input

	ToEndpointModelReferenceOutput() EndpointModelReferenceOutput
	ToEndpointModelReferenceOutputWithContext(context.Context) EndpointModelReferenceOutput
}

EndpointModelReferenceInput is an input type that accepts EndpointModelReferenceArgs and EndpointModelReferenceOutput values. You can construct a concrete instance of `EndpointModelReferenceInput` via:

EndpointModelReferenceArgs{...}

type EndpointModelReferenceOutput

type EndpointModelReferenceOutput struct{ *pulumi.OutputState }

func (EndpointModelReferenceOutput) CustomModelId

Custom model ID

func (EndpointModelReferenceOutput) ElementType

func (EndpointModelReferenceOutput) FoundationModel

Base model

func (EndpointModelReferenceOutput) ToEndpointModelReferenceOutput

func (o EndpointModelReferenceOutput) ToEndpointModelReferenceOutput() EndpointModelReferenceOutput

func (EndpointModelReferenceOutput) ToEndpointModelReferenceOutputWithContext

func (o EndpointModelReferenceOutput) ToEndpointModelReferenceOutputWithContext(ctx context.Context) EndpointModelReferenceOutput

func (EndpointModelReferenceOutput) ToEndpointModelReferencePtrOutput

func (o EndpointModelReferenceOutput) ToEndpointModelReferencePtrOutput() EndpointModelReferencePtrOutput

func (EndpointModelReferenceOutput) ToEndpointModelReferencePtrOutputWithContext

func (o EndpointModelReferenceOutput) ToEndpointModelReferencePtrOutputWithContext(ctx context.Context) EndpointModelReferencePtrOutput

type EndpointModelReferencePtrInput

type EndpointModelReferencePtrInput interface {
	pulumi.Input

	ToEndpointModelReferencePtrOutput() EndpointModelReferencePtrOutput
	ToEndpointModelReferencePtrOutputWithContext(context.Context) EndpointModelReferencePtrOutput
}

EndpointModelReferencePtrInput is an input type that accepts EndpointModelReferenceArgs, EndpointModelReferencePtr and EndpointModelReferencePtrOutput values. You can construct a concrete instance of `EndpointModelReferencePtrInput` via:

        EndpointModelReferenceArgs{...}

or:

        nil

type EndpointModelReferencePtrOutput

type EndpointModelReferencePtrOutput struct{ *pulumi.OutputState }

func (EndpointModelReferencePtrOutput) CustomModelId

Custom model ID

func (EndpointModelReferencePtrOutput) Elem

func (EndpointModelReferencePtrOutput) ElementType

func (EndpointModelReferencePtrOutput) FoundationModel

Base model

func (EndpointModelReferencePtrOutput) ToEndpointModelReferencePtrOutput

func (o EndpointModelReferencePtrOutput) ToEndpointModelReferencePtrOutput() EndpointModelReferencePtrOutput

func (EndpointModelReferencePtrOutput) ToEndpointModelReferencePtrOutputWithContext

func (o EndpointModelReferencePtrOutput) ToEndpointModelReferencePtrOutputWithContext(ctx context.Context) EndpointModelReferencePtrOutput

type EndpointModeration

type EndpointModeration struct {
	// Content safety guardrail scheme. Values: Default: default scheme. Lower latency, broadly covers general content safety requirements; Basic: basic scheme (public beta). Supports providing triggered risk categories in interface responses, currently only includes two risk types: severe violations and aggressive behavior. Note: If using streaming interface calls, this scheme is not recommended, as it will increase the length of each output fragment and raise latency
	Strategy *string `pulumi:"strategy"`
}

type EndpointModerationArgs

type EndpointModerationArgs struct {
	// Content safety guardrail scheme. Values: Default: default scheme. Lower latency, broadly covers general content safety requirements; Basic: basic scheme (public beta). Supports providing triggered risk categories in interface responses, currently only includes two risk types: severe violations and aggressive behavior. Note: If using streaming interface calls, this scheme is not recommended, as it will increase the length of each output fragment and raise latency
	Strategy pulumi.StringPtrInput `pulumi:"strategy"`
}

func (EndpointModerationArgs) ElementType

func (EndpointModerationArgs) ElementType() reflect.Type

func (EndpointModerationArgs) ToEndpointModerationOutput

func (i EndpointModerationArgs) ToEndpointModerationOutput() EndpointModerationOutput

func (EndpointModerationArgs) ToEndpointModerationOutputWithContext

func (i EndpointModerationArgs) ToEndpointModerationOutputWithContext(ctx context.Context) EndpointModerationOutput

func (EndpointModerationArgs) ToEndpointModerationPtrOutput

func (i EndpointModerationArgs) ToEndpointModerationPtrOutput() EndpointModerationPtrOutput

func (EndpointModerationArgs) ToEndpointModerationPtrOutputWithContext

func (i EndpointModerationArgs) ToEndpointModerationPtrOutputWithContext(ctx context.Context) EndpointModerationPtrOutput

type EndpointModerationInput

type EndpointModerationInput interface {
	pulumi.Input

	ToEndpointModerationOutput() EndpointModerationOutput
	ToEndpointModerationOutputWithContext(context.Context) EndpointModerationOutput
}

EndpointModerationInput is an input type that accepts EndpointModerationArgs and EndpointModerationOutput values. You can construct a concrete instance of `EndpointModerationInput` via:

EndpointModerationArgs{...}

type EndpointModerationOutput

type EndpointModerationOutput struct{ *pulumi.OutputState }

func (EndpointModerationOutput) ElementType

func (EndpointModerationOutput) ElementType() reflect.Type

func (EndpointModerationOutput) Strategy

Content safety guardrail scheme. Values: Default: default scheme. Lower latency, broadly covers general content safety requirements; Basic: basic scheme (public beta). Supports providing triggered risk categories in interface responses, currently only includes two risk types: severe violations and aggressive behavior. Note: If using streaming interface calls, this scheme is not recommended, as it will increase the length of each output fragment and raise latency

func (EndpointModerationOutput) ToEndpointModerationOutput

func (o EndpointModerationOutput) ToEndpointModerationOutput() EndpointModerationOutput

func (EndpointModerationOutput) ToEndpointModerationOutputWithContext

func (o EndpointModerationOutput) ToEndpointModerationOutputWithContext(ctx context.Context) EndpointModerationOutput

func (EndpointModerationOutput) ToEndpointModerationPtrOutput

func (o EndpointModerationOutput) ToEndpointModerationPtrOutput() EndpointModerationPtrOutput

func (EndpointModerationOutput) ToEndpointModerationPtrOutputWithContext

func (o EndpointModerationOutput) ToEndpointModerationPtrOutputWithContext(ctx context.Context) EndpointModerationPtrOutput

type EndpointModerationPtrInput

type EndpointModerationPtrInput interface {
	pulumi.Input

	ToEndpointModerationPtrOutput() EndpointModerationPtrOutput
	ToEndpointModerationPtrOutputWithContext(context.Context) EndpointModerationPtrOutput
}

EndpointModerationPtrInput is an input type that accepts EndpointModerationArgs, EndpointModerationPtr and EndpointModerationPtrOutput values. You can construct a concrete instance of `EndpointModerationPtrInput` via:

        EndpointModerationArgs{...}

or:

        nil

type EndpointModerationPtrOutput

type EndpointModerationPtrOutput struct{ *pulumi.OutputState }

func (EndpointModerationPtrOutput) Elem

func (EndpointModerationPtrOutput) ElementType

func (EndpointModerationPtrOutput) Strategy

Content safety guardrail scheme. Values: Default: default scheme. Lower latency, broadly covers general content safety requirements; Basic: basic scheme (public beta). Supports providing triggered risk categories in interface responses, currently only includes two risk types: severe violations and aggressive behavior. Note: If using streaming interface calls, this scheme is not recommended, as it will increase the length of each output fragment and raise latency

func (EndpointModerationPtrOutput) ToEndpointModerationPtrOutput

func (o EndpointModerationPtrOutput) ToEndpointModerationPtrOutput() EndpointModerationPtrOutput

func (EndpointModerationPtrOutput) ToEndpointModerationPtrOutputWithContext

func (o EndpointModerationPtrOutput) ToEndpointModerationPtrOutputWithContext(ctx context.Context) EndpointModerationPtrOutput

type EndpointOutput

type EndpointOutput struct{ *pulumi.OutputState }

func (EndpointOutput) BatchOnly

func (o EndpointOutput) BatchOnly() pulumi.BoolOutput

Whether only BatchChat is supported. If true, only batch inference interfaces can be accessed; otherwise, only online inference interfaces can be accessed

func (EndpointOutput) Certificate

func (o EndpointOutput) Certificate() EndpointCertificateOutput

Certificate information

func (EndpointOutput) CreateTime

func (o EndpointOutput) CreateTime() pulumi.StringOutput

Endpoint creation time, RFC3339 format

func (EndpointOutput) Description

func (o EndpointOutput) Description() pulumi.StringOutput

Endpoint description

func (EndpointOutput) ElementType

func (EndpointOutput) ElementType() reflect.Type

func (EndpointOutput) EndpointId

func (o EndpointOutput) EndpointId() pulumi.StringOutput

Inference access point ID.

func (EndpointOutput) EndpointModelType

func (o EndpointOutput) EndpointModelType() pulumi.StringOutput

Access point model type. Options: FoundationModel for base model; CustomModel for custom model.

func (EndpointOutput) ModelReference

func (o EndpointOutput) ModelReference() EndpointModelReferenceOutput

Endpoint access model

func (EndpointOutput) ModelUnitId

func (o EndpointOutput) ModelUnitId() pulumi.StringOutput

Model unit. If empty, indicates postpaid; otherwise, prepaid.

func (EndpointOutput) Moderation

Content guardrail scheme

func (EndpointOutput) Name

Endpoint name

func (EndpointOutput) ProjectName

func (o EndpointOutput) ProjectName() pulumi.StringOutput

Project name the resource belongs to; default value is "default"

func (EndpointOutput) RateLimit

Endpoint rate limiting

func (EndpointOutput) RollingId

func (o EndpointOutput) RollingId() pulumi.StringOutput

Endpoint switch ID

func (EndpointOutput) ScaleTierId

func (o EndpointOutput) ScaleTierId() pulumi.StringOutput

If a TPM protection package exists, this is the TPM protection package ID.

func (EndpointOutput) Status

func (o EndpointOutput) Status() pulumi.StringOutput

Endpoint status

func (EndpointOutput) StatusReason

func (o EndpointOutput) StatusReason() pulumi.StringOutput

Additional status information

func (EndpointOutput) SupportRolling

func (o EndpointOutput) SupportRolling() pulumi.BoolOutput

Whether endpoint supports switching model versions

func (EndpointOutput) SupportScaleTier

func (o EndpointOutput) SupportScaleTier() pulumi.BoolOutput

Whether TPM protection package is supported

func (EndpointOutput) Tags

Tags bound to the endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

func (EndpointOutput) ToEndpointOutput

func (o EndpointOutput) ToEndpointOutput() EndpointOutput

func (EndpointOutput) ToEndpointOutputWithContext

func (o EndpointOutput) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput

func (EndpointOutput) UpdateTime

func (o EndpointOutput) UpdateTime() pulumi.StringOutput

Endpoint update time, RFC3339 format

type EndpointRateLimit

type EndpointRateLimit struct {
	// Requests Per Minute, number of requests per minute
	Rpm *int `pulumi:"rpm"`
	// Tokens Per Minute, number of tokens requested per minute
	Tpm *int `pulumi:"tpm"`
}

type EndpointRateLimitArgs

type EndpointRateLimitArgs struct {
	// Requests Per Minute, number of requests per minute
	Rpm pulumi.IntPtrInput `pulumi:"rpm"`
	// Tokens Per Minute, number of tokens requested per minute
	Tpm pulumi.IntPtrInput `pulumi:"tpm"`
}

func (EndpointRateLimitArgs) ElementType

func (EndpointRateLimitArgs) ElementType() reflect.Type

func (EndpointRateLimitArgs) ToEndpointRateLimitOutput

func (i EndpointRateLimitArgs) ToEndpointRateLimitOutput() EndpointRateLimitOutput

func (EndpointRateLimitArgs) ToEndpointRateLimitOutputWithContext

func (i EndpointRateLimitArgs) ToEndpointRateLimitOutputWithContext(ctx context.Context) EndpointRateLimitOutput

func (EndpointRateLimitArgs) ToEndpointRateLimitPtrOutput

func (i EndpointRateLimitArgs) ToEndpointRateLimitPtrOutput() EndpointRateLimitPtrOutput

func (EndpointRateLimitArgs) ToEndpointRateLimitPtrOutputWithContext

func (i EndpointRateLimitArgs) ToEndpointRateLimitPtrOutputWithContext(ctx context.Context) EndpointRateLimitPtrOutput

type EndpointRateLimitInput

type EndpointRateLimitInput interface {
	pulumi.Input

	ToEndpointRateLimitOutput() EndpointRateLimitOutput
	ToEndpointRateLimitOutputWithContext(context.Context) EndpointRateLimitOutput
}

EndpointRateLimitInput is an input type that accepts EndpointRateLimitArgs and EndpointRateLimitOutput values. You can construct a concrete instance of `EndpointRateLimitInput` via:

EndpointRateLimitArgs{...}

type EndpointRateLimitOutput

type EndpointRateLimitOutput struct{ *pulumi.OutputState }

func (EndpointRateLimitOutput) ElementType

func (EndpointRateLimitOutput) ElementType() reflect.Type

func (EndpointRateLimitOutput) Rpm

Requests Per Minute, number of requests per minute

func (EndpointRateLimitOutput) ToEndpointRateLimitOutput

func (o EndpointRateLimitOutput) ToEndpointRateLimitOutput() EndpointRateLimitOutput

func (EndpointRateLimitOutput) ToEndpointRateLimitOutputWithContext

func (o EndpointRateLimitOutput) ToEndpointRateLimitOutputWithContext(ctx context.Context) EndpointRateLimitOutput

func (EndpointRateLimitOutput) ToEndpointRateLimitPtrOutput

func (o EndpointRateLimitOutput) ToEndpointRateLimitPtrOutput() EndpointRateLimitPtrOutput

func (EndpointRateLimitOutput) ToEndpointRateLimitPtrOutputWithContext

func (o EndpointRateLimitOutput) ToEndpointRateLimitPtrOutputWithContext(ctx context.Context) EndpointRateLimitPtrOutput

func (EndpointRateLimitOutput) Tpm

Tokens Per Minute, number of tokens requested per minute

type EndpointRateLimitPtrInput

type EndpointRateLimitPtrInput interface {
	pulumi.Input

	ToEndpointRateLimitPtrOutput() EndpointRateLimitPtrOutput
	ToEndpointRateLimitPtrOutputWithContext(context.Context) EndpointRateLimitPtrOutput
}

EndpointRateLimitPtrInput is an input type that accepts EndpointRateLimitArgs, EndpointRateLimitPtr and EndpointRateLimitPtrOutput values. You can construct a concrete instance of `EndpointRateLimitPtrInput` via:

        EndpointRateLimitArgs{...}

or:

        nil

type EndpointRateLimitPtrOutput

type EndpointRateLimitPtrOutput struct{ *pulumi.OutputState }

func (EndpointRateLimitPtrOutput) Elem

func (EndpointRateLimitPtrOutput) ElementType

func (EndpointRateLimitPtrOutput) ElementType() reflect.Type

func (EndpointRateLimitPtrOutput) Rpm

Requests Per Minute, number of requests per minute

func (EndpointRateLimitPtrOutput) ToEndpointRateLimitPtrOutput

func (o EndpointRateLimitPtrOutput) ToEndpointRateLimitPtrOutput() EndpointRateLimitPtrOutput

func (EndpointRateLimitPtrOutput) ToEndpointRateLimitPtrOutputWithContext

func (o EndpointRateLimitPtrOutput) ToEndpointRateLimitPtrOutputWithContext(ctx context.Context) EndpointRateLimitPtrOutput

func (EndpointRateLimitPtrOutput) Tpm

Tokens Per Minute, number of tokens requested per minute

type EndpointState

type EndpointState struct {
	// Whether only BatchChat is supported. If true, only batch inference interfaces can be accessed; otherwise, only online inference interfaces can be accessed
	BatchOnly pulumi.BoolPtrInput
	// Certificate information
	Certificate EndpointCertificatePtrInput
	// Endpoint creation time, RFC3339 format
	CreateTime pulumi.StringPtrInput
	// Endpoint description
	Description pulumi.StringPtrInput
	// Inference access point ID.
	EndpointId pulumi.StringPtrInput
	// Access point model type. Options: FoundationModel for base model; CustomModel for custom model.
	EndpointModelType pulumi.StringPtrInput
	// Endpoint access model
	ModelReference EndpointModelReferencePtrInput
	// Model unit. If empty, indicates postpaid; otherwise, prepaid.
	ModelUnitId pulumi.StringPtrInput
	// Content guardrail scheme
	Moderation EndpointModerationPtrInput
	// Endpoint name
	Name pulumi.StringPtrInput
	// Project name the resource belongs to; default value is "default"
	ProjectName pulumi.StringPtrInput
	// Endpoint rate limiting
	RateLimit EndpointRateLimitPtrInput
	// Endpoint switch ID
	RollingId pulumi.StringPtrInput
	// If a TPM protection package exists, this is the TPM protection package ID.
	ScaleTierId pulumi.StringPtrInput
	// Endpoint status
	Status pulumi.StringPtrInput
	// Additional status information
	StatusReason pulumi.StringPtrInput
	// Whether endpoint supports switching model versions
	SupportRolling pulumi.BoolPtrInput
	// Whether TPM protection package is supported
	SupportScaleTier pulumi.BoolPtrInput
	// Tags bound to the endpoint
	// Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
	Tags EndpointTagArrayInput
	// Endpoint update time, RFC3339 format
	UpdateTime pulumi.StringPtrInput
}

func (EndpointState) ElementType

func (EndpointState) ElementType() reflect.Type

type EndpointTag

type EndpointTag struct {
	// Tag key
	Key *string `pulumi:"key"`
	// Tag value
	Value *string `pulumi:"value"`
}

type EndpointTagArgs

type EndpointTagArgs struct {
	// Tag key
	Key pulumi.StringPtrInput `pulumi:"key"`
	// Tag value
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (EndpointTagArgs) ElementType

func (EndpointTagArgs) ElementType() reflect.Type

func (EndpointTagArgs) ToEndpointTagOutput

func (i EndpointTagArgs) ToEndpointTagOutput() EndpointTagOutput

func (EndpointTagArgs) ToEndpointTagOutputWithContext

func (i EndpointTagArgs) ToEndpointTagOutputWithContext(ctx context.Context) EndpointTagOutput

type EndpointTagArray

type EndpointTagArray []EndpointTagInput

func (EndpointTagArray) ElementType

func (EndpointTagArray) ElementType() reflect.Type

func (EndpointTagArray) ToEndpointTagArrayOutput

func (i EndpointTagArray) ToEndpointTagArrayOutput() EndpointTagArrayOutput

func (EndpointTagArray) ToEndpointTagArrayOutputWithContext

func (i EndpointTagArray) ToEndpointTagArrayOutputWithContext(ctx context.Context) EndpointTagArrayOutput

type EndpointTagArrayInput

type EndpointTagArrayInput interface {
	pulumi.Input

	ToEndpointTagArrayOutput() EndpointTagArrayOutput
	ToEndpointTagArrayOutputWithContext(context.Context) EndpointTagArrayOutput
}

EndpointTagArrayInput is an input type that accepts EndpointTagArray and EndpointTagArrayOutput values. You can construct a concrete instance of `EndpointTagArrayInput` via:

EndpointTagArray{ EndpointTagArgs{...} }

type EndpointTagArrayOutput

type EndpointTagArrayOutput struct{ *pulumi.OutputState }

func (EndpointTagArrayOutput) ElementType

func (EndpointTagArrayOutput) ElementType() reflect.Type

func (EndpointTagArrayOutput) Index

func (EndpointTagArrayOutput) ToEndpointTagArrayOutput

func (o EndpointTagArrayOutput) ToEndpointTagArrayOutput() EndpointTagArrayOutput

func (EndpointTagArrayOutput) ToEndpointTagArrayOutputWithContext

func (o EndpointTagArrayOutput) ToEndpointTagArrayOutputWithContext(ctx context.Context) EndpointTagArrayOutput

type EndpointTagInput

type EndpointTagInput interface {
	pulumi.Input

	ToEndpointTagOutput() EndpointTagOutput
	ToEndpointTagOutputWithContext(context.Context) EndpointTagOutput
}

EndpointTagInput is an input type that accepts EndpointTagArgs and EndpointTagOutput values. You can construct a concrete instance of `EndpointTagInput` via:

EndpointTagArgs{...}

type EndpointTagOutput

type EndpointTagOutput struct{ *pulumi.OutputState }

func (EndpointTagOutput) ElementType

func (EndpointTagOutput) ElementType() reflect.Type

func (EndpointTagOutput) Key

Tag key

func (EndpointTagOutput) ToEndpointTagOutput

func (o EndpointTagOutput) ToEndpointTagOutput() EndpointTagOutput

func (EndpointTagOutput) ToEndpointTagOutputWithContext

func (o EndpointTagOutput) ToEndpointTagOutputWithContext(ctx context.Context) EndpointTagOutput

func (EndpointTagOutput) Value

Tag value

type GetEndpointCertificate

type GetEndpointCertificate struct {
	// X509 private certificate expiration time, represented as a timestamp in seconds
	NotAfter int `pulumi:"notAfter"`
	// X509 private certificate activation time, represented as a timestamp in seconds
	NotBefore int `pulumi:"notBefore"`
	// Certificate subject
	PcaHost string `pulumi:"pcaHost"`
	// PEM format leaf certificate
	PcaInstanceCertificate string `pulumi:"pcaInstanceCertificate"`
	// Certificate name
	PcaName string `pulumi:"pcaName"`
	// PEM format root certificate
	PcaRootCaCertificate string `pulumi:"pcaRootCaCertificate"`
	// Intermediate certificate and root certificate in PEM format
	PcaSubCaCertificate string `pulumi:"pcaSubCaCertificate"`
}

type GetEndpointCertificateArgs

type GetEndpointCertificateArgs struct {
	// X509 private certificate expiration time, represented as a timestamp in seconds
	NotAfter pulumi.IntInput `pulumi:"notAfter"`
	// X509 private certificate activation time, represented as a timestamp in seconds
	NotBefore pulumi.IntInput `pulumi:"notBefore"`
	// Certificate subject
	PcaHost pulumi.StringInput `pulumi:"pcaHost"`
	// PEM format leaf certificate
	PcaInstanceCertificate pulumi.StringInput `pulumi:"pcaInstanceCertificate"`
	// Certificate name
	PcaName pulumi.StringInput `pulumi:"pcaName"`
	// PEM format root certificate
	PcaRootCaCertificate pulumi.StringInput `pulumi:"pcaRootCaCertificate"`
	// Intermediate certificate and root certificate in PEM format
	PcaSubCaCertificate pulumi.StringInput `pulumi:"pcaSubCaCertificate"`
}

func (GetEndpointCertificateArgs) ElementType

func (GetEndpointCertificateArgs) ElementType() reflect.Type

func (GetEndpointCertificateArgs) ToGetEndpointCertificateOutput

func (i GetEndpointCertificateArgs) ToGetEndpointCertificateOutput() GetEndpointCertificateOutput

func (GetEndpointCertificateArgs) ToGetEndpointCertificateOutputWithContext

func (i GetEndpointCertificateArgs) ToGetEndpointCertificateOutputWithContext(ctx context.Context) GetEndpointCertificateOutput

type GetEndpointCertificateInput

type GetEndpointCertificateInput interface {
	pulumi.Input

	ToGetEndpointCertificateOutput() GetEndpointCertificateOutput
	ToGetEndpointCertificateOutputWithContext(context.Context) GetEndpointCertificateOutput
}

GetEndpointCertificateInput is an input type that accepts GetEndpointCertificateArgs and GetEndpointCertificateOutput values. You can construct a concrete instance of `GetEndpointCertificateInput` via:

GetEndpointCertificateArgs{...}

type GetEndpointCertificateOutput

type GetEndpointCertificateOutput struct{ *pulumi.OutputState }

func (GetEndpointCertificateOutput) ElementType

func (GetEndpointCertificateOutput) NotAfter

X509 private certificate expiration time, represented as a timestamp in seconds

func (GetEndpointCertificateOutput) NotBefore

X509 private certificate activation time, represented as a timestamp in seconds

func (GetEndpointCertificateOutput) PcaHost

Certificate subject

func (GetEndpointCertificateOutput) PcaInstanceCertificate

func (o GetEndpointCertificateOutput) PcaInstanceCertificate() pulumi.StringOutput

PEM format leaf certificate

func (GetEndpointCertificateOutput) PcaName

Certificate name

func (GetEndpointCertificateOutput) PcaRootCaCertificate

func (o GetEndpointCertificateOutput) PcaRootCaCertificate() pulumi.StringOutput

PEM format root certificate

func (GetEndpointCertificateOutput) PcaSubCaCertificate

func (o GetEndpointCertificateOutput) PcaSubCaCertificate() pulumi.StringOutput

Intermediate certificate and root certificate in PEM format

func (GetEndpointCertificateOutput) ToGetEndpointCertificateOutput

func (o GetEndpointCertificateOutput) ToGetEndpointCertificateOutput() GetEndpointCertificateOutput

func (GetEndpointCertificateOutput) ToGetEndpointCertificateOutputWithContext

func (o GetEndpointCertificateOutput) ToGetEndpointCertificateOutputWithContext(ctx context.Context) GetEndpointCertificateOutput

type GetEndpointModelReference

type GetEndpointModelReference struct {
	// Custom model ID
	CustomModelId string `pulumi:"customModelId"`
	// Base model
	FoundationModel GetEndpointModelReferenceFoundationModel `pulumi:"foundationModel"`
}

type GetEndpointModelReferenceArgs

type GetEndpointModelReferenceArgs struct {
	// Custom model ID
	CustomModelId pulumi.StringInput `pulumi:"customModelId"`
	// Base model
	FoundationModel GetEndpointModelReferenceFoundationModelInput `pulumi:"foundationModel"`
}

func (GetEndpointModelReferenceArgs) ElementType

func (GetEndpointModelReferenceArgs) ToGetEndpointModelReferenceOutput

func (i GetEndpointModelReferenceArgs) ToGetEndpointModelReferenceOutput() GetEndpointModelReferenceOutput

func (GetEndpointModelReferenceArgs) ToGetEndpointModelReferenceOutputWithContext

func (i GetEndpointModelReferenceArgs) ToGetEndpointModelReferenceOutputWithContext(ctx context.Context) GetEndpointModelReferenceOutput

type GetEndpointModelReferenceFoundationModel

type GetEndpointModelReferenceFoundationModel struct {
	// Base model version
	ModelVersion string `pulumi:"modelVersion"`
	// Base model name. Note: Model names are lowercase. The model name format for doubao 1.5 generation models is "doubao-1-5-**".
	Name string `pulumi:"name"`
}

type GetEndpointModelReferenceFoundationModelArgs

type GetEndpointModelReferenceFoundationModelArgs struct {
	// Base model version
	ModelVersion pulumi.StringInput `pulumi:"modelVersion"`
	// Base model name. Note: Model names are lowercase. The model name format for doubao 1.5 generation models is "doubao-1-5-**".
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetEndpointModelReferenceFoundationModelArgs) ElementType

func (GetEndpointModelReferenceFoundationModelArgs) ToGetEndpointModelReferenceFoundationModelOutput

func (i GetEndpointModelReferenceFoundationModelArgs) ToGetEndpointModelReferenceFoundationModelOutput() GetEndpointModelReferenceFoundationModelOutput

func (GetEndpointModelReferenceFoundationModelArgs) ToGetEndpointModelReferenceFoundationModelOutputWithContext

func (i GetEndpointModelReferenceFoundationModelArgs) ToGetEndpointModelReferenceFoundationModelOutputWithContext(ctx context.Context) GetEndpointModelReferenceFoundationModelOutput

type GetEndpointModelReferenceFoundationModelInput

type GetEndpointModelReferenceFoundationModelInput interface {
	pulumi.Input

	ToGetEndpointModelReferenceFoundationModelOutput() GetEndpointModelReferenceFoundationModelOutput
	ToGetEndpointModelReferenceFoundationModelOutputWithContext(context.Context) GetEndpointModelReferenceFoundationModelOutput
}

GetEndpointModelReferenceFoundationModelInput is an input type that accepts GetEndpointModelReferenceFoundationModelArgs and GetEndpointModelReferenceFoundationModelOutput values. You can construct a concrete instance of `GetEndpointModelReferenceFoundationModelInput` via:

GetEndpointModelReferenceFoundationModelArgs{...}

type GetEndpointModelReferenceFoundationModelOutput

type GetEndpointModelReferenceFoundationModelOutput struct{ *pulumi.OutputState }

func (GetEndpointModelReferenceFoundationModelOutput) ElementType

func (GetEndpointModelReferenceFoundationModelOutput) ModelVersion

Base model version

func (GetEndpointModelReferenceFoundationModelOutput) Name

Base model name. Note: Model names are lowercase. The model name format for doubao 1.5 generation models is "doubao-1-5-**".

func (GetEndpointModelReferenceFoundationModelOutput) ToGetEndpointModelReferenceFoundationModelOutput

func (o GetEndpointModelReferenceFoundationModelOutput) ToGetEndpointModelReferenceFoundationModelOutput() GetEndpointModelReferenceFoundationModelOutput

func (GetEndpointModelReferenceFoundationModelOutput) ToGetEndpointModelReferenceFoundationModelOutputWithContext

func (o GetEndpointModelReferenceFoundationModelOutput) ToGetEndpointModelReferenceFoundationModelOutputWithContext(ctx context.Context) GetEndpointModelReferenceFoundationModelOutput

type GetEndpointModelReferenceInput

type GetEndpointModelReferenceInput interface {
	pulumi.Input

	ToGetEndpointModelReferenceOutput() GetEndpointModelReferenceOutput
	ToGetEndpointModelReferenceOutputWithContext(context.Context) GetEndpointModelReferenceOutput
}

GetEndpointModelReferenceInput is an input type that accepts GetEndpointModelReferenceArgs and GetEndpointModelReferenceOutput values. You can construct a concrete instance of `GetEndpointModelReferenceInput` via:

GetEndpointModelReferenceArgs{...}

type GetEndpointModelReferenceOutput

type GetEndpointModelReferenceOutput struct{ *pulumi.OutputState }

func (GetEndpointModelReferenceOutput) CustomModelId

Custom model ID

func (GetEndpointModelReferenceOutput) ElementType

func (GetEndpointModelReferenceOutput) FoundationModel

Base model

func (GetEndpointModelReferenceOutput) ToGetEndpointModelReferenceOutput

func (o GetEndpointModelReferenceOutput) ToGetEndpointModelReferenceOutput() GetEndpointModelReferenceOutput

func (GetEndpointModelReferenceOutput) ToGetEndpointModelReferenceOutputWithContext

func (o GetEndpointModelReferenceOutput) ToGetEndpointModelReferenceOutputWithContext(ctx context.Context) GetEndpointModelReferenceOutput

type GetEndpointModeration

type GetEndpointModeration struct {
	// Content safety guardrail scheme. Values: Default: default scheme. Lower latency, broadly covers general content safety requirements; Basic: basic scheme (public beta). Supports providing triggered risk categories in interface responses, currently only includes two risk types: severe violations and aggressive behavior. Note: If using streaming interface calls, this scheme is not recommended, as it will increase the length of each output fragment and raise latency
	Strategy string `pulumi:"strategy"`
}

type GetEndpointModerationArgs

type GetEndpointModerationArgs struct {
	// Content safety guardrail scheme. Values: Default: default scheme. Lower latency, broadly covers general content safety requirements; Basic: basic scheme (public beta). Supports providing triggered risk categories in interface responses, currently only includes two risk types: severe violations and aggressive behavior. Note: If using streaming interface calls, this scheme is not recommended, as it will increase the length of each output fragment and raise latency
	Strategy pulumi.StringInput `pulumi:"strategy"`
}

func (GetEndpointModerationArgs) ElementType

func (GetEndpointModerationArgs) ElementType() reflect.Type

func (GetEndpointModerationArgs) ToGetEndpointModerationOutput

func (i GetEndpointModerationArgs) ToGetEndpointModerationOutput() GetEndpointModerationOutput

func (GetEndpointModerationArgs) ToGetEndpointModerationOutputWithContext

func (i GetEndpointModerationArgs) ToGetEndpointModerationOutputWithContext(ctx context.Context) GetEndpointModerationOutput

type GetEndpointModerationInput

type GetEndpointModerationInput interface {
	pulumi.Input

	ToGetEndpointModerationOutput() GetEndpointModerationOutput
	ToGetEndpointModerationOutputWithContext(context.Context) GetEndpointModerationOutput
}

GetEndpointModerationInput is an input type that accepts GetEndpointModerationArgs and GetEndpointModerationOutput values. You can construct a concrete instance of `GetEndpointModerationInput` via:

GetEndpointModerationArgs{...}

type GetEndpointModerationOutput

type GetEndpointModerationOutput struct{ *pulumi.OutputState }

func (GetEndpointModerationOutput) ElementType

func (GetEndpointModerationOutput) Strategy

Content safety guardrail scheme. Values: Default: default scheme. Lower latency, broadly covers general content safety requirements; Basic: basic scheme (public beta). Supports providing triggered risk categories in interface responses, currently only includes two risk types: severe violations and aggressive behavior. Note: If using streaming interface calls, this scheme is not recommended, as it will increase the length of each output fragment and raise latency

func (GetEndpointModerationOutput) ToGetEndpointModerationOutput

func (o GetEndpointModerationOutput) ToGetEndpointModerationOutput() GetEndpointModerationOutput

func (GetEndpointModerationOutput) ToGetEndpointModerationOutputWithContext

func (o GetEndpointModerationOutput) ToGetEndpointModerationOutputWithContext(ctx context.Context) GetEndpointModerationOutput

type GetEndpointRateLimit

type GetEndpointRateLimit struct {
	// Requests Per Minute, number of requests per minute
	Rpm int `pulumi:"rpm"`
	// Tokens Per Minute, number of tokens requested per minute
	Tpm int `pulumi:"tpm"`
}

type GetEndpointRateLimitArgs

type GetEndpointRateLimitArgs struct {
	// Requests Per Minute, number of requests per minute
	Rpm pulumi.IntInput `pulumi:"rpm"`
	// Tokens Per Minute, number of tokens requested per minute
	Tpm pulumi.IntInput `pulumi:"tpm"`
}

func (GetEndpointRateLimitArgs) ElementType

func (GetEndpointRateLimitArgs) ElementType() reflect.Type

func (GetEndpointRateLimitArgs) ToGetEndpointRateLimitOutput

func (i GetEndpointRateLimitArgs) ToGetEndpointRateLimitOutput() GetEndpointRateLimitOutput

func (GetEndpointRateLimitArgs) ToGetEndpointRateLimitOutputWithContext

func (i GetEndpointRateLimitArgs) ToGetEndpointRateLimitOutputWithContext(ctx context.Context) GetEndpointRateLimitOutput

type GetEndpointRateLimitInput

type GetEndpointRateLimitInput interface {
	pulumi.Input

	ToGetEndpointRateLimitOutput() GetEndpointRateLimitOutput
	ToGetEndpointRateLimitOutputWithContext(context.Context) GetEndpointRateLimitOutput
}

GetEndpointRateLimitInput is an input type that accepts GetEndpointRateLimitArgs and GetEndpointRateLimitOutput values. You can construct a concrete instance of `GetEndpointRateLimitInput` via:

GetEndpointRateLimitArgs{...}

type GetEndpointRateLimitOutput

type GetEndpointRateLimitOutput struct{ *pulumi.OutputState }

func (GetEndpointRateLimitOutput) ElementType

func (GetEndpointRateLimitOutput) ElementType() reflect.Type

func (GetEndpointRateLimitOutput) Rpm

Requests Per Minute, number of requests per minute

func (GetEndpointRateLimitOutput) ToGetEndpointRateLimitOutput

func (o GetEndpointRateLimitOutput) ToGetEndpointRateLimitOutput() GetEndpointRateLimitOutput

func (GetEndpointRateLimitOutput) ToGetEndpointRateLimitOutputWithContext

func (o GetEndpointRateLimitOutput) ToGetEndpointRateLimitOutputWithContext(ctx context.Context) GetEndpointRateLimitOutput

func (GetEndpointRateLimitOutput) Tpm

Tokens Per Minute, number of tokens requested per minute

type GetEndpointTag

type GetEndpointTag struct {
	// Tag key
	Key string `pulumi:"key"`
	// Tag value
	Value string `pulumi:"value"`
}

type GetEndpointTagArgs

type GetEndpointTagArgs struct {
	// Tag key
	Key pulumi.StringInput `pulumi:"key"`
	// Tag value
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetEndpointTagArgs) ElementType

func (GetEndpointTagArgs) ElementType() reflect.Type

func (GetEndpointTagArgs) ToGetEndpointTagOutput

func (i GetEndpointTagArgs) ToGetEndpointTagOutput() GetEndpointTagOutput

func (GetEndpointTagArgs) ToGetEndpointTagOutputWithContext

func (i GetEndpointTagArgs) ToGetEndpointTagOutputWithContext(ctx context.Context) GetEndpointTagOutput

type GetEndpointTagArray

type GetEndpointTagArray []GetEndpointTagInput

func (GetEndpointTagArray) ElementType

func (GetEndpointTagArray) ElementType() reflect.Type

func (GetEndpointTagArray) ToGetEndpointTagArrayOutput

func (i GetEndpointTagArray) ToGetEndpointTagArrayOutput() GetEndpointTagArrayOutput

func (GetEndpointTagArray) ToGetEndpointTagArrayOutputWithContext

func (i GetEndpointTagArray) ToGetEndpointTagArrayOutputWithContext(ctx context.Context) GetEndpointTagArrayOutput

type GetEndpointTagArrayInput

type GetEndpointTagArrayInput interface {
	pulumi.Input

	ToGetEndpointTagArrayOutput() GetEndpointTagArrayOutput
	ToGetEndpointTagArrayOutputWithContext(context.Context) GetEndpointTagArrayOutput
}

GetEndpointTagArrayInput is an input type that accepts GetEndpointTagArray and GetEndpointTagArrayOutput values. You can construct a concrete instance of `GetEndpointTagArrayInput` via:

GetEndpointTagArray{ GetEndpointTagArgs{...} }

type GetEndpointTagArrayOutput

type GetEndpointTagArrayOutput struct{ *pulumi.OutputState }

func (GetEndpointTagArrayOutput) ElementType

func (GetEndpointTagArrayOutput) ElementType() reflect.Type

func (GetEndpointTagArrayOutput) Index

func (GetEndpointTagArrayOutput) ToGetEndpointTagArrayOutput

func (o GetEndpointTagArrayOutput) ToGetEndpointTagArrayOutput() GetEndpointTagArrayOutput

func (GetEndpointTagArrayOutput) ToGetEndpointTagArrayOutputWithContext

func (o GetEndpointTagArrayOutput) ToGetEndpointTagArrayOutputWithContext(ctx context.Context) GetEndpointTagArrayOutput

type GetEndpointTagInput

type GetEndpointTagInput interface {
	pulumi.Input

	ToGetEndpointTagOutput() GetEndpointTagOutput
	ToGetEndpointTagOutputWithContext(context.Context) GetEndpointTagOutput
}

GetEndpointTagInput is an input type that accepts GetEndpointTagArgs and GetEndpointTagOutput values. You can construct a concrete instance of `GetEndpointTagInput` via:

GetEndpointTagArgs{...}

type GetEndpointTagOutput

type GetEndpointTagOutput struct{ *pulumi.OutputState }

func (GetEndpointTagOutput) ElementType

func (GetEndpointTagOutput) ElementType() reflect.Type

func (GetEndpointTagOutput) Key

Tag key

func (GetEndpointTagOutput) ToGetEndpointTagOutput

func (o GetEndpointTagOutput) ToGetEndpointTagOutput() GetEndpointTagOutput

func (GetEndpointTagOutput) ToGetEndpointTagOutputWithContext

func (o GetEndpointTagOutput) ToGetEndpointTagOutputWithContext(ctx context.Context) GetEndpointTagOutput

func (GetEndpointTagOutput) Value

Tag value

type GetEndpointsResult

type GetEndpointsResult struct {
	// Uniquely identifies the data source.
	Id string `pulumi:"id"`
	// Set of Resource Identifiers.
	Ids []string `pulumi:"ids"`
}

A collection of values returned by getEndpoints.

func GetEndpoints

func GetEndpoints(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetEndpointsResult, error)

Plural Data Source schema for Byteplus::ARK::Endpoint

type GetEndpointsResultOutput

type GetEndpointsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEndpoints.

func GetEndpointsOutput

func GetEndpointsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetEndpointsResultOutput

func (GetEndpointsResultOutput) ElementType

func (GetEndpointsResultOutput) ElementType() reflect.Type

func (GetEndpointsResultOutput) Id

Uniquely identifies the data source.

func (GetEndpointsResultOutput) Ids

Set of Resource Identifiers.

func (GetEndpointsResultOutput) ToGetEndpointsResultOutput

func (o GetEndpointsResultOutput) ToGetEndpointsResultOutput() GetEndpointsResultOutput

func (GetEndpointsResultOutput) ToGetEndpointsResultOutputWithContext

func (o GetEndpointsResultOutput) ToGetEndpointsResultOutputWithContext(ctx context.Context) GetEndpointsResultOutput

type LookupEndpointArgs

type LookupEndpointArgs struct {
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
}

A collection of arguments for invoking getEndpoint.

type LookupEndpointOutputArgs

type LookupEndpointOutputArgs struct {
	// Uniquely identifies the resource.
	Id pulumi.StringInput `pulumi:"id"`
}

A collection of arguments for invoking getEndpoint.

func (LookupEndpointOutputArgs) ElementType

func (LookupEndpointOutputArgs) ElementType() reflect.Type

type LookupEndpointResult

type LookupEndpointResult struct {
	// Whether only BatchChat is supported. If true, only batch inference interfaces can be accessed; otherwise, only online inference interfaces can be accessed
	BatchOnly bool `pulumi:"batchOnly"`
	// Certificate information
	Certificate GetEndpointCertificate `pulumi:"certificate"`
	// Endpoint creation time, RFC3339 format
	CreateTime string `pulumi:"createTime"`
	// Endpoint description
	Description string `pulumi:"description"`
	// Inference access point ID.
	EndpointId string `pulumi:"endpointId"`
	// Access point model type. Options: FoundationModel for base model; CustomModel for custom model.
	EndpointModelType string `pulumi:"endpointModelType"`
	// Uniquely identifies the resource.
	Id string `pulumi:"id"`
	// Endpoint access model
	ModelReference GetEndpointModelReference `pulumi:"modelReference"`
	// Model unit. If empty, indicates postpaid; otherwise, prepaid.
	ModelUnitId string `pulumi:"modelUnitId"`
	// Content guardrail scheme
	Moderation GetEndpointModeration `pulumi:"moderation"`
	// Endpoint name
	Name string `pulumi:"name"`
	// Project name the resource belongs to; default value is "default"
	ProjectName string `pulumi:"projectName"`
	// Endpoint rate limiting
	RateLimit GetEndpointRateLimit `pulumi:"rateLimit"`
	// Endpoint switch ID
	RollingId string `pulumi:"rollingId"`
	// If a TPM protection package exists, this is the TPM protection package ID.
	ScaleTierId string `pulumi:"scaleTierId"`
	// Endpoint status
	Status string `pulumi:"status"`
	// Additional status information
	StatusReason string `pulumi:"statusReason"`
	// Whether endpoint supports switching model versions
	SupportRolling bool `pulumi:"supportRolling"`
	// Whether TPM protection package is supported
	SupportScaleTier bool `pulumi:"supportScaleTier"`
	// Tags bound to the endpoint
	Tags []GetEndpointTag `pulumi:"tags"`
	// Endpoint update time, RFC3339 format
	UpdateTime string `pulumi:"updateTime"`
}

A collection of values returned by getEndpoint.

func LookupEndpoint

func LookupEndpoint(ctx *pulumi.Context, args *LookupEndpointArgs, opts ...pulumi.InvokeOption) (*LookupEndpointResult, error)

Data Source schema for Byteplus::ARK::Endpoint

type LookupEndpointResultOutput

type LookupEndpointResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEndpoint.

func (LookupEndpointResultOutput) BatchOnly

Whether only BatchChat is supported. If true, only batch inference interfaces can be accessed; otherwise, only online inference interfaces can be accessed

func (LookupEndpointResultOutput) Certificate

Certificate information

func (LookupEndpointResultOutput) CreateTime

Endpoint creation time, RFC3339 format

func (LookupEndpointResultOutput) Description

Endpoint description

func (LookupEndpointResultOutput) ElementType

func (LookupEndpointResultOutput) ElementType() reflect.Type

func (LookupEndpointResultOutput) EndpointId

Inference access point ID.

func (LookupEndpointResultOutput) EndpointModelType

func (o LookupEndpointResultOutput) EndpointModelType() pulumi.StringOutput

Access point model type. Options: FoundationModel for base model; CustomModel for custom model.

func (LookupEndpointResultOutput) Id

Uniquely identifies the resource.

func (LookupEndpointResultOutput) ModelReference

Endpoint access model

func (LookupEndpointResultOutput) ModelUnitId

Model unit. If empty, indicates postpaid; otherwise, prepaid.

func (LookupEndpointResultOutput) Moderation

Content guardrail scheme

func (LookupEndpointResultOutput) Name

Endpoint name

func (LookupEndpointResultOutput) ProjectName

Project name the resource belongs to; default value is "default"

func (LookupEndpointResultOutput) RateLimit

Endpoint rate limiting

func (LookupEndpointResultOutput) RollingId

Endpoint switch ID

func (LookupEndpointResultOutput) ScaleTierId

If a TPM protection package exists, this is the TPM protection package ID.

func (LookupEndpointResultOutput) Status

Endpoint status

func (LookupEndpointResultOutput) StatusReason

Additional status information

func (LookupEndpointResultOutput) SupportRolling

func (o LookupEndpointResultOutput) SupportRolling() pulumi.BoolOutput

Whether endpoint supports switching model versions

func (LookupEndpointResultOutput) SupportScaleTier

func (o LookupEndpointResultOutput) SupportScaleTier() pulumi.BoolOutput

Whether TPM protection package is supported

func (LookupEndpointResultOutput) Tags

Tags bound to the endpoint

func (LookupEndpointResultOutput) ToLookupEndpointResultOutput

func (o LookupEndpointResultOutput) ToLookupEndpointResultOutput() LookupEndpointResultOutput

func (LookupEndpointResultOutput) ToLookupEndpointResultOutputWithContext

func (o LookupEndpointResultOutput) ToLookupEndpointResultOutputWithContext(ctx context.Context) LookupEndpointResultOutput

func (LookupEndpointResultOutput) UpdateTime

Endpoint update time, RFC3339 format

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址