chronosphere.PagerdutyAlertNotifier
Explore with Pulumi AI
Create PagerdutyAlertNotifier Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PagerdutyAlertNotifier(name: string, args: PagerdutyAlertNotifierArgs, opts?: CustomResourceOptions);
@overload
def PagerdutyAlertNotifier(resource_name: str,
args: PagerdutyAlertNotifierArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PagerdutyAlertNotifier(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
url: Optional[str] = None,
severity: Optional[str] = None,
images: Optional[Sequence[PagerdutyAlertNotifierImageArgs]] = None,
class_: Optional[str] = None,
client_url: Optional[str] = None,
component: Optional[str] = None,
description: Optional[str] = None,
details: Optional[Mapping[str, str]] = None,
group: Optional[str] = None,
basic_auth_password: Optional[str] = None,
links: Optional[Sequence[PagerdutyAlertNotifierLinkArgs]] = None,
client: Optional[str] = None,
proxy_url: Optional[str] = None,
routing_key: Optional[str] = None,
send_resolved: Optional[bool] = None,
service_key: Optional[str] = None,
bearer_token: Optional[str] = None,
slug: Optional[str] = None,
tls_insecure_skip_verify: Optional[bool] = None,
basic_auth_username: Optional[str] = None)
func NewPagerdutyAlertNotifier(ctx *Context, name string, args PagerdutyAlertNotifierArgs, opts ...ResourceOption) (*PagerdutyAlertNotifier, error)
public PagerdutyAlertNotifier(string name, PagerdutyAlertNotifierArgs args, CustomResourceOptions? opts = null)
public PagerdutyAlertNotifier(String name, PagerdutyAlertNotifierArgs args)
public PagerdutyAlertNotifier(String name, PagerdutyAlertNotifierArgs args, CustomResourceOptions options)
type: chronosphere:PagerdutyAlertNotifier
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 PagerdutyAlertNotifierArgs
- 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 PagerdutyAlertNotifierArgs
- 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 PagerdutyAlertNotifierArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PagerdutyAlertNotifierArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PagerdutyAlertNotifierArgs
- 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 pagerdutyAlertNotifierResource = new Pulumi.PagerdutyAlertNotifier("pagerdutyAlertNotifierResource", new()
{
Name = "string",
Url = "string",
Severity = "string",
Images = new[]
{
new Pulumi.Inputs.PagerdutyAlertNotifierImageArgs
{
Src = "string",
Alt = "string",
Href = "string",
},
},
Class = "string",
ClientUrl = "string",
Component = "string",
Description = "string",
Details =
{
{ "string", "string" },
},
Group = "string",
BasicAuthPassword = "string",
Links = new[]
{
new Pulumi.Inputs.PagerdutyAlertNotifierLinkArgs
{
Href = "string",
Text = "string",
},
},
Client = "string",
RoutingKey = "string",
SendResolved = false,
ServiceKey = "string",
BearerToken = "string",
Slug = "string",
TlsInsecureSkipVerify = false,
BasicAuthUsername = "string",
});
example, err := chronosphere.NewPagerdutyAlertNotifier(ctx, "pagerdutyAlertNotifierResource", &chronosphere.PagerdutyAlertNotifierArgs{
Name: pulumi.String("string"),
Url: pulumi.String("string"),
Severity: pulumi.String("string"),
Images: chronosphere.PagerdutyAlertNotifierImageArray{
&chronosphere.PagerdutyAlertNotifierImageArgs{
Src: pulumi.String("string"),
Alt: pulumi.String("string"),
Href: pulumi.String("string"),
},
},
Class: pulumi.String("string"),
ClientUrl: pulumi.String("string"),
Component: pulumi.String("string"),
Description: pulumi.String("string"),
Details: pulumi.StringMap{
"string": pulumi.String("string"),
},
Group: pulumi.String("string"),
BasicAuthPassword: pulumi.String("string"),
Links: chronosphere.PagerdutyAlertNotifierLinkArray{
&chronosphere.PagerdutyAlertNotifierLinkArgs{
Href: pulumi.String("string"),
Text: pulumi.String("string"),
},
},
Client: pulumi.String("string"),
RoutingKey: pulumi.String("string"),
SendResolved: pulumi.Bool(false),
ServiceKey: pulumi.String("string"),
BearerToken: pulumi.String("string"),
Slug: pulumi.String("string"),
TlsInsecureSkipVerify: pulumi.Bool(false),
BasicAuthUsername: pulumi.String("string"),
})
var pagerdutyAlertNotifierResource = new PagerdutyAlertNotifier("pagerdutyAlertNotifierResource", PagerdutyAlertNotifierArgs.builder()
.name("string")
.url("string")
.severity("string")
.images(PagerdutyAlertNotifierImageArgs.builder()
.src("string")
.alt("string")
.href("string")
.build())
.class_("string")
.clientUrl("string")
.component("string")
.description("string")
.details(Map.of("string", "string"))
.group("string")
.basicAuthPassword("string")
.links(PagerdutyAlertNotifierLinkArgs.builder()
.href("string")
.text("string")
.build())
.client("string")
.routingKey("string")
.sendResolved(false)
.serviceKey("string")
.bearerToken("string")
.slug("string")
.tlsInsecureSkipVerify(false)
.basicAuthUsername("string")
.build());
pagerduty_alert_notifier_resource = chronosphere.PagerdutyAlertNotifier("pagerdutyAlertNotifierResource",
name="string",
url="string",
severity="string",
images=[{
"src": "string",
"alt": "string",
"href": "string",
}],
class_="string",
client_url="string",
component="string",
description="string",
details={
"string": "string",
},
group="string",
basic_auth_password="string",
links=[{
"href": "string",
"text": "string",
}],
client="string",
routing_key="string",
send_resolved=False,
service_key="string",
bearer_token="string",
slug="string",
tls_insecure_skip_verify=False,
basic_auth_username="string")
const pagerdutyAlertNotifierResource = new chronosphere.PagerdutyAlertNotifier("pagerdutyAlertNotifierResource", {
name: "string",
url: "string",
severity: "string",
images: [{
src: "string",
alt: "string",
href: "string",
}],
"class": "string",
clientUrl: "string",
component: "string",
description: "string",
details: {
string: "string",
},
group: "string",
basicAuthPassword: "string",
links: [{
href: "string",
text: "string",
}],
client: "string",
routingKey: "string",
sendResolved: false,
serviceKey: "string",
bearerToken: "string",
slug: "string",
tlsInsecureSkipVerify: false,
basicAuthUsername: "string",
});
type: chronosphere:PagerdutyAlertNotifier
properties:
basicAuthPassword: string
basicAuthUsername: string
bearerToken: string
class: string
client: string
clientUrl: string
component: string
description: string
details:
string: string
group: string
images:
- alt: string
href: string
src: string
links:
- href: string
text: string
name: string
routingKey: string
sendResolved: false
serviceKey: string
severity: string
slug: string
tlsInsecureSkipVerify: false
url: string
PagerdutyAlertNotifier 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 PagerdutyAlertNotifier resource accepts the following input properties:
- Name string
- Severity string
- Url string
- Basic
Auth stringPassword - Basic
Auth stringUsername - Bearer
Token string - Class string
- Client string
- Client
Url string - Component string
- Description string
- Details Dictionary<string, string>
- Group string
- Images
List<Chronosphere.
Pulumi. Inputs. Pagerduty Alert Notifier Image> - Links
List<Chronosphere.
Pulumi. Inputs. Pagerduty Alert Notifier Link> - Proxy
Url string - Routing
Key string - Send
Resolved bool - Service
Key string - Slug string
- Tls
Insecure boolSkip Verify
- Name string
- Severity string
- Url string
- Basic
Auth stringPassword - Basic
Auth stringUsername - Bearer
Token string - Class string
- Client string
- Client
Url string - Component string
- Description string
- Details map[string]string
- Group string
- Images
[]Pagerduty
Alert Notifier Image Args - Links
[]Pagerduty
Alert Notifier Link Args - Proxy
Url string - Routing
Key string - Send
Resolved bool - Service
Key string - Slug string
- Tls
Insecure boolSkip Verify
- name String
- severity String
- url String
- basic
Auth StringPassword - basic
Auth StringUsername - bearer
Token String - class_ String
- client String
- client
Url String - component String
- description String
- details Map<String,String>
- group String
- images
List<Pagerduty
Alert Notifier Image> - links
List<Pagerduty
Alert Notifier Link> - proxy
Url String - routing
Key String - send
Resolved Boolean - service
Key String - slug String
- tls
Insecure BooleanSkip Verify
- name string
- severity string
- url string
- basic
Auth stringPassword - basic
Auth stringUsername - bearer
Token string - class string
- client string
- client
Url string - component string
- description string
- details {[key: string]: string}
- group string
- images
Pagerduty
Alert Notifier Image[] - links
Pagerduty
Alert Notifier Link[] - proxy
Url string - routing
Key string - send
Resolved boolean - service
Key string - slug string
- tls
Insecure booleanSkip Verify
- name str
- severity str
- url str
- basic_
auth_ strpassword - basic_
auth_ strusername - bearer_
token str - class_ str
- client str
- client_
url str - component str
- description str
- details Mapping[str, str]
- group str
- images
Sequence[Pagerduty
Alert Notifier Image Args] - links
Sequence[Pagerduty
Alert Notifier Link Args] - proxy_
url str - routing_
key str - send_
resolved bool - service_
key str - slug str
- tls_
insecure_ boolskip_ verify
- name String
- severity String
- url String
- basic
Auth StringPassword - basic
Auth StringUsername - bearer
Token String - class String
- client String
- client
Url String - component String
- description String
- details Map<String>
- group String
- images List<Property Map>
- links List<Property Map>
- proxy
Url String - routing
Key String - send
Resolved Boolean - service
Key String - slug String
- tls
Insecure BooleanSkip Verify
Outputs
All input properties are implicitly available as output properties. Additionally, the PagerdutyAlertNotifier 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 PagerdutyAlertNotifier Resource
Get an existing PagerdutyAlertNotifier 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?: PagerdutyAlertNotifierState, opts?: CustomResourceOptions): PagerdutyAlertNotifier
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
basic_auth_password: Optional[str] = None,
basic_auth_username: Optional[str] = None,
bearer_token: Optional[str] = None,
class_: Optional[str] = None,
client: Optional[str] = None,
client_url: Optional[str] = None,
component: Optional[str] = None,
description: Optional[str] = None,
details: Optional[Mapping[str, str]] = None,
group: Optional[str] = None,
images: Optional[Sequence[PagerdutyAlertNotifierImageArgs]] = None,
links: Optional[Sequence[PagerdutyAlertNotifierLinkArgs]] = None,
name: Optional[str] = None,
proxy_url: Optional[str] = None,
routing_key: Optional[str] = None,
send_resolved: Optional[bool] = None,
service_key: Optional[str] = None,
severity: Optional[str] = None,
slug: Optional[str] = None,
tls_insecure_skip_verify: Optional[bool] = None,
url: Optional[str] = None) -> PagerdutyAlertNotifier
func GetPagerdutyAlertNotifier(ctx *Context, name string, id IDInput, state *PagerdutyAlertNotifierState, opts ...ResourceOption) (*PagerdutyAlertNotifier, error)
public static PagerdutyAlertNotifier Get(string name, Input<string> id, PagerdutyAlertNotifierState? state, CustomResourceOptions? opts = null)
public static PagerdutyAlertNotifier get(String name, Output<String> id, PagerdutyAlertNotifierState 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.
- Basic
Auth stringPassword - Basic
Auth stringUsername - Bearer
Token string - Class string
- Client string
- Client
Url string - Component string
- Description string
- Details Dictionary<string, string>
- Group string
- Images
List<Chronosphere.
Pulumi. Inputs. Pagerduty Alert Notifier Image> - Links
List<Chronosphere.
Pulumi. Inputs. Pagerduty Alert Notifier Link> - Name string
- Proxy
Url string - Routing
Key string - Send
Resolved bool - Service
Key string - Severity string
- Slug string
- Tls
Insecure boolSkip Verify - Url string
- Basic
Auth stringPassword - Basic
Auth stringUsername - Bearer
Token string - Class string
- Client string
- Client
Url string - Component string
- Description string
- Details map[string]string
- Group string
- Images
[]Pagerduty
Alert Notifier Image Args - Links
[]Pagerduty
Alert Notifier Link Args - Name string
- Proxy
Url string - Routing
Key string - Send
Resolved bool - Service
Key string - Severity string
- Slug string
- Tls
Insecure boolSkip Verify - Url string
- basic
Auth StringPassword - basic
Auth StringUsername - bearer
Token String - class_ String
- client String
- client
Url String - component String
- description String
- details Map<String,String>
- group String
- images
List<Pagerduty
Alert Notifier Image> - links
List<Pagerduty
Alert Notifier Link> - name String
- proxy
Url String - routing
Key String - send
Resolved Boolean - service
Key String - severity String
- slug String
- tls
Insecure BooleanSkip Verify - url String
- basic
Auth stringPassword - basic
Auth stringUsername - bearer
Token string - class string
- client string
- client
Url string - component string
- description string
- details {[key: string]: string}
- group string
- images
Pagerduty
Alert Notifier Image[] - links
Pagerduty
Alert Notifier Link[] - name string
- proxy
Url string - routing
Key string - send
Resolved boolean - service
Key string - severity string
- slug string
- tls
Insecure booleanSkip Verify - url string
- basic_
auth_ strpassword - basic_
auth_ strusername - bearer_
token str - class_ str
- client str
- client_
url str - component str
- description str
- details Mapping[str, str]
- group str
- images
Sequence[Pagerduty
Alert Notifier Image Args] - links
Sequence[Pagerduty
Alert Notifier Link Args] - name str
- proxy_
url str - routing_
key str - send_
resolved bool - service_
key str - severity str
- slug str
- tls_
insecure_ boolskip_ verify - url str
- basic
Auth StringPassword - basic
Auth StringUsername - bearer
Token String - class String
- client String
- client
Url String - component String
- description String
- details Map<String>
- group String
- images List<Property Map>
- links List<Property Map>
- name String
- proxy
Url String - routing
Key String - send
Resolved Boolean - service
Key String - severity String
- slug String
- tls
Insecure BooleanSkip Verify - url String
Supporting Types
PagerdutyAlertNotifierImage, PagerdutyAlertNotifierImageArgs
PagerdutyAlertNotifierLink, PagerdutyAlertNotifierLinkArgs
Package Details
- Repository
- chronosphere chronosphereio/pulumi-chronosphere
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
chronosphere
Terraform Provider.