Legacy report
Synopsis
Generate a report. This function uses Reporting v1 API.
Syntax
New-LegacyReport -Name <String> -Version <Int32> -Start <String> -End <String> [-DataWrapLabel <String>] [-DataWrapNumberOfItems <Int32>] -ObjectIDs <String[]> -Interval <String> [-Filters <String[]>] [-Metrics <String[]>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]New-LegacyReport -Name <String> -Version <Int32> -Start <String> -End <String> [-DataWrapLabel <String>] [-DataWrapNumberOfItems <Int32>] -Interval <String> -Body <Object> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]Description
Produce a report in either JSON or CSV format for a specific version of a type of report. In CSV data, values with commas or space characters are quoted. Query parameters specify the range of data and the aggregation interval for each record.
Parameters
‑AccountSwitchKey | An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey. |
‑BodyConditionally required | A request body, either as a |
‑DataWrapLabel | Label used as title for grouped record. |
‑DataWrapNumberOfItems | For reports that allow non-top values to cluster, this specifies the number of top values to report on separately. |
‑EdgeRCFile | Your EdgeGrid resource file to authenticate your command. Defaults to |
‑EndRequired | The end of the reported period as an ISO 8601 timestamp with a timezone. Any data that matches the |
‑Filters | The criteria to filter the report's data. The set of available filters depends on the type of report. Separate each filter name and value with an equals ( |
‑IntervalRequired | The duration of each data record, either |
‑Metrics | A comma-separated list of metrics to include in the report, otherwise all metrics are retrieved if omitted. The set of available metrics depends on the type of report. |
‑NameRequired | The type of report. |
‑ObjectIDsConditionally required | An alternative to |
‑Section | The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
‑StartRequired | The start of the reported period as an ISO 8601 timestamp with timezone. |
‑VersionRequired | The version of the report type. |
Related Links
Updated 12 days ago
