1. Packages
  2. Ibm Provider
  3. API Docs
  4. EnPagerdutyTemplate
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.EnPagerdutyTemplate

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Create, update, or delete PagerDuty Template by using IBM Cloud™ Event Notifications.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const pagerdutyTemplate = new ibm.EnPagerdutyTemplate("pagerdutyTemplate", {
        instanceGuid: ibm_resource_instance.en_terraform_test_resource.guid,
        type: "pagerduty.notification",
        description: "PagerDuty Template for Notifications",
        params: {
            body: "ewogICJwYXlsb2FkIjogewogICAgInN1bW1hcnkiOiAie3sgZGF0YS5hbGVydF9kZWZpbml0aW9uLm5hbWV9fSIsCiAgICAidGltZXN0YW1wIjogInt7dGltZX19IiwKICAgICJzZXZlcml0eSI6ICJpbmZvIiwKICAgICJzb3VyY2UiOiAie3sgc291cmNlIH19IgogIH0sCiAgImRlZHVwX2tleSI6ICJ7eyBpZCB9fSIsCiAge3sjZXF1YWwgZGF0YS5zdGF0dXMgInRyaWdnZXJlZCJ9fQogICJldmVudF9hY3Rpb24iOiAidHJpZ2dlciIKICAge3svZXF1YWx9fQoKICB7eyNlcXVhbCBkYXRhLnN0YXR1cyAicmVzb2x2ZWQifX0KICAiZXZlbnRfYWN0aW9uIjogInJlc29sdmUiCiAge3svZXF1YWx9fQoKICAge3sjZXF1YWwgZGF0YS5zdGF0dXMgImFja25vd2xlZGdlZCJ9fQogICAiZXZlbnRfYWN0aW9uIjogImFja25vd2xlZGdlIgogICB7ey9lcXVhbH19Cn0=",
        },
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    pagerduty_template = ibm.EnPagerdutyTemplate("pagerdutyTemplate",
        instance_guid=ibm_resource_instance["en_terraform_test_resource"]["guid"],
        type="pagerduty.notification",
        description="PagerDuty Template for Notifications",
        params={
            "body": "ewogICJwYXlsb2FkIjogewogICAgInN1bW1hcnkiOiAie3sgZGF0YS5hbGVydF9kZWZpbml0aW9uLm5hbWV9fSIsCiAgICAidGltZXN0YW1wIjogInt7dGltZX19IiwKICAgICJzZXZlcml0eSI6ICJpbmZvIiwKICAgICJzb3VyY2UiOiAie3sgc291cmNlIH19IgogIH0sCiAgImRlZHVwX2tleSI6ICJ7eyBpZCB9fSIsCiAge3sjZXF1YWwgZGF0YS5zdGF0dXMgInRyaWdnZXJlZCJ9fQogICJldmVudF9hY3Rpb24iOiAidHJpZ2dlciIKICAge3svZXF1YWx9fQoKICB7eyNlcXVhbCBkYXRhLnN0YXR1cyAicmVzb2x2ZWQifX0KICAiZXZlbnRfYWN0aW9uIjogInJlc29sdmUiCiAge3svZXF1YWx9fQoKICAge3sjZXF1YWwgZGF0YS5zdGF0dXMgImFja25vd2xlZGdlZCJ9fQogICAiZXZlbnRfYWN0aW9uIjogImFja25vd2xlZGdlIgogICB7ey9lcXVhbH19Cn0=",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewEnPagerdutyTemplate(ctx, "pagerdutyTemplate", &ibm.EnPagerdutyTemplateArgs{
    			InstanceGuid: pulumi.Any(ibm_resource_instance.En_terraform_test_resource.Guid),
    			Type:         pulumi.String("pagerduty.notification"),
    			Description:  pulumi.String("PagerDuty Template for Notifications"),
    			Params: &ibm.EnPagerdutyTemplateParamsArgs{
    				Body: pulumi.String("ewogICJwYXlsb2FkIjogewogICAgInN1bW1hcnkiOiAie3sgZGF0YS5hbGVydF9kZWZpbml0aW9uLm5hbWV9fSIsCiAgICAidGltZXN0YW1wIjogInt7dGltZX19IiwKICAgICJzZXZlcml0eSI6ICJpbmZvIiwKICAgICJzb3VyY2UiOiAie3sgc291cmNlIH19IgogIH0sCiAgImRlZHVwX2tleSI6ICJ7eyBpZCB9fSIsCiAge3sjZXF1YWwgZGF0YS5zdGF0dXMgInRyaWdnZXJlZCJ9fQogICJldmVudF9hY3Rpb24iOiAidHJpZ2dlciIKICAge3svZXF1YWx9fQoKICB7eyNlcXVhbCBkYXRhLnN0YXR1cyAicmVzb2x2ZWQifX0KICAiZXZlbnRfYWN0aW9uIjogInJlc29sdmUiCiAge3svZXF1YWx9fQoKICAge3sjZXF1YWwgZGF0YS5zdGF0dXMgImFja25vd2xlZGdlZCJ9fQogICAiZXZlbnRfYWN0aW9uIjogImFja25vd2xlZGdlIgogICB7ey9lcXVhbH19Cn0="),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var pagerdutyTemplate = new Ibm.EnPagerdutyTemplate("pagerdutyTemplate", new()
        {
            InstanceGuid = ibm_resource_instance.En_terraform_test_resource.Guid,
            Type = "pagerduty.notification",
            Description = "PagerDuty Template for Notifications",
            Params = new Ibm.Inputs.EnPagerdutyTemplateParamsArgs
            {
                Body = "ewogICJwYXlsb2FkIjogewogICAgInN1bW1hcnkiOiAie3sgZGF0YS5hbGVydF9kZWZpbml0aW9uLm5hbWV9fSIsCiAgICAidGltZXN0YW1wIjogInt7dGltZX19IiwKICAgICJzZXZlcml0eSI6ICJpbmZvIiwKICAgICJzb3VyY2UiOiAie3sgc291cmNlIH19IgogIH0sCiAgImRlZHVwX2tleSI6ICJ7eyBpZCB9fSIsCiAge3sjZXF1YWwgZGF0YS5zdGF0dXMgInRyaWdnZXJlZCJ9fQogICJldmVudF9hY3Rpb24iOiAidHJpZ2dlciIKICAge3svZXF1YWx9fQoKICB7eyNlcXVhbCBkYXRhLnN0YXR1cyAicmVzb2x2ZWQifX0KICAiZXZlbnRfYWN0aW9uIjogInJlc29sdmUiCiAge3svZXF1YWx9fQoKICAge3sjZXF1YWwgZGF0YS5zdGF0dXMgImFja25vd2xlZGdlZCJ9fQogICAiZXZlbnRfYWN0aW9uIjogImFja25vd2xlZGdlIgogICB7ey9lcXVhbH19Cn0=",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.EnPagerdutyTemplate;
    import com.pulumi.ibm.EnPagerdutyTemplateArgs;
    import com.pulumi.ibm.inputs.EnPagerdutyTemplateParamsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var pagerdutyTemplate = new EnPagerdutyTemplate("pagerdutyTemplate", EnPagerdutyTemplateArgs.builder()
                .instanceGuid(ibm_resource_instance.en_terraform_test_resource().guid())
                .type("pagerduty.notification")
                .description("PagerDuty Template for Notifications")
                .params(EnPagerdutyTemplateParamsArgs.builder()
                    .body("ewogICJwYXlsb2FkIjogewogICAgInN1bW1hcnkiOiAie3sgZGF0YS5hbGVydF9kZWZpbml0aW9uLm5hbWV9fSIsCiAgICAidGltZXN0YW1wIjogInt7dGltZX19IiwKICAgICJzZXZlcml0eSI6ICJpbmZvIiwKICAgICJzb3VyY2UiOiAie3sgc291cmNlIH19IgogIH0sCiAgImRlZHVwX2tleSI6ICJ7eyBpZCB9fSIsCiAge3sjZXF1YWwgZGF0YS5zdGF0dXMgInRyaWdnZXJlZCJ9fQogICJldmVudF9hY3Rpb24iOiAidHJpZ2dlciIKICAge3svZXF1YWx9fQoKICB7eyNlcXVhbCBkYXRhLnN0YXR1cyAicmVzb2x2ZWQifX0KICAiZXZlbnRfYWN0aW9uIjogInJlc29sdmUiCiAge3svZXF1YWx9fQoKICAge3sjZXF1YWwgZGF0YS5zdGF0dXMgImFja25vd2xlZGdlZCJ9fQogICAiZXZlbnRfYWN0aW9uIjogImFja25vd2xlZGdlIgogICB7ey9lcXVhbH19Cn0=")
                    .build())
                .build());
    
        }
    }
    
    resources:
      pagerdutyTemplate:
        type: ibm:EnPagerdutyTemplate
        properties:
          instanceGuid: ${ibm_resource_instance.en_terraform_test_resource.guid}
          type: pagerduty.notification
          description: PagerDuty Template for Notifications
          params:
            body: ewogICJwYXlsb2FkIjogewogICAgInN1bW1hcnkiOiAie3sgZGF0YS5hbGVydF9kZWZpbml0aW9uLm5hbWV9fSIsCiAgICAidGltZXN0YW1wIjogInt7dGltZX19IiwKICAgICJzZXZlcml0eSI6ICJpbmZvIiwKICAgICJzb3VyY2UiOiAie3sgc291cmNlIH19IgogIH0sCiAgImRlZHVwX2tleSI6ICJ7eyBpZCB9fSIsCiAge3sjZXF1YWwgZGF0YS5zdGF0dXMgInRyaWdnZXJlZCJ9fQogICJldmVudF9hY3Rpb24iOiAidHJpZ2dlciIKICAge3svZXF1YWx9fQoKICB7eyNlcXVhbCBkYXRhLnN0YXR1cyAicmVzb2x2ZWQifX0KICAiZXZlbnRfYWN0aW9uIjogInJlc29sdmUiCiAge3svZXF1YWx9fQoKICAge3sjZXF1YWwgZGF0YS5zdGF0dXMgImFja25vd2xlZGdlZCJ9fQogICAiZXZlbnRfYWN0aW9uIjogImFja25vd2xlZGdlIgogICB7ey9lcXVhbH19Cn0=
    

    Create EnPagerdutyTemplate Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EnPagerdutyTemplate(name: string, args: EnPagerdutyTemplateArgs, opts?: CustomResourceOptions);
    @overload
    def EnPagerdutyTemplate(resource_name: str,
                            args: EnPagerdutyTemplateArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def EnPagerdutyTemplate(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            instance_guid: Optional[str] = None,
                            params: Optional[EnPagerdutyTemplateParamsArgs] = None,
                            type: Optional[str] = None,
                            description: Optional[str] = None,
                            en_pagerduty_template_id: Optional[str] = None,
                            name: Optional[str] = None)
    func NewEnPagerdutyTemplate(ctx *Context, name string, args EnPagerdutyTemplateArgs, opts ...ResourceOption) (*EnPagerdutyTemplate, error)
    public EnPagerdutyTemplate(string name, EnPagerdutyTemplateArgs args, CustomResourceOptions? opts = null)
    public EnPagerdutyTemplate(String name, EnPagerdutyTemplateArgs args)
    public EnPagerdutyTemplate(String name, EnPagerdutyTemplateArgs args, CustomResourceOptions options)
    
    type: ibm:EnPagerdutyTemplate
    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 EnPagerdutyTemplateArgs
    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 EnPagerdutyTemplateArgs
    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 EnPagerdutyTemplateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EnPagerdutyTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EnPagerdutyTemplateArgs
    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 enPagerdutyTemplateResource = new Ibm.EnPagerdutyTemplate("enPagerdutyTemplateResource", new()
    {
        InstanceGuid = "string",
        Params = new Ibm.Inputs.EnPagerdutyTemplateParamsArgs
        {
            Body = "string",
        },
        Type = "string",
        Description = "string",
        EnPagerdutyTemplateId = "string",
        Name = "string",
    });
    
    example, err := ibm.NewEnPagerdutyTemplate(ctx, "enPagerdutyTemplateResource", &ibm.EnPagerdutyTemplateArgs{
    	InstanceGuid: pulumi.String("string"),
    	Params: &ibm.EnPagerdutyTemplateParamsArgs{
    		Body: pulumi.String("string"),
    	},
    	Type:                  pulumi.String("string"),
    	Description:           pulumi.String("string"),
    	EnPagerdutyTemplateId: pulumi.String("string"),
    	Name:                  pulumi.String("string"),
    })
    
    var enPagerdutyTemplateResource = new EnPagerdutyTemplate("enPagerdutyTemplateResource", EnPagerdutyTemplateArgs.builder()
        .instanceGuid("string")
        .params(EnPagerdutyTemplateParamsArgs.builder()
            .body("string")
            .build())
        .type("string")
        .description("string")
        .enPagerdutyTemplateId("string")
        .name("string")
        .build());
    
    en_pagerduty_template_resource = ibm.EnPagerdutyTemplate("enPagerdutyTemplateResource",
        instance_guid="string",
        params={
            "body": "string",
        },
        type="string",
        description="string",
        en_pagerduty_template_id="string",
        name="string")
    
    const enPagerdutyTemplateResource = new ibm.EnPagerdutyTemplate("enPagerdutyTemplateResource", {
        instanceGuid: "string",
        params: {
            body: "string",
        },
        type: "string",
        description: "string",
        enPagerdutyTemplateId: "string",
        name: "string",
    });
    
    type: ibm:EnPagerdutyTemplate
    properties:
        description: string
        enPagerdutyTemplateId: string
        instanceGuid: string
        name: string
        params:
            body: string
        type: string
    

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

    InstanceGuid string
    Unique identifier for IBM Cloud Event Notifications instance.
    Params EnPagerdutyTemplateParams

    Payload describing a template configuration

    Nested scheme for params:

    Type string
    pagerduty.notification
    Description string
    The Template description.
    EnPagerdutyTemplateId string
    (String) The unique identifier of the pagerduty_template.
    Name string
    The Message Template.
    InstanceGuid string
    Unique identifier for IBM Cloud Event Notifications instance.
    Params EnPagerdutyTemplateParamsArgs

    Payload describing a template configuration

    Nested scheme for params:

    Type string
    pagerduty.notification
    Description string
    The Template description.
    EnPagerdutyTemplateId string
    (String) The unique identifier of the pagerduty_template.
    Name string
    The Message Template.
    instanceGuid String
    Unique identifier for IBM Cloud Event Notifications instance.
    params EnPagerdutyTemplateParams

    Payload describing a template configuration

    Nested scheme for params:

    type String
    pagerduty.notification
    description String
    The Template description.
    enPagerdutyTemplateId String
    (String) The unique identifier of the pagerduty_template.
    name String
    The Message Template.
    instanceGuid string
    Unique identifier for IBM Cloud Event Notifications instance.
    params EnPagerdutyTemplateParams

    Payload describing a template configuration

    Nested scheme for params:

    type string
    pagerduty.notification
    description string
    The Template description.
    enPagerdutyTemplateId string
    (String) The unique identifier of the pagerduty_template.
    name string
    The Message Template.
    instance_guid str
    Unique identifier for IBM Cloud Event Notifications instance.
    params EnPagerdutyTemplateParamsArgs

    Payload describing a template configuration

    Nested scheme for params:

    type str
    pagerduty.notification
    description str
    The Template description.
    en_pagerduty_template_id str
    (String) The unique identifier of the pagerduty_template.
    name str
    The Message Template.
    instanceGuid String
    Unique identifier for IBM Cloud Event Notifications instance.
    params Property Map

    Payload describing a template configuration

    Nested scheme for params:

    type String
    pagerduty.notification
    description String
    The Template description.
    enPagerdutyTemplateId String
    (String) The unique identifier of the pagerduty_template.
    name String
    The Message Template.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EnPagerdutyTemplate resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    SubscriptionCount double
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    SubscriptionNames List<string>
    (List) List of subscriptions.
    TemplateId string
    (String) The unique identifier of the created Template.
    UpdatedAt string
    (String) Last updated time.
    Id string
    The provider-assigned unique ID for this managed resource.
    SubscriptionCount float64
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    SubscriptionNames []string
    (List) List of subscriptions.
    TemplateId string
    (String) The unique identifier of the created Template.
    UpdatedAt string
    (String) Last updated time.
    id String
    The provider-assigned unique ID for this managed resource.
    subscriptionCount Double
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    subscriptionNames List<String>
    (List) List of subscriptions.
    templateId String
    (String) The unique identifier of the created Template.
    updatedAt String
    (String) Last updated time.
    id string
    The provider-assigned unique ID for this managed resource.
    subscriptionCount number
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    subscriptionNames string[]
    (List) List of subscriptions.
    templateId string
    (String) The unique identifier of the created Template.
    updatedAt string
    (String) Last updated time.
    id str
    The provider-assigned unique ID for this managed resource.
    subscription_count float
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    subscription_names Sequence[str]
    (List) List of subscriptions.
    template_id str
    (String) The unique identifier of the created Template.
    updated_at str
    (String) Last updated time.
    id String
    The provider-assigned unique ID for this managed resource.
    subscriptionCount Number
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    subscriptionNames List<String>
    (List) List of subscriptions.
    templateId String
    (String) The unique identifier of the created Template.
    updatedAt String
    (String) Last updated time.

    Look up Existing EnPagerdutyTemplate Resource

    Get an existing EnPagerdutyTemplate 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?: EnPagerdutyTemplateState, opts?: CustomResourceOptions): EnPagerdutyTemplate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            en_pagerduty_template_id: Optional[str] = None,
            instance_guid: Optional[str] = None,
            name: Optional[str] = None,
            params: Optional[EnPagerdutyTemplateParamsArgs] = None,
            subscription_count: Optional[float] = None,
            subscription_names: Optional[Sequence[str]] = None,
            template_id: Optional[str] = None,
            type: Optional[str] = None,
            updated_at: Optional[str] = None) -> EnPagerdutyTemplate
    func GetEnPagerdutyTemplate(ctx *Context, name string, id IDInput, state *EnPagerdutyTemplateState, opts ...ResourceOption) (*EnPagerdutyTemplate, error)
    public static EnPagerdutyTemplate Get(string name, Input<string> id, EnPagerdutyTemplateState? state, CustomResourceOptions? opts = null)
    public static EnPagerdutyTemplate get(String name, Output<String> id, EnPagerdutyTemplateState state, CustomResourceOptions options)
    resources:  _:    type: ibm:EnPagerdutyTemplate    get:      id: ${id}
    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:
    Description string
    The Template description.
    EnPagerdutyTemplateId string
    (String) The unique identifier of the pagerduty_template.
    InstanceGuid string
    Unique identifier for IBM Cloud Event Notifications instance.
    Name string
    The Message Template.
    Params EnPagerdutyTemplateParams

    Payload describing a template configuration

    Nested scheme for params:

    SubscriptionCount double
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    SubscriptionNames List<string>
    (List) List of subscriptions.
    TemplateId string
    (String) The unique identifier of the created Template.
    Type string
    pagerduty.notification
    UpdatedAt string
    (String) Last updated time.
    Description string
    The Template description.
    EnPagerdutyTemplateId string
    (String) The unique identifier of the pagerduty_template.
    InstanceGuid string
    Unique identifier for IBM Cloud Event Notifications instance.
    Name string
    The Message Template.
    Params EnPagerdutyTemplateParamsArgs

    Payload describing a template configuration

    Nested scheme for params:

    SubscriptionCount float64
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    SubscriptionNames []string
    (List) List of subscriptions.
    TemplateId string
    (String) The unique identifier of the created Template.
    Type string
    pagerduty.notification
    UpdatedAt string
    (String) Last updated time.
    description String
    The Template description.
    enPagerdutyTemplateId String
    (String) The unique identifier of the pagerduty_template.
    instanceGuid String
    Unique identifier for IBM Cloud Event Notifications instance.
    name String
    The Message Template.
    params EnPagerdutyTemplateParams

    Payload describing a template configuration

    Nested scheme for params:

    subscriptionCount Double
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    subscriptionNames List<String>
    (List) List of subscriptions.
    templateId String
    (String) The unique identifier of the created Template.
    type String
    pagerduty.notification
    updatedAt String
    (String) Last updated time.
    description string
    The Template description.
    enPagerdutyTemplateId string
    (String) The unique identifier of the pagerduty_template.
    instanceGuid string
    Unique identifier for IBM Cloud Event Notifications instance.
    name string
    The Message Template.
    params EnPagerdutyTemplateParams

    Payload describing a template configuration

    Nested scheme for params:

    subscriptionCount number
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    subscriptionNames string[]
    (List) List of subscriptions.
    templateId string
    (String) The unique identifier of the created Template.
    type string
    pagerduty.notification
    updatedAt string
    (String) Last updated time.
    description str
    The Template description.
    en_pagerduty_template_id str
    (String) The unique identifier of the pagerduty_template.
    instance_guid str
    Unique identifier for IBM Cloud Event Notifications instance.
    name str
    The Message Template.
    params EnPagerdutyTemplateParamsArgs

    Payload describing a template configuration

    Nested scheme for params:

    subscription_count float
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    subscription_names Sequence[str]
    (List) List of subscriptions.
    template_id str
    (String) The unique identifier of the created Template.
    type str
    pagerduty.notification
    updated_at str
    (String) Last updated time.
    description String
    The Template description.
    enPagerdutyTemplateId String
    (String) The unique identifier of the pagerduty_template.
    instanceGuid String
    Unique identifier for IBM Cloud Event Notifications instance.
    name String
    The Message Template.
    params Property Map

    Payload describing a template configuration

    Nested scheme for params:

    subscriptionCount Number
    (Integer) Number of subscriptions.

    • Constraints: The minimum value is 0.
    subscriptionNames List<String>
    (List) List of subscriptions.
    templateId String
    (String) The unique identifier of the created Template.
    type String
    pagerduty.notification
    updatedAt String
    (String) Last updated time.

    Supporting Types

    EnPagerdutyTemplateParams, EnPagerdutyTemplateParamsArgs

    Body string
    The Body for PagerDuty Template in base64 encoded format.
    Body string
    The Body for PagerDuty Template in base64 encoded format.
    body String
    The Body for PagerDuty Template in base64 encoded format.
    body string
    The Body for PagerDuty Template in base64 encoded format.
    body str
    The Body for PagerDuty Template in base64 encoded format.
    body String
    The Body for PagerDuty Template in base64 encoded format.

    Import

    You can import the ibm_en_pagerduty_template resource by using id.

    The id property can be formed from instance_guid, and template_id in the following format:

    <instance_guid>/<template_id>

    • instance_guid: A string. Unique identifier for IBM Cloud Event Notifications instance.

    • template_id: A string. Unique identifier for Template.

    Example

    $ pulumi import ibm:index/enPagerdutyTemplate:EnPagerdutyTemplate pagerduty_template <instance_guid>/<template_id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud