1. Registry
  2. Packages
  3. Harness Provider
  4. API Docs
  5. platform
  6. getConnectorAnthropicModel
Viewing docs for Harness v0.17.6
published on Saturday, Oct 31, 2026 by Pulumi
harness logo
Viewing docs for Harness v0.17.6
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 dictionary
    data "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.
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    Identifier string
    Unique identifier of the resource.
    Name string
    Name of the resource.
    OrgId string
    Unique identifier of the organization.
    ProjectId 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.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    identifier string
    Unique identifier of the resource.
    name string
    Name of the resource.
    orgId string
    Unique identifier of the organization.
    projectId 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.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.

    getConnectorAnthropicModel Result

    The following output properties are available:

    Auths List<GetConnectorAnthropicModelAuth>
    The authentication configuration for the Anthropic connector.
    DelegateSelectors List<string>
    Tags to filter delegates for connection.
    Description string
    Description of the resource.
    ExecuteOnDelegate bool
    Execute on delegate or not.
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    Unique identifier of the resource.
    IgnoreTestConnection bool
    Ignore test connection when creating or updating the connector.
    Model string
    The Anthropic model to use.
    Tags List<string>
    Tags to associate with the resource.
    Url string
    URL of the Anthropic API endpoint.
    Name string
    Name of the resource.
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    Auths []GetConnectorAnthropicModelAuth
    The authentication configuration for the Anthropic connector.
    DelegateSelectors []string
    Tags to filter delegates for connection.
    Description string
    Description of the resource.
    ExecuteOnDelegate bool
    Execute on delegate or not.
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    Unique identifier of the resource.
    IgnoreTestConnection bool
    Ignore test connection when creating or updating the connector.
    Model string
    The Anthropic model to use.
    Tags []string
    Tags to associate with the resource.
    Url string
    URL of the Anthropic API endpoint.
    Name string
    Name of the resource.
    OrgId string
    Unique identifier of the organization.
    ProjectId 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_delegate bool
    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_connection bool
    Ignore test connection when creating or updating the connector.
    model string
    The Anthropic model to use.
    tags 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<GetConnectorAnthropicModelAuth>
    The authentication configuration for the Anthropic connector.
    delegateSelectors List<String>
    Tags to filter delegates for connection.
    description String
    Description of the resource.
    executeOnDelegate Boolean
    Execute on delegate or not.
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    Unique identifier of the resource.
    ignoreTestConnection Boolean
    Ignore test connection when creating or updating the connector.
    model String
    The Anthropic model to use.
    tags List<String>
    Tags to associate with the resource.
    url String
    URL of the Anthropic API endpoint.
    name String
    Name of the resource.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    auths GetConnectorAnthropicModelAuth[]
    The authentication configuration for the Anthropic connector.
    delegateSelectors string[]
    Tags to filter delegates for connection.
    description string
    Description of the resource.
    executeOnDelegate boolean
    Execute on delegate or not.
    id string
    The provider-assigned unique ID for this managed resource.
    identifier string
    Unique identifier of the resource.
    ignoreTestConnection boolean
    Ignore test connection when creating or updating the connector.
    model string
    The Anthropic model to use.
    tags string[]
    Tags to associate with the resource.
    url string
    URL of the Anthropic API endpoint.
    name string
    Name of the resource.
    orgId string
    Unique identifier of the organization.
    projectId string
    Unique identifier of the project.
    auths Sequence[GetConnectorAnthropicModelAuth]
    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_delegate bool
    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_connection bool
    Ignore test connection when creating or updating the connector.
    model str
    The Anthropic model to use.
    tags 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.
    delegateSelectors List<String>
    Tags to filter delegates for connection.
    description String
    Description of the resource.
    executeOnDelegate Boolean
    Execute on delegate or not.
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    Unique identifier of the resource.
    ignoreTestConnection Boolean
    Ignore test connection when creating or updating the connector.
    model String
    The Anthropic model to use.
    tags List<String>
    Tags to associate with the resource.
    url String
    URL of the Anthropic API endpoint.
    name String
    Name of the resource.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.

    Supporting Types

    GetConnectorAnthropicModelAuth

    AuthType string
    Authentication type for the Anthropic connector.
    BedrockApiKeys List<GetConnectorAnthropicModelAuthBedrockApiKey>
    Authenticate using an AWS Bedrock API key.
    CloudProviders List<GetConnectorAnthropicModelAuthCloudProvider>
    Authenticate using an existing cloud provider connector.
    Tokens List<GetConnectorAnthropicModelAuthToken>
    Authenticate using an Anthropic API token.
    Vertices List<GetConnectorAnthropicModelAuthVertex>
    Authenticate using Google Vertex AI credentials.
    AuthType string
    Authentication type for the Anthropic connector.
    BedrockApiKeys []GetConnectorAnthropicModelAuthBedrockApiKey
    Authenticate using an AWS Bedrock API key.
    CloudProviders []GetConnectorAnthropicModelAuthCloudProvider
    Authenticate using an existing cloud provider connector.
    Tokens []GetConnectorAnthropicModelAuthToken
    Authenticate using an Anthropic API token.
    Vertices []GetConnectorAnthropicModelAuthVertex
    Authenticate using Google Vertex AI credentials.
    auth_type string
    Authentication type for the Anthropic connector.
    bedrock_api_keys list(object)
    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.
    authType String
    Authentication type for the Anthropic connector.
    bedrockApiKeys List<GetConnectorAnthropicModelAuthBedrockApiKey>
    Authenticate using an AWS Bedrock API key.
    cloudProviders List<GetConnectorAnthropicModelAuthCloudProvider>
    Authenticate using an existing cloud provider connector.
    tokens List<GetConnectorAnthropicModelAuthToken>
    Authenticate using an Anthropic API token.
    vertices List<GetConnectorAnthropicModelAuthVertex>
    Authenticate using Google Vertex AI credentials.
    authType string
    Authentication type for the Anthropic connector.
    bedrockApiKeys GetConnectorAnthropicModelAuthBedrockApiKey[]
    Authenticate using an AWS Bedrock API key.
    cloudProviders GetConnectorAnthropicModelAuthCloudProvider[]
    Authenticate using an existing cloud provider connector.
    tokens GetConnectorAnthropicModelAuthToken[]
    Authenticate using an Anthropic API token.
    vertices GetConnectorAnthropicModelAuthVertex[]
    Authenticate using Google Vertex AI credentials.
    auth_type str
    Authentication type for the Anthropic connector.
    bedrock_api_keys Sequence[GetConnectorAnthropicModelAuthBedrockApiKey]
    Authenticate using an AWS Bedrock API key.
    cloud_providers Sequence[GetConnectorAnthropicModelAuthCloudProvider]
    Authenticate using an existing cloud provider connector.
    tokens Sequence[GetConnectorAnthropicModelAuthToken]
    Authenticate using an Anthropic API token.
    vertices Sequence[GetConnectorAnthropicModelAuthVertex]
    Authenticate using Google Vertex AI credentials.
    authType String
    Authentication type for the Anthropic connector.
    bedrockApiKeys List<Property Map>
    Authenticate using an AWS Bedrock API key.
    cloudProviders 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

    ApiKeyRef string
    Reference to a secret containing the Bedrock API key.
    Region string
    AWS region for the Bedrock endpoint.
    ApiKeyRef string
    Reference to a secret containing the Bedrock API key.
    Region string
    AWS region for the Bedrock endpoint.
    api_key_ref string
    Reference to a secret containing the Bedrock API key.
    region string
    AWS region for the Bedrock endpoint.
    apiKeyRef String
    Reference to a secret containing the Bedrock API key.
    region String
    AWS region for the Bedrock endpoint.
    apiKeyRef string
    Reference to a secret containing the Bedrock API key.
    region string
    AWS region for the Bedrock endpoint.
    api_key_ref str
    Reference to a secret containing the Bedrock API key.
    region str
    AWS region for the Bedrock endpoint.
    apiKeyRef String
    Reference to a secret containing the Bedrock API key.
    region String
    AWS region for the Bedrock endpoint.

    GetConnectorAnthropicModelAuthCloudProvider

    ConnectorRef string
    Reference to an existing cloud provider connector.
    Type string
    Cloud provider type.
    ConnectorRef 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.
    connectorRef String
    Reference to an existing cloud provider connector.
    type String
    Cloud provider type.
    connectorRef 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.
    connectorRef String
    Reference to an existing cloud provider connector.
    type String
    Cloud provider type.

    GetConnectorAnthropicModelAuthToken

    TokenRef string
    Reference to a secret containing the Anthropic API token.
    TokenRef string
    Reference to a secret containing the Anthropic API token.
    token_ref string
    Reference to a secret containing the Anthropic API token.
    tokenRef String
    Reference to a secret containing the Anthropic API token.
    tokenRef string
    Reference to a secret containing the Anthropic API token.
    token_ref str
    Reference to a secret containing the Anthropic API token.
    tokenRef String
    Reference to a secret containing the Anthropic API token.

    GetConnectorAnthropicModelAuthVertex

    ProjectId string
    GCP project ID.
    Region string
    GCP region for the Vertex AI endpoint.
    ServiceAccountKeyRef string
    Reference to a secret containing the GCP service account key.
    ProjectId string
    GCP project ID.
    Region string
    GCP region for the Vertex AI endpoint.
    ServiceAccountKeyRef string
    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_key_ref string
    Reference to a secret containing the GCP service account key.
    projectId String
    GCP project ID.
    region String
    GCP region for the Vertex AI endpoint.
    serviceAccountKeyRef String
    Reference to a secret containing the GCP service account key.
    projectId string
    GCP project ID.
    region string
    GCP region for the Vertex AI endpoint.
    serviceAccountKeyRef string
    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_key_ref str
    Reference to a secret containing the GCP service account key.
    projectId String
    GCP project ID.
    region String
    GCP region for the Vertex AI endpoint.
    serviceAccountKeyRef String
    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 harness Terraform Provider.
    harness logo
    Viewing docs for Harness v0.17.6
    published on Saturday, Oct 31, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial