Want to learn about running containers in Lambda? Join our free hands-on workshop. Register Now

CloudIntegrationAzureActivityLog

Provides a Wavefront Cloud Integration for Azure Activity Logs. This allows azure activity log 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
        {
            CategoryFilters = 
            {
                "ADMINISTRATIVE",
            },
            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/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := wavefront.NewCloudIntegrationAzureActivityLog(ctx, "azureActivityLog", &wavefront.CloudIntegrationAzureActivityLogArgs{
            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
    })
}
import pulumi
import pulumi_wavefront as wavefront

azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("azureActivityLog",
    category_filters=["ADMINISTRATIVE"],
    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", {
    categoryFilters: ["ADMINISTRATIVE"],
    clientId: "client-id2",
    clientSecret: "client-secret2",
    tenant: "my-tenant2",
});

Create a CloudIntegrationAzureActivityLog Resource

def CloudIntegrationAzureActivityLog(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, name: Optional[str] = None, service: Optional[str] = None, service_refresh_rate_in_minutes: Optional[int] = None, tenant: Optional[str] = None)
name string
The unique name of the resource.
args CloudIntegrationAzureActivityLogArgs
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 CloudIntegrationAzureActivityLogArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CloudIntegrationAzureActivityLogArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

CloudIntegrationAzureActivityLog Resource Properties

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

Inputs

The CloudIntegrationAzureActivityLog 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 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 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 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 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 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 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 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

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 str
The provider-assigned unique ID for this managed resource.

Look up an Existing CloudIntegrationAzureActivityLog Resource

Get an existing CloudIntegrationAzureActivityLog 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, 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)
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 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 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 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 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 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 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

Package Details

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