1. Packages
  2. Azuredevops Provider
  3. API Docs
  4. Group
Azure DevOps v3.4.0 published on Wednesday, Oct 30, 2024 by Pulumi

azuredevops.Group

Explore with Pulumi AI

azuredevops logo
Azure DevOps v3.4.0 published on Wednesday, Oct 30, 2024 by Pulumi

    Manages a group within Azure DevOps.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azuredevops from "@pulumi/azuredevops";
    
    const example = new azuredevops.Project("example", {name: "Example Project"});
    const example-readers = azuredevops.getGroupOutput({
        projectId: example.id,
        name: "Readers",
    });
    const example-contributors = azuredevops.getGroupOutput({
        projectId: example.id,
        name: "Contributors",
    });
    const exampleGroup = new azuredevops.Group("example", {
        scope: example.id,
        displayName: "Example group",
        description: "Example description",
        members: [
            example_readers.apply(example_readers => example_readers.descriptor),
            example_contributors.apply(example_contributors => example_contributors.descriptor),
        ],
    });
    
    import pulumi
    import pulumi_azuredevops as azuredevops
    
    example = azuredevops.Project("example", name="Example Project")
    example_readers = azuredevops.get_group_output(project_id=example.id,
        name="Readers")
    example_contributors = azuredevops.get_group_output(project_id=example.id,
        name="Contributors")
    example_group = azuredevops.Group("example",
        scope=example.id,
        display_name="Example group",
        description="Example description",
        members=[
            example_readers.descriptor,
            example_contributors.descriptor,
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azuredevops/sdk/v3/go/azuredevops"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := azuredevops.NewProject(ctx, "example", &azuredevops.ProjectArgs{
    			Name: pulumi.String("Example Project"),
    		})
    		if err != nil {
    			return err
    		}
    		example_readers := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
    			ProjectId: example.ID(),
    			Name:      pulumi.String("Readers"),
    		}, nil)
    		example_contributors := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
    			ProjectId: example.ID(),
    			Name:      pulumi.String("Contributors"),
    		}, nil)
    		_, err = azuredevops.NewGroup(ctx, "example", &azuredevops.GroupArgs{
    			Scope:       example.ID(),
    			DisplayName: pulumi.String("Example group"),
    			Description: pulumi.String("Example description"),
    			Members: pulumi.StringArray{
    				pulumi.String(example_readers.ApplyT(func(example_readers azuredevops.GetGroupResult) (*string, error) {
    					return &example_readers.Descriptor, nil
    				}).(pulumi.StringPtrOutput)),
    				pulumi.String(example_contributors.ApplyT(func(example_contributors azuredevops.GetGroupResult) (*string, error) {
    					return &example_contributors.Descriptor, nil
    				}).(pulumi.StringPtrOutput)),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureDevOps = Pulumi.AzureDevOps;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new AzureDevOps.Project("example", new()
        {
            Name = "Example Project",
        });
    
        var example_readers = AzureDevOps.GetGroup.Invoke(new()
        {
            ProjectId = example.Id,
            Name = "Readers",
        });
    
        var example_contributors = AzureDevOps.GetGroup.Invoke(new()
        {
            ProjectId = example.Id,
            Name = "Contributors",
        });
    
        var exampleGroup = new AzureDevOps.Group("example", new()
        {
            Scope = example.Id,
            DisplayName = "Example group",
            Description = "Example description",
            Members = new[]
            {
                example_readers.Apply(example_readers => example_readers.Apply(getGroupResult => getGroupResult.Descriptor)),
                example_contributors.Apply(example_contributors => example_contributors.Apply(getGroupResult => getGroupResult.Descriptor)),
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azuredevops.Project;
    import com.pulumi.azuredevops.ProjectArgs;
    import com.pulumi.azuredevops.AzuredevopsFunctions;
    import com.pulumi.azuredevops.inputs.GetGroupArgs;
    import com.pulumi.azuredevops.Group;
    import com.pulumi.azuredevops.GroupArgs;
    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 Project("example", ProjectArgs.builder()
                .name("Example Project")
                .build());
    
            final var example-readers = AzuredevopsFunctions.getGroup(GetGroupArgs.builder()
                .projectId(example.id())
                .name("Readers")
                .build());
    
            final var example-contributors = AzuredevopsFunctions.getGroup(GetGroupArgs.builder()
                .projectId(example.id())
                .name("Contributors")
                .build());
    
            var exampleGroup = new Group("exampleGroup", GroupArgs.builder()
                .scope(example.id())
                .displayName("Example group")
                .description("Example description")
                .members(            
                    example_readers.applyValue(example_readers -> example_readers.descriptor()),
                    example_contributors.applyValue(example_contributors -> example_contributors.descriptor()))
                .build());
    
        }
    }
    
    resources:
      example:
        type: azuredevops:Project
        properties:
          name: Example Project
      exampleGroup:
        type: azuredevops:Group
        name: example
        properties:
          scope: ${example.id}
          displayName: Example group
          description: Example description
          members:
            - ${["example-readers"].descriptor}
            - ${["example-contributors"].descriptor}
    variables:
      example-readers:
        fn::invoke:
          Function: azuredevops:getGroup
          Arguments:
            projectId: ${example.id}
            name: Readers
      example-contributors:
        fn::invoke:
          Function: azuredevops:getGroup
          Arguments:
            projectId: ${example.id}
            name: Contributors
    

    PAT Permissions Required

    • Project & Team: Read, Write, & Manage

    Create Group Resource

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

    Constructor syntax

    new Group(name: string, args?: GroupArgs, opts?: CustomResourceOptions);
    @overload
    def Group(resource_name: str,
              args: Optional[GroupArgs] = None,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Group(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              description: Optional[str] = None,
              display_name: Optional[str] = None,
              mail: Optional[str] = None,
              members: Optional[Sequence[str]] = None,
              origin_id: Optional[str] = None,
              scope: Optional[str] = None)
    func NewGroup(ctx *Context, name string, args *GroupArgs, opts ...ResourceOption) (*Group, error)
    public Group(string name, GroupArgs? args = null, CustomResourceOptions? opts = null)
    public Group(String name, GroupArgs args)
    public Group(String name, GroupArgs args, CustomResourceOptions options)
    
    type: azuredevops:Group
    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 GroupArgs
    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 GroupArgs
    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 GroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GroupArgs
    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 groupResource = new AzureDevOps.Group("groupResource", new()
    {
        Description = "string",
        DisplayName = "string",
        Mail = "string",
        Members = new[]
        {
            "string",
        },
        OriginId = "string",
        Scope = "string",
    });
    
    example, err := azuredevops.NewGroup(ctx, "groupResource", &azuredevops.GroupArgs{
    	Description: pulumi.String("string"),
    	DisplayName: pulumi.String("string"),
    	Mail:        pulumi.String("string"),
    	Members: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	OriginId: pulumi.String("string"),
    	Scope:    pulumi.String("string"),
    })
    
    var groupResource = new Group("groupResource", GroupArgs.builder()
        .description("string")
        .displayName("string")
        .mail("string")
        .members("string")
        .originId("string")
        .scope("string")
        .build());
    
    group_resource = azuredevops.Group("groupResource",
        description="string",
        display_name="string",
        mail="string",
        members=["string"],
        origin_id="string",
        scope="string")
    
    const groupResource = new azuredevops.Group("groupResource", {
        description: "string",
        displayName: "string",
        mail: "string",
        members: ["string"],
        originId: "string",
        scope: "string",
    });
    
    type: azuredevops:Group
    properties:
        description: string
        displayName: string
        mail: string
        members:
            - string
        originId: string
        scope: string
    

    Group 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 Group resource accepts the following input properties:

    Description string
    The Description of the Project.
    DisplayName string
    The name of a new Azure DevOps group that is not backed by an external provider. The origin_id and mail arguments cannot be used simultaneously with display_name.
    Mail string
    The mail address as a reference to an existing group from an external AD or AAD backed provider. The scope, origin_id and display_name arguments cannot be used simultaneously with mail.
    Members List<string>

    NOTE: It's possible to define group members both within the azuredevops.Group resource via the members block and by using the azuredevops.GroupMembership resource. However it's not possible to use both methods to manage group members, since there'll be conflicts.

    OriginId string
    The OriginID as a reference to a group from an external AD or AAD backed provider. The scope, mail and display_name arguments cannot be used simultaneously with origin_id.
    Scope string
    The scope of the group. A descriptor referencing the scope (collection, project) in which the group should be created. If omitted, will be created in the scope of the enclosing account or organization.x
    Description string
    The Description of the Project.
    DisplayName string
    The name of a new Azure DevOps group that is not backed by an external provider. The origin_id and mail arguments cannot be used simultaneously with display_name.
    Mail string
    The mail address as a reference to an existing group from an external AD or AAD backed provider. The scope, origin_id and display_name arguments cannot be used simultaneously with mail.
    Members []string

    NOTE: It's possible to define group members both within the azuredevops.Group resource via the members block and by using the azuredevops.GroupMembership resource. However it's not possible to use both methods to manage group members, since there'll be conflicts.

    OriginId string
    The OriginID as a reference to a group from an external AD or AAD backed provider. The scope, mail and display_name arguments cannot be used simultaneously with origin_id.
    Scope string
    The scope of the group. A descriptor referencing the scope (collection, project) in which the group should be created. If omitted, will be created in the scope of the enclosing account or organization.x
    description String
    The Description of the Project.
    displayName String
    The name of a new Azure DevOps group that is not backed by an external provider. The origin_id and mail arguments cannot be used simultaneously with display_name.
    mail String
    The mail address as a reference to an existing group from an external AD or AAD backed provider. The scope, origin_id and display_name arguments cannot be used simultaneously with mail.
    members List<String>

    NOTE: It's possible to define group members both within the azuredevops.Group resource via the members block and by using the azuredevops.GroupMembership resource. However it's not possible to use both methods to manage group members, since there'll be conflicts.

    originId String
    The OriginID as a reference to a group from an external AD or AAD backed provider. The scope, mail and display_name arguments cannot be used simultaneously with origin_id.
    scope String
    The scope of the group. A descriptor referencing the scope (collection, project) in which the group should be created. If omitted, will be created in the scope of the enclosing account or organization.x
    description string
    The Description of the Project.
    displayName string
    The name of a new Azure DevOps group that is not backed by an external provider. The origin_id and mail arguments cannot be used simultaneously with display_name.
    mail string
    The mail address as a reference to an existing group from an external AD or AAD backed provider. The scope, origin_id and display_name arguments cannot be used simultaneously with mail.
    members string[]

    NOTE: It's possible to define group members both within the azuredevops.Group resource via the members block and by using the azuredevops.GroupMembership resource. However it's not possible to use both methods to manage group members, since there'll be conflicts.

    originId string
    The OriginID as a reference to a group from an external AD or AAD backed provider. The scope, mail and display_name arguments cannot be used simultaneously with origin_id.
    scope string
    The scope of the group. A descriptor referencing the scope (collection, project) in which the group should be created. If omitted, will be created in the scope of the enclosing account or organization.x
    description str
    The Description of the Project.
    display_name str
    The name of a new Azure DevOps group that is not backed by an external provider. The origin_id and mail arguments cannot be used simultaneously with display_name.
    mail str
    The mail address as a reference to an existing group from an external AD or AAD backed provider. The scope, origin_id and display_name arguments cannot be used simultaneously with mail.
    members Sequence[str]

    NOTE: It's possible to define group members both within the azuredevops.Group resource via the members block and by using the azuredevops.GroupMembership resource. However it's not possible to use both methods to manage group members, since there'll be conflicts.

    origin_id str
    The OriginID as a reference to a group from an external AD or AAD backed provider. The scope, mail and display_name arguments cannot be used simultaneously with origin_id.
    scope str
    The scope of the group. A descriptor referencing the scope (collection, project) in which the group should be created. If omitted, will be created in the scope of the enclosing account or organization.x
    description String
    The Description of the Project.
    displayName String
    The name of a new Azure DevOps group that is not backed by an external provider. The origin_id and mail arguments cannot be used simultaneously with display_name.
    mail String
    The mail address as a reference to an existing group from an external AD or AAD backed provider. The scope, origin_id and display_name arguments cannot be used simultaneously with mail.
    members List<String>

    NOTE: It's possible to define group members both within the azuredevops.Group resource via the members block and by using the azuredevops.GroupMembership resource. However it's not possible to use both methods to manage group members, since there'll be conflicts.

    originId String
    The OriginID as a reference to a group from an external AD or AAD backed provider. The scope, mail and display_name arguments cannot be used simultaneously with origin_id.
    scope String
    The scope of the group. A descriptor referencing the scope (collection, project) in which the group should be created. If omitted, will be created in the scope of the enclosing account or organization.x

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Group resource produces the following output properties:

    Descriptor string
    The identity (subject) descriptor of the Group.
    Domain string
    This represents the name of the container of origin for a graph member.
    GroupId string
    The ID of the Group.
    Id string
    The provider-assigned unique ID for this managed resource.
    Origin string
    The type of source provider for the origin identifier (ex:AD, AAD, MSA)
    PrincipalName string
    This is the PrincipalName of this graph member from the source provider.
    SubjectKind string
    This field identifies the type of the graph subject (ex: Group, Scope, User).
    Url string
    This url is the full route to the source resource of this graph subject.
    Descriptor string
    The identity (subject) descriptor of the Group.
    Domain string
    This represents the name of the container of origin for a graph member.
    GroupId string
    The ID of the Group.
    Id string
    The provider-assigned unique ID for this managed resource.
    Origin string
    The type of source provider for the origin identifier (ex:AD, AAD, MSA)
    PrincipalName string
    This is the PrincipalName of this graph member from the source provider.
    SubjectKind string
    This field identifies the type of the graph subject (ex: Group, Scope, User).
    Url string
    This url is the full route to the source resource of this graph subject.
    descriptor String
    The identity (subject) descriptor of the Group.
    domain String
    This represents the name of the container of origin for a graph member.
    groupId String
    The ID of the Group.
    id String
    The provider-assigned unique ID for this managed resource.
    origin String
    The type of source provider for the origin identifier (ex:AD, AAD, MSA)
    principalName String
    This is the PrincipalName of this graph member from the source provider.
    subjectKind String
    This field identifies the type of the graph subject (ex: Group, Scope, User).
    url String
    This url is the full route to the source resource of this graph subject.
    descriptor string
    The identity (subject) descriptor of the Group.
    domain string
    This represents the name of the container of origin for a graph member.
    groupId string
    The ID of the Group.
    id string
    The provider-assigned unique ID for this managed resource.
    origin string
    The type of source provider for the origin identifier (ex:AD, AAD, MSA)
    principalName string
    This is the PrincipalName of this graph member from the source provider.
    subjectKind string
    This field identifies the type of the graph subject (ex: Group, Scope, User).
    url string
    This url is the full route to the source resource of this graph subject.
    descriptor str
    The identity (subject) descriptor of the Group.
    domain str
    This represents the name of the container of origin for a graph member.
    group_id str
    The ID of the Group.
    id str
    The provider-assigned unique ID for this managed resource.
    origin str
    The type of source provider for the origin identifier (ex:AD, AAD, MSA)
    principal_name str
    This is the PrincipalName of this graph member from the source provider.
    subject_kind str
    This field identifies the type of the graph subject (ex: Group, Scope, User).
    url str
    This url is the full route to the source resource of this graph subject.
    descriptor String
    The identity (subject) descriptor of the Group.
    domain String
    This represents the name of the container of origin for a graph member.
    groupId String
    The ID of the Group.
    id String
    The provider-assigned unique ID for this managed resource.
    origin String
    The type of source provider for the origin identifier (ex:AD, AAD, MSA)
    principalName String
    This is the PrincipalName of this graph member from the source provider.
    subjectKind String
    This field identifies the type of the graph subject (ex: Group, Scope, User).
    url String
    This url is the full route to the source resource of this graph subject.

    Look up Existing Group Resource

    Get an existing Group 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?: GroupState, opts?: CustomResourceOptions): Group
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            descriptor: Optional[str] = None,
            display_name: Optional[str] = None,
            domain: Optional[str] = None,
            group_id: Optional[str] = None,
            mail: Optional[str] = None,
            members: Optional[Sequence[str]] = None,
            origin: Optional[str] = None,
            origin_id: Optional[str] = None,
            principal_name: Optional[str] = None,
            scope: Optional[str] = None,
            subject_kind: Optional[str] = None,
            url: Optional[str] = None) -> Group
    func GetGroup(ctx *Context, name string, id IDInput, state *GroupState, opts ...ResourceOption) (*Group, error)
    public static Group Get(string name, Input<string> id, GroupState? state, CustomResourceOptions? opts = null)
    public static Group get(String name, Output<String> id, GroupState 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.
    The following state arguments are supported:
    Description string
    The Description of the Project.
    Descriptor string
    The identity (subject) descriptor of the Group.
    DisplayName string
    The name of a new Azure DevOps group that is not backed by an external provider. The origin_id and mail arguments cannot be used simultaneously with display_name.
    Domain string
    This represents the name of the container of origin for a graph member.
    GroupId string
    The ID of the Group.
    Mail string
    The mail address as a reference to an existing group from an external AD or AAD backed provider. The scope, origin_id and display_name arguments cannot be used simultaneously with mail.
    Members List<string>

    NOTE: It's possible to define group members both within the azuredevops.Group resource via the members block and by using the azuredevops.GroupMembership resource. However it's not possible to use both methods to manage group members, since there'll be conflicts.

    Origin string
    The type of source provider for the origin identifier (ex:AD, AAD, MSA)
    OriginId string
    The OriginID as a reference to a group from an external AD or AAD backed provider. The scope, mail and display_name arguments cannot be used simultaneously with origin_id.
    PrincipalName string
    This is the PrincipalName of this graph member from the source provider.
    Scope string
    The scope of the group. A descriptor referencing the scope (collection, project) in which the group should be created. If omitted, will be created in the scope of the enclosing account or organization.x
    SubjectKind string
    This field identifies the type of the graph subject (ex: Group, Scope, User).
    Url string
    This url is the full route to the source resource of this graph subject.
    Description string
    The Description of the Project.
    Descriptor string
    The identity (subject) descriptor of the Group.
    DisplayName string
    The name of a new Azure DevOps group that is not backed by an external provider. The origin_id and mail arguments cannot be used simultaneously with display_name.
    Domain string
    This represents the name of the container of origin for a graph member.
    GroupId string
    The ID of the Group.
    Mail string
    The mail address as a reference to an existing group from an external AD or AAD backed provider. The scope, origin_id and display_name arguments cannot be used simultaneously with mail.
    Members []string

    NOTE: It's possible to define group members both within the azuredevops.Group resource via the members block and by using the azuredevops.GroupMembership resource. However it's not possible to use both methods to manage group members, since there'll be conflicts.

    Origin string
    The type of source provider for the origin identifier (ex:AD, AAD, MSA)
    OriginId string
    The OriginID as a reference to a group from an external AD or AAD backed provider. The scope, mail and display_name arguments cannot be used simultaneously with origin_id.
    PrincipalName string
    This is the PrincipalName of this graph member from the source provider.
    Scope string
    The scope of the group. A descriptor referencing the scope (collection, project) in which the group should be created. If omitted, will be created in the scope of the enclosing account or organization.x
    SubjectKind string
    This field identifies the type of the graph subject (ex: Group, Scope, User).
    Url string
    This url is the full route to the source resource of this graph subject.
    description String
    The Description of the Project.
    descriptor String
    The identity (subject) descriptor of the Group.
    displayName String
    The name of a new Azure DevOps group that is not backed by an external provider. The origin_id and mail arguments cannot be used simultaneously with display_name.
    domain String
    This represents the name of the container of origin for a graph member.
    groupId String
    The ID of the Group.
    mail String
    The mail address as a reference to an existing group from an external AD or AAD backed provider. The scope, origin_id and display_name arguments cannot be used simultaneously with mail.
    members List<String>

    NOTE: It's possible to define group members both within the azuredevops.Group resource via the members block and by using the azuredevops.GroupMembership resource. However it's not possible to use both methods to manage group members, since there'll be conflicts.

    origin String
    The type of source provider for the origin identifier (ex:AD, AAD, MSA)
    originId String
    The OriginID as a reference to a group from an external AD or AAD backed provider. The scope, mail and display_name arguments cannot be used simultaneously with origin_id.
    principalName String
    This is the PrincipalName of this graph member from the source provider.
    scope String
    The scope of the group. A descriptor referencing the scope (collection, project) in which the group should be created. If omitted, will be created in the scope of the enclosing account or organization.x
    subjectKind String
    This field identifies the type of the graph subject (ex: Group, Scope, User).
    url String
    This url is the full route to the source resource of this graph subject.
    description string
    The Description of the Project.
    descriptor string
    The identity (subject) descriptor of the Group.
    displayName string
    The name of a new Azure DevOps group that is not backed by an external provider. The origin_id and mail arguments cannot be used simultaneously with display_name.
    domain string
    This represents the name of the container of origin for a graph member.
    groupId string
    The ID of the Group.
    mail string
    The mail address as a reference to an existing group from an external AD or AAD backed provider. The scope, origin_id and display_name arguments cannot be used simultaneously with mail.
    members string[]

    NOTE: It's possible to define group members both within the azuredevops.Group resource via the members block and by using the azuredevops.GroupMembership resource. However it's not possible to use both methods to manage group members, since there'll be conflicts.

    origin string
    The type of source provider for the origin identifier (ex:AD, AAD, MSA)
    originId string
    The OriginID as a reference to a group from an external AD or AAD backed provider. The scope, mail and display_name arguments cannot be used simultaneously with origin_id.
    principalName string
    This is the PrincipalName of this graph member from the source provider.
    scope string
    The scope of the group. A descriptor referencing the scope (collection, project) in which the group should be created. If omitted, will be created in the scope of the enclosing account or organization.x
    subjectKind string
    This field identifies the type of the graph subject (ex: Group, Scope, User).
    url string
    This url is the full route to the source resource of this graph subject.
    description str
    The Description of the Project.
    descriptor str
    The identity (subject) descriptor of the Group.
    display_name str
    The name of a new Azure DevOps group that is not backed by an external provider. The origin_id and mail arguments cannot be used simultaneously with display_name.
    domain str
    This represents the name of the container of origin for a graph member.
    group_id str
    The ID of the Group.
    mail str
    The mail address as a reference to an existing group from an external AD or AAD backed provider. The scope, origin_id and display_name arguments cannot be used simultaneously with mail.
    members Sequence[str]

    NOTE: It's possible to define group members both within the azuredevops.Group resource via the members block and by using the azuredevops.GroupMembership resource. However it's not possible to use both methods to manage group members, since there'll be conflicts.

    origin str
    The type of source provider for the origin identifier (ex:AD, AAD, MSA)
    origin_id str
    The OriginID as a reference to a group from an external AD or AAD backed provider. The scope, mail and display_name arguments cannot be used simultaneously with origin_id.
    principal_name str
    This is the PrincipalName of this graph member from the source provider.
    scope str
    The scope of the group. A descriptor referencing the scope (collection, project) in which the group should be created. If omitted, will be created in the scope of the enclosing account or organization.x
    subject_kind str
    This field identifies the type of the graph subject (ex: Group, Scope, User).
    url str
    This url is the full route to the source resource of this graph subject.
    description String
    The Description of the Project.
    descriptor String
    The identity (subject) descriptor of the Group.
    displayName String
    The name of a new Azure DevOps group that is not backed by an external provider. The origin_id and mail arguments cannot be used simultaneously with display_name.
    domain String
    This represents the name of the container of origin for a graph member.
    groupId String
    The ID of the Group.
    mail String
    The mail address as a reference to an existing group from an external AD or AAD backed provider. The scope, origin_id and display_name arguments cannot be used simultaneously with mail.
    members List<String>

    NOTE: It's possible to define group members both within the azuredevops.Group resource via the members block and by using the azuredevops.GroupMembership resource. However it's not possible to use both methods to manage group members, since there'll be conflicts.

    origin String
    The type of source provider for the origin identifier (ex:AD, AAD, MSA)
    originId String
    The OriginID as a reference to a group from an external AD or AAD backed provider. The scope, mail and display_name arguments cannot be used simultaneously with origin_id.
    principalName String
    This is the PrincipalName of this graph member from the source provider.
    scope String
    The scope of the group. A descriptor referencing the scope (collection, project) in which the group should be created. If omitted, will be created in the scope of the enclosing account or organization.x
    subjectKind String
    This field identifies the type of the graph subject (ex: Group, Scope, User).
    url String
    This url is the full route to the source resource of this graph subject.

    Import

    Azure DevOps groups can be imported using the group identity descriptor, e.g.

    $ pulumi import azuredevops:index/group:Group example aadgp.Uy0xLTktMTU1MTM3NDI0NS0xMjA0NDAwOTY5LTI0MDI5ODY0MTMtMjE3OTQwODYxNi0zLTIxNjc2NjQyNTMtMzI1Nzg0NDI4OS0yMjU4MjcwOTc0LTI2MDYxODY2NDU
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure DevOps pulumi/pulumi-azuredevops
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azuredevops Terraform Provider.
    azuredevops logo
    Azure DevOps v3.4.0 published on Wednesday, Oct 30, 2024 by Pulumi