datadog.Team
Explore with Pulumi AI
Provides a Datadog Team resource. This can be used to create and manage Datadog team.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Datadog = Pulumi.Datadog;
return await Deployment.RunAsync(() =>
{
var foo = new Datadog.Team("foo", new()
{
Description = "Team description",
Handle = "example-team",
Name = "Example Team",
});
});
package main
import (
"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datadog.NewTeam(ctx, "foo", &datadog.TeamArgs{
Description: pulumi.String("Team description"),
Handle: pulumi.String("example-team"),
Name: pulumi.String("Example Team"),
})
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.datadog.Team;
import com.pulumi.datadog.TeamArgs;
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 foo = new Team("foo", TeamArgs.builder()
.description("Team description")
.handle("example-team")
.name("Example Team")
.build());
}
}
import pulumi
import pulumi_datadog as datadog
foo = datadog.Team("foo",
description="Team description",
handle="example-team",
name="Example Team")
import * as pulumi from "@pulumi/pulumi";
import * as datadog from "@pulumi/datadog";
const foo = new datadog.Team("foo", {
description: "Team description",
handle: "example-team",
name: "Example Team",
});
resources:
foo:
type: datadog:Team
properties:
description: Team description
handle: example-team
name: Example Team
Create Team Resource
new Team(name: string, args: TeamArgs, opts?: CustomResourceOptions);
@overload
def Team(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
handle: Optional[str] = None,
name: Optional[str] = None)
@overload
def Team(resource_name: str,
args: TeamArgs,
opts: Optional[ResourceOptions] = None)
func NewTeam(ctx *Context, name string, args TeamArgs, opts ...ResourceOption) (*Team, error)
public Team(string name, TeamArgs args, CustomResourceOptions? opts = null)
type: datadog:Team
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TeamArgs
- 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 TeamArgs
- 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 TeamArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TeamArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TeamArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Team 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 Team resource accepts the following input properties:
- Description string
Free-form markdown description/content for the team's homepage.
- Handle string
The team's identifier
- Name string
The name of the team.
- Description string
Free-form markdown description/content for the team's homepage.
- Handle string
The team's identifier
- Name string
The name of the team.
- description String
Free-form markdown description/content for the team's homepage.
- handle String
The team's identifier
- name String
The name of the team.
- description string
Free-form markdown description/content for the team's homepage.
- handle string
The team's identifier
- name string
The name of the team.
- description str
Free-form markdown description/content for the team's homepage.
- handle str
The team's identifier
- name str
The name of the team.
- description String
Free-form markdown description/content for the team's homepage.
- handle String
The team's identifier
- name String
The name of the team.
Outputs
All input properties are implicitly available as output properties. Additionally, the Team resource produces the following output properties:
- id str
The provider-assigned unique ID for this managed resource.
- link_
count int The number of links belonging to the team.
- summary str
A brief summary of the team, derived from the
description
.- user_
count int The number of users belonging to the team.
Look up Existing Team Resource
Get an existing Team 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?: TeamState, opts?: CustomResourceOptions): Team
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
handle: Optional[str] = None,
link_count: Optional[int] = None,
name: Optional[str] = None,
summary: Optional[str] = None,
user_count: Optional[int] = None) -> Team
func GetTeam(ctx *Context, name string, id IDInput, state *TeamState, opts ...ResourceOption) (*Team, error)
public static Team Get(string name, Input<string> id, TeamState? state, CustomResourceOptions? opts = null)
public static Team get(String name, Output<String> id, TeamState 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
Free-form markdown description/content for the team's homepage.
- Handle string
The team's identifier
- Link
Count int The number of links belonging to the team.
- Name string
The name of the team.
- Summary string
A brief summary of the team, derived from the
description
.- User
Count int The number of users belonging to the team.
- Description string
Free-form markdown description/content for the team's homepage.
- Handle string
The team's identifier
- Link
Count int The number of links belonging to the team.
- Name string
The name of the team.
- Summary string
A brief summary of the team, derived from the
description
.- User
Count int The number of users belonging to the team.
- description String
Free-form markdown description/content for the team's homepage.
- handle String
The team's identifier
- link
Count Integer The number of links belonging to the team.
- name String
The name of the team.
- summary String
A brief summary of the team, derived from the
description
.- user
Count Integer The number of users belonging to the team.
- description string
Free-form markdown description/content for the team's homepage.
- handle string
The team's identifier
- link
Count number The number of links belonging to the team.
- name string
The name of the team.
- summary string
A brief summary of the team, derived from the
description
.- user
Count number The number of users belonging to the team.
- description str
Free-form markdown description/content for the team's homepage.
- handle str
The team's identifier
- link_
count int The number of links belonging to the team.
- name str
The name of the team.
- summary str
A brief summary of the team, derived from the
description
.- user_
count int The number of users belonging to the team.
- description String
Free-form markdown description/content for the team's homepage.
- handle String
The team's identifier
- link
Count Number The number of links belonging to the team.
- name String
The name of the team.
- summary String
A brief summary of the team, derived from the
description
.- user
Count Number The number of users belonging to the team.
Import
$ pulumi import datadog:index/team:Team foo "bf064c56-edb0-11ed-ae91-da7ad0900002"
Package Details
- Repository
- Datadog pulumi/pulumi-datadog
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
datadog
Terraform Provider.