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

sentry.SentryDefaultKey

Explore with Pulumi AI

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

    Create SentryDefaultKey Resource

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

    Constructor syntax

    new SentryDefaultKey(name: string, args: SentryDefaultKeyArgs, opts?: CustomResourceOptions);
    @overload
    def SentryDefaultKey(resource_name: str,
                         args: SentryDefaultKeyArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def SentryDefaultKey(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         organization: Optional[str] = None,
                         project: Optional[str] = None,
                         name: Optional[str] = None,
                         rate_limit_count: Optional[int] = None,
                         rate_limit_window: Optional[int] = None)
    func NewSentryDefaultKey(ctx *Context, name string, args SentryDefaultKeyArgs, opts ...ResourceOption) (*SentryDefaultKey, error)
    public SentryDefaultKey(string name, SentryDefaultKeyArgs args, CustomResourceOptions? opts = null)
    public SentryDefaultKey(String name, SentryDefaultKeyArgs args)
    public SentryDefaultKey(String name, SentryDefaultKeyArgs args, CustomResourceOptions options)
    
    type: sentry:SentryDefaultKey
    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 SentryDefaultKeyArgs
    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 SentryDefaultKeyArgs
    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 SentryDefaultKeyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SentryDefaultKeyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SentryDefaultKeyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var sentryDefaultKeyResource = new Sentry.SentryDefaultKey("sentryDefaultKeyResource", new()
    {
        Organization = "string",
        Project = "string",
        Name = "string",
        RateLimitCount = 0,
        RateLimitWindow = 0,
    });
    
    example, err := sentry.NewSentryDefaultKey(ctx, "sentryDefaultKeyResource", &sentry.SentryDefaultKeyArgs{
    	Organization:    pulumi.String("string"),
    	Project:         pulumi.String("string"),
    	Name:            pulumi.String("string"),
    	RateLimitCount:  pulumi.Int(0),
    	RateLimitWindow: pulumi.Int(0),
    })
    
    var sentryDefaultKeyResource = new SentryDefaultKey("sentryDefaultKeyResource", SentryDefaultKeyArgs.builder()        
        .organization("string")
        .project("string")
        .name("string")
        .rateLimitCount(0)
        .rateLimitWindow(0)
        .build());
    
    sentry_default_key_resource = sentry.SentryDefaultKey("sentryDefaultKeyResource",
        organization="string",
        project="string",
        name="string",
        rate_limit_count=0,
        rate_limit_window=0)
    
    const sentryDefaultKeyResource = new sentry.SentryDefaultKey("sentryDefaultKeyResource", {
        organization: "string",
        project: "string",
        name: "string",
        rateLimitCount: 0,
        rateLimitWindow: 0,
    });
    
    type: sentry:SentryDefaultKey
    properties:
        name: string
        organization: string
        project: string
        rateLimitCount: 0
        rateLimitWindow: 0
    

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

    Organization string
    The slug of the organization the key should be created for
    Project string
    The slug of the project the key should be created for
    Name string
    The name of the key
    RateLimitCount int
    RateLimitWindow int
    Organization string
    The slug of the organization the key should be created for
    Project string
    The slug of the project the key should be created for
    Name string
    The name of the key
    RateLimitCount int
    RateLimitWindow int
    organization String
    The slug of the organization the key should be created for
    project String
    The slug of the project the key should be created for
    name String
    The name of the key
    rateLimitCount Integer
    rateLimitWindow Integer
    organization string
    The slug of the organization the key should be created for
    project string
    The slug of the project the key should be created for
    name string
    The name of the key
    rateLimitCount number
    rateLimitWindow number
    organization str
    The slug of the organization the key should be created for
    project str
    The slug of the project the key should be created for
    name str
    The name of the key
    rate_limit_count int
    rate_limit_window int
    organization String
    The slug of the organization the key should be created for
    project String
    The slug of the project the key should be created for
    name String
    The name of the key
    rateLimitCount Number
    rateLimitWindow Number

    Outputs

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

    DsnCsp string
    DsnPublic string
    DsnSecret string
    Id string
    The provider-assigned unique ID for this managed resource.
    IsActive bool
    ProjectId int
    Public string
    Secret string
    DsnCsp string
    DsnPublic string
    DsnSecret string
    Id string
    The provider-assigned unique ID for this managed resource.
    IsActive bool
    ProjectId int
    Public string
    Secret string
    dsnCsp String
    dsnPublic String
    dsnSecret String
    id String
    The provider-assigned unique ID for this managed resource.
    isActive Boolean
    projectId Integer
    public_ String
    secret String
    dsnCsp string
    dsnPublic string
    dsnSecret string
    id string
    The provider-assigned unique ID for this managed resource.
    isActive boolean
    projectId number
    public string
    secret string
    dsn_csp str
    dsn_public str
    dsn_secret str
    id str
    The provider-assigned unique ID for this managed resource.
    is_active bool
    project_id int
    public str
    secret str
    dsnCsp String
    dsnPublic String
    dsnSecret String
    id String
    The provider-assigned unique ID for this managed resource.
    isActive Boolean
    projectId Number
    public String
    secret String

    Look up Existing SentryDefaultKey Resource

    Get an existing SentryDefaultKey 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?: SentryDefaultKeyState, opts?: CustomResourceOptions): SentryDefaultKey
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            dsn_csp: Optional[str] = None,
            dsn_public: Optional[str] = None,
            dsn_secret: Optional[str] = None,
            is_active: Optional[bool] = None,
            name: Optional[str] = None,
            organization: Optional[str] = None,
            project: Optional[str] = None,
            project_id: Optional[int] = None,
            public: Optional[str] = None,
            rate_limit_count: Optional[int] = None,
            rate_limit_window: Optional[int] = None,
            secret: Optional[str] = None) -> SentryDefaultKey
    func GetSentryDefaultKey(ctx *Context, name string, id IDInput, state *SentryDefaultKeyState, opts ...ResourceOption) (*SentryDefaultKey, error)
    public static SentryDefaultKey Get(string name, Input<string> id, SentryDefaultKeyState? state, CustomResourceOptions? opts = null)
    public static SentryDefaultKey get(String name, Output<String> id, SentryDefaultKeyState 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:
    DsnCsp string
    DsnPublic string
    DsnSecret string
    IsActive bool
    Name string
    The name of the key
    Organization string
    The slug of the organization the key should be created for
    Project string
    The slug of the project the key should be created for
    ProjectId int
    Public string
    RateLimitCount int
    RateLimitWindow int
    Secret string
    DsnCsp string
    DsnPublic string
    DsnSecret string
    IsActive bool
    Name string
    The name of the key
    Organization string
    The slug of the organization the key should be created for
    Project string
    The slug of the project the key should be created for
    ProjectId int
    Public string
    RateLimitCount int
    RateLimitWindow int
    Secret string
    dsnCsp String
    dsnPublic String
    dsnSecret String
    isActive Boolean
    name String
    The name of the key
    organization String
    The slug of the organization the key should be created for
    project String
    The slug of the project the key should be created for
    projectId Integer
    public_ String
    rateLimitCount Integer
    rateLimitWindow Integer
    secret String
    dsnCsp string
    dsnPublic string
    dsnSecret string
    isActive boolean
    name string
    The name of the key
    organization string
    The slug of the organization the key should be created for
    project string
    The slug of the project the key should be created for
    projectId number
    public string
    rateLimitCount number
    rateLimitWindow number
    secret string
    dsn_csp str
    dsn_public str
    dsn_secret str
    is_active bool
    name str
    The name of the key
    organization str
    The slug of the organization the key should be created for
    project str
    The slug of the project the key should be created for
    project_id int
    public str
    rate_limit_count int
    rate_limit_window int
    secret str
    dsnCsp String
    dsnPublic String
    dsnSecret String
    isActive Boolean
    name String
    The name of the key
    organization String
    The slug of the organization the key should be created for
    project String
    The slug of the project the key should be created for
    projectId Number
    public String
    rateLimitCount Number
    rateLimitWindow Number
    secret String

    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