1. Packages
  2. Azure Native v2
  3. API Docs
  4. elastic
  5. MonitoredSubscription
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.elastic.MonitoredSubscription

Explore with Pulumi AI

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, 2024-10-01-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",
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
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",
});
Copy
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")
Copy
resources:
  monitoredSubscription:
    type: azure-native:elastic:MonitoredSubscription
    properties:
      configurationName: default
      monitorName: myMonitor
      resourceGroupName: myResourceGroup
Copy

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 This property is required. string
The unique name of the resource.
args This property is required. MonitoredSubscriptionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. MonitoredSubscriptionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. MonitoredSubscriptionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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 = 
    {
        { "monitoredSubscriptionList", new[]
        {
            
            {
                { "error", "string" },
                { "status", "string" },
                { "subscriptionId", "string" },
                { "tagRules", 
                {
                    { "logRules", 
                    {
                        { "filteringTags", new[]
                        {
                            
                            {
                                { "action", "string" },
                                { "name", "string" },
                                { "value", "string" },
                            },
                        } },
                        { "sendAadLogs", false },
                        { "sendActivityLogs", false },
                        { "sendSubscriptionLogs", false },
                    } },
                    { "provisioningState", "string" },
                } },
            },
        } },
        { "operation", "string" },
    },
});
Copy
example, err := elastic.NewMonitoredSubscription(ctx, "azure-nativeMonitoredSubscriptionResource", &elastic.MonitoredSubscriptionArgs{
	MonitorName:       "string",
	ResourceGroupName: "string",
	ConfigurationName: "string",
	Properties: map[string]interface{}{
		"monitoredSubscriptionList": []map[string]interface{}{
			map[string]interface{}{
				"error":          "string",
				"status":         "string",
				"subscriptionId": "string",
				"tagRules": map[string]interface{}{
					"logRules": map[string]interface{}{
						"filteringTags": []map[string]interface{}{
							map[string]interface{}{
								"action": "string",
								"name":   "string",
								"value":  "string",
							},
						},
						"sendAadLogs":          false,
						"sendActivityLogs":     false,
						"sendSubscriptionLogs": false,
					},
					"provisioningState": "string",
				},
			},
		},
		"operation": "string",
	},
})
Copy
var azure_nativeMonitoredSubscriptionResource = new com.pulumi.azurenative.elastic.MonitoredSubscription("azure-nativeMonitoredSubscriptionResource", com.pulumi.azurenative.elastic.MonitoredSubscriptionArgs.builder()
    .monitorName("string")
    .resourceGroupName("string")
    .configurationName("string")
    .properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .build());
Copy
azure_native_monitored_subscription_resource = azure_native.elastic.MonitoredSubscription("azure-nativeMonitoredSubscriptionResource",
    monitor_name=string,
    resource_group_name=string,
    configuration_name=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,
    })
Copy
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",
    },
});
Copy
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
Copy

MonitoredSubscription Resource Properties

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

Inputs

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

The MonitoredSubscription resource accepts the following input properties:

MonitorName
This property is required.
Changes to this property will trigger replacement.
string
Monitor resource name
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ConfigurationName Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
string
Monitor resource name
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ConfigurationName Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
String
Monitor resource name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
configurationName Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
string
Monitor resource name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
configurationName Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
str
Monitor resource name
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
configuration_name Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
String
Monitor resource name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
configurationName Changes to this property will trigger replacement. 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 This property is required. string
Provisioning State of the resource
MonitoredSubscriptionList List<Pulumi.AzureNative.Elastic.Inputs.MonitoredSubscriptionResponse>
List of subscriptions and the state of the monitoring.
ProvisioningState This property is required. string
Provisioning State of the resource
MonitoredSubscriptionList []MonitoredSubscriptionResponse
List of subscriptions and the state of the monitoring.
provisioningState This property is required. String
Provisioning State of the resource
monitoredSubscriptionList List<MonitoredSubscriptionResponse>
List of subscriptions and the state of the monitoring.
provisioningState This property is required. string
Provisioning State of the resource
monitoredSubscriptionList MonitoredSubscriptionResponse[]
List of subscriptions and the state of the monitoring.
provisioning_state This property is required. str
Provisioning State of the resource
monitored_subscription_list Sequence[MonitoredSubscriptionResponse]
List of subscriptions and the state of the monitoring.
provisioningState This property is required. 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} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0