Rootly

v0.0.8 published on Friday, Aug 19, 2022 by Rootly

getEnvironments

Using getEnvironments

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 getEnvironments(args: GetEnvironmentsArgs, opts?: InvokeOptions): Promise<GetEnvironmentsResult>
function getEnvironmentsOutput(args: GetEnvironmentsOutputArgs, opts?: InvokeOptions): Output<GetEnvironmentsResult>
def get_environments(name: Optional[str] = None,
                     slug: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetEnvironmentsResult
def get_environments_output(name: Optional[pulumi.Input[str]] = None,
                     slug: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetEnvironmentsResult]
func GetEnvironments(ctx *Context, args *GetEnvironmentsArgs, opts ...InvokeOption) (*GetEnvironmentsResult, error)
func GetEnvironmentsOutput(ctx *Context, args *GetEnvironmentsOutputArgs, opts ...InvokeOption) GetEnvironmentsResultOutput

> Note: This function is named GetEnvironments in the Go SDK.

public static class GetEnvironments 
{
    public static Task<GetEnvironmentsResult> InvokeAsync(GetEnvironmentsArgs args, InvokeOptions? opts = null)
    public static Output<GetEnvironmentsResult> Invoke(GetEnvironmentsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEnvironmentsResult> getEnvironments(GetEnvironmentsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: rootly:index/getEnvironments:getEnvironments
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Name string
Slug string
Name string
Slug string
name String
slug String
name string
slug string
name str
slug str
name String
slug String

getEnvironments Result

The following output properties are available:

Environments List<GetEnvironmentsEnvironment>
Id string

The provider-assigned unique ID for this managed resource.

Name string
Slug string
Environments []GetEnvironmentsEnvironment
Id string

The provider-assigned unique ID for this managed resource.

Name string
Slug string
environments List<GetEnvironmentsEnvironment>
id String

The provider-assigned unique ID for this managed resource.

name String
slug String
environments GetEnvironmentsEnvironment[]
id string

The provider-assigned unique ID for this managed resource.

name string
slug string
environments Sequence[GetEnvironmentsEnvironment]
id str

The provider-assigned unique ID for this managed resource.

name str
slug str
environments List<Property Map>
id String

The provider-assigned unique ID for this managed resource.

name String
slug String

Supporting Types

GetEnvironmentsEnvironment

Color string
Description string
Id string
Name string
Slug string
Color string
Description string
Id string
Name string
Slug string
color String
description String
id String
name String
slug String
color string
description string
id string
name string
slug string
color str
description str
id str
name str
slug str
color String
description String
id String
name String
slug String

Package Details

Repository
https://github.com/rootlyhq/pulumi-rootly
License
Apache-2.0
Notes

This Pulumi package is based on the rootly Terraform Provider.