azure-native.datadog.MonitoredSubscription
Explore with Pulumi AI
The request to update subscriptions needed to be monitored by the Datadog monitor resource.
Uses Azure REST API version 2023-01-01.
Other available API versions: 2023-07-07, 2023-10-20.
Example Usage
Monitors_AddMonitoredSubscriptions
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var monitoredSubscription = new AzureNative.Datadog.MonitoredSubscription("monitoredSubscription", new()
    {
        ConfigurationName = "default",
        MonitorName = "myMonitor",
        Properties = new AzureNative.Datadog.Inputs.SubscriptionListArgs
        {
            MonitoredSubscriptionList = new[]
            {
                new AzureNative.Datadog.Inputs.MonitoredSubscriptionArgs
                {
                    Status = AzureNative.Datadog.Status.Active,
                    SubscriptionId = "/subscriptions/00000000-0000-0000-0000-000000000000",
                    TagRules = new AzureNative.Datadog.Inputs.MonitoringTagRulesPropertiesArgs
                    {
                        Automuting = true,
                        LogRules = new AzureNative.Datadog.Inputs.LogRulesArgs
                        {
                            FilteringTags = new[]
                            {
                                new AzureNative.Datadog.Inputs.FilteringTagArgs
                                {
                                    Action = AzureNative.Datadog.TagAction.Include,
                                    Name = "Environment",
                                    Value = "Prod",
                                },
                                new AzureNative.Datadog.Inputs.FilteringTagArgs
                                {
                                    Action = AzureNative.Datadog.TagAction.Exclude,
                                    Name = "Environment",
                                    Value = "Dev",
                                },
                            },
                            SendAadLogs = false,
                            SendResourceLogs = true,
                            SendSubscriptionLogs = true,
                        },
                        MetricRules = new AzureNative.Datadog.Inputs.MetricRulesArgs
                        {
                            FilteringTags = new() { },
                        },
                    },
                },
                new AzureNative.Datadog.Inputs.MonitoredSubscriptionArgs
                {
                    Status = AzureNative.Datadog.Status.Failed,
                    SubscriptionId = "/subscriptions/00000000-0000-0000-0000-000000000001",
                    TagRules = new AzureNative.Datadog.Inputs.MonitoringTagRulesPropertiesArgs
                    {
                        Automuting = true,
                        LogRules = new AzureNative.Datadog.Inputs.LogRulesArgs
                        {
                            FilteringTags = new[]
                            {
                                new AzureNative.Datadog.Inputs.FilteringTagArgs
                                {
                                    Action = AzureNative.Datadog.TagAction.Include,
                                    Name = "Environment",
                                    Value = "Prod",
                                },
                                new AzureNative.Datadog.Inputs.FilteringTagArgs
                                {
                                    Action = AzureNative.Datadog.TagAction.Exclude,
                                    Name = "Environment",
                                    Value = "Dev",
                                },
                            },
                            SendAadLogs = false,
                            SendResourceLogs = true,
                            SendSubscriptionLogs = true,
                        },
                        MetricRules = new AzureNative.Datadog.Inputs.MetricRulesArgs
                        {
                            FilteringTags = new() { },
                        },
                    },
                },
            },
            Operation = AzureNative.Datadog.Operation.AddBegin,
        },
        ResourceGroupName = "myResourceGroup",
    });
});
package main
import (
	datadog "github.com/pulumi/pulumi-azure-native-sdk/datadog/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datadog.NewMonitoredSubscription(ctx, "monitoredSubscription", &datadog.MonitoredSubscriptionArgs{
			ConfigurationName: pulumi.String("default"),
			MonitorName:       pulumi.String("myMonitor"),
			Properties: &datadog.SubscriptionListArgs{
				MonitoredSubscriptionList: datadog.MonitoredSubscriptionTypeArray{
					&datadog.MonitoredSubscriptionTypeArgs{
						Status:         pulumi.String(datadog.StatusActive),
						SubscriptionId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000"),
						TagRules: &datadog.MonitoringTagRulesPropertiesArgs{
							Automuting: pulumi.Bool(true),
							LogRules: &datadog.LogRulesArgs{
								FilteringTags: datadog.FilteringTagArray{
									&datadog.FilteringTagArgs{
										Action: pulumi.String(datadog.TagActionInclude),
										Name:   pulumi.String("Environment"),
										Value:  pulumi.String("Prod"),
									},
									&datadog.FilteringTagArgs{
										Action: pulumi.String(datadog.TagActionExclude),
										Name:   pulumi.String("Environment"),
										Value:  pulumi.String("Dev"),
									},
								},
								SendAadLogs:          pulumi.Bool(false),
								SendResourceLogs:     pulumi.Bool(true),
								SendSubscriptionLogs: pulumi.Bool(true),
							},
							MetricRules: &datadog.MetricRulesArgs{
								FilteringTags: datadog.FilteringTagArray{},
							},
						},
					},
					&datadog.MonitoredSubscriptionTypeArgs{
						Status:         pulumi.String(datadog.StatusFailed),
						SubscriptionId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000001"),
						TagRules: &datadog.MonitoringTagRulesPropertiesArgs{
							Automuting: pulumi.Bool(true),
							LogRules: &datadog.LogRulesArgs{
								FilteringTags: datadog.FilteringTagArray{
									&datadog.FilteringTagArgs{
										Action: pulumi.String(datadog.TagActionInclude),
										Name:   pulumi.String("Environment"),
										Value:  pulumi.String("Prod"),
									},
									&datadog.FilteringTagArgs{
										Action: pulumi.String(datadog.TagActionExclude),
										Name:   pulumi.String("Environment"),
										Value:  pulumi.String("Dev"),
									},
								},
								SendAadLogs:          pulumi.Bool(false),
								SendResourceLogs:     pulumi.Bool(true),
								SendSubscriptionLogs: pulumi.Bool(true),
							},
							MetricRules: &datadog.MetricRulesArgs{
								FilteringTags: datadog.FilteringTagArray{},
							},
						},
					},
				},
				Operation: pulumi.String(datadog.OperationAddBegin),
			},
			ResourceGroupName: pulumi.String("myResourceGroup"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.datadog.MonitoredSubscription;
import com.pulumi.azurenative.datadog.MonitoredSubscriptionArgs;
import com.pulumi.azurenative.datadog.inputs.SubscriptionListArgs;
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 monitoredSubscription = new MonitoredSubscription("monitoredSubscription", MonitoredSubscriptionArgs.builder()
            .configurationName("default")
            .monitorName("myMonitor")
            .properties(SubscriptionListArgs.builder()
                .monitoredSubscriptionList(                
                    MonitoredSubscriptionArgs.builder()
                        .status("Active")
                        .subscriptionId("/subscriptions/00000000-0000-0000-0000-000000000000")
                        .tagRules(MonitoringTagRulesPropertiesArgs.builder()
                            .automuting(true)
                            .logRules(LogRulesArgs.builder()
                                .filteringTags(                                
                                    FilteringTagArgs.builder()
                                        .action("Include")
                                        .name("Environment")
                                        .value("Prod")
                                        .build(),
                                    FilteringTagArgs.builder()
                                        .action("Exclude")
                                        .name("Environment")
                                        .value("Dev")
                                        .build())
                                .sendAadLogs(false)
                                .sendResourceLogs(true)
                                .sendSubscriptionLogs(true)
                                .build())
                            .metricRules(MetricRulesArgs.builder()
                                .filteringTags()
                                .build())
                            .build())
                        .build(),
                    MonitoredSubscriptionArgs.builder()
                        .status("Failed")
                        .subscriptionId("/subscriptions/00000000-0000-0000-0000-000000000001")
                        .tagRules(MonitoringTagRulesPropertiesArgs.builder()
                            .automuting(true)
                            .logRules(LogRulesArgs.builder()
                                .filteringTags(                                
                                    FilteringTagArgs.builder()
                                        .action("Include")
                                        .name("Environment")
                                        .value("Prod")
                                        .build(),
                                    FilteringTagArgs.builder()
                                        .action("Exclude")
                                        .name("Environment")
                                        .value("Dev")
                                        .build())
                                .sendAadLogs(false)
                                .sendResourceLogs(true)
                                .sendSubscriptionLogs(true)
                                .build())
                            .metricRules(MetricRulesArgs.builder()
                                .filteringTags()
                                .build())
                            .build())
                        .build())
                .operation("AddBegin")
                .build())
            .resourceGroupName("myResourceGroup")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const monitoredSubscription = new azure_native.datadog.MonitoredSubscription("monitoredSubscription", {
    configurationName: "default",
    monitorName: "myMonitor",
    properties: {
        monitoredSubscriptionList: [
            {
                status: azure_native.datadog.Status.Active,
                subscriptionId: "/subscriptions/00000000-0000-0000-0000-000000000000",
                tagRules: {
                    automuting: true,
                    logRules: {
                        filteringTags: [
                            {
                                action: azure_native.datadog.TagAction.Include,
                                name: "Environment",
                                value: "Prod",
                            },
                            {
                                action: azure_native.datadog.TagAction.Exclude,
                                name: "Environment",
                                value: "Dev",
                            },
                        ],
                        sendAadLogs: false,
                        sendResourceLogs: true,
                        sendSubscriptionLogs: true,
                    },
                    metricRules: {
                        filteringTags: [],
                    },
                },
            },
            {
                status: azure_native.datadog.Status.Failed,
                subscriptionId: "/subscriptions/00000000-0000-0000-0000-000000000001",
                tagRules: {
                    automuting: true,
                    logRules: {
                        filteringTags: [
                            {
                                action: azure_native.datadog.TagAction.Include,
                                name: "Environment",
                                value: "Prod",
                            },
                            {
                                action: azure_native.datadog.TagAction.Exclude,
                                name: "Environment",
                                value: "Dev",
                            },
                        ],
                        sendAadLogs: false,
                        sendResourceLogs: true,
                        sendSubscriptionLogs: true,
                    },
                    metricRules: {
                        filteringTags: [],
                    },
                },
            },
        ],
        operation: azure_native.datadog.Operation.AddBegin,
    },
    resourceGroupName: "myResourceGroup",
});
import pulumi
import pulumi_azure_native as azure_native
monitored_subscription = azure_native.datadog.MonitoredSubscription("monitoredSubscription",
    configuration_name="default",
    monitor_name="myMonitor",
    properties={
        "monitored_subscription_list": [
            {
                "status": azure_native.datadog.Status.ACTIVE,
                "subscription_id": "/subscriptions/00000000-0000-0000-0000-000000000000",
                "tag_rules": {
                    "automuting": True,
                    "log_rules": {
                        "filtering_tags": [
                            {
                                "action": azure_native.datadog.TagAction.INCLUDE,
                                "name": "Environment",
                                "value": "Prod",
                            },
                            {
                                "action": azure_native.datadog.TagAction.EXCLUDE,
                                "name": "Environment",
                                "value": "Dev",
                            },
                        ],
                        "send_aad_logs": False,
                        "send_resource_logs": True,
                        "send_subscription_logs": True,
                    },
                    "metric_rules": {
                        "filtering_tags": [],
                    },
                },
            },
            {
                "status": azure_native.datadog.Status.FAILED,
                "subscription_id": "/subscriptions/00000000-0000-0000-0000-000000000001",
                "tag_rules": {
                    "automuting": True,
                    "log_rules": {
                        "filtering_tags": [
                            {
                                "action": azure_native.datadog.TagAction.INCLUDE,
                                "name": "Environment",
                                "value": "Prod",
                            },
                            {
                                "action": azure_native.datadog.TagAction.EXCLUDE,
                                "name": "Environment",
                                "value": "Dev",
                            },
                        ],
                        "send_aad_logs": False,
                        "send_resource_logs": True,
                        "send_subscription_logs": True,
                    },
                    "metric_rules": {
                        "filtering_tags": [],
                    },
                },
            },
        ],
        "operation": azure_native.datadog.Operation.ADD_BEGIN,
    },
    resource_group_name="myResourceGroup")
resources:
  monitoredSubscription:
    type: azure-native:datadog:MonitoredSubscription
    properties:
      configurationName: default
      monitorName: myMonitor
      properties:
        monitoredSubscriptionList:
          - status: Active
            subscriptionId: /subscriptions/00000000-0000-0000-0000-000000000000
            tagRules:
              automuting: true
              logRules:
                filteringTags:
                  - action: Include
                    name: Environment
                    value: Prod
                  - action: Exclude
                    name: Environment
                    value: Dev
                sendAadLogs: false
                sendResourceLogs: true
                sendSubscriptionLogs: true
              metricRules:
                filteringTags: []
          - status: Failed
            subscriptionId: /subscriptions/00000000-0000-0000-0000-000000000001
            tagRules:
              automuting: true
              logRules:
                filteringTags:
                  - action: Include
                    name: Environment
                    value: Prod
                  - action: Exclude
                    name: Environment
                    value: Dev
                sendAadLogs: false
                sendResourceLogs: true
                sendSubscriptionLogs: true
              metricRules:
                filteringTags: []
        operation: AddBegin
      resourceGroupName: myResourceGroup
Create MonitoredSubscription Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MonitoredSubscription(name: string, args: MonitoredSubscriptionArgs, opts?: CustomResourceOptions);@overload
def MonitoredSubscription(resource_name: str,
                          args: MonitoredSubscriptionInitArgs,
                          opts: Optional[ResourceOptions] = None)
@overload
def MonitoredSubscription(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          monitor_name: Optional[str] = None,
                          resource_group_name: Optional[str] = None,
                          configuration_name: Optional[str] = None,
                          properties: Optional[SubscriptionListArgs] = None)func NewMonitoredSubscription(ctx *Context, name string, args MonitoredSubscriptionArgs, opts ...ResourceOption) (*MonitoredSubscription, error)public MonitoredSubscription(string name, MonitoredSubscriptionArgs args, CustomResourceOptions? opts = null)
public MonitoredSubscription(String name, MonitoredSubscriptionArgs args)
public MonitoredSubscription(String name, MonitoredSubscriptionArgs args, CustomResourceOptions options)
type: azure-native:datadog:MonitoredSubscription
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 MonitoredSubscriptionArgs
- 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 MonitoredSubscriptionInitArgs
- 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 MonitoredSubscriptionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MonitoredSubscriptionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MonitoredSubscriptionArgs
- 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 monitoredSubscriptionResource = new AzureNative.Datadog.MonitoredSubscription("monitoredSubscriptionResource", new()
{
    MonitorName = "string",
    ResourceGroupName = "string",
    ConfigurationName = "string",
    Properties = new AzureNative.Datadog.Inputs.SubscriptionListArgs
    {
        MonitoredSubscriptionList = new[]
        {
            new AzureNative.Datadog.Inputs.MonitoredSubscriptionArgs
            {
                Error = "string",
                Status = "string",
                SubscriptionId = "string",
                TagRules = new AzureNative.Datadog.Inputs.MonitoringTagRulesPropertiesArgs
                {
                    Automuting = false,
                    LogRules = new AzureNative.Datadog.Inputs.LogRulesArgs
                    {
                        FilteringTags = new[]
                        {
                            new AzureNative.Datadog.Inputs.FilteringTagArgs
                            {
                                Action = "string",
                                Name = "string",
                                Value = "string",
                            },
                        },
                        SendAadLogs = false,
                        SendResourceLogs = false,
                        SendSubscriptionLogs = false,
                    },
                    MetricRules = new AzureNative.Datadog.Inputs.MetricRulesArgs
                    {
                        FilteringTags = new[]
                        {
                            new AzureNative.Datadog.Inputs.FilteringTagArgs
                            {
                                Action = "string",
                                Name = "string",
                                Value = "string",
                            },
                        },
                    },
                },
            },
        },
        Operation = "string",
    },
});
example, err := datadog.NewMonitoredSubscription(ctx, "monitoredSubscriptionResource", &datadog.MonitoredSubscriptionArgs{
	MonitorName:       pulumi.String("string"),
	ResourceGroupName: pulumi.String("string"),
	ConfigurationName: pulumi.String("string"),
	Properties: &datadog.SubscriptionListArgs{
		MonitoredSubscriptionList: datadog.MonitoredSubscriptionTypeArray{
			&datadog.MonitoredSubscriptionTypeArgs{
				Error:          pulumi.String("string"),
				Status:         pulumi.String("string"),
				SubscriptionId: pulumi.String("string"),
				TagRules: &datadog.MonitoringTagRulesPropertiesArgs{
					Automuting: pulumi.Bool(false),
					LogRules: &datadog.LogRulesArgs{
						FilteringTags: datadog.FilteringTagArray{
							&datadog.FilteringTagArgs{
								Action: pulumi.String("string"),
								Name:   pulumi.String("string"),
								Value:  pulumi.String("string"),
							},
						},
						SendAadLogs:          pulumi.Bool(false),
						SendResourceLogs:     pulumi.Bool(false),
						SendSubscriptionLogs: pulumi.Bool(false),
					},
					MetricRules: &datadog.MetricRulesArgs{
						FilteringTags: datadog.FilteringTagArray{
							&datadog.FilteringTagArgs{
								Action: pulumi.String("string"),
								Name:   pulumi.String("string"),
								Value:  pulumi.String("string"),
							},
						},
					},
				},
			},
		},
		Operation: pulumi.String("string"),
	},
})
var monitoredSubscriptionResource = new MonitoredSubscription("monitoredSubscriptionResource", MonitoredSubscriptionArgs.builder()
    .monitorName("string")
    .resourceGroupName("string")
    .configurationName("string")
    .properties(SubscriptionListArgs.builder()
        .monitoredSubscriptionList(MonitoredSubscriptionArgs.builder()
            .error("string")
            .status("string")
            .subscriptionId("string")
            .tagRules(MonitoringTagRulesPropertiesArgs.builder()
                .automuting(false)
                .logRules(LogRulesArgs.builder()
                    .filteringTags(FilteringTagArgs.builder()
                        .action("string")
                        .name("string")
                        .value("string")
                        .build())
                    .sendAadLogs(false)
                    .sendResourceLogs(false)
                    .sendSubscriptionLogs(false)
                    .build())
                .metricRules(MetricRulesArgs.builder()
                    .filteringTags(FilteringTagArgs.builder()
                        .action("string")
                        .name("string")
                        .value("string")
                        .build())
                    .build())
                .build())
            .build())
        .operation("string")
        .build())
    .build());
monitored_subscription_resource = azure_native.datadog.MonitoredSubscription("monitoredSubscriptionResource",
    monitor_name="string",
    resource_group_name="string",
    configuration_name="string",
    properties={
        "monitored_subscription_list": [{
            "error": "string",
            "status": "string",
            "subscription_id": "string",
            "tag_rules": {
                "automuting": False,
                "log_rules": {
                    "filtering_tags": [{
                        "action": "string",
                        "name": "string",
                        "value": "string",
                    }],
                    "send_aad_logs": False,
                    "send_resource_logs": False,
                    "send_subscription_logs": False,
                },
                "metric_rules": {
                    "filtering_tags": [{
                        "action": "string",
                        "name": "string",
                        "value": "string",
                    }],
                },
            },
        }],
        "operation": "string",
    })
const monitoredSubscriptionResource = new azure_native.datadog.MonitoredSubscription("monitoredSubscriptionResource", {
    monitorName: "string",
    resourceGroupName: "string",
    configurationName: "string",
    properties: {
        monitoredSubscriptionList: [{
            error: "string",
            status: "string",
            subscriptionId: "string",
            tagRules: {
                automuting: false,
                logRules: {
                    filteringTags: [{
                        action: "string",
                        name: "string",
                        value: "string",
                    }],
                    sendAadLogs: false,
                    sendResourceLogs: false,
                    sendSubscriptionLogs: false,
                },
                metricRules: {
                    filteringTags: [{
                        action: "string",
                        name: "string",
                        value: "string",
                    }],
                },
            },
        }],
        operation: "string",
    },
});
type: azure-native:datadog:MonitoredSubscription
properties:
    configurationName: string
    monitorName: string
    properties:
        monitoredSubscriptionList:
            - error: string
              status: string
              subscriptionId: string
              tagRules:
                automuting: false
                logRules:
                    filteringTags:
                        - action: string
                          name: string
                          value: string
                    sendAadLogs: false
                    sendResourceLogs: false
                    sendSubscriptionLogs: false
                metricRules:
                    filteringTags:
                        - action: string
                          name: string
                          value: string
        operation: string
    resourceGroupName: string
MonitoredSubscription 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 MonitoredSubscription resource accepts the following input properties:
- MonitorName string
- Monitor resource name
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ConfigurationName string
- The configuration name. Only 'default' value is supported.
- Properties
Pulumi.Azure Native. Datadog. Inputs. Subscription List 
- The request to update subscriptions needed to be monitored by the Datadog monitor resource.
- MonitorName string
- Monitor resource name
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ConfigurationName string
- The configuration name. Only 'default' value is supported.
- Properties
SubscriptionList Args 
- The request to update subscriptions needed to be monitored by the Datadog monitor resource.
- monitorName String
- Monitor resource name
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- configurationName String
- The configuration name. Only 'default' value is supported.
- properties
SubscriptionList 
- The request to update subscriptions needed to be monitored by the Datadog monitor resource.
- monitorName string
- Monitor resource name
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- configurationName string
- The configuration name. Only 'default' value is supported.
- properties
SubscriptionList 
- The request to update subscriptions needed to be monitored by the Datadog monitor resource.
- monitor_name str
- Monitor resource name
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- configuration_name str
- The configuration name. Only 'default' value is supported.
- properties
SubscriptionList Args 
- The request to update subscriptions needed to be monitored by the Datadog monitor resource.
- monitorName String
- Monitor resource name
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- configurationName String
- The configuration name. Only 'default' value is supported.
- properties Property Map
- The request to update subscriptions needed to be monitored by the Datadog monitor resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the MonitoredSubscription resource produces the following output properties:
Supporting Types
FilteringTag, FilteringTagArgs    
- Action
string | Pulumi.Azure Native. Datadog. Tag Action 
- Valid actions for a filtering tag. Exclusion takes priority over inclusion.
- Name string
- The name (also known as the key) of the tag.
- Value string
- The value of the tag.
- action String | "Include" | "Exclude"
- Valid actions for a filtering tag. Exclusion takes priority over inclusion.
- name String
- The name (also known as the key) of the tag.
- value String
- The value of the tag.
FilteringTagResponse, FilteringTagResponseArgs      
LogRules, LogRulesArgs    
- 
List<Pulumi.Azure Native. Datadog. Inputs. Filtering Tag> 
- List of filtering tags to be used for capturing logs. This only takes effect if SendResourceLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
- SendAad boolLogs 
- Flag specifying if AAD logs should be sent for the Monitor resource.
- SendResource boolLogs 
- Flag specifying if Azure resource logs should be sent for the Monitor resource.
- SendSubscription boolLogs 
- Flag specifying if Azure subscription logs should be sent for the Monitor resource.
- 
[]FilteringTag 
- List of filtering tags to be used for capturing logs. This only takes effect if SendResourceLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
- SendAad boolLogs 
- Flag specifying if AAD logs should be sent for the Monitor resource.
- SendResource boolLogs 
- Flag specifying if Azure resource logs should be sent for the Monitor resource.
- SendSubscription boolLogs 
- Flag specifying if Azure subscription logs should be sent for the Monitor resource.
- 
List<FilteringTag> 
- List of filtering tags to be used for capturing logs. This only takes effect if SendResourceLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
- sendAad BooleanLogs 
- Flag specifying if AAD logs should be sent for the Monitor resource.
- sendResource BooleanLogs 
- Flag specifying if Azure resource logs should be sent for the Monitor resource.
- sendSubscription BooleanLogs 
- Flag specifying if Azure subscription logs should be sent for the Monitor resource.
- 
FilteringTag[] 
- List of filtering tags to be used for capturing logs. This only takes effect if SendResourceLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
- sendAad booleanLogs 
- Flag specifying if AAD logs should be sent for the Monitor resource.
- sendResource booleanLogs 
- Flag specifying if Azure resource logs should be sent for the Monitor resource.
- sendSubscription booleanLogs 
- Flag specifying if Azure subscription logs should be sent for the Monitor resource.
- 
Sequence[FilteringTag] 
- List of filtering tags to be used for capturing logs. This only takes effect if SendResourceLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
- send_aad_ boollogs 
- Flag specifying if AAD logs should be sent for the Monitor resource.
- send_resource_ boollogs 
- Flag specifying if Azure resource logs should be sent for the Monitor resource.
- send_subscription_ boollogs 
- Flag specifying if Azure subscription logs should be sent for the Monitor resource.
- List<Property Map>
- List of filtering tags to be used for capturing logs. This only takes effect if SendResourceLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
- sendAad BooleanLogs 
- Flag specifying if AAD logs should be sent for the Monitor resource.
- sendResource BooleanLogs 
- Flag specifying if Azure resource logs should be sent for the Monitor resource.
- sendSubscription BooleanLogs 
- Flag specifying if Azure subscription logs should be sent for the Monitor resource.
LogRulesResponse, LogRulesResponseArgs      
- 
List<Pulumi.Azure Native. Datadog. Inputs. Filtering Tag Response> 
- List of filtering tags to be used for capturing logs. This only takes effect if SendResourceLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
- SendAad boolLogs 
- Flag specifying if AAD logs should be sent for the Monitor resource.
- SendResource boolLogs 
- Flag specifying if Azure resource logs should be sent for the Monitor resource.
- SendSubscription boolLogs 
- Flag specifying if Azure subscription logs should be sent for the Monitor resource.
- 
[]FilteringTag Response 
- List of filtering tags to be used for capturing logs. This only takes effect if SendResourceLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
- SendAad boolLogs 
- Flag specifying if AAD logs should be sent for the Monitor resource.
- SendResource boolLogs 
- Flag specifying if Azure resource logs should be sent for the Monitor resource.
- SendSubscription boolLogs 
- Flag specifying if Azure subscription logs should be sent for the Monitor resource.
- 
List<FilteringTag Response> 
- List of filtering tags to be used for capturing logs. This only takes effect if SendResourceLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
- sendAad BooleanLogs 
- Flag specifying if AAD logs should be sent for the Monitor resource.
- sendResource BooleanLogs 
- Flag specifying if Azure resource logs should be sent for the Monitor resource.
- sendSubscription BooleanLogs 
- Flag specifying if Azure subscription logs should be sent for the Monitor resource.
- 
FilteringTag Response[] 
- List of filtering tags to be used for capturing logs. This only takes effect if SendResourceLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
- sendAad booleanLogs 
- Flag specifying if AAD logs should be sent for the Monitor resource.
- sendResource booleanLogs 
- Flag specifying if Azure resource logs should be sent for the Monitor resource.
- sendSubscription booleanLogs 
- Flag specifying if Azure subscription logs should be sent for the Monitor resource.
- 
Sequence[FilteringTag Response] 
- List of filtering tags to be used for capturing logs. This only takes effect if SendResourceLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
- send_aad_ boollogs 
- Flag specifying if AAD logs should be sent for the Monitor resource.
- send_resource_ boollogs 
- Flag specifying if Azure resource logs should be sent for the Monitor resource.
- send_subscription_ boollogs 
- Flag specifying if Azure subscription logs should be sent for the Monitor resource.
- List<Property Map>
- List of filtering tags to be used for capturing logs. This only takes effect if SendResourceLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
- sendAad BooleanLogs 
- Flag specifying if AAD logs should be sent for the Monitor resource.
- sendResource BooleanLogs 
- Flag specifying if Azure resource logs should be sent for the Monitor resource.
- sendSubscription BooleanLogs 
- Flag specifying if Azure subscription logs should be sent for the Monitor resource.
MetricRules, MetricRulesArgs    
- 
List<Pulumi.Azure Native. Datadog. Inputs. Filtering Tag> 
- List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
- 
[]FilteringTag 
- List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
- 
List<FilteringTag> 
- List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
- 
FilteringTag[] 
- List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
- 
Sequence[FilteringTag] 
- List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
- List<Property Map>
- List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
MetricRulesResponse, MetricRulesResponseArgs      
- 
List<Pulumi.Azure Native. Datadog. Inputs. Filtering Tag Response> 
- List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
- 
[]FilteringTag Response 
- List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
- 
List<FilteringTag Response> 
- List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
- 
FilteringTag Response[] 
- List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
- 
Sequence[FilteringTag Response] 
- List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
- List<Property Map>
- List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
MonitoredSubscription, MonitoredSubscriptionArgs    
- Error string
- The reason of not monitoring the subscription.
- Status
string | Pulumi.Azure Native. Datadog. Status 
- The state of monitoring.
- SubscriptionId string
- The subscriptionId to be monitored.
- TagRules Pulumi.Azure Native. Datadog. Inputs. Monitoring Tag Rules Properties 
- Definition of the properties for a TagRules resource.
- Error string
- The reason of not monitoring the subscription.
- Status string | Status
- The state of monitoring.
- SubscriptionId string
- The subscriptionId to be monitored.
- TagRules MonitoringTag Rules Properties 
- Definition of the properties for a TagRules resource.
- error String
- The reason of not monitoring the subscription.
- status String | Status
- The state of monitoring.
- subscriptionId String
- The subscriptionId to be monitored.
- tagRules MonitoringTag Rules Properties 
- Definition of the properties for a TagRules resource.
- error string
- The reason of not monitoring the subscription.
- status string | Status
- The state of monitoring.
- subscriptionId string
- The subscriptionId to be monitored.
- tagRules MonitoringTag Rules Properties 
- Definition of the properties for a TagRules resource.
- error str
- The reason of not monitoring the subscription.
- status str | Status
- The state of monitoring.
- subscription_id str
- The subscriptionId to be monitored.
- tag_rules MonitoringTag Rules Properties 
- Definition of the properties for a TagRules resource.
- error String
- The reason of not monitoring the subscription.
- status
String | "InProgress" | "Active" | "Failed" | "Deleting" 
- The state of monitoring.
- subscriptionId String
- The subscriptionId to be monitored.
- tagRules Property Map
- Definition of the properties for a TagRules resource.
MonitoredSubscriptionResponse, MonitoredSubscriptionResponseArgs      
- Error string
- The reason of not monitoring the subscription.
- Status string
- The state of monitoring.
- SubscriptionId string
- The subscriptionId to be monitored.
- TagRules Pulumi.Azure Native. Datadog. Inputs. Monitoring Tag Rules Properties Response 
- Definition of the properties for a TagRules resource.
- Error string
- The reason of not monitoring the subscription.
- Status string
- The state of monitoring.
- SubscriptionId string
- The subscriptionId to be monitored.
- TagRules MonitoringTag Rules Properties Response 
- Definition of the properties for a TagRules resource.
- error String
- The reason of not monitoring the subscription.
- status String
- The state of monitoring.
- subscriptionId String
- The subscriptionId to be monitored.
- tagRules MonitoringTag Rules Properties Response 
- Definition of the properties for a TagRules resource.
- error string
- The reason of not monitoring the subscription.
- status string
- The state of monitoring.
- subscriptionId string
- The subscriptionId to be monitored.
- tagRules MonitoringTag Rules Properties Response 
- Definition of the properties for a TagRules resource.
- error str
- The reason of not monitoring the subscription.
- status str
- The state of monitoring.
- subscription_id str
- The subscriptionId to be monitored.
- tag_rules MonitoringTag Rules Properties Response 
- Definition of the properties for a TagRules resource.
- error String
- The reason of not monitoring the subscription.
- status String
- The state of monitoring.
- subscriptionId String
- The subscriptionId to be monitored.
- tagRules Property Map
- Definition of the properties for a TagRules resource.
MonitoringTagRulesProperties, MonitoringTagRulesPropertiesArgs        
- Automuting bool
- Configuration to enable/disable auto-muting flag
- LogRules Pulumi.Azure Native. Datadog. Inputs. Log Rules 
- Set of rules for sending logs for the Monitor resource.
- MetricRules Pulumi.Azure Native. Datadog. Inputs. Metric Rules 
- Set of rules for sending metrics for the Monitor resource.
- Automuting bool
- Configuration to enable/disable auto-muting flag
- LogRules LogRules 
- Set of rules for sending logs for the Monitor resource.
- MetricRules MetricRules 
- Set of rules for sending metrics for the Monitor resource.
- automuting Boolean
- Configuration to enable/disable auto-muting flag
- logRules LogRules 
- Set of rules for sending logs for the Monitor resource.
- metricRules MetricRules 
- Set of rules for sending metrics for the Monitor resource.
- automuting boolean
- Configuration to enable/disable auto-muting flag
- logRules LogRules 
- Set of rules for sending logs for the Monitor resource.
- metricRules MetricRules 
- Set of rules for sending metrics for the Monitor resource.
- automuting bool
- Configuration to enable/disable auto-muting flag
- log_rules LogRules 
- Set of rules for sending logs for the Monitor resource.
- metric_rules MetricRules 
- Set of rules for sending metrics for the Monitor resource.
- automuting Boolean
- Configuration to enable/disable auto-muting flag
- logRules Property Map
- Set of rules for sending logs for the Monitor resource.
- metricRules Property Map
- Set of rules for sending metrics for the Monitor resource.
MonitoringTagRulesPropertiesResponse, MonitoringTagRulesPropertiesResponseArgs          
- ProvisioningState string
- Automuting bool
- Configuration to enable/disable auto-muting flag
- LogRules Pulumi.Azure Native. Datadog. Inputs. Log Rules Response 
- Set of rules for sending logs for the Monitor resource.
- MetricRules Pulumi.Azure Native. Datadog. Inputs. Metric Rules Response 
- Set of rules for sending metrics for the Monitor resource.
- ProvisioningState string
- Automuting bool
- Configuration to enable/disable auto-muting flag
- LogRules LogRules Response 
- Set of rules for sending logs for the Monitor resource.
- MetricRules MetricRules Response 
- Set of rules for sending metrics for the Monitor resource.
- provisioningState String
- automuting Boolean
- Configuration to enable/disable auto-muting flag
- logRules LogRules Response 
- Set of rules for sending logs for the Monitor resource.
- metricRules MetricRules Response 
- Set of rules for sending metrics for the Monitor resource.
- provisioningState string
- automuting boolean
- Configuration to enable/disable auto-muting flag
- logRules LogRules Response 
- Set of rules for sending logs for the Monitor resource.
- metricRules MetricRules Response 
- Set of rules for sending metrics for the Monitor resource.
- provisioning_state str
- automuting bool
- Configuration to enable/disable auto-muting flag
- log_rules LogRules Response 
- Set of rules for sending logs for the Monitor resource.
- metric_rules MetricRules Response 
- Set of rules for sending metrics for the Monitor resource.
- provisioningState String
- automuting Boolean
- Configuration to enable/disable auto-muting flag
- logRules Property Map
- Set of rules for sending logs for the Monitor resource.
- metricRules Property Map
- Set of rules for sending metrics for the Monitor resource.
Operation, OperationArgs  
- AddBegin 
- AddBegin
- AddComplete 
- AddComplete
- DeleteBegin 
- DeleteBegin
- DeleteComplete 
- DeleteComplete
- Active
- Active
- OperationAdd Begin 
- AddBegin
- OperationAdd Complete 
- AddComplete
- OperationDelete Begin 
- DeleteBegin
- OperationDelete Complete 
- DeleteComplete
- OperationActive 
- Active
- AddBegin 
- AddBegin
- AddComplete 
- AddComplete
- DeleteBegin 
- DeleteBegin
- DeleteComplete 
- DeleteComplete
- Active
- Active
- AddBegin 
- AddBegin
- AddComplete 
- AddComplete
- DeleteBegin 
- DeleteBegin
- DeleteComplete 
- DeleteComplete
- Active
- Active
- ADD_BEGIN
- AddBegin
- ADD_COMPLETE
- AddComplete
- DELETE_BEGIN
- DeleteBegin
- DELETE_COMPLETE
- DeleteComplete
- ACTIVE
- Active
- "AddBegin" 
- AddBegin
- "AddComplete" 
- AddComplete
- "DeleteBegin" 
- DeleteBegin
- "DeleteComplete" 
- DeleteComplete
- "Active"
- Active
Status, StatusArgs  
- InProgress 
- InProgress
- Active
- Active
- Failed
- Failed
- Deleting
- Deleting
- StatusIn Progress 
- InProgress
- StatusActive 
- Active
- StatusFailed 
- Failed
- StatusDeleting 
- Deleting
- InProgress 
- InProgress
- Active
- Active
- Failed
- Failed
- Deleting
- Deleting
- InProgress 
- InProgress
- Active
- Active
- Failed
- Failed
- Deleting
- Deleting
- IN_PROGRESS
- InProgress
- ACTIVE
- Active
- FAILED
- Failed
- DELETING
- Deleting
- "InProgress" 
- InProgress
- "Active"
- Active
- "Failed"
- Failed
- "Deleting"
- Deleting
SubscriptionList, SubscriptionListArgs    
- MonitoredSubscription List<Pulumi.List Azure Native. Datadog. Inputs. Monitored Subscription> 
- List of subscriptions and the state of the monitoring.
- Operation
string | Pulumi.Azure Native. Datadog. Operation 
- The operation for the patch on the resource.
- MonitoredSubscription []MonitoredList Subscription Type 
- List of subscriptions and the state of the monitoring.
- Operation string | Operation
- The operation for the patch on the resource.
- monitoredSubscription List<MonitoredList Subscription> 
- List of subscriptions and the state of the monitoring.
- operation String | Operation
- The operation for the patch on the resource.
- monitoredSubscription MonitoredList Subscription[] 
- List of subscriptions and the state of the monitoring.
- operation string | Operation
- The operation for the patch on the resource.
- monitored_subscription_ Sequence[Monitoredlist Subscription] 
- List of subscriptions and the state of the monitoring.
- operation str | Operation
- The operation for the patch on the resource.
- monitoredSubscription List<Property Map>List 
- List of subscriptions and the state of the monitoring.
- operation
String | "AddBegin" | "Add Complete" | "Delete Begin" | "Delete Complete" | "Active" 
- The operation for the patch on the resource.
SubscriptionListResponse, SubscriptionListResponseArgs      
- MonitoredSubscription List<Pulumi.List Azure Native. Datadog. Inputs. Monitored Subscription Response> 
- List of subscriptions and the state of the monitoring.
- MonitoredSubscription []MonitoredList Subscription Response 
- List of subscriptions and the state of the monitoring.
- monitoredSubscription List<MonitoredList Subscription Response> 
- List of subscriptions and the state of the monitoring.
- monitoredSubscription MonitoredList Subscription Response[] 
- List of subscriptions and the state of the monitoring.
- monitored_subscription_ Sequence[Monitoredlist Subscription Response] 
- List of subscriptions and the state of the monitoring.
- monitoredSubscription List<Property Map>List 
- List of subscriptions and the state of the monitoring.
TagAction, TagActionArgs    
- Include
- Include
- Exclude
- Exclude
- TagAction Include 
- Include
- TagAction Exclude 
- Exclude
- Include
- Include
- Exclude
- Exclude
- Include
- Include
- Exclude
- Exclude
- INCLUDE
- Include
- EXCLUDE
- Exclude
- "Include"
- Include
- "Exclude"
- Exclude
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:datadog:MonitoredSubscription default /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/monitoredSubscriptions/{configurationName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0