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.logz.getSubAccountTagRule
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-10-01.
Using getSubAccountTagRule
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 getSubAccountTagRule(args: GetSubAccountTagRuleArgs, opts?: InvokeOptions): Promise<GetSubAccountTagRuleResult>
function getSubAccountTagRuleOutput(args: GetSubAccountTagRuleOutputArgs, opts?: InvokeOptions): Output<GetSubAccountTagRuleResult>
def get_sub_account_tag_rule(monitor_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
rule_set_name: Optional[str] = None,
sub_account_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSubAccountTagRuleResult
def get_sub_account_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,
sub_account_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSubAccountTagRuleResult]
func LookupSubAccountTagRule(ctx *Context, args *LookupSubAccountTagRuleArgs, opts ...InvokeOption) (*LookupSubAccountTagRuleResult, error)
func LookupSubAccountTagRuleOutput(ctx *Context, args *LookupSubAccountTagRuleOutputArgs, opts ...InvokeOption) LookupSubAccountTagRuleResultOutput
> Note: This function is named LookupSubAccountTagRule
in the Go SDK.
public static class GetSubAccountTagRule
{
public static Task<GetSubAccountTagRuleResult> InvokeAsync(GetSubAccountTagRuleArgs args, InvokeOptions? opts = null)
public static Output<GetSubAccountTagRuleResult> Invoke(GetSubAccountTagRuleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSubAccountTagRuleResult> getSubAccountTagRule(GetSubAccountTagRuleArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:logz:getSubAccountTagRule
arguments:
# arguments dictionary
The following arguments are supported:
- Monitor
Name string - Monitor resource name
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Rule
Set stringName - Sub
Account stringName - Sub Account resource name
- Monitor
Name string - Monitor resource name
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Rule
Set stringName - Sub
Account stringName - Sub Account resource name
- monitor
Name String - Monitor resource name
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- rule
Set StringName - sub
Account StringName - Sub Account resource name
- monitor
Name string - Monitor resource name
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- rule
Set stringName - sub
Account stringName - Sub Account resource name
- monitor_
name str - Monitor resource name
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- rule_
set_ strname - sub_
account_ strname - Sub Account resource name
- monitor
Name String - Monitor resource name
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- rule
Set StringName - sub
Account StringName - Sub Account resource name
getSubAccountTagRule 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. Logz. Outputs. Monitoring Tag Rules Properties Response - Definition of the properties for a TagRules resource.
- System
Data Pulumi.Azure Native. Logz. 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 - Definition of the properties for a TagRules resource.
- 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 - Definition of the properties for a TagRules resource.
- 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 - Definition of the properties for a TagRules resource.
- 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 - Definition of the properties for a TagRules resource.
- 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
- Definition of the properties for a TagRules resource.
- 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. Logz. 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
- Provisioning
State string - Flag specifying if the resource provisioning state as tracked by ARM.
- System
Data Pulumi.Azure Native. Logz. Inputs. System Data Response - Metadata pertaining to creation and last modification of the resource.
- Log
Rules Pulumi.Azure Native. Logz. Inputs. Log Rules Response - Set of rules for sending logs for the Monitor resource.
- Provisioning
State string - Flag specifying if the resource provisioning state as tracked by ARM.
- System
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- Log
Rules LogRules Response - Set of rules for sending logs for the Monitor resource.
- provisioning
State String - Flag specifying if the resource provisioning state as tracked by ARM.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- log
Rules LogRules Response - Set of rules for sending logs for the Monitor resource.
- provisioning
State string - Flag specifying if the resource provisioning state as tracked by ARM.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- log
Rules LogRules Response - Set of rules for sending logs for the Monitor resource.
- provisioning_
state str - Flag specifying if the resource provisioning state as tracked by ARM.
- system_
data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- log_
rules LogRules Response - Set of rules for sending logs for the Monitor resource.
- provisioning
State String - Flag specifying if the resource provisioning state as tracked by ARM.
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
- log
Rules Property Map - Set of rules for sending logs for the Monitor resource.
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