harness.UserGroup
Explore with Pulumi AI
Resource for creating a Harness user group
Example Usage
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.UserGroup;
import com.pulumi.harness.UserGroupArgs;
import com.pulumi.harness.inputs.UserGroupPermissionsArgs;
import com.pulumi.harness.inputs.UserGroupPermissionsAppPermissionsArgs;
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 example = new UserGroup("example", UserGroupArgs.builder()
.description("This group demonstrates account level and resource level permissions.")
.permissions(UserGroupPermissionsArgs.builder()
.accountPermissions(
"ADMINISTER_OTHER_ACCOUNT_FUNCTIONS",
"MANAGE_API_KEYS")
.appPermissions(UserGroupPermissionsAppPermissionsArgs.builder()
.all(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.deployment(
%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.environment(
%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.pipeline(
%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.provisioner(
%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.service(
%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.template(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.workflow(
%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.build())
.build());
}
}
Coming soon!
Coming soon!
resources:
example:
type: harness:UserGroup
properties:
description: This group demonstrates account level and resource level permissions.
permissions:
accountPermissions:
- ADMINISTER_OTHER_ACCOUNT_FUNCTIONS
- MANAGE_API_KEYS
appPermissions:
all:
- actions:
- CREATE
- READ
- UPDATE
- DELETE
deployment:
- actions:
- READ
- ROLLBACK_WORKFLOW
- EXECUTE_PIPELINE
- EXECUTE_WORKFLOW
filters:
- NON_PRODUCTION_ENVIRONMENTS
- actions:
- READ
filters:
- PRODUCTION_ENVIRONMENTS
environment:
- actions:
- CREATE
- READ
- UPDATE
- DELETE
filters:
- NON_PRODUCTION_ENVIRONMENTS
- actions:
- READ
filters:
- PRODUCTION_ENVIRONMENTS
pipeline:
- actions:
- CREATE
- READ
- UPDATE
- DELETE
filters:
- NON_PRODUCTION_PIPELINES
- actions:
- READ
filters:
- PRODUCTION_PIPELINES
provisioner:
- actions:
- UPDATE
- DELETE
- actions:
- CREATE
- READ
service:
- actions:
- UPDATE
- DELETE
- actions:
- UPDATE
- DELETE
template:
- actions:
- CREATE
- READ
- UPDATE
- DELETE
workflow:
- actions:
- UPDATE
- DELETE
filters:
- NON_PRODUCTION_WORKFLOWS
- actions:
- CREATE
- READ
filters:
- PRODUCTION_WORKFLOWS
- WORKFLOW_TEMPLATES
Create UserGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new UserGroup(name: string, args?: UserGroupArgs, opts?: CustomResourceOptions);
@overload
def UserGroup(resource_name: str,
args: Optional[UserGroupArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def UserGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
ldap_settings: Optional[UserGroupLdapSettingsArgs] = None,
name: Optional[str] = None,
notification_settings: Optional[UserGroupNotificationSettingsArgs] = None,
permissions: Optional[UserGroupPermissionsArgs] = None,
saml_settings: Optional[UserGroupSamlSettingsArgs] = None)
func NewUserGroup(ctx *Context, name string, args *UserGroupArgs, opts ...ResourceOption) (*UserGroup, error)
public UserGroup(string name, UserGroupArgs? args = null, CustomResourceOptions? opts = null)
public UserGroup(String name, UserGroupArgs args)
public UserGroup(String name, UserGroupArgs args, CustomResourceOptions options)
type: harness:UserGroup
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 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var userGroupResource = new Harness.UserGroup("userGroupResource", new()
{
Description = "string",
LdapSettings = new Harness.Inputs.UserGroupLdapSettingsArgs
{
GroupDn = "string",
GroupName = "string",
SsoProviderId = "string",
},
Name = "string",
NotificationSettings = new Harness.Inputs.UserGroupNotificationSettingsArgs
{
GroupEmailAddresses = new[]
{
"string",
},
MicrosoftTeamsWebhookUrl = "string",
SendMailToNewMembers = false,
SendNotificationsToMembers = false,
SlackChannel = "string",
SlackWebhookUrl = "string",
},
Permissions = new Harness.Inputs.UserGroupPermissionsArgs
{
AccountPermissions = new[]
{
"string",
},
AppPermissions = new Harness.Inputs.UserGroupPermissionsAppPermissionsArgs
{
Alls = new[]
{
new Harness.Inputs.UserGroupPermissionsAppPermissionsAllArgs
{
Actions = new[]
{
"string",
},
AppIds = new[]
{
"string",
},
},
},
Deployments = new[]
{
new Harness.Inputs.UserGroupPermissionsAppPermissionsDeploymentArgs
{
Actions = new[]
{
"string",
},
AppIds = new[]
{
"string",
},
EnvIds = new[]
{
"string",
},
Filters = new[]
{
"string",
},
},
},
Environments = new[]
{
new Harness.Inputs.UserGroupPermissionsAppPermissionsEnvironmentArgs
{
Actions = new[]
{
"string",
},
AppIds = new[]
{
"string",
},
EnvIds = new[]
{
"string",
},
Filters = new[]
{
"string",
},
},
},
Pipelines = new[]
{
new Harness.Inputs.UserGroupPermissionsAppPermissionsPipelineArgs
{
Actions = new[]
{
"string",
},
AppIds = new[]
{
"string",
},
EnvIds = new[]
{
"string",
},
Filters = new[]
{
"string",
},
},
},
Provisioners = new[]
{
new Harness.Inputs.UserGroupPermissionsAppPermissionsProvisionerArgs
{
Actions = new[]
{
"string",
},
AppIds = new[]
{
"string",
},
ProvisionerIds = new[]
{
"string",
},
},
},
Services = new[]
{
new Harness.Inputs.UserGroupPermissionsAppPermissionsServiceArgs
{
Actions = new[]
{
"string",
},
AppIds = new[]
{
"string",
},
ServiceIds = new[]
{
"string",
},
},
},
Templates = new[]
{
new Harness.Inputs.UserGroupPermissionsAppPermissionsTemplateArgs
{
Actions = new[]
{
"string",
},
AppIds = new[]
{
"string",
},
TemplateIds = new[]
{
"string",
},
},
},
Workflows = new[]
{
new Harness.Inputs.UserGroupPermissionsAppPermissionsWorkflowArgs
{
Actions = new[]
{
"string",
},
AppIds = new[]
{
"string",
},
Filters = new[]
{
"string",
},
},
},
},
},
SamlSettings = new Harness.Inputs.UserGroupSamlSettingsArgs
{
GroupName = "string",
SsoProviderId = "string",
},
});
example, err := harness.NewUserGroup(ctx, "userGroupResource", &harness.UserGroupArgs{
Description: pulumi.String("string"),
LdapSettings: &harness.UserGroupLdapSettingsArgs{
GroupDn: pulumi.String("string"),
GroupName: pulumi.String("string"),
SsoProviderId: pulumi.String("string"),
},
Name: pulumi.String("string"),
NotificationSettings: &harness.UserGroupNotificationSettingsArgs{
GroupEmailAddresses: pulumi.StringArray{
pulumi.String("string"),
},
MicrosoftTeamsWebhookUrl: pulumi.String("string"),
SendMailToNewMembers: pulumi.Bool(false),
SendNotificationsToMembers: pulumi.Bool(false),
SlackChannel: pulumi.String("string"),
SlackWebhookUrl: pulumi.String("string"),
},
Permissions: &harness.UserGroupPermissionsTypeArgs{
AccountPermissions: pulumi.StringArray{
pulumi.String("string"),
},
AppPermissions: &harness.UserGroupPermissionsAppPermissionsArgs{
Alls: harness.UserGroupPermissionsAppPermissionsAllArray{
&harness.UserGroupPermissionsAppPermissionsAllArgs{
Actions: pulumi.StringArray{
pulumi.String("string"),
},
AppIds: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Deployments: harness.UserGroupPermissionsAppPermissionsDeploymentArray{
&harness.UserGroupPermissionsAppPermissionsDeploymentArgs{
Actions: pulumi.StringArray{
pulumi.String("string"),
},
AppIds: pulumi.StringArray{
pulumi.String("string"),
},
EnvIds: pulumi.StringArray{
pulumi.String("string"),
},
Filters: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Environments: harness.UserGroupPermissionsAppPermissionsEnvironmentArray{
&harness.UserGroupPermissionsAppPermissionsEnvironmentArgs{
Actions: pulumi.StringArray{
pulumi.String("string"),
},
AppIds: pulumi.StringArray{
pulumi.String("string"),
},
EnvIds: pulumi.StringArray{
pulumi.String("string"),
},
Filters: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Pipelines: harness.UserGroupPermissionsAppPermissionsPipelineArray{
&harness.UserGroupPermissionsAppPermissionsPipelineArgs{
Actions: pulumi.StringArray{
pulumi.String("string"),
},
AppIds: pulumi.StringArray{
pulumi.String("string"),
},
EnvIds: pulumi.StringArray{
pulumi.String("string"),
},
Filters: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Provisioners: harness.UserGroupPermissionsAppPermissionsProvisionerArray{
&harness.UserGroupPermissionsAppPermissionsProvisionerArgs{
Actions: pulumi.StringArray{
pulumi.String("string"),
},
AppIds: pulumi.StringArray{
pulumi.String("string"),
},
ProvisionerIds: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Services: harness.UserGroupPermissionsAppPermissionsServiceArray{
&harness.UserGroupPermissionsAppPermissionsServiceArgs{
Actions: pulumi.StringArray{
pulumi.String("string"),
},
AppIds: pulumi.StringArray{
pulumi.String("string"),
},
ServiceIds: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Templates: harness.UserGroupPermissionsAppPermissionsTemplateArray{
&harness.UserGroupPermissionsAppPermissionsTemplateArgs{
Actions: pulumi.StringArray{
pulumi.String("string"),
},
AppIds: pulumi.StringArray{
pulumi.String("string"),
},
TemplateIds: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Workflows: harness.UserGroupPermissionsAppPermissionsWorkflowArray{
&harness.UserGroupPermissionsAppPermissionsWorkflowArgs{
Actions: pulumi.StringArray{
pulumi.String("string"),
},
AppIds: pulumi.StringArray{
pulumi.String("string"),
},
Filters: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
},
SamlSettings: &harness.UserGroupSamlSettingsArgs{
GroupName: pulumi.String("string"),
SsoProviderId: pulumi.String("string"),
},
})
var userGroupResource = new UserGroup("userGroupResource", UserGroupArgs.builder()
.description("string")
.ldapSettings(UserGroupLdapSettingsArgs.builder()
.groupDn("string")
.groupName("string")
.ssoProviderId("string")
.build())
.name("string")
.notificationSettings(UserGroupNotificationSettingsArgs.builder()
.groupEmailAddresses("string")
.microsoftTeamsWebhookUrl("string")
.sendMailToNewMembers(false)
.sendNotificationsToMembers(false)
.slackChannel("string")
.slackWebhookUrl("string")
.build())
.permissions(UserGroupPermissionsArgs.builder()
.accountPermissions("string")
.appPermissions(UserGroupPermissionsAppPermissionsArgs.builder()
.alls(UserGroupPermissionsAppPermissionsAllArgs.builder()
.actions("string")
.appIds("string")
.build())
.deployments(UserGroupPermissionsAppPermissionsDeploymentArgs.builder()
.actions("string")
.appIds("string")
.envIds("string")
.filters("string")
.build())
.environments(UserGroupPermissionsAppPermissionsEnvironmentArgs.builder()
.actions("string")
.appIds("string")
.envIds("string")
.filters("string")
.build())
.pipelines(UserGroupPermissionsAppPermissionsPipelineArgs.builder()
.actions("string")
.appIds("string")
.envIds("string")
.filters("string")
.build())
.provisioners(UserGroupPermissionsAppPermissionsProvisionerArgs.builder()
.actions("string")
.appIds("string")
.provisionerIds("string")
.build())
.services(UserGroupPermissionsAppPermissionsServiceArgs.builder()
.actions("string")
.appIds("string")
.serviceIds("string")
.build())
.templates(UserGroupPermissionsAppPermissionsTemplateArgs.builder()
.actions("string")
.appIds("string")
.templateIds("string")
.build())
.workflows(UserGroupPermissionsAppPermissionsWorkflowArgs.builder()
.actions("string")
.appIds("string")
.filters("string")
.build())
.build())
.build())
.samlSettings(UserGroupSamlSettingsArgs.builder()
.groupName("string")
.ssoProviderId("string")
.build())
.build());
user_group_resource = harness.UserGroup("userGroupResource",
description="string",
ldap_settings=harness.UserGroupLdapSettingsArgs(
group_dn="string",
group_name="string",
sso_provider_id="string",
),
name="string",
notification_settings=harness.UserGroupNotificationSettingsArgs(
group_email_addresses=["string"],
microsoft_teams_webhook_url="string",
send_mail_to_new_members=False,
send_notifications_to_members=False,
slack_channel="string",
slack_webhook_url="string",
),
permissions=harness.UserGroupPermissionsArgs(
account_permissions=["string"],
app_permissions=harness.UserGroupPermissionsAppPermissionsArgs(
alls=[harness.UserGroupPermissionsAppPermissionsAllArgs(
actions=["string"],
app_ids=["string"],
)],
deployments=[harness.UserGroupPermissionsAppPermissionsDeploymentArgs(
actions=["string"],
app_ids=["string"],
env_ids=["string"],
filters=["string"],
)],
environments=[harness.UserGroupPermissionsAppPermissionsEnvironmentArgs(
actions=["string"],
app_ids=["string"],
env_ids=["string"],
filters=["string"],
)],
pipelines=[harness.UserGroupPermissionsAppPermissionsPipelineArgs(
actions=["string"],
app_ids=["string"],
env_ids=["string"],
filters=["string"],
)],
provisioners=[harness.UserGroupPermissionsAppPermissionsProvisionerArgs(
actions=["string"],
app_ids=["string"],
provisioner_ids=["string"],
)],
services=[harness.UserGroupPermissionsAppPermissionsServiceArgs(
actions=["string"],
app_ids=["string"],
service_ids=["string"],
)],
templates=[harness.UserGroupPermissionsAppPermissionsTemplateArgs(
actions=["string"],
app_ids=["string"],
template_ids=["string"],
)],
workflows=[harness.UserGroupPermissionsAppPermissionsWorkflowArgs(
actions=["string"],
app_ids=["string"],
filters=["string"],
)],
),
),
saml_settings=harness.UserGroupSamlSettingsArgs(
group_name="string",
sso_provider_id="string",
))
const userGroupResource = new harness.UserGroup("userGroupResource", {
description: "string",
ldapSettings: {
groupDn: "string",
groupName: "string",
ssoProviderId: "string",
},
name: "string",
notificationSettings: {
groupEmailAddresses: ["string"],
microsoftTeamsWebhookUrl: "string",
sendMailToNewMembers: false,
sendNotificationsToMembers: false,
slackChannel: "string",
slackWebhookUrl: "string",
},
permissions: {
accountPermissions: ["string"],
appPermissions: {
alls: [{
actions: ["string"],
appIds: ["string"],
}],
deployments: [{
actions: ["string"],
appIds: ["string"],
envIds: ["string"],
filters: ["string"],
}],
environments: [{
actions: ["string"],
appIds: ["string"],
envIds: ["string"],
filters: ["string"],
}],
pipelines: [{
actions: ["string"],
appIds: ["string"],
envIds: ["string"],
filters: ["string"],
}],
provisioners: [{
actions: ["string"],
appIds: ["string"],
provisionerIds: ["string"],
}],
services: [{
actions: ["string"],
appIds: ["string"],
serviceIds: ["string"],
}],
templates: [{
actions: ["string"],
appIds: ["string"],
templateIds: ["string"],
}],
workflows: [{
actions: ["string"],
appIds: ["string"],
filters: ["string"],
}],
},
},
samlSettings: {
groupName: "string",
ssoProviderId: "string",
},
});
type: harness:UserGroup
properties:
description: string
ldapSettings:
groupDn: string
groupName: string
ssoProviderId: string
name: string
notificationSettings:
groupEmailAddresses:
- string
microsoftTeamsWebhookUrl: string
sendMailToNewMembers: false
sendNotificationsToMembers: false
slackChannel: string
slackWebhookUrl: string
permissions:
accountPermissions:
- string
appPermissions:
alls:
- actions:
- string
appIds:
- string
deployments:
- actions:
- string
appIds:
- string
envIds:
- string
filters:
- string
environments:
- actions:
- string
appIds:
- string
envIds:
- string
filters:
- string
pipelines:
- actions:
- string
appIds:
- string
envIds:
- string
filters:
- string
provisioners:
- actions:
- string
appIds:
- string
provisionerIds:
- string
services:
- actions:
- string
appIds:
- string
serviceIds:
- string
templates:
- actions:
- string
appIds:
- string
templateIds:
- string
workflows:
- actions:
- string
appIds:
- string
filters:
- string
samlSettings:
groupName: string
ssoProviderId: string
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:
- Description string
- The description of the user group.
- Ldap
Settings Lbrlabs.Pulumi Package. Harness. Inputs. User Group Ldap Settings - The LDAP settings for the user group.
- Name string
- The name of the user group.
- Notification
Settings Lbrlabs.Pulumi Package. Harness. Inputs. User Group Notification Settings - The notification settings of the user group.
- Permissions
Lbrlabs.
Pulumi Package. Harness. Inputs. User Group Permissions - The permissions of the user group.
- Saml
Settings Lbrlabs.Pulumi Package. Harness. Inputs. User Group Saml Settings - The SAML settings for the user group.
- Description string
- The description of the user group.
- Ldap
Settings UserGroup Ldap Settings Args - The LDAP settings for the user group.
- Name string
- The name of the user group.
- Notification
Settings UserGroup Notification Settings Args - The notification settings of the user group.
- Permissions
User
Group Permissions Type Args - The permissions of the user group.
- Saml
Settings UserGroup Saml Settings Args - The SAML settings for the user group.
- description String
- The description of the user group.
- ldap
Settings UserGroup Ldap Settings - The LDAP settings for the user group.
- name String
- The name of the user group.
- notification
Settings UserGroup Notification Settings - The notification settings of the user group.
- permissions
User
Group Permissions - The permissions of the user group.
- saml
Settings UserGroup Saml Settings - The SAML settings for the user group.
- description string
- The description of the user group.
- ldap
Settings UserGroup Ldap Settings - The LDAP settings for the user group.
- name string
- The name of the user group.
- notification
Settings UserGroup Notification Settings - The notification settings of the user group.
- permissions
User
Group Permissions - The permissions of the user group.
- saml
Settings UserGroup Saml Settings - The SAML settings for the user group.
- description str
- The description of the user group.
- ldap_
settings UserGroup Ldap Settings Args - The LDAP settings for the user group.
- name str
- The name of the user group.
- notification_
settings UserGroup Notification Settings Args - The notification settings of the user group.
- permissions
User
Group Permissions Args - The permissions of the user group.
- saml_
settings UserGroup Saml Settings Args - The SAML settings for the user group.
- description String
- The description of the user group.
- ldap
Settings Property Map - The LDAP settings for the user group.
- name String
- The name of the user group.
- notification
Settings Property Map - The notification settings of the user group.
- permissions Property Map
- The permissions of the user group.
- saml
Settings Property Map - The SAML settings for the user group.
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.
- Imported
By boolScim - Indicates whether the user group was imported by SCIM.
- Is
Sso boolLinked - Indicates whether the user group is linked to an SSO provider.
- Id string
- The provider-assigned unique ID for this managed resource.
- Imported
By boolScim - Indicates whether the user group was imported by SCIM.
- Is
Sso boolLinked - Indicates whether the user group is linked to an SSO provider.
- id String
- The provider-assigned unique ID for this managed resource.
- imported
By BooleanScim - Indicates whether the user group was imported by SCIM.
- is
Sso BooleanLinked - Indicates whether the user group is linked to an SSO provider.
- id string
- The provider-assigned unique ID for this managed resource.
- imported
By booleanScim - Indicates whether the user group was imported by SCIM.
- is
Sso booleanLinked - Indicates whether the user group is linked to an SSO provider.
- id str
- The provider-assigned unique ID for this managed resource.
- imported_
by_ boolscim - Indicates whether the user group was imported by SCIM.
- is_
sso_ boollinked - Indicates whether the user group is linked to an SSO provider.
- id String
- The provider-assigned unique ID for this managed resource.
- imported
By BooleanScim - Indicates whether the user group was imported by SCIM.
- is
Sso BooleanLinked - Indicates whether the user group is linked to an SSO provider.
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,
imported_by_scim: Optional[bool] = None,
is_sso_linked: Optional[bool] = None,
ldap_settings: Optional[UserGroupLdapSettingsArgs] = None,
name: Optional[str] = None,
notification_settings: Optional[UserGroupNotificationSettingsArgs] = None,
permissions: Optional[UserGroupPermissionsArgs] = None,
saml_settings: Optional[UserGroupSamlSettingsArgs] = 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
- The description of the user group.
- Imported
By boolScim - Indicates whether the user group was imported by SCIM.
- Is
Sso boolLinked - Indicates whether the user group is linked to an SSO provider.
- Ldap
Settings Lbrlabs.Pulumi Package. Harness. Inputs. User Group Ldap Settings - The LDAP settings for the user group.
- Name string
- The name of the user group.
- Notification
Settings Lbrlabs.Pulumi Package. Harness. Inputs. User Group Notification Settings - The notification settings of the user group.
- Permissions
Lbrlabs.
Pulumi Package. Harness. Inputs. User Group Permissions - The permissions of the user group.
- Saml
Settings Lbrlabs.Pulumi Package. Harness. Inputs. User Group Saml Settings - The SAML settings for the user group.
- Description string
- The description of the user group.
- Imported
By boolScim - Indicates whether the user group was imported by SCIM.
- Is
Sso boolLinked - Indicates whether the user group is linked to an SSO provider.
- Ldap
Settings UserGroup Ldap Settings Args - The LDAP settings for the user group.
- Name string
- The name of the user group.
- Notification
Settings UserGroup Notification Settings Args - The notification settings of the user group.
- Permissions
User
Group Permissions Type Args - The permissions of the user group.
- Saml
Settings UserGroup Saml Settings Args - The SAML settings for the user group.
- description String
- The description of the user group.
- imported
By BooleanScim - Indicates whether the user group was imported by SCIM.
- is
Sso BooleanLinked - Indicates whether the user group is linked to an SSO provider.
- ldap
Settings UserGroup Ldap Settings - The LDAP settings for the user group.
- name String
- The name of the user group.
- notification
Settings UserGroup Notification Settings - The notification settings of the user group.
- permissions
User
Group Permissions - The permissions of the user group.
- saml
Settings UserGroup Saml Settings - The SAML settings for the user group.
- description string
- The description of the user group.
- imported
By booleanScim - Indicates whether the user group was imported by SCIM.
- is
Sso booleanLinked - Indicates whether the user group is linked to an SSO provider.
- ldap
Settings UserGroup Ldap Settings - The LDAP settings for the user group.
- name string
- The name of the user group.
- notification
Settings UserGroup Notification Settings - The notification settings of the user group.
- permissions
User
Group Permissions - The permissions of the user group.
- saml
Settings UserGroup Saml Settings - The SAML settings for the user group.
- description str
- The description of the user group.
- imported_
by_ boolscim - Indicates whether the user group was imported by SCIM.
- is_
sso_ boollinked - Indicates whether the user group is linked to an SSO provider.
- ldap_
settings UserGroup Ldap Settings Args - The LDAP settings for the user group.
- name str
- The name of the user group.
- notification_
settings UserGroup Notification Settings Args - The notification settings of the user group.
- permissions
User
Group Permissions Args - The permissions of the user group.
- saml_
settings UserGroup Saml Settings Args - The SAML settings for the user group.
- description String
- The description of the user group.
- imported
By BooleanScim - Indicates whether the user group was imported by SCIM.
- is
Sso BooleanLinked - Indicates whether the user group is linked to an SSO provider.
- ldap
Settings Property Map - The LDAP settings for the user group.
- name String
- The name of the user group.
- notification
Settings Property Map - The notification settings of the user group.
- permissions Property Map
- The permissions of the user group.
- saml
Settings Property Map - The SAML settings for the user group.
Supporting Types
UserGroupLdapSettings, UserGroupLdapSettingsArgs
- Group
Dn string - The group DN of the LDAP user group.
- Group
Name string - The group name of the LDAP user group.
- Sso
Provider stringId - The ID of the SSO provider.
- Group
Dn string - The group DN of the LDAP user group.
- Group
Name string - The group name of the LDAP user group.
- Sso
Provider stringId - The ID of the SSO provider.
- group
Dn String - The group DN of the LDAP user group.
- group
Name String - The group name of the LDAP user group.
- sso
Provider StringId - The ID of the SSO provider.
- group
Dn string - The group DN of the LDAP user group.
- group
Name string - The group name of the LDAP user group.
- sso
Provider stringId - The ID of the SSO provider.
- group_
dn str - The group DN of the LDAP user group.
- group_
name str - The group name of the LDAP user group.
- sso_
provider_ strid - The ID of the SSO provider.
- group
Dn String - The group DN of the LDAP user group.
- group
Name String - The group name of the LDAP user group.
- sso
Provider StringId - The ID of the SSO provider.
UserGroupNotificationSettings, UserGroupNotificationSettingsArgs
- Group
Email List<string>Addresses - The email addresses of the user group.
- Microsoft
Teams stringWebhook Url - The Microsoft Teams webhook URL of the user group.
- Send
Mail boolTo New Members - Indicates whether an email is sent when a new user is added to the group.
- Send
Notifications boolTo Members - Enable this setting to have notifications sent to the members of this group.
- Slack
Channel string - The Slack channel to send notifications to.
- Slack
Webhook stringUrl - The Slack webhook URL to send notifications to.
- Group
Email []stringAddresses - The email addresses of the user group.
- Microsoft
Teams stringWebhook Url - The Microsoft Teams webhook URL of the user group.
- Send
Mail boolTo New Members - Indicates whether an email is sent when a new user is added to the group.
- Send
Notifications boolTo Members - Enable this setting to have notifications sent to the members of this group.
- Slack
Channel string - The Slack channel to send notifications to.
- Slack
Webhook stringUrl - The Slack webhook URL to send notifications to.
- group
Email List<String>Addresses - The email addresses of the user group.
- microsoft
Teams StringWebhook Url - The Microsoft Teams webhook URL of the user group.
- send
Mail BooleanTo New Members - Indicates whether an email is sent when a new user is added to the group.
- send
Notifications BooleanTo Members - Enable this setting to have notifications sent to the members of this group.
- slack
Channel String - The Slack channel to send notifications to.
- slack
Webhook StringUrl - The Slack webhook URL to send notifications to.
- group
Email string[]Addresses - The email addresses of the user group.
- microsoft
Teams stringWebhook Url - The Microsoft Teams webhook URL of the user group.
- send
Mail booleanTo New Members - Indicates whether an email is sent when a new user is added to the group.
- send
Notifications booleanTo Members - Enable this setting to have notifications sent to the members of this group.
- slack
Channel string - The Slack channel to send notifications to.
- slack
Webhook stringUrl - The Slack webhook URL to send notifications to.
- group_
email_ Sequence[str]addresses - The email addresses of the user group.
- microsoft_
teams_ strwebhook_ url - The Microsoft Teams webhook URL of the user group.
- send_
mail_ boolto_ new_ members - Indicates whether an email is sent when a new user is added to the group.
- send_
notifications_ boolto_ members - Enable this setting to have notifications sent to the members of this group.
- slack_
channel str - The Slack channel to send notifications to.
- slack_
webhook_ strurl - The Slack webhook URL to send notifications to.
- group
Email List<String>Addresses - The email addresses of the user group.
- microsoft
Teams StringWebhook Url - The Microsoft Teams webhook URL of the user group.
- send
Mail BooleanTo New Members - Indicates whether an email is sent when a new user is added to the group.
- send
Notifications BooleanTo Members - Enable this setting to have notifications sent to the members of this group.
- slack
Channel String - The Slack channel to send notifications to.
- slack
Webhook StringUrl - The Slack webhook URL to send notifications to.
UserGroupPermissions, UserGroupPermissionsArgs
- Account
Permissions List<string> - The account permissions of the user group. Valid options are ADMINISTEROTHERACCOUNTFUNCTIONS, CREATEANDDELETEAPPLICATION, CREATECUSTOMDASHBOARDS, MANAGEALERTNOTIFICATIONRULES, MANAGEAPIKEYS, MANAGEAPPLICATIONSTACKS, MANAGEAUTHENTICATIONSETTINGS, MANAGECLOUDPROVIDERS, MANAGECONFIGASCODE, MANAGECONNECTORS, MANAGECUSTOMDASHBOARDS, MANAGEDELEGATEPROFILES, MANAGEDELEGATES, MANAGEDEPLOYMENTFREEZES, MANAGEIPWHITELIST, MANAGEPIPELINEGOVERNANCESTANDARDS, MANAGERESTRICTEDACCESS, MANAGESECRETMANAGERS, MANAGESECRETS, MANAGESSHANDWINRM, MANAGETAGS, MANAGETEMPLATELIBRARY, MANAGEUSERANDUSERGROUPSANDAPIKEYS, MANAGEUSERSANDGROUPS, READUSERSANDGROUPS, VIEWAUDITS, VIEWUSERANDUSERGROUPSANDAPI_KEYS
- App
Permissions Lbrlabs.Pulumi Package. Harness. Inputs. User Group Permissions App Permissions - Application specific permissions
- Account
Permissions []string - The account permissions of the user group. Valid options are ADMINISTEROTHERACCOUNTFUNCTIONS, CREATEANDDELETEAPPLICATION, CREATECUSTOMDASHBOARDS, MANAGEALERTNOTIFICATIONRULES, MANAGEAPIKEYS, MANAGEAPPLICATIONSTACKS, MANAGEAUTHENTICATIONSETTINGS, MANAGECLOUDPROVIDERS, MANAGECONFIGASCODE, MANAGECONNECTORS, MANAGECUSTOMDASHBOARDS, MANAGEDELEGATEPROFILES, MANAGEDELEGATES, MANAGEDEPLOYMENTFREEZES, MANAGEIPWHITELIST, MANAGEPIPELINEGOVERNANCESTANDARDS, MANAGERESTRICTEDACCESS, MANAGESECRETMANAGERS, MANAGESECRETS, MANAGESSHANDWINRM, MANAGETAGS, MANAGETEMPLATELIBRARY, MANAGEUSERANDUSERGROUPSANDAPIKEYS, MANAGEUSERSANDGROUPS, READUSERSANDGROUPS, VIEWAUDITS, VIEWUSERANDUSERGROUPSANDAPI_KEYS
- App
Permissions UserGroup Permissions App Permissions - Application specific permissions
- account
Permissions List<String> - The account permissions of the user group. Valid options are ADMINISTEROTHERACCOUNTFUNCTIONS, CREATEANDDELETEAPPLICATION, CREATECUSTOMDASHBOARDS, MANAGEALERTNOTIFICATIONRULES, MANAGEAPIKEYS, MANAGEAPPLICATIONSTACKS, MANAGEAUTHENTICATIONSETTINGS, MANAGECLOUDPROVIDERS, MANAGECONFIGASCODE, MANAGECONNECTORS, MANAGECUSTOMDASHBOARDS, MANAGEDELEGATEPROFILES, MANAGEDELEGATES, MANAGEDEPLOYMENTFREEZES, MANAGEIPWHITELIST, MANAGEPIPELINEGOVERNANCESTANDARDS, MANAGERESTRICTEDACCESS, MANAGESECRETMANAGERS, MANAGESECRETS, MANAGESSHANDWINRM, MANAGETAGS, MANAGETEMPLATELIBRARY, MANAGEUSERANDUSERGROUPSANDAPIKEYS, MANAGEUSERSANDGROUPS, READUSERSANDGROUPS, VIEWAUDITS, VIEWUSERANDUSERGROUPSANDAPI_KEYS
- app
Permissions UserGroup Permissions App Permissions - Application specific permissions
- account
Permissions string[] - The account permissions of the user group. Valid options are ADMINISTEROTHERACCOUNTFUNCTIONS, CREATEANDDELETEAPPLICATION, CREATECUSTOMDASHBOARDS, MANAGEALERTNOTIFICATIONRULES, MANAGEAPIKEYS, MANAGEAPPLICATIONSTACKS, MANAGEAUTHENTICATIONSETTINGS, MANAGECLOUDPROVIDERS, MANAGECONFIGASCODE, MANAGECONNECTORS, MANAGECUSTOMDASHBOARDS, MANAGEDELEGATEPROFILES, MANAGEDELEGATES, MANAGEDEPLOYMENTFREEZES, MANAGEIPWHITELIST, MANAGEPIPELINEGOVERNANCESTANDARDS, MANAGERESTRICTEDACCESS, MANAGESECRETMANAGERS, MANAGESECRETS, MANAGESSHANDWINRM, MANAGETAGS, MANAGETEMPLATELIBRARY, MANAGEUSERANDUSERGROUPSANDAPIKEYS, MANAGEUSERSANDGROUPS, READUSERSANDGROUPS, VIEWAUDITS, VIEWUSERANDUSERGROUPSANDAPI_KEYS
- app
Permissions UserGroup Permissions App Permissions - Application specific permissions
- account_
permissions Sequence[str] - The account permissions of the user group. Valid options are ADMINISTEROTHERACCOUNTFUNCTIONS, CREATEANDDELETEAPPLICATION, CREATECUSTOMDASHBOARDS, MANAGEALERTNOTIFICATIONRULES, MANAGEAPIKEYS, MANAGEAPPLICATIONSTACKS, MANAGEAUTHENTICATIONSETTINGS, MANAGECLOUDPROVIDERS, MANAGECONFIGASCODE, MANAGECONNECTORS, MANAGECUSTOMDASHBOARDS, MANAGEDELEGATEPROFILES, MANAGEDELEGATES, MANAGEDEPLOYMENTFREEZES, MANAGEIPWHITELIST, MANAGEPIPELINEGOVERNANCESTANDARDS, MANAGERESTRICTEDACCESS, MANAGESECRETMANAGERS, MANAGESECRETS, MANAGESSHANDWINRM, MANAGETAGS, MANAGETEMPLATELIBRARY, MANAGEUSERANDUSERGROUPSANDAPIKEYS, MANAGEUSERSANDGROUPS, READUSERSANDGROUPS, VIEWAUDITS, VIEWUSERANDUSERGROUPSANDAPI_KEYS
- app_
permissions UserGroup Permissions App Permissions - Application specific permissions
- account
Permissions List<String> - The account permissions of the user group. Valid options are ADMINISTEROTHERACCOUNTFUNCTIONS, CREATEANDDELETEAPPLICATION, CREATECUSTOMDASHBOARDS, MANAGEALERTNOTIFICATIONRULES, MANAGEAPIKEYS, MANAGEAPPLICATIONSTACKS, MANAGEAUTHENTICATIONSETTINGS, MANAGECLOUDPROVIDERS, MANAGECONFIGASCODE, MANAGECONNECTORS, MANAGECUSTOMDASHBOARDS, MANAGEDELEGATEPROFILES, MANAGEDELEGATES, MANAGEDEPLOYMENTFREEZES, MANAGEIPWHITELIST, MANAGEPIPELINEGOVERNANCESTANDARDS, MANAGERESTRICTEDACCESS, MANAGESECRETMANAGERS, MANAGESECRETS, MANAGESSHANDWINRM, MANAGETAGS, MANAGETEMPLATELIBRARY, MANAGEUSERANDUSERGROUPSANDAPIKEYS, MANAGEUSERSANDGROUPS, READUSERSANDGROUPS, VIEWAUDITS, VIEWUSERANDUSERGROUPSANDAPI_KEYS
- app
Permissions Property Map - Application specific permissions
UserGroupPermissionsAppPermissions, UserGroupPermissionsAppPermissionsArgs
- Alls
List<Lbrlabs.
Pulumi Package. Harness. Inputs. User Group Permissions App Permissions All> - The permission to perform actions against all resources.
- Deployments
List<Lbrlabs.
Pulumi Package. Harness. Inputs. User Group Permissions App Permissions Deployment> - Permission configuration to perform actions against deployments.
- Environments
List<Lbrlabs.
Pulumi Package. Harness. Inputs. User Group Permissions App Permissions Environment> - Permission configuration to perform actions against workflows.
- Pipelines
List<Lbrlabs.
Pulumi Package. Harness. Inputs. User Group Permissions App Permissions Pipeline> - Permission configuration to perform actions against pipelines.
- Provisioners
List<Lbrlabs.
Pulumi Package. Harness. Inputs. User Group Permissions App Permissions Provisioner> - Permission configuration to perform actions against provisioners.
- Services
List<Lbrlabs.
Pulumi Package. Harness. Inputs. User Group Permissions App Permissions Service> - Permission configuration to perform actions against services.
- Templates
List<Lbrlabs.
Pulumi Package. Harness. Inputs. User Group Permissions App Permissions Template> - Permission configuration to perform actions against templates.
- Workflows
List<Lbrlabs.
Pulumi Package. Harness. Inputs. User Group Permissions App Permissions Workflow> - Permission configuration to perform actions against workflows.
- Alls
[]User
Group Permissions App Permissions All - The permission to perform actions against all resources.
- Deployments
[]User
Group Permissions App Permissions Deployment - Permission configuration to perform actions against deployments.
- Environments
[]User
Group Permissions App Permissions Environment - Permission configuration to perform actions against workflows.
- Pipelines
[]User
Group Permissions App Permissions Pipeline - Permission configuration to perform actions against pipelines.
- Provisioners
[]User
Group Permissions App Permissions Provisioner - Permission configuration to perform actions against provisioners.
- Services
[]User
Group Permissions App Permissions Service - Permission configuration to perform actions against services.
- Templates
[]User
Group Permissions App Permissions Template - Permission configuration to perform actions against templates.
- Workflows
[]User
Group Permissions App Permissions Workflow - Permission configuration to perform actions against workflows.
- alls
List<User
Group Permissions App Permissions All> - The permission to perform actions against all resources.
- deployments
List<User
Group Permissions App Permissions Deployment> - Permission configuration to perform actions against deployments.
- environments
List<User
Group Permissions App Permissions Environment> - Permission configuration to perform actions against workflows.
- pipelines
List<User
Group Permissions App Permissions Pipeline> - Permission configuration to perform actions against pipelines.
- provisioners
List<User
Group Permissions App Permissions Provisioner> - Permission configuration to perform actions against provisioners.
- services
List<User
Group Permissions App Permissions Service> - Permission configuration to perform actions against services.
- templates
List<User
Group Permissions App Permissions Template> - Permission configuration to perform actions against templates.
- workflows
List<User
Group Permissions App Permissions Workflow> - Permission configuration to perform actions against workflows.
- alls
User
Group Permissions App Permissions All[] - The permission to perform actions against all resources.
- deployments
User
Group Permissions App Permissions Deployment[] - Permission configuration to perform actions against deployments.
- environments
User
Group Permissions App Permissions Environment[] - Permission configuration to perform actions against workflows.
- pipelines
User
Group Permissions App Permissions Pipeline[] - Permission configuration to perform actions against pipelines.
- provisioners
User
Group Permissions App Permissions Provisioner[] - Permission configuration to perform actions against provisioners.
- services
User
Group Permissions App Permissions Service[] - Permission configuration to perform actions against services.
- templates
User
Group Permissions App Permissions Template[] - Permission configuration to perform actions against templates.
- workflows
User
Group Permissions App Permissions Workflow[] - Permission configuration to perform actions against workflows.
- alls
Sequence[User
Group Permissions App Permissions All] - The permission to perform actions against all resources.
- deployments
Sequence[User
Group Permissions App Permissions Deployment] - Permission configuration to perform actions against deployments.
- environments
Sequence[User
Group Permissions App Permissions Environment] - Permission configuration to perform actions against workflows.
- pipelines
Sequence[User
Group Permissions App Permissions Pipeline] - Permission configuration to perform actions against pipelines.
- provisioners
Sequence[User
Group Permissions App Permissions Provisioner] - Permission configuration to perform actions against provisioners.
- services
Sequence[User
Group Permissions App Permissions Service] - Permission configuration to perform actions against services.
- templates
Sequence[User
Group Permissions App Permissions Template] - Permission configuration to perform actions against templates.
- workflows
Sequence[User
Group Permissions App Permissions Workflow] - Permission configuration to perform actions against workflows.
- alls List<Property Map>
- The permission to perform actions against all resources.
- deployments List<Property Map>
- Permission configuration to perform actions against deployments.
- environments List<Property Map>
- Permission configuration to perform actions against workflows.
- pipelines List<Property Map>
- Permission configuration to perform actions against pipelines.
- provisioners List<Property Map>
- Permission configuration to perform actions against provisioners.
- services List<Property Map>
- Permission configuration to perform actions against services.
- templates List<Property Map>
- Permission configuration to perform actions against templates.
- workflows List<Property Map>
- Permission configuration to perform actions against workflows.
UserGroupPermissionsAppPermissionsAll, UserGroupPermissionsAppPermissionsAllArgs
UserGroupPermissionsAppPermissionsDeployment, UserGroupPermissionsAppPermissionsDeploymentArgs
UserGroupPermissionsAppPermissionsEnvironment, UserGroupPermissionsAppPermissionsEnvironmentArgs
UserGroupPermissionsAppPermissionsPipeline, UserGroupPermissionsAppPermissionsPipelineArgs
UserGroupPermissionsAppPermissionsProvisioner, UserGroupPermissionsAppPermissionsProvisionerArgs
- Actions List<string>
- App
Ids List<string> - Provisioner
Ids List<string>
- Actions []string
- App
Ids []string - Provisioner
Ids []string
- actions List<String>
- app
Ids List<String> - provisioner
Ids List<String>
- actions string[]
- app
Ids string[] - provisioner
Ids string[]
- actions Sequence[str]
- app_
ids Sequence[str] - provisioner_
ids Sequence[str]
- actions List<String>
- app
Ids List<String> - provisioner
Ids List<String>
UserGroupPermissionsAppPermissionsService, UserGroupPermissionsAppPermissionsServiceArgs
- Actions List<string>
- App
Ids List<string> - Service
Ids List<string>
- Actions []string
- App
Ids []string - Service
Ids []string
- actions List<String>
- app
Ids List<String> - service
Ids List<String>
- actions string[]
- app
Ids string[] - service
Ids string[]
- actions Sequence[str]
- app_
ids Sequence[str] - service_
ids Sequence[str]
- actions List<String>
- app
Ids List<String> - service
Ids List<String>
UserGroupPermissionsAppPermissionsTemplate, UserGroupPermissionsAppPermissionsTemplateArgs
- Actions List<string>
- App
Ids List<string> - Template
Ids List<string>
- Actions []string
- App
Ids []string - Template
Ids []string
- actions List<String>
- app
Ids List<String> - template
Ids List<String>
- actions string[]
- app
Ids string[] - template
Ids string[]
- actions Sequence[str]
- app_
ids Sequence[str] - template_
ids Sequence[str]
- actions List<String>
- app
Ids List<String> - template
Ids List<String>
UserGroupPermissionsAppPermissionsWorkflow, UserGroupPermissionsAppPermissionsWorkflowArgs
UserGroupSamlSettings, UserGroupSamlSettingsArgs
- Group
Name string - The group name of the SAML user group.
- Sso
Provider stringId - The ID of the SSO provider.
- Group
Name string - The group name of the SAML user group.
- Sso
Provider stringId - The ID of the SSO provider.
- group
Name String - The group name of the SAML user group.
- sso
Provider StringId - The ID of the SSO provider.
- group
Name string - The group name of the SAML user group.
- sso
Provider stringId - The ID of the SSO provider.
- group_
name str - The group name of the SAML user group.
- sso_
provider_ strid - The ID of the SSO provider.
- group
Name String - The group name of the SAML user group.
- sso
Provider StringId - The ID of the SSO provider.
Import
Import using the id of the user group
$ pulumi import harness:index/userGroup:UserGroup example <USER_GROUP_ID>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- harness lbrlabs/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harness
Terraform Provider.