1. Packages
  2. Cisco ISE Provider
  3. API Docs
  4. identitymanagement
  5. ActiveDirectoryAddGroups
Cisco ISE v0.2.2 published on Friday, Apr 25, 2025 by Pulumi

ise.identitymanagement.ActiveDirectoryAddGroups

Explore with Pulumi AI

This resource can manage an Active Directory Add Groups.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as ise from "@pulumi/ise";

const example = new ise.identitymanagement.ActiveDirectoryAddGroups("example", {
    joinPointId: "73808580-b6e6-11ee-8960-de6d7692bc40",
    name: "cisco.local",
    description: "My AD join point",
    domain: "cisco.local",
    adScopesNames: "Default_Scope",
    enableDomainAllowedList: true,
    groups: [{
        name: "cisco.local/operators",
        sid: "S-1-5-32-548",
        type: "GLOBAL",
    }],
});
Copy
import pulumi
import pulumi_ise as ise

example = ise.identitymanagement.ActiveDirectoryAddGroups("example",
    join_point_id="73808580-b6e6-11ee-8960-de6d7692bc40",
    name="cisco.local",
    description="My AD join point",
    domain="cisco.local",
    ad_scopes_names="Default_Scope",
    enable_domain_allowed_list=True,
    groups=[{
        "name": "cisco.local/operators",
        "sid": "S-1-5-32-548",
        "type": "GLOBAL",
    }])
Copy
package main

import (
	"github.com/pulumi/pulumi-ise/sdk/go/ise/identitymanagement"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := identitymanagement.NewActiveDirectoryAddGroups(ctx, "example", &identitymanagement.ActiveDirectoryAddGroupsArgs{
			JoinPointId:             pulumi.String("73808580-b6e6-11ee-8960-de6d7692bc40"),
			Name:                    pulumi.String("cisco.local"),
			Description:             pulumi.String("My AD join point"),
			Domain:                  pulumi.String("cisco.local"),
			AdScopesNames:           pulumi.String("Default_Scope"),
			EnableDomainAllowedList: pulumi.Bool(true),
			Groups: identitymanagement.ActiveDirectoryAddGroupsGroupArray{
				&identitymanagement.ActiveDirectoryAddGroupsGroupArgs{
					Name: pulumi.String("cisco.local/operators"),
					Sid:  pulumi.String("S-1-5-32-548"),
					Type: pulumi.String("GLOBAL"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ise = Pulumi.Ise;

return await Deployment.RunAsync(() => 
{
    var example = new Ise.IdentityManagement.ActiveDirectoryAddGroups("example", new()
    {
        JoinPointId = "73808580-b6e6-11ee-8960-de6d7692bc40",
        Name = "cisco.local",
        Description = "My AD join point",
        Domain = "cisco.local",
        AdScopesNames = "Default_Scope",
        EnableDomainAllowedList = true,
        GroupsValue = new[]
        {
            new Ise.IdentityManagement.Inputs.ActiveDirectoryAddGroupsGroupArgs
            {
                Name = "cisco.local/operators",
                Sid = "S-1-5-32-548",
                Type = "GLOBAL",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ise.identitymanagement.ActiveDirectoryAddGroups;
import com.pulumi.ise.identitymanagement.ActiveDirectoryAddGroupsArgs;
import com.pulumi.ise.identitymanagement.inputs.ActiveDirectoryAddGroupsGroupArgs;
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 ActiveDirectoryAddGroups("example", ActiveDirectoryAddGroupsArgs.builder()
            .joinPointId("73808580-b6e6-11ee-8960-de6d7692bc40")
            .name("cisco.local")
            .description("My AD join point")
            .domain("cisco.local")
            .adScopesNames("Default_Scope")
            .enableDomainAllowedList(true)
            .groups(ActiveDirectoryAddGroupsGroupArgs.builder()
                .name("cisco.local/operators")
                .sid("S-1-5-32-548")
                .type("GLOBAL")
                .build())
            .build());

    }
}
Copy
resources:
  example:
    type: ise:identitymanagement:ActiveDirectoryAddGroups
    properties:
      joinPointId: 73808580-b6e6-11ee-8960-de6d7692bc40
      name: cisco.local
      description: My AD join point
      domain: cisco.local
      adScopesNames: Default_Scope
      enableDomainAllowedList: true
      groups:
        - name: cisco.local/operators
          sid: S-1-5-32-548
          type: GLOBAL
Copy

Create ActiveDirectoryAddGroups Resource

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

Constructor syntax

new ActiveDirectoryAddGroups(name: string, args: ActiveDirectoryAddGroupsArgs, opts?: CustomResourceOptions);
@overload
def ActiveDirectoryAddGroups(resource_name: str,
                             args: ActiveDirectoryAddGroupsArgs,
                             opts: Optional[ResourceOptions] = None)

@overload
def ActiveDirectoryAddGroups(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             domain: Optional[str] = None,
                             join_point_id: Optional[str] = None,
                             ad_scopes_names: Optional[str] = None,
                             description: Optional[str] = None,
                             enable_domain_allowed_list: Optional[bool] = None,
                             groups: Optional[Sequence[ActiveDirectoryAddGroupsGroupArgs]] = None,
                             name: Optional[str] = None)
func NewActiveDirectoryAddGroups(ctx *Context, name string, args ActiveDirectoryAddGroupsArgs, opts ...ResourceOption) (*ActiveDirectoryAddGroups, error)
public ActiveDirectoryAddGroups(string name, ActiveDirectoryAddGroupsArgs args, CustomResourceOptions? opts = null)
public ActiveDirectoryAddGroups(String name, ActiveDirectoryAddGroupsArgs args)
public ActiveDirectoryAddGroups(String name, ActiveDirectoryAddGroupsArgs args, CustomResourceOptions options)
type: ise:identitymanagement:ActiveDirectoryAddGroups
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ActiveDirectoryAddGroupsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ActiveDirectoryAddGroupsArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ActiveDirectoryAddGroupsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ActiveDirectoryAddGroupsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ActiveDirectoryAddGroupsArgs
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 activeDirectoryAddGroupsResource = new Ise.IdentityManagement.ActiveDirectoryAddGroups("activeDirectoryAddGroupsResource", new()
{
    Domain = "string",
    JoinPointId = "string",
    AdScopesNames = "string",
    Description = "string",
    EnableDomainAllowedList = false,
    GroupsValue = new[]
    {
        new Ise.IdentityManagement.Inputs.ActiveDirectoryAddGroupsGroupArgs
        {
            Name = "string",
            Sid = "string",
            Type = "string",
        },
    },
    Name = "string",
});
Copy
example, err := identitymanagement.NewActiveDirectoryAddGroups(ctx, "activeDirectoryAddGroupsResource", &identitymanagement.ActiveDirectoryAddGroupsArgs{
	Domain:                  pulumi.String("string"),
	JoinPointId:             pulumi.String("string"),
	AdScopesNames:           pulumi.String("string"),
	Description:             pulumi.String("string"),
	EnableDomainAllowedList: pulumi.Bool(false),
	Groups: identitymanagement.ActiveDirectoryAddGroupsGroupArray{
		&identitymanagement.ActiveDirectoryAddGroupsGroupArgs{
			Name: pulumi.String("string"),
			Sid:  pulumi.String("string"),
			Type: pulumi.String("string"),
		},
	},
	Name: pulumi.String("string"),
})
Copy
var activeDirectoryAddGroupsResource = new ActiveDirectoryAddGroups("activeDirectoryAddGroupsResource", ActiveDirectoryAddGroupsArgs.builder()
    .domain("string")
    .joinPointId("string")
    .adScopesNames("string")
    .description("string")
    .enableDomainAllowedList(false)
    .groups(ActiveDirectoryAddGroupsGroupArgs.builder()
        .name("string")
        .sid("string")
        .type("string")
        .build())
    .name("string")
    .build());
Copy
active_directory_add_groups_resource = ise.identitymanagement.ActiveDirectoryAddGroups("activeDirectoryAddGroupsResource",
    domain="string",
    join_point_id="string",
    ad_scopes_names="string",
    description="string",
    enable_domain_allowed_list=False,
    groups=[{
        "name": "string",
        "sid": "string",
        "type": "string",
    }],
    name="string")
Copy
const activeDirectoryAddGroupsResource = new ise.identitymanagement.ActiveDirectoryAddGroups("activeDirectoryAddGroupsResource", {
    domain: "string",
    joinPointId: "string",
    adScopesNames: "string",
    description: "string",
    enableDomainAllowedList: false,
    groups: [{
        name: "string",
        sid: "string",
        type: "string",
    }],
    name: "string",
});
Copy
type: ise:identitymanagement:ActiveDirectoryAddGroups
properties:
    adScopesNames: string
    description: string
    domain: string
    enableDomainAllowedList: false
    groups:
        - name: string
          sid: string
          type: string
    joinPointId: string
    name: string
Copy

ActiveDirectoryAddGroups Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ActiveDirectoryAddGroups resource accepts the following input properties:

Domain This property is required. string
AD domain associated with the join point
JoinPointId This property is required. string
Active Directory Join Point ID
AdScopesNames string
String that contains the names of the scopes that the active directory belongs to. Names are separated by comm - Default value: Default_Scope
Description string
Join point Description
EnableDomainAllowedList bool
  • Default value: true
GroupsValue List<ActiveDirectoryAddGroupsGroup>
List of AD Groups
Name string
The name of the active directory join point
Domain This property is required. string
AD domain associated with the join point
JoinPointId This property is required. string
Active Directory Join Point ID
AdScopesNames string
String that contains the names of the scopes that the active directory belongs to. Names are separated by comm - Default value: Default_Scope
Description string
Join point Description
EnableDomainAllowedList bool
  • Default value: true
Groups []ActiveDirectoryAddGroupsGroupArgs
List of AD Groups
Name string
The name of the active directory join point
domain This property is required. String
AD domain associated with the join point
joinPointId This property is required. String
Active Directory Join Point ID
adScopesNames String
String that contains the names of the scopes that the active directory belongs to. Names are separated by comm - Default value: Default_Scope
description String
Join point Description
enableDomainAllowedList Boolean
  • Default value: true
groups List<ActiveDirectoryAddGroupsGroup>
List of AD Groups
name String
The name of the active directory join point
domain This property is required. string
AD domain associated with the join point
joinPointId This property is required. string
Active Directory Join Point ID
adScopesNames string
String that contains the names of the scopes that the active directory belongs to. Names are separated by comm - Default value: Default_Scope
description string
Join point Description
enableDomainAllowedList boolean
  • Default value: true
groups ActiveDirectoryAddGroupsGroup[]
List of AD Groups
name string
The name of the active directory join point
domain This property is required. str
AD domain associated with the join point
join_point_id This property is required. str
Active Directory Join Point ID
ad_scopes_names str
String that contains the names of the scopes that the active directory belongs to. Names are separated by comm - Default value: Default_Scope
description str
Join point Description
enable_domain_allowed_list bool
  • Default value: true
groups Sequence[ActiveDirectoryAddGroupsGroupArgs]
List of AD Groups
name str
The name of the active directory join point
domain This property is required. String
AD domain associated with the join point
joinPointId This property is required. String
Active Directory Join Point ID
adScopesNames String
String that contains the names of the scopes that the active directory belongs to. Names are separated by comm - Default value: Default_Scope
description String
Join point Description
enableDomainAllowedList Boolean
  • Default value: true
groups List<Property Map>
List of AD Groups
name String
The name of the active directory join point

Outputs

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

Get an existing ActiveDirectoryAddGroups 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?: ActiveDirectoryAddGroupsState, opts?: CustomResourceOptions): ActiveDirectoryAddGroups
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        ad_scopes_names: Optional[str] = None,
        description: Optional[str] = None,
        domain: Optional[str] = None,
        enable_domain_allowed_list: Optional[bool] = None,
        groups: Optional[Sequence[ActiveDirectoryAddGroupsGroupArgs]] = None,
        join_point_id: Optional[str] = None,
        name: Optional[str] = None) -> ActiveDirectoryAddGroups
func GetActiveDirectoryAddGroups(ctx *Context, name string, id IDInput, state *ActiveDirectoryAddGroupsState, opts ...ResourceOption) (*ActiveDirectoryAddGroups, error)
public static ActiveDirectoryAddGroups Get(string name, Input<string> id, ActiveDirectoryAddGroupsState? state, CustomResourceOptions? opts = null)
public static ActiveDirectoryAddGroups get(String name, Output<String> id, ActiveDirectoryAddGroupsState state, CustomResourceOptions options)
resources:  _:    type: ise:identitymanagement:ActiveDirectoryAddGroups    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AdScopesNames string
String that contains the names of the scopes that the active directory belongs to. Names are separated by comm - Default value: Default_Scope
Description string
Join point Description
Domain string
AD domain associated with the join point
EnableDomainAllowedList bool
  • Default value: true
GroupsValue List<ActiveDirectoryAddGroupsGroup>
List of AD Groups
JoinPointId string
Active Directory Join Point ID
Name string
The name of the active directory join point
AdScopesNames string
String that contains the names of the scopes that the active directory belongs to. Names are separated by comm - Default value: Default_Scope
Description string
Join point Description
Domain string
AD domain associated with the join point
EnableDomainAllowedList bool
  • Default value: true
Groups []ActiveDirectoryAddGroupsGroupArgs
List of AD Groups
JoinPointId string
Active Directory Join Point ID
Name string
The name of the active directory join point
adScopesNames String
String that contains the names of the scopes that the active directory belongs to. Names are separated by comm - Default value: Default_Scope
description String
Join point Description
domain String
AD domain associated with the join point
enableDomainAllowedList Boolean
  • Default value: true
groups List<ActiveDirectoryAddGroupsGroup>
List of AD Groups
joinPointId String
Active Directory Join Point ID
name String
The name of the active directory join point
adScopesNames string
String that contains the names of the scopes that the active directory belongs to. Names are separated by comm - Default value: Default_Scope
description string
Join point Description
domain string
AD domain associated with the join point
enableDomainAllowedList boolean
  • Default value: true
groups ActiveDirectoryAddGroupsGroup[]
List of AD Groups
joinPointId string
Active Directory Join Point ID
name string
The name of the active directory join point
ad_scopes_names str
String that contains the names of the scopes that the active directory belongs to. Names are separated by comm - Default value: Default_Scope
description str
Join point Description
domain str
AD domain associated with the join point
enable_domain_allowed_list bool
  • Default value: true
groups Sequence[ActiveDirectoryAddGroupsGroupArgs]
List of AD Groups
join_point_id str
Active Directory Join Point ID
name str
The name of the active directory join point
adScopesNames String
String that contains the names of the scopes that the active directory belongs to. Names are separated by comm - Default value: Default_Scope
description String
Join point Description
domain String
AD domain associated with the join point
enableDomainAllowedList Boolean
  • Default value: true
groups List<Property Map>
List of AD Groups
joinPointId String
Active Directory Join Point ID
name String
The name of the active directory join point

Supporting Types

ActiveDirectoryAddGroupsGroup
, ActiveDirectoryAddGroupsGroupArgs

Name This property is required. string
Required for each group in the group list with no duplication between groups
Sid This property is required. string
Required for each group in the group list with no duplication between groups
Type string
Name This property is required. string
Required for each group in the group list with no duplication between groups
Sid This property is required. string
Required for each group in the group list with no duplication between groups
Type string
name This property is required. String
Required for each group in the group list with no duplication between groups
sid This property is required. String
Required for each group in the group list with no duplication between groups
type String
name This property is required. string
Required for each group in the group list with no duplication between groups
sid This property is required. string
Required for each group in the group list with no duplication between groups
type string
name This property is required. str
Required for each group in the group list with no duplication between groups
sid This property is required. str
Required for each group in the group list with no duplication between groups
type str
name This property is required. String
Required for each group in the group list with no duplication between groups
sid This property is required. String
Required for each group in the group list with no duplication between groups
type String

Package Details

Repository
ise pulumi/pulumi-ise
License
Apache-2.0
Notes
This Pulumi package is based on the ise Terraform Provider.