All URIs are relative to https://dashboard.quantcdn.io
| Method | HTTP request | Description |
|---|---|---|
| GetSubscriptionCloudUsage | Get /api/v3/organizations/{organisation}/subscription/cloud-usage | Cloud-app cost breakdown for the subscription page |
GetSubscriptionCloudUsage(ctx, organisation).Month(month).Execute()
Cloud-app cost breakdown for the subscription page
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/quantcdn/quant-admin-go"
)
func main() {
organisation := "organisation_example" // string |
month := "month_example" // string | YYYY-MM, defaults to current month (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.SubscriptionAPI.GetSubscriptionCloudUsage(context.Background(), organisation).Month(month).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SubscriptionAPI.GetSubscriptionCloudUsage``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| organisation | string |
Other parameters are passed through a pointer to a apiGetSubscriptionCloudUsageRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
month | string | YYYY-MM, defaults to current month |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]