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",
}],
});
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",
}])
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
})
}
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",
},
},
});
});
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());
}
}
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
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 string
- The unique name of the resource.
- args ActiveDirectoryAddGroupsArgs
- 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 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 string
- The unique name of the resource.
- args ActiveDirectoryAddGroupsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ActiveDirectoryAddGroupsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
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());
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=[ise.identitymanagement.ActiveDirectoryAddGroupsGroupArgs(
name="string",
sid="string",
type="string",
)],
name="string")
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",
});
type: ise:identitymanagement:ActiveDirectoryAddGroups
properties:
adScopesNames: string
description: string
domain: string
enableDomainAllowedList: false
groups:
- name: string
sid: string
type: string
joinPointId: string
name: string
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
The ActiveDirectoryAddGroups resource accepts the following input properties:
- Domain string
- AD domain associated with the join point
- Join
Point stringId - Active Directory Join Point ID
- Ad
Scopes stringNames - 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
- Enable
Domain boolAllowed List - Default value:
true
- Default value:
- Groups
Value List<ActiveDirectory Add Groups Group> - List of AD Groups
- Name string
- The name of the active directory join point
- Domain string
- AD domain associated with the join point
- Join
Point stringId - Active Directory Join Point ID
- Ad
Scopes stringNames - 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
- Enable
Domain boolAllowed List - Default value:
true
- Default value:
- Groups
[]Active
Directory Add Groups Group Args - List of AD Groups
- Name string
- The name of the active directory join point
- domain String
- AD domain associated with the join point
- join
Point StringId - Active Directory Join Point ID
- ad
Scopes StringNames - 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
- enable
Domain BooleanAllowed List - Default value:
true
- Default value:
- groups
List<Active
Directory Add Groups Group> - List of AD Groups
- name String
- The name of the active directory join point
- domain string
- AD domain associated with the join point
- join
Point stringId - Active Directory Join Point ID
- ad
Scopes stringNames - 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
- enable
Domain booleanAllowed List - Default value:
true
- Default value:
- groups
Active
Directory Add Groups Group[] - List of AD Groups
- name string
- The name of the active directory join point
- domain str
- AD domain associated with the join point
- join_
point_ strid - Active Directory Join Point ID
- ad_
scopes_ strnames - 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_ boolallowed_ list - Default value:
true
- Default value:
- groups
Sequence[Active
Directory Add Groups Group Args] - List of AD Groups
- name str
- The name of the active directory join point
- domain String
- AD domain associated with the join point
- join
Point StringId - Active Directory Join Point ID
- ad
Scopes StringNames - 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
- enable
Domain BooleanAllowed List - Default value:
true
- Default value:
- 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)
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.
- Ad
Scopes stringNames - 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
- Enable
Domain boolAllowed List - Default value:
true
- Default value:
- Groups
Value List<ActiveDirectory Add Groups Group> - List of AD Groups
- Join
Point stringId - Active Directory Join Point ID
- Name string
- The name of the active directory join point
- Ad
Scopes stringNames - 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
- Enable
Domain boolAllowed List - Default value:
true
- Default value:
- Groups
[]Active
Directory Add Groups Group Args - List of AD Groups
- Join
Point stringId - Active Directory Join Point ID
- Name string
- The name of the active directory join point
- ad
Scopes StringNames - 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
- enable
Domain BooleanAllowed List - Default value:
true
- Default value:
- groups
List<Active
Directory Add Groups Group> - List of AD Groups
- join
Point StringId - Active Directory Join Point ID
- name String
- The name of the active directory join point
- ad
Scopes stringNames - 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
- enable
Domain booleanAllowed List - Default value:
true
- Default value:
- groups
Active
Directory Add Groups Group[] - List of AD Groups
- join
Point stringId - Active Directory Join Point ID
- name string
- The name of the active directory join point
- ad_
scopes_ strnames - 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_ boolallowed_ list - Default value:
true
- Default value:
- groups
Sequence[Active
Directory Add Groups Group Args] - List of AD Groups
- join_
point_ strid - Active Directory Join Point ID
- name str
- The name of the active directory join point
- ad
Scopes StringNames - 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
- enable
Domain BooleanAllowed List - Default value:
true
- Default value:
- groups List<Property Map>
- List of AD Groups
- join
Point StringId - Active Directory Join Point ID
- name String
- The name of the active directory join point
Supporting Types
ActiveDirectoryAddGroupsGroup, ActiveDirectoryAddGroupsGroupArgs
Package Details
- Repository
- ise pulumi/pulumi-ise
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ise
Terraform Provider.