harness.platform.Usergroup
Resource for creating a Harness User Group. Linking SSO providers with User Groups:
The following fields need to be populated for LDAP SSO Providers:
- linked_sso_id
- linked_sso_display_name
- sso_group_id
- sso_group_name
- linked_sso_type
- sso_linked
The following fields need to be populated for SAML SSO Providers:
- linked_sso_id
- linked_sso_display_name
- sso_group_name
- sso_group_id // same as sso_group_name
- linked_sso_type
- sso_linked
Example Usage
using System.Collections.Generic;
using Pulumi;
using Harness = Lbrlabs.PulumiPackage.Harness;
return await Deployment.RunAsync(() =>
{
var ssoTypeSaml = new Harness.Platform.Usergroup("ssoTypeSaml", new()
{
ExternallyManaged = false,
Identifier = "identifier",
LinkedSsoDisplayName = "linked_sso_display_name",
LinkedSsoId = "linked_sso_id",
LinkedSsoType = "SAML",
NotificationConfigs = new[]
{
new Harness.Platform.Inputs.UsergroupNotificationConfigArgs
{
SlackWebhookUrl = "https://google.com",
Type = "SLACK",
},
new Harness.Platform.Inputs.UsergroupNotificationConfigArgs
{
GroupEmail = "email@email.com",
Type = "EMAIL",
},
new Harness.Platform.Inputs.UsergroupNotificationConfigArgs
{
MicrosoftTeamsWebhookUrl = "https://google.com",
Type = "MSTEAMS",
},
new Harness.Platform.Inputs.UsergroupNotificationConfigArgs
{
PagerDutyKey = "pagerDutyKey",
Type = "PAGERDUTY",
},
},
OrgId = "org_id",
ProjectId = "project_id",
SsoGroupId = "sso_group_name",
SsoGroupName = "sso_group_name",
SsoLinked = true,
Users = new[]
{
"user_id",
},
});
var ssoTypeLdap = new Harness.Platform.Usergroup("ssoTypeLdap", new()
{
ExternallyManaged = false,
Identifier = "identifier",
LinkedSsoDisplayName = "linked_sso_display_name",
LinkedSsoId = "linked_sso_id",
LinkedSsoType = "LDAP",
NotificationConfigs = new[]
{
new Harness.Platform.Inputs.UsergroupNotificationConfigArgs
{
SlackWebhookUrl = "https://google.com",
Type = "SLACK",
},
new Harness.Platform.Inputs.UsergroupNotificationConfigArgs
{
GroupEmail = "email@email.com",
Type = "EMAIL",
},
new Harness.Platform.Inputs.UsergroupNotificationConfigArgs
{
MicrosoftTeamsWebhookUrl = "https://google.com",
Type = "MSTEAMS",
},
new Harness.Platform.Inputs.UsergroupNotificationConfigArgs
{
PagerDutyKey = "pagerDutyKey",
Type = "PAGERDUTY",
},
},
OrgId = "org_id",
ProjectId = "project_id",
SsoGroupId = "sso_group_id",
SsoGroupName = "sso_group_name",
SsoLinked = true,
Users = new[]
{
"user_id",
},
});
});
package main
import (
"github.com/lbrlabs/pulumi-harness/sdk/go/harness/platform"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := platform.NewUsergroup(ctx, "ssoTypeSaml", &platform.UsergroupArgs{
ExternallyManaged: pulumi.Bool(false),
Identifier: pulumi.String("identifier"),
LinkedSsoDisplayName: pulumi.String("linked_sso_display_name"),
LinkedSsoId: pulumi.String("linked_sso_id"),
LinkedSsoType: pulumi.String("SAML"),
NotificationConfigs: platform.UsergroupNotificationConfigArray{
&platform.UsergroupNotificationConfigArgs{
SlackWebhookUrl: pulumi.String("https://google.com"),
Type: pulumi.String("SLACK"),
},
&platform.UsergroupNotificationConfigArgs{
GroupEmail: pulumi.String("email@email.com"),
Type: pulumi.String("EMAIL"),
},
&platform.UsergroupNotificationConfigArgs{
MicrosoftTeamsWebhookUrl: pulumi.String("https://google.com"),
Type: pulumi.String("MSTEAMS"),
},
&platform.UsergroupNotificationConfigArgs{
PagerDutyKey: pulumi.String("pagerDutyKey"),
Type: pulumi.String("PAGERDUTY"),
},
},
OrgId: pulumi.String("org_id"),
ProjectId: pulumi.String("project_id"),
SsoGroupId: pulumi.String("sso_group_name"),
SsoGroupName: pulumi.String("sso_group_name"),
SsoLinked: pulumi.Bool(true),
Users: pulumi.StringArray{
pulumi.String("user_id"),
},
})
if err != nil {
return err
}
_, err = platform.NewUsergroup(ctx, "ssoTypeLdap", &platform.UsergroupArgs{
ExternallyManaged: pulumi.Bool(false),
Identifier: pulumi.String("identifier"),
LinkedSsoDisplayName: pulumi.String("linked_sso_display_name"),
LinkedSsoId: pulumi.String("linked_sso_id"),
LinkedSsoType: pulumi.String("LDAP"),
NotificationConfigs: platform.UsergroupNotificationConfigArray{
&platform.UsergroupNotificationConfigArgs{
SlackWebhookUrl: pulumi.String("https://google.com"),
Type: pulumi.String("SLACK"),
},
&platform.UsergroupNotificationConfigArgs{
GroupEmail: pulumi.String("email@email.com"),
Type: pulumi.String("EMAIL"),
},
&platform.UsergroupNotificationConfigArgs{
MicrosoftTeamsWebhookUrl: pulumi.String("https://google.com"),
Type: pulumi.String("MSTEAMS"),
},
&platform.UsergroupNotificationConfigArgs{
PagerDutyKey: pulumi.String("pagerDutyKey"),
Type: pulumi.String("PAGERDUTY"),
},
},
OrgId: pulumi.String("org_id"),
ProjectId: pulumi.String("project_id"),
SsoGroupId: pulumi.String("sso_group_id"),
SsoGroupName: pulumi.String("sso_group_name"),
SsoLinked: pulumi.Bool(true),
Users: pulumi.StringArray{
pulumi.String("user_id"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.platform.Usergroup;
import com.pulumi.harness.platform.UsergroupArgs;
import com.pulumi.harness.platform.inputs.UsergroupNotificationConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var ssoTypeSaml = new Usergroup("ssoTypeSaml", UsergroupArgs.builder()
.externallyManaged(false)
.identifier("identifier")
.linkedSsoDisplayName("linked_sso_display_name")
.linkedSsoId("linked_sso_id")
.linkedSsoType("SAML")
.notificationConfigs(
UsergroupNotificationConfigArgs.builder()
.slackWebhookUrl("https://google.com")
.type("SLACK")
.build(),
UsergroupNotificationConfigArgs.builder()
.groupEmail("email@email.com")
.type("EMAIL")
.build(),
UsergroupNotificationConfigArgs.builder()
.microsoftTeamsWebhookUrl("https://google.com")
.type("MSTEAMS")
.build(),
UsergroupNotificationConfigArgs.builder()
.pagerDutyKey("pagerDutyKey")
.type("PAGERDUTY")
.build())
.orgId("org_id")
.projectId("project_id")
.ssoGroupId("sso_group_name")
.ssoGroupName("sso_group_name")
.ssoLinked(true)
.users("user_id")
.build());
var ssoTypeLdap = new Usergroup("ssoTypeLdap", UsergroupArgs.builder()
.externallyManaged(false)
.identifier("identifier")
.linkedSsoDisplayName("linked_sso_display_name")
.linkedSsoId("linked_sso_id")
.linkedSsoType("LDAP")
.notificationConfigs(
UsergroupNotificationConfigArgs.builder()
.slackWebhookUrl("https://google.com")
.type("SLACK")
.build(),
UsergroupNotificationConfigArgs.builder()
.groupEmail("email@email.com")
.type("EMAIL")
.build(),
UsergroupNotificationConfigArgs.builder()
.microsoftTeamsWebhookUrl("https://google.com")
.type("MSTEAMS")
.build(),
UsergroupNotificationConfigArgs.builder()
.pagerDutyKey("pagerDutyKey")
.type("PAGERDUTY")
.build())
.orgId("org_id")
.projectId("project_id")
.ssoGroupId("sso_group_id")
.ssoGroupName("sso_group_name")
.ssoLinked(true)
.users("user_id")
.build());
}
}
import pulumi
import lbrlabs_pulumi_harness as harness
sso_type_saml = harness.platform.Usergroup("ssoTypeSaml",
externally_managed=False,
identifier="identifier",
linked_sso_display_name="linked_sso_display_name",
linked_sso_id="linked_sso_id",
linked_sso_type="SAML",
notification_configs=[
harness.platform.UsergroupNotificationConfigArgs(
slack_webhook_url="https://google.com",
type="SLACK",
),
harness.platform.UsergroupNotificationConfigArgs(
group_email="email@email.com",
type="EMAIL",
),
harness.platform.UsergroupNotificationConfigArgs(
microsoft_teams_webhook_url="https://google.com",
type="MSTEAMS",
),
harness.platform.UsergroupNotificationConfigArgs(
pager_duty_key="pagerDutyKey",
type="PAGERDUTY",
),
],
org_id="org_id",
project_id="project_id",
sso_group_id="sso_group_name",
sso_group_name="sso_group_name",
sso_linked=True,
users=["user_id"])
sso_type_ldap = harness.platform.Usergroup("ssoTypeLdap",
externally_managed=False,
identifier="identifier",
linked_sso_display_name="linked_sso_display_name",
linked_sso_id="linked_sso_id",
linked_sso_type="LDAP",
notification_configs=[
harness.platform.UsergroupNotificationConfigArgs(
slack_webhook_url="https://google.com",
type="SLACK",
),
harness.platform.UsergroupNotificationConfigArgs(
group_email="email@email.com",
type="EMAIL",
),
harness.platform.UsergroupNotificationConfigArgs(
microsoft_teams_webhook_url="https://google.com",
type="MSTEAMS",
),
harness.platform.UsergroupNotificationConfigArgs(
pager_duty_key="pagerDutyKey",
type="PAGERDUTY",
),
],
org_id="org_id",
project_id="project_id",
sso_group_id="sso_group_id",
sso_group_name="sso_group_name",
sso_linked=True,
users=["user_id"])
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";
const ssoTypeSaml = new harness.platform.Usergroup("sso_type_saml", {
externallyManaged: false,
identifier: "identifier",
linkedSsoDisplayName: "linked_sso_display_name",
linkedSsoId: "linked_sso_id",
linkedSsoType: "SAML",
notificationConfigs: [
{
slackWebhookUrl: "https://google.com",
type: "SLACK",
},
{
groupEmail: "email@email.com",
type: "EMAIL",
},
{
microsoftTeamsWebhookUrl: "https://google.com",
type: "MSTEAMS",
},
{
pagerDutyKey: "pagerDutyKey",
type: "PAGERDUTY",
},
],
orgId: "org_id",
projectId: "project_id",
ssoGroupId: "sso_group_name", // When sso linked type is saml sso_group_id is same as sso_group_name
ssoGroupName: "sso_group_name",
ssoLinked: true,
users: ["user_id"],
});
const ssoTypeLdap = new harness.platform.Usergroup("sso_type_ldap", {
externallyManaged: false,
identifier: "identifier",
linkedSsoDisplayName: "linked_sso_display_name",
linkedSsoId: "linked_sso_id",
linkedSsoType: "LDAP",
notificationConfigs: [
{
slackWebhookUrl: "https://google.com",
type: "SLACK",
},
{
groupEmail: "email@email.com",
type: "EMAIL",
},
{
microsoftTeamsWebhookUrl: "https://google.com",
type: "MSTEAMS",
},
{
pagerDutyKey: "pagerDutyKey",
type: "PAGERDUTY",
},
],
orgId: "org_id",
projectId: "project_id",
ssoGroupId: "sso_group_id",
ssoGroupName: "sso_group_name",
ssoLinked: true,
users: ["user_id"],
});
resources:
ssoTypeSaml:
type: harness:platform:Usergroup
properties:
externallyManaged: false
identifier: identifier
linkedSsoDisplayName: linked_sso_display_name
linkedSsoId: linked_sso_id
linkedSsoType: SAML
notificationConfigs:
- slackWebhookUrl: https://google.com
type: SLACK
- groupEmail: email@email.com
type: EMAIL
- microsoftTeamsWebhookUrl: https://google.com
type: MSTEAMS
- pagerDutyKey: pagerDutyKey
type: PAGERDUTY
orgId: org_id
projectId: project_id
ssoGroupId: sso_group_name
# When sso linked type is saml sso_group_id is same as sso_group_name
ssoGroupName: sso_group_name
ssoLinked: true
users:
- user_id
ssoTypeLdap:
type: harness:platform:Usergroup
properties:
externallyManaged: false
identifier: identifier
linkedSsoDisplayName: linked_sso_display_name
linkedSsoId: linked_sso_id
linkedSsoType: LDAP
notificationConfigs:
- slackWebhookUrl: https://google.com
type: SLACK
- groupEmail: email@email.com
type: EMAIL
- microsoftTeamsWebhookUrl: https://google.com
type: MSTEAMS
- pagerDutyKey: pagerDutyKey
type: PAGERDUTY
orgId: org_id
projectId: project_id
ssoGroupId: sso_group_id
ssoGroupName: sso_group_name
ssoLinked: true
users:
- user_id
Create Usergroup Resource
new Usergroup(name: string, args: UsergroupArgs, opts?: CustomResourceOptions);
@overload
def Usergroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
externally_managed: Optional[bool] = None,
identifier: Optional[str] = None,
linked_sso_display_name: Optional[str] = None,
linked_sso_id: Optional[str] = None,
linked_sso_type: Optional[str] = None,
name: Optional[str] = None,
notification_configs: Optional[Sequence[UsergroupNotificationConfigArgs]] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
sso_group_id: Optional[str] = None,
sso_group_name: Optional[str] = None,
sso_linked: Optional[bool] = None,
tags: Optional[Sequence[str]] = None,
users: Optional[Sequence[str]] = None)
@overload
def Usergroup(resource_name: str,
args: UsergroupArgs,
opts: Optional[ResourceOptions] = None)
func NewUsergroup(ctx *Context, name string, args UsergroupArgs, opts ...ResourceOption) (*Usergroup, error)
public Usergroup(string name, UsergroupArgs args, CustomResourceOptions? opts = null)
public Usergroup(String name, UsergroupArgs args)
public Usergroup(String name, UsergroupArgs args, CustomResourceOptions options)
type: harness:platform:Usergroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UsergroupArgs
- 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 UsergroupArgs
- 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 UsergroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UsergroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args UsergroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Usergroup 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 Usergroup resource accepts the following input properties:
- Identifier string
Unique identifier of the resource.
- Description string
Description of the resource.
- Externally
Managed bool Whether the user group is externally managed.
- Linked
Sso stringDisplay Name Name of the linked SSO.
- Linked
Sso stringId The SSO account ID that the user group is linked to.
- Linked
Sso stringType Type of linked SSO
- Name string
Name of the resource.
- Notification
Configs List<Lbrlabs.Pulumi Package. Harness. Platform. Inputs. Usergroup Notification Config Args> List of notification settings.
- Org
Id string Unique identifier of the Organization.
- Project
Id string Unique identifier of the Project.
- Sso
Group stringId Identifier of the userGroup in SSO.
- Sso
Group stringName Name of the SSO userGroup.
- Sso
Linked bool Whether sso is linked or not
- List<string>
Tags to associate with the resource. Tags should be in the form
name:value
.- Users List<string>
List of users in the UserGroup.
- Identifier string
Unique identifier of the resource.
- Description string
Description of the resource.
- Externally
Managed bool Whether the user group is externally managed.
- Linked
Sso stringDisplay Name Name of the linked SSO.
- Linked
Sso stringId The SSO account ID that the user group is linked to.
- Linked
Sso stringType Type of linked SSO
- Name string
Name of the resource.
- Notification
Configs []UsergroupNotification Config Args List of notification settings.
- Org
Id string Unique identifier of the Organization.
- Project
Id string Unique identifier of the Project.
- Sso
Group stringId Identifier of the userGroup in SSO.
- Sso
Group stringName Name of the SSO userGroup.
- Sso
Linked bool Whether sso is linked or not
- []string
Tags to associate with the resource. Tags should be in the form
name:value
.- Users []string
List of users in the UserGroup.
- identifier String
Unique identifier of the resource.
- description String
Description of the resource.
- externally
Managed Boolean Whether the user group is externally managed.
- linked
Sso StringDisplay Name Name of the linked SSO.
- linked
Sso StringId The SSO account ID that the user group is linked to.
- linked
Sso StringType Type of linked SSO
- name String
Name of the resource.
- notification
Configs List<UsergroupNotification Config Args> List of notification settings.
- org
Id String Unique identifier of the Organization.
- project
Id String Unique identifier of the Project.
- sso
Group StringId Identifier of the userGroup in SSO.
- sso
Group StringName Name of the SSO userGroup.
- sso
Linked Boolean Whether sso is linked or not
- List<String>
Tags to associate with the resource. Tags should be in the form
name:value
.- users List<String>
List of users in the UserGroup.
- identifier string
Unique identifier of the resource.
- description string
Description of the resource.
- externally
Managed boolean Whether the user group is externally managed.
- linked
Sso stringDisplay Name Name of the linked SSO.
- linked
Sso stringId The SSO account ID that the user group is linked to.
- linked
Sso stringType Type of linked SSO
- name string
Name of the resource.
- notification
Configs UsergroupNotification Config Args[] List of notification settings.
- org
Id string Unique identifier of the Organization.
- project
Id string Unique identifier of the Project.
- sso
Group stringId Identifier of the userGroup in SSO.
- sso
Group stringName Name of the SSO userGroup.
- sso
Linked boolean Whether sso is linked or not
- string[]
Tags to associate with the resource. Tags should be in the form
name:value
.- users string[]
List of users in the UserGroup.
- identifier str
Unique identifier of the resource.
- description str
Description of the resource.
- externally_
managed bool Whether the user group is externally managed.
- linked_
sso_ strdisplay_ name Name of the linked SSO.
- linked_
sso_ strid The SSO account ID that the user group is linked to.
- linked_
sso_ strtype Type of linked SSO
- name str
Name of the resource.
- notification_
configs Sequence[UsergroupNotification Config Args] List of notification settings.
- org_
id str Unique identifier of the Organization.
- project_
id str Unique identifier of the Project.
- sso_
group_ strid Identifier of the userGroup in SSO.
- sso_
group_ strname Name of the SSO userGroup.
- sso_
linked bool Whether sso is linked or not
- Sequence[str]
Tags to associate with the resource. Tags should be in the form
name:value
.- users Sequence[str]
List of users in the UserGroup.
- identifier String
Unique identifier of the resource.
- description String
Description of the resource.
- externally
Managed Boolean Whether the user group is externally managed.
- linked
Sso StringDisplay Name Name of the linked SSO.
- linked
Sso StringId The SSO account ID that the user group is linked to.
- linked
Sso StringType Type of linked SSO
- name String
Name of the resource.
- notification
Configs List<Property Map> List of notification settings.
- org
Id String Unique identifier of the Organization.
- project
Id String Unique identifier of the Project.
- sso
Group StringId Identifier of the userGroup in SSO.
- sso
Group StringName Name of the SSO userGroup.
- sso
Linked Boolean Whether sso is linked or not
- List<String>
Tags to associate with the resource. Tags should be in the form
name:value
.- users List<String>
List of users in the UserGroup.
Outputs
All input properties are implicitly available as output properties. Additionally, the Usergroup 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 Usergroup Resource
Get an existing Usergroup 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?: UsergroupState, opts?: CustomResourceOptions): Usergroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
externally_managed: Optional[bool] = None,
identifier: Optional[str] = None,
linked_sso_display_name: Optional[str] = None,
linked_sso_id: Optional[str] = None,
linked_sso_type: Optional[str] = None,
name: Optional[str] = None,
notification_configs: Optional[Sequence[UsergroupNotificationConfigArgs]] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
sso_group_id: Optional[str] = None,
sso_group_name: Optional[str] = None,
sso_linked: Optional[bool] = None,
tags: Optional[Sequence[str]] = None,
users: Optional[Sequence[str]] = None) -> Usergroup
func GetUsergroup(ctx *Context, name string, id IDInput, state *UsergroupState, opts ...ResourceOption) (*Usergroup, error)
public static Usergroup Get(string name, Input<string> id, UsergroupState? state, CustomResourceOptions? opts = null)
public static Usergroup get(String name, Output<String> id, UsergroupState 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.
- Description string
Description of the resource.
- Externally
Managed bool Whether the user group is externally managed.
- Identifier string
Unique identifier of the resource.
- Linked
Sso stringDisplay Name Name of the linked SSO.
- Linked
Sso stringId The SSO account ID that the user group is linked to.
- Linked
Sso stringType Type of linked SSO
- Name string
Name of the resource.
- Notification
Configs List<Lbrlabs.Pulumi Package. Harness. Platform. Inputs. Usergroup Notification Config Args> List of notification settings.
- Org
Id string Unique identifier of the Organization.
- Project
Id string Unique identifier of the Project.
- Sso
Group stringId Identifier of the userGroup in SSO.
- Sso
Group stringName Name of the SSO userGroup.
- Sso
Linked bool Whether sso is linked or not
- List<string>
Tags to associate with the resource. Tags should be in the form
name:value
.- Users List<string>
List of users in the UserGroup.
- Description string
Description of the resource.
- Externally
Managed bool Whether the user group is externally managed.
- Identifier string
Unique identifier of the resource.
- Linked
Sso stringDisplay Name Name of the linked SSO.
- Linked
Sso stringId The SSO account ID that the user group is linked to.
- Linked
Sso stringType Type of linked SSO
- Name string
Name of the resource.
- Notification
Configs []UsergroupNotification Config Args List of notification settings.
- Org
Id string Unique identifier of the Organization.
- Project
Id string Unique identifier of the Project.
- Sso
Group stringId Identifier of the userGroup in SSO.
- Sso
Group stringName Name of the SSO userGroup.
- Sso
Linked bool Whether sso is linked or not
- []string
Tags to associate with the resource. Tags should be in the form
name:value
.- Users []string
List of users in the UserGroup.
- description String
Description of the resource.
- externally
Managed Boolean Whether the user group is externally managed.
- identifier String
Unique identifier of the resource.
- linked
Sso StringDisplay Name Name of the linked SSO.
- linked
Sso StringId The SSO account ID that the user group is linked to.
- linked
Sso StringType Type of linked SSO
- name String
Name of the resource.
- notification
Configs List<UsergroupNotification Config Args> List of notification settings.
- org
Id String Unique identifier of the Organization.
- project
Id String Unique identifier of the Project.
- sso
Group StringId Identifier of the userGroup in SSO.
- sso
Group StringName Name of the SSO userGroup.
- sso
Linked Boolean Whether sso is linked or not
- List<String>
Tags to associate with the resource. Tags should be in the form
name:value
.- users List<String>
List of users in the UserGroup.
- description string
Description of the resource.
- externally
Managed boolean Whether the user group is externally managed.
- identifier string
Unique identifier of the resource.
- linked
Sso stringDisplay Name Name of the linked SSO.
- linked
Sso stringId The SSO account ID that the user group is linked to.
- linked
Sso stringType Type of linked SSO
- name string
Name of the resource.
- notification
Configs UsergroupNotification Config Args[] List of notification settings.
- org
Id string Unique identifier of the Organization.
- project
Id string Unique identifier of the Project.
- sso
Group stringId Identifier of the userGroup in SSO.
- sso
Group stringName Name of the SSO userGroup.
- sso
Linked boolean Whether sso is linked or not
- string[]
Tags to associate with the resource. Tags should be in the form
name:value
.- users string[]
List of users in the UserGroup.
- description str
Description of the resource.
- externally_
managed bool Whether the user group is externally managed.
- identifier str
Unique identifier of the resource.
- linked_
sso_ strdisplay_ name Name of the linked SSO.
- linked_
sso_ strid The SSO account ID that the user group is linked to.
- linked_
sso_ strtype Type of linked SSO
- name str
Name of the resource.
- notification_
configs Sequence[UsergroupNotification Config Args] List of notification settings.
- org_
id str Unique identifier of the Organization.
- project_
id str Unique identifier of the Project.
- sso_
group_ strid Identifier of the userGroup in SSO.
- sso_
group_ strname Name of the SSO userGroup.
- sso_
linked bool Whether sso is linked or not
- Sequence[str]
Tags to associate with the resource. Tags should be in the form
name:value
.- users Sequence[str]
List of users in the UserGroup.
- description String
Description of the resource.
- externally
Managed Boolean Whether the user group is externally managed.
- identifier String
Unique identifier of the resource.
- linked
Sso StringDisplay Name Name of the linked SSO.
- linked
Sso StringId The SSO account ID that the user group is linked to.
- linked
Sso StringType Type of linked SSO
- name String
Name of the resource.
- notification
Configs List<Property Map> List of notification settings.
- org
Id String Unique identifier of the Organization.
- project
Id String Unique identifier of the Project.
- sso
Group StringId Identifier of the userGroup in SSO.
- sso
Group StringName Name of the SSO userGroup.
- sso
Linked Boolean Whether sso is linked or not
- List<String>
Tags to associate with the resource. Tags should be in the form
name:value
.- users List<String>
List of users in the UserGroup.
Supporting Types
UsergroupNotificationConfig
- Group
Email string Group email
- Microsoft
Teams stringWebhook Url Url of Microsoft teams webhook
- Pager
Duty stringKey Pager duty key
- Slack
Webhook stringUrl Url of slack webhook
- Type string
Can be one of EMAIL, SLACK, PAGERDUTY, MSTEAMS
- Group
Email string Group email
- Microsoft
Teams stringWebhook Url Url of Microsoft teams webhook
- Pager
Duty stringKey Pager duty key
- Slack
Webhook stringUrl Url of slack webhook
- Type string
Can be one of EMAIL, SLACK, PAGERDUTY, MSTEAMS
- group
Email String Group email
- microsoft
Teams StringWebhook Url Url of Microsoft teams webhook
- pager
Duty StringKey Pager duty key
- slack
Webhook StringUrl Url of slack webhook
- type String
Can be one of EMAIL, SLACK, PAGERDUTY, MSTEAMS
- group
Email string Group email
- microsoft
Teams stringWebhook Url Url of Microsoft teams webhook
- pager
Duty stringKey Pager duty key
- slack
Webhook stringUrl Url of slack webhook
- type string
Can be one of EMAIL, SLACK, PAGERDUTY, MSTEAMS
- group_
email str Group email
- microsoft_
teams_ strwebhook_ url Url of Microsoft teams webhook
- pager_
duty_ strkey Pager duty key
- slack_
webhook_ strurl Url of slack webhook
- type str
Can be one of EMAIL, SLACK, PAGERDUTY, MSTEAMS
- group
Email String Group email
- microsoft
Teams StringWebhook Url Url of Microsoft teams webhook
- pager
Duty StringKey Pager duty key
- slack
Webhook StringUrl Url of slack webhook
- type String
Can be one of EMAIL, SLACK, PAGERDUTY, MSTEAMS
Import
Import using user group id
$ pulumi import harness:platform/usergroup:Usergroup example <usergroup_id>
Package Details
- Repository
- harness lbrlabs/pulumi-harness
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
harness
Terraform Provider.