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:
- Parent
Team stringId - ID of the parent team the team hierarchy link is associated with.
- Sub
Team stringId - ID of the sub team the team hierarchy link is associated with.
- Parent
Team stringId - ID of the parent team the team hierarchy link is associated with.
- Sub
Team stringId - ID of the sub team the team hierarchy link is associated with.
- parent
Team StringId - ID of the parent team the team hierarchy link is associated with.
- sub
Team StringId - ID of the sub team the team hierarchy link is associated with.
- parent
Team stringId - ID of the parent team the team hierarchy link is associated with.
- sub
Team stringId - ID of the sub team the team hierarchy link is associated with.
- parent_
team_ strid - ID of the parent team the team hierarchy link is associated with.
- sub_
team_ strid - ID of the sub team the team hierarchy link is associated with.
- parent
Team StringId - ID of the parent team the team hierarchy link is associated with.
- sub
Team StringId - 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:
- Created
At string - Timestamp when the team hierarchy link was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioned
By string - The user who created the team hierarchy link.
- Created
At string - Timestamp when the team hierarchy link was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioned
By string - The user who created the team hierarchy link.
- created
At String - Timestamp when the team hierarchy link was created.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioned
By String - The user who created the team hierarchy link.
- created
At string - Timestamp when the team hierarchy link was created.
- id string
- The provider-assigned unique ID for this managed resource.
- provisioned
By 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.
- created
At String - Timestamp when the team hierarchy link was created.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioned
By 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) -> TeamHierarchyLinksfunc 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.
- Created
At string - Timestamp when the team hierarchy link was created.
- Parent
Team stringId - ID of the parent team the team hierarchy link is associated with.
- Provisioned
By string - The user who created the team hierarchy link.
- Sub
Team stringId - ID of the sub team the team hierarchy link is associated with.
- Created
At string - Timestamp when the team hierarchy link was created.
- Parent
Team stringId - ID of the parent team the team hierarchy link is associated with.
- Provisioned
By string - The user who created the team hierarchy link.
- Sub
Team stringId - ID of the sub team the team hierarchy link is associated with.
- created
At String - Timestamp when the team hierarchy link was created.
- parent
Team StringId - ID of the parent team the team hierarchy link is associated with.
- provisioned
By String - The user who created the team hierarchy link.
- sub
Team StringId - ID of the sub team the team hierarchy link is associated with.
- created
At string - Timestamp when the team hierarchy link was created.
- parent
Team stringId - ID of the parent team the team hierarchy link is associated with.
- provisioned
By string - The user who created the team hierarchy link.
- sub
Team stringId - 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_ strid - 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_ strid - ID of the sub team the team hierarchy link is associated with.
- created
At String - Timestamp when the team hierarchy link was created.
- parent
Team StringId - ID of the parent team the team hierarchy link is associated with.
- provisioned
By String - The user who created the team hierarchy link.
- sub
Team StringId - 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
datadogTerraform Provider.
