1. Packages
  2. Azure Native
  3. API Docs
  4. elastic
  5. MonitoredSubscription
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.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.elastic.MonitoredSubscription

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.47.1 published on Monday, Jun 24, 2024 by Pulumi

    The request to update subscriptions needed to be monitored by the Elastic monitor resource. Azure REST API version: 2024-05-01-preview.

    Other available API versions: 2024-06-15-preview.

    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.Elastic.MonitoredSubscription("monitoredSubscription", new()
        {
            ConfigurationName = "default",
            MonitorName = "myMonitor",
            ResourceGroupName = "myResourceGroup",
        });
    
    });
    
    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.NewMonitoredSubscription(ctx, "monitoredSubscription", &elastic.MonitoredSubscriptionArgs{
    			ConfigurationName: pulumi.String("default"),
    			MonitorName:       pulumi.String("myMonitor"),
    			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.elastic.MonitoredSubscription;
    import com.pulumi.azurenative.elastic.MonitoredSubscriptionArgs;
    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")
                .resourceGroupName("myResourceGroup")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    monitored_subscription = azure_native.elastic.MonitoredSubscription("monitoredSubscription",
        configuration_name="default",
        monitor_name="myMonitor",
        resource_group_name="myResourceGroup")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const monitoredSubscription = new azure_native.elastic.MonitoredSubscription("monitoredSubscription", {
        configurationName: "default",
        monitorName: "myMonitor",
        resourceGroupName: "myResourceGroup",
    });
    
    resources:
      monitoredSubscription:
        type: azure-native:elastic:MonitoredSubscription
        properties:
          configurationName: default
          monitorName: myMonitor
          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:elastic: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 azure_nativeMonitoredSubscriptionResource = new AzureNative.Elastic.MonitoredSubscription("azure-nativeMonitoredSubscriptionResource", new()
    {
        MonitorName = "string",
        ResourceGroupName = "string",
        ConfigurationName = "string",
        Properties = new AzureNative.Elastic.Inputs.SubscriptionListArgs
        {
            MonitoredSubscriptionList = new[]
            {
                new AzureNative.Elastic.Inputs.MonitoredSubscriptionArgs
                {
                    Error = "string",
                    Status = "string",
                    SubscriptionId = "string",
                    TagRules = 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",
                    },
                },
            },
            Operation = "string",
        },
    });
    
    example, err := elastic.NewMonitoredSubscription(ctx, "azure-nativeMonitoredSubscriptionResource", &elastic.MonitoredSubscriptionArgs{
    MonitorName: pulumi.String("string"),
    ResourceGroupName: pulumi.String("string"),
    ConfigurationName: pulumi.String("string"),
    Properties: &elastic.SubscriptionListArgs{
    MonitoredSubscriptionList: elastic.MonitoredSubscriptionTypeArray{
    &elastic.MonitoredSubscriptionTypeArgs{
    Error: pulumi.String("string"),
    Status: pulumi.String("string"),
    SubscriptionId: pulumi.String("string"),
    TagRules: &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"),
    },
    },
    },
    Operation: pulumi.String("string"),
    },
    })
    
    var azure_nativeMonitoredSubscriptionResource = new MonitoredSubscription("azure-nativeMonitoredSubscriptionResource", MonitoredSubscriptionArgs.builder()
        .monitorName("string")
        .resourceGroupName("string")
        .configurationName("string")
        .properties(SubscriptionListArgs.builder()
            .monitoredSubscriptionList(MonitoredSubscriptionArgs.builder()
                .error("string")
                .status("string")
                .subscriptionId("string")
                .tagRules(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())
                .build())
            .operation("string")
            .build())
        .build());
    
    azure_native_monitored_subscription_resource = azure_native.elastic.MonitoredSubscription("azure-nativeMonitoredSubscriptionResource",
        monitor_name="string",
        resource_group_name="string",
        configuration_name="string",
        properties=azure_native.elastic.SubscriptionListArgs(
            monitored_subscription_list=[azure_native.elastic.MonitoredSubscriptionArgs(
                error="string",
                status="string",
                subscription_id="string",
                tag_rules=azure_native.elastic.MonitoringTagRulesPropertiesArgs(
                    log_rules=azure_native.elastic.LogRulesArgs(
                        filtering_tags=[azure_native.elastic.FilteringTagArgs(
                            action="string",
                            name="string",
                            value="string",
                        )],
                        send_aad_logs=False,
                        send_activity_logs=False,
                        send_subscription_logs=False,
                    ),
                    provisioning_state="string",
                ),
            )],
            operation="string",
        ))
    
    const azure_nativeMonitoredSubscriptionResource = new azure_native.elastic.MonitoredSubscription("azure-nativeMonitoredSubscriptionResource", {
        monitorName: "string",
        resourceGroupName: "string",
        configurationName: "string",
        properties: {
            monitoredSubscriptionList: [{
                error: "string",
                status: "string",
                subscriptionId: "string",
                tagRules: {
                    logRules: {
                        filteringTags: [{
                            action: "string",
                            name: "string",
                            value: "string",
                        }],
                        sendAadLogs: false,
                        sendActivityLogs: false,
                        sendSubscriptionLogs: false,
                    },
                    provisioningState: "string",
                },
            }],
            operation: "string",
        },
    });
    
    type: azure-native:elastic:MonitoredSubscription
    properties:
        configurationName: string
        monitorName: string
        properties:
            monitoredSubscriptionList:
                - error: string
                  status: string
                  subscriptionId: string
                  tagRules:
                    logRules:
                        filteringTags:
                            - action: string
                              name: string
                              value: string
                        sendAadLogs: false
                        sendActivityLogs: false
                        sendSubscriptionLogs: false
                    provisioningState: 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

    The MonitoredSubscription resource accepts the following input properties:

    MonitorName string
    Monitor resource name
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ConfigurationName string
    The configuration name. Only 'default' value is supported.
    Properties Pulumi.AzureNative.Elastic.Inputs.SubscriptionList
    The request to update subscriptions needed to be monitored by the Elastic monitor resource.
    MonitorName string
    Monitor resource name
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ConfigurationName string
    The configuration name. Only 'default' value is supported.
    Properties SubscriptionListArgs
    The request to update subscriptions needed to be monitored by the Elastic monitor resource.
    monitorName String
    Monitor resource name
    resourceGroupName String
    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 Elastic monitor resource.
    monitorName string
    Monitor resource name
    resourceGroupName string
    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 Elastic monitor resource.
    monitor_name str
    Monitor resource name
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    configuration_name str
    The configuration name. Only 'default' value is supported.
    properties SubscriptionListArgs
    The request to update subscriptions needed to be monitored by the Elastic monitor resource.
    monitorName String
    Monitor resource name
    resourceGroupName String
    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 Elastic monitor resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MonitoredSubscription resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of the monitored subscription resource.
    Type string
    The type of the monitored subscription resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of the monitored subscription resource.
    Type string
    The type of the monitored subscription resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of the monitored subscription resource.
    type String
    The type of the monitored subscription resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Name of the monitored subscription resource.
    type string
    The type of the monitored subscription resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Name of the monitored subscription resource.
    type str
    The type of the monitored subscription resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of the monitored subscription resource.
    type String
    The type of the monitored subscription resource.

    Supporting Types

    FilteringTag, FilteringTagArgs

    Action string | Pulumi.AzureNative.Elastic.TagAction
    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 | TagAction
    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 | TagAction
    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 | TagAction
    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 str | TagAction
    Valid actions for a filtering tag.
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.Elastic.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.Elastic.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.

    MonitoredSubscription, MonitoredSubscriptionArgs

    Error string
    The reason of not monitoring the subscription.
    Status string | Pulumi.AzureNative.Elastic.Status
    The state of monitoring.
    SubscriptionId string
    The subscriptionId to be monitored.
    TagRules Pulumi.AzureNative.Elastic.Inputs.MonitoringTagRulesProperties
    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 MonitoringTagRulesProperties
    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 MonitoringTagRulesProperties
    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 MonitoringTagRulesProperties
    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 MonitoringTagRulesProperties
    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.AzureNative.Elastic.Inputs.MonitoringTagRulesPropertiesResponse
    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 MonitoringTagRulesPropertiesResponse
    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 MonitoringTagRulesPropertiesResponse
    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 MonitoringTagRulesPropertiesResponse
    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 MonitoringTagRulesPropertiesResponse
    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

    LogRules Pulumi.AzureNative.Elastic.Inputs.LogRules
    Rules for sending logs.
    ProvisioningState string | Pulumi.AzureNative.Elastic.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.
    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.

    MonitoringTagRulesPropertiesResponse, MonitoringTagRulesPropertiesResponseArgs

    LogRules Pulumi.AzureNative.Elastic.Inputs.LogRulesResponse
    Rules for sending logs.
    ProvisioningState string
    Provisioning state of the monitoring tag rules.
    LogRules LogRulesResponse
    Rules for sending logs.
    ProvisioningState string
    Provisioning state of the monitoring tag rules.
    logRules LogRulesResponse
    Rules for sending logs.
    provisioningState String
    Provisioning state of the monitoring tag rules.
    logRules LogRulesResponse
    Rules for sending logs.
    provisioningState string
    Provisioning state of the monitoring tag rules.
    log_rules LogRulesResponse
    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.

    Operation, OperationArgs

    AddBegin
    AddBegin
    AddComplete
    AddComplete
    DeleteBegin
    DeleteBegin
    DeleteComplete
    DeleteComplete
    Active
    Active
    OperationAddBegin
    AddBegin
    OperationAddComplete
    AddComplete
    OperationDeleteBegin
    DeleteBegin
    OperationDeleteComplete
    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

    ProvisioningState, ProvisioningStateArgs

    Accepted
    Accepted
    Creating
    Creating
    Updating
    Updating
    Deleting
    Deleting
    Succeeded
    Succeeded
    Failed
    Failed
    Canceled
    Canceled
    Deleted
    Deleted
    NotSpecified
    NotSpecified
    ProvisioningStateAccepted
    Accepted
    ProvisioningStateCreating
    Creating
    ProvisioningStateUpdating
    Updating
    ProvisioningStateDeleting
    Deleting
    ProvisioningStateSucceeded
    Succeeded
    ProvisioningStateFailed
    Failed
    ProvisioningStateCanceled
    Canceled
    ProvisioningStateDeleted
    Deleted
    ProvisioningStateNotSpecified
    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

    Status, StatusArgs

    InProgress
    InProgress
    Active
    Active
    Failed
    Failed
    Deleting
    Deleting
    StatusInProgress
    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

    MonitoredSubscriptionList List<Pulumi.AzureNative.Elastic.Inputs.MonitoredSubscription>
    List of subscriptions and the state of the monitoring.
    Operation string | Pulumi.AzureNative.Elastic.Operation
    The operation for the patch on the resource.
    MonitoredSubscriptionList []MonitoredSubscriptionType
    List of subscriptions and the state of the monitoring.
    Operation string | Operation
    The operation for the patch on the resource.
    monitoredSubscriptionList List<MonitoredSubscription>
    List of subscriptions and the state of the monitoring.
    operation String | Operation
    The operation for the patch on the resource.
    monitoredSubscriptionList MonitoredSubscription[]
    List of subscriptions and the state of the monitoring.
    operation string | Operation
    The operation for the patch on the resource.
    monitored_subscription_list Sequence[MonitoredSubscription]
    List of subscriptions and the state of the monitoring.
    operation str | Operation
    The operation for the patch on the resource.
    monitoredSubscriptionList List<Property Map>
    List of subscriptions and the state of the monitoring.
    operation String | "AddBegin" | "AddComplete" | "DeleteBegin" | "DeleteComplete" | "Active"
    The operation for the patch on the resource.

    SubscriptionListResponse, SubscriptionListResponseArgs

    ProvisioningState string
    Provisioning State of the resource
    MonitoredSubscriptionList List<Pulumi.AzureNative.Elastic.Inputs.MonitoredSubscriptionResponse>
    List of subscriptions and the state of the monitoring.
    ProvisioningState string
    Provisioning State of the resource
    MonitoredSubscriptionList []MonitoredSubscriptionResponse
    List of subscriptions and the state of the monitoring.
    provisioningState String
    Provisioning State of the resource
    monitoredSubscriptionList List<MonitoredSubscriptionResponse>
    List of subscriptions and the state of the monitoring.
    provisioningState string
    Provisioning State of the resource
    monitoredSubscriptionList MonitoredSubscriptionResponse[]
    List of subscriptions and the state of the monitoring.
    provisioning_state str
    Provisioning State of the resource
    monitored_subscription_list Sequence[MonitoredSubscriptionResponse]
    List of subscriptions and the state of the monitoring.
    provisioningState String
    Provisioning State of the resource
    monitoredSubscriptionList List<Property Map>
    List of subscriptions and the state of the monitoring.

    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:elastic:MonitoredSubscription default /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/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
    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.47.1 published on Monday, Jun 24, 2024 by Pulumi