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.datadog.getMonitoredSubscription
Explore with Pulumi AI
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 Datadog monitor resource. Azure REST API version: 2023-01-01.
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>
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]
func LookupMonitoredSubscription(ctx *Context, args *LookupMonitoredSubscriptionArgs, opts ...InvokeOption) (*LookupMonitoredSubscriptionResult, error)
func LookupMonitoredSubscriptionOutput(ctx *Context, args *LookupMonitoredSubscriptionOutputArgs, opts ...InvokeOption) LookupMonitoredSubscriptionResultOutput
> 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)
}
public static CompletableFuture<GetMonitoredSubscriptionResult> getMonitoredSubscription(GetMonitoredSubscriptionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:datadog:getMonitoredSubscription
arguments:
# arguments dictionary
The following arguments are supported:
- Configuration
Name string - The configuration name. Only 'default' value is supported.
- Monitor
Name string - Monitor resource name
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Configuration
Name string - The configuration name. Only 'default' value is supported.
- Monitor
Name string - Monitor resource name
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- configuration
Name String - The configuration name. Only 'default' value is supported.
- monitor
Name String - Monitor resource name
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- configuration
Name string - The configuration name. Only 'default' value is supported.
- monitor
Name string - Monitor resource name
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- configuration_
name str - The configuration name. Only 'default' value is supported.
- monitor_
name str - Monitor resource name
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- configuration
Name String - The configuration name. Only 'default' value is supported.
- monitor
Name String - Monitor resource name
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getMonitoredSubscription Result
The following output properties are available:
- Id string
- The id of the monitored subscription resource.
- Name string
- Name of the monitored subscription resource.
- Properties
Pulumi.
Azure Native. Datadog. Outputs. Subscription List Response - The request to update subscriptions needed to be monitored by the Datadog monitor resource.
- Type string
- The type of the monitored subscription resource.
- Id string
- The id of the monitored subscription resource.
- Name string
- Name of the monitored subscription resource.
- Properties
Subscription
List Response - The request to update subscriptions needed to be monitored by the Datadog monitor resource.
- Type string
- The type of the monitored subscription resource.
- id String
- The id of the monitored subscription resource.
- name String
- Name of the monitored subscription resource.
- properties
Subscription
List Response - The request to update subscriptions needed to be monitored by the Datadog monitor resource.
- type String
- The type of the monitored subscription resource.
- id string
- The id of the monitored subscription resource.
- name string
- Name of the monitored subscription resource.
- properties
Subscription
List Response - The request to update subscriptions needed to be monitored by the Datadog monitor resource.
- type string
- The type of the monitored subscription resource.
- id str
- The id of the monitored subscription resource.
- name str
- Name of the monitored subscription resource.
- properties
Subscription
List Response - The request to update subscriptions needed to be monitored by the Datadog monitor resource.
- type str
- The type of the monitored subscription 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 Datadog monitor resource.
- type String
- The type of the monitored subscription resource.
Supporting Types
FilteringTagResponse
LogRulesResponse
- List<Pulumi.
Azure Native. Datadog. Inputs. Filtering Tag Response> - List of filtering tags to be used for capturing logs. This only takes effect if SendResourceLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
- Send
Aad boolLogs - Flag specifying if AAD logs should be sent for the Monitor resource.
- Send
Resource boolLogs - Flag specifying if Azure resource logs should be sent for the Monitor resource.
- Send
Subscription boolLogs - Flag specifying if Azure subscription logs should be sent for the Monitor resource.
- []Filtering
Tag Response - List of filtering tags to be used for capturing logs. This only takes effect if SendResourceLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
- Send
Aad boolLogs - Flag specifying if AAD logs should be sent for the Monitor resource.
- Send
Resource boolLogs - Flag specifying if Azure resource logs should be sent for the Monitor resource.
- Send
Subscription boolLogs - Flag specifying if Azure subscription logs should be sent for the Monitor resource.
- List<Filtering
Tag Response> - List of filtering tags to be used for capturing logs. This only takes effect if SendResourceLogs 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 BooleanLogs - Flag specifying if AAD logs should be sent for the Monitor resource.
- send
Resource BooleanLogs - Flag specifying if Azure resource logs should be sent for the Monitor resource.
- send
Subscription BooleanLogs - Flag specifying if Azure subscription logs should be sent for the Monitor resource.
- Filtering
Tag Response[] - List of filtering tags to be used for capturing logs. This only takes effect if SendResourceLogs 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 booleanLogs - Flag specifying if AAD logs should be sent for the Monitor resource.
- send
Resource booleanLogs - Flag specifying if Azure resource logs should be sent for the Monitor resource.
- send
Subscription booleanLogs - Flag specifying if Azure subscription logs should be sent for the Monitor resource.
- Sequence[Filtering
Tag Response] - List of filtering tags to be used for capturing logs. This only takes effect if SendResourceLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
- send_
aad_ boollogs - Flag specifying if AAD logs should be sent for the Monitor resource.
- send_
resource_ boollogs - Flag specifying if Azure resource logs should be sent for the Monitor resource.
- send_
subscription_ boollogs - Flag specifying if Azure subscription logs should be sent for the Monitor resource.
- List<Property Map>
- List of filtering tags to be used for capturing logs. This only takes effect if SendResourceLogs 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 BooleanLogs - Flag specifying if AAD logs should be sent for the Monitor resource.
- send
Resource BooleanLogs - Flag specifying if Azure resource logs should be sent for the Monitor resource.
- send
Subscription BooleanLogs - Flag specifying if Azure subscription logs should be sent for the Monitor resource.
MetricRulesResponse
- List<Pulumi.
Azure Native. Datadog. Inputs. Filtering Tag Response> - List of filtering tags to be used for capturing metrics. 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.
- []Filtering
Tag Response - List of filtering tags to be used for capturing metrics. 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.
- List<Filtering
Tag Response> - List of filtering tags to be used for capturing metrics. 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.
- Filtering
Tag Response[] - List of filtering tags to be used for capturing metrics. 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.
- Sequence[Filtering
Tag Response] - List of filtering tags to be used for capturing metrics. 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.
- List<Property Map>
- List of filtering tags to be used for capturing metrics. 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.
MonitoredSubscriptionResponse
- Error string
- The reason of not monitoring the subscription.
- Status string
- The state of monitoring.
- Subscription
Id string - The subscriptionId to be monitored.
- Tag
Rules Pulumi.Azure Native. Datadog. Inputs. Monitoring Tag Rules Properties Response - Definition of the properties for a TagRules resource.
- Error string
- The reason of not monitoring the subscription.
- Status string
- The state of monitoring.
- Subscription
Id string - The subscriptionId to be monitored.
- Tag
Rules MonitoringTag Rules Properties Response - Definition of the properties for a TagRules resource.
- error String
- The reason of not monitoring the subscription.
- status String
- The state of monitoring.
- subscription
Id String - The subscriptionId to be monitored.
- tag
Rules MonitoringTag Rules Properties Response - Definition of the properties for a TagRules resource.
- error string
- The reason of not monitoring the subscription.
- status string
- The state of monitoring.
- subscription
Id string - The subscriptionId to be monitored.
- tag
Rules MonitoringTag Rules Properties Response - 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 MonitoringTag Rules Properties Response - Definition of the properties for a TagRules resource.
- error String
- The reason of not monitoring the subscription.
- status String
- The state of monitoring.
- subscription
Id String - The subscriptionId to be monitored.
- tag
Rules Property Map - Definition of the properties for a TagRules resource.
MonitoringTagRulesPropertiesResponse
- Provisioning
State string - Automuting bool
- Configuration to enable/disable auto-muting flag
- Log
Rules Pulumi.Azure Native. Datadog. Inputs. Log Rules Response - Set of rules for sending logs for the Monitor resource.
- Metric
Rules Pulumi.Azure Native. Datadog. Inputs. Metric Rules Response - Set of rules for sending metrics for the Monitor resource.
- Provisioning
State string - Automuting bool
- Configuration to enable/disable auto-muting flag
- Log
Rules LogRules Response - Set of rules for sending logs for the Monitor resource.
- Metric
Rules MetricRules Response - Set of rules for sending metrics for the Monitor resource.
- provisioning
State String - automuting Boolean
- Configuration to enable/disable auto-muting flag
- log
Rules LogRules Response - Set of rules for sending logs for the Monitor resource.
- metric
Rules MetricRules Response - Set of rules for sending metrics for the Monitor resource.
- provisioning
State string - automuting boolean
- Configuration to enable/disable auto-muting flag
- log
Rules LogRules Response - Set of rules for sending logs for the Monitor resource.
- metric
Rules MetricRules Response - Set of rules for sending metrics for the Monitor resource.
- provisioning_
state str - automuting bool
- Configuration to enable/disable auto-muting flag
- log_
rules LogRules Response - Set of rules for sending logs for the Monitor resource.
- metric_
rules MetricRules Response - Set of rules for sending metrics for the Monitor resource.
- provisioning
State String - automuting Boolean
- Configuration to enable/disable auto-muting flag
- log
Rules Property Map - Set of rules for sending logs for the Monitor resource.
- metric
Rules Property Map - Set of rules for sending metrics for the Monitor resource.
SubscriptionListResponse
- Monitored
Subscription List<Pulumi.List Azure Native. Datadog. Inputs. Monitored Subscription Response> - List of subscriptions and the state of the monitoring.
- Monitored
Subscription []MonitoredList Subscription Response - List of subscriptions and the state of the monitoring.
- monitored
Subscription List<MonitoredList Subscription Response> - List of subscriptions and the state of the monitoring.
- monitored
Subscription MonitoredList Subscription Response[] - List of subscriptions and the state of the monitoring.
- monitored_
subscription_ Sequence[Monitoredlist Subscription Response] - List of subscriptions and the state of the monitoring.
- monitored
Subscription List<Property Map>List - 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 v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi