Operations
create operation
Changed onCreates a new operation for the specified metric drain.
post/metric_drains/{metric_drain_id}/operations
Request
- Base URLhttps://api.aptible.com
- AuthAPI key in header Authorization
Path parameters
metric_drain_idinteger required
metric_drain_id
Query parameters
no_embedboolean
When true, omits embedded resources from the response. Also triggered when the Prefer: no_sensitive_extras=true header is present.
Headers
Prefer'no_sensitive_extras=true'
When set to no_sensitive_extras=true, omits sensitive fields and embedded resources from the response.
Request body
Example request
{
"container_size": 1,
"certificate": "certificate",
"interactive": true,
"instance_profile": "instance_profile",
"type": "type",
"docker_ref": "docker_ref",
"container_count": 6,
"pitr_days": 2,
"keep_final": true,
"deploy_image_id": 5,
"make_copy": true,
"key_arn": "key_arn",
"destination_account": "https://openapi-generator.tech",
"settings": {
"key": "settings"
},
"destination_account_id": 5,
"sensitive_settings": {
"key": "sensitive_settings"
},
"enable_pitr": true,
"destination_region": "destination_region",
"disk_size": 0,
"handle": "handle",
"private_key": "private_key",
"env": {
"key": "env"
},
"command": "command",
"automated": true,
"provisioned_iops": 2,
"daily": 7,
"enable_backups": true,
"git_ref": "git_ref",
"monthly": 9,
"yearly": 3
}Response
successful
Changes
- info
added the new optional request property
- info
added the optional property
/to the response with the status - info
added the optional property
to the response with the status
- info
- breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - info
added the new optional
headerrequest parameterPrefer - info
added the new optional
queryrequest parameterno_embed
- breaking