URL: /v2/projects/{project-name}/composite-apps/{composite-app-name}/{composite-app-version}/deployment-intent-groups/{deployment-intent-group-name}/traffic-group-intent/{traffic-group-intent-name}/outbound-intents/<intent-name>/server
POST BODY:
{
"metadata": {
"name": "<>" // unique name for each intent
"description": <>
"userdata1": <>,
"userdata2": <>
},
"externalServiceName": "cnn.edition.com" // Only the FQDN of the service name is required
"port" : "80", // port on which service is exposed as through servicemesh, not the port it is actually running on
"externalCaCertificate" : "<whole certificate>" // Present the actual client certificate
"clientcertificate" : {certificate.pem} // Present actual certificate here. Optional, default "", required only if mTLS is set to "MUTUAL"
"clientPrivateKey" : {privateKey.pem} // Present actual private key here. Required only if mTLS is "MUTUAL"
"protocol": "HTTP",
"mutualTLS": "MUTUAL", // Support 2 modes. SIMPLE, MUTUAL with external client. For inter and intra cluster, mtls is enabled by default
// TODO: Add any FW/SNAT/LB specific fields
} |