Documentation
¶
Overview ¶
A Pulumi provider dynamically bridged from langfuse.
Index ¶
- type LlmConnection
- type LlmConnectionArgs
- type LlmConnectionInput
- type LlmConnectionOutput
- func (o LlmConnectionOutput) Adapter() pulumi.StringOutput
- func (o LlmConnectionOutput) BaseUrl() pulumi.StringPtrOutput
- func (o LlmConnectionOutput) Config() pulumi.StringOutput
- func (o LlmConnectionOutput) CustomModels() pulumi.StringArrayOutput
- func (LlmConnectionOutput) ElementType() reflect.Type
- func (o LlmConnectionOutput) ExtraHeaders() pulumi.StringMapOutput
- func (o LlmConnectionOutput) ProjectPublicKey() pulumi.StringOutput
- func (o LlmConnectionOutput) ProjectSecretKey() pulumi.StringOutput
- func (o LlmConnectionOutput) ProviderName() pulumi.StringOutput
- func (o LlmConnectionOutput) SecretKey() pulumi.StringOutput
- func (o LlmConnectionOutput) ToLlmConnectionOutput() LlmConnectionOutput
- func (o LlmConnectionOutput) ToLlmConnectionOutputWithContext(ctx context.Context) LlmConnectionOutput
- func (o LlmConnectionOutput) WithDefaultModels() pulumi.BoolOutput
- type LlmConnectionState
- type Organization
- type OrganizationApiKey
- type OrganizationApiKeyArgs
- type OrganizationApiKeyInput
- type OrganizationApiKeyOutput
- func (OrganizationApiKeyOutput) ElementType() reflect.Type
- func (o OrganizationApiKeyOutput) OrganizationId() pulumi.StringOutput
- func (o OrganizationApiKeyOutput) PublicKey() pulumi.StringOutput
- func (o OrganizationApiKeyOutput) SecretKey() pulumi.StringOutput
- func (o OrganizationApiKeyOutput) ToOrganizationApiKeyOutput() OrganizationApiKeyOutput
- func (o OrganizationApiKeyOutput) ToOrganizationApiKeyOutputWithContext(ctx context.Context) OrganizationApiKeyOutput
- type OrganizationApiKeyState
- type OrganizationArgs
- type OrganizationInput
- type OrganizationMembership
- type OrganizationMembershipArgs
- type OrganizationMembershipInput
- type OrganizationMembershipOutput
- func (OrganizationMembershipOutput) ElementType() reflect.Type
- func (o OrganizationMembershipOutput) Email() pulumi.StringOutput
- func (o OrganizationMembershipOutput) OrganizationPrivateKey() pulumi.StringOutput
- func (o OrganizationMembershipOutput) OrganizationPublicKey() pulumi.StringOutput
- func (o OrganizationMembershipOutput) Role() pulumi.StringOutput
- func (o OrganizationMembershipOutput) Status() pulumi.StringOutput
- func (o OrganizationMembershipOutput) ToOrganizationMembershipOutput() OrganizationMembershipOutput
- func (o OrganizationMembershipOutput) ToOrganizationMembershipOutputWithContext(ctx context.Context) OrganizationMembershipOutput
- func (o OrganizationMembershipOutput) UserId() pulumi.StringOutput
- func (o OrganizationMembershipOutput) Username() pulumi.StringOutput
- type OrganizationMembershipState
- type OrganizationOutput
- func (OrganizationOutput) ElementType() reflect.Type
- func (o OrganizationOutput) Metadata() pulumi.StringMapOutput
- func (o OrganizationOutput) Name() pulumi.StringOutput
- func (o OrganizationOutput) ToOrganizationOutput() OrganizationOutput
- func (o OrganizationOutput) ToOrganizationOutputWithContext(ctx context.Context) OrganizationOutput
- type OrganizationState
- type Project
- type ProjectApiKey
- type ProjectApiKeyArgs
- type ProjectApiKeyInput
- type ProjectApiKeyOutput
- func (ProjectApiKeyOutput) ElementType() reflect.Type
- func (o ProjectApiKeyOutput) Note() pulumi.StringPtrOutput
- func (o ProjectApiKeyOutput) OrganizationPrivateKey() pulumi.StringOutput
- func (o ProjectApiKeyOutput) OrganizationPublicKey() pulumi.StringOutput
- func (o ProjectApiKeyOutput) ProjectId() pulumi.StringOutput
- func (o ProjectApiKeyOutput) PublicKey() pulumi.StringOutput
- func (o ProjectApiKeyOutput) SecretKey() pulumi.StringOutput
- func (o ProjectApiKeyOutput) ToProjectApiKeyOutput() ProjectApiKeyOutput
- func (o ProjectApiKeyOutput) ToProjectApiKeyOutputWithContext(ctx context.Context) ProjectApiKeyOutput
- type ProjectApiKeyState
- type ProjectArgs
- type ProjectInput
- type ProjectMembership
- type ProjectMembershipArgs
- type ProjectMembershipInput
- type ProjectMembershipOutput
- func (ProjectMembershipOutput) ElementType() reflect.Type
- func (o ProjectMembershipOutput) Email() pulumi.StringOutput
- func (o ProjectMembershipOutput) Name() pulumi.StringOutput
- func (o ProjectMembershipOutput) OrganizationPrivateKey() pulumi.StringOutput
- func (o ProjectMembershipOutput) OrganizationPublicKey() pulumi.StringOutput
- func (o ProjectMembershipOutput) ProjectId() pulumi.StringOutput
- func (o ProjectMembershipOutput) Role() pulumi.StringOutput
- func (o ProjectMembershipOutput) ToProjectMembershipOutput() ProjectMembershipOutput
- func (o ProjectMembershipOutput) ToProjectMembershipOutputWithContext(ctx context.Context) ProjectMembershipOutput
- func (o ProjectMembershipOutput) UserId() pulumi.StringOutput
- type ProjectMembershipState
- type ProjectOutput
- func (ProjectOutput) ElementType() reflect.Type
- func (o ProjectOutput) Metadata() pulumi.StringMapOutput
- func (o ProjectOutput) Name() pulumi.StringOutput
- func (o ProjectOutput) OrganizationId() pulumi.StringOutput
- func (o ProjectOutput) OrganizationPrivateKey() pulumi.StringOutput
- func (o ProjectOutput) OrganizationPublicKey() pulumi.StringOutput
- func (o ProjectOutput) RetentionDays() pulumi.Float64Output
- func (o ProjectOutput) ToProjectOutput() ProjectOutput
- func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
- type ProjectState
- type Provider
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
- func (o ProviderOutput) AdminApiKey() pulumi.StringPtrOutput
- func (ProviderOutput) ElementType() reflect.Type
- func (o ProviderOutput) Host() pulumi.StringPtrOutput
- func (o ProviderOutput) TlsServerName() pulumi.StringPtrOutput
- func (o ProviderOutput) ToProviderOutput() ProviderOutput
- func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LlmConnection ¶
type LlmConnection struct {
pulumi.CustomResourceState
// The LLM service type. Valid values: anthropic, openai, azure, bedrock, google-vertex-ai, google-ai-studio.
Adapter pulumi.StringOutput `pulumi:"adapter"`
// Optional base URL override for the LLM provider API.
BaseUrl pulumi.StringPtrOutput `pulumi:"baseUrl"`
// Adapter-specific configuration as a JSON string. Required for bedrock (`{"region": "<aws-region>"}`), optional for openai (`{"useResponsesApi": <bool>}`) and google-vertex-ai (`{"location": "<gcp-location>"}`), and unsupported for other adapters. Computed, because the API returns any config the connection holds and offers no way to unset one.
Config pulumi.StringOutput `pulumi:"config"`
// Optional list of custom model identifiers.
CustomModels pulumi.StringArrayOutput `pulumi:"customModels"`
// Optional map of additional HTTP headers for LLM API requests.
ExtraHeaders pulumi.StringMapOutput `pulumi:"extraHeaders"`
// The project public key used to authenticate API calls.
ProjectPublicKey pulumi.StringOutput `pulumi:"projectPublicKey"`
// The project secret key used to authenticate API calls.
ProjectSecretKey pulumi.StringOutput `pulumi:"projectSecretKey"`
// The unique name identifying this LLM connection within the project. Changing this value destroys and recreates the resource, as the provider name is the upsert key.
ProviderName pulumi.StringOutput `pulumi:"providerName"`
// The API authentication key for the LLM provider.
SecretKey pulumi.StringOutput `pulumi:"secretKey"`
// Whether to include default models. Defaults to true if not set.
WithDefaultModels pulumi.BoolOutput `pulumi:"withDefaultModels"`
}
func GetLlmConnection ¶
func GetLlmConnection(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LlmConnectionState, opts ...pulumi.ResourceOption) (*LlmConnection, error)
GetLlmConnection gets an existing LlmConnection 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 NewLlmConnection ¶
func NewLlmConnection(ctx *pulumi.Context, name string, args *LlmConnectionArgs, opts ...pulumi.ResourceOption) (*LlmConnection, error)
NewLlmConnection registers a new resource with the given unique name, arguments, and options.
func (*LlmConnection) ElementType ¶
func (*LlmConnection) ElementType() reflect.Type
func (*LlmConnection) ToLlmConnectionOutput ¶
func (i *LlmConnection) ToLlmConnectionOutput() LlmConnectionOutput
func (*LlmConnection) ToLlmConnectionOutputWithContext ¶
func (i *LlmConnection) ToLlmConnectionOutputWithContext(ctx context.Context) LlmConnectionOutput
type LlmConnectionArgs ¶
type LlmConnectionArgs struct {
// The LLM service type. Valid values: anthropic, openai, azure, bedrock, google-vertex-ai, google-ai-studio.
Adapter pulumi.StringInput
// Optional base URL override for the LLM provider API.
BaseUrl pulumi.StringPtrInput
// Adapter-specific configuration as a JSON string. Required for bedrock (`{"region": "<aws-region>"}`), optional for openai (`{"useResponsesApi": <bool>}`) and google-vertex-ai (`{"location": "<gcp-location>"}`), and unsupported for other adapters. Computed, because the API returns any config the connection holds and offers no way to unset one.
Config pulumi.StringPtrInput
// Optional list of custom model identifiers.
CustomModels pulumi.StringArrayInput
// Optional map of additional HTTP headers for LLM API requests.
ExtraHeaders pulumi.StringMapInput
// The project public key used to authenticate API calls.
ProjectPublicKey pulumi.StringInput
// The project secret key used to authenticate API calls.
ProjectSecretKey pulumi.StringInput
// The unique name identifying this LLM connection within the project. Changing this value destroys and recreates the resource, as the provider name is the upsert key.
ProviderName pulumi.StringInput
// The API authentication key for the LLM provider.
SecretKey pulumi.StringInput
// Whether to include default models. Defaults to true if not set.
WithDefaultModels pulumi.BoolPtrInput
}
The set of arguments for constructing a LlmConnection resource.
func (LlmConnectionArgs) ElementType ¶
func (LlmConnectionArgs) ElementType() reflect.Type
type LlmConnectionInput ¶
type LlmConnectionInput interface {
pulumi.Input
ToLlmConnectionOutput() LlmConnectionOutput
ToLlmConnectionOutputWithContext(ctx context.Context) LlmConnectionOutput
}
type LlmConnectionOutput ¶
type LlmConnectionOutput struct{ *pulumi.OutputState }
func (LlmConnectionOutput) Adapter ¶
func (o LlmConnectionOutput) Adapter() pulumi.StringOutput
The LLM service type. Valid values: anthropic, openai, azure, bedrock, google-vertex-ai, google-ai-studio.
func (LlmConnectionOutput) BaseUrl ¶
func (o LlmConnectionOutput) BaseUrl() pulumi.StringPtrOutput
Optional base URL override for the LLM provider API.
func (LlmConnectionOutput) Config ¶
func (o LlmConnectionOutput) Config() pulumi.StringOutput
Adapter-specific configuration as a JSON string. Required for bedrock (`{"region": "<aws-region>"}`), optional for openai (`{"useResponsesApi": <bool>}`) and google-vertex-ai (`{"location": "<gcp-location>"}`), and unsupported for other adapters. Computed, because the API returns any config the connection holds and offers no way to unset one.
func (LlmConnectionOutput) CustomModels ¶
func (o LlmConnectionOutput) CustomModels() pulumi.StringArrayOutput
Optional list of custom model identifiers.
func (LlmConnectionOutput) ElementType ¶
func (LlmConnectionOutput) ElementType() reflect.Type
func (LlmConnectionOutput) ExtraHeaders ¶
func (o LlmConnectionOutput) ExtraHeaders() pulumi.StringMapOutput
Optional map of additional HTTP headers for LLM API requests.
func (LlmConnectionOutput) ProjectPublicKey ¶
func (o LlmConnectionOutput) ProjectPublicKey() pulumi.StringOutput
The project public key used to authenticate API calls.
func (LlmConnectionOutput) ProjectSecretKey ¶
func (o LlmConnectionOutput) ProjectSecretKey() pulumi.StringOutput
The project secret key used to authenticate API calls.
func (LlmConnectionOutput) ProviderName ¶
func (o LlmConnectionOutput) ProviderName() pulumi.StringOutput
The unique name identifying this LLM connection within the project. Changing this value destroys and recreates the resource, as the provider name is the upsert key.
func (LlmConnectionOutput) SecretKey ¶
func (o LlmConnectionOutput) SecretKey() pulumi.StringOutput
The API authentication key for the LLM provider.
func (LlmConnectionOutput) ToLlmConnectionOutput ¶
func (o LlmConnectionOutput) ToLlmConnectionOutput() LlmConnectionOutput
func (LlmConnectionOutput) ToLlmConnectionOutputWithContext ¶
func (o LlmConnectionOutput) ToLlmConnectionOutputWithContext(ctx context.Context) LlmConnectionOutput
func (LlmConnectionOutput) WithDefaultModels ¶
func (o LlmConnectionOutput) WithDefaultModels() pulumi.BoolOutput
Whether to include default models. Defaults to true if not set.
type LlmConnectionState ¶
type LlmConnectionState struct {
// The LLM service type. Valid values: anthropic, openai, azure, bedrock, google-vertex-ai, google-ai-studio.
Adapter pulumi.StringPtrInput
// Optional base URL override for the LLM provider API.
BaseUrl pulumi.StringPtrInput
// Adapter-specific configuration as a JSON string. Required for bedrock (`{"region": "<aws-region>"}`), optional for openai (`{"useResponsesApi": <bool>}`) and google-vertex-ai (`{"location": "<gcp-location>"}`), and unsupported for other adapters. Computed, because the API returns any config the connection holds and offers no way to unset one.
Config pulumi.StringPtrInput
// Optional list of custom model identifiers.
CustomModels pulumi.StringArrayInput
// Optional map of additional HTTP headers for LLM API requests.
ExtraHeaders pulumi.StringMapInput
// The project public key used to authenticate API calls.
ProjectPublicKey pulumi.StringPtrInput
// The project secret key used to authenticate API calls.
ProjectSecretKey pulumi.StringPtrInput
// The unique name identifying this LLM connection within the project. Changing this value destroys and recreates the resource, as the provider name is the upsert key.
ProviderName pulumi.StringPtrInput
// The API authentication key for the LLM provider.
SecretKey pulumi.StringPtrInput
// Whether to include default models. Defaults to true if not set.
WithDefaultModels pulumi.BoolPtrInput
}
func (LlmConnectionState) ElementType ¶
func (LlmConnectionState) ElementType() reflect.Type
type Organization ¶
type Organization struct {
pulumi.CustomResourceState
// Metadata for the organization as key-value pairs.
Metadata pulumi.StringMapOutput `pulumi:"metadata"`
// The display name of the organization.
Name pulumi.StringOutput `pulumi:"name"`
}
func GetOrganization ¶
func GetOrganization(ctx *pulumi.Context, name string, id pulumi.IDInput, state *OrganizationState, opts ...pulumi.ResourceOption) (*Organization, error)
GetOrganization gets an existing Organization 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 NewOrganization ¶
func NewOrganization(ctx *pulumi.Context, name string, args *OrganizationArgs, opts ...pulumi.ResourceOption) (*Organization, error)
NewOrganization registers a new resource with the given unique name, arguments, and options.
func (*Organization) ElementType ¶
func (*Organization) ElementType() reflect.Type
func (*Organization) ToOrganizationOutput ¶
func (i *Organization) ToOrganizationOutput() OrganizationOutput
func (*Organization) ToOrganizationOutputWithContext ¶
func (i *Organization) ToOrganizationOutputWithContext(ctx context.Context) OrganizationOutput
type OrganizationApiKey ¶
type OrganizationApiKey struct {
pulumi.CustomResourceState
// The Langfuse organization the key belongs to.
OrganizationId pulumi.StringOutput `pulumi:"organizationId"`
// The public value of the API key (only returned at creation time).
PublicKey pulumi.StringOutput `pulumi:"publicKey"`
// The secret value of the API key (only returned at creation time).
SecretKey pulumi.StringOutput `pulumi:"secretKey"`
}
func GetOrganizationApiKey ¶
func GetOrganizationApiKey(ctx *pulumi.Context, name string, id pulumi.IDInput, state *OrganizationApiKeyState, opts ...pulumi.ResourceOption) (*OrganizationApiKey, error)
GetOrganizationApiKey gets an existing OrganizationApiKey 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 NewOrganizationApiKey ¶
func NewOrganizationApiKey(ctx *pulumi.Context, name string, args *OrganizationApiKeyArgs, opts ...pulumi.ResourceOption) (*OrganizationApiKey, error)
NewOrganizationApiKey registers a new resource with the given unique name, arguments, and options.
func (*OrganizationApiKey) ElementType ¶
func (*OrganizationApiKey) ElementType() reflect.Type
func (*OrganizationApiKey) ToOrganizationApiKeyOutput ¶
func (i *OrganizationApiKey) ToOrganizationApiKeyOutput() OrganizationApiKeyOutput
func (*OrganizationApiKey) ToOrganizationApiKeyOutputWithContext ¶
func (i *OrganizationApiKey) ToOrganizationApiKeyOutputWithContext(ctx context.Context) OrganizationApiKeyOutput
type OrganizationApiKeyArgs ¶
type OrganizationApiKeyArgs struct {
// The Langfuse organization the key belongs to.
OrganizationId pulumi.StringInput
}
The set of arguments for constructing a OrganizationApiKey resource.
func (OrganizationApiKeyArgs) ElementType ¶
func (OrganizationApiKeyArgs) ElementType() reflect.Type
type OrganizationApiKeyInput ¶
type OrganizationApiKeyInput interface {
pulumi.Input
ToOrganizationApiKeyOutput() OrganizationApiKeyOutput
ToOrganizationApiKeyOutputWithContext(ctx context.Context) OrganizationApiKeyOutput
}
type OrganizationApiKeyOutput ¶
type OrganizationApiKeyOutput struct{ *pulumi.OutputState }
func (OrganizationApiKeyOutput) ElementType ¶
func (OrganizationApiKeyOutput) ElementType() reflect.Type
func (OrganizationApiKeyOutput) OrganizationId ¶
func (o OrganizationApiKeyOutput) OrganizationId() pulumi.StringOutput
The Langfuse organization the key belongs to.
func (OrganizationApiKeyOutput) PublicKey ¶
func (o OrganizationApiKeyOutput) PublicKey() pulumi.StringOutput
The public value of the API key (only returned at creation time).
func (OrganizationApiKeyOutput) SecretKey ¶
func (o OrganizationApiKeyOutput) SecretKey() pulumi.StringOutput
The secret value of the API key (only returned at creation time).
func (OrganizationApiKeyOutput) ToOrganizationApiKeyOutput ¶
func (o OrganizationApiKeyOutput) ToOrganizationApiKeyOutput() OrganizationApiKeyOutput
func (OrganizationApiKeyOutput) ToOrganizationApiKeyOutputWithContext ¶
func (o OrganizationApiKeyOutput) ToOrganizationApiKeyOutputWithContext(ctx context.Context) OrganizationApiKeyOutput
type OrganizationApiKeyState ¶
type OrganizationApiKeyState struct {
// The Langfuse organization the key belongs to.
OrganizationId pulumi.StringPtrInput
// The public value of the API key (only returned at creation time).
PublicKey pulumi.StringPtrInput
// The secret value of the API key (only returned at creation time).
SecretKey pulumi.StringPtrInput
}
func (OrganizationApiKeyState) ElementType ¶
func (OrganizationApiKeyState) ElementType() reflect.Type
type OrganizationArgs ¶
type OrganizationArgs struct {
// Metadata for the organization as key-value pairs.
Metadata pulumi.StringMapInput
// The display name of the organization.
Name pulumi.StringPtrInput
}
The set of arguments for constructing a Organization resource.
func (OrganizationArgs) ElementType ¶
func (OrganizationArgs) ElementType() reflect.Type
type OrganizationInput ¶
type OrganizationInput interface {
pulumi.Input
ToOrganizationOutput() OrganizationOutput
ToOrganizationOutputWithContext(ctx context.Context) OrganizationOutput
}
type OrganizationMembership ¶
type OrganizationMembership struct {
pulumi.CustomResourceState
// The email address of the user to invite.
Email pulumi.StringOutput `pulumi:"email"`
// Organization private key to authenticate the call.
OrganizationPrivateKey pulumi.StringOutput `pulumi:"organizationPrivateKey"`
// Organization public key to authenticate the call.
OrganizationPublicKey pulumi.StringOutput `pulumi:"organizationPublicKey"`
// The role to assign to the user. Valid values are: ADMIN, MEMBER, VIEWER.
Role pulumi.StringOutput `pulumi:"role"`
// The status of the membership invitation.
Status pulumi.StringOutput `pulumi:"status"`
// The unique identifier of the user.
UserId pulumi.StringOutput `pulumi:"userId"`
// The username of the user.
Username pulumi.StringOutput `pulumi:"username"`
}
func GetOrganizationMembership ¶
func GetOrganizationMembership(ctx *pulumi.Context, name string, id pulumi.IDInput, state *OrganizationMembershipState, opts ...pulumi.ResourceOption) (*OrganizationMembership, error)
GetOrganizationMembership gets an existing OrganizationMembership 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 NewOrganizationMembership ¶
func NewOrganizationMembership(ctx *pulumi.Context, name string, args *OrganizationMembershipArgs, opts ...pulumi.ResourceOption) (*OrganizationMembership, error)
NewOrganizationMembership registers a new resource with the given unique name, arguments, and options.
func (*OrganizationMembership) ElementType ¶
func (*OrganizationMembership) ElementType() reflect.Type
func (*OrganizationMembership) ToOrganizationMembershipOutput ¶
func (i *OrganizationMembership) ToOrganizationMembershipOutput() OrganizationMembershipOutput
func (*OrganizationMembership) ToOrganizationMembershipOutputWithContext ¶
func (i *OrganizationMembership) ToOrganizationMembershipOutputWithContext(ctx context.Context) OrganizationMembershipOutput
type OrganizationMembershipArgs ¶
type OrganizationMembershipArgs struct {
// The email address of the user to invite.
Email pulumi.StringInput
// Organization private key to authenticate the call.
OrganizationPrivateKey pulumi.StringInput
// Organization public key to authenticate the call.
OrganizationPublicKey pulumi.StringInput
// The role to assign to the user. Valid values are: ADMIN, MEMBER, VIEWER.
Role pulumi.StringInput
}
The set of arguments for constructing a OrganizationMembership resource.
func (OrganizationMembershipArgs) ElementType ¶
func (OrganizationMembershipArgs) ElementType() reflect.Type
type OrganizationMembershipInput ¶
type OrganizationMembershipInput interface {
pulumi.Input
ToOrganizationMembershipOutput() OrganizationMembershipOutput
ToOrganizationMembershipOutputWithContext(ctx context.Context) OrganizationMembershipOutput
}
type OrganizationMembershipOutput ¶
type OrganizationMembershipOutput struct{ *pulumi.OutputState }
func (OrganizationMembershipOutput) ElementType ¶
func (OrganizationMembershipOutput) ElementType() reflect.Type
func (OrganizationMembershipOutput) Email ¶
func (o OrganizationMembershipOutput) Email() pulumi.StringOutput
The email address of the user to invite.
func (OrganizationMembershipOutput) OrganizationPrivateKey ¶
func (o OrganizationMembershipOutput) OrganizationPrivateKey() pulumi.StringOutput
Organization private key to authenticate the call.
func (OrganizationMembershipOutput) OrganizationPublicKey ¶
func (o OrganizationMembershipOutput) OrganizationPublicKey() pulumi.StringOutput
Organization public key to authenticate the call.
func (OrganizationMembershipOutput) Role ¶
func (o OrganizationMembershipOutput) Role() pulumi.StringOutput
The role to assign to the user. Valid values are: ADMIN, MEMBER, VIEWER.
func (OrganizationMembershipOutput) Status ¶
func (o OrganizationMembershipOutput) Status() pulumi.StringOutput
The status of the membership invitation.
func (OrganizationMembershipOutput) ToOrganizationMembershipOutput ¶
func (o OrganizationMembershipOutput) ToOrganizationMembershipOutput() OrganizationMembershipOutput
func (OrganizationMembershipOutput) ToOrganizationMembershipOutputWithContext ¶
func (o OrganizationMembershipOutput) ToOrganizationMembershipOutputWithContext(ctx context.Context) OrganizationMembershipOutput
func (OrganizationMembershipOutput) UserId ¶
func (o OrganizationMembershipOutput) UserId() pulumi.StringOutput
The unique identifier of the user.
func (OrganizationMembershipOutput) Username ¶
func (o OrganizationMembershipOutput) Username() pulumi.StringOutput
The username of the user.
type OrganizationMembershipState ¶
type OrganizationMembershipState struct {
// The email address of the user to invite.
Email pulumi.StringPtrInput
// Organization private key to authenticate the call.
OrganizationPrivateKey pulumi.StringPtrInput
// Organization public key to authenticate the call.
OrganizationPublicKey pulumi.StringPtrInput
// The role to assign to the user. Valid values are: ADMIN, MEMBER, VIEWER.
Role pulumi.StringPtrInput
// The status of the membership invitation.
Status pulumi.StringPtrInput
// The unique identifier of the user.
UserId pulumi.StringPtrInput
// The username of the user.
Username pulumi.StringPtrInput
}
func (OrganizationMembershipState) ElementType ¶
func (OrganizationMembershipState) ElementType() reflect.Type
type OrganizationOutput ¶
type OrganizationOutput struct{ *pulumi.OutputState }
func (OrganizationOutput) ElementType ¶
func (OrganizationOutput) ElementType() reflect.Type
func (OrganizationOutput) Metadata ¶
func (o OrganizationOutput) Metadata() pulumi.StringMapOutput
Metadata for the organization as key-value pairs.
func (OrganizationOutput) Name ¶
func (o OrganizationOutput) Name() pulumi.StringOutput
The display name of the organization.
func (OrganizationOutput) ToOrganizationOutput ¶
func (o OrganizationOutput) ToOrganizationOutput() OrganizationOutput
func (OrganizationOutput) ToOrganizationOutputWithContext ¶
func (o OrganizationOutput) ToOrganizationOutputWithContext(ctx context.Context) OrganizationOutput
type OrganizationState ¶
type OrganizationState struct {
// Metadata for the organization as key-value pairs.
Metadata pulumi.StringMapInput
// The display name of the organization.
Name pulumi.StringPtrInput
}
func (OrganizationState) ElementType ¶
func (OrganizationState) ElementType() reflect.Type
type Project ¶
type Project struct {
pulumi.CustomResourceState
// Metadata for the project as key-value pairs.
Metadata pulumi.StringMapOutput `pulumi:"metadata"`
// The display name of the project.
Name pulumi.StringOutput `pulumi:"name"`
// The ID of the organization that owns this project.
OrganizationId pulumi.StringOutput `pulumi:"organizationId"`
// Organization private key to authenticate the call.
OrganizationPrivateKey pulumi.StringOutput `pulumi:"organizationPrivateKey"`
// Organization public key to authenticate the call.
OrganizationPublicKey pulumi.StringOutput `pulumi:"organizationPublicKey"`
// The retention period for the project in days. If not set, or set with a value of 0, data will be stored indefinitely.
RetentionDays pulumi.Float64Output `pulumi:"retentionDays"`
}
func GetProject ¶
func GetProject(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProjectState, opts ...pulumi.ResourceOption) (*Project, error)
GetProject gets an existing Project 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 NewProject ¶
func NewProject(ctx *pulumi.Context, name string, args *ProjectArgs, opts ...pulumi.ResourceOption) (*Project, error)
NewProject registers a new resource with the given unique name, arguments, and options.
func (*Project) ElementType ¶
func (*Project) ToProjectOutput ¶
func (i *Project) ToProjectOutput() ProjectOutput
func (*Project) ToProjectOutputWithContext ¶
func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
type ProjectApiKey ¶
type ProjectApiKey struct {
pulumi.CustomResourceState
// Optional note for the API key (POST /api/public/projects/{projectId}/apiKeys). Because the Langfuse public API only accepts a note at creation time, changing this attribute forces replacement: the old key is deleted and a new one is created (new id and credentials).
Note pulumi.StringPtrOutput `pulumi:"note"`
// Organization private key to authenticate the call.
OrganizationPrivateKey pulumi.StringOutput `pulumi:"organizationPrivateKey"`
// Organization public key to authenticate the call.
OrganizationPublicKey pulumi.StringOutput `pulumi:"organizationPublicKey"`
// The ID of the project the key belongs to.
ProjectId pulumi.StringOutput `pulumi:"projectId"`
// The public value of the API key (only returned at creation time).
PublicKey pulumi.StringOutput `pulumi:"publicKey"`
// The secret value of the API key (only returned at creation time).
SecretKey pulumi.StringOutput `pulumi:"secretKey"`
}
func GetProjectApiKey ¶
func GetProjectApiKey(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProjectApiKeyState, opts ...pulumi.ResourceOption) (*ProjectApiKey, error)
GetProjectApiKey gets an existing ProjectApiKey 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 NewProjectApiKey ¶
func NewProjectApiKey(ctx *pulumi.Context, name string, args *ProjectApiKeyArgs, opts ...pulumi.ResourceOption) (*ProjectApiKey, error)
NewProjectApiKey registers a new resource with the given unique name, arguments, and options.
func (*ProjectApiKey) ElementType ¶
func (*ProjectApiKey) ElementType() reflect.Type
func (*ProjectApiKey) ToProjectApiKeyOutput ¶
func (i *ProjectApiKey) ToProjectApiKeyOutput() ProjectApiKeyOutput
func (*ProjectApiKey) ToProjectApiKeyOutputWithContext ¶
func (i *ProjectApiKey) ToProjectApiKeyOutputWithContext(ctx context.Context) ProjectApiKeyOutput
type ProjectApiKeyArgs ¶
type ProjectApiKeyArgs struct {
// Optional note for the API key (POST /api/public/projects/{projectId}/apiKeys). Because the Langfuse public API only accepts a note at creation time, changing this attribute forces replacement: the old key is deleted and a new one is created (new id and credentials).
Note pulumi.StringPtrInput
// Organization private key to authenticate the call.
OrganizationPrivateKey pulumi.StringInput
// Organization public key to authenticate the call.
OrganizationPublicKey pulumi.StringInput
// The ID of the project the key belongs to.
ProjectId pulumi.StringInput
}
The set of arguments for constructing a ProjectApiKey resource.
func (ProjectApiKeyArgs) ElementType ¶
func (ProjectApiKeyArgs) ElementType() reflect.Type
type ProjectApiKeyInput ¶
type ProjectApiKeyInput interface {
pulumi.Input
ToProjectApiKeyOutput() ProjectApiKeyOutput
ToProjectApiKeyOutputWithContext(ctx context.Context) ProjectApiKeyOutput
}
type ProjectApiKeyOutput ¶
type ProjectApiKeyOutput struct{ *pulumi.OutputState }
func (ProjectApiKeyOutput) ElementType ¶
func (ProjectApiKeyOutput) ElementType() reflect.Type
func (ProjectApiKeyOutput) Note ¶
func (o ProjectApiKeyOutput) Note() pulumi.StringPtrOutput
Optional note for the API key (POST /api/public/projects/{projectId}/apiKeys). Because the Langfuse public API only accepts a note at creation time, changing this attribute forces replacement: the old key is deleted and a new one is created (new id and credentials).
func (ProjectApiKeyOutput) OrganizationPrivateKey ¶
func (o ProjectApiKeyOutput) OrganizationPrivateKey() pulumi.StringOutput
Organization private key to authenticate the call.
func (ProjectApiKeyOutput) OrganizationPublicKey ¶
func (o ProjectApiKeyOutput) OrganizationPublicKey() pulumi.StringOutput
Organization public key to authenticate the call.
func (ProjectApiKeyOutput) ProjectId ¶
func (o ProjectApiKeyOutput) ProjectId() pulumi.StringOutput
The ID of the project the key belongs to.
func (ProjectApiKeyOutput) PublicKey ¶
func (o ProjectApiKeyOutput) PublicKey() pulumi.StringOutput
The public value of the API key (only returned at creation time).
func (ProjectApiKeyOutput) SecretKey ¶
func (o ProjectApiKeyOutput) SecretKey() pulumi.StringOutput
The secret value of the API key (only returned at creation time).
func (ProjectApiKeyOutput) ToProjectApiKeyOutput ¶
func (o ProjectApiKeyOutput) ToProjectApiKeyOutput() ProjectApiKeyOutput
func (ProjectApiKeyOutput) ToProjectApiKeyOutputWithContext ¶
func (o ProjectApiKeyOutput) ToProjectApiKeyOutputWithContext(ctx context.Context) ProjectApiKeyOutput
type ProjectApiKeyState ¶
type ProjectApiKeyState struct {
// Optional note for the API key (POST /api/public/projects/{projectId}/apiKeys). Because the Langfuse public API only accepts a note at creation time, changing this attribute forces replacement: the old key is deleted and a new one is created (new id and credentials).
Note pulumi.StringPtrInput
// Organization private key to authenticate the call.
OrganizationPrivateKey pulumi.StringPtrInput
// Organization public key to authenticate the call.
OrganizationPublicKey pulumi.StringPtrInput
// The ID of the project the key belongs to.
ProjectId pulumi.StringPtrInput
// The public value of the API key (only returned at creation time).
PublicKey pulumi.StringPtrInput
// The secret value of the API key (only returned at creation time).
SecretKey pulumi.StringPtrInput
}
func (ProjectApiKeyState) ElementType ¶
func (ProjectApiKeyState) ElementType() reflect.Type
type ProjectArgs ¶
type ProjectArgs struct {
// Metadata for the project as key-value pairs.
Metadata pulumi.StringMapInput
// The display name of the project.
Name pulumi.StringPtrInput
// The ID of the organization that owns this project.
OrganizationId pulumi.StringInput
// Organization private key to authenticate the call.
OrganizationPrivateKey pulumi.StringInput
// Organization public key to authenticate the call.
OrganizationPublicKey pulumi.StringInput
// The retention period for the project in days. If not set, or set with a value of 0, data will be stored indefinitely.
RetentionDays pulumi.Float64PtrInput
}
The set of arguments for constructing a Project resource.
func (ProjectArgs) ElementType ¶
func (ProjectArgs) ElementType() reflect.Type
type ProjectInput ¶
type ProjectInput interface {
pulumi.Input
ToProjectOutput() ProjectOutput
ToProjectOutputWithContext(ctx context.Context) ProjectOutput
}
type ProjectMembership ¶
type ProjectMembership struct {
pulumi.CustomResourceState
// The email address of the user to add to the project.
Email pulumi.StringOutput `pulumi:"email"`
// The name of the user.
Name pulumi.StringOutput `pulumi:"name"`
// Organization private key to authenticate the call.
OrganizationPrivateKey pulumi.StringOutput `pulumi:"organizationPrivateKey"`
// Organization public key to authenticate the call.
OrganizationPublicKey pulumi.StringOutput `pulumi:"organizationPublicKey"`
// The ID of the project.
ProjectId pulumi.StringOutput `pulumi:"projectId"`
// The role to assign to the user. Valid values are: OWNER, ADMIN, MEMBER, VIEWER, NONE.
Role pulumi.StringOutput `pulumi:"role"`
// The unique identifier of the user.
UserId pulumi.StringOutput `pulumi:"userId"`
}
func GetProjectMembership ¶
func GetProjectMembership(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProjectMembershipState, opts ...pulumi.ResourceOption) (*ProjectMembership, error)
GetProjectMembership gets an existing ProjectMembership 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 NewProjectMembership ¶
func NewProjectMembership(ctx *pulumi.Context, name string, args *ProjectMembershipArgs, opts ...pulumi.ResourceOption) (*ProjectMembership, error)
NewProjectMembership registers a new resource with the given unique name, arguments, and options.
func (*ProjectMembership) ElementType ¶
func (*ProjectMembership) ElementType() reflect.Type
func (*ProjectMembership) ToProjectMembershipOutput ¶
func (i *ProjectMembership) ToProjectMembershipOutput() ProjectMembershipOutput
func (*ProjectMembership) ToProjectMembershipOutputWithContext ¶
func (i *ProjectMembership) ToProjectMembershipOutputWithContext(ctx context.Context) ProjectMembershipOutput
type ProjectMembershipArgs ¶
type ProjectMembershipArgs struct {
// The email address of the user to add to the project.
Email pulumi.StringInput
// Organization private key to authenticate the call.
OrganizationPrivateKey pulumi.StringInput
// Organization public key to authenticate the call.
OrganizationPublicKey pulumi.StringInput
// The ID of the project.
ProjectId pulumi.StringInput
// The role to assign to the user. Valid values are: OWNER, ADMIN, MEMBER, VIEWER, NONE.
Role pulumi.StringInput
}
The set of arguments for constructing a ProjectMembership resource.
func (ProjectMembershipArgs) ElementType ¶
func (ProjectMembershipArgs) ElementType() reflect.Type
type ProjectMembershipInput ¶
type ProjectMembershipInput interface {
pulumi.Input
ToProjectMembershipOutput() ProjectMembershipOutput
ToProjectMembershipOutputWithContext(ctx context.Context) ProjectMembershipOutput
}
type ProjectMembershipOutput ¶
type ProjectMembershipOutput struct{ *pulumi.OutputState }
func (ProjectMembershipOutput) ElementType ¶
func (ProjectMembershipOutput) ElementType() reflect.Type
func (ProjectMembershipOutput) Email ¶
func (o ProjectMembershipOutput) Email() pulumi.StringOutput
The email address of the user to add to the project.
func (ProjectMembershipOutput) Name ¶
func (o ProjectMembershipOutput) Name() pulumi.StringOutput
The name of the user.
func (ProjectMembershipOutput) OrganizationPrivateKey ¶
func (o ProjectMembershipOutput) OrganizationPrivateKey() pulumi.StringOutput
Organization private key to authenticate the call.
func (ProjectMembershipOutput) OrganizationPublicKey ¶
func (o ProjectMembershipOutput) OrganizationPublicKey() pulumi.StringOutput
Organization public key to authenticate the call.
func (ProjectMembershipOutput) ProjectId ¶
func (o ProjectMembershipOutput) ProjectId() pulumi.StringOutput
The ID of the project.
func (ProjectMembershipOutput) Role ¶
func (o ProjectMembershipOutput) Role() pulumi.StringOutput
The role to assign to the user. Valid values are: OWNER, ADMIN, MEMBER, VIEWER, NONE.
func (ProjectMembershipOutput) ToProjectMembershipOutput ¶
func (o ProjectMembershipOutput) ToProjectMembershipOutput() ProjectMembershipOutput
func (ProjectMembershipOutput) ToProjectMembershipOutputWithContext ¶
func (o ProjectMembershipOutput) ToProjectMembershipOutputWithContext(ctx context.Context) ProjectMembershipOutput
func (ProjectMembershipOutput) UserId ¶
func (o ProjectMembershipOutput) UserId() pulumi.StringOutput
The unique identifier of the user.
type ProjectMembershipState ¶
type ProjectMembershipState struct {
// The email address of the user to add to the project.
Email pulumi.StringPtrInput
// The name of the user.
Name pulumi.StringPtrInput
// Organization private key to authenticate the call.
OrganizationPrivateKey pulumi.StringPtrInput
// Organization public key to authenticate the call.
OrganizationPublicKey pulumi.StringPtrInput
// The ID of the project.
ProjectId pulumi.StringPtrInput
// The role to assign to the user. Valid values are: OWNER, ADMIN, MEMBER, VIEWER, NONE.
Role pulumi.StringPtrInput
// The unique identifier of the user.
UserId pulumi.StringPtrInput
}
func (ProjectMembershipState) ElementType ¶
func (ProjectMembershipState) ElementType() reflect.Type
type ProjectOutput ¶
type ProjectOutput struct{ *pulumi.OutputState }
func (ProjectOutput) ElementType ¶
func (ProjectOutput) ElementType() reflect.Type
func (ProjectOutput) Metadata ¶
func (o ProjectOutput) Metadata() pulumi.StringMapOutput
Metadata for the project as key-value pairs.
func (ProjectOutput) Name ¶
func (o ProjectOutput) Name() pulumi.StringOutput
The display name of the project.
func (ProjectOutput) OrganizationId ¶
func (o ProjectOutput) OrganizationId() pulumi.StringOutput
The ID of the organization that owns this project.
func (ProjectOutput) OrganizationPrivateKey ¶
func (o ProjectOutput) OrganizationPrivateKey() pulumi.StringOutput
Organization private key to authenticate the call.
func (ProjectOutput) OrganizationPublicKey ¶
func (o ProjectOutput) OrganizationPublicKey() pulumi.StringOutput
Organization public key to authenticate the call.
func (ProjectOutput) RetentionDays ¶
func (o ProjectOutput) RetentionDays() pulumi.Float64Output
The retention period for the project in days. If not set, or set with a value of 0, data will be stored indefinitely.
func (ProjectOutput) ToProjectOutput ¶
func (o ProjectOutput) ToProjectOutput() ProjectOutput
func (ProjectOutput) ToProjectOutputWithContext ¶
func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
type ProjectState ¶
type ProjectState struct {
// Metadata for the project as key-value pairs.
Metadata pulumi.StringMapInput
// The display name of the project.
Name pulumi.StringPtrInput
// The ID of the organization that owns this project.
OrganizationId pulumi.StringPtrInput
// Organization private key to authenticate the call.
OrganizationPrivateKey pulumi.StringPtrInput
// Organization public key to authenticate the call.
OrganizationPublicKey pulumi.StringPtrInput
// The retention period for the project in days. If not set, or set with a value of 0, data will be stored indefinitely.
RetentionDays pulumi.Float64PtrInput
}
func (ProjectState) ElementType ¶
func (ProjectState) ElementType() reflect.Type
type Provider ¶
type Provider struct {
pulumi.ProviderResourceState
// Admin API key. Only needed when managing organizations. Can also come from LANGFUSE_ADMIN_KEY.
AdminApiKey pulumi.StringPtrOutput `pulumi:"adminApiKey"`
// Base URI of the Langfuse instance (defaults to https://app.langfuse.com).
Host pulumi.StringPtrOutput `pulumi:"host"`
// Hostname to verify the TLS certificate against, also sent as the SNI value. Set this when the instance is reached through a port forward or tunnel, where the host above (typically localhost) cannot match the certificate. Certificate verification remains enabled.
TlsServerName pulumi.StringPtrOutput `pulumi:"tlsServerName"`
}
The provider type for the langfuse package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
func NewProvider ¶
func NewProvider(ctx *pulumi.Context, name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)
NewProvider registers a new resource with the given unique name, arguments, and options.
func (*Provider) ElementType ¶
func (*Provider) TerraformConfig ¶
This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.
func (*Provider) ToProviderOutput ¶
func (i *Provider) ToProviderOutput() ProviderOutput
func (*Provider) ToProviderOutputWithContext ¶
func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type ProviderArgs ¶
type ProviderArgs struct {
// Admin API key. Only needed when managing organizations. Can also come from LANGFUSE_ADMIN_KEY.
AdminApiKey pulumi.StringPtrInput
// Base URI of the Langfuse instance (defaults to https://app.langfuse.com).
Host pulumi.StringPtrInput
// Hostname to verify the TLS certificate against, also sent as the SNI value. Set this when the instance is reached through a port forward or tunnel, where the host above (typically localhost) cannot match the certificate. Certificate verification remains enabled.
TlsServerName pulumi.StringPtrInput
}
The set of arguments for constructing a Provider resource.
func (ProviderArgs) ElementType ¶
func (ProviderArgs) ElementType() reflect.Type
type ProviderInput ¶
type ProviderInput interface {
pulumi.Input
ToProviderOutput() ProviderOutput
ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}
type ProviderOutput ¶
type ProviderOutput struct{ *pulumi.OutputState }
func (ProviderOutput) AdminApiKey ¶
func (o ProviderOutput) AdminApiKey() pulumi.StringPtrOutput
Admin API key. Only needed when managing organizations. Can also come from LANGFUSE_ADMIN_KEY.
func (ProviderOutput) ElementType ¶
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) Host ¶
func (o ProviderOutput) Host() pulumi.StringPtrOutput
Base URI of the Langfuse instance (defaults to https://app.langfuse.com).
func (ProviderOutput) TlsServerName ¶
func (o ProviderOutput) TlsServerName() pulumi.StringPtrOutput
Hostname to verify the TLS certificate against, also sent as the SNI value. Set this when the instance is reached through a port forward or tunnel, where the host above (typically localhost) cannot match the certificate. Certificate verification remains enabled.
func (ProviderOutput) ToProviderOutput ¶
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput