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

rootly.IncidentPermissionSetResource

Explore with Pulumi AI

Create IncidentPermissionSetResource Resource

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

Constructor syntax

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

@overload
def IncidentPermissionSetResource(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  incident_permission_set_id: Optional[str] = None,
                                  kind: Optional[str] = None,
                                  private: Optional[bool] = None,
                                  resource_id: Optional[str] = None,
                                  resource_type: Optional[str] = None)
func NewIncidentPermissionSetResource(ctx *Context, name string, args IncidentPermissionSetResourceArgs, opts ...ResourceOption) (*IncidentPermissionSetResource, error)
public IncidentPermissionSetResource(string name, IncidentPermissionSetResourceArgs args, CustomResourceOptions? opts = null)
public IncidentPermissionSetResource(String name, IncidentPermissionSetResourceArgs args)
public IncidentPermissionSetResource(String name, IncidentPermissionSetResourceArgs args, CustomResourceOptions options)
type: rootly:IncidentPermissionSetResource
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. IncidentPermissionSetResourceArgs
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. IncidentPermissionSetResourceArgs
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. IncidentPermissionSetResourceArgs
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. IncidentPermissionSetResourceArgs
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. IncidentPermissionSetResourceArgs
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 incidentPermissionSetResourceResource = new Rootly.IncidentPermissionSetResource("incidentPermissionSetResourceResource", new()
{
    IncidentPermissionSetId = "string",
    Kind = "string",
    Private = false,
    ResourceId = "string",
    ResourceType = "string",
});
Copy
example, err := rootly.NewIncidentPermissionSetResource(ctx, "incidentPermissionSetResourceResource", &rootly.IncidentPermissionSetResourceArgs{
	IncidentPermissionSetId: pulumi.String("string"),
	Kind:                    pulumi.String("string"),
	Private:                 pulumi.Bool(false),
	ResourceId:              pulumi.String("string"),
	ResourceType:            pulumi.String("string"),
})
Copy
var incidentPermissionSetResourceResource = new IncidentPermissionSetResource("incidentPermissionSetResourceResource", IncidentPermissionSetResourceArgs.builder()
    .incidentPermissionSetId("string")
    .kind("string")
    .private_(false)
    .resourceId("string")
    .resourceType("string")
    .build());
Copy
incident_permission_set_resource_resource = rootly.IncidentPermissionSetResource("incidentPermissionSetResourceResource",
    incident_permission_set_id="string",
    kind="string",
    private=False,
    resource_id="string",
    resource_type="string")
Copy
const incidentPermissionSetResourceResource = new rootly.IncidentPermissionSetResource("incidentPermissionSetResourceResource", {
    incidentPermissionSetId: "string",
    kind: "string",
    "private": false,
    resourceId: "string",
    resourceType: "string",
});
Copy
type: rootly:IncidentPermissionSetResource
properties:
    incidentPermissionSetId: string
    kind: string
    private: false
    resourceId: string
    resourceType: string
Copy

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

IncidentPermissionSetId
This property is required.
Changes to this property will trigger replacement.
string
Kind string
Value must be one of severities, incident_types, statuses.
Private bool
Value must be one of true or false
ResourceId string
ResourceType string
IncidentPermissionSetId
This property is required.
Changes to this property will trigger replacement.
string
Kind string
Value must be one of severities, incident_types, statuses.
Private bool
Value must be one of true or false
ResourceId string
ResourceType string
incidentPermissionSetId
This property is required.
Changes to this property will trigger replacement.
String
kind String
Value must be one of severities, incident_types, statuses.
private_ Boolean
Value must be one of true or false
resourceId String
resourceType String
incidentPermissionSetId
This property is required.
Changes to this property will trigger replacement.
string
kind string
Value must be one of severities, incident_types, statuses.
private boolean
Value must be one of true or false
resourceId string
resourceType string
incident_permission_set_id
This property is required.
Changes to this property will trigger replacement.
str
kind str
Value must be one of severities, incident_types, statuses.
private bool
Value must be one of true or false
resource_id str
resource_type str
incidentPermissionSetId
This property is required.
Changes to this property will trigger replacement.
String
kind String
Value must be one of severities, incident_types, statuses.
private Boolean
Value must be one of true or false
resourceId String
resourceType String

Outputs

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

Get an existing IncidentPermissionSetResource 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?: IncidentPermissionSetResourceState, opts?: CustomResourceOptions): IncidentPermissionSetResource
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        incident_permission_set_id: Optional[str] = None,
        kind: Optional[str] = None,
        private: Optional[bool] = None,
        resource_id: Optional[str] = None,
        resource_type: Optional[str] = None) -> IncidentPermissionSetResource
func GetIncidentPermissionSetResource(ctx *Context, name string, id IDInput, state *IncidentPermissionSetResourceState, opts ...ResourceOption) (*IncidentPermissionSetResource, error)
public static IncidentPermissionSetResource Get(string name, Input<string> id, IncidentPermissionSetResourceState? state, CustomResourceOptions? opts = null)
public static IncidentPermissionSetResource get(String name, Output<String> id, IncidentPermissionSetResourceState state, CustomResourceOptions options)
resources:  _:    type: rootly:IncidentPermissionSetResource    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:
IncidentPermissionSetId Changes to this property will trigger replacement. string
Kind string
Value must be one of severities, incident_types, statuses.
Private bool
Value must be one of true or false
ResourceId string
ResourceType string
IncidentPermissionSetId Changes to this property will trigger replacement. string
Kind string
Value must be one of severities, incident_types, statuses.
Private bool
Value must be one of true or false
ResourceId string
ResourceType string
incidentPermissionSetId Changes to this property will trigger replacement. String
kind String
Value must be one of severities, incident_types, statuses.
private_ Boolean
Value must be one of true or false
resourceId String
resourceType String
incidentPermissionSetId Changes to this property will trigger replacement. string
kind string
Value must be one of severities, incident_types, statuses.
private boolean
Value must be one of true or false
resourceId string
resourceType string
incident_permission_set_id Changes to this property will trigger replacement. str
kind str
Value must be one of severities, incident_types, statuses.
private bool
Value must be one of true or false
resource_id str
resource_type str
incidentPermissionSetId Changes to this property will trigger replacement. String
kind String
Value must be one of severities, incident_types, statuses.
private Boolean
Value must be one of true or false
resourceId String
resourceType String

Package Details

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