datadog.gcp.Integration
Explore with Pulumi AI
This resource is deprecated—use the datadog.gcp.IntegrationSts
resource instead. Provides a Datadog - Google Cloud Platform integration resource. This can be used to create and manage Datadog - Google Cloud Platform integration.
Create Integration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Integration(name: string, args: IntegrationArgs, opts?: CustomResourceOptions);
@overload
def Integration(resource_name: str,
args: IntegrationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Integration(resource_name: str,
opts: Optional[ResourceOptions] = None,
client_email: Optional[str] = None,
client_id: Optional[str] = None,
private_key: Optional[str] = None,
private_key_id: Optional[str] = None,
project_id: Optional[str] = None,
automute: Optional[bool] = None,
cloud_run_revision_filters: Optional[Sequence[str]] = None,
cspm_resource_collection_enabled: Optional[bool] = None,
host_filters: Optional[str] = None,
is_resource_change_collection_enabled: Optional[bool] = None,
is_security_command_center_enabled: Optional[bool] = None,
resource_collection_enabled: Optional[bool] = None)
func NewIntegration(ctx *Context, name string, args IntegrationArgs, opts ...ResourceOption) (*Integration, error)
public Integration(string name, IntegrationArgs args, CustomResourceOptions? opts = null)
public Integration(String name, IntegrationArgs args)
public Integration(String name, IntegrationArgs args, CustomResourceOptions options)
type: datadog:gcp:Integration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- 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.
- args IntegrationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control 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.
- name String
- The unique name of the resource.
- args IntegrationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleintegrationResourceResourceFromGcpintegration = new Datadog.Gcp.Integration("exampleintegrationResourceResourceFromGcpintegration", new()
{
ClientEmail = "string",
ClientId = "string",
PrivateKey = "string",
PrivateKeyId = "string",
ProjectId = "string",
Automute = false,
CloudRunRevisionFilters = new[]
{
"string",
},
CspmResourceCollectionEnabled = false,
HostFilters = "string",
IsResourceChangeCollectionEnabled = false,
IsSecurityCommandCenterEnabled = false,
ResourceCollectionEnabled = false,
});
example, err := gcp.NewIntegration(ctx, "exampleintegrationResourceResourceFromGcpintegration", &gcp.IntegrationArgs{
ClientEmail: pulumi.String("string"),
ClientId: pulumi.String("string"),
PrivateKey: pulumi.String("string"),
PrivateKeyId: pulumi.String("string"),
ProjectId: pulumi.String("string"),
Automute: pulumi.Bool(false),
CloudRunRevisionFilters: pulumi.StringArray{
pulumi.String("string"),
},
CspmResourceCollectionEnabled: pulumi.Bool(false),
HostFilters: pulumi.String("string"),
IsResourceChangeCollectionEnabled: pulumi.Bool(false),
IsSecurityCommandCenterEnabled: pulumi.Bool(false),
ResourceCollectionEnabled: pulumi.Bool(false),
})
var exampleintegrationResourceResourceFromGcpintegration = new Integration("exampleintegrationResourceResourceFromGcpintegration", IntegrationArgs.builder()
.clientEmail("string")
.clientId("string")
.privateKey("string")
.privateKeyId("string")
.projectId("string")
.automute(false)
.cloudRunRevisionFilters("string")
.cspmResourceCollectionEnabled(false)
.hostFilters("string")
.isResourceChangeCollectionEnabled(false)
.isSecurityCommandCenterEnabled(false)
.resourceCollectionEnabled(false)
.build());
exampleintegration_resource_resource_from_gcpintegration = datadog.gcp.Integration("exampleintegrationResourceResourceFromGcpintegration",
client_email="string",
client_id="string",
private_key="string",
private_key_id="string",
project_id="string",
automute=False,
cloud_run_revision_filters=["string"],
cspm_resource_collection_enabled=False,
host_filters="string",
is_resource_change_collection_enabled=False,
is_security_command_center_enabled=False,
resource_collection_enabled=False)
const exampleintegrationResourceResourceFromGcpintegration = new datadog.gcp.Integration("exampleintegrationResourceResourceFromGcpintegration", {
clientEmail: "string",
clientId: "string",
privateKey: "string",
privateKeyId: "string",
projectId: "string",
automute: false,
cloudRunRevisionFilters: ["string"],
cspmResourceCollectionEnabled: false,
hostFilters: "string",
isResourceChangeCollectionEnabled: false,
isSecurityCommandCenterEnabled: false,
resourceCollectionEnabled: false,
});
type: datadog:gcp:Integration
properties:
automute: false
clientEmail: string
clientId: string
cloudRunRevisionFilters:
- string
cspmResourceCollectionEnabled: false
hostFilters: string
isResourceChangeCollectionEnabled: false
isSecurityCommandCenterEnabled: false
privateKey: string
privateKeyId: string
projectId: string
resourceCollectionEnabled: false
Integration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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.
- Automute bool
- Silence monitors for expected GCE instance shutdowns. Defaults to
false
. - Cloud
Run List<string>Revision Filters - Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
- Cspm
Resource boolCollection Enabled - Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires
resource_collection_enabled
to also be enabled. Defaults tofalse
. - 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. Defaults to
""
. - Is
Resource boolChange Collection Enabled - When enabled, Datadog scans for all resource change data in your Google Cloud environment.
- Is
Security boolCommand Center Enabled - When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to
false
. - Resource
Collection boolEnabled - When enabled, Datadog scans for all resources in your GCP environment.
- 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.
- Automute bool
- Silence monitors for expected GCE instance shutdowns. Defaults to
false
. - Cloud
Run []stringRevision Filters - Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
- Cspm
Resource boolCollection Enabled - Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires
resource_collection_enabled
to also be enabled. Defaults tofalse
. - 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. Defaults to
""
. - Is
Resource boolChange Collection Enabled - When enabled, Datadog scans for all resource change data in your Google Cloud environment.
- Is
Security boolCommand Center Enabled - When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to
false
. - Resource
Collection boolEnabled - When enabled, Datadog scans for all resources in your GCP environment.
- 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.
- automute Boolean
- Silence monitors for expected GCE instance shutdowns. Defaults to
false
. - cloud
Run List<String>Revision Filters - Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
- cspm
Resource BooleanCollection Enabled - Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires
resource_collection_enabled
to also be enabled. Defaults tofalse
. - 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. Defaults to
""
. - is
Resource BooleanChange Collection Enabled - When enabled, Datadog scans for all resource change data in your Google Cloud environment.
- is
Security BooleanCommand Center Enabled - When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to
false
. - resource
Collection BooleanEnabled - When enabled, Datadog scans for all resources in your GCP environment.
- 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.
- automute boolean
- Silence monitors for expected GCE instance shutdowns. Defaults to
false
. - cloud
Run string[]Revision Filters - Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
- cspm
Resource booleanCollection Enabled - Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires
resource_collection_enabled
to also be enabled. Defaults tofalse
. - 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. Defaults to
""
. - is
Resource booleanChange Collection Enabled - When enabled, Datadog scans for all resource change data in your Google Cloud environment.
- is
Security booleanCommand Center Enabled - When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to
false
. - resource
Collection booleanEnabled - When enabled, Datadog scans for all resources in your GCP environment.
- 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.
- automute bool
- Silence monitors for expected GCE instance shutdowns. Defaults to
false
. - cloud_
run_ Sequence[str]revision_ filters - Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
- cspm_
resource_ boolcollection_ enabled - Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires
resource_collection_enabled
to also be enabled. Defaults tofalse
. - 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. Defaults to
""
. - is_
resource_ boolchange_ collection_ enabled - When enabled, Datadog scans for all resource change data in your Google Cloud environment.
- is_
security_ boolcommand_ center_ enabled - When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to
false
. - resource_
collection_ boolenabled - When enabled, Datadog scans for all resources in your GCP environment.
- 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.
- automute Boolean
- Silence monitors for expected GCE instance shutdowns. Defaults to
false
. - cloud
Run List<String>Revision Filters - Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
- cspm
Resource BooleanCollection Enabled - Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires
resource_collection_enabled
to also be enabled. Defaults tofalse
. - 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. Defaults to
""
. - is
Resource BooleanChange Collection Enabled - When enabled, Datadog scans for all resource change data in your Google Cloud environment.
- is
Security BooleanCommand Center Enabled - When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to
false
. - resource
Collection BooleanEnabled - When enabled, Datadog scans for all resources in your GCP environment.
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 string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up 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
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
automute: Optional[bool] = None,
client_email: Optional[str] = None,
client_id: Optional[str] = None,
cloud_run_revision_filters: Optional[Sequence[str]] = None,
cspm_resource_collection_enabled: Optional[bool] = None,
host_filters: Optional[str] = None,
is_resource_change_collection_enabled: Optional[bool] = None,
is_security_command_center_enabled: Optional[bool] = None,
private_key: Optional[str] = None,
private_key_id: Optional[str] = None,
project_id: Optional[str] = None,
resource_collection_enabled: Optional[bool] = None) -> Integration
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)
public static Integration get(String name, Output<String> id, IntegrationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- 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.
- Automute bool
- Silence monitors for expected GCE instance shutdowns. Defaults to
false
. - Client
Email string - Your email found in your JSON service account key.
- Client
Id string - Your ID found in your JSON service account key.
- Cloud
Run List<string>Revision Filters - Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
- Cspm
Resource boolCollection Enabled - Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires
resource_collection_enabled
to also be enabled. Defaults tofalse
. - 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. Defaults to
""
. - Is
Resource boolChange Collection Enabled - When enabled, Datadog scans for all resource change data in your Google Cloud environment.
- Is
Security boolCommand Center Enabled - When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to
false
. - 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.
- Resource
Collection boolEnabled - When enabled, Datadog scans for all resources in your GCP environment.
- Automute bool
- Silence monitors for expected GCE instance shutdowns. Defaults to
false
. - Client
Email string - Your email found in your JSON service account key.
- Client
Id string - Your ID found in your JSON service account key.
- Cloud
Run []stringRevision Filters - Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
- Cspm
Resource boolCollection Enabled - Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires
resource_collection_enabled
to also be enabled. Defaults tofalse
. - 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. Defaults to
""
. - Is
Resource boolChange Collection Enabled - When enabled, Datadog scans for all resource change data in your Google Cloud environment.
- Is
Security boolCommand Center Enabled - When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to
false
. - 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.
- Resource
Collection boolEnabled - When enabled, Datadog scans for all resources in your GCP environment.
- automute Boolean
- Silence monitors for expected GCE instance shutdowns. Defaults to
false
. - client
Email String - Your email found in your JSON service account key.
- client
Id String - Your ID found in your JSON service account key.
- cloud
Run List<String>Revision Filters - Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
- cspm
Resource BooleanCollection Enabled - Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires
resource_collection_enabled
to also be enabled. Defaults tofalse
. - 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. Defaults to
""
. - is
Resource BooleanChange Collection Enabled - When enabled, Datadog scans for all resource change data in your Google Cloud environment.
- is
Security BooleanCommand Center Enabled - When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to
false
. - 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.
- resource
Collection BooleanEnabled - When enabled, Datadog scans for all resources in your GCP environment.
- automute boolean
- Silence monitors for expected GCE instance shutdowns. Defaults to
false
. - client
Email string - Your email found in your JSON service account key.
- client
Id string - Your ID found in your JSON service account key.
- cloud
Run string[]Revision Filters - Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
- cspm
Resource booleanCollection Enabled - Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires
resource_collection_enabled
to also be enabled. Defaults tofalse
. - 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. Defaults to
""
. - is
Resource booleanChange Collection Enabled - When enabled, Datadog scans for all resource change data in your Google Cloud environment.
- is
Security booleanCommand Center Enabled - When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to
false
. - 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.
- resource
Collection booleanEnabled - When enabled, Datadog scans for all resources in your GCP environment.
- automute bool
- Silence monitors for expected GCE instance shutdowns. Defaults to
false
. - client_
email str - Your email found in your JSON service account key.
- client_
id str - Your ID found in your JSON service account key.
- cloud_
run_ Sequence[str]revision_ filters - Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
- cspm_
resource_ boolcollection_ enabled - Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires
resource_collection_enabled
to also be enabled. Defaults tofalse
. - 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. Defaults to
""
. - is_
resource_ boolchange_ collection_ enabled - When enabled, Datadog scans for all resource change data in your Google Cloud environment.
- is_
security_ boolcommand_ center_ enabled - When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to
false
. - 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.
- resource_
collection_ boolenabled - When enabled, Datadog scans for all resources in your GCP environment.
- automute Boolean
- Silence monitors for expected GCE instance shutdowns. Defaults to
false
. - client
Email String - Your email found in your JSON service account key.
- client
Id String - Your ID found in your JSON service account key.
- cloud
Run List<String>Revision Filters - Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
- cspm
Resource BooleanCollection Enabled - Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires
resource_collection_enabled
to also be enabled. Defaults tofalse
. - 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. Defaults to
""
. - is
Resource BooleanChange Collection Enabled - When enabled, Datadog scans for all resource change data in your Google Cloud environment.
- is
Security BooleanCommand Center Enabled - When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to
false
. - 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.
- resource
Collection BooleanEnabled - When enabled, Datadog scans for all resources in your GCP environment.
Import
Google Cloud Platform integrations can be imported using their project ID, e.g.
$ pulumi import datadog:gcp/integration:Integration awesome_gcp_project_integration project_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Datadog pulumi/pulumi-datadog
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datadog
Terraform Provider.