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

rootly logo
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

    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 string
    The unique name of the resource.
    args IncidentPermissionSetResourceArgs
    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 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 string
    The unique name of the resource.
    args IncidentPermissionSetResourceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IncidentPermissionSetResourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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",
    });
    
    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"),
    })
    
    var incidentPermissionSetResourceResource = new IncidentPermissionSetResource("incidentPermissionSetResourceResource", IncidentPermissionSetResourceArgs.builder()
        .incidentPermissionSetId("string")
        .kind("string")
        .private_(false)
        .resourceId("string")
        .resourceType("string")
        .build());
    
    incident_permission_set_resource_resource = rootly.IncidentPermissionSetResource("incidentPermissionSetResourceResource",
        incident_permission_set_id="string",
        kind="string",
        private=False,
        resource_id="string",
        resource_type="string")
    
    const incidentPermissionSetResourceResource = new rootly.IncidentPermissionSetResource("incidentPermissionSetResourceResource", {
        incidentPermissionSetId: "string",
        kind: "string",
        "private": false,
        resourceId: "string",
        resourceType: "string",
    });
    
    type: rootly:IncidentPermissionSetResource
    properties:
        incidentPermissionSetId: string
        kind: string
        private: false
        resourceId: string
        resourceType: string
    

    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 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 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 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 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 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 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)
    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:
    IncidentPermissionSetId 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 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 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 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 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 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.
    rootly logo
    Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly