Sentry v0.0.8 published on Saturday, Dec 3, 2022 by Pulumiverse
sentry.SentryDefaultKey
Explore with Pulumi AI
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.
Constructor 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
- Rate
Limit intCount - Rate
Limit intWindow
- 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
- Rate
Limit intCount - Rate
Limit intWindow
- 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
- rate
Limit IntegerCount - rate
Limit IntegerWindow
- 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
- rate
Limit numberCount - rate
Limit numberWindow
- 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_ intcount - rate_
limit_ intwindow
- 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
- rate
Limit NumberCount - rate
Limit NumberWindow
Outputs
All input properties are implicitly available as output properties. Additionally, the SentryDefaultKey resource produces the following output properties:
- 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
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.
- Dsn
Csp string - Dsn
Public string - Dsn
Secret string - Is
Active 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
- Project
Id int - Public string
- Rate
Limit intCount - Rate
Limit intWindow - Secret string
- Dsn
Csp string - Dsn
Public string - Dsn
Secret string - Is
Active 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
- Project
Id int - Public string
- Rate
Limit intCount - Rate
Limit intWindow - Secret string
- dsn
Csp String - dsn
Public String - dsn
Secret String - is
Active 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
- project
Id Integer - public_ String
- rate
Limit IntegerCount - rate
Limit IntegerWindow - secret String
- dsn
Csp string - dsn
Public string - dsn
Secret string - is
Active 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
- project
Id number - public string
- rate
Limit numberCount - rate
Limit numberWindow - 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_ intcount - rate_
limit_ intwindow - secret str
- dsn
Csp String - dsn
Public String - dsn
Secret String - is
Active 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
- project
Id Number - public String
- rate
Limit NumberCount - rate
Limit NumberWindow - secret String
Package Details
- Repository
- sentry pulumiverse/pulumi-sentry
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
sentry
Terraform Provider.