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

rootly.IncidentPermissionSet

Explore with Pulumi AI

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

    Create IncidentPermissionSet Resource

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

    Constructor syntax

    new IncidentPermissionSet(name: string, args?: IncidentPermissionSetArgs, opts?: CustomResourceOptions);
    @overload
    def IncidentPermissionSet(resource_name: str,
                              args: Optional[IncidentPermissionSetArgs] = None,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def IncidentPermissionSet(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              description: Optional[str] = None,
                              name: Optional[str] = None,
                              private_incident_permissions: Optional[Sequence[str]] = None,
                              public_incident_permissions: Optional[Sequence[str]] = None,
                              slug: Optional[str] = None)
    func NewIncidentPermissionSet(ctx *Context, name string, args *IncidentPermissionSetArgs, opts ...ResourceOption) (*IncidentPermissionSet, error)
    public IncidentPermissionSet(string name, IncidentPermissionSetArgs? args = null, CustomResourceOptions? opts = null)
    public IncidentPermissionSet(String name, IncidentPermissionSetArgs args)
    public IncidentPermissionSet(String name, IncidentPermissionSetArgs args, CustomResourceOptions options)
    
    type: rootly:IncidentPermissionSet
    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 IncidentPermissionSetArgs
    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 IncidentPermissionSetArgs
    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 IncidentPermissionSetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IncidentPermissionSetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IncidentPermissionSetArgs
    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 incidentPermissionSetResource = new Rootly.IncidentPermissionSet("incidentPermissionSetResource", new()
    {
        Description = "string",
        Name = "string",
        PrivateIncidentPermissions = new[]
        {
            "string",
        },
        PublicIncidentPermissions = new[]
        {
            "string",
        },
        Slug = "string",
    });
    
    example, err := rootly.NewIncidentPermissionSet(ctx, "incidentPermissionSetResource", &rootly.IncidentPermissionSetArgs{
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	PrivateIncidentPermissions: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	PublicIncidentPermissions: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Slug: pulumi.String("string"),
    })
    
    var incidentPermissionSetResource = new IncidentPermissionSet("incidentPermissionSetResource", IncidentPermissionSetArgs.builder()
        .description("string")
        .name("string")
        .privateIncidentPermissions("string")
        .publicIncidentPermissions("string")
        .slug("string")
        .build());
    
    incident_permission_set_resource = rootly.IncidentPermissionSet("incidentPermissionSetResource",
        description="string",
        name="string",
        private_incident_permissions=["string"],
        public_incident_permissions=["string"],
        slug="string")
    
    const incidentPermissionSetResource = new rootly.IncidentPermissionSet("incidentPermissionSetResource", {
        description: "string",
        name: "string",
        privateIncidentPermissions: ["string"],
        publicIncidentPermissions: ["string"],
        slug: "string",
    });
    
    type: rootly:IncidentPermissionSet
    properties:
        description: string
        name: string
        privateIncidentPermissions:
            - string
        publicIncidentPermissions:
            - string
        slug: string
    

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

    Description string
    The incident permission set description.
    Name string
    The incident permission set name.
    PrivateIncidentPermissions List<string>
    Value must be one of create, read, update, delete.
    PublicIncidentPermissions List<string>
    Value must be one of create, read, update, delete.
    Slug string
    The incident permission set slug.
    Description string
    The incident permission set description.
    Name string
    The incident permission set name.
    PrivateIncidentPermissions []string
    Value must be one of create, read, update, delete.
    PublicIncidentPermissions []string
    Value must be one of create, read, update, delete.
    Slug string
    The incident permission set slug.
    description String
    The incident permission set description.
    name String
    The incident permission set name.
    privateIncidentPermissions List<String>
    Value must be one of create, read, update, delete.
    publicIncidentPermissions List<String>
    Value must be one of create, read, update, delete.
    slug String
    The incident permission set slug.
    description string
    The incident permission set description.
    name string
    The incident permission set name.
    privateIncidentPermissions string[]
    Value must be one of create, read, update, delete.
    publicIncidentPermissions string[]
    Value must be one of create, read, update, delete.
    slug string
    The incident permission set slug.
    description str
    The incident permission set description.
    name str
    The incident permission set name.
    private_incident_permissions Sequence[str]
    Value must be one of create, read, update, delete.
    public_incident_permissions Sequence[str]
    Value must be one of create, read, update, delete.
    slug str
    The incident permission set slug.
    description String
    The incident permission set description.
    name String
    The incident permission set name.
    privateIncidentPermissions List<String>
    Value must be one of create, read, update, delete.
    publicIncidentPermissions List<String>
    Value must be one of create, read, update, delete.
    slug String
    The incident permission set slug.

    Outputs

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

    Get an existing IncidentPermissionSet 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?: IncidentPermissionSetState, opts?: CustomResourceOptions): IncidentPermissionSet
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            private_incident_permissions: Optional[Sequence[str]] = None,
            public_incident_permissions: Optional[Sequence[str]] = None,
            slug: Optional[str] = None) -> IncidentPermissionSet
    func GetIncidentPermissionSet(ctx *Context, name string, id IDInput, state *IncidentPermissionSetState, opts ...ResourceOption) (*IncidentPermissionSet, error)
    public static IncidentPermissionSet Get(string name, Input<string> id, IncidentPermissionSetState? state, CustomResourceOptions? opts = null)
    public static IncidentPermissionSet get(String name, Output<String> id, IncidentPermissionSetState 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:
    Description string
    The incident permission set description.
    Name string
    The incident permission set name.
    PrivateIncidentPermissions List<string>
    Value must be one of create, read, update, delete.
    PublicIncidentPermissions List<string>
    Value must be one of create, read, update, delete.
    Slug string
    The incident permission set slug.
    Description string
    The incident permission set description.
    Name string
    The incident permission set name.
    PrivateIncidentPermissions []string
    Value must be one of create, read, update, delete.
    PublicIncidentPermissions []string
    Value must be one of create, read, update, delete.
    Slug string
    The incident permission set slug.
    description String
    The incident permission set description.
    name String
    The incident permission set name.
    privateIncidentPermissions List<String>
    Value must be one of create, read, update, delete.
    publicIncidentPermissions List<String>
    Value must be one of create, read, update, delete.
    slug String
    The incident permission set slug.
    description string
    The incident permission set description.
    name string
    The incident permission set name.
    privateIncidentPermissions string[]
    Value must be one of create, read, update, delete.
    publicIncidentPermissions string[]
    Value must be one of create, read, update, delete.
    slug string
    The incident permission set slug.
    description str
    The incident permission set description.
    name str
    The incident permission set name.
    private_incident_permissions Sequence[str]
    Value must be one of create, read, update, delete.
    public_incident_permissions Sequence[str]
    Value must be one of create, read, update, delete.
    slug str
    The incident permission set slug.
    description String
    The incident permission set description.
    name String
    The incident permission set name.
    privateIncidentPermissions List<String>
    Value must be one of create, read, update, delete.
    publicIncidentPermissions List<String>
    Value must be one of create, read, update, delete.
    slug String
    The incident permission set slug.

    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