1. Packages
  2. Rootly
  3. API Docs
  4. PlaybookTask
Rootly v1.0.1 published on Friday, Jun 2, 2023 by Rootly

rootly.PlaybookTask

Explore with Pulumi AI

rootly logo
Rootly v1.0.1 published on Friday, Jun 2, 2023 by Rootly

    Create PlaybookTask Resource

    new PlaybookTask(name: string, args: PlaybookTaskArgs, opts?: CustomResourceOptions);
    @overload
    def PlaybookTask(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     description: Optional[str] = None,
                     playbook_id: Optional[str] = None,
                     task: Optional[str] = None)
    @overload
    def PlaybookTask(resource_name: str,
                     args: PlaybookTaskArgs,
                     opts: Optional[ResourceOptions] = None)
    func NewPlaybookTask(ctx *Context, name string, args PlaybookTaskArgs, opts ...ResourceOption) (*PlaybookTask, error)
    public PlaybookTask(string name, PlaybookTaskArgs args, CustomResourceOptions? opts = null)
    public PlaybookTask(String name, PlaybookTaskArgs args)
    public PlaybookTask(String name, PlaybookTaskArgs args, CustomResourceOptions options)
    
    type: rootly:PlaybookTask
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args PlaybookTaskArgs
    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 PlaybookTaskArgs
    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 PlaybookTaskArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PlaybookTaskArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PlaybookTaskArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    Task string

    The task of the incident task

    Description string

    The description of incident task

    PlaybookId string
    Task string

    The task of the incident task

    Description string

    The description of incident task

    PlaybookId string
    task String

    The task of the incident task

    description String

    The description of incident task

    playbookId String
    task string

    The task of the incident task

    description string

    The description of incident task

    playbookId string
    task str

    The task of the incident task

    description str

    The description of incident task

    playbook_id str
    task String

    The task of the incident task

    description String

    The description of incident task

    playbookId String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PlaybookTask 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 PlaybookTask Resource

    Get an existing PlaybookTask 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?: PlaybookTaskState, opts?: CustomResourceOptions): PlaybookTask
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            playbook_id: Optional[str] = None,
            task: Optional[str] = None) -> PlaybookTask
    func GetPlaybookTask(ctx *Context, name string, id IDInput, state *PlaybookTaskState, opts ...ResourceOption) (*PlaybookTask, error)
    public static PlaybookTask Get(string name, Input<string> id, PlaybookTaskState? state, CustomResourceOptions? opts = null)
    public static PlaybookTask get(String name, Output<String> id, PlaybookTaskState 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.
    The following state arguments are supported:
    Description string

    The description of incident task

    PlaybookId string
    Task string

    The task of the incident task

    Description string

    The description of incident task

    PlaybookId string
    Task string

    The task of the incident task

    description String

    The description of incident task

    playbookId String
    task String

    The task of the incident task

    description string

    The description of incident task

    playbookId string
    task string

    The task of the incident task

    description str

    The description of incident task

    playbook_id str
    task str

    The task of the incident task

    description String

    The description of incident task

    playbookId String
    task String

    The task of the incident task

    Package Details

    Repository
    rootly rootlyhq/pulumi-rootly
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the rootly Terraform Provider.

    rootly logo
    Rootly v1.0.1 published on Friday, Jun 2, 2023 by Rootly