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,827
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 Windows 7 EOL
by  Esben.D   Go to last post Go to first unread
Last post: Today at 12:22:43 PM(UTC)
Lansweeper Patch Tuesday report, last 3 months
by  Esben.D  
Go to last post Go to first unread
Last post: Today at 10:55:07 AM(UTC)
Lansweeper Thunderbird 68 Vulnerability
by  Esben.D   Go to last post Go to first unread
Last post: Today at 8:41:29 AM(UTC)
Lansweeper Drive Encryption statuses
by  JacobH  
Go to last post Go to first unread
Last post: Yesterday at 5:41:10 PM(UTC)
Report Center Local admin group report based on domain role
by  JacobH   Go to last post Go to first unread
Last post: Yesterday at 5:24:13 PM(UTC)
Lansweeper Number of scanned IPs
by  wayneRex  
Go to last post Go to first unread
Last post: Yesterday at 10:21:01 AM(UTC)
Lansweeper Ticket Summary by Agent?
by  susan.starr   Go to last post Go to first unread
Last post: 9/17/2019 4:41:26 PM(UTC)
Report Center Virtual machines and their host
by  klaus  
Go to last post Go to first unread
Last post: 9/17/2019 8:44:57 AM(UTC)