1. Packages
  2. Wavefront Provider
  3. API Docs
  4. CloudIntegrationAzure
Wavefront v3.1.6 published on Thursday, Oct 31, 2024 by Pulumi

wavefront.CloudIntegrationAzure

Explore with Pulumi AI

wavefront logo
Wavefront v3.1.6 published on Thursday, Oct 31, 2024 by Pulumi

    Provides a Wavefront Cloud Integration for Microsoft Azure. This allows Azure 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",
        clientId: "client-id2",
        clientSecret: "client-secret2",
        tenant: "my-tenant2",
    });
    
    import pulumi
    import pulumi_wavefront as wavefront
    
    azure_activity_log = wavefront.CloudIntegrationAzureActivityLog("azure_activity_log",
        name="Test Integration",
        client_id="client-id2",
        client_secret="client-secret2",
        tenant="my-tenant2")
    
    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"),
    			ClientId:     pulumi.String("client-id2"),
    			ClientSecret: pulumi.String("client-secret2"),
    			Tenant:       pulumi.String("my-tenant2"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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",
            ClientId = "client-id2",
            ClientSecret = "client-secret2",
            Tenant = "my-tenant2",
        });
    
    });
    
    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")
                .clientId("client-id2")
                .clientSecret("client-secret2")
                .tenant("my-tenant2")
                .build());
    
        }
    }
    
    resources:
      azureActivityLog:
        type: wavefront:CloudIntegrationAzureActivityLog
        name: azure_activity_log
        properties:
          name: Test Integration
          clientId: client-id2
          clientSecret: client-secret2
          tenant: my-tenant2
    

    Create CloudIntegrationAzure Resource

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

    Constructor syntax

    new CloudIntegrationAzure(name: string, args: CloudIntegrationAzureArgs, opts?: CustomResourceOptions);
    @overload
    def CloudIntegrationAzure(resource_name: str,
                              args: CloudIntegrationAzureArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def CloudIntegrationAzure(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,
                              metric_filter_regex: Optional[str] = None,
                              name: Optional[str] = None,
                              resource_group_filters: Optional[Sequence[str]] = None,
                              service_refresh_rate_in_minutes: Optional[int] = None)
    func NewCloudIntegrationAzure(ctx *Context, name string, args CloudIntegrationAzureArgs, opts ...ResourceOption) (*CloudIntegrationAzure, error)
    public CloudIntegrationAzure(string name, CloudIntegrationAzureArgs args, CustomResourceOptions? opts = null)
    public CloudIntegrationAzure(String name, CloudIntegrationAzureArgs args)
    public CloudIntegrationAzure(String name, CloudIntegrationAzureArgs args, CustomResourceOptions options)
    
    type: wavefront:CloudIntegrationAzure
    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 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.
    name String
    The unique name of the resource.
    args CloudIntegrationAzureArgs
    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 cloudIntegrationAzureResource = new Wavefront.CloudIntegrationAzure("cloudIntegrationAzureResource", new()
    {
        ClientId = "string",
        ClientSecret = "string",
        Service = "string",
        Tenant = "string",
        AdditionalTags = 
        {
            { "string", "string" },
        },
        CategoryFilters = new[]
        {
            "string",
        },
        ForceSave = false,
        MetricFilterRegex = "string",
        Name = "string",
        ResourceGroupFilters = new[]
        {
            "string",
        },
        ServiceRefreshRateInMinutes = 0,
    });
    
    example, err := wavefront.NewCloudIntegrationAzure(ctx, "cloudIntegrationAzureResource", &wavefront.CloudIntegrationAzureArgs{
    	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),
    	MetricFilterRegex: pulumi.String("string"),
    	Name:              pulumi.String("string"),
    	ResourceGroupFilters: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ServiceRefreshRateInMinutes: pulumi.Int(0),
    })
    
    var cloudIntegrationAzureResource = new CloudIntegrationAzure("cloudIntegrationAzureResource", CloudIntegrationAzureArgs.builder()
        .clientId("string")
        .clientSecret("string")
        .service("string")
        .tenant("string")
        .additionalTags(Map.of("string", "string"))
        .categoryFilters("string")
        .forceSave(false)
        .metricFilterRegex("string")
        .name("string")
        .resourceGroupFilters("string")
        .serviceRefreshRateInMinutes(0)
        .build());
    
    cloud_integration_azure_resource = wavefront.CloudIntegrationAzure("cloudIntegrationAzureResource",
        client_id="string",
        client_secret="string",
        service="string",
        tenant="string",
        additional_tags={
            "string": "string",
        },
        category_filters=["string"],
        force_save=False,
        metric_filter_regex="string",
        name="string",
        resource_group_filters=["string"],
        service_refresh_rate_in_minutes=0)
    
    const cloudIntegrationAzureResource = new wavefront.CloudIntegrationAzure("cloudIntegrationAzureResource", {
        clientId: "string",
        clientSecret: "string",
        service: "string",
        tenant: "string",
        additionalTags: {
            string: "string",
        },
        categoryFilters: ["string"],
        forceSave: false,
        metricFilterRegex: "string",
        name: "string",
        resourceGroupFilters: ["string"],
        serviceRefreshRateInMinutes: 0,
    });
    
    type: wavefront:CloudIntegrationAzure
    properties:
        additionalTags:
            string: string
        categoryFilters:
            - string
        clientId: string
        clientSecret: string
        forceSave: false
        metricFilterRegex: string
        name: string
        resourceGroupFilters:
            - string
        service: string
        serviceRefreshRateInMinutes: 0
        tenant: string
    

    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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    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 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 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 List<String>
    A list of Azure resource groups from which to pull metrics.
    serviceRefreshRateInMinutes Integer
    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.
    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>
    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 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 List<String>
    A list of Azure resource groups from which to pull metrics.
    serviceRefreshRateInMinutes Number
    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 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 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)
    public static CloudIntegrationAzure get(String name, Output<String> id, CloudIntegrationAzureState 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.
    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 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 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 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 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 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.
    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 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 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 Number
    How often, in minutes, to refresh the service.
    tenant String
    Tenant ID for an Azure service account within your project.

    Import

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

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

    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.
    wavefront logo
    Wavefront v3.1.6 published on Thursday, Oct 31, 2024 by Pulumi