1. Packages
  2. Rootly
  3. API Docs
  4. IncidentPermissionSetBoolean
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

rootly.IncidentPermissionSetBoolean

Explore with Pulumi AI

Create IncidentPermissionSetBoolean Resource

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

Constructor syntax

new IncidentPermissionSetBoolean(name: string, args: IncidentPermissionSetBooleanArgs, opts?: CustomResourceOptions);
@overload
def IncidentPermissionSetBoolean(resource_name: str,
                                 args: IncidentPermissionSetBooleanArgs,
                                 opts: Optional[ResourceOptions] = None)

@overload
def IncidentPermissionSetBoolean(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 incident_permission_set_id: Optional[str] = None,
                                 enabled: Optional[bool] = None,
                                 kind: Optional[str] = None,
                                 private: Optional[bool] = None)
func NewIncidentPermissionSetBoolean(ctx *Context, name string, args IncidentPermissionSetBooleanArgs, opts ...ResourceOption) (*IncidentPermissionSetBoolean, error)
public IncidentPermissionSetBoolean(string name, IncidentPermissionSetBooleanArgs args, CustomResourceOptions? opts = null)
public IncidentPermissionSetBoolean(String name, IncidentPermissionSetBooleanArgs args)
public IncidentPermissionSetBoolean(String name, IncidentPermissionSetBooleanArgs args, CustomResourceOptions options)
type: rootly:IncidentPermissionSetBoolean
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. IncidentPermissionSetBooleanArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. IncidentPermissionSetBooleanArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. IncidentPermissionSetBooleanArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. IncidentPermissionSetBooleanArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. IncidentPermissionSetBooleanArgs
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 incidentPermissionSetBooleanResource = new Rootly.IncidentPermissionSetBoolean("incidentPermissionSetBooleanResource", new()
{
    IncidentPermissionSetId = "string",
    Enabled = false,
    Kind = "string",
    Private = false,
});
Copy
example, err := rootly.NewIncidentPermissionSetBoolean(ctx, "incidentPermissionSetBooleanResource", &rootly.IncidentPermissionSetBooleanArgs{
	IncidentPermissionSetId: pulumi.String("string"),
	Enabled:                 pulumi.Bool(false),
	Kind:                    pulumi.String("string"),
	Private:                 pulumi.Bool(false),
})
Copy
var incidentPermissionSetBooleanResource = new IncidentPermissionSetBoolean("incidentPermissionSetBooleanResource", IncidentPermissionSetBooleanArgs.builder()
    .incidentPermissionSetId("string")
    .enabled(false)
    .kind("string")
    .private_(false)
    .build());
Copy
incident_permission_set_boolean_resource = rootly.IncidentPermissionSetBoolean("incidentPermissionSetBooleanResource",
    incident_permission_set_id="string",
    enabled=False,
    kind="string",
    private=False)
Copy
const incidentPermissionSetBooleanResource = new rootly.IncidentPermissionSetBoolean("incidentPermissionSetBooleanResource", {
    incidentPermissionSetId: "string",
    enabled: false,
    kind: "string",
    "private": false,
});
Copy
type: rootly:IncidentPermissionSetBoolean
properties:
    enabled: false
    incidentPermissionSetId: string
    kind: string
    private: false
Copy

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

IncidentPermissionSetId
This property is required.
Changes to this property will trigger replacement.
string
Enabled bool
Kind string
Value must be one of publish_to_status_page, assign_incident_roles, invite_subscribers, update_summary, update_timeline, trigger_workflows, modify_custom_fields.
Private bool
Value must be one of true or false
IncidentPermissionSetId
This property is required.
Changes to this property will trigger replacement.
string
Enabled bool
Kind string
Value must be one of publish_to_status_page, assign_incident_roles, invite_subscribers, update_summary, update_timeline, trigger_workflows, modify_custom_fields.
Private bool
Value must be one of true or false
incidentPermissionSetId
This property is required.
Changes to this property will trigger replacement.
String
enabled Boolean
kind String
Value must be one of publish_to_status_page, assign_incident_roles, invite_subscribers, update_summary, update_timeline, trigger_workflows, modify_custom_fields.
private_ Boolean
Value must be one of true or false
incidentPermissionSetId
This property is required.
Changes to this property will trigger replacement.
string
enabled boolean
kind string
Value must be one of publish_to_status_page, assign_incident_roles, invite_subscribers, update_summary, update_timeline, trigger_workflows, modify_custom_fields.
private boolean
Value must be one of true or false
incident_permission_set_id
This property is required.
Changes to this property will trigger replacement.
str
enabled bool
kind str
Value must be one of publish_to_status_page, assign_incident_roles, invite_subscribers, update_summary, update_timeline, trigger_workflows, modify_custom_fields.
private bool
Value must be one of true or false
incidentPermissionSetId
This property is required.
Changes to this property will trigger replacement.
String
enabled Boolean
kind String
Value must be one of publish_to_status_page, assign_incident_roles, invite_subscribers, update_summary, update_timeline, trigger_workflows, modify_custom_fields.
private Boolean
Value must be one of true or false

Outputs

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

Get an existing IncidentPermissionSetBoolean 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?: IncidentPermissionSetBooleanState, opts?: CustomResourceOptions): IncidentPermissionSetBoolean
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        enabled: Optional[bool] = None,
        incident_permission_set_id: Optional[str] = None,
        kind: Optional[str] = None,
        private: Optional[bool] = None) -> IncidentPermissionSetBoolean
func GetIncidentPermissionSetBoolean(ctx *Context, name string, id IDInput, state *IncidentPermissionSetBooleanState, opts ...ResourceOption) (*IncidentPermissionSetBoolean, error)
public static IncidentPermissionSetBoolean Get(string name, Input<string> id, IncidentPermissionSetBooleanState? state, CustomResourceOptions? opts = null)
public static IncidentPermissionSetBoolean get(String name, Output<String> id, IncidentPermissionSetBooleanState state, CustomResourceOptions options)
resources:  _:    type: rootly:IncidentPermissionSetBoolean    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Enabled bool
IncidentPermissionSetId Changes to this property will trigger replacement. string
Kind string
Value must be one of publish_to_status_page, assign_incident_roles, invite_subscribers, update_summary, update_timeline, trigger_workflows, modify_custom_fields.
Private bool
Value must be one of true or false
Enabled bool
IncidentPermissionSetId Changes to this property will trigger replacement. string
Kind string
Value must be one of publish_to_status_page, assign_incident_roles, invite_subscribers, update_summary, update_timeline, trigger_workflows, modify_custom_fields.
Private bool
Value must be one of true or false
enabled Boolean
incidentPermissionSetId Changes to this property will trigger replacement. String
kind String
Value must be one of publish_to_status_page, assign_incident_roles, invite_subscribers, update_summary, update_timeline, trigger_workflows, modify_custom_fields.
private_ Boolean
Value must be one of true or false
enabled boolean
incidentPermissionSetId Changes to this property will trigger replacement. string
kind string
Value must be one of publish_to_status_page, assign_incident_roles, invite_subscribers, update_summary, update_timeline, trigger_workflows, modify_custom_fields.
private boolean
Value must be one of true or false
enabled bool
incident_permission_set_id Changes to this property will trigger replacement. str
kind str
Value must be one of publish_to_status_page, assign_incident_roles, invite_subscribers, update_summary, update_timeline, trigger_workflows, modify_custom_fields.
private bool
Value must be one of true or false
enabled Boolean
incidentPermissionSetId Changes to this property will trigger replacement. String
kind String
Value must be one of publish_to_status_page, assign_incident_roles, invite_subscribers, update_summary, update_timeline, trigger_workflows, modify_custom_fields.
private Boolean
Value must be one of true or false

Package Details

Repository
rootly rootlyhq/pulumi-rootly
License
Apache-2.0
Notes
This Pulumi package is based on the rootly Terraform Provider.