harness.platform.PagerdutyConnector

Resource for creating a PagerDuty connector.

Create PagerdutyConnector Resource

new PagerdutyConnector(name: string, args: PagerdutyConnectorArgs, opts?: CustomResourceOptions);
@overload
def PagerdutyConnector(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       api_token_ref: Optional[str] = None,
                       delegate_selectors: Optional[Sequence[str]] = None,
                       description: Optional[str] = None,
                       identifier: Optional[str] = None,
                       name: Optional[str] = None,
                       org_id: Optional[str] = None,
                       project_id: Optional[str] = None,
                       tags: Optional[Sequence[str]] = None)
@overload
def PagerdutyConnector(resource_name: str,
                       args: PagerdutyConnectorArgs,
                       opts: Optional[ResourceOptions] = None)
func NewPagerdutyConnector(ctx *Context, name string, args PagerdutyConnectorArgs, opts ...ResourceOption) (*PagerdutyConnector, error)
public PagerdutyConnector(string name, PagerdutyConnectorArgs args, CustomResourceOptions? opts = null)
public PagerdutyConnector(String name, PagerdutyConnectorArgs args)
public PagerdutyConnector(String name, PagerdutyConnectorArgs args, CustomResourceOptions options)
type: harness:platform:PagerdutyConnector
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args PagerdutyConnectorArgs
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 PagerdutyConnectorArgs
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 PagerdutyConnectorArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args PagerdutyConnectorArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args PagerdutyConnectorArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

PagerdutyConnector 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 PagerdutyConnector resource accepts the following input properties:

ApiTokenRef string

Reference to the Harness secret containing the api token.

Identifier string

Unique identifier of the resource.

DelegateSelectors List<string>

Connect using only the delegates which have these tags.

Description string

Description of the resource.

Name string

Name of the resource.

OrgId string

Unique identifier of the Organization.

ProjectId string

Unique identifier of the Project.

Tags List<string>

Tags to associate with the resource. Tags should be in the form name:value.

ApiTokenRef string

Reference to the Harness secret containing the api token.

Identifier string

Unique identifier of the resource.

DelegateSelectors []string

Connect using only the delegates which have these tags.

Description string

Description of the resource.

Name string

Name of the resource.

OrgId string

Unique identifier of the Organization.

ProjectId string

Unique identifier of the Project.

Tags []string

Tags to associate with the resource. Tags should be in the form name:value.

apiTokenRef String

Reference to the Harness secret containing the api token.

identifier String

Unique identifier of the resource.

delegateSelectors List<String>

Connect using only the delegates which have these tags.

description String

Description of the resource.

name String

Name of the resource.

orgId String

Unique identifier of the Organization.

projectId String

Unique identifier of the Project.

tags List<String>

Tags to associate with the resource. Tags should be in the form name:value.

apiTokenRef string

Reference to the Harness secret containing the api token.

identifier string

Unique identifier of the resource.

delegateSelectors string[]

Connect using only the delegates which have these tags.

description string

Description of the resource.

name string

Name of the resource.

orgId string

Unique identifier of the Organization.

projectId string

Unique identifier of the Project.

tags string[]

Tags to associate with the resource. Tags should be in the form name:value.

api_token_ref str

Reference to the Harness secret containing the api token.

identifier str

Unique identifier of the resource.

delegate_selectors Sequence[str]

Connect using only the delegates which have these tags.

description str

Description 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.

tags Sequence[str]

Tags to associate with the resource. Tags should be in the form name:value.

apiTokenRef String

Reference to the Harness secret containing the api token.

identifier String

Unique identifier of the resource.

delegateSelectors List<String>

Connect using only the delegates which have these tags.

description String

Description of the resource.

name String

Name of the resource.

orgId String

Unique identifier of the Organization.

projectId String

Unique identifier of the Project.

tags List<String>

Tags to associate with the resource. Tags should be in the form name:value.

Outputs

All input properties are implicitly available as output properties. Additionally, the PagerdutyConnector 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 PagerdutyConnector Resource

Get an existing PagerdutyConnector 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?: PagerdutyConnectorState, opts?: CustomResourceOptions): PagerdutyConnector
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        api_token_ref: Optional[str] = None,
        delegate_selectors: Optional[Sequence[str]] = None,
        description: Optional[str] = None,
        identifier: Optional[str] = None,
        name: Optional[str] = None,
        org_id: Optional[str] = None,
        project_id: Optional[str] = None,
        tags: Optional[Sequence[str]] = None) -> PagerdutyConnector
func GetPagerdutyConnector(ctx *Context, name string, id IDInput, state *PagerdutyConnectorState, opts ...ResourceOption) (*PagerdutyConnector, error)
public static PagerdutyConnector Get(string name, Input<string> id, PagerdutyConnectorState? state, CustomResourceOptions? opts = null)
public static PagerdutyConnector get(String name, Output<String> id, PagerdutyConnectorState 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:
ApiTokenRef string

Reference to the Harness secret containing the api token.

DelegateSelectors List<string>

Connect using only the delegates which have these tags.

Description string

Description of the resource.

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.

Tags List<string>

Tags to associate with the resource. Tags should be in the form name:value.

ApiTokenRef string

Reference to the Harness secret containing the api token.

DelegateSelectors []string

Connect using only the delegates which have these tags.

Description string

Description of the resource.

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.

Tags []string

Tags to associate with the resource. Tags should be in the form name:value.

apiTokenRef String

Reference to the Harness secret containing the api token.

delegateSelectors List<String>

Connect using only the delegates which have these tags.

description String

Description of the resource.

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.

tags List<String>

Tags to associate with the resource. Tags should be in the form name:value.

apiTokenRef string

Reference to the Harness secret containing the api token.

delegateSelectors string[]

Connect using only the delegates which have these tags.

description string

Description of the resource.

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.

tags string[]

Tags to associate with the resource. Tags should be in the form name:value.

api_token_ref str

Reference to the Harness secret containing the api token.

delegate_selectors Sequence[str]

Connect using only the delegates which have these tags.

description str

Description of the resource.

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.

tags Sequence[str]

Tags to associate with the resource. Tags should be in the form name:value.

apiTokenRef String

Reference to the Harness secret containing the api token.

delegateSelectors List<String>

Connect using only the delegates which have these tags.

description String

Description of the resource.

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.

tags List<String>

Tags to associate with the resource. Tags should be in the form name:value.

Package Details

Repository
harness lbrlabs/pulumi-harness
License
Apache-2.0
Notes

This Pulumi package is based on the harness Terraform Provider.