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
new Integration(name: string, args: IntegrationArgs, opts?: CustomResourceOptions);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:
- Client
Email string Your email found in your JSON service account key.
- Client
Id string Your ID found in your JSON service account key.
- Private
Key string Your private key name found in your JSON service account key.
- Private
Key stringId Your private key ID found in your JSON service account key.
- Project
Id string Your Google Cloud project ID found in your JSON service account key.
- Host
Filters 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 string Your email found in your JSON service account key.
- Client
Id string Your ID found in your JSON service account key.
- Private
Key string Your private key name found in your JSON service account key.
- Private
Key stringId Your private key ID found in your JSON service account key.
- Project
Id string Your Google Cloud project ID found in your JSON service account key.
- Host
Filters 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 string Your email found in your JSON service account key.
- client
Id string Your ID found in your JSON service account key.
- private
Key string Your private key name found in your JSON service account key.
- private
Key stringId Your private key ID found in your JSON service account key.
- project
Id string Your Google Cloud project ID found in your JSON service account key.
- host
Filters 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_ strid 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:
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): Integrationstatic 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:
- Client
Email string Your email found in your JSON service account key.
- Client
Id string Your ID found in your JSON service account key.
- Host
Filters 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.
- Private
Key string Your private key name found in your JSON service account key.
- Private
Key stringId Your private key ID found in your JSON service account key.
- Project
Id string Your Google Cloud project ID found in your JSON service account key.
- Client
Email string Your email found in your JSON service account key.
- Client
Id string Your ID found in your JSON service account key.
- Host
Filters 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.
- Private
Key string Your private key name found in your JSON service account key.
- Private
Key stringId Your private key ID found in your JSON service account key.
- Project
Id string Your Google Cloud project ID found in your JSON service account key.
- client
Email string Your email found in your JSON service account key.
- client
Id string Your ID found in your JSON service account key.
- host
Filters 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.
- private
Key string Your private key name found in your JSON service account key.
- private
Key stringId Your private key ID found in your JSON service account key.
- project
Id 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_ strid 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
datadogTerraform Provider.