getIntegration

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

Example Usage

using System.Collections.Generic;
using Pulumi;
using SignalFx = Pulumi.SignalFx;

return await Deployment.RunAsync(() => 
{
    var pdIntegration = SignalFx.PagerDuty.GetIntegration.Invoke(new()
    {
        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
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.signalfx.pagerduty.PagerdutyFunctions;
import com.pulumi.signalfx.pagerduty.inputs.GetIntegrationArgs;
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) {
        final var pdIntegration = PagerdutyFunctions.getIntegration(GetIntegrationArgs.builder()
            .name("PD-Integration")
            .build());

    }
}
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",
}));
variables:
  pdIntegration:
    Fn::Invoke:
      Function: signalfx:pagerduty:getIntegration
      Arguments:
        name: PD-Integration

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.