cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Esben_D
Lansweeper Employee
Lansweeper Employee
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.

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
0 REPLIES 0

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now