SignalFx

Pulumi Official
Package maintained by Pulumi
v5.4.0 published on Thursday, May 26, 2022 by Pulumi

getIntegration

Use this data source to get information on an existing PagerDuty integration.

Example Usage

using Pulumi;
using SignalFx = Pulumi.SignalFx;

class MyStack : Stack
{
    public MyStack()
    {
        var pdIntegration = Output.Create(SignalFx.PagerDuty.GetIntegration.InvokeAsync(new SignalFx.PagerDuty.GetIntegrationArgs
        {
            Name = "PD-Integration",
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-signalfx/sdk/v5/go/signalfx/pagerduty"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pagerduty.LookupIntegration(ctx, &pagerduty.LookupIntegrationArgs{
			Name: "PD-Integration",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_signalfx as signalfx

pd_integration = signalfx.pagerduty.get_integration(name="PD-Integration")
import * as pulumi from "@pulumi/pulumi";
import * as signalfx from "@pulumi/signalfx";

const pdIntegration = pulumi.output(signalfx.pagerduty.getIntegration({
    name: "PD-Integration",
}));

Coming soon!

Using getIntegration

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 getIntegration(args: GetIntegrationArgs, opts?: InvokeOptions): Promise<GetIntegrationResult>
function getIntegrationOutput(args: GetIntegrationOutputArgs, opts?: InvokeOptions): Output<GetIntegrationResult>
def get_integration(name: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetIntegrationResult
def get_integration_output(name: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetIntegrationResult]
func LookupIntegration(ctx *Context, args *LookupIntegrationArgs, opts ...InvokeOption) (*LookupIntegrationResult, error)
func LookupIntegrationOutput(ctx *Context, args *LookupIntegrationOutputArgs, opts ...InvokeOption) LookupIntegrationResultOutput

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

public static class GetIntegration 
{
    public static Task<GetIntegrationResult> InvokeAsync(GetIntegrationArgs args, InvokeOptions? opts = null)
    public static Output<GetIntegrationResult> Invoke(GetIntegrationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIntegrationResult> getIntegration(GetIntegrationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: signalfx:pagerduty/getIntegration:getIntegration
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Name string

Specify the exact name of the desired PagerDuty integration

Name string

Specify the exact name of the desired PagerDuty integration

name String

Specify the exact name of the desired PagerDuty integration

name string

Specify the exact name of the desired PagerDuty integration

name str

Specify the exact name of the desired PagerDuty integration

name String

Specify the exact name of the desired PagerDuty integration

getIntegration Result

The following output properties are available:

Enabled bool

Whether the integration is enabled.

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the integration.

Enabled bool

Whether the integration is enabled.

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the integration.

enabled Boolean

Whether the integration is enabled.

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the integration.

enabled boolean

Whether the integration is enabled.

id string

The provider-assigned unique ID for this managed resource.

name string

The name of the integration.

enabled bool

Whether the integration is enabled.

id str

The provider-assigned unique ID for this managed resource.

name str

The name of the integration.

enabled Boolean

Whether the integration is enabled.

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the integration.

Package Details

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

This Pulumi package is based on the signalfx Terraform Provider.