1. Packages
  2. Sentry
  3. API Docs
  4. SentryTeam
Sentry v0.0.8 published on Saturday, Dec 3, 2022 by Pulumiverse

sentry.SentryTeam

Explore with Pulumi AI

sentry logo
Sentry v0.0.8 published on Saturday, Dec 3, 2022 by Pulumiverse

    # 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

    new SentryTeam(name: string, args: SentryTeamArgs, opts?: CustomResourceOptions);
    @overload
    def SentryTeam(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   name: Optional[str] = None,
                   organization: Optional[str] = None,
                   slug: Optional[str] = None)
    @overload
    def SentryTeam(resource_name: str,
                   args: SentryTeamArgs,
                   opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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:

    HasAccess bool
    Id string
    The provider-assigned unique ID for this managed resource.
    IsMember bool
    IsPending bool
    TeamId string
    HasAccess bool
    Id string
    The provider-assigned unique ID for this managed resource.
    IsMember bool
    IsPending bool
    TeamId string
    hasAccess Boolean
    id String
    The provider-assigned unique ID for this managed resource.
    isMember Boolean
    isPending Boolean
    teamId String
    hasAccess boolean
    id string
    The provider-assigned unique ID for this managed resource.
    isMember boolean
    isPending boolean
    teamId string
    has_access bool
    id str
    The provider-assigned unique ID for this managed resource.
    is_member bool
    is_pending bool
    team_id str
    hasAccess Boolean
    id String
    The provider-assigned unique ID for this managed resource.
    isMember Boolean
    isPending Boolean
    teamId String

    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.
    The following state arguments are supported:
    HasAccess bool
    IsMember bool
    IsPending 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.
    TeamId string
    HasAccess bool
    IsMember bool
    IsPending 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.
    TeamId string
    hasAccess Boolean
    isMember Boolean
    isPending 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.
    teamId String
    hasAccess boolean
    isMember boolean
    isPending 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.
    teamId 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
    hasAccess Boolean
    isMember Boolean
    isPending 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.
    teamId 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
    

    Package Details

    Repository
    sentry pulumiverse/pulumi-sentry
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the sentry Terraform Provider.
    sentry logo
    Sentry v0.0.8 published on Saturday, Dec 3, 2022 by Pulumiverse