This page documents the language specification for the signalfx package. If you're looking for help working with the inputs, outputs, or functions of signalfx resources in a Pulumi program, please see the resource documentation for examples and API reference.

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.

class pulumi_signalfx.gcp.Integration(resource_name, opts=None, enabled=None, name=None, named_token=None, poll_rate=None, project_service_keys=None, services=None, whitelists=None, __props__=None, __name__=None, __opts__=None)

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.

import pulumi
import pulumi_signalfx as signalfx

gcp_myteam = signalfx.gcp.Integration("gcpMyteam",
    enabled=True,
    poll_rate=300000,
    project_service_keys=[
        {
            "projectId": "gcp_project_id_1",
            "project_key": (lambda path: open(path).read())("/path/to/gcp_credentials_1.json"),
        },
        {
            "projectId": "gcp_project_id_2",
            "project_key": (lambda path: open(path).read())("/path/to/gcp_credentials_2.json"),
        },
    ],
    services=["compute"])
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • enabled (pulumi.Input[bool]) – Whether the integration is enabled.

  • name (pulumi.Input[str]) – Name of the integration.

  • named_token (pulumi.Input[str]) – A named token to use for ingest

  • poll_rate (pulumi.Input[float]) – GCP integration poll rate in seconds. Can be set to either 60 or 300 (1 minute or 5 minutes).

  • project_service_keys (pulumi.Input[list]) – GCP projects to add.

  • services (pulumi.Input[list]) – 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.

  • whitelists (pulumi.Input[list]) – Compute Metadata Whitelist

The project_service_keys object supports the following:

  • projectId (pulumi.Input[str])

  • project_key (pulumi.Input[str])

enabled: pulumi.Output[bool] = None

Whether the integration is enabled.

name: pulumi.Output[str] = None

Name of the integration.

named_token: pulumi.Output[str] = None

A named token to use for ingest

poll_rate: pulumi.Output[float] = None

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

project_service_keys: pulumi.Output[list] = None

GCP projects to add.

  • projectId (str)

  • project_key (str)

services: pulumi.Output[list] = None

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.

whitelists: pulumi.Output[list] = None

Compute Metadata Whitelist

static get(resource_name, id, opts=None, enabled=None, name=None, named_token=None, poll_rate=None, project_service_keys=None, services=None, whitelists=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • enabled (pulumi.Input[bool]) – Whether the integration is enabled.

  • name (pulumi.Input[str]) – Name of the integration.

  • named_token (pulumi.Input[str]) – A named token to use for ingest

  • poll_rate (pulumi.Input[float]) – GCP integration poll rate in seconds. Can be set to either 60 or 300 (1 minute or 5 minutes).

  • project_service_keys (pulumi.Input[list]) – GCP projects to add.

  • services (pulumi.Input[list]) –

    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.

  • whitelists (pulumi.Input[list]) – Compute Metadata Whitelist

The project_service_keys object supports the following:

  • projectId (pulumi.Input[str])

  • project_key (pulumi.Input[str])

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str