Viewing docs for Harness v0.17.6
published on Saturday, Oct 31, 2026 by Pulumi
published on Saturday, Oct 31, 2026 by Pulumi
Viewing docs for Harness v0.17.6
published on Saturday, Oct 31, 2026 by Pulumi
published on Saturday, Oct 31, 2026 by Pulumi
Datasource for looking up an Anthropic Model connector.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";
const example = harness.platform.getConnectorAnthropicModel({
identifier: "identifier",
});
import pulumi
import pulumi_harness as harness
example = harness.platform.get_connector_anthropic_model(identifier="identifier")
package main
import (
"github.com/pulumi/pulumi-harness/sdk/go/harness/platform"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := platform.LookupConnectorAnthropicModel(ctx, &platform.LookupConnectorAnthropicModelArgs{
Identifier: "identifier",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Harness = Pulumi.Harness;
return await Deployment.RunAsync(() =>
{
var example = Harness.Platform.GetConnectorAnthropicModel.Invoke(new()
{
Identifier = "identifier",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.platform.PlatformFunctions;
import com.pulumi.harness.platform.inputs.GetConnectorAnthropicModelArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = PlatformFunctions.getConnectorAnthropicModel(GetConnectorAnthropicModelArgs.builder()
.identifier("identifier")
.build());
}
}
variables:
example:
fn::invoke:
function: harness:platform:getConnectorAnthropicModel
arguments:
identifier: identifier
terraform {
required_providers {
harness = {
source = "pulumi/harness"
}
}
}
data "harness_platform_connector_anthropic_model" "example" {
identifier = "identifier"
}
Using getConnectorAnthropicModel
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getConnectorAnthropicModel(args: GetConnectorAnthropicModelArgs, opts?: InvokeOptions): Promise<GetConnectorAnthropicModelResult>
function getConnectorAnthropicModelOutput(args: GetConnectorAnthropicModelOutputArgs, opts?: InvokeOutputOptions): Output<GetConnectorAnthropicModelResult>def get_connector_anthropic_model(identifier: Optional[str] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetConnectorAnthropicModelResult
def get_connector_anthropic_model_output(identifier: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
org_id: pulumi.Input[Optional[str]] = None,
project_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetConnectorAnthropicModelResult]func LookupConnectorAnthropicModel(ctx *Context, args *LookupConnectorAnthropicModelArgs, opts ...InvokeOption) (*LookupConnectorAnthropicModelResult, error)
func LookupConnectorAnthropicModelOutput(ctx *Context, args *LookupConnectorAnthropicModelOutputArgs, opts ...InvokeOption) LookupConnectorAnthropicModelResultOutput> Note: This function is named LookupConnectorAnthropicModel in the Go SDK.
public static class GetConnectorAnthropicModel
{
public static Task<GetConnectorAnthropicModelResult> InvokeAsync(GetConnectorAnthropicModelArgs args, InvokeOptions? opts = null)
public static Output<GetConnectorAnthropicModelResult> Invoke(GetConnectorAnthropicModelInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetConnectorAnthropicModelResult> Invoke(GetConnectorAnthropicModelInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetConnectorAnthropicModelResult> getConnectorAnthropicModel(GetConnectorAnthropicModelArgs args, InvokeOptions options)
public static Output<GetConnectorAnthropicModelResult> getConnectorAnthropicModel(GetConnectorAnthropicModelArgs args, InvokeOptions options)
public static Output<GetConnectorAnthropicModelResult> getConnectorAnthropicModel(GetConnectorAnthropicModelArgs args, InvokeOutputOptions options)
fn::invoke:
function: harness:platform/getConnectorAnthropicModel:getConnectorAnthropicModel
arguments:
# arguments dictionarydata "harness_platform_get_connector_anthropic_model" "name" {
# arguments
}The following arguments are supported:
- Identifier string
- Unique identifier of the resource.
- Name string
- Name of the resource.
- Org
Id string - Unique identifier of the organization.
- Project
Id string - Unique identifier of the project.
- Identifier string
- Unique identifier of the resource.
- Name string
- Name of the resource.
- Org
Id string - Unique identifier of the organization.
- Project
Id string - Unique identifier of the project.
- identifier string
- Unique identifier of the resource.
- name string
- Name of the resource.
- org_
id string - Unique identifier of the organization.
- project_
id string - Unique identifier of the project.
- identifier String
- Unique identifier of the resource.
- name String
- Name of the resource.
- org
Id String - Unique identifier of the organization.
- project
Id String - Unique identifier of the project.
- identifier string
- Unique identifier of the resource.
- name string
- Name of the resource.
- org
Id string - Unique identifier of the organization.
- project
Id string - Unique identifier of the project.
- identifier str
- Unique identifier of the resource.
- name str
- Name of the resource.
- org_
id str - Unique identifier of the organization.
- project_
id str - Unique identifier of the project.
- identifier String
- Unique identifier of the resource.
- name String
- Name of the resource.
- org
Id String - Unique identifier of the organization.
- project
Id String - Unique identifier of the project.
getConnectorAnthropicModel Result
The following output properties are available:
- Auths
List<Get
Connector Anthropic Model Auth> - The authentication configuration for the Anthropic connector.
- Delegate
Selectors List<string> - Tags to filter delegates for connection.
- Description string
- Description of the resource.
- Execute
On boolDelegate - Execute on delegate or not.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- Unique identifier of the resource.
- Ignore
Test boolConnection - Ignore test connection when creating or updating the connector.
- Model string
- The Anthropic model to use.
- List<string>
- Tags to associate with the resource.
- Url string
- URL of the Anthropic API endpoint.
- Name string
- Name of the resource.
- Org
Id string - Unique identifier of the organization.
- Project
Id string - Unique identifier of the project.
- Auths
[]Get
Connector Anthropic Model Auth - The authentication configuration for the Anthropic connector.
- Delegate
Selectors []string - Tags to filter delegates for connection.
- Description string
- Description of the resource.
- Execute
On boolDelegate - Execute on delegate or not.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- Unique identifier of the resource.
- Ignore
Test boolConnection - Ignore test connection when creating or updating the connector.
- Model string
- The Anthropic model to use.
- []string
- Tags to associate with the resource.
- Url string
- URL of the Anthropic API endpoint.
- Name string
- Name of the resource.
- Org
Id string - Unique identifier of the organization.
- Project
Id string - Unique identifier of the project.
- auths list(object)
- The authentication configuration for the Anthropic connector.
- delegate_
selectors list(string) - Tags to filter delegates for connection.
- description string
- Description of the resource.
- execute_
on_ booldelegate - Execute on delegate or not.
- id string
- The provider-assigned unique ID for this managed resource.
- identifier string
- Unique identifier of the resource.
- ignore_
test_ boolconnection - Ignore test connection when creating or updating the connector.
- model string
- The Anthropic model to use.
- list(string)
- Tags to associate with the resource.
- url string
- URL of the Anthropic API endpoint.
- name string
- Name of the resource.
- org_
id string - Unique identifier of the organization.
- project_
id string - Unique identifier of the project.
- auths
List<Get
Connector Anthropic Model Auth> - The authentication configuration for the Anthropic connector.
- delegate
Selectors List<String> - Tags to filter delegates for connection.
- description String
- Description of the resource.
- execute
On BooleanDelegate - Execute on delegate or not.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- Unique identifier of the resource.
- ignore
Test BooleanConnection - Ignore test connection when creating or updating the connector.
- model String
- The Anthropic model to use.
- List<String>
- Tags to associate with the resource.
- url String
- URL of the Anthropic API endpoint.
- name String
- Name of the resource.
- org
Id String - Unique identifier of the organization.
- project
Id String - Unique identifier of the project.
- auths
Get
Connector Anthropic Model Auth[] - The authentication configuration for the Anthropic connector.
- delegate
Selectors string[] - Tags to filter delegates for connection.
- description string
- Description of the resource.
- execute
On booleanDelegate - Execute on delegate or not.
- id string
- The provider-assigned unique ID for this managed resource.
- identifier string
- Unique identifier of the resource.
- ignore
Test booleanConnection - Ignore test connection when creating or updating the connector.
- model string
- The Anthropic model to use.
- string[]
- Tags to associate with the resource.
- url string
- URL of the Anthropic API endpoint.
- name string
- Name of the resource.
- org
Id string - Unique identifier of the organization.
- project
Id string - Unique identifier of the project.
- auths
Sequence[Get
Connector Anthropic Model Auth] - The authentication configuration for the Anthropic connector.
- delegate_
selectors Sequence[str] - Tags to filter delegates for connection.
- description str
- Description of the resource.
- execute_
on_ booldelegate - Execute on delegate or not.
- id str
- The provider-assigned unique ID for this managed resource.
- identifier str
- Unique identifier of the resource.
- ignore_
test_ boolconnection - Ignore test connection when creating or updating the connector.
- model str
- The Anthropic model to use.
- Sequence[str]
- Tags to associate with the resource.
- url str
- URL of the Anthropic API endpoint.
- name str
- Name of the resource.
- org_
id str - Unique identifier of the organization.
- project_
id str - Unique identifier of the project.
- auths List<Property Map>
- The authentication configuration for the Anthropic connector.
- delegate
Selectors List<String> - Tags to filter delegates for connection.
- description String
- Description of the resource.
- execute
On BooleanDelegate - Execute on delegate or not.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- Unique identifier of the resource.
- ignore
Test BooleanConnection - Ignore test connection when creating or updating the connector.
- model String
- The Anthropic model to use.
- List<String>
- Tags to associate with the resource.
- url String
- URL of the Anthropic API endpoint.
- name String
- Name of the resource.
- org
Id String - Unique identifier of the organization.
- project
Id String - Unique identifier of the project.
Supporting Types
GetConnectorAnthropicModelAuth
- Auth
Type string - Authentication type for the Anthropic connector.
- Bedrock
Api List<GetKeys Connector Anthropic Model Auth Bedrock Api Key> - Authenticate using an AWS Bedrock API key.
- Cloud
Providers List<GetConnector Anthropic Model Auth Cloud Provider> - Authenticate using an existing cloud provider connector.
- Tokens
List<Get
Connector Anthropic Model Auth Token> - Authenticate using an Anthropic API token.
- Vertices
List<Get
Connector Anthropic Model Auth Vertex> - Authenticate using Google Vertex AI credentials.
- Auth
Type string - Authentication type for the Anthropic connector.
- Bedrock
Api []GetKeys Connector Anthropic Model Auth Bedrock Api Key - Authenticate using an AWS Bedrock API key.
- Cloud
Providers []GetConnector Anthropic Model Auth Cloud Provider - Authenticate using an existing cloud provider connector.
- Tokens
[]Get
Connector Anthropic Model Auth Token - Authenticate using an Anthropic API token.
- Vertices
[]Get
Connector Anthropic Model Auth Vertex - Authenticate using Google Vertex AI credentials.
- auth_
type string - Authentication type for the Anthropic connector.
- bedrock_
api_ list(object)keys - Authenticate using an AWS Bedrock API key.
- cloud_
providers list(object) - Authenticate using an existing cloud provider connector.
- tokens list(object)
- Authenticate using an Anthropic API token.
- vertices list(object)
- Authenticate using Google Vertex AI credentials.
- auth
Type String - Authentication type for the Anthropic connector.
- bedrock
Api List<GetKeys Connector Anthropic Model Auth Bedrock Api Key> - Authenticate using an AWS Bedrock API key.
- cloud
Providers List<GetConnector Anthropic Model Auth Cloud Provider> - Authenticate using an existing cloud provider connector.
- tokens
List<Get
Connector Anthropic Model Auth Token> - Authenticate using an Anthropic API token.
- vertices
List<Get
Connector Anthropic Model Auth Vertex> - Authenticate using Google Vertex AI credentials.
- auth
Type string - Authentication type for the Anthropic connector.
- bedrock
Api GetKeys Connector Anthropic Model Auth Bedrock Api Key[] - Authenticate using an AWS Bedrock API key.
- cloud
Providers GetConnector Anthropic Model Auth Cloud Provider[] - Authenticate using an existing cloud provider connector.
- tokens
Get
Connector Anthropic Model Auth Token[] - Authenticate using an Anthropic API token.
- vertices
Get
Connector Anthropic Model Auth Vertex[] - Authenticate using Google Vertex AI credentials.
- auth_
type str - Authentication type for the Anthropic connector.
- bedrock_
api_ Sequence[Getkeys Connector Anthropic Model Auth Bedrock Api Key] - Authenticate using an AWS Bedrock API key.
- cloud_
providers Sequence[GetConnector Anthropic Model Auth Cloud Provider] - Authenticate using an existing cloud provider connector.
- tokens
Sequence[Get
Connector Anthropic Model Auth Token] - Authenticate using an Anthropic API token.
- vertices
Sequence[Get
Connector Anthropic Model Auth Vertex] - Authenticate using Google Vertex AI credentials.
- auth
Type String - Authentication type for the Anthropic connector.
- bedrock
Api List<Property Map>Keys - Authenticate using an AWS Bedrock API key.
- cloud
Providers List<Property Map> - Authenticate using an existing cloud provider connector.
- tokens List<Property Map>
- Authenticate using an Anthropic API token.
- vertices List<Property Map>
- Authenticate using Google Vertex AI credentials.
GetConnectorAnthropicModelAuthBedrockApiKey
- api_
key_ stringref - Reference to a secret containing the Bedrock API key.
- region string
- AWS region for the Bedrock endpoint.
- api_
key_ strref - Reference to a secret containing the Bedrock API key.
- region str
- AWS region for the Bedrock endpoint.
GetConnectorAnthropicModelAuthCloudProvider
- Connector
Ref string - Reference to an existing cloud provider connector.
- Type string
- Cloud provider type.
- Connector
Ref string - Reference to an existing cloud provider connector.
- Type string
- Cloud provider type.
- connector_
ref string - Reference to an existing cloud provider connector.
- type string
- Cloud provider type.
- connector
Ref String - Reference to an existing cloud provider connector.
- type String
- Cloud provider type.
- connector
Ref string - Reference to an existing cloud provider connector.
- type string
- Cloud provider type.
- connector_
ref str - Reference to an existing cloud provider connector.
- type str
- Cloud provider type.
- connector
Ref String - Reference to an existing cloud provider connector.
- type String
- Cloud provider type.
GetConnectorAnthropicModelAuthToken
- Token
Ref string - Reference to a secret containing the Anthropic API token.
- Token
Ref string - Reference to a secret containing the Anthropic API token.
- token_
ref string - Reference to a secret containing the Anthropic API token.
- token
Ref String - Reference to a secret containing the Anthropic API token.
- token
Ref string - Reference to a secret containing the Anthropic API token.
- token_
ref str - Reference to a secret containing the Anthropic API token.
- token
Ref String - Reference to a secret containing the Anthropic API token.
GetConnectorAnthropicModelAuthVertex
- Project
Id string - GCP project ID.
- Region string
- GCP region for the Vertex AI endpoint.
- Service
Account stringKey Ref - Reference to a secret containing the GCP service account key.
- Project
Id string - GCP project ID.
- Region string
- GCP region for the Vertex AI endpoint.
- Service
Account stringKey Ref - Reference to a secret containing the GCP service account key.
- project_
id string - GCP project ID.
- region string
- GCP region for the Vertex AI endpoint.
- service_
account_ stringkey_ ref - Reference to a secret containing the GCP service account key.
- project
Id String - GCP project ID.
- region String
- GCP region for the Vertex AI endpoint.
- service
Account StringKey Ref - Reference to a secret containing the GCP service account key.
- project
Id string - GCP project ID.
- region string
- GCP region for the Vertex AI endpoint.
- service
Account stringKey Ref - Reference to a secret containing the GCP service account key.
- project_
id str - GCP project ID.
- region str
- GCP region for the Vertex AI endpoint.
- service_
account_ strkey_ ref - Reference to a secret containing the GCP service account key.
- project
Id String - GCP project ID.
- region String
- GCP region for the Vertex AI endpoint.
- service
Account StringKey Ref - Reference to a secret containing the GCP service account key.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
Viewing docs for Harness v0.17.6
published on Saturday, Oct 31, 2026 by Pulumi
published on Saturday, Oct 31, 2026 by Pulumi