rootly.Playbook
Explore with Pulumi AI
Create Playbook Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Playbook(name: string, args: PlaybookArgs, opts?: CustomResourceOptions);
@overload
def Playbook(resource_name: str,
args: PlaybookArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Playbook(resource_name: str,
opts: Optional[ResourceOptions] = None,
title: Optional[str] = None,
environment_ids: Optional[Sequence[str]] = None,
external_url: Optional[str] = None,
functionality_ids: Optional[Sequence[str]] = None,
group_ids: Optional[Sequence[str]] = None,
incident_type_ids: Optional[Sequence[str]] = None,
service_ids: Optional[Sequence[str]] = None,
severity_ids: Optional[Sequence[str]] = None,
summary: Optional[str] = None)
func NewPlaybook(ctx *Context, name string, args PlaybookArgs, opts ...ResourceOption) (*Playbook, error)
public Playbook(string name, PlaybookArgs args, CustomResourceOptions? opts = null)
public Playbook(String name, PlaybookArgs args)
public Playbook(String name, PlaybookArgs args, CustomResourceOptions options)
type: rootly:Playbook
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 PlaybookArgs
- 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 PlaybookArgs
- 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 PlaybookArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PlaybookArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PlaybookArgs
- 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 playbookResource = new Rootly.Playbook("playbookResource", new()
{
Title = "string",
EnvironmentIds = new[]
{
"string",
},
ExternalUrl = "string",
FunctionalityIds = new[]
{
"string",
},
GroupIds = new[]
{
"string",
},
IncidentTypeIds = new[]
{
"string",
},
ServiceIds = new[]
{
"string",
},
SeverityIds = new[]
{
"string",
},
Summary = "string",
});
example, err := rootly.NewPlaybook(ctx, "playbookResource", &rootly.PlaybookArgs{
Title: pulumi.String("string"),
EnvironmentIds: pulumi.StringArray{
pulumi.String("string"),
},
ExternalUrl: pulumi.String("string"),
FunctionalityIds: pulumi.StringArray{
pulumi.String("string"),
},
GroupIds: pulumi.StringArray{
pulumi.String("string"),
},
IncidentTypeIds: pulumi.StringArray{
pulumi.String("string"),
},
ServiceIds: pulumi.StringArray{
pulumi.String("string"),
},
SeverityIds: pulumi.StringArray{
pulumi.String("string"),
},
Summary: pulumi.String("string"),
})
var playbookResource = new Playbook("playbookResource", PlaybookArgs.builder()
.title("string")
.environmentIds("string")
.externalUrl("string")
.functionalityIds("string")
.groupIds("string")
.incidentTypeIds("string")
.serviceIds("string")
.severityIds("string")
.summary("string")
.build());
playbook_resource = rootly.Playbook("playbookResource",
title="string",
environment_ids=["string"],
external_url="string",
functionality_ids=["string"],
group_ids=["string"],
incident_type_ids=["string"],
service_ids=["string"],
severity_ids=["string"],
summary="string")
const playbookResource = new rootly.Playbook("playbookResource", {
title: "string",
environmentIds: ["string"],
externalUrl: "string",
functionalityIds: ["string"],
groupIds: ["string"],
incidentTypeIds: ["string"],
serviceIds: ["string"],
severityIds: ["string"],
summary: "string",
});
type: rootly:Playbook
properties:
environmentIds:
- string
externalUrl: string
functionalityIds:
- string
groupIds:
- string
incidentTypeIds:
- string
serviceIds:
- string
severityIds:
- string
summary: string
title: string
Playbook 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 Playbook resource accepts the following input properties:
- Title string
- The title of the playbook
- Environment
Ids List<string> - The Environment ID's to attach to the incident
- External
Url string - The external url of the playbook
- Functionality
Ids List<string> - The Functionality ID's to attach to the incident
- Group
Ids List<string> - The Team ID's to attach to the incident
- Incident
Type List<string>Ids - The Incident Type ID's to attach to the incident
- Service
Ids List<string> - The Service ID's to attach to the incident
- Severity
Ids List<string> - The Severity ID's to attach to the incident
- Summary string
- The summary of the playbook
- Title string
- The title of the playbook
- Environment
Ids []string - The Environment ID's to attach to the incident
- External
Url string - The external url of the playbook
- Functionality
Ids []string - The Functionality ID's to attach to the incident
- Group
Ids []string - The Team ID's to attach to the incident
- Incident
Type []stringIds - The Incident Type ID's to attach to the incident
- Service
Ids []string - The Service ID's to attach to the incident
- Severity
Ids []string - The Severity ID's to attach to the incident
- Summary string
- The summary of the playbook
- title String
- The title of the playbook
- environment
Ids List<String> - The Environment ID's to attach to the incident
- external
Url String - The external url of the playbook
- functionality
Ids List<String> - The Functionality ID's to attach to the incident
- group
Ids List<String> - The Team ID's to attach to the incident
- incident
Type List<String>Ids - The Incident Type ID's to attach to the incident
- service
Ids List<String> - The Service ID's to attach to the incident
- severity
Ids List<String> - The Severity ID's to attach to the incident
- summary String
- The summary of the playbook
- title string
- The title of the playbook
- environment
Ids string[] - The Environment ID's to attach to the incident
- external
Url string - The external url of the playbook
- functionality
Ids string[] - The Functionality ID's to attach to the incident
- group
Ids string[] - The Team ID's to attach to the incident
- incident
Type string[]Ids - The Incident Type ID's to attach to the incident
- service
Ids string[] - The Service ID's to attach to the incident
- severity
Ids string[] - The Severity ID's to attach to the incident
- summary string
- The summary of the playbook
- title str
- The title of the playbook
- environment_
ids Sequence[str] - The Environment ID's to attach to the incident
- external_
url str - The external url of the playbook
- functionality_
ids Sequence[str] - The Functionality ID's to attach to the incident
- group_
ids Sequence[str] - The Team ID's to attach to the incident
- incident_
type_ Sequence[str]ids - The Incident Type ID's to attach to the incident
- service_
ids Sequence[str] - The Service ID's to attach to the incident
- severity_
ids Sequence[str] - The Severity ID's to attach to the incident
- summary str
- The summary of the playbook
- title String
- The title of the playbook
- environment
Ids List<String> - The Environment ID's to attach to the incident
- external
Url String - The external url of the playbook
- functionality
Ids List<String> - The Functionality ID's to attach to the incident
- group
Ids List<String> - The Team ID's to attach to the incident
- incident
Type List<String>Ids - The Incident Type ID's to attach to the incident
- service
Ids List<String> - The Service ID's to attach to the incident
- severity
Ids List<String> - The Severity ID's to attach to the incident
- summary String
- The summary of the playbook
Outputs
All input properties are implicitly available as output properties. Additionally, the Playbook 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 Playbook Resource
Get an existing Playbook 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?: PlaybookState, opts?: CustomResourceOptions): Playbook
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
environment_ids: Optional[Sequence[str]] = None,
external_url: Optional[str] = None,
functionality_ids: Optional[Sequence[str]] = None,
group_ids: Optional[Sequence[str]] = None,
incident_type_ids: Optional[Sequence[str]] = None,
service_ids: Optional[Sequence[str]] = None,
severity_ids: Optional[Sequence[str]] = None,
summary: Optional[str] = None,
title: Optional[str] = None) -> Playbook
func GetPlaybook(ctx *Context, name string, id IDInput, state *PlaybookState, opts ...ResourceOption) (*Playbook, error)
public static Playbook Get(string name, Input<string> id, PlaybookState? state, CustomResourceOptions? opts = null)
public static Playbook get(String name, Output<String> id, PlaybookState 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.
- Environment
Ids List<string> - The Environment ID's to attach to the incident
- External
Url string - The external url of the playbook
- Functionality
Ids List<string> - The Functionality ID's to attach to the incident
- Group
Ids List<string> - The Team ID's to attach to the incident
- Incident
Type List<string>Ids - The Incident Type ID's to attach to the incident
- Service
Ids List<string> - The Service ID's to attach to the incident
- Severity
Ids List<string> - The Severity ID's to attach to the incident
- Summary string
- The summary of the playbook
- Title string
- The title of the playbook
- Environment
Ids []string - The Environment ID's to attach to the incident
- External
Url string - The external url of the playbook
- Functionality
Ids []string - The Functionality ID's to attach to the incident
- Group
Ids []string - The Team ID's to attach to the incident
- Incident
Type []stringIds - The Incident Type ID's to attach to the incident
- Service
Ids []string - The Service ID's to attach to the incident
- Severity
Ids []string - The Severity ID's to attach to the incident
- Summary string
- The summary of the playbook
- Title string
- The title of the playbook
- environment
Ids List<String> - The Environment ID's to attach to the incident
- external
Url String - The external url of the playbook
- functionality
Ids List<String> - The Functionality ID's to attach to the incident
- group
Ids List<String> - The Team ID's to attach to the incident
- incident
Type List<String>Ids - The Incident Type ID's to attach to the incident
- service
Ids List<String> - The Service ID's to attach to the incident
- severity
Ids List<String> - The Severity ID's to attach to the incident
- summary String
- The summary of the playbook
- title String
- The title of the playbook
- environment
Ids string[] - The Environment ID's to attach to the incident
- external
Url string - The external url of the playbook
- functionality
Ids string[] - The Functionality ID's to attach to the incident
- group
Ids string[] - The Team ID's to attach to the incident
- incident
Type string[]Ids - The Incident Type ID's to attach to the incident
- service
Ids string[] - The Service ID's to attach to the incident
- severity
Ids string[] - The Severity ID's to attach to the incident
- summary string
- The summary of the playbook
- title string
- The title of the playbook
- environment_
ids Sequence[str] - The Environment ID's to attach to the incident
- external_
url str - The external url of the playbook
- functionality_
ids Sequence[str] - The Functionality ID's to attach to the incident
- group_
ids Sequence[str] - The Team ID's to attach to the incident
- incident_
type_ Sequence[str]ids - The Incident Type ID's to attach to the incident
- service_
ids Sequence[str] - The Service ID's to attach to the incident
- severity_
ids Sequence[str] - The Severity ID's to attach to the incident
- summary str
- The summary of the playbook
- title str
- The title of the playbook
- environment
Ids List<String> - The Environment ID's to attach to the incident
- external
Url String - The external url of the playbook
- functionality
Ids List<String> - The Functionality ID's to attach to the incident
- group
Ids List<String> - The Team ID's to attach to the incident
- incident
Type List<String>Ids - The Incident Type ID's to attach to the incident
- service
Ids List<String> - The Service ID's to attach to the incident
- severity
Ids List<String> - The Severity ID's to attach to the incident
- summary String
- The summary of the playbook
- title String
- The title of the playbook
Package Details
- Repository
- rootly rootlyhq/pulumi-rootly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rootly
Terraform Provider.