Module azure

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-signalfx repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-signalfx repo.

Resources

Functions

Others

Resources

Resource Integration

class Integration extends CustomResource

SignalFx Azure integrations. For help with this integration see Monitoring Microsoft Azure.

NOTE When managing integrations you’ll need to use an admin token to authenticate the SignalFx provider. Otherwise you’ll receive a 4xx error.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as signalfx from "@pulumi/signalfx";

const azureMyteam = new signalfx.azure.Integration("azureMyteam", {
    enabled: true,
    resource: [{
        signalfxAzureIntegration: [{
            azureMyteamXX: [{
                appId: "YYY",
                enabled: false,
                environment: "azure",
                name: "AzureFoo",
                pollRate: 300,
                secretKey: "XXX",
                services: ["microsoft.sql/servers/elasticpools"],
                subscriptions: ["sub-guid-here"],
                tenantId: "ZZZ",
            }],
        }],
    }],
});

Service Names

NOTE You can use the data source “signalfx.azure.getServices” to specify all services.

constructor

new Integration(name: string, args: IntegrationArgs, opts?: pulumi.CustomResourceOptions)

Create a Integration resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IntegrationState, opts?: pulumi.CustomResourceOptions): Integration

Get an existing Integration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is Integration

Returns true if the given object is an instance of Integration. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property appId

public appId: pulumi.Output<string>;

Azure application ID for the SignalFx app. To learn how to get this ID, see the topic Connect to Microsoft Azure in the product documentation.

property enabled

public enabled: pulumi.Output<boolean>;

Whether the integration is enabled.

property environment

public environment: pulumi.Output<string | undefined>;

What type of Azure integration this is. The allowed values are \"azure_us_government\" and \"azure\". Defaults to \"azure\".

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

Name of the integration.

property namedToken

public namedToken: pulumi.Output<string | undefined>;

A named token to use for ingest

property pollRate

public pollRate: pulumi.Output<number | undefined>;

AWS poll rate (in seconds). One of 60 or 300.

property secretKey

public secretKey: pulumi.Output<string>;

Azure secret key that associates the SignalFx app in Azure with the Azure tenant ID. To learn how to get this ID, see the topic Connect to Microsoft Azure in the product documentation.

property services

public services: pulumi.Output<string[]>;

List of Microsoft Azure service names for the Azure services you want SignalFx to monitor. See the documentation for Creating Integrations for valida values.

property subscriptions

public subscriptions: pulumi.Output<string[]>;

List of Azure subscriptions that SignalFx should monitor.

property tenantId

public tenantId: pulumi.Output<string>;

Azure ID of the Azure tenant. To learn how to get this ID, see the topic Connect to Microsoft Azure in the product documentation.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

Functions

Function getServices

getServices(args?: GetServicesArgs, opts?: pulumi.InvokeOptions): Promise<GetServicesResult>

Use this data source to get a list of Azure service names.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as signalfx from "@pulumi/signalfx";

const azureServices = signalfx.azure.getServices({});
// Leaves out most of the integration bits, see the docs
// for signalfx.azure.Integration for more
const azureMyteam = new signalfx.azure.Integration("azureMyteam", {services: [azureServices.then(azureServices => azureServices.services)].map(__item => __item?.name)});

Others

interface GetServicesArgs

interface GetServicesArgs

A collection of arguments for invoking getServices.

property services

services?: GetServicesService[];

interface GetServicesResult

interface GetServicesResult

A collection of values returned by getServices.

property id

id: string;

The provider-assigned unique ID for this managed resource.

property services

services?: GetServicesService[];

interface IntegrationArgs

interface IntegrationArgs

The set of arguments for constructing a Integration resource.

property appId

appId: pulumi.Input<string>;

Azure application ID for the SignalFx app. To learn how to get this ID, see the topic Connect to Microsoft Azure in the product documentation.

property enabled

enabled: pulumi.Input<boolean>;

Whether the integration is enabled.

property environment

environment?: pulumi.Input<string>;

What type of Azure integration this is. The allowed values are \"azure_us_government\" and \"azure\". Defaults to \"azure\".

property name

name?: pulumi.Input<string>;

Name of the integration.

property namedToken

namedToken?: pulumi.Input<string>;

A named token to use for ingest

property pollRate

pollRate?: pulumi.Input<number>;

AWS poll rate (in seconds). One of 60 or 300.

property secretKey

secretKey: pulumi.Input<string>;

Azure secret key that associates the SignalFx app in Azure with the Azure tenant ID. To learn how to get this ID, see the topic Connect to Microsoft Azure in the product documentation.

property services

services: pulumi.Input<pulumi.Input<string>[]>;

List of Microsoft Azure service names for the Azure services you want SignalFx to monitor. See the documentation for Creating Integrations for valida values.

property subscriptions

subscriptions: pulumi.Input<pulumi.Input<string>[]>;

List of Azure subscriptions that SignalFx should monitor.

property tenantId

tenantId: pulumi.Input<string>;

Azure ID of the Azure tenant. To learn how to get this ID, see the topic Connect to Microsoft Azure in the product documentation.

interface IntegrationState

interface IntegrationState

Input properties used for looking up and filtering Integration resources.

property appId

appId?: pulumi.Input<string>;

Azure application ID for the SignalFx app. To learn how to get this ID, see the topic Connect to Microsoft Azure in the product documentation.

property enabled

enabled?: pulumi.Input<boolean>;

Whether the integration is enabled.

property environment

environment?: pulumi.Input<string>;

What type of Azure integration this is. The allowed values are \"azure_us_government\" and \"azure\". Defaults to \"azure\".

property name

name?: pulumi.Input<string>;

Name of the integration.

property namedToken

namedToken?: pulumi.Input<string>;

A named token to use for ingest

property pollRate

pollRate?: pulumi.Input<number>;

AWS poll rate (in seconds). One of 60 or 300.

property secretKey

secretKey?: pulumi.Input<string>;

Azure secret key that associates the SignalFx app in Azure with the Azure tenant ID. To learn how to get this ID, see the topic Connect to Microsoft Azure in the product documentation.

property services

services?: pulumi.Input<pulumi.Input<string>[]>;

List of Microsoft Azure service names for the Azure services you want SignalFx to monitor. See the documentation for Creating Integrations for valida values.

property subscriptions

subscriptions?: pulumi.Input<pulumi.Input<string>[]>;

List of Azure subscriptions that SignalFx should monitor.

property tenantId

tenantId?: pulumi.Input<string>;

Azure ID of the Azure tenant. To learn how to get this ID, see the topic Connect to Microsoft Azure in the product documentation.