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-datadog repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-datadog repo.

Resources

Others

Resources

Resource Integration

class Integration extends CustomResource

Provides a Datadog - Google Cloud Platform integration resource. This can be used to create and manage Datadog - Google Cloud Platform integration.

Example Usage

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

// Create a new Datadog - Google Cloud Platform integration
const awesomeGcpProjectIntegration = new datadog.gcp.Integration("awesomeGcpProjectIntegration", {
    clientEmail: "awesome-service-account@awesome-project-id.iam.gserviceaccount.com",
    clientId: "123456789012345678901",
    hostFilters: "foo:bar,buzz:lightyear",
    privateKey: `-----BEGIN PRIVATE KEY-----
...
-----END PRIVATE KEY-----
`,
    privateKeyId: "1234567890123456789012345678901234567890",
    projectId: "awesome-project-id",
});

This content is derived from https://github.com/terraform-providers/terraform-provider-datadog/blob/master/website/docs/r/integration_gcp.html.markdown.

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): boolean

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 clientEmail

public clientEmail: pulumi.Output<string>;

Your email found in your JSON service account key.

property clientId

public clientId: pulumi.Output<string>;

Your ID found in your JSON service account key.

property hostFilters

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

Limit the GCE instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog.

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 privateKey

public privateKey: pulumi.Output<string>;

Your private key name found in your JSON service account key.

property privateKeyId

public privateKeyId: pulumi.Output<string>;

Your private key ID found in your JSON service account key.

property projectId

public projectId: pulumi.Output<string>;

Your Google Cloud project ID found in your JSON service account key.

property urn

urn: Output<URN>;

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

Others

interface IntegrationArgs

interface IntegrationArgs

The set of arguments for constructing a Integration resource.

property clientEmail

clientEmail: pulumi.Input<string>;

Your email found in your JSON service account key.

property clientId

clientId: pulumi.Input<string>;

Your ID found in your JSON service account key.

property hostFilters

hostFilters?: pulumi.Input<string>;

Limit the GCE instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog.

property privateKey

privateKey: pulumi.Input<string>;

Your private key name found in your JSON service account key.

property privateKeyId

privateKeyId: pulumi.Input<string>;

Your private key ID found in your JSON service account key.

property projectId

projectId: pulumi.Input<string>;

Your Google Cloud project ID found in your JSON service account key.

interface IntegrationState

interface IntegrationState

Input properties used for looking up and filtering Integration resources.

property clientEmail

clientEmail?: pulumi.Input<string>;

Your email found in your JSON service account key.

property clientId

clientId?: pulumi.Input<string>;

Your ID found in your JSON service account key.

property hostFilters

hostFilters?: pulumi.Input<string>;

Limit the GCE instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog.

property privateKey

privateKey?: pulumi.Input<string>;

Your private key name found in your JSON service account key.

property privateKeyId

privateKeyId?: pulumi.Input<string>;

Your private key ID found in your JSON service account key.

property projectId

projectId?: pulumi.Input<string>;

Your Google Cloud project ID found in your JSON service account key.