The Automation API is now available. No CLI. No human-in-the-loop. Just your code. Learn More

CloudIntegrationGcp

Provides a Wavefront Cloud Integration for GCP. This allows GCP cloud integrations to be created, updated, and deleted.

Example Usage

using Pulumi;
using Wavefront = Pulumi.Wavefront;

class MyStack : Stack
{
    public MyStack()
    {
        var gcp = new Wavefront.CloudIntegrationGcp("gcp", new Wavefront.CloudIntegrationGcpArgs
        {
            JsonKey = @"{...your gcp key ...}

",
            ProjectId = "example-gcp-project",
        });
    }

}
package main

import (
    "fmt"

    "github.com/pulumi/pulumi-wavefront/sdk/go/wavefront"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := wavefront.NewCloudIntegrationGcp(ctx, "gcp", &wavefront.CloudIntegrationGcpArgs{
            JsonKey:   pulumi.String(fmt.Sprintf("%v%v", "{...your gcp key ...}\n", "\n")),
            ProjectId: pulumi.String("example-gcp-project"),
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_wavefront as wavefront

gcp = wavefront.CloudIntegrationGcp("gcp",
    json_key="""{...your gcp key ...}

""",
    project_id="example-gcp-project")
import * as pulumi from "@pulumi/pulumi";
import * as wavefront from "@pulumi/wavefront";

const gcp = new wavefront.CloudIntegrationGcp("gcp", {
    jsonKey: "{...your gcp key ...}\n",
    projectId: "example-gcp-project",
});

Create a CloudIntegrationGcp Resource

def CloudIntegrationGcp(resource_name: str, opts: Optional[ResourceOptions] = None, additional_tags: Optional[Mapping[str, str]] = None, categories: Optional[Sequence[str]] = None, force_save: Optional[bool] = None, json_key: Optional[str] = None, metric_filter_regex: Optional[str] = None, name: Optional[str] = None, project_id: Optional[str] = None, service: Optional[str] = None, service_refresh_rate_in_minutes: Optional[int] = None)
name string
The unique name of the resource.
args CloudIntegrationGcpArgs
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 CloudIntegrationGcpArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CloudIntegrationGcpArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

CloudIntegrationGcp Resource Properties

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

Inputs

The CloudIntegrationGcp resource accepts the following input properties:

JsonKey string

Private key for a Google Cloud Platform (GCP) service account within your project. The account must be at least granted Monitoring Viewer permissions. This key must be in the JSON format generated by GCP.

ProjectId string

The Google Cloud Platform (GCP) Project Id

Service string

A value denoting which cloud service this service integrates with

AdditionalTags Dictionary<string, string>

A list of point tag key-values to add to every point ingested using this integration

Categories List<string>

A list of Google Cloud Platform (GCP) services. Valid values are APPENGINE, BIGQUERY, BIGTABLE, CLOUDFUNCTIONS, CLOUDIOT, CLOUDSQL, CLOUDTASKS, COMPUTE, CONTAINER, DATAFLOW, DATAPROC, DATASTORE, FIREBASEDATABASE, FIREBASEHOSTING, FIRESTORE, INTERCONNECT, LOADBALANCING, LOGGING, ML, MONITORING, PUBSUB, REDIS, ROUTER, SERVICERUNTIME, SPANNER, STORAGE, TPU, VPN

ForceSave bool

Forces this resource to save, even if errors are present

MetricFilterRegex string

A regular expression that a metric name must match (case-insensitively) in order to be ingested

Name string

The human-readable name of this integration

ServiceRefreshRateInMinutes int

How often, in minutes, to refresh the service

JsonKey string

Private key for a Google Cloud Platform (GCP) service account within your project. The account must be at least granted Monitoring Viewer permissions. This key must be in the JSON format generated by GCP.

ProjectId string

The Google Cloud Platform (GCP) Project Id

Service string

A value denoting which cloud service this service integrates with

AdditionalTags map[string]string

A list of point tag key-values to add to every point ingested using this integration

Categories []string

A list of Google Cloud Platform (GCP) services. Valid values are APPENGINE, BIGQUERY, BIGTABLE, CLOUDFUNCTIONS, CLOUDIOT, CLOUDSQL, CLOUDTASKS, COMPUTE, CONTAINER, DATAFLOW, DATAPROC, DATASTORE, FIREBASEDATABASE, FIREBASEHOSTING, FIRESTORE, INTERCONNECT, LOADBALANCING, LOGGING, ML, MONITORING, PUBSUB, REDIS, ROUTER, SERVICERUNTIME, SPANNER, STORAGE, TPU, VPN

ForceSave bool

Forces this resource to save, even if errors are present

MetricFilterRegex string

A regular expression that a metric name must match (case-insensitively) in order to be ingested

Name string

The human-readable name of this integration

ServiceRefreshRateInMinutes int

How often, in minutes, to refresh the service

jsonKey string

Private key for a Google Cloud Platform (GCP) service account within your project. The account must be at least granted Monitoring Viewer permissions. This key must be in the JSON format generated by GCP.

projectId string

The Google Cloud Platform (GCP) Project Id

service string

A value denoting which cloud service this service integrates with

additionalTags {[key: string]: string}

A list of point tag key-values to add to every point ingested using this integration

categories string[]

A list of Google Cloud Platform (GCP) services. Valid values are APPENGINE, BIGQUERY, BIGTABLE, CLOUDFUNCTIONS, CLOUDIOT, CLOUDSQL, CLOUDTASKS, COMPUTE, CONTAINER, DATAFLOW, DATAPROC, DATASTORE, FIREBASEDATABASE, FIREBASEHOSTING, FIRESTORE, INTERCONNECT, LOADBALANCING, LOGGING, ML, MONITORING, PUBSUB, REDIS, ROUTER, SERVICERUNTIME, SPANNER, STORAGE, TPU, VPN

forceSave boolean

Forces this resource to save, even if errors are present

metricFilterRegex string

A regular expression that a metric name must match (case-insensitively) in order to be ingested

name string

The human-readable name of this integration

serviceRefreshRateInMinutes number

How often, in minutes, to refresh the service

json_key str

Private key for a Google Cloud Platform (GCP) service account within your project. The account must be at least granted Monitoring Viewer permissions. This key must be in the JSON format generated by GCP.

project_id str

The Google Cloud Platform (GCP) Project Id

service str

A value denoting which cloud service this service integrates with

additional_tags Mapping[str, str]

A list of point tag key-values to add to every point ingested using this integration

categories Sequence[str]

A list of Google Cloud Platform (GCP) services. Valid values are APPENGINE, BIGQUERY, BIGTABLE, CLOUDFUNCTIONS, CLOUDIOT, CLOUDSQL, CLOUDTASKS, COMPUTE, CONTAINER, DATAFLOW, DATAPROC, DATASTORE, FIREBASEDATABASE, FIREBASEHOSTING, FIRESTORE, INTERCONNECT, LOADBALANCING, LOGGING, ML, MONITORING, PUBSUB, REDIS, ROUTER, SERVICERUNTIME, SPANNER, STORAGE, TPU, VPN

force_save bool

Forces this resource to save, even if errors are present

metric_filter_regex str

A regular expression that a metric name must match (case-insensitively) in order to be ingested

name str

The human-readable name of this integration

service_refresh_rate_in_minutes int

How often, in minutes, to refresh the service

Outputs

All input properties are implicitly available as output properties. Additionally, the CloudIntegrationGcp 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 CloudIntegrationGcp Resource

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

@staticmethod
def get(resource_name: str, id: str, opts: Optional[ResourceOptions] = None, additional_tags: Optional[Mapping[str, str]] = None, categories: Optional[Sequence[str]] = None, force_save: Optional[bool] = None, json_key: Optional[str] = None, metric_filter_regex: Optional[str] = None, name: Optional[str] = None, project_id: Optional[str] = None, service: Optional[str] = None, service_refresh_rate_in_minutes: Optional[int] = None) -> CloudIntegrationGcp
func GetCloudIntegrationGcp(ctx *Context, name string, id IDInput, state *CloudIntegrationGcpState, opts ...ResourceOption) (*CloudIntegrationGcp, error)
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:

AdditionalTags Dictionary<string, string>

A list of point tag key-values to add to every point ingested using this integration

Categories List<string>

A list of Google Cloud Platform (GCP) services. Valid values are APPENGINE, BIGQUERY, BIGTABLE, CLOUDFUNCTIONS, CLOUDIOT, CLOUDSQL, CLOUDTASKS, COMPUTE, CONTAINER, DATAFLOW, DATAPROC, DATASTORE, FIREBASEDATABASE, FIREBASEHOSTING, FIRESTORE, INTERCONNECT, LOADBALANCING, LOGGING, ML, MONITORING, PUBSUB, REDIS, ROUTER, SERVICERUNTIME, SPANNER, STORAGE, TPU, VPN

ForceSave bool

Forces this resource to save, even if errors are present

JsonKey string

Private key for a Google Cloud Platform (GCP) service account within your project. The account must be at least granted Monitoring Viewer permissions. This key must be in the JSON format generated by GCP.

MetricFilterRegex string

A regular expression that a metric name must match (case-insensitively) in order to be ingested

Name string

The human-readable name of this integration

ProjectId string

The Google Cloud Platform (GCP) Project Id

Service string

A value denoting which cloud service this service integrates with

ServiceRefreshRateInMinutes int

How often, in minutes, to refresh the service

AdditionalTags map[string]string

A list of point tag key-values to add to every point ingested using this integration

Categories []string

A list of Google Cloud Platform (GCP) services. Valid values are APPENGINE, BIGQUERY, BIGTABLE, CLOUDFUNCTIONS, CLOUDIOT, CLOUDSQL, CLOUDTASKS, COMPUTE, CONTAINER, DATAFLOW, DATAPROC, DATASTORE, FIREBASEDATABASE, FIREBASEHOSTING, FIRESTORE, INTERCONNECT, LOADBALANCING, LOGGING, ML, MONITORING, PUBSUB, REDIS, ROUTER, SERVICERUNTIME, SPANNER, STORAGE, TPU, VPN

ForceSave bool

Forces this resource to save, even if errors are present

JsonKey string

Private key for a Google Cloud Platform (GCP) service account within your project. The account must be at least granted Monitoring Viewer permissions. This key must be in the JSON format generated by GCP.

MetricFilterRegex string

A regular expression that a metric name must match (case-insensitively) in order to be ingested

Name string

The human-readable name of this integration

ProjectId string

The Google Cloud Platform (GCP) Project Id

Service string

A value denoting which cloud service this service integrates with

ServiceRefreshRateInMinutes int

How often, in minutes, to refresh the service

additionalTags {[key: string]: string}

A list of point tag key-values to add to every point ingested using this integration

categories string[]

A list of Google Cloud Platform (GCP) services. Valid values are APPENGINE, BIGQUERY, BIGTABLE, CLOUDFUNCTIONS, CLOUDIOT, CLOUDSQL, CLOUDTASKS, COMPUTE, CONTAINER, DATAFLOW, DATAPROC, DATASTORE, FIREBASEDATABASE, FIREBASEHOSTING, FIRESTORE, INTERCONNECT, LOADBALANCING, LOGGING, ML, MONITORING, PUBSUB, REDIS, ROUTER, SERVICERUNTIME, SPANNER, STORAGE, TPU, VPN

forceSave boolean

Forces this resource to save, even if errors are present

jsonKey string

Private key for a Google Cloud Platform (GCP) service account within your project. The account must be at least granted Monitoring Viewer permissions. This key must be in the JSON format generated by GCP.

metricFilterRegex string

A regular expression that a metric name must match (case-insensitively) in order to be ingested

name string

The human-readable name of this integration

projectId string

The Google Cloud Platform (GCP) Project Id

service string

A value denoting which cloud service this service integrates with

serviceRefreshRateInMinutes number

How often, in minutes, to refresh the service

additional_tags Mapping[str, str]

A list of point tag key-values to add to every point ingested using this integration

categories Sequence[str]

A list of Google Cloud Platform (GCP) services. Valid values are APPENGINE, BIGQUERY, BIGTABLE, CLOUDFUNCTIONS, CLOUDIOT, CLOUDSQL, CLOUDTASKS, COMPUTE, CONTAINER, DATAFLOW, DATAPROC, DATASTORE, FIREBASEDATABASE, FIREBASEHOSTING, FIRESTORE, INTERCONNECT, LOADBALANCING, LOGGING, ML, MONITORING, PUBSUB, REDIS, ROUTER, SERVICERUNTIME, SPANNER, STORAGE, TPU, VPN

force_save bool

Forces this resource to save, even if errors are present

json_key str

Private key for a Google Cloud Platform (GCP) service account within your project. The account must be at least granted Monitoring Viewer permissions. This key must be in the JSON format generated by GCP.

metric_filter_regex str

A regular expression that a metric name must match (case-insensitively) in order to be ingested

name str

The human-readable name of this integration

project_id str

The Google Cloud Platform (GCP) Project Id

service str

A value denoting which cloud service this service integrates with

service_refresh_rate_in_minutes int

How often, in minutes, to refresh the service

Package Details

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