Class Addon
With add-ons, third-party developers can write their own add-ons to PagerDuty's UI. Given a configuration containing a src parameter, that URL will be embedded in an iframe on a page that's available to users from a drop-down menu.
Example Usage
using Pulumi;
using Pagerduty = Pulumi.Pagerduty;
class MyStack : Stack
{
public MyStack()
{
var example = new Pagerduty.Addon("example", new Pagerduty.AddonArgs
{
Src = "https://intranet.example.com/status",
});
}
}
Inheritance
Inherited Members
Namespace: Pulumi.Pagerduty
Assembly: Pulumi.Pagerduty.dll
Syntax
public class Addon : CustomResource
Constructors
View SourceAddon(String, AddonArgs, CustomResourceOptions)
Create a Addon resource with the given unique name, arguments, and options.
Declaration
public Addon(string name, AddonArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| AddonArgs | args | The arguments used to populate this resource's properties |
| Pulumi.CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceName
The name of the add-on.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Pulumi.Output<System.String> |
Src
The source URL to display in a frame in the PagerDuty UI. HTTPS is required.
Declaration
public Output<string> Src { get; }
Property Value
| Type | Description |
|---|---|
| Pulumi.Output<System.String> |
Methods
View SourceGet(String, Input<String>, AddonState, CustomResourceOptions)
Get an existing Addon resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Addon Get(string name, Input<string> id, AddonState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Pulumi.Input<System.String> | id | The unique provider ID of the resource to lookup. |
| AddonState | state | Any extra arguments used during the lookup. |
| Pulumi.CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Addon |