Class 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",
});
}
}
Inherited Members
Namespace: Pulumi.Datadog.Gcp
Assembly: Pulumi.Datadog.dll
Syntax
public class Integration : CustomResource
Constructors
View SourceIntegration(String, IntegrationArgs, CustomResourceOptions)
Create a Integration resource with the given unique name, arguments, and options.
Declaration
public Integration(string name, IntegrationArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| IntegrationArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceClientEmail
Your email found in your JSON service account key.
Declaration
public Output<string> ClientEmail { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ClientId
Your ID found in your JSON service account key.
Declaration
public Output<string> ClientId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
HostFilters
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.
Declaration
public Output<string> HostFilters { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PrivateKey
Your private key name found in your JSON service account key.
Declaration
public Output<string> PrivateKey { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PrivateKeyId
Your private key ID found in your JSON service account key.
Declaration
public Output<string> PrivateKeyId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ProjectId
Your Google Cloud project ID found in your JSON service account key.
Declaration
public Output<string> ProjectId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, IntegrationState, CustomResourceOptions)
Get an existing Integration resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Integration Get(string name, Input<string> id, IntegrationState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| IntegrationState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Integration |