Azure DevOps v2.7.0, Mar 27 23
Azure DevOps v2.7.0, Mar 27 23
azuredevops.Group
Explore with Pulumi AI
Manages a group within Azure DevOps.
Relevant Links
PAT Permissions Required
- Project & Team: Read, Write, & Manage
Example Usage
using System.Collections.Generic;
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
return await Deployment.RunAsync(() =>
{
var exampleProject = new AzureDevOps.Project("exampleProject");
var example_readers = AzureDevOps.GetGroup.Invoke(new()
{
ProjectId = exampleProject.Id,
Name = "Readers",
});
var example_contributors = AzureDevOps.GetGroup.Invoke(new()
{
ProjectId = exampleProject.Id,
Name = "Contributors",
});
var exampleGroup = new AzureDevOps.Group("exampleGroup", new()
{
Scope = exampleProject.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 main
import (
"github.com/pulumi/pulumi-azuredevops/sdk/v2/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", nil)
if err != nil {
return err
}
example_readers := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
ProjectId: exampleProject.ID(),
Name: pulumi.String("Readers"),
}, nil)
example_contributors := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
ProjectId: exampleProject.ID(),
Name: pulumi.String("Contributors"),
}, nil)
_, err = azuredevops.NewGroup(ctx, "exampleGroup", &azuredevops.GroupArgs{
Scope: exampleProject.ID(),
DisplayName: pulumi.String("Example group"),
Description: pulumi.String("Example description"),
Members: pulumi.StringArray{
example_readers.ApplyT(func(example_readers azuredevops.GetGroupResult) (*string, error) {
return &example_readers.Descriptor, nil
}).(pulumi.StringPtrOutput),
example_contributors.ApplyT(func(example_contributors azuredevops.GetGroupResult) (*string, error) {
return &example_contributors.Descriptor, nil
}).(pulumi.StringPtrOutput),
},
})
if err != nil {
return err
}
return nil
})
}
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.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 exampleProject = new Project("exampleProject");
final var example-readers = AzuredevopsFunctions.getGroup(GetGroupArgs.builder()
.projectId(exampleProject.id())
.name("Readers")
.build());
final var example-contributors = AzuredevopsFunctions.getGroup(GetGroupArgs.builder()
.projectId(exampleProject.id())
.name("Contributors")
.build());
var exampleGroup = new Group("exampleGroup", GroupArgs.builder()
.scope(exampleProject.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());
}
}
import pulumi
import pulumi_azuredevops as azuredevops
example_project = azuredevops.Project("exampleProject")
example_readers = azuredevops.get_group_output(project_id=example_project.id,
name="Readers")
example_contributors = azuredevops.get_group_output(project_id=example_project.id,
name="Contributors")
example_group = azuredevops.Group("exampleGroup",
scope=example_project.id,
display_name="Example group",
description="Example description",
members=[
example_readers.descriptor,
example_contributors.descriptor,
])
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const exampleProject = new azuredevops.Project("exampleProject", {});
const example-readers = azuredevops.getGroupOutput({
projectId: exampleProject.id,
name: "Readers",
});
const example-contributors = azuredevops.getGroupOutput({
projectId: exampleProject.id,
name: "Contributors",
});
const exampleGroup = new azuredevops.Group("exampleGroup", {
scope: exampleProject.id,
displayName: "Example group",
description: "Example description",
members: [
example_readers.apply(example_readers => example_readers.descriptor),
example_contributors.apply(example_contributors => example_contributors.descriptor),
],
});
resources:
exampleProject:
type: azuredevops:Project
exampleGroup:
type: azuredevops:Group
properties:
scope: ${exampleProject.id}
displayName: Example group
description: Example description
members:
- ${["example-readers"].descriptor}
- ${["example-contributors"].descriptor}
variables:
example-readers:
fn::invoke:
Function: azuredevops:getGroup
Arguments:
projectId: ${exampleProject.id}
name: Readers
example-contributors:
fn::invoke:
Function: azuredevops:getGroup
Arguments:
projectId: ${exampleProject.id}
name: Contributors
Create Group Resource
new Group(name: string, args?: GroupArgs, opts?: CustomResourceOptions);
@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)
@overload
def Group(resource_name: str,
args: Optional[GroupArgs] = None,
opts: Optional[ResourceOptions] = None)
func NewGroup(ctx *Context, name string, args *GroupArgs, opts ...ResourceOption) (*Group, error)
public Group(string name, GroupArgs? args = null, CustomResourceOptions? opts = null)
type: azuredevops:Group
properties: # The arguments to resource properties.
options: # 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.
- 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.
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
The Group resource accepts the following input properties:
- Description string
The Description of the Project.
- Display
Name string The name of a new Azure DevOps group that is not backed by an external provider. The
origin_id
andmail
arguments cannot be used simultaneously withdisplay_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
anddisplay_name
arguments cannot be used simultaneously withmail
.- Members List<string>
NOTE: It's possible to define group members both within the
azuredevops.Group
resource via the members block and by using theazuredevops.GroupMembership
resource. However it's not possible to use both methods to manage group members, since there'll be conflicts.- Origin
Id string The OriginID as a reference to a group from an external AD or AAD backed provider. The
scope
,mail
anddisplay_name
arguments cannot be used simultaneously withorigin_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.
- Display
Name string The name of a new Azure DevOps group that is not backed by an external provider. The
origin_id
andmail
arguments cannot be used simultaneously withdisplay_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
anddisplay_name
arguments cannot be used simultaneously withmail
.- Members []string
NOTE: It's possible to define group members both within the
azuredevops.Group
resource via the members block and by using theazuredevops.GroupMembership
resource. However it's not possible to use both methods to manage group members, since there'll be conflicts.- Origin
Id string The OriginID as a reference to a group from an external AD or AAD backed provider. The
scope
,mail
anddisplay_name
arguments cannot be used simultaneously withorigin_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.
- display
Name String The name of a new Azure DevOps group that is not backed by an external provider. The
origin_id
andmail
arguments cannot be used simultaneously withdisplay_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
anddisplay_name
arguments cannot be used simultaneously withmail
.- members List<String>
NOTE: It's possible to define group members both within the
azuredevops.Group
resource via the members block and by using theazuredevops.GroupMembership
resource. However it's not possible to use both methods to manage group members, since there'll be conflicts.- origin
Id String The OriginID as a reference to a group from an external AD or AAD backed provider. The
scope
,mail
anddisplay_name
arguments cannot be used simultaneously withorigin_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.
- display
Name string The name of a new Azure DevOps group that is not backed by an external provider. The
origin_id
andmail
arguments cannot be used simultaneously withdisplay_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
anddisplay_name
arguments cannot be used simultaneously withmail
.- members string[]
NOTE: It's possible to define group members both within the
azuredevops.Group
resource via the members block and by using theazuredevops.GroupMembership
resource. However it's not possible to use both methods to manage group members, since there'll be conflicts.- origin
Id string The OriginID as a reference to a group from an external AD or AAD backed provider. The
scope
,mail
anddisplay_name
arguments cannot be used simultaneously withorigin_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
andmail
arguments cannot be used simultaneously withdisplay_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
anddisplay_name
arguments cannot be used simultaneously withmail
.- members Sequence[str]
NOTE: It's possible to define group members both within the
azuredevops.Group
resource via the members block and by using theazuredevops.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
anddisplay_name
arguments cannot be used simultaneously withorigin_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.
- display
Name String The name of a new Azure DevOps group that is not backed by an external provider. The
origin_id
andmail
arguments cannot be used simultaneously withdisplay_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
anddisplay_name
arguments cannot be used simultaneously withmail
.- members List<String>
NOTE: It's possible to define group members both within the
azuredevops.Group
resource via the members block and by using theazuredevops.GroupMembership
resource. However it's not possible to use both methods to manage group members, since there'll be conflicts.- origin
Id String The OriginID as a reference to a group from an external AD or AAD backed provider. The
scope
,mail
anddisplay_name
arguments cannot be used simultaneously withorigin_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.
- 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)
- Principal
Name string This is the PrincipalName of this graph member from the source provider.
- Subject
Kind 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.
- 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)
- Principal
Name string This is the PrincipalName of this graph member from the source provider.
- Subject
Kind 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.
- 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)
- principal
Name String This is the PrincipalName of this graph member from the source provider.
- subject
Kind 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.
- 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)
- principal
Name string This is the PrincipalName of this graph member from the source provider.
- subject
Kind 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.
- 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.
- 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)
- principal
Name String This is the PrincipalName of this graph member from the source provider.
- subject
Kind 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,
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.
- Description string
The Description of the Project.
- Descriptor string
The identity (subject) descriptor of the Group.
- Display
Name string The name of a new Azure DevOps group that is not backed by an external provider. The
origin_id
andmail
arguments cannot be used simultaneously withdisplay_name
.- Domain string
This represents the name of the container of origin for a graph member.
- Mail string
The mail address as a reference to an existing group from an external AD or AAD backed provider. The
scope
,origin_id
anddisplay_name
arguments cannot be used simultaneously withmail
.- Members List<string>
NOTE: It's possible to define group members both within the
azuredevops.Group
resource via the members block and by using theazuredevops.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)
- Origin
Id string The OriginID as a reference to a group from an external AD or AAD backed provider. The
scope
,mail
anddisplay_name
arguments cannot be used simultaneously withorigin_id
.- Principal
Name 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
- Subject
Kind 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.
- Display
Name string The name of a new Azure DevOps group that is not backed by an external provider. The
origin_id
andmail
arguments cannot be used simultaneously withdisplay_name
.- Domain string
This represents the name of the container of origin for a graph member.
- Mail string
The mail address as a reference to an existing group from an external AD or AAD backed provider. The
scope
,origin_id
anddisplay_name
arguments cannot be used simultaneously withmail
.- Members []string
NOTE: It's possible to define group members both within the
azuredevops.Group
resource via the members block and by using theazuredevops.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)
- Origin
Id string The OriginID as a reference to a group from an external AD or AAD backed provider. The
scope
,mail
anddisplay_name
arguments cannot be used simultaneously withorigin_id
.- Principal
Name 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
- Subject
Kind 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.
- display
Name String The name of a new Azure DevOps group that is not backed by an external provider. The
origin_id
andmail
arguments cannot be used simultaneously withdisplay_name
.- domain String
This represents the name of the container of origin for a graph member.
- mail String
The mail address as a reference to an existing group from an external AD or AAD backed provider. The
scope
,origin_id
anddisplay_name
arguments cannot be used simultaneously withmail
.- members List<String>
NOTE: It's possible to define group members both within the
azuredevops.Group
resource via the members block and by using theazuredevops.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)
- origin
Id String The OriginID as a reference to a group from an external AD or AAD backed provider. The
scope
,mail
anddisplay_name
arguments cannot be used simultaneously withorigin_id
.- principal
Name 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
- subject
Kind 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.
- display
Name string The name of a new Azure DevOps group that is not backed by an external provider. The
origin_id
andmail
arguments cannot be used simultaneously withdisplay_name
.- domain string
This represents the name of the container of origin for a graph member.
- mail string
The mail address as a reference to an existing group from an external AD or AAD backed provider. The
scope
,origin_id
anddisplay_name
arguments cannot be used simultaneously withmail
.- members string[]
NOTE: It's possible to define group members both within the
azuredevops.Group
resource via the members block and by using theazuredevops.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)
- origin
Id string The OriginID as a reference to a group from an external AD or AAD backed provider. The
scope
,mail
anddisplay_name
arguments cannot be used simultaneously withorigin_id
.- principal
Name 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
- subject
Kind 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
andmail
arguments cannot be used simultaneously withdisplay_name
.- domain str
This represents the name of the container of origin for a graph member.
- mail str
The mail address as a reference to an existing group from an external AD or AAD backed provider. The
scope
,origin_id
anddisplay_name
arguments cannot be used simultaneously withmail
.- members Sequence[str]
NOTE: It's possible to define group members both within the
azuredevops.Group
resource via the members block and by using theazuredevops.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
anddisplay_name
arguments cannot be used simultaneously withorigin_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.
- display
Name String The name of a new Azure DevOps group that is not backed by an external provider. The
origin_id
andmail
arguments cannot be used simultaneously withdisplay_name
.- domain String
This represents the name of the container of origin for a graph member.
- mail String
The mail address as a reference to an existing group from an external AD or AAD backed provider. The
scope
,origin_id
anddisplay_name
arguments cannot be used simultaneously withmail
.- members List<String>
NOTE: It's possible to define group members both within the
azuredevops.Group
resource via the members block and by using theazuredevops.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)
- origin
Id String The OriginID as a reference to a group from an external AD or AAD backed provider. The
scope
,mail
anddisplay_name
arguments cannot be used simultaneously withorigin_id
.- principal
Name 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
- subject
Kind 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
Package Details
- Repository
- Azure DevOps pulumi/pulumi-azuredevops
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
azuredevops
Terraform Provider.