1. Packages
  2. Wavefront Provider
  3. API Docs
  4. CloudIntegrationAzureActivityLog
Wavefront v3.1.8 published on Tuesday, Mar 4, 2025 by Pulumi

wavefront.CloudIntegrationAzureActivityLog

Explore with Pulumi AI

Provides a Wavefront Cloud Integration for Azure Activity Logs. This allows Azure activity log cloud integrations to be created, updated, and deleted.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as wavefront from "@pulumi/wavefront";

const azureActivityLog = new wavefront.CloudIntegrationAzureActivityLog("azure_activity_log", {
    name: "Test Integration",
    categoryFilters: ["ADMINISTRATIVE"],
    clientId: "client-id2",
    clientSecret: "client-secret2",
    tenant: "my-tenant2",
});
Copy
import pulumi
import pulumi_wavefront as wavefront

azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("azure_activity_log",
    name="Test Integration",
    category_filters=["ADMINISTRATIVE"],
    client_id="client-id2",
    client_secret="client-secret2",
    tenant="my-tenant2")
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := wavefront.NewCloudIntegrationAzureActivityLog(ctx, "azure_activity_log", &wavefront.CloudIntegrationAzureActivityLogArgs{
			Name: pulumi.String("Test Integration"),
			CategoryFilters: pulumi.StringArray{
				pulumi.String("ADMINISTRATIVE"),
			},
			ClientId:     pulumi.String("client-id2"),
			ClientSecret: pulumi.String("client-secret2"),
			Tenant:       pulumi.String("my-tenant2"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Wavefront = Pulumi.Wavefront;

return await Deployment.RunAsync(() => 
{
    var azureActivityLog = new Wavefront.CloudIntegrationAzureActivityLog("azure_activity_log", new()
    {
        Name = "Test Integration",
        CategoryFilters = new[]
        {
            "ADMINISTRATIVE",
        },
        ClientId = "client-id2",
        ClientSecret = "client-secret2",
        Tenant = "my-tenant2",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.wavefront.CloudIntegrationAzureActivityLog;
import com.pulumi.wavefront.CloudIntegrationAzureActivityLogArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var azureActivityLog = new CloudIntegrationAzureActivityLog("azureActivityLog", CloudIntegrationAzureActivityLogArgs.builder()
            .name("Test Integration")
            .categoryFilters("ADMINISTRATIVE")
            .clientId("client-id2")
            .clientSecret("client-secret2")
            .tenant("my-tenant2")
            .build());

    }
}
Copy
resources:
  azureActivityLog:
    type: wavefront:CloudIntegrationAzureActivityLog
    name: azure_activity_log
    properties:
      name: Test Integration
      categoryFilters:
        - ADMINISTRATIVE
      clientId: client-id2
      clientSecret: client-secret2
      tenant: my-tenant2
Copy

Create CloudIntegrationAzureActivityLog Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new CloudIntegrationAzureActivityLog(name: string, args: CloudIntegrationAzureActivityLogArgs, opts?: CustomResourceOptions);
@overload
def CloudIntegrationAzureActivityLog(resource_name: str,
                                     args: CloudIntegrationAzureActivityLogArgs,
                                     opts: Optional[ResourceOptions] = None)

@overload
def CloudIntegrationAzureActivityLog(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     client_id: Optional[str] = None,
                                     client_secret: Optional[str] = None,
                                     service: Optional[str] = None,
                                     tenant: Optional[str] = None,
                                     additional_tags: Optional[Mapping[str, str]] = None,
                                     category_filters: Optional[Sequence[str]] = None,
                                     force_save: Optional[bool] = None,
                                     name: Optional[str] = None,
                                     service_refresh_rate_in_minutes: Optional[int] = None)
func NewCloudIntegrationAzureActivityLog(ctx *Context, name string, args CloudIntegrationAzureActivityLogArgs, opts ...ResourceOption) (*CloudIntegrationAzureActivityLog, error)
public CloudIntegrationAzureActivityLog(string name, CloudIntegrationAzureActivityLogArgs args, CustomResourceOptions? opts = null)
public CloudIntegrationAzureActivityLog(String name, CloudIntegrationAzureActivityLogArgs args)
public CloudIntegrationAzureActivityLog(String name, CloudIntegrationAzureActivityLogArgs args, CustomResourceOptions options)
type: wavefront:CloudIntegrationAzureActivityLog
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. CloudIntegrationAzureActivityLogArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. CloudIntegrationAzureActivityLogArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. CloudIntegrationAzureActivityLogArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. CloudIntegrationAzureActivityLogArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. CloudIntegrationAzureActivityLogArgs
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 cloudIntegrationAzureActivityLogResource = new Wavefront.CloudIntegrationAzureActivityLog("cloudIntegrationAzureActivityLogResource", new()
{
    ClientId = "string",
    ClientSecret = "string",
    Service = "string",
    Tenant = "string",
    AdditionalTags = 
    {
        { "string", "string" },
    },
    CategoryFilters = new[]
    {
        "string",
    },
    ForceSave = false,
    Name = "string",
    ServiceRefreshRateInMinutes = 0,
});
Copy
example, err := wavefront.NewCloudIntegrationAzureActivityLog(ctx, "cloudIntegrationAzureActivityLogResource", &wavefront.CloudIntegrationAzureActivityLogArgs{
	ClientId:     pulumi.String("string"),
	ClientSecret: pulumi.String("string"),
	Service:      pulumi.String("string"),
	Tenant:       pulumi.String("string"),
	AdditionalTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	CategoryFilters: pulumi.StringArray{
		pulumi.String("string"),
	},
	ForceSave:                   pulumi.Bool(false),
	Name:                        pulumi.String("string"),
	ServiceRefreshRateInMinutes: pulumi.Int(0),
})
Copy
var cloudIntegrationAzureActivityLogResource = new CloudIntegrationAzureActivityLog("cloudIntegrationAzureActivityLogResource", CloudIntegrationAzureActivityLogArgs.builder()
    .clientId("string")
    .clientSecret("string")
    .service("string")
    .tenant("string")
    .additionalTags(Map.of("string", "string"))
    .categoryFilters("string")
    .forceSave(false)
    .name("string")
    .serviceRefreshRateInMinutes(0)
    .build());
Copy
cloud_integration_azure_activity_log_resource = wavefront.CloudIntegrationAzureActivityLog("cloudIntegrationAzureActivityLogResource",
    client_id="string",
    client_secret="string",
    service="string",
    tenant="string",
    additional_tags={
        "string": "string",
    },
    category_filters=["string"],
    force_save=False,
    name="string",
    service_refresh_rate_in_minutes=0)
Copy
const cloudIntegrationAzureActivityLogResource = new wavefront.CloudIntegrationAzureActivityLog("cloudIntegrationAzureActivityLogResource", {
    clientId: "string",
    clientSecret: "string",
    service: "string",
    tenant: "string",
    additionalTags: {
        string: "string",
    },
    categoryFilters: ["string"],
    forceSave: false,
    name: "string",
    serviceRefreshRateInMinutes: 0,
});
Copy
type: wavefront:CloudIntegrationAzureActivityLog
properties:
    additionalTags:
        string: string
    categoryFilters:
        - string
    clientId: string
    clientSecret: string
    forceSave: false
    name: string
    service: string
    serviceRefreshRateInMinutes: 0
    tenant: string
Copy

CloudIntegrationAzureActivityLog 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 CloudIntegrationAzureActivityLog resource accepts the following input properties:

ClientId This property is required. string
Client ID for an Azure service account within your project.
ClientSecret This property is required. string
Client secret for an Azure service account within your project.
Service
This property is required.
Changes to this property will trigger replacement.
string
A value denoting which cloud service this service integrates with.
Tenant This property is required. 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 services (such as Microsoft.Compute/virtualMachines) from which to pull metrics.
ForceSave bool
Forces this resource to save, even if errors are present.
Name string
The human-readable name of this integration.
ServiceRefreshRateInMinutes int
How often, in minutes, to refresh the service.
ClientId This property is required. string
Client ID for an Azure service account within your project.
ClientSecret This property is required. string
Client secret for an Azure service account within your project.
Service
This property is required.
Changes to this property will trigger replacement.
string
A value denoting which cloud service this service integrates with.
Tenant This property is required. 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 services (such as Microsoft.Compute/virtualMachines) from which to pull metrics.
ForceSave bool
Forces this resource to save, even if errors are present.
Name string
The human-readable name of this integration.
ServiceRefreshRateInMinutes int
How often, in minutes, to refresh the service.
clientId This property is required. String
Client ID for an Azure service account within your project.
clientSecret This property is required. String
Client secret for an Azure service account within your project.
service
This property is required.
Changes to this property will trigger replacement.
String
A value denoting which cloud service this service integrates with.
tenant This property is required. 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 List<String>
A list of Azure services (such as Microsoft.Compute/virtualMachines) from which to pull metrics.
forceSave Boolean
Forces this resource to save, even if errors are present.
name String
The human-readable name of this integration.
serviceRefreshRateInMinutes Integer
How often, in minutes, to refresh the service.
clientId This property is required. string
Client ID for an Azure service account within your project.
clientSecret This property is required. string
Client secret for an Azure service account within your project.
service
This property is required.
Changes to this property will trigger replacement.
string
A value denoting which cloud service this service integrates with.
tenant This property is required. 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 services (such as Microsoft.Compute/virtualMachines) from which to pull metrics.
forceSave boolean
Forces this resource to save, even if errors are present.
name string
The human-readable name of this integration.
serviceRefreshRateInMinutes number
How often, in minutes, to refresh the service.
client_id This property is required. str
Client ID for an Azure service account within your project.
client_secret This property is required. str
Client secret for an Azure service account within your project.
service
This property is required.
Changes to this property will trigger replacement.
str
A value denoting which cloud service this service integrates with.
tenant This property is required. 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 services (such as Microsoft.Compute/virtualMachines) from which to pull metrics.
force_save bool
Forces this resource to save, even if errors are present.
name str
The human-readable name of this integration.
service_refresh_rate_in_minutes int
How often, in minutes, to refresh the service.
clientId This property is required. String
Client ID for an Azure service account within your project.
clientSecret This property is required. String
Client secret for an Azure service account within your project.
service
This property is required.
Changes to this property will trigger replacement.
String
A value denoting which cloud service this service integrates with.
tenant This property is required. String
Tenant ID for an Azure service account within your project.
additionalTags Map<String>
A list of point tag key-values to add to every point ingested using this integration.
categoryFilters List<String>
A list of Azure services (such as Microsoft.Compute/virtualMachines) from which to pull metrics.
forceSave Boolean
Forces this resource to save, even if errors are present.
name String
The human-readable name of this integration.
serviceRefreshRateInMinutes Number
How often, in minutes, to refresh the service.

Outputs

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

Get an existing CloudIntegrationAzureActivityLog 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?: CloudIntegrationAzureActivityLogState, opts?: CustomResourceOptions): CloudIntegrationAzureActivityLog
@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,
        name: Optional[str] = None,
        service: Optional[str] = None,
        service_refresh_rate_in_minutes: Optional[int] = None,
        tenant: Optional[str] = None) -> CloudIntegrationAzureActivityLog
func GetCloudIntegrationAzureActivityLog(ctx *Context, name string, id IDInput, state *CloudIntegrationAzureActivityLogState, opts ...ResourceOption) (*CloudIntegrationAzureActivityLog, error)
public static CloudIntegrationAzureActivityLog Get(string name, Input<string> id, CloudIntegrationAzureActivityLogState? state, CustomResourceOptions? opts = null)
public static CloudIntegrationAzureActivityLog get(String name, Output<String> id, CloudIntegrationAzureActivityLogState state, CustomResourceOptions options)
resources:  _:    type: wavefront:CloudIntegrationAzureActivityLog    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 services (such as Microsoft.Compute/virtualMachines) from which to pull metrics.
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.
Name string
The human-readable name of this integration.
Service Changes to this property will trigger replacement. 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 services (such as Microsoft.Compute/virtualMachines) from which to pull metrics.
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.
Name string
The human-readable name of this integration.
Service Changes to this property will trigger replacement. 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 List<String>
A list of Azure services (such as Microsoft.Compute/virtualMachines) from which to pull metrics.
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.
name String
The human-readable name of this integration.
service Changes to this property will trigger replacement. String
A value denoting which cloud service this service integrates with.
serviceRefreshRateInMinutes Integer
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 services (such as Microsoft.Compute/virtualMachines) from which to pull metrics.
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.
name string
The human-readable name of this integration.
service Changes to this property will trigger replacement. 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 services (such as Microsoft.Compute/virtualMachines) from which to pull metrics.
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.
name str
The human-readable name of this integration.
service Changes to this property will trigger replacement. 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.
additionalTags Map<String>
A list of point tag key-values to add to every point ingested using this integration.
categoryFilters List<String>
A list of Azure services (such as Microsoft.Compute/virtualMachines) from which to pull metrics.
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.
name String
The human-readable name of this integration.
service Changes to this property will trigger replacement. 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.

Import

Azure Activity Log Cloud Integrations can be imported by using the id, e.g.:

$ pulumi import wavefront:index/cloudIntegrationAzureActivityLog:CloudIntegrationAzureActivityLog azure_al a411c16b-3cf7-4f03-bf11-8ca05aab898d
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Wavefront pulumi/pulumi-wavefront
License
Apache-2.0
Notes
This Pulumi package is based on the wavefront Terraform Provider.