incident 5.5.0 published on Wednesday, Apr 30, 2025 by incident-io
incident.getUser
Explore with Pulumi AI
incident 5.5.0 published on Wednesday, Apr 30, 2025 by incident-io
View users.
Users all have a single base role, and can be assigned multiple custom roles. They can be managed via your Slack workspace or SAML provider.
Using getUser
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getUser(args: GetUserArgs, opts?: InvokeOptions): Promise<GetUserResult>
function getUserOutput(args: GetUserOutputArgs, opts?: InvokeOptions): Output<GetUserResult>
def get_user(email: Optional[str] = None,
id: Optional[str] = None,
slack_user_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUserResult
def get_user_output(email: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
slack_user_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetUserResult]
func GetUser(ctx *Context, args *GetUserArgs, opts ...InvokeOption) (*GetUserResult, error)
func GetUserOutput(ctx *Context, args *GetUserOutputArgs, opts ...InvokeOption) GetUserResultOutput
> Note: This function is named GetUser
in the Go SDK.
public static class GetUser
{
public static Task<GetUserResult> InvokeAsync(GetUserArgs args, InvokeOptions? opts = null)
public static Output<GetUserResult> Invoke(GetUserInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
public static Output<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
fn::invoke:
function: incident:index/getUser:getUser
arguments:
# arguments dictionary
The following arguments are supported:
- Email string
- Id string
- The ID of this resource.
- Slack
User stringId
- Email string
- Id string
- The ID of this resource.
- Slack
User stringId
- email String
- id String
- The ID of this resource.
- slack
User StringId
- email string
- id string
- The ID of this resource.
- slack
User stringId
- email str
- id str
- The ID of this resource.
- slack_
user_ strid
- email String
- id String
- The ID of this resource.
- slack
User StringId
getUser Result
The following output properties are available:
- Name string
- Email string
- Id string
- The ID of this resource.
- Slack
User stringId
- Name string
- Email string
- Id string
- The ID of this resource.
- Slack
User stringId
- name String
- email String
- id String
- The ID of this resource.
- slack
User StringId
- name string
- email string
- id string
- The ID of this resource.
- slack
User stringId
- name str
- email str
- id str
- The ID of this resource.
- slack_
user_ strid
- name String
- email String
- id String
- The ID of this resource.
- slack
User StringId
Package Details
- Repository
- incident incident-io/terraform-provider-incident
- License
- Notes
- This Pulumi package is based on the
incident
Terraform Provider.
incident 5.5.0 published on Wednesday, Apr 30, 2025 by incident-io