These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.elastic.getTagRule
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Capture logs and metrics of Azure resources based on ARM tags. API Version: 2020-07-01.
Using getTagRule
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 getTagRule(args: GetTagRuleArgs, opts?: InvokeOptions): Promise<GetTagRuleResult>
function getTagRuleOutput(args: GetTagRuleOutputArgs, opts?: InvokeOptions): Output<GetTagRuleResult>
def get_tag_rule(monitor_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
rule_set_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTagRuleResult
def get_tag_rule_output(monitor_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
rule_set_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTagRuleResult]
func LookupTagRule(ctx *Context, args *LookupTagRuleArgs, opts ...InvokeOption) (*LookupTagRuleResult, error)
func LookupTagRuleOutput(ctx *Context, args *LookupTagRuleOutputArgs, opts ...InvokeOption) LookupTagRuleResultOutput
> Note: This function is named LookupTagRule
in the Go SDK.
public static class GetTagRule
{
public static Task<GetTagRuleResult> InvokeAsync(GetTagRuleArgs args, InvokeOptions? opts = null)
public static Output<GetTagRuleResult> Invoke(GetTagRuleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTagRuleResult> getTagRule(GetTagRuleArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:elastic:getTagRule
arguments:
# arguments dictionary
The following arguments are supported:
- Monitor
Name string - Monitor resource name
- Resource
Group stringName - The name of the resource group to which the Elastic resource belongs.
- Rule
Set stringName - Tag Rule Set resource name
- Monitor
Name string - Monitor resource name
- Resource
Group stringName - The name of the resource group to which the Elastic resource belongs.
- Rule
Set stringName - Tag Rule Set resource name
- monitor
Name String - Monitor resource name
- resource
Group StringName - The name of the resource group to which the Elastic resource belongs.
- rule
Set StringName - Tag Rule Set resource name
- monitor
Name string - Monitor resource name
- resource
Group stringName - The name of the resource group to which the Elastic resource belongs.
- rule
Set stringName - Tag Rule Set resource name
- monitor_
name str - Monitor resource name
- resource_
group_ strname - The name of the resource group to which the Elastic resource belongs.
- rule_
set_ strname - Tag Rule Set resource name
- monitor
Name String - Monitor resource name
- resource
Group StringName - The name of the resource group to which the Elastic resource belongs.
- rule
Set StringName - Tag Rule Set resource name
getTagRule Result
The following output properties are available:
- Id string
- The id of the rule set.
- Name string
- Name of the rule set.
- Properties
Pulumi.
Azure Native. Elastic. Outputs. Monitoring Tag Rules Properties Response - Properties of the monitoring tag rules.
- System
Data Pulumi.Azure Native. Elastic. Outputs. System Data Response - The system metadata relating to this resource
- Type string
- The type of the rule set.
- Id string
- The id of the rule set.
- Name string
- Name of the rule set.
- Properties
Monitoring
Tag Rules Properties Response - Properties of the monitoring tag rules.
- System
Data SystemData Response - The system metadata relating to this resource
- Type string
- The type of the rule set.
- id String
- The id of the rule set.
- name String
- Name of the rule set.
- properties
Monitoring
Tag Rules Properties Response - Properties of the monitoring tag rules.
- system
Data SystemData Response - The system metadata relating to this resource
- type String
- The type of the rule set.
- id string
- The id of the rule set.
- name string
- Name of the rule set.
- properties
Monitoring
Tag Rules Properties Response - Properties of the monitoring tag rules.
- system
Data SystemData Response - The system metadata relating to this resource
- type string
- The type of the rule set.
- id str
- The id of the rule set.
- name str
- Name of the rule set.
- properties
Monitoring
Tag Rules Properties Response - Properties of the monitoring tag rules.
- system_
data SystemData Response - The system metadata relating to this resource
- type str
- The type of the rule set.
- id String
- The id of the rule set.
- name String
- Name of the rule set.
- properties Property Map
- Properties of the monitoring tag rules.
- system
Data Property Map - The system metadata relating to this resource
- type String
- The type of the rule set.
Supporting Types
FilteringTagResponse
LogRulesResponse
- List<Pulumi.
Azure Native. Elastic. Inputs. Filtering Tag Response> - 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 boolLogs - Flag specifying if AAD logs should be sent for the Monitor resource.
- Send
Activity boolLogs - Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
- Send
Subscription boolLogs - Flag specifying if 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 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 boolLogs - Flag specifying if AAD logs should be sent for the Monitor resource.
- Send
Activity boolLogs - Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
- Send
Subscription boolLogs - Flag specifying if 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 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 BooleanLogs - Flag specifying if AAD logs should be sent for the Monitor resource.
- send
Activity BooleanLogs - Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
- send
Subscription BooleanLogs - Flag specifying if 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 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 booleanLogs - Flag specifying if AAD logs should be sent for the Monitor resource.
- send
Activity booleanLogs - Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
- send
Subscription booleanLogs - Flag specifying if 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 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_ boollogs - Flag specifying if AAD logs should be sent for the Monitor resource.
- send_
activity_ boollogs - Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
- send_
subscription_ boollogs - Flag specifying if 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 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 BooleanLogs - Flag specifying if AAD logs should be sent for the Monitor resource.
- send
Activity BooleanLogs - Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.
- send
Subscription BooleanLogs - Flag specifying if subscription logs should be sent for the Monitor resource.
MonitoringTagRulesPropertiesResponse
- Log
Rules Pulumi.Azure Native. Elastic. Inputs. Log Rules Response - Rules for sending logs.
- Provisioning
State string - Provisioning state of the monitoring tag rules.
- Log
Rules LogRules Response - Rules for sending logs.
- Provisioning
State string - Provisioning state of the monitoring tag rules.
- log
Rules LogRules Response - Rules for sending logs.
- provisioning
State String - Provisioning state of the monitoring tag rules.
- log
Rules LogRules Response - Rules for sending logs.
- provisioning
State string - Provisioning state of the monitoring tag rules.
- log_
rules LogRules Response - Rules for sending logs.
- provisioning_
state str - Provisioning state of the monitoring tag rules.
- log
Rules Property Map - Rules for sending logs.
- provisioning
State String - Provisioning state of the monitoring tag rules.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi