azure-native.elastic.TagRule
Explore with Pulumi AI
Capture logs and metrics of Azure resources based on ARM tags. Azure REST API version: 2023-06-01. Prior API version in Azure Native 1.x: 2020-07-01.
Other available API versions: 2023-06-15-preview, 2023-07-01-preview, 2023-10-01-preview, 2023-11-01-preview, 2024-01-01-preview, 2024-03-01, 2024-05-01-preview, 2024-06-15-preview, 2024-10-01-preview.
Example Usage
TagRules_CreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var tagRule = new AzureNative.Elastic.TagRule("tagRule", new()
    {
        MonitorName = "myMonitor",
        ResourceGroupName = "myResourceGroup",
        RuleSetName = "default",
    });
});
package main
import (
	elastic "github.com/pulumi/pulumi-azure-native-sdk/elastic/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := elastic.NewTagRule(ctx, "tagRule", &elastic.TagRuleArgs{
			MonitorName:       pulumi.String("myMonitor"),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			RuleSetName:       pulumi.String("default"),
		})
		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.elastic.TagRule;
import com.pulumi.azurenative.elastic.TagRuleArgs;
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 tagRule = new TagRule("tagRule", TagRuleArgs.builder()
            .monitorName("myMonitor")
            .resourceGroupName("myResourceGroup")
            .ruleSetName("default")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const tagRule = new azure_native.elastic.TagRule("tagRule", {
    monitorName: "myMonitor",
    resourceGroupName: "myResourceGroup",
    ruleSetName: "default",
});
import pulumi
import pulumi_azure_native as azure_native
tag_rule = azure_native.elastic.TagRule("tagRule",
    monitor_name="myMonitor",
    resource_group_name="myResourceGroup",
    rule_set_name="default")
resources:
  tagRule:
    type: azure-native:elastic:TagRule
    properties:
      monitorName: myMonitor
      resourceGroupName: myResourceGroup
      ruleSetName: default
Create TagRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TagRule(name: string, args: TagRuleArgs, opts?: CustomResourceOptions);@overload
def TagRule(resource_name: str,
            args: TagRuleArgs,
            opts: Optional[ResourceOptions] = None)
@overload
def TagRule(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            monitor_name: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            properties: Optional[MonitoringTagRulesPropertiesArgs] = None,
            rule_set_name: Optional[str] = None)func NewTagRule(ctx *Context, name string, args TagRuleArgs, opts ...ResourceOption) (*TagRule, error)public TagRule(string name, TagRuleArgs args, CustomResourceOptions? opts = null)
public TagRule(String name, TagRuleArgs args)
public TagRule(String name, TagRuleArgs args, CustomResourceOptions options)
type: azure-native:elastic:TagRule
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 TagRuleArgs
- 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 TagRuleArgs
- 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 TagRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TagRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TagRuleArgs
- 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 tagRuleResource = new AzureNative.Elastic.TagRule("tagRuleResource", new()
{
    MonitorName = "string",
    ResourceGroupName = "string",
    Properties = new AzureNative.Elastic.Inputs.MonitoringTagRulesPropertiesArgs
    {
        LogRules = new AzureNative.Elastic.Inputs.LogRulesArgs
        {
            FilteringTags = new[]
            {
                new AzureNative.Elastic.Inputs.FilteringTagArgs
                {
                    Action = "string",
                    Name = "string",
                    Value = "string",
                },
            },
            SendAadLogs = false,
            SendActivityLogs = false,
            SendSubscriptionLogs = false,
        },
        ProvisioningState = "string",
    },
    RuleSetName = "string",
});
example, err := elastic.NewTagRule(ctx, "tagRuleResource", &elastic.TagRuleArgs{
	MonitorName:       pulumi.String("string"),
	ResourceGroupName: pulumi.String("string"),
	Properties: &elastic.MonitoringTagRulesPropertiesArgs{
		LogRules: &elastic.LogRulesArgs{
			FilteringTags: elastic.FilteringTagArray{
				&elastic.FilteringTagArgs{
					Action: pulumi.String("string"),
					Name:   pulumi.String("string"),
					Value:  pulumi.String("string"),
				},
			},
			SendAadLogs:          pulumi.Bool(false),
			SendActivityLogs:     pulumi.Bool(false),
			SendSubscriptionLogs: pulumi.Bool(false),
		},
		ProvisioningState: pulumi.String("string"),
	},
	RuleSetName: pulumi.String("string"),
})
var tagRuleResource = new TagRule("tagRuleResource", TagRuleArgs.builder()
    .monitorName("string")
    .resourceGroupName("string")
    .properties(MonitoringTagRulesPropertiesArgs.builder()
        .logRules(LogRulesArgs.builder()
            .filteringTags(FilteringTagArgs.builder()
                .action("string")
                .name("string")
                .value("string")
                .build())
            .sendAadLogs(false)
            .sendActivityLogs(false)
            .sendSubscriptionLogs(false)
            .build())
        .provisioningState("string")
        .build())
    .ruleSetName("string")
    .build());
tag_rule_resource = azure_native.elastic.TagRule("tagRuleResource",
    monitor_name="string",
    resource_group_name="string",
    properties={
        "log_rules": {
            "filtering_tags": [{
                "action": "string",
                "name": "string",
                "value": "string",
            }],
            "send_aad_logs": False,
            "send_activity_logs": False,
            "send_subscription_logs": False,
        },
        "provisioning_state": "string",
    },
    rule_set_name="string")
const tagRuleResource = new azure_native.elastic.TagRule("tagRuleResource", {
    monitorName: "string",
    resourceGroupName: "string",
    properties: {
        logRules: {
            filteringTags: [{
                action: "string",
                name: "string",
                value: "string",
            }],
            sendAadLogs: false,
            sendActivityLogs: false,
            sendSubscriptionLogs: false,
        },
        provisioningState: "string",
    },
    ruleSetName: "string",
});
type: azure-native:elastic:TagRule
properties:
    monitorName: string
    properties:
        logRules:
            filteringTags:
                - action: string
                  name: string
                  value: string
            sendAadLogs: false
            sendActivityLogs: false
            sendSubscriptionLogs: false
        provisioningState: string
    resourceGroupName: string
    ruleSetName: string
TagRule 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 TagRule resource accepts the following input properties:
- MonitorName string
- Monitor resource name
- ResourceGroup stringName 
- The name of the resource group to which the Elastic resource belongs.
- Properties
Pulumi.Azure Native. Elastic. Inputs. Monitoring Tag Rules Properties 
- Properties of the monitoring tag rules.
- RuleSet stringName 
- Tag Rule Set resource name
- MonitorName string
- Monitor resource name
- ResourceGroup stringName 
- The name of the resource group to which the Elastic resource belongs.
- Properties
MonitoringTag Rules Properties Args 
- Properties of the monitoring tag rules.
- RuleSet stringName 
- Tag Rule Set resource name
- monitorName String
- Monitor resource name
- resourceGroup StringName 
- The name of the resource group to which the Elastic resource belongs.
- properties
MonitoringTag Rules Properties 
- Properties of the monitoring tag rules.
- ruleSet StringName 
- Tag Rule Set resource name
- monitorName string
- Monitor resource name
- resourceGroup stringName 
- The name of the resource group to which the Elastic resource belongs.
- properties
MonitoringTag Rules Properties 
- Properties of the monitoring tag rules.
- ruleSet stringName 
- Tag Rule Set resource name
- monitor_name str
- Monitor resource name
- resource_group_ strname 
- The name of the resource group to which the Elastic resource belongs.
- properties
MonitoringTag Rules Properties Args 
- Properties of the monitoring tag rules.
- rule_set_ strname 
- Tag Rule Set resource name
- monitorName String
- Monitor resource name
- resourceGroup StringName 
- The name of the resource group to which the Elastic resource belongs.
- properties Property Map
- Properties of the monitoring tag rules.
- ruleSet StringName 
- Tag Rule Set resource name
Outputs
All input properties are implicitly available as output properties. Additionally, the TagRule resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the rule set.
- SystemData Pulumi.Azure Native. Elastic. Outputs. System Data Response 
- The system metadata relating to this resource
- Type string
- The type of the rule set.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the rule set.
- SystemData SystemData Response 
- The system metadata relating to this resource
- Type string
- The type of the rule set.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the rule set.
- systemData SystemData Response 
- The system metadata relating to this resource
- type String
- The type of the rule set.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Name of the rule set.
- systemData SystemData Response 
- The system metadata relating to this resource
- type string
- The type of the rule set.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Name of the rule set.
- system_data SystemData Response 
- The system metadata relating to this resource
- type str
- The type of the rule set.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the rule set.
- systemData Property Map
- The system metadata relating to this resource
- type String
- The type of the rule set.
Supporting Types
FilteringTag, FilteringTagArgs    
- Action
string | Pulumi.Azure Native. Elastic. Tag Action 
- Valid actions for a filtering tag.
- 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.
- 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. Elastic. Inputs. Filtering Tag> 
- List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs 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.
- SendActivity boolLogs 
- Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
- SendSubscription boolLogs 
- Flag specifying if 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 SendActivityLogs 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.
- SendActivity boolLogs 
- Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
- SendSubscription boolLogs 
- Flag specifying if 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 SendActivityLogs 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.
- sendActivity BooleanLogs 
- Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
- sendSubscription BooleanLogs 
- Flag specifying if 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 SendActivityLogs 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.
- sendActivity booleanLogs 
- Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
- sendSubscription booleanLogs 
- Flag specifying if 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 SendActivityLogs 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_activity_ boollogs 
- Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
- send_subscription_ boollogs 
- Flag specifying if 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 SendActivityLogs 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.
- sendActivity BooleanLogs 
- Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
- sendSubscription BooleanLogs 
- Flag specifying if subscription logs should be sent for the Monitor resource.
LogRulesResponse, LogRulesResponseArgs      
- 
List<Pulumi.Azure Native. Elastic. Inputs. Filtering Tag Response> 
- List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs 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.
- SendActivity boolLogs 
- Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
- SendSubscription boolLogs 
- Flag specifying if 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 SendActivityLogs 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.
- SendActivity boolLogs 
- Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
- SendSubscription boolLogs 
- Flag specifying if 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 SendActivityLogs 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.
- sendActivity BooleanLogs 
- Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
- sendSubscription BooleanLogs 
- Flag specifying if 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 SendActivityLogs 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.
- sendActivity booleanLogs 
- Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
- sendSubscription booleanLogs 
- Flag specifying if 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 SendActivityLogs 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_activity_ boollogs 
- Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
- send_subscription_ boollogs 
- Flag specifying if 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 SendActivityLogs 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.
- sendActivity BooleanLogs 
- Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
- sendSubscription BooleanLogs 
- Flag specifying if subscription logs should be sent for the Monitor resource.
MonitoringTagRulesProperties, MonitoringTagRulesPropertiesArgs        
- LogRules Pulumi.Azure Native. Elastic. Inputs. Log Rules 
- Rules for sending logs.
- ProvisioningState string | Pulumi.Azure Native. Elastic. Provisioning State 
- Provisioning state of the monitoring tag rules.
- LogRules LogRules 
- Rules for sending logs.
- ProvisioningState string | ProvisioningState 
- Provisioning state of the monitoring tag rules.
- logRules LogRules 
- Rules for sending logs.
- provisioningState String | ProvisioningState 
- Provisioning state of the monitoring tag rules.
- logRules LogRules 
- Rules for sending logs.
- provisioningState string | ProvisioningState 
- Provisioning state of the monitoring tag rules.
- log_rules LogRules 
- Rules for sending logs.
- provisioning_state str | ProvisioningState 
- Provisioning state of the monitoring tag rules.
- logRules Property Map
- Rules for sending logs.
- provisioningState String | "Accepted" | "Creating" | "Updating" | "Deleting" | "Succeeded" | "Failed" | "Canceled" | "Deleted" | "NotSpecified" 
- Provisioning state of the monitoring tag rules.
MonitoringTagRulesPropertiesResponse, MonitoringTagRulesPropertiesResponseArgs          
- LogRules Pulumi.Azure Native. Elastic. Inputs. Log Rules Response 
- Rules for sending logs.
- ProvisioningState string
- Provisioning state of the monitoring tag rules.
- LogRules LogRules Response 
- Rules for sending logs.
- ProvisioningState string
- Provisioning state of the monitoring tag rules.
- logRules LogRules Response 
- Rules for sending logs.
- provisioningState String
- Provisioning state of the monitoring tag rules.
- logRules LogRules Response 
- Rules for sending logs.
- provisioningState string
- Provisioning state of the monitoring tag rules.
- log_rules LogRules Response 
- Rules for sending logs.
- provisioning_state str
- Provisioning state of the monitoring tag rules.
- logRules Property Map
- Rules for sending logs.
- provisioningState String
- Provisioning state of the monitoring tag rules.
ProvisioningState, ProvisioningStateArgs    
- Accepted
- Accepted
- Creating
- Creating
- Updating
- Updating
- Deleting
- Deleting
- Succeeded
- Succeeded
- Failed
- Failed
- Canceled
- Canceled
- Deleted
- Deleted
- NotSpecified 
- NotSpecified
- ProvisioningState Accepted 
- Accepted
- ProvisioningState Creating 
- Creating
- ProvisioningState Updating 
- Updating
- ProvisioningState Deleting 
- Deleting
- ProvisioningState Succeeded 
- Succeeded
- ProvisioningState Failed 
- Failed
- ProvisioningState Canceled 
- Canceled
- ProvisioningState Deleted 
- Deleted
- ProvisioningState Not Specified 
- NotSpecified
- Accepted
- Accepted
- Creating
- Creating
- Updating
- Updating
- Deleting
- Deleting
- Succeeded
- Succeeded
- Failed
- Failed
- Canceled
- Canceled
- Deleted
- Deleted
- NotSpecified 
- NotSpecified
- Accepted
- Accepted
- Creating
- Creating
- Updating
- Updating
- Deleting
- Deleting
- Succeeded
- Succeeded
- Failed
- Failed
- Canceled
- Canceled
- Deleted
- Deleted
- NotSpecified 
- NotSpecified
- ACCEPTED
- Accepted
- CREATING
- Creating
- UPDATING
- Updating
- DELETING
- Deleting
- SUCCEEDED
- Succeeded
- FAILED
- Failed
- CANCELED
- Canceled
- DELETED
- Deleted
- NOT_SPECIFIED
- NotSpecified
- "Accepted"
- Accepted
- "Creating"
- Creating
- "Updating"
- Updating
- "Deleting"
- Deleting
- "Succeeded"
- Succeeded
- "Failed"
- Failed
- "Canceled"
- Canceled
- "Deleted"
- Deleted
- "NotSpecified" 
- NotSpecified
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
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:elastic:TagRule default /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/tagRules/{ruleSetName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0