MIT License
This is a module to provision AzureStachHCI extension azuremonitorwindowsagent
.
The following requirements are needed by this module:
The following resources are used by this module:
The following input variables are required:
Description: The resource IDs of the Azure Arc servers. Key is the server name and value is the resource ID.
Type: map(string)
Description: The resource ID for the Azure Arc setting.
Type: string
Description: The resource group where the resources will be deployed.
Type: string
The following input variables are optional (have default values):
Description: The name of the Azure Monitor Data Collection Rule Association.
Type: string
Default: ""
Description: (Optional) Is Customer Managed Storage mandatory for query management?
Type: bool
Default: false
Description: A list of performance counter specifiers.
Type: list(string)
Default:
[
"\\Memory\\Available Bytes",
"\\Network Interface(*)\\Bytes Total/sec",
"\\Processor(_Total)\\% Processor Time",
"\\RDMA Activity(*)\\RDMA Inbound Bytes/sec",
"\\RDMA Activity(*)\\RDMA Outbound Bytes/sec"
]
Description: Whether to create the data collection resources.
Type: bool
Default: false
Description: The name of the Azure Log Analytics data collection endpoint.
Type: string
Default: null
Description: A mapping of tags to assign to th data collection endpoint.
Type: map(string)
Default: {}
Description: The location of the data collection resources.
Type: string
Default: ""
Description: The id of data collection rule destination id.
Type: string
Default: "2-90d1-e814dab6067e"
Description: The name of the Azure Log Analytics data collection rule.
Type: string
Default: null
Description: The id of the Azure Log Analytics data collection rule.
Type: string
Default: null
Description: A mapping of tags to assign to th data collection rule.
Type: map(string)
Default: {}
Description: This variable controls whether or not telemetry is enabled for the module. For more information see https://aka.ms/avm/telemetryinfo. If it is set to false, then no telemetry will be collected.
Type: bool
Default: true
Description: (Optional) Whether to remove the data in the Log Analytics Workspace immediately after 30 days.
Type: bool
Default: false
Description: Controls the Resource Lock configuration for this resource. The following properties can be specified:
kind
- (Required) The type of lock. Possible values are \"CanNotDelete\"
and \"ReadOnly\"
.name
- (Optional) The name of the lock. If not specified, a name will be generated based on the kind
value. Changing this forces the creation of a new resource.Type:
object({
kind = string
name = optional(string, null)
})
Default: null
Description: The name of the this resource.
Type: string
Default: "AzureMonitorWindowsAgent"
Description: (Optional) The workspace data retention in days. Possible values are either 7 (Free Tier only) or range between 30 and 730.
Type: number
Default: 30
Description: A map of role assignments to create on this resource. The map key is deliberately arbitrary to avoid issues where map keys maybe unknown at plan time.
role_definition_id_or_name
- The ID or name of the role definition to assign to the principal.principal_id
- The ID of the principal to assign the role to.description
- The description of the role assignment.skip_service_principal_aad_check
- If set to true, skips the Azure Active Directory check for the service principal in the tenant. Defaults to false.condition
- The condition which will be used to scope the role assignment.condition_version
- The version of the condition syntax. Valid values are '2.0'.Note: only set
skip_service_principal_aad_check
to true if you are assigning a role to a service principal.
Type:
map(object({
role_definition_id_or_name = string
principal_id = string
description = optional(string, null)
skip_service_principal_aad_check = optional(bool, false)
condition = optional(string, null)
condition_version = optional(string, null)
delegated_managed_identity_resource_id = optional(string, null)
principal_type = optional(string, null)
}))
Default: {}
Description: (Optional) Specifies the SKU of the Log Analytics Workspace.
Type: string
Default: "PerGB2018"
Description: The name of the Azure Log Analytics workspace.
Type: string
Default: null
Description: A mapping of tags to assign to the Azure Log Analytics workspace.
Type: map(string)
Default: {}
Description: A list of XPath queries for event logs.
Type: list(string)
Default:
[
"Microsoft-Windows-SDDC-Management/Operational!*[System[(EventID=3000 or EventID=3001 or EventID=3002 or EventID=3003 or EventID=3004)]]",
"microsoft-windows-health/operational!*"
]
The following outputs are exported:
Description: This is the full output for the resource.
No modules.
The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described in the repository. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft’s privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.