Extended Backus-Naur Form (EBNF) for Scope parameter

 

Term

Expansion

Scope

 [ FBTerms ], [ ValueTerms ], [ ResourceTerms ];

FBTerms

“FB=“, { [FBTerm], ”_”} , FBTerm, ScopeDelimiter ;

FBTerm

“1” | “2” | “3” | “4” | “5” | “6” | “7” | “8” | “9” | “10” | “11” | “12” | “13” | “14” | “15” | “16” | “17” | “18” | “19” | “27” | “28” | “29” | “32” | “33” | “34” | “35” | “36” | “37” | “38” | “39” | “40” | “41” | “44”

ValueTerms

{ ( "IntervalDuration=", namedOrNumber,{“_”, namedOrNumber}),

| ( "BlockDuration=", namedOrNumber,{“_”, namedOrNumber}),

| ( "HistoryLength=", nonNegativeNumber),

| ( "SubscriptionFrequency=", nonNegativeNumber | namedFrequency), ScopeDelimiter };

ResourceTerms

{ (“AccountCollection=”, nonNegativeNumber) | “BR=”, brId), ScopeDelimiter}

ScopeDelimiter

“;”

namedFrequency

“billingPeriod” | “daily” | “monthly” | “seasonal” | “weekly” |

namedOrNumber

nonNegativeNumber | namedFrequency;

brID

Character, {Character}*;

nonNegativeNumber

digit, { digit };

Digit

0 | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" ;

Character

Digit | “-” | "A" | "B" | "C" | "D" | "E" | "F" | "G"

       | "H" | "I" | "J" | "K" | "L" | "M" | "N"

       | "O" | "P" | "Q" | "R" | "S" | "T" | "U"

       | "V" | "W" | "X" | "Y" | "Z" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" ;

 

Where:

ResourceTerms

If a Bulk resource is specified via the “BR” term, the value of the {bulkId} is provided after the equals sign (“=”). There could be one or more terms in this list that express the granularity of notifications about resource changes.  If the Subscription has more than one UsagePoint, the AccountCollection term can indicate the number of UsagePoints included

FBTerms

The function blocks supported

ValueTerms

These are parameterized terms

IntervalDuration

This is the minimum default length of an interval in seconds (e.g. 900 for 15 minutes, 3600 for one hour, …)

BlockDuration

This is the length of a block that contains the intervals (based on enumeration of MacroPeriodKind in ESPI above as namedFrequency)

HistoryLength

This is the length of history buffer seconds

AccountCollection

Used where the DC wants to provide for the reporting of multiple UsagePoints in a single Subscription. The number of UsagePoints is represented by the value in the assignment statement – e.g. 4 UsagePoints would be AccountCollection=4.