Module gcp

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

Others

Resources

Resource Integration

class Integration extends CustomResource

SignalFx GCP Integration

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 fs from "fs";
import * as signalfx from "@pulumi/signalfx";

const gcpMyteam = new signalfx.gcp.Integration("gcpMyteam", {
    enabled: true,
    pollRate: 300000,
    projectServiceKeys: [
        {
            projectId: "gcpProjectId1",
            projectKey: fs.readFileSync("/path/to/gcp_credentials_1.json", "utf-8"),
        },
        {
            projectId: "gcpProjectId2",
            projectKey: fs.readFileSync("/path/to/gcp_credentials_2.json", "utf-8"),
        },
    ],
    services: ["compute"],
});

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 enabled

public enabled: pulumi.Output<boolean>;

Whether the integration is enabled.

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>;

GCP integration poll rate in seconds. Can be set to either 60 or 300 (1 minute or 5 minutes).

property projectServiceKeys

public projectServiceKeys: pulumi.Output<IntegrationProjectServiceKey[] | undefined>;

GCP projects to add.

property services

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

GCP service metrics to import. Can be an empty list, or not included, to import ‘All services’. See the documentation for Creating Integrations for valid values.

property urn

urn: Output<URN>;

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

property whitelists

public whitelists: pulumi.Output<string[] | undefined>;

Compute Metadata Whitelist

Others

interface IntegrationArgs

interface IntegrationArgs

The set of arguments for constructing a Integration resource.

property enabled

enabled: pulumi.Input<boolean>;

Whether the integration is enabled.

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>;

GCP integration poll rate in seconds. Can be set to either 60 or 300 (1 minute or 5 minutes).

property projectServiceKeys

projectServiceKeys?: pulumi.Input<pulumi.Input<IntegrationProjectServiceKey>[]>;

GCP projects to add.

property services

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

GCP service metrics to import. Can be an empty list, or not included, to import ‘All services’. See the documentation for Creating Integrations for valid values.

property whitelists

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

Compute Metadata Whitelist

interface IntegrationState

interface IntegrationState

Input properties used for looking up and filtering Integration resources.

property enabled

enabled?: pulumi.Input<boolean>;

Whether the integration is enabled.

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>;

GCP integration poll rate in seconds. Can be set to either 60 or 300 (1 minute or 5 minutes).

property projectServiceKeys

projectServiceKeys?: pulumi.Input<pulumi.Input<IntegrationProjectServiceKey>[]>;

GCP projects to add.

property services

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

GCP service metrics to import. Can be an empty list, or not included, to import ‘All services’. See the documentation for Creating Integrations for valid values.

property whitelists

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

Compute Metadata Whitelist