Cisco ISE v0.1.7 published on Tuesday, Sep 24, 2024 by Pulumi
ise.identitymanagement.getActiveDirectoryGroupsByDomain
Explore with Pulumi AI
This data source can read the Active Directory Groups By Domain.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ise from "@pulumi/ise";
const example = ise.identitymanagement.getActiveDirectoryGroupsByDomain({
joinPointId: "73808580-b6e6-11ee-8960-de6d7692bc40",
domain: "cisco.com",
filter: "CN=ISE Admins",
sidFilter: "cisco.com/S-1-5-33-544",
typeFilter: "UNIVERSAL",
});
import pulumi
import pulumi_ise as ise
example = ise.identitymanagement.get_active_directory_groups_by_domain(join_point_id="73808580-b6e6-11ee-8960-de6d7692bc40",
domain="cisco.com",
filter="CN=ISE Admins",
sid_filter="cisco.com/S-1-5-33-544",
type_filter="UNIVERSAL")
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.GetActiveDirectoryGroupsByDomain(ctx, &identitymanagement.GetActiveDirectoryGroupsByDomainArgs{
JoinPointId: "73808580-b6e6-11ee-8960-de6d7692bc40",
Domain: "cisco.com",
Filter: pulumi.StringRef("CN=ISE Admins"),
SidFilter: pulumi.StringRef("cisco.com/S-1-5-33-544"),
TypeFilter: pulumi.StringRef("UNIVERSAL"),
}, nil)
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 = Ise.IdentityManagement.GetActiveDirectoryGroupsByDomain.Invoke(new()
{
JoinPointId = "73808580-b6e6-11ee-8960-de6d7692bc40",
Domain = "cisco.com",
Filter = "CN=ISE Admins",
SidFilter = "cisco.com/S-1-5-33-544",
TypeFilter = "UNIVERSAL",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions;
import com.pulumi.ise.identitymanagement.inputs.GetActiveDirectoryGroupsByDomainArgs;
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) {
final var example = IdentitymanagementFunctions.getActiveDirectoryGroupsByDomain(GetActiveDirectoryGroupsByDomainArgs.builder()
.joinPointId("73808580-b6e6-11ee-8960-de6d7692bc40")
.domain("cisco.com")
.filter("CN=ISE Admins")
.sidFilter("cisco.com/S-1-5-33-544")
.typeFilter("UNIVERSAL")
.build());
}
}
variables:
example:
fn::invoke:
Function: ise:identitymanagement:getActiveDirectoryGroupsByDomain
Arguments:
joinPointId: 73808580-b6e6-11ee-8960-de6d7692bc40
domain: cisco.com
filter: CN=ISE Admins
sidFilter: cisco.com/S-1-5-33-544
typeFilter: UNIVERSAL
Using getActiveDirectoryGroupsByDomain
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getActiveDirectoryGroupsByDomain(args: GetActiveDirectoryGroupsByDomainArgs, opts?: InvokeOptions): Promise<GetActiveDirectoryGroupsByDomainResult>
function getActiveDirectoryGroupsByDomainOutput(args: GetActiveDirectoryGroupsByDomainOutputArgs, opts?: InvokeOptions): Output<GetActiveDirectoryGroupsByDomainResult>
def get_active_directory_groups_by_domain(domain: Optional[str] = None,
filter: Optional[str] = None,
join_point_id: Optional[str] = None,
sid_filter: Optional[str] = None,
type_filter: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetActiveDirectoryGroupsByDomainResult
def get_active_directory_groups_by_domain_output(domain: Optional[pulumi.Input[str]] = None,
filter: Optional[pulumi.Input[str]] = None,
join_point_id: Optional[pulumi.Input[str]] = None,
sid_filter: Optional[pulumi.Input[str]] = None,
type_filter: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetActiveDirectoryGroupsByDomainResult]
func GetActiveDirectoryGroupsByDomain(ctx *Context, args *GetActiveDirectoryGroupsByDomainArgs, opts ...InvokeOption) (*GetActiveDirectoryGroupsByDomainResult, error)
func GetActiveDirectoryGroupsByDomainOutput(ctx *Context, args *GetActiveDirectoryGroupsByDomainOutputArgs, opts ...InvokeOption) GetActiveDirectoryGroupsByDomainResultOutput
> Note: This function is named GetActiveDirectoryGroupsByDomain
in the Go SDK.
public static class GetActiveDirectoryGroupsByDomain
{
public static Task<GetActiveDirectoryGroupsByDomainResult> InvokeAsync(GetActiveDirectoryGroupsByDomainArgs args, InvokeOptions? opts = null)
public static Output<GetActiveDirectoryGroupsByDomainResult> Invoke(GetActiveDirectoryGroupsByDomainInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetActiveDirectoryGroupsByDomainResult> getActiveDirectoryGroupsByDomain(GetActiveDirectoryGroupsByDomainArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: ise:identitymanagement/getActiveDirectoryGroupsByDomain:getActiveDirectoryGroupsByDomain
arguments:
# arguments dictionary
The following arguments are supported:
- Domain string
- The domain whose groups we want to fetch
- Join
Point stringId - Active Directory Join Point ID
- Filter string
- Exact match filter on group's CN
- Sid
Filter string - Exact match filter on group's SID, optionally specifying the domain as prefix. e.g. S-1-5-33-544 and R1.dom/S-1-5-33-544 are legal.
- Type
Filter string - Can be exactly one of: BUILTIN, DOMAIN LOCAL, GLOBAL, UNIVERSAL.
- Domain string
- The domain whose groups we want to fetch
- Join
Point stringId - Active Directory Join Point ID
- Filter string
- Exact match filter on group's CN
- Sid
Filter string - Exact match filter on group's SID, optionally specifying the domain as prefix. e.g. S-1-5-33-544 and R1.dom/S-1-5-33-544 are legal.
- Type
Filter string - Can be exactly one of: BUILTIN, DOMAIN LOCAL, GLOBAL, UNIVERSAL.
- domain String
- The domain whose groups we want to fetch
- join
Point StringId - Active Directory Join Point ID
- filter String
- Exact match filter on group's CN
- sid
Filter String - Exact match filter on group's SID, optionally specifying the domain as prefix. e.g. S-1-5-33-544 and R1.dom/S-1-5-33-544 are legal.
- type
Filter String - Can be exactly one of: BUILTIN, DOMAIN LOCAL, GLOBAL, UNIVERSAL.
- domain string
- The domain whose groups we want to fetch
- join
Point stringId - Active Directory Join Point ID
- filter string
- Exact match filter on group's CN
- sid
Filter string - Exact match filter on group's SID, optionally specifying the domain as prefix. e.g. S-1-5-33-544 and R1.dom/S-1-5-33-544 are legal.
- type
Filter string - Can be exactly one of: BUILTIN, DOMAIN LOCAL, GLOBAL, UNIVERSAL.
- domain str
- The domain whose groups we want to fetch
- join_
point_ strid - Active Directory Join Point ID
- filter str
- Exact match filter on group's CN
- sid_
filter str - Exact match filter on group's SID, optionally specifying the domain as prefix. e.g. S-1-5-33-544 and R1.dom/S-1-5-33-544 are legal.
- type_
filter str - Can be exactly one of: BUILTIN, DOMAIN LOCAL, GLOBAL, UNIVERSAL.
- domain String
- The domain whose groups we want to fetch
- join
Point StringId - Active Directory Join Point ID
- filter String
- Exact match filter on group's CN
- sid
Filter String - Exact match filter on group's SID, optionally specifying the domain as prefix. e.g. S-1-5-33-544 and R1.dom/S-1-5-33-544 are legal.
- type
Filter String - Can be exactly one of: BUILTIN, DOMAIN LOCAL, GLOBAL, UNIVERSAL.
getActiveDirectoryGroupsByDomain Result
The following output properties are available:
- Domain string
- The domain whose groups we want to fetch
- Groups
List<Get
Active Directory Groups By Domain Group> - List of groups
- Id string
- The provider-assigned unique ID for this managed resource.
- Join
Point stringId - Active Directory Join Point ID
- Filter string
- Exact match filter on group's CN
- Sid
Filter string - Exact match filter on group's SID, optionally specifying the domain as prefix. e.g. S-1-5-33-544 and R1.dom/S-1-5-33-544 are legal.
- Type
Filter string - Can be exactly one of: BUILTIN, DOMAIN LOCAL, GLOBAL, UNIVERSAL.
- Domain string
- The domain whose groups we want to fetch
- Groups
[]Get
Active Directory Groups By Domain Group - List of groups
- Id string
- The provider-assigned unique ID for this managed resource.
- Join
Point stringId - Active Directory Join Point ID
- Filter string
- Exact match filter on group's CN
- Sid
Filter string - Exact match filter on group's SID, optionally specifying the domain as prefix. e.g. S-1-5-33-544 and R1.dom/S-1-5-33-544 are legal.
- Type
Filter string - Can be exactly one of: BUILTIN, DOMAIN LOCAL, GLOBAL, UNIVERSAL.
- domain String
- The domain whose groups we want to fetch
- groups
List<Get
Active Directory Groups By Domain Group> - List of groups
- id String
- The provider-assigned unique ID for this managed resource.
- join
Point StringId - Active Directory Join Point ID
- filter String
- Exact match filter on group's CN
- sid
Filter String - Exact match filter on group's SID, optionally specifying the domain as prefix. e.g. S-1-5-33-544 and R1.dom/S-1-5-33-544 are legal.
- type
Filter String - Can be exactly one of: BUILTIN, DOMAIN LOCAL, GLOBAL, UNIVERSAL.
- domain string
- The domain whose groups we want to fetch
- groups
Get
Active Directory Groups By Domain Group[] - List of groups
- id string
- The provider-assigned unique ID for this managed resource.
- join
Point stringId - Active Directory Join Point ID
- filter string
- Exact match filter on group's CN
- sid
Filter string - Exact match filter on group's SID, optionally specifying the domain as prefix. e.g. S-1-5-33-544 and R1.dom/S-1-5-33-544 are legal.
- type
Filter string - Can be exactly one of: BUILTIN, DOMAIN LOCAL, GLOBAL, UNIVERSAL.
- domain str
- The domain whose groups we want to fetch
- groups
Sequence[Get
Active Directory Groups By Domain Group] - List of groups
- id str
- The provider-assigned unique ID for this managed resource.
- join_
point_ strid - Active Directory Join Point ID
- filter str
- Exact match filter on group's CN
- sid_
filter str - Exact match filter on group's SID, optionally specifying the domain as prefix. e.g. S-1-5-33-544 and R1.dom/S-1-5-33-544 are legal.
- type_
filter str - Can be exactly one of: BUILTIN, DOMAIN LOCAL, GLOBAL, UNIVERSAL.
- domain String
- The domain whose groups we want to fetch
- groups List<Property Map>
- List of groups
- id String
- The provider-assigned unique ID for this managed resource.
- join
Point StringId - Active Directory Join Point ID
- filter String
- Exact match filter on group's CN
- sid
Filter String - Exact match filter on group's SID, optionally specifying the domain as prefix. e.g. S-1-5-33-544 and R1.dom/S-1-5-33-544 are legal.
- type
Filter String - Can be exactly one of: BUILTIN, DOMAIN LOCAL, GLOBAL, UNIVERSAL.
Supporting Types
GetActiveDirectoryGroupsByDomainGroup
Package Details
- Repository
- ise pulumi/pulumi-ise
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ise
Terraform Provider.