OBJECT

FinOpsEC2Instance

EC2Instance Asset implementation

link GraphQL Schema definition

  • type FinOpsEC2Instance implements FinOpsAsset {
  • # EC2 instance account details
  • account: FinOpsAwsAccount
  • # EC2 Instance availability zone name
  • availabilityZone: FinOpsAWSAvailabilityZone
  • # EC2 instance Id
  • awsInstanceId: String
  • # The value for this field will remain null until AWS accounts are synced to Tanzu
  • # Hub
  • entityId: EntityId
  • # Time when EC2 Instance was first discovered by CloudHealth Platform
  • # ISO 8601 Format: `YYYY-MM-DDHH:MM:SS`
  • # Example: `2020-06-30T20:58:48Z`
  • firstDiscovered: DateTime
  • # EC2 Instance ID
  • id: ID!
  • # EC2 instance type details
  • instanceType: FinOpsAWSInstanceType
  • # EC2 instance name
  • name: String
  • # EC2 Instance operating system
  • operatingSystem: String
  • # EC2 instance pricing info details
  • pricingInfo: FinOpsPricing
  • # EC2 provisioned storage in GB
  • provisionedStorageInGb: Float
  • # Instance reservation hours
  • reservation: FinOpsReservedInstanceHours
  • # The current Asset state
  • state: FinOpsAssetState
  • # EC2 Instance total hours in current month till date
  • totalHours: Float
  • }

link Require by

This element is not required by anyone