PaaS Event Format

來源:互聯網
上載者:User

標籤:des   io   ar   java   for   sp   art   c   on   

[
{

"Field": "event_type",  "Type": "enumeration",  "Description": "for event type records, this describes the actual event that occurred",  "Compliance": "required for events",  "Notes": "depends on service, defaults to create, exists, delete"

},
{

"Field": "timestamp",  "Type": "UTC DateTime",  "Description": "timestamp of when this event was generated at the resource",  "Compliance": "required",  "Notes": "ISO 8859 date YYYY-mm-ddThh:mm:ss"

},
{

"Field": "message_id",  "Type": "String",  "Description": "unique identifier for event",  "Compliance": "required",  "Notes": ""

},
{

"payload": [  {      "Field": "version",      "Type": "String",      "Description": "Version of event format",      "Compliance": "required",      "Notes": ""  },  {      "Field": "audit_period_beginning",      "Type": "UTC DateTime",      "Description": "Represents start time for metrics reported",      "Compliance": "required",      "Notes": "Format ISO 8859 date YYYY-mm-ddThh:mm:ss"  },  {      "Field": "audit_period_ending",      "Type": "UTC DateTime",      "Description": "Represents end time for metrics reported",      "Compliance": "required",      "Notes": "Format ISO 8859 date YYYY-mm-ddThh:mm:ss"  },  {      "Field": "record_type",      "Type": "enumeration ",      "Values": {          "event": "events describe some kind of state change in the service",          "quantity": "quantity describes a usage metric value"      },      "Compliance": "required",      "Notes": ""  },  {      "Field": "project_id",      "Type": "UUID",      "Description": "Keystone project_id identifies the owner of                      the service instance",      "Compliance": "required",      "Notes": ""  },  {      "Field": "user_id",      "Type": "UUID",      "Description": "Keystone user_id identifies specific user",      "Compliance": "optional",      "Notes": ""  },  {      "Field": "service_id",      "Type": "UUID",      "Description": "Keystone service_id uniquely identifies a service",      "Compliance": "required",      "Notes": ""  },  {      "Field": "service_type",      "Type": "String",      "Description": "Keystone service_type uniquely identifies a service",      "Compliance": "required",      "Notes": ""  },  {      "Field": "instance_id",      "Type": "UUID",      "Description": "uniquely identifies an instance of the service",      "Compliance": "required",      "Notes": "assuming instance level reporting"  },  {      "Field": "display_name",      "Type": "String",      "Description": "text description of service",      "Compliance": "optional",      "Notes": "used if customer names instances"  },  {      "Field": "instance_type_id",      "Type": "enumeration",      "Description": "used to describe variations of a service",      "Compliance": "required",      "Notes": "needed if variations of service have different prices or                need to be broken out separately"  },  {      "Field": "instance_type",      "Type": "String",      "Description": "text description of service variations",      "Compliance": "optional",      "Notes": ""  },  {      "Field": "availability_zone",      "Type": "String",      "Description": "where the service is deployed",      "Compliance": "optional",      "Notes": "required if service is deployed at an AZ level"  },  {      "Field": "region",      "Type": "String",      "Description": "data center that the service is deployed in",      "Compliance": "optional",      "Notes": "required if service is billed at a regional level"  },  {      "Field": "state",      "Type": "enumeration",      "Description": "status of the service at the time of record generation",      "Compliance": "optional",      "Notes": "required for existence events"  },  {      "Field": "state_description",      "Type": "String",      "Description": "text description of state of service",      "Compliance": "",      "Notes": ""  },  {      "Field": "license_code",      "Type": "enumeration",      "Description": "value that describes a specific license model",      "Compliance": "optional",      "Notes": "this field is TBD depending on dev_pay design work"  },      {          "metrics": [              {                  "Field": "metric_name",                  "Type": "String",                  "Description": "unique name for the metric that is represented                   in this record",                  "Compliance": "required",                  "Notes": ""              },              {                  "Field": "metric_type",                  "Type": "enumeration",                  "Description": "gauge, cumulative, delta",                  "Compliance": "required",                  "Notes": "describes the behavior of the metric, from Ceilometer"              },              {                  "Field": "metric_value",                  "Type": "Float",                  "Description": "value of metric for quantity type records",                  "Compliance": "required for quantities",                  "Notes": ""              },              {                  "Field": "metric_units",                  "Type": "enumeration",                  "Description": "describes the units for the quantity",                  "Compliance": "optional",                  "Notes": ""              }          ]      }  ]

}
]

PaaS Event Format

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.