1. Packages
  2. Azure Native
  3. API Docs
  4. logz
  5. SubAccountTagRule
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.logz.SubAccountTagRule

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

    Capture logs and metrics of Azure resources based on ARM tags. Azure REST API version: 2022-01-01-preview. Prior API version in Azure Native 1.x: 2020-10-01.

    Example Usage

    SubAccountTagRules_CreateOrUpdate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var subAccountTagRule = new AzureNative.Logz.SubAccountTagRule("subAccountTagRule", new()
        {
            MonitorName = "myMonitor",
            ResourceGroupName = "myResourceGroup",
            RuleSetName = "default",
            SubAccountName = "SubAccount1",
        });
    
    });
    
    package main
    
    import (
    	logz "github.com/pulumi/pulumi-azure-native-sdk/logz/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := logz.NewSubAccountTagRule(ctx, "subAccountTagRule", &logz.SubAccountTagRuleArgs{
    			MonitorName:       pulumi.String("myMonitor"),
    			ResourceGroupName: pulumi.String("myResourceGroup"),
    			RuleSetName:       pulumi.String("default"),
    			SubAccountName:    pulumi.String("SubAccount1"),
    		})
    		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.logz.SubAccountTagRule;
    import com.pulumi.azurenative.logz.SubAccountTagRuleArgs;
    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 subAccountTagRule = new SubAccountTagRule("subAccountTagRule", SubAccountTagRuleArgs.builder()
                .monitorName("myMonitor")
                .resourceGroupName("myResourceGroup")
                .ruleSetName("default")
                .subAccountName("SubAccount1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    sub_account_tag_rule = azure_native.logz.SubAccountTagRule("subAccountTagRule",
        monitor_name="myMonitor",
        resource_group_name="myResourceGroup",
        rule_set_name="default",
        sub_account_name="SubAccount1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const subAccountTagRule = new azure_native.logz.SubAccountTagRule("subAccountTagRule", {
        monitorName: "myMonitor",
        resourceGroupName: "myResourceGroup",
        ruleSetName: "default",
        subAccountName: "SubAccount1",
    });
    
    resources:
      subAccountTagRule:
        type: azure-native:logz:SubAccountTagRule
        properties:
          monitorName: myMonitor
          resourceGroupName: myResourceGroup
          ruleSetName: default
          subAccountName: SubAccount1
    

    Create SubAccountTagRule Resource

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

    Constructor syntax

    new SubAccountTagRule(name: string, args: SubAccountTagRuleArgs, opts?: CustomResourceOptions);
    @overload
    def SubAccountTagRule(resource_name: str,
                          args: SubAccountTagRuleArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def SubAccountTagRule(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          monitor_name: Optional[str] = None,
                          resource_group_name: Optional[str] = None,
                          sub_account_name: Optional[str] = None,
                          properties: Optional[MonitoringTagRulesPropertiesArgs] = None,
                          rule_set_name: Optional[str] = None)
    func NewSubAccountTagRule(ctx *Context, name string, args SubAccountTagRuleArgs, opts ...ResourceOption) (*SubAccountTagRule, error)
    public SubAccountTagRule(string name, SubAccountTagRuleArgs args, CustomResourceOptions? opts = null)
    public SubAccountTagRule(String name, SubAccountTagRuleArgs args)
    public SubAccountTagRule(String name, SubAccountTagRuleArgs args, CustomResourceOptions options)
    
    type: azure-native:logz:SubAccountTagRule
    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 SubAccountTagRuleArgs
    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 SubAccountTagRuleArgs
    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 SubAccountTagRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SubAccountTagRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SubAccountTagRuleArgs
    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 subAccountTagRuleResource = new AzureNative.Logz.SubAccountTagRule("subAccountTagRuleResource", new()
    {
        MonitorName = "string",
        ResourceGroupName = "string",
        SubAccountName = "string",
        Properties = new AzureNative.Logz.Inputs.MonitoringTagRulesPropertiesArgs
        {
            LogRules = new AzureNative.Logz.Inputs.LogRulesArgs
            {
                FilteringTags = new[]
                {
                    new AzureNative.Logz.Inputs.FilteringTagArgs
                    {
                        Action = "string",
                        Name = "string",
                        Value = "string",
                    },
                },
                SendAadLogs = false,
                SendActivityLogs = false,
                SendSubscriptionLogs = false,
            },
        },
        RuleSetName = "string",
    });
    
    example, err := logz.NewSubAccountTagRule(ctx, "subAccountTagRuleResource", &logz.SubAccountTagRuleArgs{
    	MonitorName:       pulumi.String("string"),
    	ResourceGroupName: pulumi.String("string"),
    	SubAccountName:    pulumi.String("string"),
    	Properties: &logz.MonitoringTagRulesPropertiesArgs{
    		LogRules: &logz.LogRulesArgs{
    			FilteringTags: logz.FilteringTagArray{
    				&logz.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),
    		},
    	},
    	RuleSetName: pulumi.String("string"),
    })
    
    var subAccountTagRuleResource = new SubAccountTagRule("subAccountTagRuleResource", SubAccountTagRuleArgs.builder()
        .monitorName("string")
        .resourceGroupName("string")
        .subAccountName("string")
        .properties(MonitoringTagRulesPropertiesArgs.builder()
            .logRules(LogRulesArgs.builder()
                .filteringTags(FilteringTagArgs.builder()
                    .action("string")
                    .name("string")
                    .value("string")
                    .build())
                .sendAadLogs(false)
                .sendActivityLogs(false)
                .sendSubscriptionLogs(false)
                .build())
            .build())
        .ruleSetName("string")
        .build());
    
    sub_account_tag_rule_resource = azure_native.logz.SubAccountTagRule("subAccountTagRuleResource",
        monitor_name="string",
        resource_group_name="string",
        sub_account_name="string",
        properties={
            "logRules": {
                "filteringTags": [{
                    "action": "string",
                    "name": "string",
                    "value": "string",
                }],
                "sendAadLogs": False,
                "sendActivityLogs": False,
                "sendSubscriptionLogs": False,
            },
        },
        rule_set_name="string")
    
    const subAccountTagRuleResource = new azure_native.logz.SubAccountTagRule("subAccountTagRuleResource", {
        monitorName: "string",
        resourceGroupName: "string",
        subAccountName: "string",
        properties: {
            logRules: {
                filteringTags: [{
                    action: "string",
                    name: "string",
                    value: "string",
                }],
                sendAadLogs: false,
                sendActivityLogs: false,
                sendSubscriptionLogs: false,
            },
        },
        ruleSetName: "string",
    });
    
    type: azure-native:logz:SubAccountTagRule
    properties:
        monitorName: string
        properties:
            logRules:
                filteringTags:
                    - action: string
                      name: string
                      value: string
                sendAadLogs: false
                sendActivityLogs: false
                sendSubscriptionLogs: false
        resourceGroupName: string
        ruleSetName: string
        subAccountName: string
    

    SubAccountTagRule Resource Properties

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

    Inputs

    The SubAccountTagRule resource accepts the following input properties:

    MonitorName string
    Monitor resource name
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    SubAccountName string
    Sub Account resource name
    Properties Pulumi.AzureNative.Logz.Inputs.MonitoringTagRulesProperties
    Definition of the properties for a TagRules resource.
    RuleSetName string
    MonitorName string
    Monitor resource name
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    SubAccountName string
    Sub Account resource name
    Properties MonitoringTagRulesPropertiesArgs
    Definition of the properties for a TagRules resource.
    RuleSetName string
    monitorName String
    Monitor resource name
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    subAccountName String
    Sub Account resource name
    properties MonitoringTagRulesProperties
    Definition of the properties for a TagRules resource.
    ruleSetName String
    monitorName string
    Monitor resource name
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    subAccountName string
    Sub Account resource name
    properties MonitoringTagRulesProperties
    Definition of the properties for a TagRules resource.
    ruleSetName string
    monitor_name str
    Monitor resource name
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    sub_account_name str
    Sub Account resource name
    properties MonitoringTagRulesPropertiesArgs
    Definition of the properties for a TagRules resource.
    rule_set_name str
    monitorName String
    Monitor resource name
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    subAccountName String
    Sub Account resource name
    properties Property Map
    Definition of the properties for a TagRules resource.
    ruleSetName String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SubAccountTagRule 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.AzureNative.Logz.Outputs.SystemDataResponse
    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 SystemDataResponse
    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 SystemDataResponse
    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 SystemDataResponse
    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 SystemDataResponse
    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.AzureNative.Logz.TagAction
    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 | TagAction
    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 | TagAction
    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 | TagAction
    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 str | TagAction
    Valid actions for a filtering tag. Exclusion takes priority over inclusion.
    name str
    The name (also known as the key) of the tag.
    value str
    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

    Action string
    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
    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
    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
    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 str
    Valid actions for a filtering tag. Exclusion takes priority over inclusion.
    name str
    The name (also known as the key) of the tag.
    value str
    The value of the tag.
    action String
    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.

    LogRules, LogRulesArgs

    FilteringTags List<Pulumi.AzureNative.Logz.Inputs.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.
    SendAadLogs bool
    Flag specifying if AAD logs should be sent for the Monitor resource.
    SendActivityLogs bool
    Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
    SendSubscriptionLogs bool
    Flag specifying if subscription logs should be sent for the Monitor resource.
    FilteringTags []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.
    SendAadLogs bool
    Flag specifying if AAD logs should be sent for the Monitor resource.
    SendActivityLogs bool
    Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
    SendSubscriptionLogs bool
    Flag specifying if subscription logs should be sent for the Monitor resource.
    filteringTags 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.
    sendAadLogs Boolean
    Flag specifying if AAD logs should be sent for the Monitor resource.
    sendActivityLogs Boolean
    Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
    sendSubscriptionLogs Boolean
    Flag specifying if subscription logs should be sent for the Monitor resource.
    filteringTags 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.
    sendAadLogs boolean
    Flag specifying if AAD logs should be sent for the Monitor resource.
    sendActivityLogs boolean
    Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
    sendSubscriptionLogs boolean
    Flag specifying if subscription logs should be sent for the Monitor resource.
    filtering_tags 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_logs bool
    Flag specifying if AAD logs should be sent for the Monitor resource.
    send_activity_logs bool
    Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
    send_subscription_logs bool
    Flag specifying if subscription logs should be sent for the Monitor resource.
    filteringTags 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.
    sendAadLogs Boolean
    Flag specifying if AAD logs should be sent for the Monitor resource.
    sendActivityLogs Boolean
    Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
    sendSubscriptionLogs Boolean
    Flag specifying if subscription logs should be sent for the Monitor resource.

    LogRulesResponse, LogRulesResponseArgs

    FilteringTags List<Pulumi.AzureNative.Logz.Inputs.FilteringTagResponse>
    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.
    SendAadLogs bool
    Flag specifying if AAD logs should be sent for the Monitor resource.
    SendActivityLogs bool
    Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
    SendSubscriptionLogs bool
    Flag specifying if subscription logs should be sent for the Monitor resource.
    FilteringTags []FilteringTagResponse
    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.
    SendAadLogs bool
    Flag specifying if AAD logs should be sent for the Monitor resource.
    SendActivityLogs bool
    Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
    SendSubscriptionLogs bool
    Flag specifying if subscription logs should be sent for the Monitor resource.
    filteringTags List<FilteringTagResponse>
    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.
    sendAadLogs Boolean
    Flag specifying if AAD logs should be sent for the Monitor resource.
    sendActivityLogs Boolean
    Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
    sendSubscriptionLogs Boolean
    Flag specifying if subscription logs should be sent for the Monitor resource.
    filteringTags FilteringTagResponse[]
    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.
    sendAadLogs boolean
    Flag specifying if AAD logs should be sent for the Monitor resource.
    sendActivityLogs boolean
    Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
    sendSubscriptionLogs boolean
    Flag specifying if subscription logs should be sent for the Monitor resource.
    filtering_tags Sequence[FilteringTagResponse]
    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_logs bool
    Flag specifying if AAD logs should be sent for the Monitor resource.
    send_activity_logs bool
    Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
    send_subscription_logs bool
    Flag specifying if subscription logs should be sent for the Monitor resource.
    filteringTags 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.
    sendAadLogs Boolean
    Flag specifying if AAD logs should be sent for the Monitor resource.
    sendActivityLogs Boolean
    Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
    sendSubscriptionLogs Boolean
    Flag specifying if subscription logs should be sent for the Monitor resource.

    MonitoringTagRulesProperties, MonitoringTagRulesPropertiesArgs

    LogRules Pulumi.AzureNative.Logz.Inputs.LogRules
    Set of rules for sending logs for the Monitor resource.
    LogRules LogRules
    Set of rules for sending logs for the Monitor resource.
    logRules LogRules
    Set of rules for sending logs for the Monitor resource.
    logRules LogRules
    Set of rules for sending logs for the Monitor resource.
    log_rules LogRules
    Set of rules for sending logs for the Monitor resource.
    logRules Property Map
    Set of rules for sending logs for the Monitor resource.

    MonitoringTagRulesPropertiesResponse, MonitoringTagRulesPropertiesResponseArgs

    ProvisioningState string
    Flag specifying if the resource provisioning state as tracked by ARM.
    SystemData Pulumi.AzureNative.Logz.Inputs.SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    LogRules Pulumi.AzureNative.Logz.Inputs.LogRulesResponse
    Set of rules for sending logs for the Monitor resource.
    ProvisioningState string
    Flag specifying if the resource provisioning state as tracked by ARM.
    SystemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    LogRules LogRulesResponse
    Set of rules for sending logs for the Monitor resource.
    provisioningState String
    Flag specifying if the resource provisioning state as tracked by ARM.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    logRules LogRulesResponse
    Set of rules for sending logs for the Monitor resource.
    provisioningState string
    Flag specifying if the resource provisioning state as tracked by ARM.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    logRules LogRulesResponse
    Set of rules for sending logs for the Monitor resource.
    provisioning_state str
    Flag specifying if the resource provisioning state as tracked by ARM.
    system_data SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    log_rules LogRulesResponse
    Set of rules for sending logs for the Monitor resource.
    provisioningState String
    Flag specifying if the resource provisioning state as tracked by ARM.
    systemData Property Map
    Metadata pertaining to creation and last modification of the resource.
    logRules Property Map
    Set of rules for sending logs for the Monitor resource.

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    TagAction, TagActionArgs

    Include
    Include
    Exclude
    Exclude
    TagActionInclude
    Include
    TagActionExclude
    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:logz:SubAccountTagRule default /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logz/monitors/{monitorName}/accounts/{subAccountName}/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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi