Notification

Icon
Error

Azure: Resource Groups virtual networks (Built-in)

Posted: Tuesday, March 5, 2019 1:13:36 PM(UTC)
Esben.D

Esben.D

Member Administration Original PosterPosts: 1,685
0
Like
The report below gives back a list of Azure resource groups virtual networks.

The report will only list assets when the following criteria are met:
  • You have Lansweeper 7.1 or higher.
  • There is Azure resource group virtual network data scanned.
  • The asset state is active.

Code:
Select Top 1000000 tblAssets.AssetID,
  tblAssets.AssetName,
  tsysAssetTypes.AssetTypeIcon10 As icon,
  tblAzureResourceGroup.SubscriptionId,
  tblAzureResourceGroup.Region,
  tblAzureResourceGroup.Tags,
  tblAzureNetwork.Name As NetworkName,
  tblAzureNetwork.Region As NetworkRegion,
  tblAzureNetwork.Tags As NetworkTags,
  tblAzureNetwork.IsDdosProtectionEnabled,
  tblAzureNetwork.IsVmProtectionEnabled,
  tblAzureSubnet.Name As SubnetName,
  tblAzureSubnet.Region As SubnetRegion,
  tblAzureSubnet.AddressPrefix,
  tblAssets.Lastseen,
  tblAssets.Lasttried
From tblAssets
  Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
  Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
  Inner Join tblState On tblState.State = tblAssetCustom.State
  Inner Join tblAzureResourceGroup On tblAzureResourceGroup.AssetId =
    tblAssets.AssetID
  Inner Join tblAzureNetwork On tblAzureNetwork.AzureResourceGroupId =
    tblAzureResourceGroup.Id
  Inner Join tblAzureSubnet On tblAzureSubnet.AzureNetworkId =
    tblAzureNetwork.Id
Where tblState.Statename = 'Active'
Order By tblAssets.AssetName

Active Discussions

Lansweeper Clients missing specific Office feature
by  CyberCitizen   Go to last post Go to first unread
Last post: Today at 1:28:26 AM(UTC)
Report Center Windows 10 compliance (color-coded)
by  CyberCitizen  
Go to last post Go to first unread
Last post: Today at 1:15:07 AM(UTC)
Lansweeper User association report query
by  endyk   Go to last post Go to first unread
Last post: Yesterday at 9:47:25 PM(UTC)
Lansweeper Report for SSAS and SSIS
by  The Boss  
Go to last post Go to first unread
Last post: 6/25/2019 6:53:21 PM(UTC)
Lansweeper Firefox 67.0.3 zero-day vulnerability
by  Esben.D   Go to last post Go to first unread
Last post: 6/25/2019 3:34:44 PM(UTC)
Lansweeper PO Box Query
by  kmoc  
Go to last post Go to first unread
Last post: 6/25/2019 11:16:28 AM(UTC)
Lansweeper Computer Age Chart Report
by  CyberCitizen   Go to last post Go to first unread
Last post: 6/25/2019 8:40:47 AM(UTC)
Lansweeper Dell SupportAssist CVE-2019-12280
by  Esben.D  
Go to last post Go to first unread
Last post: 6/24/2019 9:15:20 AM(UTC)