Skip to main content

get-cloud-connect-supported-features

dci get-cloud-connect-supported-features accountID

Returns the list of supported features and their permission status for a cloud account connected via CloudConnect. The account must belong to the authenticated customer. Supports AWS and Azure accounts.

Output

OK - Supported features returned.

By default dci renders the result as a table. Use --output json to get the full structure described below — see Output formats.

FieldTypeDescription
supportedFeaturesarray of objectList of features and their permission status.
supportedFeatures[].namestringThe name of the feature.
supportedFeatures[].hasRequiredPermissionsbooleanWhether the connected account has the required permissions for this feature.
Raw JSON schema
{
"type": "object",
"description": "Response containing the supported features for a CloudConnect account.",
"properties": {
"supportedFeatures": {
"type": "array",
"description": "List of features and their permission status.",
"items": {
"type": "object",
"description": "A feature supported by a CloudConnect account.",
"properties": {
"name": {
"type": "string",
"description": "The name of the feature.",
"example": "sandbox"
},
"hasRequiredPermissions": {
"type": "boolean",
"description": "Whether the connected account has the required permissions for this feature.",
"example": true
}
}
}
}
}
}

Errors

On failure, dci prints a single error message — with a hint when one is available — and exits with a typed code your scripts can branch on. See Errors and exit codes for the full contract.

HTTP statusExit codeError codeMeaning
40030VALIDATION_ERRORThe arguments or request body were rejected. Review the command's flags and payload.
40110AUTHENTICATION_FAILEDNot signed in, or the API token is invalid. Run dci login or check DCI_API_KEY.
40311PERMISSION_DENIEDThe DoiT user or the active customer context does not have access.
40420RESOURCE_NOT_FOUNDThe requested resource does not exist. Check the identifier argument.
50040API_SERVER_ERRORThe API failed to process the request. Retryable; contact DoiT support if it persists.

Aliases: getcloudconnectsupportedfeatures