sentry.SentryTeam
Explore with Pulumi AI
# sentry.SentryTeam Resource
Sentry Team resource.
Example Usage
using Pulumi;
using Sentry = Pulumiverse.Sentry;
class MyStack : Stack
{
public MyStack()
{
// Create a team
var @default = new Sentry.SentryTeam("default", new Sentry.SentryTeamArgs
{
Organization = "my-organization",
Slug = "my-team",
});
}
}
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-sentry/sdk/go/sentry"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sentry.NewSentryTeam(ctx, "default", &sentry.SentryTeamArgs{
Organization: pulumi.String("my-organization"),
Slug: pulumi.String("my-team"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new SentryTeam("default", SentryTeamArgs.builder()
.organization("my-organization")
.slug("my-team")
.build());
}
}
import pulumi
import pulumiverse_sentry as sentry
# Create a team
default = sentry.SentryTeam("default",
organization="my-organization",
slug="my-team")
import * as pulumi from "@pulumi/pulumi";
import * as sentry from "@pulumi/sentry";
// Create a team
const defaultSentryTeam = new sentry.SentryTeam("default", {
organization: "my-organization",
slug: "my-team",
});
resources:
default:
type: sentry:SentryTeam
properties:
organization: my-organization
slug: my-team
Create SentryTeam Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SentryTeam(name: string, args: SentryTeamArgs, opts?: CustomResourceOptions);
@overload
def SentryTeam(resource_name: str,
args: SentryTeamArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SentryTeam(resource_name: str,
opts: Optional[ResourceOptions] = None,
organization: Optional[str] = None,
name: Optional[str] = None,
slug: Optional[str] = None)
func NewSentryTeam(ctx *Context, name string, args SentryTeamArgs, opts ...ResourceOption) (*SentryTeam, error)
public SentryTeam(string name, SentryTeamArgs args, CustomResourceOptions? opts = null)
public SentryTeam(String name, SentryTeamArgs args)
public SentryTeam(String name, SentryTeamArgs args, CustomResourceOptions options)
type: sentry:SentryTeam
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 SentryTeamArgs
- 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 SentryTeamArgs
- 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 SentryTeamArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SentryTeamArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SentryTeamArgs
- 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 sentryTeamResource = new Sentry.SentryTeam("sentryTeamResource", new()
{
Organization = "string",
Name = "string",
Slug = "string",
});
example, err := sentry.NewSentryTeam(ctx, "sentryTeamResource", &sentry.SentryTeamArgs{
Organization: pulumi.String("string"),
Name: pulumi.String("string"),
Slug: pulumi.String("string"),
})
var sentryTeamResource = new SentryTeam("sentryTeamResource", SentryTeamArgs.builder()
.organization("string")
.name("string")
.slug("string")
.build());
sentry_team_resource = sentry.SentryTeam("sentryTeamResource",
organization="string",
name="string",
slug="string")
const sentryTeamResource = new sentry.SentryTeam("sentryTeamResource", {
organization: "string",
name: "string",
slug: "string",
});
type: sentry:SentryTeam
properties:
name: string
organization: string
slug: string
SentryTeam 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 SentryTeam resource accepts the following input properties:
- Organization string
- The slug of the organization the team should be created for.
- Name string
- The human readable name for the team.
- Slug string
- The unique URL slug for this team. If this is not provided a slug is automatically generated based on the name.
- Organization string
- The slug of the organization the team should be created for.
- Name string
- The human readable name for the team.
- Slug string
- The unique URL slug for this team. If this is not provided a slug is automatically generated based on the name.
- organization String
- The slug of the organization the team should be created for.
- name String
- The human readable name for the team.
- slug String
- The unique URL slug for this team. If this is not provided a slug is automatically generated based on the name.
- organization string
- The slug of the organization the team should be created for.
- name string
- The human readable name for the team.
- slug string
- The unique URL slug for this team. If this is not provided a slug is automatically generated based on the name.
- organization str
- The slug of the organization the team should be created for.
- name str
- The human readable name for the team.
- slug str
- The unique URL slug for this team. If this is not provided a slug is automatically generated based on the name.
- organization String
- The slug of the organization the team should be created for.
- name String
- The human readable name for the team.
- slug String
- The unique URL slug for this team. If this is not provided a slug is automatically generated based on the name.
Outputs
All input properties are implicitly available as output properties. Additionally, the SentryTeam resource produces the following output properties:
- has_
access bool - id str
- The provider-assigned unique ID for this managed resource.
- is_
member bool - is_
pending bool - team_
id str
Look up Existing SentryTeam Resource
Get an existing SentryTeam 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?: SentryTeamState, opts?: CustomResourceOptions): SentryTeam
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
has_access: Optional[bool] = None,
is_member: Optional[bool] = None,
is_pending: Optional[bool] = None,
name: Optional[str] = None,
organization: Optional[str] = None,
slug: Optional[str] = None,
team_id: Optional[str] = None) -> SentryTeam
func GetSentryTeam(ctx *Context, name string, id IDInput, state *SentryTeamState, opts ...ResourceOption) (*SentryTeam, error)
public static SentryTeam Get(string name, Input<string> id, SentryTeamState? state, CustomResourceOptions? opts = null)
public static SentryTeam get(String name, Output<String> id, SentryTeamState 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.
- Has
Access bool - Is
Member bool - Is
Pending bool - Name string
- The human readable name for the team.
- Organization string
- The slug of the organization the team should be created for.
- Slug string
- The unique URL slug for this team. If this is not provided a slug is automatically generated based on the name.
- Team
Id string
- Has
Access bool - Is
Member bool - Is
Pending bool - Name string
- The human readable name for the team.
- Organization string
- The slug of the organization the team should be created for.
- Slug string
- The unique URL slug for this team. If this is not provided a slug is automatically generated based on the name.
- Team
Id string
- has
Access Boolean - is
Member Boolean - is
Pending Boolean - name String
- The human readable name for the team.
- organization String
- The slug of the organization the team should be created for.
- slug String
- The unique URL slug for this team. If this is not provided a slug is automatically generated based on the name.
- team
Id String
- has
Access boolean - is
Member boolean - is
Pending boolean - name string
- The human readable name for the team.
- organization string
- The slug of the organization the team should be created for.
- slug string
- The unique URL slug for this team. If this is not provided a slug is automatically generated based on the name.
- team
Id string
- has_
access bool - is_
member bool - is_
pending bool - name str
- The human readable name for the team.
- organization str
- The slug of the organization the team should be created for.
- slug str
- The unique URL slug for this team. If this is not provided a slug is automatically generated based on the name.
- team_
id str
- has
Access Boolean - is
Member Boolean - is
Pending Boolean - name String
- The human readable name for the team.
- organization String
- The slug of the organization the team should be created for.
- slug String
- The unique URL slug for this team. If this is not provided a slug is automatically generated based on the name.
- team
Id String
Import
This resource can be imported using an ID made up of the organization slug and project slugbash
$ pulumi import sentry:index/sentryTeam:SentryTeam default org-slug/team-slug
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- sentry pulumiverse/pulumi-sentry
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
sentry
Terraform Provider.