Integration

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

Example Usage

using Pulumi;
using Datadog = Pulumi.Datadog;

class MyStack : Stack
{
    public MyStack()
    {
        // Create a new Datadog - Google Cloud Platform integration
        var awesomeGcpProjectIntegration = new Datadog.Gcp.Integration("awesomeGcpProjectIntegration", new Datadog.Gcp.IntegrationArgs
        {
            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",
        });
    }

}

Coming soon!

import pulumi
import pulumi_datadog as datadog

# Create a new Datadog - Google Cloud Platform integration
awesome_gcp_project_integration = datadog.gcp.Integration("awesomeGcpProjectIntegration",
    client_email="awesome-service-account@awesome-project-id.iam.gserviceaccount.com",
    client_id="123456789012345678901",
    host_filters="foo:bar,buzz:lightyear",
    private_key="""-----BEGIN PRIVATE KEY-----
...
-----END PRIVATE KEY-----

""",
    private_key_id="1234567890123456789012345678901234567890",
    project_id="awesome-project-id")
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("awesome_gcp_project_integration", {
    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",
});

Create a Integration Resource

def Integration(resource_name, opts=None, client_email=None, client_id=None, host_filters=None, private_key=None, private_key_id=None, project_id=None, __props__=None);
func NewIntegration(ctx *Context, name string, args IntegrationArgs, opts ...ResourceOption) (*Integration, error)
public Integration(string name, IntegrationArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args IntegrationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args IntegrationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args IntegrationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Integration Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Integration resource accepts the following input properties:

ClientEmail string

Your email found in your JSON service account key.

ClientId string

Your ID found in your JSON service account key.

PrivateKey string

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

PrivateKeyId string

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

ProjectId string

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

HostFilters 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.

ClientEmail string

Your email found in your JSON service account key.

ClientId string

Your ID found in your JSON service account key.

PrivateKey string

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

PrivateKeyId string

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

ProjectId string

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

HostFilters 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.

clientEmail string

Your email found in your JSON service account key.

clientId string

Your ID found in your JSON service account key.

privateKey string

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

privateKeyId string

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

projectId string

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

hostFilters 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.

client_email str

Your email found in your JSON service account key.

client_id str

Your ID found in your JSON service account key.

private_key str

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

private_key_id str

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

project_id str

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

host_filters str

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.

Outputs

All input properties are implicitly available as output properties. Additionally, the Integration resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing Integration Resource

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

public static get(name: string, id: Input<ID>, state?: IntegrationState, opts?: CustomResourceOptions): Integration
static get(resource_name, id, opts=None, client_email=None, client_id=None, host_filters=None, private_key=None, private_key_id=None, project_id=None, __props__=None);
func GetIntegration(ctx *Context, name string, id IDInput, state *IntegrationState, opts ...ResourceOption) (*Integration, error)
public static Integration Get(string name, Input<string> id, IntegrationState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

ClientEmail string

Your email found in your JSON service account key.

ClientId string

Your ID found in your JSON service account key.

HostFilters 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.

PrivateKey string

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

PrivateKeyId string

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

ProjectId string

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

ClientEmail string

Your email found in your JSON service account key.

ClientId string

Your ID found in your JSON service account key.

HostFilters 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.

PrivateKey string

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

PrivateKeyId string

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

ProjectId string

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

clientEmail string

Your email found in your JSON service account key.

clientId string

Your ID found in your JSON service account key.

hostFilters 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.

privateKey string

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

privateKeyId string

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

projectId string

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

client_email str

Your email found in your JSON service account key.

client_id str

Your ID found in your JSON service account key.

host_filters str

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.

private_key str

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

private_key_id str

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

project_id str

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

Package Details

Repository
https://github.com/pulumi/pulumi-datadog
License
Apache-2.0
Notes
This Pulumi package is based on the datadog Terraform Provider.