subscriber_usage_aggregates
Creates, updates, deletes, gets or lists a subscriber_usage_aggregates
resource.
Overview
Name | subscriber_usage_aggregates |
Type | Resource |
Id | azure_stack.commerce_admin.subscriber_usage_aggregates |
Fields
The following fields are returned by SELECT
queries:
- list
Name | Datatype | Description |
---|---|---|
id | string | URI of the resource. |
name | string | Name of the resource. |
location | string | Location where resource is location. |
properties | object | Properties for aggregate usage. |
tags | object | List of key-value pairs. |
type | string | Type of resource. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | subscriptionId , reportedStartTime , reportedEndTime | aggregationGranularity , subscriberId , continuationToken | Gets a collection of SubscriberUsageAggregates, which are UsageAggregates from users. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
reportedEndTime | string (date-time) | The reported end time (exclusive). |
reportedStartTime | string (date-time) | The reported start time (inclusive). |
subscriptionId | string | Subscription credentials which uniquely identify Microsoft Azure subscription.The subscription ID forms part of the URI for every service call. |
aggregationGranularity | string | The aggregation granularity. |
continuationToken | string | The continuation token. |
subscriberId | string | The tenant subscription identifier. |
SELECT
examples
- list
Gets a collection of SubscriberUsageAggregates, which are UsageAggregates from users.
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure_stack.commerce_admin.subscriber_usage_aggregates
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND reportedStartTime = '{{ reportedStartTime }}' -- required
AND reportedEndTime = '{{ reportedEndTime }}' -- required
AND aggregationGranularity = '{{ aggregationGranularity }}'
AND subscriberId = '{{ subscriberId }}'
AND continuationToken = '{{ continuationToken }}'
;