Viewing docs for Sentry v0.0.9
published on Friday, Nov 15, 2024 by Pulumiverse
published on Friday, Nov 15, 2024 by Pulumiverse
Viewing docs for Sentry v0.0.9
published on Friday, Nov 15, 2024 by Pulumiverse
published on Friday, Nov 15, 2024 by Pulumiverse
Sentry Team data source.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sentry from "@pulumi/sentry";
// Retrieve a team
const default = sentry.getSentryTeam({
organization: "my-organization",
slug: "my-team",
});
import pulumi
import pulumi_sentry as sentry
# Retrieve a team
default = sentry.get_sentry_team(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 {
// Retrieve a team
_, err := sentry.LookupSentryTeam(ctx, &sentry.LookupSentryTeamArgs{
Organization: "my-organization",
Slug: "my-team",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sentry = Pulumi.Sentry;
return await Deployment.RunAsync(() =>
{
// Retrieve a team
var @default = Sentry.GetSentryTeam.Invoke(new()
{
Organization = "my-organization",
Slug = "my-team",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sentry.SentryFunctions;
import com.pulumi.sentry.inputs.GetSentryTeamArgs;
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) {
// Retrieve a team
final var default = SentryFunctions.getSentryTeam(GetSentryTeamArgs.builder()
.organization("my-organization")
.slug("my-team")
.build());
}
}
variables:
# Retrieve a team
default:
fn::invoke:
Function: sentry:getSentryTeam
Arguments:
organization: my-organization
slug: my-team
Using getSentryTeam
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSentryTeam(args: GetSentryTeamArgs, opts?: InvokeOptions): Promise<GetSentryTeamResult>
function getSentryTeamOutput(args: GetSentryTeamOutputArgs, opts?: InvokeOptions): Output<GetSentryTeamResult>def get_sentry_team(organization: Optional[str] = None,
slug: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSentryTeamResult
def get_sentry_team_output(organization: Optional[pulumi.Input[str]] = None,
slug: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSentryTeamResult]func LookupSentryTeam(ctx *Context, args *LookupSentryTeamArgs, opts ...InvokeOption) (*LookupSentryTeamResult, error)
func LookupSentryTeamOutput(ctx *Context, args *LookupSentryTeamOutputArgs, opts ...InvokeOption) LookupSentryTeamResultOutput> Note: This function is named LookupSentryTeam in the Go SDK.
public static class GetSentryTeam
{
public static Task<GetSentryTeamResult> InvokeAsync(GetSentryTeamArgs args, InvokeOptions? opts = null)
public static Output<GetSentryTeamResult> Invoke(GetSentryTeamInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSentryTeamResult> getSentryTeam(GetSentryTeamArgs args, InvokeOptions options)
public static Output<GetSentryTeamResult> getSentryTeam(GetSentryTeamArgs args, InvokeOptions options)
fn::invoke:
function: sentry:index/getSentryTeam:getSentryTeam
arguments:
# arguments dictionaryThe following arguments are supported:
- Organization string
- The slug of the organization the team should be created for.
- Slug string
- The unique URL slug for this team.
- Organization string
- The slug of the organization the team should be created for.
- Slug string
- The unique URL slug for this team.
- organization String
- The slug of the organization the team should be created for.
- slug String
- The unique URL slug for this team.
- organization string
- The slug of the organization the team should be created for.
- slug string
- The unique URL slug for this team.
- organization str
- The slug of the organization the team should be created for.
- slug str
- The unique URL slug for this team.
- organization String
- The slug of the organization the team should be created for.
- slug String
- The unique URL slug for this team.
getSentryTeam Result
The following output properties are available:
- Has
Access bool - Id string
- The provider-assigned unique ID for this managed resource.
- Internal
Id string - The internal ID for this team.
- Is
Member bool - Is
Pending bool - Name string
- The human readable name for this organization.
- Organization string
- The slug of the organization the team should be created for.
- Slug string
- The unique URL slug for this team.
- Has
Access bool - Id string
- The provider-assigned unique ID for this managed resource.
- Internal
Id string - The internal ID for this team.
- Is
Member bool - Is
Pending bool - Name string
- The human readable name for this organization.
- Organization string
- The slug of the organization the team should be created for.
- Slug string
- The unique URL slug for this team.
- has
Access Boolean - id String
- The provider-assigned unique ID for this managed resource.
- internal
Id String - The internal ID for this team.
- is
Member Boolean - is
Pending Boolean - name String
- The human readable name for this organization.
- organization String
- The slug of the organization the team should be created for.
- slug String
- The unique URL slug for this team.
- has
Access boolean - id string
- The provider-assigned unique ID for this managed resource.
- internal
Id string - The internal ID for this team.
- is
Member boolean - is
Pending boolean - name string
- The human readable name for this organization.
- organization string
- The slug of the organization the team should be created for.
- slug string
- The unique URL slug for this team.
- has_
access bool - id str
- The provider-assigned unique ID for this managed resource.
- internal_
id str - The internal ID for this team.
- is_
member bool - is_
pending bool - name str
- The human readable name for this organization.
- organization str
- The slug of the organization the team should be created for.
- slug str
- The unique URL slug for this team.
- has
Access Boolean - id String
- The provider-assigned unique ID for this managed resource.
- internal
Id String - The internal ID for this team.
- is
Member Boolean - is
Pending Boolean - name String
- The human readable name for this organization.
- organization String
- The slug of the organization the team should be created for.
- slug String
- The unique URL slug for this team.
Package Details
- Repository
- sentry pulumiverse/pulumi-sentry
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
sentryTerraform Provider.
Viewing docs for Sentry v0.0.9
published on Friday, Nov 15, 2024 by Pulumiverse
published on Friday, Nov 15, 2024 by Pulumiverse
