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:
- Api
Token stringRef Reference to the Harness secret containing the api token.
- Identifier string
Unique identifier of the resource.
- Delegate
Selectors List<string> Connect using only the delegates which have these tags.
- Description string
Description 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.
- List<string>
Tags to associate with the resource. Tags should be in the form
name:value
.
- Api
Token stringRef Reference to the Harness secret containing the api token.
- Identifier string
Unique identifier of the resource.
- Delegate
Selectors []string Connect using only the delegates which have these tags.
- Description string
Description 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.
- []string
Tags to associate with the resource. Tags should be in the form
name:value
.
- api
Token StringRef Reference to the Harness secret containing the api token.
- identifier String
Unique identifier of the resource.
- delegate
Selectors List<String> Connect using only the delegates which have these tags.
- description String
Description 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.
- List<String>
Tags to associate with the resource. Tags should be in the form
name:value
.
- api
Token stringRef Reference to the Harness secret containing the api token.
- identifier string
Unique identifier of the resource.
- delegate
Selectors string[] Connect using only the delegates which have these tags.
- description string
Description 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.
- string[]
Tags to associate with the resource. Tags should be in the form
name:value
.
- api_
token_ strref 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.
- Sequence[str]
Tags to associate with the resource. Tags should be in the form
name:value
.
- api
Token StringRef Reference to the Harness secret containing the api token.
- identifier String
Unique identifier of the resource.
- delegate
Selectors List<String> Connect using only the delegates which have these tags.
- description String
Description 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.
- 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.
- Api
Token stringRef Reference to the Harness secret containing the api token.
- Delegate
Selectors 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.
- Org
Id string Unique identifier of the Organization.
- Project
Id string Unique identifier of the Project.
- List<string>
Tags to associate with the resource. Tags should be in the form
name:value
.
- Api
Token stringRef Reference to the Harness secret containing the api token.
- Delegate
Selectors []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.
- Org
Id string Unique identifier of the Organization.
- Project
Id string Unique identifier of the Project.
- []string
Tags to associate with the resource. Tags should be in the form
name:value
.
- api
Token StringRef Reference to the Harness secret containing the api token.
- delegate
Selectors 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.
- org
Id String Unique identifier of the Organization.
- project
Id String Unique identifier of the Project.
- List<String>
Tags to associate with the resource. Tags should be in the form
name:value
.
- api
Token stringRef Reference to the Harness secret containing the api token.
- delegate
Selectors 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.
- org
Id string Unique identifier of the Organization.
- project
Id string Unique identifier of the Project.
- string[]
Tags to associate with the resource. Tags should be in the form
name:value
.
- api_
token_ strref 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.
- Sequence[str]
Tags to associate with the resource. Tags should be in the form
name:value
.
- api
Token StringRef Reference to the Harness secret containing the api token.
- delegate
Selectors 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.
- org
Id String Unique identifier of the Organization.
- project
Id String Unique identifier of the Project.
- 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.