Create metrics data collection configuration
This API now supports the URI path prefix /compute-ops-mgmt
which used to be /compute-ops
. The /compute-ops
prefix is deprecated
and might become unresponsive after Tuesday, April 1, 2025. The Guide
provides more information about this change.
Successful Response
Bad request
Unauthorized
Forbidden
Not acceptable
Unsupported media type
Internal server error
{- "metricsCollection": "SYSTEM_SCHEDULED"
}
{- "id": "b870f080-6448-48c5-b23a-d04f2d489174",
- "type": "compute-ops-mgmt/metrics-configuration",
- "resourceUri": "/compute-ops-mgmt/v1beta1/metrics-configuration/b870f080-6448-48c5-b23a-d04f2d489174",
- "metricsCollection": "SYSTEM_SCHEDULED",
- "generation": 1,
- "createdAt": "2023-07-07T05:51:02.624513+00:00",
- "updatedAt": "2023-07-07T05:51:02.624513+00:00"
}