harness.platform.getPagerdutyConnector

Datasource for looking up a PagerDuty connector.

Using getPagerdutyConnector

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 getPagerdutyConnector(args: GetPagerdutyConnectorArgs, opts?: InvokeOptions): Promise<GetPagerdutyConnectorResult>
function getPagerdutyConnectorOutput(args: GetPagerdutyConnectorOutputArgs, opts?: InvokeOptions): Output<GetPagerdutyConnectorResult>
def get_pagerduty_connector(identifier: Optional[str] = None,
                            name: Optional[str] = None,
                            org_id: Optional[str] = None,
                            project_id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetPagerdutyConnectorResult
def get_pagerduty_connector_output(identifier: Optional[pulumi.Input[str]] = None,
                            name: Optional[pulumi.Input[str]] = None,
                            org_id: Optional[pulumi.Input[str]] = None,
                            project_id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetPagerdutyConnectorResult]
func LookupPagerdutyConnector(ctx *Context, args *LookupPagerdutyConnectorArgs, opts ...InvokeOption) (*LookupPagerdutyConnectorResult, error)
func LookupPagerdutyConnectorOutput(ctx *Context, args *LookupPagerdutyConnectorOutputArgs, opts ...InvokeOption) LookupPagerdutyConnectorResultOutput

> Note: This function is named LookupPagerdutyConnector in the Go SDK.

public static class GetPagerdutyConnector 
{
    public static Task<GetPagerdutyConnectorResult> InvokeAsync(GetPagerdutyConnectorArgs args, InvokeOptions? opts = null)
    public static Output<GetPagerdutyConnectorResult> Invoke(GetPagerdutyConnectorInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPagerdutyConnectorResult> getPagerdutyConnector(GetPagerdutyConnectorArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: harness:platform/getPagerdutyConnector:getPagerdutyConnector
  arguments:
    # arguments dictionary

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.

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.

getPagerdutyConnector Result

The following output properties are available:

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.

Id string

The provider-assigned unique ID for this managed resource.

Tags List<string>

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

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.

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.

Id string

The provider-assigned unique ID for this managed resource.

Tags []string

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

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.

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.

id String

The provider-assigned unique ID for this managed resource.

tags List<String>

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

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.

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.

id string

The provider-assigned unique ID for this managed resource.

tags string[]

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

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.

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.

id str

The provider-assigned unique ID for this managed resource.

tags Sequence[str]

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

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.

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.

id String

The provider-assigned unique ID for this managed resource.

tags List<String>

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

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.

Package Details

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

This Pulumi package is based on the harness Terraform Provider.