harness.platform.ConnectorCustomhealthsource
Explore with Pulumi AI
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=[harness.platform.ConnectorCustomhealthsourceHeaderArgs(
key="string",
encrypted_value_ref="string",
value="string",
value_encrypted=False,
)],
name="string",
delegate_selectors=["string"],
params=[harness.platform.ConnectorCustomhealthsourceParamArgs(
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
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.
- Delegate
Selectors List<string> - Tags to filter delegates for connection.
- Description string
- Description of the resource.
- Headers
List<Connector
Customhealthsource Header> - Headers.
- Name string
- Name of the resource.
- Org
Id string - Unique identifier of the organization.
- Params
List<Connector
Customhealthsource Param> - Parameters
- Project
Id string - Unique identifier of the project.
- List<string>
- Tags to associate with the resource.
- Validation
Body string - Body to be sent with the API Call
- Validation
Path 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.
- Delegate
Selectors []string - Tags to filter delegates for connection.
- Description string
- Description of the resource.
- Headers
[]Connector
Customhealthsource Header Args - Headers.
- Name string
- Name of the resource.
- Org
Id string - Unique identifier of the organization.
- Params
[]Connector
Customhealthsource Param Args - Parameters
- Project
Id string - Unique identifier of the project.
- []string
- Tags to associate with the resource.
- Validation
Body string - Body to be sent with the API Call
- Validation
Path 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.
- delegate
Selectors List<String> - Tags to filter delegates for connection.
- description String
- Description of the resource.
- headers
List<Connector
Customhealthsource Header> - Headers.
- name String
- Name of the resource.
- org
Id String - Unique identifier of the organization.
- params
List<Connector
Customhealthsource Param> - Parameters
- project
Id String - Unique identifier of the project.
- List<String>
- Tags to associate with the resource.
- validation
Body String - Body to be sent with the API Call
- validation
Path 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.
- delegate
Selectors string[] - Tags to filter delegates for connection.
- description string
- Description of the resource.
- headers
Connector
Customhealthsource Header[] - Headers.
- name string
- Name of the resource.
- org
Id string - Unique identifier of the organization.
- params
Connector
Customhealthsource Param[] - Parameters
- project
Id string - Unique identifier of the project.
- string[]
- Tags to associate with the resource.
- validation
Body string - Body to be sent with the API Call
- validation
Path 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[Connector
Customhealthsource Header Args] - Headers.
- name str
- Name of the resource.
- org_
id str - Unique identifier of the organization.
- params
Sequence[Connector
Customhealthsource Param Args] - Parameters
- project_
id str - Unique identifier of the project.
- 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.
- delegate
Selectors 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.
- org
Id String - Unique identifier of the organization.
- params List<Property Map>
- Parameters
- project
Id String - Unique identifier of the project.
- List<String>
- Tags to associate with the resource.
- validation
Body String - Body to be sent with the API Call
- validation
Path 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.
- Delegate
Selectors List<string> - Tags to filter delegates for connection.
- Description string
- Description of the resource.
- Headers
List<Connector
Customhealthsource Header> - Headers.
- Identifier string
- Unique identifier of the resource.
- Method string
- HTTP Verb Method for the API Call
- Name string
- Name of the resource.
- Org
Id string - Unique identifier of the organization.
- Params
List<Connector
Customhealthsource Param> - Parameters
- Project
Id string - Unique identifier of the project.
- List<string>
- Tags to associate with the resource.
- Url string
- URL of the Custom Healthsource controller.
- Validation
Body string - Body to be sent with the API Call
- Validation
Path string - Path to be added to the base URL for the API Call
- Delegate
Selectors []string - Tags to filter delegates for connection.
- Description string
- Description of the resource.
- Headers
[]Connector
Customhealthsource Header Args - Headers.
- Identifier string
- Unique identifier of the resource.
- Method string
- HTTP Verb Method for the API Call
- Name string
- Name of the resource.
- Org
Id string - Unique identifier of the organization.
- Params
[]Connector
Customhealthsource Param Args - Parameters
- Project
Id string - Unique identifier of the project.
- []string
- Tags to associate with the resource.
- Url string
- URL of the Custom Healthsource controller.
- Validation
Body string - Body to be sent with the API Call
- Validation
Path string - Path to be added to the base URL for the API Call
- delegate
Selectors List<String> - Tags to filter delegates for connection.
- description String
- Description of the resource.
- headers
List<Connector
Customhealthsource Header> - Headers.
- identifier String
- Unique identifier of the resource.
- method String
- HTTP Verb Method for the API Call
- name String
- Name of the resource.
- org
Id String - Unique identifier of the organization.
- params
List<Connector
Customhealthsource Param> - Parameters
- project
Id String - Unique identifier of the project.
- List<String>
- Tags to associate with the resource.
- url String
- URL of the Custom Healthsource controller.
- validation
Body String - Body to be sent with the API Call
- validation
Path String - Path to be added to the base URL for the API Call
- delegate
Selectors string[] - Tags to filter delegates for connection.
- description string
- Description of the resource.
- headers
Connector
Customhealthsource Header[] - Headers.
- identifier string
- Unique identifier of the resource.
- method string
- HTTP Verb Method for the API Call
- name string
- Name of the resource.
- org
Id string - Unique identifier of the organization.
- params
Connector
Customhealthsource Param[] - Parameters
- project
Id string - Unique identifier of the project.
- string[]
- Tags to associate with the resource.
- url string
- URL of the Custom Healthsource controller.
- validation
Body string - Body to be sent with the API Call
- validation
Path 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[Connector
Customhealthsource Header Args] - 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[Connector
Customhealthsource Param Args] - Parameters
- project_
id str - Unique identifier of the project.
- 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
- delegate
Selectors 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.
- org
Id String - Unique identifier of the organization.
- params List<Property Map>
- Parameters
- project
Id String - Unique identifier of the project.
- List<String>
- Tags to associate with the resource.
- url String
- URL of the Custom Healthsource controller.
- validation
Body String - Body to be sent with the API Call
- validation
Path String - Path to be added to the base URL for the API Call
Supporting Types
ConnectorCustomhealthsourceHeader, ConnectorCustomhealthsourceHeaderArgs
- Key string
- Key.
- Encrypted
Value stringRef - 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.
- Value
Encrypted bool - Encrypted value.
- Key string
- Key.
- Encrypted
Value stringRef - 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.
- Value
Encrypted bool - Encrypted value.
- key String
- Key.
- encrypted
Value StringRef - 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.
- value
Encrypted Boolean - Encrypted value.
- key string
- Key.
- encrypted
Value stringRef - 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.
- value
Encrypted boolean - Encrypted value.
- key str
- Key.
- encrypted_
value_ strref - 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.
- encrypted
Value StringRef - 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.
- value
Encrypted Boolean - Encrypted value.
ConnectorCustomhealthsourceParam, ConnectorCustomhealthsourceParamArgs
- Key string
- Key.
- Encrypted
Value stringRef - 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.
- Value
Encrypted bool - Encrypted value.
- Key string
- Key.
- Encrypted
Value stringRef - 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.
- Value
Encrypted bool - Encrypted value.
- key String
- Key.
- encrypted
Value StringRef - 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.
- value
Encrypted Boolean - Encrypted value.
- key string
- Key.
- encrypted
Value stringRef - 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.
- value
Encrypted boolean - Encrypted value.
- key str
- Key.
- encrypted_
value_ strref - 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.
- encrypted
Value StringRef - 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.
- value
Encrypted 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.