1. Packages
  2. Azure Native
  3. API Docs
  4. elastic
  5. getMonitoredSubscription
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

azure-native.elastic.getMonitoredSubscription

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

The request to update subscriptions needed to be monitored by the Elastic monitor resource.

Uses Azure REST API version 2025-01-15-preview.

Other available API versions: 2024-05-01-preview, 2024-06-15-preview, 2024-10-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native elastic [ApiVersion]. See the version guide for details.

Using getMonitoredSubscription

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getMonitoredSubscription(args: GetMonitoredSubscriptionArgs, opts?: InvokeOptions): Promise<GetMonitoredSubscriptionResult>
function getMonitoredSubscriptionOutput(args: GetMonitoredSubscriptionOutputArgs, opts?: InvokeOptions): Output<GetMonitoredSubscriptionResult>
Copy
def get_monitored_subscription(configuration_name: Optional[str] = None,
                               monitor_name: Optional[str] = None,
                               resource_group_name: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetMonitoredSubscriptionResult
def get_monitored_subscription_output(configuration_name: Optional[pulumi.Input[str]] = None,
                               monitor_name: Optional[pulumi.Input[str]] = None,
                               resource_group_name: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetMonitoredSubscriptionResult]
Copy
func LookupMonitoredSubscription(ctx *Context, args *LookupMonitoredSubscriptionArgs, opts ...InvokeOption) (*LookupMonitoredSubscriptionResult, error)
func LookupMonitoredSubscriptionOutput(ctx *Context, args *LookupMonitoredSubscriptionOutputArgs, opts ...InvokeOption) LookupMonitoredSubscriptionResultOutput
Copy

> Note: This function is named LookupMonitoredSubscription in the Go SDK.

public static class GetMonitoredSubscription 
{
    public static Task<GetMonitoredSubscriptionResult> InvokeAsync(GetMonitoredSubscriptionArgs args, InvokeOptions? opts = null)
    public static Output<GetMonitoredSubscriptionResult> Invoke(GetMonitoredSubscriptionInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetMonitoredSubscriptionResult> getMonitoredSubscription(GetMonitoredSubscriptionArgs args, InvokeOptions options)
public static Output<GetMonitoredSubscriptionResult> getMonitoredSubscription(GetMonitoredSubscriptionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:elastic:getMonitoredSubscription
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ConfigurationName
This property is required.
Changes to this property will trigger replacement.
string
The configuration name. Only 'default' value is supported.
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
This property is required.
Changes to this property will trigger replacement.
string
The configuration name. Only 'default' value is supported.
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
This property is required.
Changes to this property will trigger replacement.
String
The configuration name. Only 'default' value is supported.
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
This property is required.
Changes to this property will trigger replacement.
string
The configuration name. Only 'default' value is supported.
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.
configuration_name
This property is required.
Changes to this property will trigger replacement.
str
The configuration name. Only 'default' value is supported.
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.
configurationName
This property is required.
Changes to this property will trigger replacement.
String
The configuration name. Only 'default' value is supported.
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.

getMonitoredSubscription Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
Id string
The id of the monitored subscription resource.
Name string
Name of the monitored subscription resource.
Properties Pulumi.AzureNative.Elastic.Outputs.SubscriptionListResponse
The request to update subscriptions needed to be monitored by the Elastic monitor resource.
Type string
The type of the monitored subscription resource.
AzureApiVersion string
The Azure API version of the resource.
Id string
The id of the monitored subscription resource.
Name string
Name of the monitored subscription resource.
Properties SubscriptionListResponse
The request to update subscriptions needed to be monitored by the Elastic monitor resource.
Type string
The type of the monitored subscription resource.
azureApiVersion String
The Azure API version of the resource.
id String
The id of the monitored subscription resource.
name String
Name of the monitored subscription resource.
properties SubscriptionListResponse
The request to update subscriptions needed to be monitored by the Elastic monitor resource.
type String
The type of the monitored subscription resource.
azureApiVersion string
The Azure API version of the resource.
id string
The id of the monitored subscription resource.
name string
Name of the monitored subscription resource.
properties SubscriptionListResponse
The request to update subscriptions needed to be monitored by the Elastic monitor resource.
type string
The type of the monitored subscription resource.
azure_api_version str
The Azure API version of the resource.
id str
The id of the monitored subscription resource.
name str
Name of the monitored subscription resource.
properties SubscriptionListResponse
The request to update subscriptions needed to be monitored by the Elastic monitor resource.
type str
The type of the monitored subscription resource.
azureApiVersion String
The Azure API version of the resource.
id String
The id of the monitored subscription resource.
name String
Name of the monitored subscription resource.
properties Property Map
The request to update subscriptions needed to be monitored by the Elastic monitor resource.
type String
The type of the monitored subscription resource.

Supporting Types

FilteringTagResponse

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.

LogRulesResponse

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.

MonitoredSubscriptionResponse

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.

MonitoringTagRulesPropertiesResponse

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.

SubscriptionListResponse

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.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi