Spaces method and path for this operation:
Refer to Spaces for more information.
Update a cloud onboarding deployment by ID.
[Required authorization] Route required privileges: fleet-agent-policies-all OR integrations-all.
Body
-
Maximum length is
255. -
Maximum length is
255. -
Incremented by callers performing a retry.
Minimum value is
1. -
CFN stack ARN (or equivalent); provided by the client after manual deployment.
Maximum length is
2048. -
Maximum length is
255. -
ECF CloudFormation stacks to record for this deployment.
Not more than
10elements. -
Not more than
100elements. Maximum length of each is255. -
Per-service config keyed by instance ID.
-
Deployment status.
Values are
pending,deploying,succeeded, orfailed. -
Error context; set when transitioning to failed.
Maximum length is
1000.
curl \
--request PUT 'https://<KIBANA_URL>/api/fleet/cloud_onboarding_deployments/{id}' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--header "kbn-xsrf: true" \
--data '{
"deploymentId": "arn:aws:cloudformation:us-east-1:123456789012:stack/elastic-aws-onboarding/aaa-bbb-ccc",
"deploymentName": "elastic-aws-onboarding",
"status": "deploying"
}'
{
"deploymentId": "arn:aws:cloudformation:us-east-1:123456789012:stack/elastic-aws-onboarding/aaa-bbb-ccc",
"deploymentName": "elastic-aws-onboarding",
"status": "deploying"
}
{
"item": {
"attemptCount": 1,
"connectorId": "cloud-connector-id-1",
"deploymentId": "arn:aws:cloudformation:us-east-1:123456789012:stack/elastic-aws-onboarding/aaa-bbb-ccc",
"deploymentName": "elastic-aws-onboarding",
"id": "onboarding-deployment-id-1",
"mechanisms": [
"managed_integration"
],
"packagePolicyIds": [
"package-policy-id-1"
],
"provider": "aws",
"services": [
"cloudwatch_metrics",
"cloudtrail"
],
"status": "deploying"
}
}
{
"error": "Bad Request",
"message": "An error message describing what went wrong",
"statusCode": 400
}
{
"error": "Not Found",
"message": "Saved object [fleet-cloud-onboarding-deployment/unknown-id] not found",
"statusCode": 404
}