Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly
rootly.Role
Explore with Pulumi AI
Create Role Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Role(name: string, args?: RoleArgs, opts?: CustomResourceOptions);
@overload
def Role(resource_name: str,
args: Optional[RoleArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Role(resource_name: str,
opts: Optional[ResourceOptions] = None,
api_keys_permissions: Optional[Sequence[str]] = None,
audits_permissions: Optional[Sequence[str]] = None,
billing_permissions: Optional[Sequence[str]] = None,
environments_permissions: Optional[Sequence[str]] = None,
form_fields_permissions: Optional[Sequence[str]] = None,
functionalities_permissions: Optional[Sequence[str]] = None,
groups_permissions: Optional[Sequence[str]] = None,
incident_causes_permissions: Optional[Sequence[str]] = None,
incident_feedbacks_permissions: Optional[Sequence[str]] = None,
incident_permission_set_id: Optional[str] = None,
incident_roles_permissions: Optional[Sequence[str]] = None,
incident_types_permissions: Optional[Sequence[str]] = None,
incidents_permissions: Optional[Sequence[str]] = None,
invitations_permissions: Optional[Sequence[str]] = None,
is_deletable: Optional[bool] = None,
is_editable: Optional[bool] = None,
name: Optional[str] = None,
playbooks_permissions: Optional[Sequence[str]] = None,
private_incidents_permissions: Optional[Sequence[str]] = None,
retrospective_permissions: Optional[Sequence[str]] = None,
roles_permissions: Optional[Sequence[str]] = None,
secrets_permissions: Optional[Sequence[str]] = None,
services_permissions: Optional[Sequence[str]] = None,
severities_permissions: Optional[Sequence[str]] = None,
slug: Optional[str] = None,
status_pages_permissions: Optional[Sequence[str]] = None,
webhooks_permissions: Optional[Sequence[str]] = None,
workflows_permissions: Optional[Sequence[str]] = None)
func NewRole(ctx *Context, name string, args *RoleArgs, opts ...ResourceOption) (*Role, error)
public Role(string name, RoleArgs? args = null, CustomResourceOptions? opts = null)
type: rootly:Role
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 RoleArgs
- 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 RoleArgs
- 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 RoleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RoleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RoleArgs
- 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 roleResource = new Rootly.Role("roleResource", new()
{
ApiKeysPermissions = new[]
{
"string",
},
AuditsPermissions = new[]
{
"string",
},
BillingPermissions = new[]
{
"string",
},
EnvironmentsPermissions = new[]
{
"string",
},
FormFieldsPermissions = new[]
{
"string",
},
FunctionalitiesPermissions = new[]
{
"string",
},
GroupsPermissions = new[]
{
"string",
},
IncidentCausesPermissions = new[]
{
"string",
},
IncidentFeedbacksPermissions = new[]
{
"string",
},
IncidentPermissionSetId = "string",
IncidentRolesPermissions = new[]
{
"string",
},
IncidentTypesPermissions = new[]
{
"string",
},
IncidentsPermissions = new[]
{
"string",
},
InvitationsPermissions = new[]
{
"string",
},
IsDeletable = false,
IsEditable = false,
Name = "string",
PlaybooksPermissions = new[]
{
"string",
},
PrivateIncidentsPermissions = new[]
{
"string",
},
RetrospectivePermissions = new[]
{
"string",
},
RolesPermissions = new[]
{
"string",
},
SecretsPermissions = new[]
{
"string",
},
ServicesPermissions = new[]
{
"string",
},
SeveritiesPermissions = new[]
{
"string",
},
Slug = "string",
StatusPagesPermissions = new[]
{
"string",
},
WebhooksPermissions = new[]
{
"string",
},
WorkflowsPermissions = new[]
{
"string",
},
});
example, err := rootly.NewRole(ctx, "roleResource", &rootly.RoleArgs{
ApiKeysPermissions: pulumi.StringArray{
pulumi.String("string"),
},
AuditsPermissions: pulumi.StringArray{
pulumi.String("string"),
},
BillingPermissions: pulumi.StringArray{
pulumi.String("string"),
},
EnvironmentsPermissions: pulumi.StringArray{
pulumi.String("string"),
},
FormFieldsPermissions: pulumi.StringArray{
pulumi.String("string"),
},
FunctionalitiesPermissions: pulumi.StringArray{
pulumi.String("string"),
},
GroupsPermissions: pulumi.StringArray{
pulumi.String("string"),
},
IncidentCausesPermissions: pulumi.StringArray{
pulumi.String("string"),
},
IncidentFeedbacksPermissions: pulumi.StringArray{
pulumi.String("string"),
},
IncidentPermissionSetId: pulumi.String("string"),
IncidentRolesPermissions: pulumi.StringArray{
pulumi.String("string"),
},
IncidentTypesPermissions: pulumi.StringArray{
pulumi.String("string"),
},
IncidentsPermissions: pulumi.StringArray{
pulumi.String("string"),
},
InvitationsPermissions: pulumi.StringArray{
pulumi.String("string"),
},
IsDeletable: pulumi.Bool(false),
IsEditable: pulumi.Bool(false),
Name: pulumi.String("string"),
PlaybooksPermissions: pulumi.StringArray{
pulumi.String("string"),
},
PrivateIncidentsPermissions: pulumi.StringArray{
pulumi.String("string"),
},
RetrospectivePermissions: pulumi.StringArray{
pulumi.String("string"),
},
RolesPermissions: pulumi.StringArray{
pulumi.String("string"),
},
SecretsPermissions: pulumi.StringArray{
pulumi.String("string"),
},
ServicesPermissions: pulumi.StringArray{
pulumi.String("string"),
},
SeveritiesPermissions: pulumi.StringArray{
pulumi.String("string"),
},
Slug: pulumi.String("string"),
StatusPagesPermissions: pulumi.StringArray{
pulumi.String("string"),
},
WebhooksPermissions: pulumi.StringArray{
pulumi.String("string"),
},
WorkflowsPermissions: pulumi.StringArray{
pulumi.String("string"),
},
})
var roleResource = new Role("roleResource", RoleArgs.builder()
.apiKeysPermissions("string")
.auditsPermissions("string")
.billingPermissions("string")
.environmentsPermissions("string")
.formFieldsPermissions("string")
.functionalitiesPermissions("string")
.groupsPermissions("string")
.incidentCausesPermissions("string")
.incidentFeedbacksPermissions("string")
.incidentPermissionSetId("string")
.incidentRolesPermissions("string")
.incidentTypesPermissions("string")
.incidentsPermissions("string")
.invitationsPermissions("string")
.isDeletable(false)
.isEditable(false)
.name("string")
.playbooksPermissions("string")
.privateIncidentsPermissions("string")
.retrospectivePermissions("string")
.rolesPermissions("string")
.secretsPermissions("string")
.servicesPermissions("string")
.severitiesPermissions("string")
.slug("string")
.statusPagesPermissions("string")
.webhooksPermissions("string")
.workflowsPermissions("string")
.build());
role_resource = rootly.Role("roleResource",
api_keys_permissions=["string"],
audits_permissions=["string"],
billing_permissions=["string"],
environments_permissions=["string"],
form_fields_permissions=["string"],
functionalities_permissions=["string"],
groups_permissions=["string"],
incident_causes_permissions=["string"],
incident_feedbacks_permissions=["string"],
incident_permission_set_id="string",
incident_roles_permissions=["string"],
incident_types_permissions=["string"],
incidents_permissions=["string"],
invitations_permissions=["string"],
is_deletable=False,
is_editable=False,
name="string",
playbooks_permissions=["string"],
private_incidents_permissions=["string"],
retrospective_permissions=["string"],
roles_permissions=["string"],
secrets_permissions=["string"],
services_permissions=["string"],
severities_permissions=["string"],
slug="string",
status_pages_permissions=["string"],
webhooks_permissions=["string"],
workflows_permissions=["string"])
const roleResource = new rootly.Role("roleResource", {
apiKeysPermissions: ["string"],
auditsPermissions: ["string"],
billingPermissions: ["string"],
environmentsPermissions: ["string"],
formFieldsPermissions: ["string"],
functionalitiesPermissions: ["string"],
groupsPermissions: ["string"],
incidentCausesPermissions: ["string"],
incidentFeedbacksPermissions: ["string"],
incidentPermissionSetId: "string",
incidentRolesPermissions: ["string"],
incidentTypesPermissions: ["string"],
incidentsPermissions: ["string"],
invitationsPermissions: ["string"],
isDeletable: false,
isEditable: false,
name: "string",
playbooksPermissions: ["string"],
privateIncidentsPermissions: ["string"],
retrospectivePermissions: ["string"],
rolesPermissions: ["string"],
secretsPermissions: ["string"],
servicesPermissions: ["string"],
severitiesPermissions: ["string"],
slug: "string",
statusPagesPermissions: ["string"],
webhooksPermissions: ["string"],
workflowsPermissions: ["string"],
});
type: rootly:Role
properties:
apiKeysPermissions:
- string
auditsPermissions:
- string
billingPermissions:
- string
environmentsPermissions:
- string
formFieldsPermissions:
- string
functionalitiesPermissions:
- string
groupsPermissions:
- string
incidentCausesPermissions:
- string
incidentFeedbacksPermissions:
- string
incidentPermissionSetId: string
incidentRolesPermissions:
- string
incidentTypesPermissions:
- string
incidentsPermissions:
- string
invitationsPermissions:
- string
isDeletable: false
isEditable: false
name: string
playbooksPermissions:
- string
privateIncidentsPermissions:
- string
retrospectivePermissions:
- string
rolesPermissions:
- string
secretsPermissions:
- string
servicesPermissions:
- string
severitiesPermissions:
- string
slug: string
statusPagesPermissions:
- string
webhooksPermissions:
- string
workflowsPermissions:
- string
Role Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Role resource accepts the following input properties:
- Api
Keys List<string>Permissions - Value must be one of
create
,read
,update
,delete
. - Audits
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Billing
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Environments
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Form
Fields List<string>Permissions - Value must be one of
create
,read
,update
,delete
. - Functionalities
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Groups
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Incident
Causes List<string>Permissions - Value must be one of
create
,read
,update
,delete
. - Incident
Feedbacks List<string>Permissions - Value must be one of
create
,read
,update
,delete
. - Incident
Permission stringSet Id - Associated incident permissions set.
- Incident
Roles List<string>Permissions - Value must be one of
create
,read
,update
,delete
. - Incident
Types List<string>Permissions - Value must be one of
create
,read
,update
,delete
. - Incidents
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Invitations
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Is
Deletable bool - Whether the role can be deleted.. Value must be one of true or false
- Is
Editable bool - Whether the role can be edited.. Value must be one of true or false
- Name string
- The role name.
- Playbooks
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Private
Incidents List<string>Permissions - Value must be one of
create
,read
,update
,delete
. - Retrospective
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Roles
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Secrets
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Services
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Severities
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Slug string
- The role slug.
- Status
Pages List<string>Permissions - Value must be one of
create
,read
,update
,delete
. - Webhooks
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Workflows
Permissions List<string> - Value must be one of
create
,read
,update
,delete
.
- Api
Keys []stringPermissions - Value must be one of
create
,read
,update
,delete
. - Audits
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Billing
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Environments
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Form
Fields []stringPermissions - Value must be one of
create
,read
,update
,delete
. - Functionalities
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Groups
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Incident
Causes []stringPermissions - Value must be one of
create
,read
,update
,delete
. - Incident
Feedbacks []stringPermissions - Value must be one of
create
,read
,update
,delete
. - Incident
Permission stringSet Id - Associated incident permissions set.
- Incident
Roles []stringPermissions - Value must be one of
create
,read
,update
,delete
. - Incident
Types []stringPermissions - Value must be one of
create
,read
,update
,delete
. - Incidents
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Invitations
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Is
Deletable bool - Whether the role can be deleted.. Value must be one of true or false
- Is
Editable bool - Whether the role can be edited.. Value must be one of true or false
- Name string
- The role name.
- Playbooks
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Private
Incidents []stringPermissions - Value must be one of
create
,read
,update
,delete
. - Retrospective
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Roles
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Secrets
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Services
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Severities
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Slug string
- The role slug.
- Status
Pages []stringPermissions - Value must be one of
create
,read
,update
,delete
. - Webhooks
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Workflows
Permissions []string - Value must be one of
create
,read
,update
,delete
.
- api
Keys List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - audits
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - billing
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - environments
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - form
Fields List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - functionalities
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - groups
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - incident
Causes List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - incident
Feedbacks List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - incident
Permission StringSet Id - Associated incident permissions set.
- incident
Roles List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - incident
Types List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - incidents
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - invitations
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - is
Deletable Boolean - Whether the role can be deleted.. Value must be one of true or false
- is
Editable Boolean - Whether the role can be edited.. Value must be one of true or false
- name String
- The role name.
- playbooks
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - private
Incidents List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - retrospective
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - roles
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - secrets
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - services
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - severities
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - slug String
- The role slug.
- status
Pages List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - webhooks
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - workflows
Permissions List<String> - Value must be one of
create
,read
,update
,delete
.
- api
Keys string[]Permissions - Value must be one of
create
,read
,update
,delete
. - audits
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - billing
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - environments
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - form
Fields string[]Permissions - Value must be one of
create
,read
,update
,delete
. - functionalities
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - groups
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - incident
Causes string[]Permissions - Value must be one of
create
,read
,update
,delete
. - incident
Feedbacks string[]Permissions - Value must be one of
create
,read
,update
,delete
. - incident
Permission stringSet Id - Associated incident permissions set.
- incident
Roles string[]Permissions - Value must be one of
create
,read
,update
,delete
. - incident
Types string[]Permissions - Value must be one of
create
,read
,update
,delete
. - incidents
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - invitations
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - is
Deletable boolean - Whether the role can be deleted.. Value must be one of true or false
- is
Editable boolean - Whether the role can be edited.. Value must be one of true or false
- name string
- The role name.
- playbooks
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - private
Incidents string[]Permissions - Value must be one of
create
,read
,update
,delete
. - retrospective
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - roles
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - secrets
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - services
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - severities
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - slug string
- The role slug.
- status
Pages string[]Permissions - Value must be one of
create
,read
,update
,delete
. - webhooks
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - workflows
Permissions string[] - Value must be one of
create
,read
,update
,delete
.
- api_
keys_ Sequence[str]permissions - Value must be one of
create
,read
,update
,delete
. - audits_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - billing_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - environments_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - form_
fields_ Sequence[str]permissions - Value must be one of
create
,read
,update
,delete
. - functionalities_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - groups_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - incident_
causes_ Sequence[str]permissions - Value must be one of
create
,read
,update
,delete
. - incident_
feedbacks_ Sequence[str]permissions - Value must be one of
create
,read
,update
,delete
. - incident_
permission_ strset_ id - Associated incident permissions set.
- incident_
roles_ Sequence[str]permissions - Value must be one of
create
,read
,update
,delete
. - incident_
types_ Sequence[str]permissions - Value must be one of
create
,read
,update
,delete
. - incidents_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - invitations_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - is_
deletable bool - Whether the role can be deleted.. Value must be one of true or false
- is_
editable bool - Whether the role can be edited.. Value must be one of true or false
- name str
- The role name.
- playbooks_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - private_
incidents_ Sequence[str]permissions - Value must be one of
create
,read
,update
,delete
. - retrospective_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - roles_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - secrets_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - services_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - severities_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - slug str
- The role slug.
- status_
pages_ Sequence[str]permissions - Value must be one of
create
,read
,update
,delete
. - webhooks_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - workflows_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
.
- api
Keys List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - audits
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - billing
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - environments
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - form
Fields List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - functionalities
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - groups
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - incident
Causes List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - incident
Feedbacks List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - incident
Permission StringSet Id - Associated incident permissions set.
- incident
Roles List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - incident
Types List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - incidents
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - invitations
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - is
Deletable Boolean - Whether the role can be deleted.. Value must be one of true or false
- is
Editable Boolean - Whether the role can be edited.. Value must be one of true or false
- name String
- The role name.
- playbooks
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - private
Incidents List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - retrospective
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - roles
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - secrets
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - services
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - severities
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - slug String
- The role slug.
- status
Pages List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - webhooks
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - workflows
Permissions List<String> - Value must be one of
create
,read
,update
,delete
.
Outputs
All input properties are implicitly available as output properties. Additionally, the Role 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 Role Resource
Get an existing Role 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?: RoleState, opts?: CustomResourceOptions): Role
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_keys_permissions: Optional[Sequence[str]] = None,
audits_permissions: Optional[Sequence[str]] = None,
billing_permissions: Optional[Sequence[str]] = None,
environments_permissions: Optional[Sequence[str]] = None,
form_fields_permissions: Optional[Sequence[str]] = None,
functionalities_permissions: Optional[Sequence[str]] = None,
groups_permissions: Optional[Sequence[str]] = None,
incident_causes_permissions: Optional[Sequence[str]] = None,
incident_feedbacks_permissions: Optional[Sequence[str]] = None,
incident_permission_set_id: Optional[str] = None,
incident_roles_permissions: Optional[Sequence[str]] = None,
incident_types_permissions: Optional[Sequence[str]] = None,
incidents_permissions: Optional[Sequence[str]] = None,
invitations_permissions: Optional[Sequence[str]] = None,
is_deletable: Optional[bool] = None,
is_editable: Optional[bool] = None,
name: Optional[str] = None,
playbooks_permissions: Optional[Sequence[str]] = None,
private_incidents_permissions: Optional[Sequence[str]] = None,
retrospective_permissions: Optional[Sequence[str]] = None,
roles_permissions: Optional[Sequence[str]] = None,
secrets_permissions: Optional[Sequence[str]] = None,
services_permissions: Optional[Sequence[str]] = None,
severities_permissions: Optional[Sequence[str]] = None,
slug: Optional[str] = None,
status_pages_permissions: Optional[Sequence[str]] = None,
webhooks_permissions: Optional[Sequence[str]] = None,
workflows_permissions: Optional[Sequence[str]] = None) -> Role
func GetRole(ctx *Context, name string, id IDInput, state *RoleState, opts ...ResourceOption) (*Role, error)
public static Role Get(string name, Input<string> id, RoleState? state, CustomResourceOptions? opts = null)
public static Role get(String name, Output<String> id, RoleState 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.
- Api
Keys List<string>Permissions - Value must be one of
create
,read
,update
,delete
. - Audits
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Billing
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Environments
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Form
Fields List<string>Permissions - Value must be one of
create
,read
,update
,delete
. - Functionalities
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Groups
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Incident
Causes List<string>Permissions - Value must be one of
create
,read
,update
,delete
. - Incident
Feedbacks List<string>Permissions - Value must be one of
create
,read
,update
,delete
. - Incident
Permission stringSet Id - Associated incident permissions set.
- Incident
Roles List<string>Permissions - Value must be one of
create
,read
,update
,delete
. - Incident
Types List<string>Permissions - Value must be one of
create
,read
,update
,delete
. - Incidents
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Invitations
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Is
Deletable bool - Whether the role can be deleted.. Value must be one of true or false
- Is
Editable bool - Whether the role can be edited.. Value must be one of true or false
- Name string
- The role name.
- Playbooks
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Private
Incidents List<string>Permissions - Value must be one of
create
,read
,update
,delete
. - Retrospective
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Roles
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Secrets
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Services
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Severities
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Slug string
- The role slug.
- Status
Pages List<string>Permissions - Value must be one of
create
,read
,update
,delete
. - Webhooks
Permissions List<string> - Value must be one of
create
,read
,update
,delete
. - Workflows
Permissions List<string> - Value must be one of
create
,read
,update
,delete
.
- Api
Keys []stringPermissions - Value must be one of
create
,read
,update
,delete
. - Audits
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Billing
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Environments
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Form
Fields []stringPermissions - Value must be one of
create
,read
,update
,delete
. - Functionalities
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Groups
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Incident
Causes []stringPermissions - Value must be one of
create
,read
,update
,delete
. - Incident
Feedbacks []stringPermissions - Value must be one of
create
,read
,update
,delete
. - Incident
Permission stringSet Id - Associated incident permissions set.
- Incident
Roles []stringPermissions - Value must be one of
create
,read
,update
,delete
. - Incident
Types []stringPermissions - Value must be one of
create
,read
,update
,delete
. - Incidents
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Invitations
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Is
Deletable bool - Whether the role can be deleted.. Value must be one of true or false
- Is
Editable bool - Whether the role can be edited.. Value must be one of true or false
- Name string
- The role name.
- Playbooks
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Private
Incidents []stringPermissions - Value must be one of
create
,read
,update
,delete
. - Retrospective
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Roles
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Secrets
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Services
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Severities
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Slug string
- The role slug.
- Status
Pages []stringPermissions - Value must be one of
create
,read
,update
,delete
. - Webhooks
Permissions []string - Value must be one of
create
,read
,update
,delete
. - Workflows
Permissions []string - Value must be one of
create
,read
,update
,delete
.
- api
Keys List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - audits
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - billing
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - environments
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - form
Fields List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - functionalities
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - groups
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - incident
Causes List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - incident
Feedbacks List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - incident
Permission StringSet Id - Associated incident permissions set.
- incident
Roles List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - incident
Types List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - incidents
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - invitations
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - is
Deletable Boolean - Whether the role can be deleted.. Value must be one of true or false
- is
Editable Boolean - Whether the role can be edited.. Value must be one of true or false
- name String
- The role name.
- playbooks
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - private
Incidents List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - retrospective
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - roles
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - secrets
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - services
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - severities
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - slug String
- The role slug.
- status
Pages List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - webhooks
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - workflows
Permissions List<String> - Value must be one of
create
,read
,update
,delete
.
- api
Keys string[]Permissions - Value must be one of
create
,read
,update
,delete
. - audits
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - billing
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - environments
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - form
Fields string[]Permissions - Value must be one of
create
,read
,update
,delete
. - functionalities
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - groups
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - incident
Causes string[]Permissions - Value must be one of
create
,read
,update
,delete
. - incident
Feedbacks string[]Permissions - Value must be one of
create
,read
,update
,delete
. - incident
Permission stringSet Id - Associated incident permissions set.
- incident
Roles string[]Permissions - Value must be one of
create
,read
,update
,delete
. - incident
Types string[]Permissions - Value must be one of
create
,read
,update
,delete
. - incidents
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - invitations
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - is
Deletable boolean - Whether the role can be deleted.. Value must be one of true or false
- is
Editable boolean - Whether the role can be edited.. Value must be one of true or false
- name string
- The role name.
- playbooks
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - private
Incidents string[]Permissions - Value must be one of
create
,read
,update
,delete
. - retrospective
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - roles
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - secrets
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - services
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - severities
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - slug string
- The role slug.
- status
Pages string[]Permissions - Value must be one of
create
,read
,update
,delete
. - webhooks
Permissions string[] - Value must be one of
create
,read
,update
,delete
. - workflows
Permissions string[] - Value must be one of
create
,read
,update
,delete
.
- api_
keys_ Sequence[str]permissions - Value must be one of
create
,read
,update
,delete
. - audits_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - billing_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - environments_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - form_
fields_ Sequence[str]permissions - Value must be one of
create
,read
,update
,delete
. - functionalities_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - groups_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - incident_
causes_ Sequence[str]permissions - Value must be one of
create
,read
,update
,delete
. - incident_
feedbacks_ Sequence[str]permissions - Value must be one of
create
,read
,update
,delete
. - incident_
permission_ strset_ id - Associated incident permissions set.
- incident_
roles_ Sequence[str]permissions - Value must be one of
create
,read
,update
,delete
. - incident_
types_ Sequence[str]permissions - Value must be one of
create
,read
,update
,delete
. - incidents_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - invitations_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - is_
deletable bool - Whether the role can be deleted.. Value must be one of true or false
- is_
editable bool - Whether the role can be edited.. Value must be one of true or false
- name str
- The role name.
- playbooks_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - private_
incidents_ Sequence[str]permissions - Value must be one of
create
,read
,update
,delete
. - retrospective_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - roles_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - secrets_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - services_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - severities_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - slug str
- The role slug.
- status_
pages_ Sequence[str]permissions - Value must be one of
create
,read
,update
,delete
. - webhooks_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
. - workflows_
permissions Sequence[str] - Value must be one of
create
,read
,update
,delete
.
- api
Keys List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - audits
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - billing
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - environments
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - form
Fields List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - functionalities
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - groups
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - incident
Causes List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - incident
Feedbacks List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - incident
Permission StringSet Id - Associated incident permissions set.
- incident
Roles List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - incident
Types List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - incidents
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - invitations
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - is
Deletable Boolean - Whether the role can be deleted.. Value must be one of true or false
- is
Editable Boolean - Whether the role can be edited.. Value must be one of true or false
- name String
- The role name.
- playbooks
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - private
Incidents List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - retrospective
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - roles
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - secrets
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - services
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - severities
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - slug String
- The role slug.
- status
Pages List<String>Permissions - Value must be one of
create
,read
,update
,delete
. - webhooks
Permissions List<String> - Value must be one of
create
,read
,update
,delete
. - workflows
Permissions List<String> - Value must be one of
create
,read
,update
,delete
.
Package Details
- Repository
- rootly rootlyhq/pulumi-rootly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rootly
Terraform Provider.