Share via


UsageEvent (Usage Metering Object)

 

Applies To: Windows Azure Pack

Represents a usage event for plans, add-ons, subscriptions, and resource provider references.

Elements

The following table describes the elements of the UsageEvent object.

Name

Description

EventId

The event identifier of the record.

State

The State of the event. Possible values are:

Value

Description

0

Acknowledged

1

Rejected

2

Pending Approval

3

Approved

Method

The HTTP method that was performed on the entity. Possible methods are Post, Put, Patch, and Delete. In a Patch call, only the updated properties are populated in the entity.

Entity

The object instance. The object instance type is determined by the REST call that retrieved the entity.

EntityParentId

The parent entity identifier.

NotificationEventTimeCreated

The time of the notification event.

Permissions

This object is only available to administrators.

See Also

Windows Azure Pack Usage Service Usage REST API Reference