1. Packages
  2. Datadog Provider
  3. API Docs
  4. TeamHierarchyLinks
Datadog v4.61.0 published on Monday, Dec 22, 2025 by Pulumi
datadog logo
Datadog v4.61.0 published on Monday, Dec 22, 2025 by Pulumi

    Provides a Datadog TeamHierarchyLinks resource. This can be used to create and manage Datadog Team Hierarchy Links.

    Create TeamHierarchyLinks Resource

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

    Constructor syntax

    new TeamHierarchyLinks(name: string, args: TeamHierarchyLinksArgs, opts?: CustomResourceOptions);
    @overload
    def TeamHierarchyLinks(resource_name: str,
                           args: TeamHierarchyLinksArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def TeamHierarchyLinks(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           parent_team_id: Optional[str] = None,
                           sub_team_id: Optional[str] = None)
    func NewTeamHierarchyLinks(ctx *Context, name string, args TeamHierarchyLinksArgs, opts ...ResourceOption) (*TeamHierarchyLinks, error)
    public TeamHierarchyLinks(string name, TeamHierarchyLinksArgs args, CustomResourceOptions? opts = null)
    public TeamHierarchyLinks(String name, TeamHierarchyLinksArgs args)
    public TeamHierarchyLinks(String name, TeamHierarchyLinksArgs args, CustomResourceOptions options)
    
    type: datadog:TeamHierarchyLinks
    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 TeamHierarchyLinksArgs
    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 TeamHierarchyLinksArgs
    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 TeamHierarchyLinksArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TeamHierarchyLinksArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TeamHierarchyLinksArgs
    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 teamHierarchyLinksResource = new Datadog.TeamHierarchyLinks("teamHierarchyLinksResource", new()
    {
        ParentTeamId = "string",
        SubTeamId = "string",
    });
    
    example, err := datadog.NewTeamHierarchyLinks(ctx, "teamHierarchyLinksResource", &datadog.TeamHierarchyLinksArgs{
    	ParentTeamId: pulumi.String("string"),
    	SubTeamId:    pulumi.String("string"),
    })
    
    var teamHierarchyLinksResource = new TeamHierarchyLinks("teamHierarchyLinksResource", TeamHierarchyLinksArgs.builder()
        .parentTeamId("string")
        .subTeamId("string")
        .build());
    
    team_hierarchy_links_resource = datadog.TeamHierarchyLinks("teamHierarchyLinksResource",
        parent_team_id="string",
        sub_team_id="string")
    
    const teamHierarchyLinksResource = new datadog.TeamHierarchyLinks("teamHierarchyLinksResource", {
        parentTeamId: "string",
        subTeamId: "string",
    });
    
    type: datadog:TeamHierarchyLinks
    properties:
        parentTeamId: string
        subTeamId: string
    

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

    ParentTeamId string
    ID of the parent team the team hierarchy link is associated with.
    SubTeamId string
    ID of the sub team the team hierarchy link is associated with.
    ParentTeamId string
    ID of the parent team the team hierarchy link is associated with.
    SubTeamId string
    ID of the sub team the team hierarchy link is associated with.
    parentTeamId String
    ID of the parent team the team hierarchy link is associated with.
    subTeamId String
    ID of the sub team the team hierarchy link is associated with.
    parentTeamId string
    ID of the parent team the team hierarchy link is associated with.
    subTeamId string
    ID of the sub team the team hierarchy link is associated with.
    parent_team_id str
    ID of the parent team the team hierarchy link is associated with.
    sub_team_id str
    ID of the sub team the team hierarchy link is associated with.
    parentTeamId String
    ID of the parent team the team hierarchy link is associated with.
    subTeamId String
    ID of the sub team the team hierarchy link is associated with.

    Outputs

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

    CreatedAt string
    Timestamp when the team hierarchy link was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProvisionedBy string
    The user who created the team hierarchy link.
    CreatedAt string
    Timestamp when the team hierarchy link was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProvisionedBy string
    The user who created the team hierarchy link.
    createdAt String
    Timestamp when the team hierarchy link was created.
    id String
    The provider-assigned unique ID for this managed resource.
    provisionedBy String
    The user who created the team hierarchy link.
    createdAt string
    Timestamp when the team hierarchy link was created.
    id string
    The provider-assigned unique ID for this managed resource.
    provisionedBy string
    The user who created the team hierarchy link.
    created_at str
    Timestamp when the team hierarchy link was created.
    id str
    The provider-assigned unique ID for this managed resource.
    provisioned_by str
    The user who created the team hierarchy link.
    createdAt String
    Timestamp when the team hierarchy link was created.
    id String
    The provider-assigned unique ID for this managed resource.
    provisionedBy String
    The user who created the team hierarchy link.

    Look up Existing TeamHierarchyLinks Resource

    Get an existing TeamHierarchyLinks 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?: TeamHierarchyLinksState, opts?: CustomResourceOptions): TeamHierarchyLinks
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            parent_team_id: Optional[str] = None,
            provisioned_by: Optional[str] = None,
            sub_team_id: Optional[str] = None) -> TeamHierarchyLinks
    func GetTeamHierarchyLinks(ctx *Context, name string, id IDInput, state *TeamHierarchyLinksState, opts ...ResourceOption) (*TeamHierarchyLinks, error)
    public static TeamHierarchyLinks Get(string name, Input<string> id, TeamHierarchyLinksState? state, CustomResourceOptions? opts = null)
    public static TeamHierarchyLinks get(String name, Output<String> id, TeamHierarchyLinksState state, CustomResourceOptions options)
    resources:  _:    type: datadog:TeamHierarchyLinks    get:      id: ${id}
    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:
    CreatedAt string
    Timestamp when the team hierarchy link was created.
    ParentTeamId string
    ID of the parent team the team hierarchy link is associated with.
    ProvisionedBy string
    The user who created the team hierarchy link.
    SubTeamId string
    ID of the sub team the team hierarchy link is associated with.
    CreatedAt string
    Timestamp when the team hierarchy link was created.
    ParentTeamId string
    ID of the parent team the team hierarchy link is associated with.
    ProvisionedBy string
    The user who created the team hierarchy link.
    SubTeamId string
    ID of the sub team the team hierarchy link is associated with.
    createdAt String
    Timestamp when the team hierarchy link was created.
    parentTeamId String
    ID of the parent team the team hierarchy link is associated with.
    provisionedBy String
    The user who created the team hierarchy link.
    subTeamId String
    ID of the sub team the team hierarchy link is associated with.
    createdAt string
    Timestamp when the team hierarchy link was created.
    parentTeamId string
    ID of the parent team the team hierarchy link is associated with.
    provisionedBy string
    The user who created the team hierarchy link.
    subTeamId string
    ID of the sub team the team hierarchy link is associated with.
    created_at str
    Timestamp when the team hierarchy link was created.
    parent_team_id str
    ID of the parent team the team hierarchy link is associated with.
    provisioned_by str
    The user who created the team hierarchy link.
    sub_team_id str
    ID of the sub team the team hierarchy link is associated with.
    createdAt String
    Timestamp when the team hierarchy link was created.
    parentTeamId String
    ID of the parent team the team hierarchy link is associated with.
    provisionedBy String
    The user who created the team hierarchy link.
    subTeamId String
    ID of the sub team the team hierarchy link is associated with.

    Package Details

    Repository
    Datadog pulumi/pulumi-datadog
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the datadog Terraform Provider.
    datadog logo
    Datadog v4.61.0 published on Monday, Dec 22, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate