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 string
- The unique name of the resource.
- args IncidentPermissionSetBooleanArgs
- 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 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 string
- The unique name of the resource.
- args IncidentPermissionSetBooleanArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IncidentPermissionSetBooleanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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,
});
example, err := rootly.NewIncidentPermissionSetBoolean(ctx, "incidentPermissionSetBooleanResource", &rootly.IncidentPermissionSetBooleanArgs{
IncidentPermissionSetId: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Kind: pulumi.String("string"),
Private: pulumi.Bool(false),
})
var incidentPermissionSetBooleanResource = new IncidentPermissionSetBoolean("incidentPermissionSetBooleanResource", IncidentPermissionSetBooleanArgs.builder()
.incidentPermissionSetId("string")
.enabled(false)
.kind("string")
.private_(false)
.build());
incident_permission_set_boolean_resource = rootly.IncidentPermissionSetBoolean("incidentPermissionSetBooleanResource",
incident_permission_set_id="string",
enabled=False,
kind="string",
private=False)
const incidentPermissionSetBooleanResource = new rootly.IncidentPermissionSetBoolean("incidentPermissionSetBooleanResource", {
incidentPermissionSetId: "string",
enabled: false,
kind: "string",
"private": false,
});
type: rootly:IncidentPermissionSetBoolean
properties:
enabled: false
incidentPermissionSetId: string
kind: string
private: false
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:
- Incident
Permission stringSet Id - 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
- Incident
Permission stringSet Id - 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
- incident
Permission StringSet Id - 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 stringSet Id - 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_ strset_ id - 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
- incident
Permission StringSet Id - 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)
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.
- Enabled bool
- Incident
Permission stringSet Id - 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
- Incident
Permission stringSet Id - 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
- incident
Permission StringSet Id - 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
- incident
Permission stringSet Id - 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_ strset_ id - 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
- incident
Permission StringSet Id - 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.