CmdID / az / az monitor / az monitor log-analytics / az monitor log-analytics workspace
az monitor log-analytics workspace create
Create a workspace instance Azure CLI reference
12 options Its page in the Azure CLI reference
Options
--capacity-reservation-level, --levelThe capacity reservation level for this workspace, when CapacityReservation sku is selected.--identity-type, --typeType of managed service identity.--ingestion-accessThe public network access type to access workspace ingestion.--query-accessThe public network access type to access workspace query.--quotaThe workspace daily quota for ingestion in gigabytes.--replication-enabledSpecifies whether the replication is enabled or not.--replication-locationThe location of the replication.--retention-timeThe workspace data retention in days.--sku-name, --skuThe name of the SKU.--tagsResource tags.--user-assignedThe list of user identities associated with the resource.--workspace-name, --name, -nName of the Log Analytics Workspace.