-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
github-actions
committed
Aug 5, 2024
1 parent
6450b54
commit c50dc16
Showing
106 changed files
with
2,941 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "fastly-api" | ||
version = "4.8.0" | ||
version = "4.9.0" | ||
authors = ["Fastly <[email protected]>"] | ||
edition = "2021" | ||
description = "Fastly API client" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
# BillingUsageMetricsApi | ||
|
||
> [!NOTE] | ||
> All URIs are relative to `https://api.fastly.com` | ||
Method | HTTP request | Description | ||
------ | ------------ | ----------- | ||
[**get_service_level_usage**](BillingUsageMetricsApi.md#get_service_level_usage) | **GET** /billing/v2/account_customers/{customer_id}/service-usage-metrics | Retrieve service-level usage metrics for a product. | ||
[**get_service_level_usage_types**](BillingUsageMetricsApi.md#get_service_level_usage_types) | **GET** /billing/v2/account_customers/{customer_id}/service-usage-types | Retrieve product usage types for a customer. | ||
|
||
|
||
|
||
## get_service_level_usage | ||
|
||
Returns product usage, broken down by service. | ||
|
||
```rust | ||
let cfg = &Configuration::default(); | ||
let params = GetServiceLevelUsageParams { | ||
// parameters | ||
}; | ||
get_service_level_usage(cfg, params) | ||
``` | ||
|
||
### Parameters | ||
|
||
|
||
Name | Type | Description | Required | Notes | ||
------------- | ------------- | ------------- | ------------- | ------------- | ||
**customer_id** | **String** | Alphanumeric string identifying the customer. | [required] | | ||
**product_id** | **String** | The product identifier for the metrics returned (e.g., `cdn_usage`). This field is not required for CSV requests. | [required] | | ||
**usage_type_name** | **String** | The usage type name for the metrics returned (e.g., `North America Requests`). This field is not required for CSV requests. | [required] | | ||
**time_granularity** | **String** | | [required] | | ||
**start_date** | Option\<**String**> | | | | ||
**end_date** | Option\<**String**> | | | | ||
**start_month** | Option\<**String**> | | | | ||
**end_month** | Option\<**String**> | | | | ||
**limit** | Option\<**String**> | Number of results per page. The maximum is 100. | |[default to 5] | ||
**cursor** | Option\<**String**> | Cursor value from the `next_cursor` field of a previous response, used to retrieve the next page. To request the first page, this should be empty. | | | ||
|
||
### Return type | ||
|
||
[**crate::models::Serviceusagemetrics**](Serviceusagemetrics.md) | ||
|
||
### Authorization | ||
|
||
[token](../README.md#token) | ||
|
||
### HTTP request headers | ||
|
||
- **Content-Type**: Not defined | ||
- **Accept**: application/json | ||
|
||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
||
## get_service_level_usage_types | ||
|
||
Returns product usage types reported by the customer's services. | ||
|
||
```rust | ||
let cfg = &Configuration::default(); | ||
let params = GetServiceLevelUsageTypesParams { | ||
// parameters | ||
}; | ||
get_service_level_usage_types(cfg, params) | ||
``` | ||
|
||
### Parameters | ||
|
||
|
||
Name | Type | Description | Required | Notes | ||
------------- | ------------- | ------------- | ------------- | ------------- | ||
**customer_id** | **String** | Alphanumeric string identifying the customer. | [required] | | ||
|
||
### Return type | ||
|
||
[**crate::models::Serviceusagetypes**](Serviceusagetypes.md) | ||
|
||
### Authorization | ||
|
||
[token](../README.md#token) | ||
|
||
### HTTP request headers | ||
|
||
- **Content-Type**: Not defined | ||
- **Accept**: application/json | ||
|
||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# CreateDashboardRequest | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**name** | **String** | A human-readable name | | ||
**description** | Option<**String**> | A short description of the dashboard | | ||
**items** | Option<[**Vec<crate::models::DashboardItem>**](DashboardItem.md)> | A list of [dashboard items](#dashboard-item). | | ||
|
||
[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Dashboard | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**id** | Option<**String**> | Dashboard identifier (UUID) | [readonly] | ||
**name** | Option<**String**> | A human-readable name | | ||
**description** | Option<**String**> | A short description of the dashboard | | ||
**items** | Option<[**Vec<crate::models::DashboardItem>**](DashboardItem.md)> | A list of [dashboard items](#dashboard-item). | | ||
**created_at** | Option<**String**> | Date and time in ISO 8601 format. | [readonly] | ||
**updated_at** | Option<**String**> | Date and time in ISO 8601 format. | [readonly] | ||
**created_by** | Option<[**crate::models::DashboardPropertyCreatedBy**](DashboardPropertyCreatedBy.md)> | | | ||
**updated_by** | Option<[**crate::models::DashboardPropertyUpdatedBy**](DashboardPropertyUpdatedBy.md)> | | | ||
|
||
[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# DashboardItem | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**id** | Option<**String**> | Dashboard item identifier (UUID) | [readonly] | ||
**title** | **String** | A human-readable title for the dashboard item | | ||
**subtitle** | **String** | A human-readable subtitle for the dashboard item. Often a description of the visualization. | | ||
**data_source** | [**crate::models::DashboardItemPropertyDataSource**](DashboardItemPropertyDataSource.md) | | | ||
**visualization** | [**crate::models::DashboardItemPropertyVisualization**](DashboardItemPropertyVisualization.md) | | | ||
**span** | Option<**i32**> | The number of columns for the dashboard item to span. Dashboards are rendered on a 12-column grid on \"desktop\" screen sizes. | [default to 4] | ||
|
||
[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# DashboardItemPropertyDataSource | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**_type** | **String** | The source of the data to display. | | ||
**config** | [**crate::models::DashboardItemPropertyDataSourcePropertyConfig**](DashboardItemPropertyDataSourcePropertyConfig.md) | | | ||
|
||
[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# DashboardItemPropertyDataSourcePropertyConfig | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**metrics** | **Vec<String>** | The metrics to visualize. Valid options are defined by the selected [data source](#field_data_source). | | ||
|
||
[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# DashboardItemPropertyVisualization | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**_type** | **String** | The type of visualization to display. | | ||
**config** | [**crate::models::DashboardItemPropertyVisualizationPropertyConfig**](DashboardItemPropertyVisualizationPropertyConfig.md) | | | ||
|
||
[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# DashboardItemPropertyVisualizationPropertyConfig | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**plot_type** | **String** | The type of chart to display. | | ||
**format** | Option<**String**> | (Optional) The units to use to format the data. | [default to Format_Number] | ||
**calculation_method** | Option<**String**> | (Optional) The aggregation function to apply to the dataset. | | ||
|
||
[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
3 changes: 1 addition & 2 deletions
3
docs/RelationshipTlsDnsRecordDnsRecord.md → docs/DashboardPropertyCreatedBy.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# DashboardPropertyUpdatedBy | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
|
||
[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# InvoiceResponse | ||
# EomInvoiceResponse | ||
|
||
## Properties | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# GetServiceLevelUsageResponse | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**data** | Option<[**crate::models::ServiceusagemetricsData**](ServiceusagemetricsData.md)> | | | ||
|
||
[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
Oops, something went wrong.