→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
‎03-05-2019 01:19 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tsysIPLocations.IPLocation,
tblAssetCustom.Manufacturer,
tblAWSInstance.InstanceId,
tblAWSInstance.InstanceType,
tblAWSInstance.Platform,
tblAWSInstance.Region,
tblAWSInstance.State,
tblAWSVolume.VolumeId,
tblAWSVolume.VolumeType,
Case tblAWSVolume.VolumeType
When 'gp2' Then 'General Purpose SSD'
When 'io1' Then 'Provisioned IOPS SSD'
When 'st1' Then 'Throughput Optimized HDD'
When 'sc1' Then 'Cold HDD'
When 'standard' Then 'Magnetic Volume'
End As VolumeTypeDesc,
tblAWSVolume.Size [Size(GB)],
tblAWSVolume.Encrypted,
tblAWSVolume.Iops,
tblAWSVolume.AttachTime
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tsysIPLocations On tsysIPLocations.LocationID =
tblAssets.LocationID
Inner Join tblState On tblState.State = tblAssetCustom.State
Inner Join tblAWSInstance On tblAWSInstance.AssetId = tblAssets.AssetID
Inner Join tblAWSVolume On tblAWSVolume.AWSInstanceId =
tblAWSInstance.AWSInstanceId
Where tblState.Statename = 'Active'
Order By tblAWSInstance.Region,
tblAssets.IPNumeric,
tblAssets.AssetName,
tblAWSVolume.VolumeId
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now