azLogAnalytics

Use the resource azLogAnalytics to deploy an Azure Log Analytics workspace to the relevant subscription.

Attributes

Attribute Type Mandatory Values Default Notes
Name String Yes
ResourceGroupName String Yes
Location String Yes
Sku String No standard
premium
pernode
standalone
pergb2018 pergb2018
capacityreservation
lacluster
SkuCapacity Number No
RetentionInDays Number No 30
Solution Array No
Network Object No
Tag Object No
Lock Object No

Network

Attribute Type Mandatory Values Default Notes
PublicAccessIngestion Boolean No False
PublicAccessQuery Boolean N0 False

Input by YAML

Object model for YAML deployment:

azLogAnalytics:
    # Mandatory
  - Name: 'string'
    ResourceGroupName: 'string'
    Location: 'string'
    # Optional
    Sku: 'string'                                 # standard, premium, pernode, standalone, pergb2018 (D), CapacityReservation, lacluster
    SkuCapacity: number
    RetentionInDays:  number
    Network:
      PublicAccessIngestion: boolean              # True, False (D)
      PublicAccessQuery: boolean                  # True, False (D)
    Solution: [array]
    Tag:
      'keyvalue-pairs'
    Lock:
      - Name: 'string'
        Level: 'string'                           # CanNotDelete, ReadOnly
        Notes: 'string'

Input by JSON

Object model for JSON deployment:

{
  "azLogAnalytics": [
    {
      "Name": "string",
      "ResourceGroupName": "string",
      "Location": "string",
      "Sku": "string",
      "SkuCapacity": number,
      "RetentionInDays": number,
      "Network": [
        {
          "PublicAccessIngestion": boolean,
          "PublicAccessQuery": boolean
        }
      ],
      "Solution": [array],
      "Tag": {
        "key": "value"
      },
      "Lock": [
        {
          "Name": "string",
          "Level": "string",
          "Notes": "string"
        }
      ]
    }
  ]
}