Wavefront

v1.1.0 published on Wednesday, Nov 24, 2021 by Pulumi

CloudIntegrationAzure

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

Example Usage

using Pulumi;
using Wavefront = Pulumi.Wavefront;

class MyStack : Stack
{
    public MyStack()
    {
        var azureActivityLog = new Wavefront.CloudIntegrationAzureActivityLog("azureActivityLog", new Wavefront.CloudIntegrationAzureActivityLogArgs
        {
            ClientId = "client-id2",
            ClientSecret = "client-secret2",
            Tenant = "my-tenant2",
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-wavefront/sdk/go/wavefront"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := wavefront.NewCloudIntegrationAzureActivityLog(ctx, "azureActivityLog", &wavefront.CloudIntegrationAzureActivityLogArgs{
			ClientId:     pulumi.String("client-id2"),
			ClientSecret: pulumi.String("client-secret2"),
			Tenant:       pulumi.String("my-tenant2"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
import pulumi
import pulumi_wavefront as wavefront

azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("azureActivityLog",
    client_id="client-id2",
    client_secret="client-secret2",
    tenant="my-tenant2")
import * as pulumi from "@pulumi/pulumi";
import * as wavefront from "@pulumi/wavefront";

const azureActivityLog = new wavefront.CloudIntegrationAzureActivityLog("azure_activity_log", {
    clientId: "client-id2",
    clientSecret: "client-secret2",
    tenant: "my-tenant2",
});

Create a CloudIntegrationAzure Resource

new CloudIntegrationAzure(name: string, args: CloudIntegrationAzureArgs, opts?: CustomResourceOptions);
@overload
def CloudIntegrationAzure(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          additional_tags: Optional[Mapping[str, str]] = None,
                          category_filters: Optional[Sequence[str]] = None,
                          client_id: Optional[str] = None,
                          client_secret: Optional[str] = None,
                          force_save: Optional[bool] = None,
                          metric_filter_regex: Optional[str] = None,
                          name: Optional[str] = None,
                          resource_group_filters: Optional[Sequence[str]] = None,
                          service: Optional[str] = None,
                          service_refresh_rate_in_minutes: Optional[int] = None,
                          tenant: Optional[str] = None)
@overload
def CloudIntegrationAzure(resource_name: str,
                          args: CloudIntegrationAzureArgs,
                          opts: Optional[ResourceOptions] = None)
func NewCloudIntegrationAzure(ctx *Context, name string, args CloudIntegrationAzureArgs, opts ...ResourceOption) (*CloudIntegrationAzure, error)
public CloudIntegrationAzure(string name, CloudIntegrationAzureArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args CloudIntegrationAzureArgs
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 CloudIntegrationAzureArgs
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 CloudIntegrationAzureArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CloudIntegrationAzureArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

CloudIntegrationAzure Resource Properties

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

Inputs

The CloudIntegrationAzure resource accepts the following input properties:

ClientId string
Client id for an azure service account within your project
ClientSecret string
Client secret for an Azure service account within your project
Service string
A value denoting which cloud service this service integrates with
Tenant string
Tenant Id for an Azure service account within your project
AdditionalTags Dictionary<string, string>
A list of point tag key-values to add to every point ingested using this integration
CategoryFilters List<string>
A list of Azure Activity Log categories.
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
ResourceGroupFilters List<string>
A list of Azure resource groups from which to pull metrics
ServiceRefreshRateInMinutes int
How often, in minutes, to refresh the service
ClientId string
Client id for an azure service account within your project
ClientSecret string
Client secret for an Azure service account within your project
Service string
A value denoting which cloud service this service integrates with
Tenant string
Tenant Id for an Azure service account within your project
AdditionalTags map[string]string
A list of point tag key-values to add to every point ingested using this integration
CategoryFilters []string
A list of Azure Activity Log categories.
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
ResourceGroupFilters []string
A list of Azure resource groups from which to pull metrics
ServiceRefreshRateInMinutes int
How often, in minutes, to refresh the service
clientId string
Client id for an azure service account within your project
clientSecret string
Client secret for an Azure service account within your project
service string
A value denoting which cloud service this service integrates with
tenant string
Tenant Id for an Azure service account within your project
additionalTags {[key: string]: string}
A list of point tag key-values to add to every point ingested using this integration
categoryFilters string[]
A list of Azure Activity Log categories.
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
resourceGroupFilters string[]
A list of Azure resource groups from which to pull metrics
serviceRefreshRateInMinutes number
How often, in minutes, to refresh the service
client_id str
Client id for an azure service account within your project
client_secret str
Client secret for an Azure service account within your project
service str
A value denoting which cloud service this service integrates with
tenant str
Tenant Id for an Azure service account within your project
additional_tags Mapping[str, str]
A list of point tag key-values to add to every point ingested using this integration
category_filters Sequence[str]
A list of Azure Activity Log categories.
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
resource_group_filters Sequence[str]
A list of Azure resource groups from which to pull metrics
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 CloudIntegrationAzure 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 CloudIntegrationAzure Resource

Get an existing CloudIntegrationAzure 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?: CloudIntegrationAzureState, opts?: CustomResourceOptions): CloudIntegrationAzure
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        additional_tags: Optional[Mapping[str, str]] = None,
        category_filters: Optional[Sequence[str]] = None,
        client_id: Optional[str] = None,
        client_secret: Optional[str] = None,
        force_save: Optional[bool] = None,
        metric_filter_regex: Optional[str] = None,
        name: Optional[str] = None,
        resource_group_filters: Optional[Sequence[str]] = None,
        service: Optional[str] = None,
        service_refresh_rate_in_minutes: Optional[int] = None,
        tenant: Optional[str] = None) -> CloudIntegrationAzure
func GetCloudIntegrationAzure(ctx *Context, name string, id IDInput, state *CloudIntegrationAzureState, opts ...ResourceOption) (*CloudIntegrationAzure, error)
public static CloudIntegrationAzure Get(string name, Input<string> id, CloudIntegrationAzureState? 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:

AdditionalTags Dictionary<string, string>
A list of point tag key-values to add to every point ingested using this integration
CategoryFilters List<string>
A list of Azure Activity Log categories.
ClientId string
Client id for an azure service account within your project
ClientSecret string
Client secret for an Azure service account within your project
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
ResourceGroupFilters List<string>
A list of Azure resource groups from which to pull metrics
Service string
A value denoting which cloud service this service integrates with
ServiceRefreshRateInMinutes int
How often, in minutes, to refresh the service
Tenant string
Tenant Id for an Azure service account within your project
AdditionalTags map[string]string
A list of point tag key-values to add to every point ingested using this integration
CategoryFilters []string
A list of Azure Activity Log categories.
ClientId string
Client id for an azure service account within your project
ClientSecret string
Client secret for an Azure service account within your project
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
ResourceGroupFilters []string
A list of Azure resource groups from which to pull metrics
Service string
A value denoting which cloud service this service integrates with
ServiceRefreshRateInMinutes int
How often, in minutes, to refresh the service
Tenant string
Tenant Id for an Azure service account within your project
additionalTags {[key: string]: string}
A list of point tag key-values to add to every point ingested using this integration
categoryFilters string[]
A list of Azure Activity Log categories.
clientId string
Client id for an azure service account within your project
clientSecret string
Client secret for an Azure service account within your project
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
resourceGroupFilters string[]
A list of Azure resource groups from which to pull metrics
service string
A value denoting which cloud service this service integrates with
serviceRefreshRateInMinutes number
How often, in minutes, to refresh the service
tenant string
Tenant Id for an Azure service account within your project
additional_tags Mapping[str, str]
A list of point tag key-values to add to every point ingested using this integration
category_filters Sequence[str]
A list of Azure Activity Log categories.
client_id str
Client id for an azure service account within your project
client_secret str
Client secret for an Azure service account within your project
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
resource_group_filters Sequence[str]
A list of Azure resource groups from which to pull metrics
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
tenant str
Tenant Id for an Azure service account within your project

Import

Azure Cloud Integrations can be imported using the id, e.g.

 $ pulumi import wavefront:index/cloudIntegrationAzure:CloudIntegrationAzure azure a411c16b-3cf7-4f03-bf11-8ca05aab898d

Package Details

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