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 Organization data source.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sentry from "@pulumi/sentry";
// Retrieve an organization
const org = sentry.getSentryOrganization({
slug: "my-organization",
});
import pulumi
import pulumi_sentry as sentry
# Retrieve an organization
org = sentry.get_sentry_organization(slug="my-organization")
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 an organization
_, err := sentry.LookupSentryOrganization(ctx, &sentry.LookupSentryOrganizationArgs{
Slug: "my-organization",
}, 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 an organization
var org = Sentry.GetSentryOrganization.Invoke(new()
{
Slug = "my-organization",
});
});
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.GetSentryOrganizationArgs;
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 an organization
final var org = SentryFunctions.getSentryOrganization(GetSentryOrganizationArgs.builder()
.slug("my-organization")
.build());
}
}
variables:
# Retrieve an organization
org:
fn::invoke:
Function: sentry:getSentryOrganization
Arguments:
slug: my-organization
Using getSentryOrganization
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 getSentryOrganization(args: GetSentryOrganizationArgs, opts?: InvokeOptions): Promise<GetSentryOrganizationResult>
function getSentryOrganizationOutput(args: GetSentryOrganizationOutputArgs, opts?: InvokeOptions): Output<GetSentryOrganizationResult>def get_sentry_organization(slug: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSentryOrganizationResult
def get_sentry_organization_output(slug: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSentryOrganizationResult]func LookupSentryOrganization(ctx *Context, args *LookupSentryOrganizationArgs, opts ...InvokeOption) (*LookupSentryOrganizationResult, error)
func LookupSentryOrganizationOutput(ctx *Context, args *LookupSentryOrganizationOutputArgs, opts ...InvokeOption) LookupSentryOrganizationResultOutput> Note: This function is named LookupSentryOrganization in the Go SDK.
public static class GetSentryOrganization
{
public static Task<GetSentryOrganizationResult> InvokeAsync(GetSentryOrganizationArgs args, InvokeOptions? opts = null)
public static Output<GetSentryOrganizationResult> Invoke(GetSentryOrganizationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSentryOrganizationResult> getSentryOrganization(GetSentryOrganizationArgs args, InvokeOptions options)
public static Output<GetSentryOrganizationResult> getSentryOrganization(GetSentryOrganizationArgs args, InvokeOptions options)
fn::invoke:
function: sentry:index/getSentryOrganization:getSentryOrganization
arguments:
# arguments dictionaryThe following arguments are supported:
- Slug string
- The unique URL slug for this organization.
- Slug string
- The unique URL slug for this organization.
- slug String
- The unique URL slug for this organization.
- slug string
- The unique URL slug for this organization.
- slug str
- The unique URL slug for this organization.
- slug String
- The unique URL slug for this organization.
getSentryOrganization Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Internal
Id string - The internal ID for this organization.
- Name string
- The human readable name for this organization.
- Slug string
- The unique URL slug for this organization.
- Id string
- The provider-assigned unique ID for this managed resource.
- Internal
Id string - The internal ID for this organization.
- Name string
- The human readable name for this organization.
- Slug string
- The unique URL slug for this organization.
- id String
- The provider-assigned unique ID for this managed resource.
- internal
Id String - The internal ID for this organization.
- name String
- The human readable name for this organization.
- slug String
- The unique URL slug for this organization.
- id string
- The provider-assigned unique ID for this managed resource.
- internal
Id string - The internal ID for this organization.
- name string
- The human readable name for this organization.
- slug string
- The unique URL slug for this organization.
- id str
- The provider-assigned unique ID for this managed resource.
- internal_
id str - The internal ID for this organization.
- name str
- The human readable name for this organization.
- slug str
- The unique URL slug for this organization.
- id String
- The provider-assigned unique ID for this managed resource.
- internal
Id String - The internal ID for this organization.
- name String
- The human readable name for this organization.
- slug String
- The unique URL slug for this organization.
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
