Returns all the available cost imports
Returns all the available cost imports
Query Parameters
List cost imports owned by specified owner
List cost integrations for a specific cloud provider
Responses
- 200
- 401
- 403
- 500
A list of cost imports
- application/json
- Schema
- Example (from schema)
Schema
property name*
stringproperty name*
string
items undefined[]
metadata
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
annotations object
Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations
labels object
Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels
managedFields undefined[]
ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like "ci-cd". The set of fields is always in the version that the workflow used when modifying the object.
ownerReferences undefined[]
List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.
spec
CostImportSpec defines the specification of the cost import
cloudAccessConfigRef
CloudAccessConfigRef identifies which cloud access config (organization or shared) should be used to pull costs data from. Must relate to the same cloud provider as specified in Cloud.
cloudIdentity
CloudIdentity specifies an optional custom credential to use for this integration, instead of using the default credentials for the CloudAccount.
providerDetails
ProviderDetails provides the cloud-specific configuration details
aws
AWS holds parameters specific to importing AWS costs data. Present only if type is AWS.
azure
Azure holds parameters specific to importing Azure costs data. Present only if type is Azure.
gcp
GCP holds parameters specific to importing GCP costs data. Present only if type is GCP.
status
CostImportStatus defines the status of this costs integration
conditions undefined[]
history undefined[]
History contains the recent history of runs of this cost import (most recent last)
lastReconcile
lastSuccess
obsoleteResources undefined[]
metadata
ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
{
"apiVersion": "string",
"items": [
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"annotations": {},
"clusterName": "string",
"creationTimestamp": "string",
"deletionGracePeriodSeconds": 0,
"deletionTimestamp": "string",
"finalizers": [
"string"
],
"generateName": "string",
"generation": 0,
"labels": {},
"managedFields": [
{
"apiVersion": "string",
"fieldsType": "string",
"fieldsV1": "string",
"manager": "string",
"operation": "string",
"subresource": "string",
"time": "string"
}
],
"name": "string",
"namespace": "string",
"ownerReferences": [
{
"apiVersion": "string",
"blockOwnerDeletion": true,
"controller": true,
"kind": "string",
"name": "string",
"uid": "string"
}
],
"resourceVersion": "string",
"selfLink": "string",
"uid": "string"
},
"spec": {
"cloud": "string",
"cloudAccessConfigRef": {
"name": "string",
"namespace": "string"
},
"cloudIdentity": {
"name": "string",
"namespace": "string"
},
"daysHistory": 0,
"frequencyMinutes": 0,
"importZeroCostItems": true,
"providerDetails": {
"aws": {
"costUsageBucket": "string",
"costUsageReport": "string",
"costUsageS3Prefix": "string",
"s3Region": "string"
},
"azure": {
"importType": "string"
},
"gcp": {
"billingAccount": "string",
"datasetName": "string",
"datasetProject": "string",
"datasetRegion": "string"
},
"type": "string"
}
},
"status": {
"cloudResourcesCreated": true,
"conditions": [
{
"detail": "string",
"lastTransitionTime": "string",
"message": "string",
"name": "string",
"negativePolarity": true,
"observedGeneration": 0,
"reason": "string",
"status": "string",
"type": "string"
}
],
"detail": "string",
"history": [
{
"log": "string",
"rowCount": 0,
"status": "string",
"time": "string"
}
],
"lastReconcile": {
"generation": 0,
"time": "string"
},
"lastSuccess": {
"generation": 0,
"time": "string"
},
"message": "string",
"obsoleteResources": [
{
"kind": "string",
"name": "string"
}
],
"status": "string",
"wayfinderVersion": "string"
}
}
],
"kind": "string",
"metadata": {
"continue": "string",
"remainingItemCount": 0,
"resourceVersion": "string",
"selfLink": "string"
}
}
If not authenticated
If authenticated but not authorized
A generic API error containing the cause of the error
- application/json
- Schema
- Example (from schema)
Schema
{
"code": 0,
"detail": "string",
"message": "string",
"uri": "string",
"verb": "string"
}