1. Packages
  2. Harness Provider
  3. API Docs
  4. platform
  5. ConnectorCustomhealthsource
Harness v0.4.4 published on Tuesday, Nov 12, 2024 by Pulumi

harness.platform.ConnectorCustomhealthsource

Explore with Pulumi AI

harness logo
Harness v0.4.4 published on Tuesday, Nov 12, 2024 by Pulumi

    Resource for creating a Custom Health source connector.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as harness from "@pulumi/harness";
    
    // Authentication mechanism as username and password
    const test = new harness.platform.ConnectorCustomhealthsource("test", {
        identifier: "identifier",
        name: "name",
        description: "test",
        tags: ["foo:bar"],
        url: "https://prometheus.com/",
        delegateSelectors: ["harness-delegate"],
        method: "GET",
        validationPath: "loki/api/v1/labels",
        headers: [{
            encryptedValueRef: "account.doNotDeleteHSM",
            valueEncrypted: true,
            key: "key",
            value: "value",
        }],
    });
    
    import pulumi
    import pulumi_harness as harness
    
    # Authentication mechanism as username and password
    test = harness.platform.ConnectorCustomhealthsource("test",
        identifier="identifier",
        name="name",
        description="test",
        tags=["foo:bar"],
        url="https://prometheus.com/",
        delegate_selectors=["harness-delegate"],
        method="GET",
        validation_path="loki/api/v1/labels",
        headers=[{
            "encrypted_value_ref": "account.doNotDeleteHSM",
            "value_encrypted": True,
            "key": "key",
            "value": "value",
        }])
    
    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 {
    		// Authentication mechanism as username and password
    		_, err := platform.NewConnectorCustomhealthsource(ctx, "test", &platform.ConnectorCustomhealthsourceArgs{
    			Identifier:  pulumi.String("identifier"),
    			Name:        pulumi.String("name"),
    			Description: pulumi.String("test"),
    			Tags: pulumi.StringArray{
    				pulumi.String("foo:bar"),
    			},
    			Url: pulumi.String("https://prometheus.com/"),
    			DelegateSelectors: pulumi.StringArray{
    				pulumi.String("harness-delegate"),
    			},
    			Method:         pulumi.String("GET"),
    			ValidationPath: pulumi.String("loki/api/v1/labels"),
    			Headers: platform.ConnectorCustomhealthsourceHeaderArray{
    				&platform.ConnectorCustomhealthsourceHeaderArgs{
    					EncryptedValueRef: pulumi.String("account.doNotDeleteHSM"),
    					ValueEncrypted:    pulumi.Bool(true),
    					Key:               pulumi.String("key"),
    					Value:             pulumi.String("value"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Harness = Pulumi.Harness;
    
    return await Deployment.RunAsync(() => 
    {
        // Authentication mechanism as username and password
        var test = new Harness.Platform.ConnectorCustomhealthsource("test", new()
        {
            Identifier = "identifier",
            Name = "name",
            Description = "test",
            Tags = new[]
            {
                "foo:bar",
            },
            Url = "https://prometheus.com/",
            DelegateSelectors = new[]
            {
                "harness-delegate",
            },
            Method = "GET",
            ValidationPath = "loki/api/v1/labels",
            Headers = new[]
            {
                new Harness.Platform.Inputs.ConnectorCustomhealthsourceHeaderArgs
                {
                    EncryptedValueRef = "account.doNotDeleteHSM",
                    ValueEncrypted = true,
                    Key = "key",
                    Value = "value",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.harness.platform.ConnectorCustomhealthsource;
    import com.pulumi.harness.platform.ConnectorCustomhealthsourceArgs;
    import com.pulumi.harness.platform.inputs.ConnectorCustomhealthsourceHeaderArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            // Authentication mechanism as username and password
            var test = new ConnectorCustomhealthsource("test", ConnectorCustomhealthsourceArgs.builder()
                .identifier("identifier")
                .name("name")
                .description("test")
                .tags("foo:bar")
                .url("https://prometheus.com/")
                .delegateSelectors("harness-delegate")
                .method("GET")
                .validationPath("loki/api/v1/labels")
                .headers(ConnectorCustomhealthsourceHeaderArgs.builder()
                    .encryptedValueRef("account.doNotDeleteHSM")
                    .valueEncrypted(true)
                    .key("key")
                    .value("value")
                    .build())
                .build());
    
        }
    }
    
    resources:
      # Authentication mechanism as username and password
      test:
        type: harness:platform:ConnectorCustomhealthsource
        properties:
          identifier: identifier
          name: name
          description: test
          tags:
            - foo:bar
          url: https://prometheus.com/
          delegateSelectors:
            - harness-delegate
          method: GET
          validationPath: loki/api/v1/labels
          headers:
            - encryptedValueRef: account.doNotDeleteHSM
              valueEncrypted: true
              key: key
              value: value
    

    Create ConnectorCustomhealthsource Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ConnectorCustomhealthsource(name: string, args: ConnectorCustomhealthsourceArgs, opts?: CustomResourceOptions);
    @overload
    def ConnectorCustomhealthsource(resource_name: str,
                                    args: ConnectorCustomhealthsourceArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def ConnectorCustomhealthsource(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    identifier: Optional[str] = None,
                                    url: Optional[str] = None,
                                    method: Optional[str] = None,
                                    org_id: Optional[str] = None,
                                    headers: Optional[Sequence[ConnectorCustomhealthsourceHeaderArgs]] = None,
                                    name: Optional[str] = None,
                                    delegate_selectors: Optional[Sequence[str]] = None,
                                    params: Optional[Sequence[ConnectorCustomhealthsourceParamArgs]] = None,
                                    project_id: Optional[str] = None,
                                    tags: Optional[Sequence[str]] = None,
                                    description: Optional[str] = None,
                                    validation_body: Optional[str] = None,
                                    validation_path: Optional[str] = None)
    func NewConnectorCustomhealthsource(ctx *Context, name string, args ConnectorCustomhealthsourceArgs, opts ...ResourceOption) (*ConnectorCustomhealthsource, error)
    public ConnectorCustomhealthsource(string name, ConnectorCustomhealthsourceArgs args, CustomResourceOptions? opts = null)
    public ConnectorCustomhealthsource(String name, ConnectorCustomhealthsourceArgs args)
    public ConnectorCustomhealthsource(String name, ConnectorCustomhealthsourceArgs args, CustomResourceOptions options)
    
    type: harness:platform:ConnectorCustomhealthsource
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ConnectorCustomhealthsourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ConnectorCustomhealthsourceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ConnectorCustomhealthsourceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConnectorCustomhealthsourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConnectorCustomhealthsourceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var connectorCustomhealthsourceResource = new Harness.Platform.ConnectorCustomhealthsource("connectorCustomhealthsourceResource", new()
    {
        Identifier = "string",
        Url = "string",
        Method = "string",
        OrgId = "string",
        Headers = new[]
        {
            new Harness.Platform.Inputs.ConnectorCustomhealthsourceHeaderArgs
            {
                Key = "string",
                EncryptedValueRef = "string",
                Value = "string",
                ValueEncrypted = false,
            },
        },
        Name = "string",
        DelegateSelectors = new[]
        {
            "string",
        },
        Params = new[]
        {
            new Harness.Platform.Inputs.ConnectorCustomhealthsourceParamArgs
            {
                Key = "string",
                EncryptedValueRef = "string",
                Value = "string",
                ValueEncrypted = false,
            },
        },
        ProjectId = "string",
        Tags = new[]
        {
            "string",
        },
        Description = "string",
        ValidationBody = "string",
        ValidationPath = "string",
    });
    
    example, err := platform.NewConnectorCustomhealthsource(ctx, "connectorCustomhealthsourceResource", &platform.ConnectorCustomhealthsourceArgs{
    	Identifier: pulumi.String("string"),
    	Url:        pulumi.String("string"),
    	Method:     pulumi.String("string"),
    	OrgId:      pulumi.String("string"),
    	Headers: platform.ConnectorCustomhealthsourceHeaderArray{
    		&platform.ConnectorCustomhealthsourceHeaderArgs{
    			Key:               pulumi.String("string"),
    			EncryptedValueRef: pulumi.String("string"),
    			Value:             pulumi.String("string"),
    			ValueEncrypted:    pulumi.Bool(false),
    		},
    	},
    	Name: pulumi.String("string"),
    	DelegateSelectors: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Params: platform.ConnectorCustomhealthsourceParamArray{
    		&platform.ConnectorCustomhealthsourceParamArgs{
    			Key:               pulumi.String("string"),
    			EncryptedValueRef: pulumi.String("string"),
    			Value:             pulumi.String("string"),
    			ValueEncrypted:    pulumi.Bool(false),
    		},
    	},
    	ProjectId: pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Description:    pulumi.String("string"),
    	ValidationBody: pulumi.String("string"),
    	ValidationPath: pulumi.String("string"),
    })
    
    var connectorCustomhealthsourceResource = new ConnectorCustomhealthsource("connectorCustomhealthsourceResource", ConnectorCustomhealthsourceArgs.builder()
        .identifier("string")
        .url("string")
        .method("string")
        .orgId("string")
        .headers(ConnectorCustomhealthsourceHeaderArgs.builder()
            .key("string")
            .encryptedValueRef("string")
            .value("string")
            .valueEncrypted(false)
            .build())
        .name("string")
        .delegateSelectors("string")
        .params(ConnectorCustomhealthsourceParamArgs.builder()
            .key("string")
            .encryptedValueRef("string")
            .value("string")
            .valueEncrypted(false)
            .build())
        .projectId("string")
        .tags("string")
        .description("string")
        .validationBody("string")
        .validationPath("string")
        .build());
    
    connector_customhealthsource_resource = harness.platform.ConnectorCustomhealthsource("connectorCustomhealthsourceResource",
        identifier="string",
        url="string",
        method="string",
        org_id="string",
        headers=[{
            "key": "string",
            "encrypted_value_ref": "string",
            "value": "string",
            "value_encrypted": False,
        }],
        name="string",
        delegate_selectors=["string"],
        params=[{
            "key": "string",
            "encrypted_value_ref": "string",
            "value": "string",
            "value_encrypted": False,
        }],
        project_id="string",
        tags=["string"],
        description="string",
        validation_body="string",
        validation_path="string")
    
    const connectorCustomhealthsourceResource = new harness.platform.ConnectorCustomhealthsource("connectorCustomhealthsourceResource", {
        identifier: "string",
        url: "string",
        method: "string",
        orgId: "string",
        headers: [{
            key: "string",
            encryptedValueRef: "string",
            value: "string",
            valueEncrypted: false,
        }],
        name: "string",
        delegateSelectors: ["string"],
        params: [{
            key: "string",
            encryptedValueRef: "string",
            value: "string",
            valueEncrypted: false,
        }],
        projectId: "string",
        tags: ["string"],
        description: "string",
        validationBody: "string",
        validationPath: "string",
    });
    
    type: harness:platform:ConnectorCustomhealthsource
    properties:
        delegateSelectors:
            - string
        description: string
        headers:
            - encryptedValueRef: string
              key: string
              value: string
              valueEncrypted: false
        identifier: string
        method: string
        name: string
        orgId: string
        params:
            - encryptedValueRef: string
              key: string
              value: string
              valueEncrypted: false
        projectId: string
        tags:
            - string
        url: string
        validationBody: string
        validationPath: string
    

    ConnectorCustomhealthsource Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ConnectorCustomhealthsource resource accepts the following input properties:

    Identifier string
    Unique identifier of the resource.
    Method string
    HTTP Verb Method for the API Call
    Url string
    URL of the Custom Healthsource controller.
    DelegateSelectors List<string>
    Tags to filter delegates for connection.
    Description string
    Description of the resource.
    Headers List<ConnectorCustomhealthsourceHeader>
    Headers.
    Name string
    Name of the resource.
    OrgId string
    Unique identifier of the organization.
    Params List<ConnectorCustomhealthsourceParam>
    Parameters
    ProjectId string
    Unique identifier of the project.
    Tags List<string>
    Tags to associate with the resource.
    ValidationBody string
    Body to be sent with the API Call
    ValidationPath string
    Path to be added to the base URL for the API Call
    Identifier string
    Unique identifier of the resource.
    Method string
    HTTP Verb Method for the API Call
    Url string
    URL of the Custom Healthsource controller.
    DelegateSelectors []string
    Tags to filter delegates for connection.
    Description string
    Description of the resource.
    Headers []ConnectorCustomhealthsourceHeaderArgs
    Headers.
    Name string
    Name of the resource.
    OrgId string
    Unique identifier of the organization.
    Params []ConnectorCustomhealthsourceParamArgs
    Parameters
    ProjectId string
    Unique identifier of the project.
    Tags []string
    Tags to associate with the resource.
    ValidationBody string
    Body to be sent with the API Call
    ValidationPath string
    Path to be added to the base URL for the API Call
    identifier String
    Unique identifier of the resource.
    method String
    HTTP Verb Method for the API Call
    url String
    URL of the Custom Healthsource controller.
    delegateSelectors List<String>
    Tags to filter delegates for connection.
    description String
    Description of the resource.
    headers List<ConnectorCustomhealthsourceHeader>
    Headers.
    name String
    Name of the resource.
    orgId String
    Unique identifier of the organization.
    params List<ConnectorCustomhealthsourceParam>
    Parameters
    projectId String
    Unique identifier of the project.
    tags List<String>
    Tags to associate with the resource.
    validationBody String
    Body to be sent with the API Call
    validationPath String
    Path to be added to the base URL for the API Call
    identifier string
    Unique identifier of the resource.
    method string
    HTTP Verb Method for the API Call
    url string
    URL of the Custom Healthsource controller.
    delegateSelectors string[]
    Tags to filter delegates for connection.
    description string
    Description of the resource.
    headers ConnectorCustomhealthsourceHeader[]
    Headers.
    name string
    Name of the resource.
    orgId string
    Unique identifier of the organization.
    params ConnectorCustomhealthsourceParam[]
    Parameters
    projectId string
    Unique identifier of the project.
    tags string[]
    Tags to associate with the resource.
    validationBody string
    Body to be sent with the API Call
    validationPath string
    Path to be added to the base URL for the API Call
    identifier str
    Unique identifier of the resource.
    method str
    HTTP Verb Method for the API Call
    url str
    URL of the Custom Healthsource controller.
    delegate_selectors Sequence[str]
    Tags to filter delegates for connection.
    description str
    Description of the resource.
    headers Sequence[ConnectorCustomhealthsourceHeaderArgs]
    Headers.
    name str
    Name of the resource.
    org_id str
    Unique identifier of the organization.
    params Sequence[ConnectorCustomhealthsourceParamArgs]
    Parameters
    project_id str
    Unique identifier of the project.
    tags Sequence[str]
    Tags to associate with the resource.
    validation_body str
    Body to be sent with the API Call
    validation_path str
    Path to be added to the base URL for the API Call
    identifier String
    Unique identifier of the resource.
    method String
    HTTP Verb Method for the API Call
    url String
    URL of the Custom Healthsource controller.
    delegateSelectors List<String>
    Tags to filter delegates for connection.
    description String
    Description of the resource.
    headers List<Property Map>
    Headers.
    name String
    Name of the resource.
    orgId String
    Unique identifier of the organization.
    params List<Property Map>
    Parameters
    projectId String
    Unique identifier of the project.
    tags List<String>
    Tags to associate with the resource.
    validationBody String
    Body to be sent with the API Call
    validationPath String
    Path to be added to the base URL for the API Call

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ConnectorCustomhealthsource resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ConnectorCustomhealthsource Resource

    Get an existing ConnectorCustomhealthsource resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ConnectorCustomhealthsourceState, opts?: CustomResourceOptions): ConnectorCustomhealthsource
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            delegate_selectors: Optional[Sequence[str]] = None,
            description: Optional[str] = None,
            headers: Optional[Sequence[ConnectorCustomhealthsourceHeaderArgs]] = None,
            identifier: Optional[str] = None,
            method: Optional[str] = None,
            name: Optional[str] = None,
            org_id: Optional[str] = None,
            params: Optional[Sequence[ConnectorCustomhealthsourceParamArgs]] = None,
            project_id: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            url: Optional[str] = None,
            validation_body: Optional[str] = None,
            validation_path: Optional[str] = None) -> ConnectorCustomhealthsource
    func GetConnectorCustomhealthsource(ctx *Context, name string, id IDInput, state *ConnectorCustomhealthsourceState, opts ...ResourceOption) (*ConnectorCustomhealthsource, error)
    public static ConnectorCustomhealthsource Get(string name, Input<string> id, ConnectorCustomhealthsourceState? state, CustomResourceOptions? opts = null)
    public static ConnectorCustomhealthsource get(String name, Output<String> id, ConnectorCustomhealthsourceState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    DelegateSelectors List<string>
    Tags to filter delegates for connection.
    Description string
    Description of the resource.
    Headers List<ConnectorCustomhealthsourceHeader>
    Headers.
    Identifier string
    Unique identifier of the resource.
    Method string
    HTTP Verb Method for the API Call
    Name string
    Name of the resource.
    OrgId string
    Unique identifier of the organization.
    Params List<ConnectorCustomhealthsourceParam>
    Parameters
    ProjectId string
    Unique identifier of the project.
    Tags List<string>
    Tags to associate with the resource.
    Url string
    URL of the Custom Healthsource controller.
    ValidationBody string
    Body to be sent with the API Call
    ValidationPath string
    Path to be added to the base URL for the API Call
    DelegateSelectors []string
    Tags to filter delegates for connection.
    Description string
    Description of the resource.
    Headers []ConnectorCustomhealthsourceHeaderArgs
    Headers.
    Identifier string
    Unique identifier of the resource.
    Method string
    HTTP Verb Method for the API Call
    Name string
    Name of the resource.
    OrgId string
    Unique identifier of the organization.
    Params []ConnectorCustomhealthsourceParamArgs
    Parameters
    ProjectId string
    Unique identifier of the project.
    Tags []string
    Tags to associate with the resource.
    Url string
    URL of the Custom Healthsource controller.
    ValidationBody string
    Body to be sent with the API Call
    ValidationPath string
    Path to be added to the base URL for the API Call
    delegateSelectors List<String>
    Tags to filter delegates for connection.
    description String
    Description of the resource.
    headers List<ConnectorCustomhealthsourceHeader>
    Headers.
    identifier String
    Unique identifier of the resource.
    method String
    HTTP Verb Method for the API Call
    name String
    Name of the resource.
    orgId String
    Unique identifier of the organization.
    params List<ConnectorCustomhealthsourceParam>
    Parameters
    projectId String
    Unique identifier of the project.
    tags List<String>
    Tags to associate with the resource.
    url String
    URL of the Custom Healthsource controller.
    validationBody String
    Body to be sent with the API Call
    validationPath String
    Path to be added to the base URL for the API Call
    delegateSelectors string[]
    Tags to filter delegates for connection.
    description string
    Description of the resource.
    headers ConnectorCustomhealthsourceHeader[]
    Headers.
    identifier string
    Unique identifier of the resource.
    method string
    HTTP Verb Method for the API Call
    name string
    Name of the resource.
    orgId string
    Unique identifier of the organization.
    params ConnectorCustomhealthsourceParam[]
    Parameters
    projectId string
    Unique identifier of the project.
    tags string[]
    Tags to associate with the resource.
    url string
    URL of the Custom Healthsource controller.
    validationBody string
    Body to be sent with the API Call
    validationPath string
    Path to be added to the base URL for the API Call
    delegate_selectors Sequence[str]
    Tags to filter delegates for connection.
    description str
    Description of the resource.
    headers Sequence[ConnectorCustomhealthsourceHeaderArgs]
    Headers.
    identifier str
    Unique identifier of the resource.
    method str
    HTTP Verb Method for the API Call
    name str
    Name of the resource.
    org_id str
    Unique identifier of the organization.
    params Sequence[ConnectorCustomhealthsourceParamArgs]
    Parameters
    project_id str
    Unique identifier of the project.
    tags Sequence[str]
    Tags to associate with the resource.
    url str
    URL of the Custom Healthsource controller.
    validation_body str
    Body to be sent with the API Call
    validation_path str
    Path to be added to the base URL for the API Call
    delegateSelectors List<String>
    Tags to filter delegates for connection.
    description String
    Description of the resource.
    headers List<Property Map>
    Headers.
    identifier String
    Unique identifier of the resource.
    method String
    HTTP Verb Method for the API Call
    name String
    Name of the resource.
    orgId String
    Unique identifier of the organization.
    params List<Property Map>
    Parameters
    projectId String
    Unique identifier of the project.
    tags List<String>
    Tags to associate with the resource.
    url String
    URL of the Custom Healthsource controller.
    validationBody String
    Body to be sent with the API Call
    validationPath String
    Path to be added to the base URL for the API Call

    Supporting Types

    ConnectorCustomhealthsourceHeader, ConnectorCustomhealthsourceHeaderArgs

    Key string
    Key.
    EncryptedValueRef string
    Reference to the Harness secret containing the encrypted value. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
    Value string
    Value.
    ValueEncrypted bool
    Encrypted value.
    Key string
    Key.
    EncryptedValueRef string
    Reference to the Harness secret containing the encrypted value. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
    Value string
    Value.
    ValueEncrypted bool
    Encrypted value.
    key String
    Key.
    encryptedValueRef String
    Reference to the Harness secret containing the encrypted value. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
    value String
    Value.
    valueEncrypted Boolean
    Encrypted value.
    key string
    Key.
    encryptedValueRef string
    Reference to the Harness secret containing the encrypted value. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
    value string
    Value.
    valueEncrypted boolean
    Encrypted value.
    key str
    Key.
    encrypted_value_ref str
    Reference to the Harness secret containing the encrypted value. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
    value str
    Value.
    value_encrypted bool
    Encrypted value.
    key String
    Key.
    encryptedValueRef String
    Reference to the Harness secret containing the encrypted value. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
    value String
    Value.
    valueEncrypted Boolean
    Encrypted value.

    ConnectorCustomhealthsourceParam, ConnectorCustomhealthsourceParamArgs

    Key string
    Key.
    EncryptedValueRef string
    Reference to the Harness secret containing the encrypted value. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
    Value string
    Value.
    ValueEncrypted bool
    Encrypted value.
    Key string
    Key.
    EncryptedValueRef string
    Reference to the Harness secret containing the encrypted value. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
    Value string
    Value.
    ValueEncrypted bool
    Encrypted value.
    key String
    Key.
    encryptedValueRef String
    Reference to the Harness secret containing the encrypted value. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
    value String
    Value.
    valueEncrypted Boolean
    Encrypted value.
    key string
    Key.
    encryptedValueRef string
    Reference to the Harness secret containing the encrypted value. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
    value string
    Value.
    valueEncrypted boolean
    Encrypted value.
    key str
    Key.
    encrypted_value_ref str
    Reference to the Harness secret containing the encrypted value. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
    value str
    Value.
    value_encrypted bool
    Encrypted value.
    key String
    Key.
    encryptedValueRef String
    Reference to the Harness secret containing the encrypted value. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
    value String
    Value.
    valueEncrypted Boolean
    Encrypted value.

    Import

    Import account level elasticsearch connector

    $ pulumi import harness:platform/connectorCustomhealthsource:ConnectorCustomhealthsource example <connector_id>
    

    Import org level elasticsearch connector

    $ pulumi import harness:platform/connectorCustomhealthsource:ConnectorCustomhealthsource example <ord_id>/<connector_id>
    

    Import project level elasticsearch connector

    $ pulumi import harness:platform/connectorCustomhealthsource:ConnectorCustomhealthsource example <org_id>/<project_id>/<connector_id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Harness v0.4.4 published on Tuesday, Nov 12, 2024 by Pulumi